PageSourceSearch

https://skillioz.com/_next/static/chunks/9000-dd0ac9a5df8e44d7.js

js skillioz.com collected 2026-10-09 22:55:41 UTC 25,188 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9e3],{8482:(e,t,a)=>{a.d(t,{I:()=>u,SQ:()=>m,_2:()=>p,lp:()=>x,mB:()=>g,rI:()=>f,ty:()=>h});var r=a(95155),s=a(12115),i=a(90547),l=a(21362),o=a(94514),n=a(16950),d=a(52044),c=a(86190);let f=s.forwardRef(({children:e,id:t,...a},s)=>{let{activeDropdown:l,setActiveDropdown:o}=(0,d.B)();return(0,r.jsx)(i.bL,{ref:s,open:l===t,onOpenChange:e=>{o(e?t:null)},modal:!0,...a,children:e})});f.displayName="DropdownMenu";let h=i.l9,u=i.YJ;i.ZL,i.Pb,i.z6,s.forwardRef(({className:e,inset:t,children:a,...s},o)=>(0,r.jsxs)(i.ZP,{ref:o,className:(0,c.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-[#f4f2f8] data-[state=open]:bg-[#f4f2f8] dark:focus:bg-card dark:data-[state=open]:bg-slate-800",t&&"pl-8",e),...s,children:[a,(0,r.jsx)(l.A,{className:"ml-auto h-4 w-4"})]})).displayName=i.ZP.displayName,s.forwardRef(({className:e,...t},a)=>(0,r.jsx)(i.G5,{ref:a,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 bg-white p-1 text-slate-950 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 dark:border-slate-800 dark:bg-card dark:text-slate-50",e),...t})).displayName=i.G5.displayName;let m=s.forwardRef(({className:e,sideOffset:t=4,...a},s)=>(0,r.jsx)(i.ZL,{children:(0,r.jsx)(i.UC,{ref:s,sideOffset:t,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-200 bg-white p-1 text-slate-950 hello data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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 dark:border-slate-800 dark:bg-card dark:text-slate-50",e),...a})}));m.displayName=i.UC.displayName;let p=s.forwardRef(({className:e,inset:t,...a},s)=>(0,r.jsx)(i.q7,{ref:s,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-[#f4f2f8] focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50",t&&"pl-8",e),...a}));p.displayName=i.q7.displayName,s.forwardRef(({className:e,children:t,checked:a,...s},l)=>(0,r.jsxs)(i.H_,{ref:l,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-[#f4f2f8] focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50",e),checked:a,...s,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(i.VF,{children:(0,r.jsx)(o.A,{className:"h-[14px] w-[14px]"})})}),t]})).displayName=i.H_.displayName,s.forwardRef(({className:e,children:t,...a},s)=>(0,r.jsxs)(i.hN,{ref:s,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-[#f4f2f8] focus:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-slate-800 dark:focus:text-slate-50",e),...a,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(i.VF,{children:(0,r.jsx)(n.A,{className:"h-2 w-2 fill-current"})})}),t]})).displayName=i.hN.displayName;let x=s.forwardRef(({className:e,inset:t,...a},s)=>(0,r.jsx)(i.JU,{ref:s,className:(0,c.cn)("px-2 text-sm font-semibold",t&&"pl-8",e),...a}));x.displayName=i.JU.displayName;let g=s.forwardRef(({className:e,...t},a)=>(0,r.jsx)(i.wv,{ref:a,className:(0,c.cn)("-mx-1 my-1 h-px bg-[#f4f2f8] dark:bg-card",e),...t}));g.displayName=i.wv.displayName},10641:(e,t,a)=>{a.d(t,{P$:()=>h,QT:()=>d,hh:()=>f,tS:()=>c});var r=a(95155),s=a(73810),i=a(83109),l=a(73321),o=a(59547),n=a(12214);function d(){let e=(0,n.Vr)(n.dK.CAREER_HUB);return[{key:"interview",flow:"interview",title:e("titles.interview"),description:e("nav.interviewDescription"),icon:(0,r.jsx)("img",{src:"/Images/mockInterview.svg",alt:e("titles.interview"),className:"w-full h-full object-contain"}
1),fullBleedIcon:!0,borderColor:"#9C98FD",appHref:"/interview",marketingHref:"/career-hub/mock-interview",onboardingProduct:"interview"},{key:"careerHub",flow:"cvBuilder",title:e("titles.cvBuilder"),description:e("nav.cvBuilderDescription"),icon:(0,r.jsx)("img",{src:"/Images/fix_cv_logo.svg",alt:e("titles.cvBuilder"),className:"w-full h-full object-contain"}),borderColor:"#A5B4FC",appHref:"/cv/home",marketingHref:"/career-hub/cv-builder",onboardingProduct:"cvBuilder"},{key:"roast",flow:"cvRoast",title:e("titles.roastMyCV"),description:e("nav.roastCvDescription"),icon:(0,r.jsx)("img",{src:"/Images/cv_roast_logo.svg",alt:e("titles.roastMyCV"),className:"w-full h-full object-contain"}),borderColor:"#FFC193",appHref:"/cv/home?tab=roast",marketingHref:"/career-hub/cv-roast",onboardingProduct:"cvRoast"},{key:"ats",flow:"ats",title:"ATS",description:e("nav.atsDescription"),icon:(0,r.jsx)(s.A,{className:"w-4 h-4",color:"white"}),borderColor:"linear-gradient(90deg, #073772, #8560c7)",appHref:"/dashboard",marketingHref:"/ats",onboardingProduct:"ats"}]}let c=["interview","careerHub","roast"];function f(){let e=(0,l.useRouter)();return async t=>{let a=(0,i.getCookie)("token");if(!a)return void e.push(t.marketingHref);(0,i.setCookie)("route",t.flow,{maxAge:86400});try{let r="ats"===t.flow?"ats":"jobseeker",s=await (0,o.CJ)(`/auth?appName=${r}`,a),i=s?.data?.data,l="ats"===t.flow?i?.atsProfileExist:i?.jobSeekerProfileExist;e.push(l?t.appHref:`/onboarding?product=${t.onboardingProduct}`)}catch{e.push(t.appHref)}}}function h(e,t){return e?e.startsWith("/career-hub/cv-roast")?"roast":e.startsWith("/career-hub/mock-interview")||e.startsWith("/interview")?"interview":"/cv/home"===e||"/cv/recent"===e?t?.get("tab")==="roast"?"roast":"careerHub":"/cv/cvpricing"===e?t?.get("type")==="roast"?"roast":"careerHub":e.startsWith("/career-hub/cv-builder")||e.startsWith("/cv-template")||e.startsWith("/cv/home")||e.startsWith("/cv/account-setting")||e.startsWith("/career-hub")?"careerHub":null:null}},17788:(e,t,a)=>{a.d(t,{A:()=>s});var r=a(95155);function s({product:e,className:t="w-9 h-9",padding:a="p-1.5",radius:i="rounded-[10px]"}){return e.fullBleedIcon?(0,r.jsxs)("span",{className:`${t} ${i} relative overflow-hidden flex items-center justify-center shrink-0`,children:[e.icon,e.borderColor&&(0,r.jsx)("span",{className:`absolute inset-0 ${i} pointer-events-none`,style:{boxShadow:`inset 0 0 0 1.5px ${e.borderColor}`}})]}):"ats"===e.flow?(0,r.jsx)("span",{className:"rounded-[11px] shrink-0 inline-block",style:{padding:"1.5px",background:e.borderColor},children:(0,r.jsx)("span",{className:`${t} ${a} bg-black ${i} flex items-center justify-center`,children:e.icon})}):(0,r.jsx)("span",{className:`${t} ${a} bg-black ${i} flex items-center justify-center shrink-0`,style:{boxShadow:`inset 0 0 0 1.5px ${e.borderColor}`},children:e.icon})}},32274:(e,t,a)=>{a.d(t,{Bc:()=>o,ZI:()=>c,k$:()=>d,m_:()=>n});var r=a(95155),s=a(12115),i=a(45305),l=a(86190);let o=i.Kq,n=i.bL,d=i.l9,c=s.forwardRef(({className:e,sideOffset:t=4,...a},s)=>(0,r.jsx)(i.UC,{ref:s,sideOffset:t,className:(0,l.cn)("z-50 overflow-hidden rounded-md border border-gray-200 bg-white px-3 py-1.5 text-sm text-slate-950 hello 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 dark:border-slate-800 dark:bg-card dark:text-slate-50",e),...a}));c.displayName=i.UC.displayName},39357:(e,t,a)=>{a.d(t,{A:()=>j});var r=a(95155),s=a(5772),i=a(5552),l=a(73321),o=a(8482),n=a(77341),d=a(92451),c=a(61878),f=a(94514),h=a(9339);let u=(0,h.createServerReference)("4076bb1913456913148e178f11f29656a976a5df2e",h.callServer,void 0,h.findSourceMapURL,"setUserLocale");var m=a(12115),p=a(12214),x=a(93308),g=a(32274);let b={en:{label:"Global (EN)",icon:"globe",keywords:"english global international"},"en-US":{label:"USA (EN)",icon:"flag",flagSrc:"/Images/us-flag.svg",flagAlt:"United States flag",keywords:"english united states america usa"},es:{icon:"flag",flagSrc:"/Images/es-flag.svg",flagAlt:"Spanish flag",keywords:"espanol spanish castellano spain"},"en-IN":{label:"India (EN)",icon:"flag",flagSrc:"/Images/in-flag.svg",flagAlt:"India flag",keywords:"english india bharat"},fr:{icon:"flag",flagSrc:"/Images/fr-flag.svg",flagAlt:"France flag",keywords:"francais french france"},de:{icon:"flag",flagSrc:"/Images/de-flag.svg",flagAlt:"Germany flag",keywords:"deutsch german germany deutschland"},da:{icon:"flag",flagSrc:"/Images/dk-flag.svg",flagAlt:"Denmark flag",keywords:"dansk danish denmark danmark"}};function v(e,t){let a=b[e]??{icon:"globe"};if(a.label)return a;let r=t?t(e):e.toUpperCase();return{...a,label:`${r} (${e.toUpperCase()})`}}function w(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function k({config:e,fromCvBuilder:t=!1,insideDashBoard:a=!0,listItem:i=!1,inheritColor:l=!1}){let o=t?"h-5 w-5 md:h-6 md:w-6":l?"h-4 w-4":i?"h-4 w-4 text-gray-900":a?"h-4 w-4":"h-4 w-4 text-white";return"globe"===e.icon?a?(0,r.jsx)(s.default,{src:"/Images/GlobeIcon.svg",alt:"",width:24,height:24,className:o,"aria-hidden":"true"}):(0,r.jsx)(d.A,{className:o,"aria-hidden":"true"}):"flag"===e.icon&&e.flagSrc?(0,r.jsx)(s.default,{src:e.flagSrc,alt:e.flagAlt??e.label,width:t?24:18,height:t?24:18,className:`${o} rounded-full object-cover`}):(0,r.jsx)("span",{className:"text-base leading-none",children:"?"})}function y({locale:e,insideDashBoard:t,onSelect:a}){let s=(0,p.Vr)(p.dK.LOCALE_SWITCHER),[i,l]=(0,m.useState)(""),n=(0,m.useMemo)(()=>{let e=w(i.trim());return e?x.$7.filter(t=>{let a=v(t,s);return w(`${a.label} ${t} ${a.keywords??""}`).includes(e)}):x.$7},[i,s]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"p-1",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(c.A,{className:"pointer-events-none absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-gray-400","aria-hidden":"true"}),(0,r.jsx)("input",{type:"text",value:i,autoFocus:!0,onChange:e=>l(e.target.value),onKeyDown:function(e){1===e.key.length?e.stopPropagation():"Enter"===e.key&&n.length>0&&(e.preventDefault(),a(n[0]))},placeholder:s("searchPlaceholder"),"aria-label":s("searchPlaceholder"),className:"w-full rounded-sm border border-gray-200 bg-white py-1.5 pl-7 pr-2 text-sm text-gray-900 outline-none placeholder:text-gray-400 focus:border-gray-400"})]})}),(0,r.jsx)("div",{className:"max-h-[260px] overflow-y-auto p-1 pt-0",children:0===n.length?(0,r.jsx)("p",{className:"px-2 py-3 text-center text-sm text-gray-500",children:s("noResults")}):n.map(i=>{let l=v(i,s),n=i===e;return(0,r.jsxs)(o._2,{onClick:()=>a(i),className:"flex items-center gap-2 cursor-pointer",children:[(0,r.jsx)("span",{className:"flex h-[18px] w-[18px] items-center justify-center",children:(0,r.jsx)(k,{config:l,insideDashBoard:t,listItem:!0})}),(0,r.jsx)("span",{className:"flex-1 text-sm",children:l.label}),n&&(0,r.jsx)(f.A,{className:"h-3.5 w-3.5 text-primary"})]},i)})})]})}function j({insideDashBoard:e=!0,fromCvBuilder:t=!1,showLabel:a=!1,showCountrySelector:s=!1,contentClassName:d=""}){let c=(0,p.Vr)(p.dK.LOCALE_SWITCHER),f=(0,i.Ym)(),h=(0,l.useRouter)(),x=`language-switcher-${(0,m.useId)()}`,[b,w]=(0,m.useTransition)();function N(e){w(async()=>{await u(e),h.refresh()})}let C=v(f,c);return s?(0,r.jsxs)(o.rI,{id:x,children:[(0,r.jsx)(o.ty,{asChild:!0,children:(0,r.jsxs)("button",{disabled:b,className:"flex flex-col gap-1 text-left cursor-pointer outline-none focus:outline-none",children:[(0,r.jsx)("span",{className:"whitespace-nowrap text-[11px] font-medium tracking-[0.14em] text-[#322FA8] uppercase",children:c("selectYourCountry")}),(0,r.jsxs)("span",{className:"flex items-center gap-2 whitespace-nowrap text-[#322FA8] text-sm font-medium",children:[(0,r.jsx)(k,{config:C,insideDashBoard:!1,inheritColor:!0}
1),C.label]})]})}),(0,r.jsx)(o.SQ,{align:"start",className:`min-w-[220px] p-0 ${d}`,children:(0,r.jsx)(y,{locale:f,insideDashBoard:e,onSelect:N})})]}):(0,r.jsxs)(o.rI,{id:x,children:[(0,r.jsx)(g.Bc,{children:(0,r.jsxs)(g.m_,{children:[(0,r.jsx)(o.ty,{asChild:!0,children:(0,r.jsx)(g.k$,{asChild:!0,children:(0,r.jsxs)(n.$,{variant:"none",size:"icon",disabled:b,className:`rounded-full gap-1 ${t?"h-auto w-auto p-1 hover:bg-gray-300":`h-10 w-10 px-2 ${e?"bg-gray-100 hover:bg-gray-200":"bg-none hover:bg-none"}`}`,children:[(0,r.jsxs)("span",{className:"flex items-center gap-1.5 justify-center",children:[(0,r.jsx)(k,{config:C,fromCvBuilder:t,insideDashBoard:e}),a&&(0,r.jsx)("span",{className:"text-sm font-medium",children:C.label})]}),!a&&(0,r.jsx)("span",{className:"sr-only",children:c("toggleLanguageText")})]})})}),(0,r.jsx)(g.ZI,{side:"bottom",className:"border-0 bg-black px-1 py-0.5 text-xs text-white",children:c("toggleLanguageText")})]})}),(0,r.jsx)(o.SQ,{align:"end",className:`min-w-[220px] p-0 ${d}`,children:(0,r.jsx)(y,{locale:f,insideDashBoard:e,onSelect:N})})]})}},52044:(e,t,a)=>{a.d(t,{B:()=>o,DropdownProvider:()=>l});var r=a(95155),s=a(12115);let i=(0,s.createContext)({activeDropdown:null,setActiveDropdown:()=>{}});function l({children:e}
1){let[t,a]=(0,s.useState)(null);return(0,r.jsx)(i.Provider,{value:{activeDropdown:t,setActiveDropdown:a},children:e})}let o=()=>(0,s.useContext)(i)},66353:(e,t,a)=>{a.d(t,{A:()=>s});var r=a(12115);let s=()=>{let[e,t]=(0,r.useState)(void 0);return(0,r.useEffect)(()=>{let e=()=>t(window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},77341:(e,t,a)=>{a.d(t,{$:()=>n,r:()=>o});var r=a(95155),s=a(12115),i=a(85792),l=a(86190);let o=(0,l.F)("inline-flex items-center justify-center whitespace-nowrap rounded-sm  font-medium ring-offset-white transition-colors disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-slate-950",{variants:{variant:{default:"bg-black flex justify-center items-center text-slate-50 hover:bg-primary dark:bg-primary dark:text-slate-900 dark:hover:bg-primary",destructive:"bg-red-500 text-slate-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-slate-50 dark:hover:bg-red-900/90",outline:"border border-gray-200 bg-white hover:bg-slate-100 hover:text-slate-900 dark:border-slate-800 dark:bg-card dark:hover:bg-slate-800 dark:hover:text-slate-50",secondary:"bg-slate-100 text-slate-900 hover:bg-slate-100/80 dark:bg-slate-800 dark:text-slate-50 dark:hover:bg-slate-800/80",ghost:"hover:bg-slate-100 hover:text-slate-900 dark:hover:bg-slate-800 dark:hover:text-slate-50",link:"text-slate-900 underline-offset-4 hover:underline dark:text-slate-50",paused:"text-white bg-[#f5c022] dark:text-slate-900",danger:"text-white bg-[#DE2A3E] dark:text-slate-900",refresh:"bg-white hover:bg-white",plusIcon:"border border-gray-200 resume-lima-bg-ten-color hover:bg-slate-200 hover:text-slate-900 dark:border-slate-800 dark:bg-card dark:hover:bg-slate-800 dark:hover:text-slate-50"},size:{default:"w-fit h-[30px] px-3 ",sm:"h-[30px] px-3 ",lg:"rounded-md h-[30px] px-3 ",icon:"h-10 w-10",miniicon:"h-8 w-8",sidebar:"font-[300] subheading-text h-[30px] px-3",richsmallbtn:"h-8 w-8 p-1 w-fit h-fit",combobox:"h-[40px]",resumefit:"h-fit mx-1 hover:bg-[#F8F8F8] px-1 resume-subheading-text"}},defaultVariants:{variant:"default",size:"default"}}),n=s.forwardRef(({className:e,variant:t,size:a,loading:s,asChild:n=!1,...d},c)=>{let f=n?i.DX:"button";return(0,r.jsx)(f,{className:(0,l.cn)("cursor-pointer",o({variant:t,size:a,className:e})),ref:c,disabled:!!s&&s,...d})});n.displayName="Button"},86190:(e,t,a)=>{a.d(t,{F:()=>l,cn:()=>i,g:()=>o});var r=a(49592),s=a(23412);function i(...e){return(0,s.QP)((0,r.$)(e))}function l(e,t={}){let{variants:a={},defaultVariants:r={},compoundVariants:s=[]}=t;return (t={})=>{let{className:l,...o}=t,n={...r,...o};return i(e,Object.keys(a).map(e=>a[e]?.[n[e]]),s.filter(({className:e,class:t,...a})=>Object.entries(a).every(([e,t])=>Array.isArray(t)?t.includes(n[e]):n[e]===t)).map(e=>e.className??e.class),l)}}let o=e=>e.charAt(0).toLowerCase()+e.slice(1).toLowerCase()},99e3:(e,t,a)=>{a.d(t,{default:()=>j});var r=a(95155),s=a(86787),i=a(12115),l=a(70130),o=a(33210),n=a(21362),d=a(83109),c=a(12214),f=a(5772),h=a(73321),u=a(66353),m=a(37206),p=a(39357);a(98500);var x=a(66865),g=a(59547),b=a(10641),v=a(17788);let w=(0,m.default)(()=>Promise.all([a.e(9710),a.e(9279),a.e(3124),a.e(5014),a.e(8834),a.e(5592),a.e(648),a.e(7742)]).then(a.bind(a,47742)),{loadableGenerated:{webpack:()=>[47742]},ssr:!1}),k={bar:"h-[54px] border border-[#ffffff41] bg-white/10 rounded-lg mt-4 left-1/2 -translate-x-1/2 backdrop-blur",inner:"px-8",logo:"/Images/logoLanding.svg",logoSize:{width:80,height:20},link:"text-[#C4C9D0]",hover:"hover:text-white",active:"!text-white !font-medium",activeSoft:"text-white font-medium",action:"text-white",icon:"text-white/80",menu:"bg-white/30"},y={bar:"h-[64px] w-full top-0 left-0 border-b border-[#ececf0] bg-white/85 backdrop-blur-md",inner:"mx-auto w-full md:max-w-[95%] px-4",logo:"/Images/logocolor.svg",logoSize:{width:83,height:32},link:"text-[#4b4d61]",hover:"hover:text-[#17182b]",active:"!text-[#17182b] !font-medium",activeSoft:"text-[#17182b] font-medium",action:"text-[#17182b] [&_svg]:!text-[#17182b]",icon:"text-[#17182b]",menu:"bg-white/95 border border-[#ececf0]"},j=({light:e=!1})=>{let t=e?y:k,a=(0,h.useRouter)(),m=(0,u.A)(),[j,N]=(0,i.useState)(!1),C=(0,h.usePathname)()||"",{allUserData:S}=(0,x.L)(),A=(0,c.Vr)(c.dK.NAVBAR),$=(0,c.Vr)(c.dK.BUTTON),E=(0,c.Vr)(c.dK.CAREER_HUB),P=(0,b.QT)().filter(e=>
1b.tS.includes(e.key)),z=(0,b.hh)(),I=async()=>{if(!(0,d.getCookie)("token"))try{await (0,g.CJ)("/auth?appName=ats",(0,d.getCookie)("token"))}catch(e){s.A.error("Failed to track auth",e)}},[R,B]=(0,i.useState)(!1);(0,i.useEffect)(()=>{B(!!(0,d.getCookie)("token"))},[]),(0,i.useEffect)(()=>{N(!1)},[C]),(0,i.useEffect)(()=>{if(!j)return;let e=e=>"Escape"===e.key&&N(!1),{overflow:t}=document.body.style;return document.body.style.overflow="hidden",window.addEventListener("keydown",e),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",e)}},[j]);let D=()=>{if("/ats"===C)return void a.push(S?.atsProfileExist?"/dashboard":"/onboarding?product=ats");let e="/ats"===C,t={"/career-hub/mock-interview":S?.jobSeekerProfileExist?"/interview":"/onboarding?product=interview","/career-hub/cv-roast":S?.jobSeekerProfileExist?"/cv/home":"/onboarding?product=cvRoast","/career-hub/cv-builder":S?.jobSeekerProfileExist?"/cv/home":"/onboarding?product=cvBuilder","/interview":S?.jobSeekerProfileExist?"/interview":"/onboarding?product=interview"},r=(0,d.getCookie)("lastVisitedPage");if("/ats"===r&&e)return void a.push(S?.atsProfileExist?"/dashboard":"/onboarding?product=ats");let s=t[r];if(s)return void a.push(s);if(!S)return void a.push("/onboarding");if(S.atsProfileExist||S.jobSeekerProfileExist){let t=S?.user?.subscriptionStatus==="active",r=S.jobSeeker?.activePlan?.subscriptionStatus==="active";if(S.atsProfileExist&&!S.jobSeekerProfileExist)a.push(e?"/dashboard":"/onboarding");else if(!S.atsProfileExist&&S.jobSeekerProfileExist)a.push("/cv/home");else if(S.atsProfileExist&&S.jobSeekerProfileExist)if(t&&r)if(null===S.lastAppUsed)a.push("/cv/home");else{if("ats"===S.lastAppUsed&&e)return void a.push("/dashboard");a.push(S?.lastAppUsed==="interview"?"/interview":"/cv/home")}else if(t||r)r?a.push("/cv/home"):a.push(e?"/dashboard":"/interview");else if(null===S.lastAppUsed)a.push("/cv/home");else{if("ats"===S.lastAppUsed&&e)return void a.push("/dashboard");a.push(S?.lastAppUsed==="interview"?"/interview":"/cv/home")}else a.push("/login")}else a.push("/onboarding")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:`fixed z-[60] ${t.bar} ${e?"":m?"w-[90%]":"w-[95%]"}`,children:(0,r.jsxs)("div",{className:`flex justify-between items-center h-full ${t.inner}`,children:[(0,r.jsx)("div",{children:(0,r.jsx)("a",{href:"/",children:(0,r.jsx)(f.default,{className:"cursor-pointer",src:t.logo,alt:"Skillioz Logo",width:t.logoSize.width,height:t.logoSize.height,priority:!0,style:{shapeRendering:"geometricPrecision"}})})}),!m&&(0,r.jsxs)("ul",{className:`flex gap-[40px] ${t.link} font-normal items-center text-[14px]`,children:[P.map(e=>(0,r.jsx)("li",{className:`${t.hover} ${(0,b.P$)(C)===e.key?t.active:""}`,children:(0,r.jsx)("a",{href:e.marketingHref,onClick:t=>{t.preventDefault(),z(e)},children:e.title})},e.key)),"/ats"===C&&(0,r.jsx)("li",{className:t.hover,children:(0,r.jsx)("a",{href:"/ats/pricing",children:A("pricing")})}),"/ats"===C&&(0,r.jsx)("li",{className:`${t.hover} ${"/book-demo"===C?t.activeSoft:""}`,children:(0,r.jsx)("a",{href:"https://calendly.com/skillioz-skillioz/30min",target:"_blank",rel:"noopener noreferrer",children:A("bookdemo")})})]}),!m&&(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)("div",{className:`relative flex justify-center items-center z-10 ${t.action} text-[14px] rounded-lg transition-all duration-300 overflow-hidden`,children:(0,r.jsx)(p.A,{insideDashBoard:!1})}),(0,r.jsx)("span",{className:`relative z-10 bg-transparent ${t.action} text-[14px] font-normal cursor-pointer rounded-lg transition-all duration-300 hover:bg-transparent overflow-hidden`,onClick:()=>{if((0,d.getCookie)("token")?D():"/ats"===C?a.push("/login?product=ats"):a.push("/login"),(0,d.setCookie)("lastVisitedPage",C,{path:"/"}),"/ats"===C)return I()},children:$(R?"dashboard":"loginRegister")})]}),m&&(0,r.jsx)("button",{type:"button",onClick:()=>N(!0),"aria-label":E("nav.openMenu"),"aria-expanded":j,className:"p-1 -mr-1",children:(0,r.jsx)(l.A,{className:t.icon})})]})}),m&&(0,r.jsxs)("div",{className:`fixed inset-0 z-[100] ${j?"":"pointer-events-none"}`,"aria-hidden":!j,...!j&&{inert:""},children:[(0,r.jsx)("div",{className:`absolute inset-0 bg-black/40 transition-opacity duration-200 ${j?"opacity-100":"opacity-0"}`,onClick:()=>N(!1)}),(0,r.jsxs)("aside",{role:"dialog","aria-modal":"true","aria-label":E("nav.products"),className:`absolute right-0 top-0 h-full w-[85%] max-w-sm bg-white shadow-xl flex flex-col transition-transform duration-200 ${j?"translate-x-0":"translate-x-full"}`,children:[(0,r.jsxs)("div",{className:"h-[72px] shrink-0 flex items-center justify-between px-4 border-b border-gray-200",children:[(0,r.jsx)("img",{src:"/Images/logocolor.svg",alt:"Skillioz",width:103,height:40,className:"w-auto h-7"}),(0,r.jsx)("button",{type:"button",onClick:()=>N(!1),"aria-label":E("nav.closeMenu"),className:"p-2 -mr-2 rounded-lg text-gray-900 hover:bg-gray-100 transition-colors",children:(0,r.jsx)(o.A,{size:24})})]}),(0,r.jsxs)("nav",{className:"flex-1 overflow-y-auto pb-6",children:[(0,r.jsxs)("ul",{className:"bg-white divide-y divide-gray-200 border-b border-gray-200",children:[(0,r.jsx)("li",{children:(0,r.jsx)("div",{id:"drawer
1-products",className:"w-full",children:P.map(e=>(0,r.jsxs)("button",{type:"button",onClick:()=>{N(!1),z(e)},className:"w-full flex items-center gap-3 px-4 py-3 text-left transition-colors hover:bg-gray-50 border-b border-gray-200 last:border-b-0",children:[(0,r.jsx)(v.A,{product:e,className:"w-10 h-10",padding:"p-1.5",radius:"rounded-[12px]"}),(0,r.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,r.jsx)("span",{className:"block text-[15px] font-semibold text-gray-900",children:e.title}),(0,r.jsx)("span",{className:"block mt-0.5 text-[12.5px] leading-snug text-gray-500",children:e.description})]})]},e.key))})}),["/"!==C&&{key:"pricing",href:"/ats/pricing",label:A("pricing")},"/"!==C&&{key:"demo",href:"https://calendly.com/skillioz-skillioz/30min",label:A("bookdemo"),external:!0}].filter(Boolean).map(e=>{let t=C===e.href;return(0,r.jsx)("li",{children:(0,r.jsxs)("a",{href:e.href,...e.external&&{target:"_blank",rel:"noopener noreferrer"},"aria-current":t?"page":void 0,className:`w-full flex items-center justify-between px-4 py-3.5 text-left text-[15px] font-medium text-gray-800 transition-colors hover:bg-gray-50 ${t?"!text-[#332fa8] !font-semibold":""}`,children:[e.label,(0,r.jsx)(n.A,{size:18,className:"shrink-0 text-gray-400"})]})},e.key)})]}),(0,r.jsx)("div",{className:"bg-white px-4 py-3 border-b border-gray-200",children:(0,r.jsx)(p.A,{insideDashBoard:!0,showCountrySelector:!0,contentClassName:"z-[110]"})}),(0,r.jsx)("button",{type:"button",onClick:()=>{N(!1),(0,d.getCookie)("token")?D():"/ats"===C?a.push("/login?product=ats"):a.push("/login")},className:"mt-6 mx-4 w-[calc(100%-2rem)] rounded-full bg-black text-white py-3 text-[14px] font-semibold",children:$(R?"dashboard":"loginRegister")})]})]})]}),"/ats"===C&&(0,r.jsx)(w,{})]})}}}]);

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.