PageSourceSearch

https://www.tryexponent.com/_next/static/chunks/196-1987a1bb5bd51382.js

js tryexponent.com collected 2026-09-24 18:30:00 UTC 34,899 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[196],{14128:(e,t,s)=>{"use strict";s.d(t,{K:()=>a});var n=s(55729);function a(e){let[t]=(0,n.useState)(e);return t}},17399:(e,t,s)=>{"use strict";s.d(t,{c:()=>a});var n=s(55729);function a(e,t){return(0,n.useMemo)(()=>{var s;if(e.type)return e.type;let n=null!=(s=e.as)?s:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},21060:(e,t,s)=>{"use strict";s.d(t,{h:()=>function e(t={},s=null,r=[]){for(let[i,l]of Object.entries(t))!function t(s,r,i){if(Array.isArray(i))for(let[e,n]of i.entries())t(s,a(r,e.toString()),n);else i instanceof Date?s.push([r,i.toISOString()]):"boolean"==typeof i?s.push([r,i?"1":"0"]):"string"==typeof i?s.push([r,i]):"number"==typeof i?s.push([r,`${i}`]):null==i?s.push([r,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(i)&&!(0,n.isValidElement)(i)&&e(i,r,s)}(r,a(s,i),l);return r},q:()=>r});var n=s(55729);function a(e,t){return e?e+"["+t+"]":t}function r(e){var t,s;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(s=n.requestSubmit)||s.call(n)}}},37076:(e,t,s)=>{"use strict";s.d(t,{P:()=>i});var n=s(55729),a=s(56760),r=s(34633);
1function i(e,t,s){let[i,l]=(0,n.useState)(s),o=void 0!==e,c=(0,n.useRef)(o),d=(0,n.useRef)(!1),u=(0,n.useRef)(!1);return!o||c.current||d.current?o||!c.current||u.current||(u.current=!0,c.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(d.current=!0,c.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?e:i,(0,r._)(e=>(o||(0,a.flushSync)(()=>l(e)),null==t?void 0:t(e)))]}},38219:(e,t,s)=>{let n=s(61604),a=["Krish","Rolly-Seth","Kevin-Armstrong","Suman-Bukka","Or-Sivan","Coachy-McTesterson"],r="2026-09-22T16:00:00Z";e.exports={SessionTypes:{mock:{name:"Mock Interview",AirtableService:"Mock Interviews",value:"mock",description:"Practice interviewing and get feedback from your coach."},career:{name:"Career Coaching",AirtableService:"Career Coaching",value:"career",description:"Navigate career goals, role transitions, promotions, and more."},negotiation:{name:"Negotiation Coaching",AirtableService:"Negotiation",value:"negotiation",description:"Maximize your offer with guid
1ance from a professional negotiator."},communication:{name:"Communication Coaching",AirtableService:"Communication Skills",value:"communication",description:"Become a more effective speaker during interviews, meetings, 1:1s, and more."},presentation:{name:"Mock Presentation",AirtableService:"Communication Skills",value:"presentation",description:"Practice delivering your presentation and receive actionable feedback."}},SessionStatus:{BOOKED:"booked",CANCELED:"canceled",COMPLETED:"completed",INCOMPLETE:"incomplete",DELETED:"deleted"},SessionStatusDetail:{COACH_NO_SHOW:"coach-no-show",STUDENT_NO_SHOW:"student-no-show",COACH_CANCEL:"coach-canceled",STUDENT_CANCEL:"student-canceled",COACH_LATE_CANCEL:"coach-canceled-late",STUDENT_LATE_CANCEL:"student-canceled-late",HIDE_RATING:"hide-rating"},TranscriptStatus:{PENDING:"pending",PROCESSING:"processing",COMPLETE:"complete",UNAVAILABLE:"unavailable"},CoachAvailableStatusesAdmin:["Active","Test"],CoachAvailableStatuses:["Active"],CoachAwayStatuses:["Away","Suspended","Calendly error"],PwacCoachSlugs:a,PwacStartDate:r,isPwacSession:(e,t)=>a.includes(e)&&n(t).isAfter(r),SkillCourseMap:{ai:"gen-ai-interviews","ai-agents":"mastering-agentic-ai","ai-evals":"mastering-agentic-ai","behavioral-interviews":"behavioral",cybersecurity:"security-engineer",dsa:"swe-practice",fde:"forward-deployed-engineering",genai:"gen-ai-interviews",llms:"gen-ai-interviews","marketing-skill":"pmm",mcp:"mastering-agentic-ai",ml:"ml-engineer",negotiation:"tech-salary-offer-negotiation","product-design-skill":"product-designer-interview","product-strategy-skill":"product-strategy","sql-skill":"sql-interviews","system-design-skill":"system-design-interviews","user-research":"conduct-uer"},SkillPageCopy:{negotiation:{title:"Salary Negotiation Coaching",subtitle:"Maximize your job offer with 1:1 help from expert tech negotiators",description:"Maximize your job offer with 1:1 salary negotiation coaching. Learn proven tactics for negotiating salary and equity from expert tech negotiators.",promoHeading:"Negotiate your offer like a pro",promoSubheading:"Learn proven negotiation tactics with our self-paced course, then book an expert negotiator to maximize your offer."}},RoleCourseMap:{"ai-engineer":"gen-ai-interviews",bizops:"bizops","data-analyst":"data-analytics","data-engineer":"data-engineering","data-science":"data-science",em:"engineering-management","forward-deployed-engineer":"forward-deployed-engineering","investment-banking":"investment-banking","ml-engineer":"ml-engineer",pm:"pm",pmm:"pmm","product-designer":"product-designer-interview","solutions-architect":"solution-architect-interview",swe:"software-engineering","system-design":"system-design-interviews",tpm:"tpm"},IndustryCourseMap:{"ai-industry":"gen-ai-interviews",fintech:"break-into-fintech"}}},49399:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>D});var n=s(6029),a=s(55729),r=s(81278),i=s(71434),l=s.n(i),o=s(67918),c=s(56923),d=s(13771),u=s(98746),m=s(6932),h=s(22327),x=s(61604),p=s.n(x),f=s(95816),b=s.n(f),g=s(21157),v=s.n(g),y=s(68093),j=s.n(y),w=s(9658),N=s(79172),k=s(65814),C=s(35399),S=s(38219),_=s(7531);let E=e=>{var t;let{session:s,coachSlug:a,onClickFeedback:r,onClickRemarks:i,onClickEditDate:l,onClickStartSession:o}=e,c=!s.user_id,m=s.student_first_name&&s.student_last_name,h=(0,S.isPwacSession)(a,s.created_at)&&b()(s.coach_feedback),x=h&&!s.room_name;return(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row space-between sm:items-center py-5 sm:py-6",children:[(0,n.jsx)("div",{className:"min-w-0 flex-1 flex items-start",children:(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:"flex items-center",children:c?(0,n.jsx)("p",{className:"text-base font-semibold truncate",children:"Non-".concat((0,_.JH)()," user")}):(0,n.jsx)(C.A,{href:"/users/".concat(s.student_uuid),children:(0,n.jsx)("p",{className:"text-base font-semibold truncate",children:m?"".concat(s.student_first_name," ").concat(s.student_last_name," <").concat(s.student_email,">"):s.student_email})})}),(0,n.jsx)("div",{className:"flex flex-col md:flex-row mt-2",children:(0,n.jsxs)("span",{className:"mr-2 flex flex-col text-sm text-gray-500",children:[(0,n.jsxs)("div",{children:["Type: ".concat(s.type," | "),s.status!==S.SessionStatus.COMPLETED||b()(s.coach_feedback)?"Booked on:  ".concat(p()(s.created_at).format("MMM DD, YYYY")):"Submitted form on:  ".concat(p()(s.coach_feedback.createdAt).format("MMM DD, YYYY"))]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("button",{type:"button",className:"mx-1",onClick:()=>i(s.id),disabled:!s.remarks,children:s.remarks?(0,n.jsx)("div",{className:"font-medium",children:"View notes"}):"No notes"}),"| Session date:".concat(s.session_date?" ".concat(p()(s.session_date).format("MMM DD, YYYY")):" N/A"),s.status===S.SessionStatus.BOOKED&&(0,n.jsx)("button",{type:"button","aria-label":"Edit",className:"mx-1",onClick:()=>l(s.id),children:(0,n.jsx)(w.A,{className:"mb-1 w-5 h-5"})}),s.status===S.SessionStatus.CANCELED&&(0,n.jsx)("span",{className:"text-red-500",children:" [".concat(v()(j()(s.status_detail,/-/g," ")),"]")}),s.status===S.SessionStatus.INCOMPLETE&&(0,n.jsx)("span",{className:"text-red-500",children:" [".concat(s.status_detail===S.SessionStatusDetail.COACH_NO_SHOW?"Coach missed session":"Student missed session","]")})]})]})})]})}),(0,n.jsx)("div",{className:"flex flex-col sm:flex-row w-full sm:w-auto mt-3 lg:mt-0",children:(0,n.jsx)("span",{className:"mr-2 space-x-3 flex items-center text-sm text-gray-500",children:s.status===S.SessionStatus.BOOKED?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Ay,{buttonType:d.EY.TERTIARY,className:"text-center",href:"/coac
1hing/submit/cancel?id=".concat(s.id,"&stype=").concat(s.type,"&student=").concat(s.student_first_name,"&sdate=").concat(encodeURIComponent(s.session_date)),children:"Cancel session"}),s.room_name&&s.ended_at&&(0,n.jsx)("span",{className:"text-gray-400",children:"Session ended"}),x&&(0,n.jsx)(k.Ay,{content:"This will start the coaching room now for you and your student. Make sure it's the scheduled time slot before starting.",placement:"top",children:(0,n.jsx)(d.Ay,{buttonType:d.EY.PRIMARY,className:"text-center",onClick:()=>o(s.id),children:"Start session"})}),h&&s.room_name&&!s.ended_at&&(0,n.jsx)(d.Ay,{buttonType:d.EY.PRIMARY,className:"text-center",href:"/coaching/session/".concat(s.room_name),children:"Continue session"}),(0,n.jsx)(d.Ay,{buttonType:x?d.EY.SECONDARY:d.EY.PRIMARY,className:"text-center",href:"/coaching/submit?id=".concat(s.id,"&stype=").concat(s.type,"&student=").concat(s.student_first_name,"&sdate=").concat(encodeURIComponent(s.session_date)),children:"Submit feedback"})]}):(0,n.jsxs)(n.Fragment,{children:[s.status===S.SessionStatus.COMPLETED&&(null==(t=s.coach_feedback)?void 0:t.createdAt)&&p()(s.coach_feedback.createdAt).month()>p()(s.session_date).month()&&(0,n.jsx)(k.Ay,{content:"This is a delayed submission, which may have impacted the payout date for this session",placement:"left",children:(0,n.jsx)(N.A,{className:"w-6 h-6 text-yellow-400"})}),!b()(s.user_feedback)&&s.user_feedback.rating&&(0,n.jsx)(k.Ay,{content:"Rating from student",placement:"top",children:(0,n.jsx)("div",{children:(0,n.jsx)(u.A,{initialRating:s.user_feedback.rating,displayOnly:!0})})}),(0,n.jsx)(d.Ay,{buttonType:d.EY.PRIMARY,className:"text-center",disabled:b()(s.coach_feedback)&&b()(s.user_feedback),onClick:()=>r(s.id),children:b()(s.coach_feedback)&&b()(s.user_feedback)?"No Feedback":"View feedback"})]})})})]})};var T=s(51369);let A=e=>{let{reviewRequest:t}=e;if(!t)return null;let s=t.first_name&&t.last_name,a="email"===t.type,r="/coaching/submit/resume?id=".concat(t.id,"&type=").concat(t.type),i="paid"===t.status;return(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row space-between sm:items-center py-5 sm:py-6",children:[(0,n.jsx)("div",{className:"min-w-0 flex-1 flex items-start",children:(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("span",{className:"flex items-center",children:(0,n.jsx)("p",{className:"text-base font-semibold truncate",children:s?"".concat(t.first_name," ").concat(t.last_name," <").concat(t.email,">"):t.email})}),(0,n.jsx)("div",{className:"flex flex-col md:flex-row mt-2",children:(0,n.jsxs)("span",{className:"mr-2 flex flex-col text-sm text-gray-500",children:[(0,n.jsxs)("div",{children:["Role:"," ",(0,n.jsx)("b",{children:t.role})," | ".concat(a?"Asynchronous (Email)":"Synchronous (Call)")]}),(0,n.jsx)("div",{children:"Purchased on: ".concat(p()(t.created_at).format("MMM DD, YYYY"))}),a&&i&&(0,n.jsx)("div",{children:"Due on: ".concat(p()((0,T.DZ)(t.created_at,5)).format("MMM DD, YYYY"))}),"complete"===t.status&&(0,n.jsx)("div",{children:t.completed_at?"Completed on: ".concat(p()(t.completed_at).format("MMM DD, YYYY")):"Completed"}),"paid"!==t.status&&"complete"!==t.status&&(0,n.jsx)("div",{className:"text-red-500",children:t.status.charAt(0).toUpperCase()+t.status.slice(1)}),(0,n.jsx)("div",{})]})})]})}),(0,n.jsx)("div",{className:"flex flex-col sm:flex-row w-full sm:w-auto mt-3 lg:mt-0",children:(0,n.jsx)("span",{className:"mr-2 flex items-center space-x-4 text-sm text-gray-500",children:i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Ay,{buttonType:d.EY.TERTIARY,href:t.resume_url,target:"_blank",children:"View resume"}),(0,n.jsx)(d.Ay,{asLink:!0,buttonType:d.EY.PRIMARY,href:r,children:"Submit completion form"})]})})})]})};var O=s(25961),R=s(57521);let Y={UPCOMING:"Upcoming Sessions",HISTORY:"History"},M={TO_REVIEW:"To Review",HISTORY:"History"},I=e=>{var t,s;let{session:a,isOpen:r,onClose:i}=e;return(0,n.jsxs)(o.A,{isOpen:r,onClose:i,modalClassName:"p-5 max-w-3xl max-h-screen h-4/5 overflow-y-scroll",showCloseButton:!0,children:[(null==a?void 0:a.user_feedback)&&!l().isEmpty(a.user_feedback)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text-xl font-bold text-grey-700",children:"Feedback from ".concat(a.student_first_name||"student")}),(0,n.jsx)("div",{className:"text-base",children:"Submitted on: ".concat(new Date(a.user_feedback.createdAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}))}),(0,n.jsxs)("div",{className:"text-base flex space-x-2",children:[(0,n.jsx)("div",{children:"Rating:"}),(0,n.jsx)("div",{children:(0,n.jsx)(u.A,{initialRating:a.user_feedback.rating,displayOnly:!0})})]}),null==(t=a.user_feedback.qna)?void 0:t.map(e=>e.shared&&(0,n.jsxs)("div",{className:"my-2",children:[(0,n.jsx)("div",{className:"text-base font-semibold",children:e.question}),(0,n.jsx)("div",{className:"text-base mt-1 whitespace-pre-line",children:"number"==typeof e.answer?(0,n.jsx)(u.A,{initialRating:e.answer,displayOnly:!0}):e.answer})]}))]}),(null==a?void 0:a.coach_feedback)&&!l().isEmpty(a.coach_feedback)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text-xl font-bold text-grey-700 mt-5",children:"Your feedback"}),(0,n.jsx)("div",{className:"text-base",children:"Submitted on: ".concat(new Date(a.coach_feedback.createdAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}))}),null==(s=a.coach_feedback.qna)?void 0:s.map(e=>(0,n.jsxs)("div",{className:"my-2",children:[(0,n.jsx)("div",{className:"text-base font-semibold",children:e.question}),(0,n.jsx)("div",{className:"text-base mt-1  whitespace-pre-line",children:"number"==typeof e.answer?(0,n.jsx)(u.A,{initialRating:e.answer,displayOnly:!0}):e.answer})]}))]})]})},P=e=>{let{session:t,isOpen:s,onClose:r,onStarted:i}=e,[l,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(null);(0,a.useEffect)(()=>{s&&(c(!1),u(null))},[s]);let x=async()=>{c(!0),u(null);try{let{roomName:e}=await (0,O.dlc)(t.id);i(e)}catch(e){u(e),c(!1)}};return(0,n.jsx)(o.A,{header:"Check your camera and mic",isOpen:s,onClose:r,showCloseButton:!0,children:l?(0,n.jsxs)("div",{className:"flex flex-col items-center py-6",children:[(0,n.jsx)(m.y,{className:"w-10 h-10 mb-3"}),(0,n.jsx)("p",{className:"text-sm text-gray-500",children:"Starting your session…"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"mb-4 text-sm text-gray-500 text-center",children:"Your student will be notified as soon as you start, so make sure everything looks and sounds right first."}),(0,n.jsx)(h.A,{onSubmit:x,hideAIFeedbackToggle:!0,hideTroubleshooting:!0,submitText:"Start session"}),d&&(0,n.jsx)("div",{className:"mt-2 text-sm text-red-600 text-center",children:"Something went wrong starting the session. Please try again."})]})})};function D(e){let{impersonateSlug:t}=e,{currentUser:s,coachSlug:i}=(0,R.Us)(),u=(0,r.useRouter)(),[m,h]=(0,a.useState)({remarks:!1,feedback:!1,date:!1,start:!1}),[x,p]=(0,a.useState)(Y.UPCOMING),[f,b]=(0,a.useState)(M.TO_REVIEW),[g,v]=(0,a.useState)(null),[y,j]=(0,a.useState)(null),[w,N]=(0,a.useState)([]),[k,C]=(0,a.useState)([]),[S,T]=(0,a.useState)(null),[D,L]=(0,a.useState)(!0),[F,H]=(0,a.useState)(""),[U,B]=(0,a.useState)(""),[q,G]=(0,a.useState)(0);i||"admin"===s.role||u.push("/"),(0,a.useEffect)(()=>{(async()=>{try{var e;let{coach:s,coachingSessions:n,resumeReviewRequests:a}=await (0,O.LyM)(t),r=null==s||null==(e=s.coach_slug)?void 0:e.split("-")[0];v(r),j(null==s?void 0:s.coach_slug),N(n),C(a),L(!1)}catch(e){u.push("/")}})()},[t,u,q]);let V=e=>h({...m,[e]:!m[e]}),W=e=>{V("remarks"),T(w.find(t=>
1t.id===e))},z=e=>{V("feedback"),T(w.find(t=>t.id===e))},K=e=>{V("date"),T(w.find(t=>t.id===e))},J=e=>{V("start"),T(w.find(t=>t.id===e))},X=async()=>{L(!0);try{await (0,O.qxq)({id:S.id,sessionDate:F}),L(!1),H(""),V("date"),G(e=>e+1)}catch(e){B(e),L(!1)}};return D?(0,n.jsx)("div",{className:"mt-12 text-center",children:(0,n.jsx)("h3",{className:"mt-2 text-base font-medium text-gray-900",children:"Loading..."})}):(0,n.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,n.jsx)("header",{className:"pt-10 pb-4",children:(0,n.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 md:flex md:items-center md:justify-between",children:(0,n.jsx)("div",{className:"flex flex-row flex-1 justify-between min-w-0",children:(0,n.jsx)("h1",{className:"text-2xl font-bold leading-7 text-gray-900 sm:text-3xl sm:truncate",children:g?"".concat(g,"'s coaching dashboard"):"Coaching Dashboard"})})})}),(0,n.jsxs)(o.A,{isOpen:m.remarks,onClose:()=>V("remarks"),modalClassName:"p-5 max-h-screen h-3/5 overflow-y-scroll",showCloseButton:!0,children:[(0,n.jsx)("div",{className:"text-xl font-bold text-grey-700",children:"Notes from ".concat((null==S?void 0:S.student_first_name)||"student")}),(0,n.jsx)("p",{className:"text-base whitespace-pre-line",children:null==S?void 0:S.remarks})]}),(0,n.jsx)(I,{session:S,isOpen:m.feedback,onClose:()=>V("feedback")}),(0,n.jsx)(P,{session:S,isOpen:m.start,onClose:()=>V("start"),onStarted:e=>{u.push("/coaching/session/".concat(e,"?skipCheck=1"))}}),(0,n.jsxs)(o.A,{isOpen:m.date,onClose:()=>{V("date"),H("")},modalClassName:"p-5 max-w-xl max-h-40 flex items-center justify-center",showCloseButton:!0,children:[(0,n.jsx)("div",{className:"text-xl font-bold text-grey-700",children:(null==S?void 0:S.session_date)?"Edit session date":"Add session date"}),(0,n.jsx)("p",{className:"text-sm mb-2",children:"Track your ".concat(null==S?void 0:S.type," session with ").concat(null==S?void 0:S.student_first_name," by submitting below")}),(0,n.jsxs)("div",{className:"w-full flex justify-center gap-3",children:[(0,n.jsx)("input",{className:"text-base rounded-lg shadow-sm border border-gray-300 focus:border-gray-400 px-3 py-2 focus:outline-none",type:"date",value:F,onChange:e=>H(e.target.value)}),(0,n.jsx)(d.Ay,{onClick:()=>X(),loading:D,children:"Submit"})]}),U&&(0,n.jsx)("div",{className:"text-red-500",children:U})]}),(0,n.jsxs)("main",{className:"pb-16",children:[w&&(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mb-10",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold",children:"Coaching sessions"}),(0,n.jsxs)("p",{className:"text-sm mt-2 bg-gray-100 p-3 rounded-lg",children:["Please maintain session accuracy below by submitting a feedback form"," ",(0,n.jsx)("b",{children:"immediately"})," ","after a session takes place or by canceling\n              the session (e.g. changed mind, no-show, etc).\n              Note: Canceling on Calendly does not automatically cancel the session here.\n              Please make sure to cancel below. Students will not receive a refunded credit\n              until the session has been canceled on ".concat((0,_.JH)(),". For admin or payroll questions,\n              please reach out to [email protected].")]}),(0,n.jsx)("div",{className:"border-b border-gray-200",children:(0,n.jsxs)("nav",{className:"mt-2 -mb-px flex space-x-8","aria-label":"Tabs",children:[(0,n.jsx)(c.o,{active:x===Y.UPCOMING,count:null==w?void 0:w.filter(e=>"booked"===e.status).length,onClick:()=>p(Y.UPCOMING),children:Y.UPCOMING},Y.UPCOMING),(0,n.jsx)(c.o,{active:x===Y.HISTORY,count:null==w?void 0:w.filter(e=>"booked"!==e.status).length,onClick:()=>p(Y.HISTORY),children:Y.HISTORY},Y.HISTORY)]})}),x===Y.UPCOMING&&(0,n.jsx)("div",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",style:{maxHeight:"580px",overflowY:"scroll"},children:(0,n.jsx)("ul",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",children:null==w?void 0:w.slice().reverse().map(e=>"booked"===e.status&&(0,n.jsx)("li",{children:(0,n.jsx)(E,{session:e,coachSlug:y,onClickFeedback:z,onClickRemarks:W,onClickEditDate:K,onClickStartSession:J})},e.id))})}),x===Y.HISTORY&&(0,n.jsx)("div",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",style:{maxHeight:"580px",overflowY:"scroll"},children:(0,n.jsx)("ul",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",children:l().sortBy(w,e=>-(new Date(e.session_date)*1)).map(e=>"booked"!==e.status&&(0,n.jsx)("li",{children:(0,n.jsx)(E,{session:e,onClickFeedback:z,onClickRemarks:W})},e.id))})})]}),(null==k?void 0:k.length)!==0&&(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold",children:"Resume reviews"}),(0,n.jsx)("p",{className:"text-sm mt-2 bg-gray-100 p-3 rounded-lg",children:"Please complete your assigned resumes as soon as possible within the turnaround period of 5 business days. Due date reflected does not take into consideration public holidays."}),(0,n.jsx)("div",{className:"border-b border-gray-200",children:(0,n.jsxs)("nav",{className:"mt-2 -mb-px flex space-x-8","aria-label":"Tabs",children:[(0,n.jsx)(c.o,{active:f===M.TO_REVIEW,count:null==k?void 0:k.filter(e=>"paid"===e.status).length,onClick:()=>b(M.TO_REVIEW),children:M.TO_REVIEW},M.TO_REVIEW),(0,n.jsx)(c.o,{active:f===M.HISTORY,count:null==k?void 0:k.filter(e=>"paid"!==e.status).length,onClick:()=>b(M.HISTORY),children:M.HISTORY},M.HISTORY)]})}),(null==k?void 0:k.length)===0&&(0,n.jsx)("h3",{className:"mt-12 mb-5 text-base font-medium text-gray-900 text-center",children:"You don’t have any resume review requests."}),f===M.TO_REVIEW&&(0,n.jsx)("div",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",style:{maxHeight:"580px",overflowY:"scroll"},children:(0,n.jsx)("ul",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",children:null==k?void 0:k.slice().reverse().map(e=>"paid"===e.status&&(0,n.jsx)("li",{children:(0,n.jsx)(A,{reviewRequest:e})},e.id))})}),f===M.HISTORY&&(0,n.jsx)("div",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",style:{maxHeight:"580px",overflowY:"scroll"},children:(0,n.jsx)("ul",{className:"mt-2 mb-6 divide-y divide-gray-200 sm:mt-0",children:null==k?void 0:k.map(e=>"paid"!==e.status&&"unpaid"!==e.status&&(0,n.jsx)("li",{children:(0,n.jsx)(A,{reviewRequest:e})},e.id))})})]})]})]})}},56103:(e,t,s)=>{"use strict";s.d(t,{Z:()=>l});var n=s(55729),a=s(52053),r=s(90570),i=s(34633);function l({disabled:e=!1}={}
1){let t=(0,n.useRef)(null),[s,o]=(0,n.useState)(!1),c=(0,r.L)(),d=(0,i._)(()=>{t.current=null,o(!1),c.dispose()}),u=(0,i._)(e=>{if(c.dispose(),null===t.current){t.current=e.currentTarget,o(!0);{let s=(0,a.TW)(e.currentTarget);c.addEventListener(s,"pointerup",d,!1),c.addEventListener(s,"pointermove",e=>{if(t.current){var s,n;let a,r;o((a=e.width/2,r=e.height/2,s={top:e.clientY-r,right:e.clientX+a,bottom:e.clientY+r,left:e.clientX-a},n=t.current.getBoundingClientRect(),!(!s||!n||s.right<n.left||s.left>n.right||s.bottom<n.top||s.top>n.bottom)))}},!1),c.addEventListener(s,"pointercancel",d,!1)}}});return{pressed:s,pressProps:e?{}:{onPointerDown:u,onPointerUp:d,onClick:d}}}},56923:(e,t,s)=>{"use strict";s.d(t,{o:()=>i,t:()=>l});var n=s(6029);s(55729);var a=s(51369);let r=e=>{let{count:t,active:s}=e;return(0,n.jsx)("span",{className:(0,a.cx)("hidden border border-gray-300 ml-1.5 py-0.5 px-1 rounded-md text-xs font-medium md:inline-block",s?"bg-transparent text-indigo-600":"bg-gray-100 text-gray-600"),children:t})},i=e=>{let{active:t,onClick:s,count:i,children:l,disabled:o,id:c,controls:d,href:u}=e,m=(0,a.cx)("border-b-2 py-3 transition-colors",t?"border-indigo":"border-transparent"),h=(0,n.jsxs)("div",{className:(0,a.cx)(t?"bg-indigo-50 text-indigo-700":"bg-gray-50 text-gray-500 hover:text-gray-700 hover:bg-gray-100","whitespace-nowrap py-1.5 px-3 rounded-lg font-medium text-sm"),children:[l,"number"==typeof i&&(0,n.jsx)(r,{count:i,active:t})]});return u?(0,n.jsx)("a",{href:u,onClick:e=>{e.preventDefault(),s&&s()},id:c,role:"tab","aria-selected":t,"aria-controls":d,className:m,children:h}):(0,n.jsx)("button",{type:"button",onClick:s,disabled:o,id:c,role:"tab","aria-selected":t,"aria-controls":d,className:m,children:h})},l=e=>{let{tabs:t,active:s,onClick:r,className:l,label:o="Tabs",useAnchor:c,noBorder:d}=e;return(0,n.jsx)("div",{className:(0,a.cx)(!d&&"border-b border-gray-200",l),children:(0,n.jsx)("div",{className:"-mb-px -mx-4 px-4 flex space-x-3 overflow-x-auto scrollbar-hidden",role:"tablist","aria-label":o,children:t.map(e=>(0,n.jsx)(i,{onClick:()=>r(e.key),active:s===e.key,count:e.count,id:"tab-".concat(e.key),controls:"tabpanel-".concat(e.key),href:c?e.path:void 0,children:e.label},e.key))})})}},65814:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>c});var n=s(6029),a=s(55729),r=s(56760),i=s(51369);let l=0,o={top:"border-t-gray-900 border-x-transparent border-b-transparent",bottom:"border-b-gray-900 border-x-transparent border-t-transparent",left:"border-l-gray-900 border-y-transparent border-r-transparent",right:"border-r-gray-900 border-y-transparent border-l-transparent"};function c(e){let{children:t,content:s,placement:c="top",className:d,style:u,tooltipClassName:m,disabled:h=!1}=e,[x,p]=(0,a.useState)(!1),[f,b]=(0,a.useState)(!1),[g,v]=(0,a.useState)(!1),[y,j]=(0,a.useState)({top:0,left:0,arrowTop:0,arrowLeft:0}),w=(0,a.useRef)(null),N=(0,a.useRef)(null),k=(0,a.useRef)(null),C=function(){let e=(0,a.useRef)(null);return null===e.current&&(l+=1,e.current="tooltip-".concat(l)),e.current}(),S=(0,a.useCallback)(()=>{if(w.current&&N.current)j(function(e,t,s){let n,a,r,i;switch(s){case"bottom":n=e.bottom+8,a=e.left+e.width/2-t.width/2,r=-8,i=t.width/2-4;break;case"left":n=e.top+e.height/2-t.height/2,a=e.left-t.width-8,r=t.height/2-4,i=t.width;break;case"right":n=e.top+e.height/2-t.height/2,a=e.right+8,r=t.height/2-4,i=-8;break;default:n=e.top-t.height-8,a=e.left+e.width/2-t.width/2,r=t.height,i=t.width/2-4}return{top:n,left:a,arrowTop:r,arrowLeft:i}}(w.current.getBoundingClientRect(),N.current.getBoundingClientRect(),c)),v(!0)},[c]),_=()=>{h||(p(!0),b(!0))},E=()=>{k.current&&clearTimeout(k.current),p(!1),v(!1),k.current=setTimeout(()=>b(!1),150)};(0,a.useEffect)(()=>{if(f)return requestAnimationFrame(S),window.addEventListener("scroll",S,!0),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S,!0),window.removeEventListener("resize",S)}},[f,S]),(0,a.useEffect)(()=>()=>{k.current&&clearTimeout(k.current)},[]);let T=(0,n.jsx)("span",{ref:w,className:(0,i.cx)("inline-flex",d),style:u,onMouseEnter:_,onMouseLeave:E,onFocus:_,onBlur:E,"aria-describedby":x?C:void 0,children:t}),A=f?r.createPortal((0,n.jsxs)("span",{ref:N,id:C,role:"tooltip",style:{position:"fixed",top:y.top,left
1:y.left},className:(0,i.cx)("z-50 px-2 py-1 text-xs font-medium text-white bg-gray-900 rounded shadow-lg w-max max-w-xs pointer-events-none","transition-opacity duration-150",x&&g?"opacity-100":"opacity-0",m),children:[s,(0,n.jsx)("span",{style:{position:"absolute",top:y.arrowTop,left:y.arrowLeft},className:(0,i.cx)("w-0 h-0 border-4",o[c]||o.top),"aria-hidden":"true"})]}),document.body):null;return(0,n.jsxs)(n.Fragment,{children:[T,A]})}},68093:(e,t,s)=>{var n=s(60567);e.exports=function(){var e=arguments,t=n(e[0]);return e.length<3?t:t.replace(e[1],e[2])}},74752:(e,t,s)=>{"use strict";s.d(t,{JU:()=>f,b0:()=>p,o2:()=>x,vd:()=>h});var n=s(55729),a=s(34633),r=s(57175),i=s(72899),l=s(80741),o=s(37582),c=s(79867),d=s(51202),u=s(21286);let m=(0,n.createContext)(null);function h(){let e=(0,n.useContext)(m);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,h),e}return e}function x(e){var t,s,a;let r=null!=(s=null==(t=(0,n.useContext)(m))?void 0:t.value)?s:void 0;return(null!=(a=null==e?void 0:e.length)?a:0)>0?[r,...e].filter(Boolean).join(" "):r}function p({inherit:e=!1}={}){let t=x(),[s,r]=(0,n.useState)([]),i=e?[t,...s].filter(Boolean):s;return[i.length>0?i.join(" "):void 0,(0,n.useMemo)(()=>function(e){let t=(0,a._)(e=>(r(t=>[...t,e]),()=>r(t=>{let s=t.slice(),n=s.indexOf(e);return -1!==n&&s.splice(n,1),s}))),s=(0,n.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return n.createElement(m.Provider,{value:s},e.children)},[r])]}m.displayName="LabelContext";let f=Object.assign((0,u.FX)(function(e,t){var s;let m=(0,n.useId)(),x=h(),p=(0,c.q)(),f=(0,o._)(),{id:b=`headlessui-label-${m}`,htmlFor:g=null!=p?p:null==(s=x.props)?void 0:s.htmlFor,passive:v=!1,...y}=e,j=(0,l.P)(t);(0,r.s)(()=>x.register(b),[b,x.register]);let w=(0,a._)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&d.H5(e.target))&&(d.kS(t)&&e.preventDefault(),x.props&&"onClick"in x.props&&"function"==typeof x.props.onClick&&x.props.onClick(e),d.kS(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let s=e.getAttribute("aria-disabled");if("true"===s||""===s)return;(d.A3(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),N=(0,i._)({...x.slot,disabled:f||!1}),k={ref:j,...x.props,id:b,htmlFor:g,onClick:w};return v&&("onClick"in k&&(delete k.htmlFor,delete k.onClick),"onClick"in y&&delete y.onClick),(0,u.Ci)()({ourProps:k,theirProps:y,slot:N,defaultTag:g?"label":"div",name:x.name||"Label"})}),{})},79867:(e,t,s)=>{"use strict";s.d(t,{q:()=>r});var n=s(55729);let a=(0,n.createContext)(void 0);function r(){return(0,n.useContext)(a)}},85150:(e,t,s)=>{"use strict";s.d(t,{CL:()=>u});var n=s(55729),a=s(56760),r=s(90570),i=s(21060),l=s(21286),o=s(28330);let c=(0,n.createContext)(null);function d({children:e}){let t=(0,n.useContext)(c);if(!t)return n.createElement(n.Fragment,null,e);let{target:s}=t;return s?(0,a.createPortal)(n.createElement(n.Fragment,null,e),s):null}function u({data:e,form:t,disabled:s,onReset:a,overrides:c}){let[u,h]=(0,n.useState)(null),x=(0,r.L)();return(0,n.useEffect)(()=>{if(a&&u)return x.addEventListener(u,"reset",a)},[u,t,a]),n.createElement(d,null,n.createElement(m,{setForm:h,formId:t}),(0,i.h)(e).map(([e,a])=>n.createElement(o.j,{features:o.u.Hidden,...(0,l.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:s,name:e,value:a,...c})})))}function m({setForm:e,formId:t}){return(0,n.useEffect)(()=>{if(t){let s=document.getElementById(t);s&&e(s)}},[e,t]),t?null:n.createElement(o.j,{features:o.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let s=t.closest("form");s&&e(s)}})}},95816:(e,t,s)=>{var n=s(43701),a=s(53140),r=s(42209),i=s(91544),l=s(16799),o=s(9541),c=s(23282),d=s(43562),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(l(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||o(e)||d(e)||r(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var s in e)if(u.call(e,s))return!1;return!0}},98350:(e,t,s)=>{"use strict";s.d(t,{dO:()=>S});var n=s(51760),a=s(93178),r=s(55729),i=s(56103),l=s(37076),o=s(14128),c=s(90570),d=s(34633),u=s(17399),m=s(72899),h=s(80741),x=s(37582),p=s(85150),f=s(79867),b=s(59161),g=s(51202),v=s(21060),y=s(21286),j=s(67096),w=s(65824),N=s(74752);let k=(0,r.createContext)(null);k.displayName="GroupContext";let C=r.Fragment,S=Object.assign((0,y.FX)(function(e,t){var s;let g=(0,r.useId)(),C=(0,f.q)(),S=(0,x._)(),{id:_=C||`headlessui-switch-${g}`,disabled:E=S||!1,checked:T,defaultChecked:A,onChange:O,name:R,value:Y,form:M,autoFocus:I=!1,...P}=e,D=(0,r.useContext)(k),[L,F]=(0,r.useState)(null),H=(0,r.useRef)(null),U=(0,h.P)(H,t,null===D?null:D.setSwitch,F),B=(0,o.K)(A),[q,G]=(0,l.P)(T,O,null!=B&&B),V=(0,c.L)(),[W,z]=(0,r.useState)(!1),K=(0,d._)(()=>{z(!0),null==G||G(!q),V.nextFrame(()=>{z(!1)})}),J=(0,d._)(e=>{if((0,b.l)(e.currentTarget))return e.preventDefault();e.preventDefault(),K()}),X=(0,d._)(e=>{e.key===w.D.Space?(e.preventDefault(),K()):e.key===w.D.Enter&&(0,v.q)(e.currentTarget)}),Z=(0,d._)(e=>e.preventDefault()),$=(0,N.o2)(),Q=(0,j.MM)(),{isFocusVisible:ee,focusProps:et}=(0,n.o)({autoFocus:I}),{isHovered:es,hoverProps:en}=(0,a.M)({isDisabled:E}),{pressed:ea,pressProps:er}=(0,i.Z)({disabled:E}),ei=(0,m._)({checked:q,disabled:E,hover:es,focus:ee,active:ea,autofocus:I,changing:W}),el=(0,y.v6)({id:_,ref:U,role:"switch",type:(0,u.c)(e,L),tabIndex:-1===e.tabIndex?0:null!=(s=e.tabIndex)?s:0,"aria-checked":q,"aria-labelledby":$,"aria-describedby":Q,disabled:E||void 0,autoFocus:I,onClick:J,onKeyUp:X,onKeyPress:Z},et,en,er),eo=(0,r.useCallback)(()=>
1{if(void 0!==B)return null==G?void 0:G(B)},[G,B]),ec=(0,y.Ci)();return r.createElement(r.Fragment,null,null!=R&&r.createElement(p.CL,{disabled:E,data:{[R]:Y||"on"},overrides:{type:"checkbox",checked:q},form:M,onReset:eo}),ec({ourProps:el,theirProps:P,slot:ei,defaultTag:"button",name:"Switch"}))}),{Group:function(e){var t;let[s,n]=(0,r.useState)(null),[a,i]=(0,N.b0)(),[l,o]=(0,j.rU)(),c=(0,r.useMemo)(()=>({switch:s,setSwitch:n}),[s,n]),d=(0,y.Ci)();return r.createElement(o,{name:"Switch.Description",value:l},r.createElement(i,{name:"Switch.Label",value:a,props:{htmlFor:null==(t=c.switch)?void 0:t.id,onClick(e){s&&(g.kS(e.currentTarget)&&e.preventDefault(),s.click(),s.focus({preventScroll:!0}))}}},r.createElement(k.Provider,{value:c},d({ourProps:{},theirProps:e,slot:{},defaultTag:C,name:"Switch.Group"}))))},Label:N.JU,Description:j.VY})},98746:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var n=s(6029),a=s(55729),r=s(26111),i=s(51369);let l=e=>{let{filled:t,starClassName:s}=e;return(0,n.jsx)(r.Gg,{className:(0,i.cx)("h-6 w-6",t?"text-yellow-400":"text-gray-300",s)})},o=e=>{var t;let{onRating:s=()=>{},initialRating:r=0,count:i=5,displayOnly:o=!1,tooltipArray:c,starClassName:d}=e,[u,m]=(0,a.useState)(null),[h,x]=(0,a.useState)(null),p=Math.round(null!=(t=null!=h?h:u)?t:r),f=(null==c?void 0:c.length)===i,b=f&&p>0?c[p-1]:null,g=(0,n.jsx)("span",{className:"inline-flex items-center",onMouseLeave:o?void 0:()=>x(null),role:o?"img":"radiogroup","aria-label":o?"".concat(p," out of ").concat(i," stars"):"Rate out of ".concat(i," stars"),children:Array.from({length:i},(e,t)=>o?(0,n.jsx)(l,{filled:t<p,starClassName:d},t):(0,n.jsx)("button",{type:"button",role:"radio","aria-checked":(null!=u?u:r)===t+1,"aria-label":(null==c?void 0:c[t])||"".concat(t+1," out of ").concat(i," stars"),onClick:()=>{m(t+1),s(t+1)},onMouseEnter:()=>x(t+1),onFocus:()=>x(t+1),onBlur:()=>x(null),className:"cursor-pointer",children:(0,n.jsx)(l,{filled:t<p,starClassName:d})},t))});return f?(0,n.jsxs)("div",{className:"flex items-center",children:[g,(0,n.jsx)("span",{className:"flex-1 min-w-0 ml-3 truncate text-indigo font-medium text-md",children:b})]}):g}}}]);
2//# sourceMappingURL=196-1987a1bb5bd51382.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.