PageSourceSearch

https://app.nxtjob.ai/_next/static/chunks/3256-539df5f5090394f4.js

js nxtjob.ai collected 2026-09-24 12:53:05 UTC 25,249 bytes, 1 lines download raw bytes

1!function(){try{var 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]="3ed75e94-c32e-44d6-9bd7-e4a783c5ad27",e._sentryDebugIdIdentifier="sentry-dbid-3ed75e94-c32e-44d6-9bd7-e4a783c5ad27")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3256],{62637:(e,t,a)=>{a.d(t,{BP:()=>o,Ip:()=>d,Xw:()=>n,aX:()=>c,jU:()=>s,vy:()=>i});var r=a(58843);let s={ALREADY_BOOKED:"ER_APT117",SLOT_TAKEN:"ER_APT109"},i={NICHE:"niche",LEADERSHIP:"leadership"},l=async function(e){var t,a,s;let{method:l="GET",body:n,flow:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=await fetch("".concat(r.Ay.erpServerUrl).concat(o===i.LEADERSHIP?"/leadership-call":"/niche-call").concat(e),{method:l,...void 0!==n?{headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}:{}}),c=null;try{c=await d.json()}catch(e){}if(!d.ok){let e=Error((null==c||null==(t=c.error)?void 0:t.errorMessage)||(null==c?void 0:c.message)||"Call request failed (".concat(d.status,")"));throw e.status=d.status,e.code=null==c||null==(a=c.error)?void 0:a.errorCode,e}return null!=(s=null==c?void 0:c.data)?s:null},n=(e,t,a)=>l("/availability",{method:"POST",flow:a,body:{email:e,...t?{includeSlots:!0}:{}}}),o=(e,t)=>l("/book",{method:"POST",body:e,flow:t}),d=(e,t)=>l("/cancel",{method:"POST",body:e,flow:t}),c=(e,t)=>l("/reschedule",{method:"POST",body:e,flow:t})},83256:(e,t,a)=>{a.d(t,{A:()=>Y});var r=a(94458),s=a(16868),i=a(52327),l=a.n(i),n=a(83326),o=a(3631),d=a(39477),c=a(80691),x=a(76800),h=a(5900),m=a(55229),u=a(278),b=a(27505),p=a(49924),g=a(75737),y=a(95918),f=a(74786),w=a(92308),j=a(77911),v=a.n(j),k=a(68658),N=a(31039),D=a(62637),A=a(9636),F=a(86013),C=a(33859),E=a(38129);let _=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D.vy.NICHE,a=(0,E.useRouter)(),{user:r}=(0,s.Jd)(),i=(0,A.jE)(),l=("string"==typeof a.query.email&&a.query.email?a.query.email:void 0)||(null==r||null==(e=r.primaryEmailAddress)?void 0:e.emailAddress),[n,o]=(0,k.useState)(!1),d=(0,F.I)({queryKey:[N.l.nicheCall,t,l,n],queryFn:()=>(0,D.Xw)(l,n,t),enabled:!!l,staleTime:3e4,keepPreviousData:!0}),c=()=>{i.invalidateQueries({queryKey:[N.l.nicheCall,t]})},x=(0,C.n)({mutationFn:e=>{let{startEpoch:a,name:r,phone:s}=e;return(0,D.BP)({startEpoch:a,name:r,phone:s,email:l},t)},onSuccess:c,onError:c});return{stateQuery:d,availabilityQuery:d,bookMutation:x,cancelMutation:(0,C.n)({mutationFn:()=>(0,D.Ip)({email:l},t),onSuccess:c,onError:c}),rescheduleMutation:(0,C.n)({mutationFn:e=>{let{startEpoch:a}=e;return(0,D.aX)({email:l,startEpoch:a},t)},onSuccess:()=>{o(!1),c()},onError:c}),rescheduleMode:n,setRescheduleMode:o}};var M=a(74833);let P={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.08,delayChildren:.05}}},S={hidden:{opacity:0,y:18},visible:{opacity:1,y:0,transition:{type:"spring",stiffness:300,damping:26}}},T=()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return""}},L=e=>{let{children:t}=e;return(0,r.jsx)("div",{className:"min-h-[280px] flex flex-col",children:t})},I=e=>{var t;let{booking:a,onReschedule:s,cancelMutation:i}=e,[n,o]=(0,k.useState)(!1),d=l()(1e3*a.startEpoch),c=l()(1e3*a.endEpoch),u="COMPLETED"===a.status;return(0,r.jsxs)(L,{children:[(0,r.jsxs)("div",{className:"flex items-start gap-3 p-4 border rounded-xl border-emerald-500/30 bg-emerald-500/5",children:[(0,r.jsx)(x.A,{className:"w-6 h-6 text-emerald-500 shrink-0 mt-0.5"}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:u?"Your niche call is done":"Your call is booked"}),(0,r.jsx)("p",{className:"mt-1 text-sm text-gray-600 dark:text-white/70",children:d.format("dddd, MMMM D")}),(0,r.jsxs)("p",{className:"text-sm text-gray-600 dark:text-white/70",children:[d.format("h:mm A")," – ",c.format("h:mm A")," ",(0,r.jsxs)("span",{className:"text-xs text-gray-400 dark:text-white/40",children:["(",T(),")"]})]}),(0,r.jsxs)("p",{className:"mt-2 text-sm text-gray-600 dark:text-white/70",children:["with ",(0,r.jsx)("span",{className:"font-medium text-gray-800 dark:text-white/90",children:a.coachName||"your NxtJob coach"})]})]})]}),!u&&(0,r.jsxs)(r.Fragment,{children:[a.meetingLink&&(0,r.jsxs)("a",{href:a.meetingLink,target:"_blank",rel:"noreferrer",className:"flex items-center justify-center w-full gap-2 mt-4 text-sm font-semibold text-white h-11 rounded-lg bg-[#0D5CDF] hover:bg-[#0b4fc7] transition-colors",children:[(0,r.jsx)(h.A,{className:"w-4 h-4"})," Join on Google Meet"]}),(0,r.jsx)("p",{className:"mt-3 text-xs text-center text-gray-400 dark:text-white/40",children:"A calendar invite with the Meet link is in your email."}),n?(0,r.jsxs)("div",{className:"p-3 mt-3 text-center border rounded-lg border-red-500/30 bg-red-500/5",children:[(0,r.jsx)("p",{className:"text-sm text-gray-700 dark:text-white/80",children:"Cancel this call? The slot opens up for others right away."}),i.isError&&(0,r.jsx)("p",{className:"mt-1 text-xs text-red-500",children:(null==(t=i.error)?void 0:t.message)||"We couldn't cancel the call — please try again."}),(0,r.jsxs)("div",{className:"flex items-center justify-center gap-3 mt-2.5",children:[(0,r.jsx)("button",{type:"button",onClick:()=>o(!1),className:"px-3 py-1.5 text-xs font-medium text-gray-600 border border-gray-200 rounded-lg dark:text-white/70 dark:border-white/10 hover:border-[#0D5CDF]",children:"Keep my call"}),(0,r.jsxs)("button",{type:"button",disabled:i.isLoading,onClick:()=>i.mutate(),className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-semibold text-white bg-red-500 rounded-lg hover:bg-red-600 disabled:opacity-60",children:[i.isLoading&&(0,r.jsx)(m.A,{className:"w-3.5 h-3.5 animate-spin"}),i.isLoading?"Cancelling…":"Yes, cancel it"]})]})]}):(0,r.jsxs)("div",{className:"flex items-center justify-center gap-4 mt-2 text-xs",children:[(0,r.jsx)("button",{type:"button",onClick:s,className:"text-gray-500 underline dark:text-white/50 hover:text-[#0D5CDF] dark:hover:text-[#5AA5FF]",children:"Reschedule"}),(0,r.jsx)("button",{type:"button",onClick:()=>{i.reset(),o(!0)},className:"text-gray-500 underline dark:text-white/50 hover:text-[#0D5CDF] dark:hover:text-[#5AA5FF]",children:"Cancel"})]})]})]})},O=e=>{var t,a,s;let{availabilityQuery:i,bookMutation:n,defaultName:o,reschedule:d,durationMinutes:c}=e,[x,h]=(0,k.useState)(null),[y,f]=(0,k.useState)(null),[w,j]=(0,k.useState)(o||""),[v,N]=(0,k.useState)(""),A=(0,k.useMemo)(()=>{var e;return(e=>{let t=[];if(e&&"object"==typeof e&&!Array.isArray(e))for(let a of Object.values(e))for(let e of(null==a?void 0:a.slots)||[])t.push(e);t.sort((e,t)=>
1e-t);let a=Date.now()/1e3,r=[],s={};for(let e of t){if(e<=a)continue;let t=l()(1e3*e).format("YYYY-MM-DD");s[t]||(s[t]={key:t,slots:[]},r.push(s[t])),s[t].slots.push(e)}return r})(null==(e=i.data)?void 0:e.slots)},[i.data]),F=A.find(e=>e.key===x)||A[0],C=d?d.mutation:n,E=d&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 p-2.5 mb-3 text-xs border rounded-lg border-[#0D5CDF]/30 bg-[#0D5CDF]/5 text-gray-600 dark:text-white/70",children:[(0,r.jsxs)("span",{children:["Pick a new time — your call is currently"," ",(0,r.jsx)("span",{className:"font-medium text-gray-800 dark:text-white/90",children:l()(1e3*d.booking.startEpoch).format("ddd, MMM D \xb7 h:mm A")})]}),(0,r.jsx)("button",{type:"button",onClick:d.onExit,className:"font-medium shrink-0 text-[#0D5CDF] dark:text-[#5AA5FF] hover:underline",children:"Keep current time"})]});if(i.isLoading)return(0,r.jsx)(L,{children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1 gap-3 text-gray-400 dark:text-white/40",children:[(0,r.jsx)(m.A,{className:"w-6 h-6 animate-spin text-[#5AA5FF]"}),(0,r.jsx)("p",{className:"text-sm",children:"Finding open times…"})]})});if(i.isError||0===A.length)return(0,r.jsxs)(L,{children:[E,(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1 gap-3 text-center",children:[(0,r.jsx)(u.A,{className:"w-6 h-6 text-amber-500"}),(0,r.jsx)("p",{className:"text-sm text-gray-600 dark:text-white/70",children:i.isError?"We couldn't load the open times.":"All slots are booked right now — new times open daily."}),(0,r.jsxs)("button",{type:"button",onClick:()=>i.refetch(),className:"inline-flex items-center gap-1.5 text-sm font-medium text-[#0D5CDF] dark:text-[#5AA5FF] hover:underline",children:[(0,r.jsx)(b.A,{className:"w-3.5 h-3.5"})," Try again"]})]})]});let _=(null==(t=C.error)?void 0:t.code)===D.jU.SLOT_TAKEN,M=C.isError&&!_;if(y&&d){let e=l()(1e3*y),t=l()(1e3*d.booking.startEpoch);return(0,r.jsxs)(L,{children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{f(null),C.reset()},className:"inline-flex items-center self-start gap-1 mb-3 text-xs font-medium text-gray-500 dark:text-white/50 hover:text-[#0D5CDF] dark:hover:text-[#5AA5FF]",children:[(0,r.jsx)(p.A,{className:"w-3.5 h-3.5"})," Pick a different time"]}),(0,r.jsxs)("div",{className:"p-3 mb-4 border rounded-lg border-[#0D5CDF]/30 bg-[#0D5CDF]/5",children:[(0,r.jsx)("p",{className:"text-xs text-gray-400 line-through dark:text-white/40",children:t.format("dddd, MMMM D \xb7 h:mm A")}),(0,r.jsx)("p",{className:"mt-1 text-sm font-medium text-gray-900 dark:text-white",children:e.format("dddd, MMMM D")}),(0,r.jsxs)("p",{className:"text-sm text-gray-600 dark:text-white/70",children:[e.format("h:mm A")," – ",l()((y+60*c)*1e3).format("h:mm A")," ",(0,r.jsxs)("span",{className:"text-xs text-gray-400 dark:text-white/40",children:["(",T(),")"]})]})]}),M&&(0,r.jsx)("p",{className:"mb-3 text-xs text-red-500",children:(null==(a=C.error)?void 0:a.message)||"We couldn't move this call. Please try again."}),(0,r.jsx)("button",{type:"button",disabled:C.isLoading,onClick:()=>C.mutate({startEpoch:y}),className:"flex items-center justify-center w-full gap-2 text-sm font-semibold text-white transition-colors rounded-lg h-11 bg-[#0D5CDF] hover:bg-[#0b4fc7] disabled:opacity-50 disabled:cursor-not-allowed",children:C.isLoading?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"w-4 h-4 animate-spin"})," Moving your call…"]}):(0,r.jsxs)(r.Fragment,{children:["Confirm new time ",(0,r.jsx)(g.A,{className:"w-4 h-4"})]})}),(0,r.jsx)("p",{className:"mt-3 text-xs text-center text-gray-400 dark:text-white/40",children:"You'll get a fresh calendar invite with the new Meet link."})]})}if(y){let e=l()(1e3*y),t=w.trim().length>0&&v.replace(/[^\d]/g,"").length>=8&&!n.isLoading;return(0,r.jsxs)(L,{children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{f(null),n.reset()},className:"inline-flex items-center self-start gap-1 mb-3 text-xs font-medium text-gray-500 dark:text-white/50 hover:text-[#0D5CDF] dark:hover:text-[#5AA5FF]",children:[(0,r.jsx)(p.A,{className:"w-3.5 h-3.5"})," Pick a different time"]}),(0,r.jsxs)("div",{className:"p-3 mb-4 border rounded-lg border-[#0D5CDF]/30 bg-[#0D5CDF]/5",children:[(0,r.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-white",children:e.format("dddd, MMMM D")}),(0,r.jsxs)("p",{className:"text-sm text-gray-600 dark:text-white/70",children:[e.format("h:mm A")," – ",l()((y+60*c)*1e3).format("h:mm A")," ",(0,r.jsxs)("span",{className:"text-xs text-gray-400 dark:text-white/40",children:["(",T(),")"]})]})]}),(0,r.jsx)("label",{className:"mb-1 text-xs font-medium text-gray-500 dark:text-white/50",htmlFor:"niche-call-name",children:"Your name"}),(0,r.jsx)("input",{id:"niche-call-name",type:"text",value:w,onChange:e=>j(e.target.value),className:"w-full h-10 px-3 mb-3 text-sm text-gray-900 bg-white border border-gray-200 rounded-lg dark:text-white dark:bg-white/[0.04] dark:border-white/10 focus:outline-none focus:border-[#0D5CDF]",placeholder:"Full name"}),(0,r.jsx)("label",{className:"mb-1 text-xs font-medium text-gray-500 dark:text-white/50",htmlFor:"niche-call-phone",children:"WhatsApp number"}),(0,r.jsx)("input",{id:"niche-call-phone",type:"tel",value:v,onCh
1ange:e=>N(e.target.value),className:"w-full h-10 px-3 text-sm text-gray-900 bg-white border border-gray-200 rounded-lg dark:text-white dark:bg-white/[0.04] dark:border-white/10 focus:outline-none focus:border-[#0D5CDF]",placeholder:"+91 98765 43210"}),M&&(0,r.jsx)("p",{className:"mt-3 text-xs text-red-500",children:(null==(s=n.error)?void 0:s.message)||"We couldn't book this call. Please try again."}),(0,r.jsx)("button",{type:"button",disabled:!t,onClick:()=>n.mutate({startEpoch:y,name:w.trim(),phone:v.trim()}),className:"flex items-center justify-center w-full gap-2 mt-4 text-sm font-semibold text-white transition-colors rounded-lg h-11 bg-[#0D5CDF] hover:bg-[#0b4fc7] disabled:opacity-50 disabled:cursor-not-allowed",children:n.isLoading?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{className:"w-4 h-4 animate-spin"})," Booking…"]}):(0,r.jsxs)(r.Fragment,{children:["Confirm booking ",(0,r.jsx)(g.A,{className:"w-4 h-4"})]})})]})}return(0,r.jsxs)(L,{children:[E,_&&(0,r.jsxs)("div",{className:"flex items-start gap-2 p-2.5 mb-3 text-xs border rounded-lg text-amber-600 dark:text-amber-400 border-amber-500/30 bg-amber-500/5",children:[(0,r.jsx)(u.A,{className:"w-4 h-4 shrink-0"})," That time was just booked — pick another slot."]}),(0,r.jsx)("div",{className:"flex gap-2 pb-2 -mx-1 px-1 overflow-x-auto custom-scrollbar",children:A.map(e=>{let t=l()(e.key),a=e.key===(null==F?void 0:F.key);return(0,r.jsxs)("button",{type:"button",onClick:()=>h(e.key),className:"flex flex-col items-center px-3.5 py-2 rounded-lg border text-sm shrink-0 transition-colors ".concat(a?"border-[#0D5CDF] bg-[#0D5CDF]/10 text-[#0D5CDF] dark:text-[#5AA5FF] font-semibold":"border-gray-200 dark:border-white/10 text-gray-600 dark:text-white/60 hover:border-[#0D5CDF]/40"),children:[(0,r.jsx)("span",{className:"text-[11px] uppercase tracking-wide",children:t.format("ddd")}),(0,r.jsx)("span",{children:t.format("MMM D")})]},e.key)})}),(0,r.jsx)("div",{className:"grid grid-cols-3 gap-2 mt-3",children:((null==F?void 0:F.slots)||[]).map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>{C.reset(),f(e)},className:"h-10 text-sm font-medium text-gray-700 transition-colors border border-gray-200 rounded-lg dark:text-white/80 dark:border-white/10 hover:border-[#0D5CDF] hover:text-[#0D5CDF] dark:hover:text-[#5AA5FF]",children:l()(1e3*e).format("h:mm A")},e))}),(0,r.jsxs)("p",{className:"mt-3 text-xs text-center text-gray-400 dark:text-white/40",children:["Times shown in your timezone (",T(),")"]})]})},Y=e=>{var t;let{niches:a=[],flow:i,variant:l="default"}=e,h="switch"===l,p=(a||[]).filter(e=>null==e?void 0:e.primaryJobTitle).slice(0,h?1:4),{user:j}=(0,s.Jd)(),{stateQuery:N,availabilityQuery:D,bookMutation:A,cancelMutation:F,rescheduleMutation:C,rescheduleMode:E,setRescheduleMode:T}=_(i),Y=(null==(t=D.data)?void 0:t.durationMinutes)||45,R=h?[{label:"Choose your session time",sub:"Select the slot that works best for you"},{label:"Review your leadership profile",sub:"Use your ".concat(Y,"-minute session to unpack the report")},{label:"Pressure-test your direction",sub:"Challenge the fit, trade-offs and evidence gaps"},{label:"Leave with a focused plan",sub:"Agree the priorities and actions for your next move"}]:[{label:"Book your strategy call",sub:"Pick a time that works for you"},{label:"Meet your job coach",sub:"".concat(Y,"-min 1-on-1 to validate your niche")},{label:"Approve your niche",sub:"Lock it in from your dashboard"},{label:"Unlock SWOT & CAR",sub:"Start building your standout resume"}],B=h?[{icon:d.A,label:"".concat(Y,"-minute session")},{icon:c.A,label:"Private 1-on-1 coaching"},{icon:x.A,label:"Built around your report"}]:[{icon:d.A,label:"".concat(Y," minutes")},{icon:c.A,label:"1-on-1 with a coach"},{icon:x.A,label:"Free for members"}],H=(0,k.useRef)(null),K=(N.data&&!N.data.canBook?N.data.booking:null)||C.data||A.data,J={...A,mutate:e=>{A.mutate(e,{onSuccess:e=>{null===v()||void 0===v()||v().track(M.v.NICHE_CALL_BOOKED,{source:"niche_call_booking",page:window.location.pathname,startEpoch:null==e?void 0:e.startEpoch,coach:null==e?void 0:e.coachName})}})}},W={...F,mutate:()=>{F.mutate(void 0,{onSuccess:()=>{var e;A.reset(),C.reset(),null===v()||void 0===v()||v().track(null!=(e=M.v.NICHE_CALL_CANCELLED)?e:"niche_call_cancelled",{source:"niche_call_booking",page:window.location.pathname})}})}};return(0,r.jsx)(n.P.div,{"data-switch-booking":h?"":void 0,variants:P,initial:"hidden",animate:"visible",className:"flex flex-1 justify-center w-full overflow-y-auto custom-scrollbar ".concat(h?"items-start px-3 py-7 md:px-6 md:py-10":"items-center px-2 py-4"),children:(0,r.jsxs)("div",{className:"grid w-full grid-cols-1 ".concat(h?"max-w-6xl items-stretch gap-5 lg:grid-cols-[0.82fr_1.18fr]":"max-w-6xl items-center gap-10 lg:grid-cols-2 lg:gap-14"),children:[(0,r.jsxs)("div",{className:"flex flex-col ".concat(h?"relative overflow-hidden rounded-[30px] bg-[#230627] px-7 py-8 text-white shadow-[0_24px_70px_rgba(35,6,39,.18)] md:px-9 md:py-10":""),children:[h&&(0,r.jsx)("div",{"aria-hidden":"true",className:"absolute -right-24 -top-28 h-72 w-72 rounded-full bg-[#A879D9]/20"}),(0,r.jsxs)(n.P.span,{variants:S,className:"relative inline-flex self-start items-center gap-1.5 px-3 py-1 mb-5 text-[11px] font-semibold tracking-wide rounded-full ".concat(h?"border border-white/20 bg-white/10 text-[#E9D9F7]":"text-[#5AA5FF] bg-[#0D5CDF]/10 border border-[#0D5CDF]/30"),children:[(0,r.jsx)(y.A,{className:"w-3 h-3"})," ",h?"YOUR DIRECTION IS READY":"FINAL STEP \xb7 YOU'RE ALMOST THERE"]}),(0,r.jsxs)(n.P.h1,{variants:S,className:"relative text-3xl md:text-4xl xl:text-5xl font-bold tracking-[-0.045em] leading-[1.04] ".concat(h?"text-white":"text-gray-900 dark:text-white"),children:[h?"Your leadership direction is ready.":"Great picks. Now let's",!h&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#0D5CDF] to-[#5AA5FF]",children:"make them happen."})]})]}),(0,r.jsx)(n.P.p,{variants:S,className:"relative mt-5 max-w-md text-base leading-7 ".concat(h?"text-white/70":"text-gray-500 dark:text-white/50"),children:h?"Choose a time to turn insight into action. Your coach will review your Leadership Discovery report, challenge the direction and help you agree a focused next-step plan.":"Book a free ".concat(Y,"-minute call with your job coach to validate your niche and walk away with a personalized action plan.")}
1),(0,r.jsx)(n.P.div,{variants:S,className:"relative flex flex-wrap gap-2.5 mt-6",children:B.map(e=>{let{icon:t,label:a}=e;return(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-full ".concat(h?"border border-white/15 bg-white/[0.07] text-white/75":"text-gray-600 dark:text-white/60 bg-gray-50 dark:bg-white/[0.03] border border-gray-200 dark:border-white/10"),children:[(0,r.jsx)(t,{className:"w-3.5 h-3.5 ".concat(h?"text-[#D9BDF5]":"text-[#5AA5FF]")})," ",a]},a)})}),(0,r.jsxs)(n.P.div,{variants:S,className:"relative mt-8",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{var e;null===v()||void 0===v()||v().track(M.v.BOOK_CALL,{source:"niche_call_booking",page:window.location.pathname,nicheCount:p.length}),null==(e=H.current)||e.scrollIntoView({behavior:"smooth",block:"center"})},className:"group relative inline-flex items-center justify-center gap-2 h-14 px-9 text-base font-semibold overflow-hidden transition-all duration-300 ".concat(h?"rounded-full bg-white text-[#230627] shadow-[0_16px_35px_rgba(0,0,0,.22)] hover:-translate-y-0.5":"text-white bg-[#0D5CDF] hover:bg-[#0b4fc7] rounded-lg shadow-[0_0_40px_rgba(13,92,223,0.45)] hover:shadow-[0_0_55px_rgba(13,92,223,0.65)]"),children:[(0,r.jsxs)("span",{className:"relative z-10 flex items-center gap-2",children:[K?"View Your Session":h?"Schedule My Session":"Book Your Call",(0,r.jsx)(n.P.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"},children:(0,r.jsx)(g.A,{className:"w-5 h-5"})})]}),(0,r.jsx)(n.P.div,{initial:{x:"-100%"},whileHover:{x:"100%"},transition:{duration:.6,ease:"easeInOut"},className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/15 to-transparent"})]}),(0,r.jsx)("p",{className:"mt-3 text-xs ".concat(h?"text-white/45":"text-gray-400 dark:text-white/30"),children:h?"Secure your slot in under a minute. Keep your report handy for the session.":"Takes 30 seconds to schedule. No prep needed."})]}),(0,r.jsxs)(n.P.div,{variants:S,className:"relative mt-9 border-t border-white/10 pt-7",children:[(0,r.jsx)("p",{className:"mb-4 text-[11px] font-semibold tracking-wider ".concat(h?"text-[#D9BDF5]":"text-gray-400 dark:text-white/40"),children:"WHAT HAPPENS NEXT"}),(0,r.jsxs)("div",{className:"relative flex flex-col gap-4",children:[(0,r.jsx)("div",{className:"absolute left-[11px] top-2 bottom-2 w-px ".concat(h?"bg-white/15":"bg-gradient-to-b from-[#0D5CDF]/40 to-transparent")}),R.map((e,t)=>(0,r.jsxs)("div",{className:"relative flex items-start gap-3",children:[(0,r.jsx)("span",{className:"relative z-10 flex items-center justify-center w-6 h-6 rounded-full text-[11px] font-bold shrink-0 ".concat(0===t?h?"bg-white text-[#230627]":"bg-[#0D5CDF] text-white shadow-[0_0_12px_rgba(13,92,223,0.5)]":h?"border border-white/15 bg-white/[0.06] text-white/60":"bg-gray-100 dark:bg-white/[0.06] text-gray-500 dark:text-white/50 border border-gray-200 dark:border-white/10"),children:t+1}),(0,r.jsxs)("div",{className:"-mt-0.5",children:[(0,r.jsx)("p",{className:"text-sm font-medium ".concat(h?"text-white/90":"text-gray-800 dark:text-white/90"),children:e.label}),(0,r.jsx)("p",{className:"text-xs ".concat(h?"text-white/45":"text-gray-400 dark:text-white/40"),children:e.sub})]})]},e.label))]})]})]}),(0,r.jsxs)(n.P.div,{variants:S,className:"relative",ref:H,children:[!h&&(0,r.jsx)("div",{className:"absolute -inset-6 bg-[#0D5CDF]/10 blur-3xl rounded-full pointer-events-none"}),(0,r.jsxs)("div",{className:"relative p-6 md:p-8 border ".concat(h?"h-full rounded-[30px] border-[#D8CFDC] bg-white shadow-[0_24px_70px_rgba(35,6,39,.10)] dark:bg-[#171016]":"rounded-2xl border-gray-200 dark:border-white/10 bg-white/70 dark:bg-white/[0.03] backdrop-blur-xl shadow-[0_20px_60px_rgba(13,92,223,0.12)]"),children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 ".concat(h?"mb-6 border-b border-[#E7E1E8] pb-6 dark:border-white/10":"mb-5"),children:[(0,r.jsx)("div",{className:"flex items-center justify-center w-12 h-12 rounded-xl bg-gradient-to-br from-[#0D5CDF] to-[#5AA5FF] shadow-[0_0_25px_rgba(13,92,223,0.5)]",children:(0,r.jsx)(f.A,{className:"w-6 h-6 text-white"})}),(0,r.jsxs)("div",{children:[h&&(0,r.jsx)("p",{className:"mb-1 text-[10px] font-extrabold uppercase tracking-[0.13em] text-[#6F3FB2] dark:text-[#C9A7EF]",children:"Your private coaching session"}),(0,r.jsx)("p",{className:"".concat(h?"text-lg":"text-sm"," font-semibold text-gray-900 dark:text-white"),children:h?"Leadership Strategy Session":"Career Niche Call"}),(0,r.jsxs)("p",{className:"text-xs text-gray-400 dark:text-white/40",children:[Y," min \xb7 Google Meet"]})]})]}),p.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5 mb-5",children:p.map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 max-w-full px-2.5 py-1 text-xs font-medium rounded-full text-gray-600 dark:text-white/70 bg-gray-50 dark:bg-white/[0.04] border border-gray-100 dark:border-white/10",children:[(0,r.jsx)(w.A,{className:"w-3 h-3 text-[#5AA5FF] shrink-0"}),(0,r.jsx)("span",{className:"truncate",children:e.primaryJobTitle})]},e.nicheId||e.primaryJobTitle))}),(0,r.jsx)(o.N,{mode:"wait",children:N.isLoading?(0,r.jsx)(n.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:(0,r.jsx)(L,{children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1 gap-3 text-gray-400 dark:text-white/40",children:[(0,r.jsx)(m.A,{className:"w-6 h-6 animate-spin text-[#5AA5FF]"}),(0,r.jsx)("p",{className:"text-sm",children:"Checking your booking…"})]})})},"loading"):N.isError&&!K?(0,r.jsx)(n.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:(0,r.jsx)(L,{children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center flex-1 gap-3 text-center",children:[(0,r.jsx)(u.A,{className:"w-6 h-6 text-amber-500"}),(0,r.jsx)("p",{className:"text-sm text-gray-600 dark:text-white/70",children:"We couldn't load your booking details."}),(0,r.jsxs)("button",{type:"button",onClick:()=>N.refetch(),className:"inline-flex items-center gap-1.5 text-sm font-medium text-[#0D5CDF] dark:text-[#5AA5FF] hover:underline",children:[(0,r.jsx)(b.A,{className:"w-3.5 h-3.5"})," Try again"]})]})})},"state-error"):K&&!E?(0,r.jsx)(n.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0},children:(0,r.jsx)(I,{booking:K,cancelMutation:W,onReschedule:()=>{C.reset(),T(!0)}})},"booked"):(0,r.jsx)(n.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0},children:(0,r.jsx)(O,{durationMinutes:Y,availabilityQuery:D,bookMutation:J,defaultName:(null==j?void 0:j.fullName)||"",reschedule:E&&K?{booking:K,mutation:C,onExit:()=>T(!1)}:null})},"picker")})]})]})]})})}}}]);

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.