CandidatePortalChatbotSchedulingMenu.react",["fbt","CPCandidateSchedulingConfirmationModal.react","CPCandidateSchedulingUtils","CPXCareerSiteGenericPageControllerRouteBuilder","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingError.react","CandidatePortalChatbotSchedulingMenuMutation.graphql","CandidatePortalChatbotSchedulingMenu_consideration.graphql","CandidatePortalChatbotSchedulingMenu_loop.graphql","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","MCDSButton.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconButton.react","MCDSIconPencilOutline.svg.react","MCDSLink.react","MCDSText.react","MCDSVerticalStack.react","RelayHooks","SV_RECRUITING_AUTOMATION","XFBInterviewBuilderJobStatus.candidateportal","clearTimeout","justknobx","mcdsMargin","mcdsPadding","nullthrows","react","setTimeout","useBoolean","useCurrentUnixTime","useIsCPClassicView","useMCDSTooltip_NOT_ACCESSIBLE"],(function(t,n,r,o,a,i,l,s){"use strict";var e=["disabledReason","interviewerList","isPreferred"],u,c,d,m,p=m||(m=o("react")),_=m,f=_.useCallback,g=_.useContext,h=_.useEffect,y=_.useMemo,C=_.useRef,b={root:{height:"xdslu8r",$$css:!0},selected:{backgroundColor:"x1bgx8a2",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",$$css:!0}},v=1e3*3600*24,S=7,R=[r("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE,r("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION],L=u!==void 0?u:u=n("CandidatePortalChatbotSchedulingMenu_consideration.graphql"),E=c!==void 0?c:c=n("CandidatePortalChatbotSchedulingMenu_loop.graphql"),k=d!==void 0?d:d=n("CandidatePortalChatbotSchedulingMenuMutation.graphql");function I(e){var t=e.disabledReason,n=e.onClick,a=r("useMCDSTooltip_NOT_ACCESSIBLE")({tooltipContent:p.jsx(r("MCDSText.react"),{children:o("CPCandidateSchedulingUtils").getPrettyDisabledReason(t)}),position:"above"}),i=a.tooltip,l=a.tooltipTriggerRef;return p.jsxs(p.Fragment,{children:[p.jsx(r("MCDSIconButton.react"),{"aria-label":s._(/*BTDS*/"Edit button Aria Label"),icon:p.jsx(r("MCDSIcon.react"),{icon:r("MCDSIconPencilOutline.svg.react")}),isDisabled:t!=null,onClick:n,ref:l,type:"plain_primary"}),t!=null&&i]})}I.displayName=I.name+" [from "+i.id+"]";function T(e){var t=e.isRescheduling,n=e.loop,a=o("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext(),i=a.setSchedulingState,l=a.state,u=l.loopLineInputIDFilter,c=l.timezoneIDFilter,d=l.userSelections,m=n==null?void 0:n.latest_candidate_initial_scheduling_job,_=o("RelayHooks").useFragment(o("CPCandidateSchedulingUtils").schedulingJobFragment,m);o("CPCandidateSchedulingUtils").useInitializeSelectionsWithDefault(_,t);var f=o("RelayHooks").useFragment(o("CPCandidateSchedulingUtils").schedulingJobFragment,m),g=f.interview_availabilities_grouped_by_llr,h=y(function(){return o("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(g)},[g]);return h&&h.map(function(e){var t,n=e.loop_line_request,a=e.loop_line_input_id,l=d==null?void 0:d.find(function(e){return e.loopLineInputID===a}),m=u===a,_=e.disabled_reason,f=function(){var t,n=(t=e.matched_loop_line)==null?void 0:t.id,a=l==null?void 0:l.start,i=l==null?void 0:l.end;if(n==null||a==null||i==null)return p.jsx(o("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:c});var s=r("nullthrows")(e.interview_availabilities.find(function(e){return e.matched_loop_line_id===n}),"If there is a matched loop line, there has to be an original schedule time."),u=s==null?void 0:s.start,d=s==null?void 0:s.end;return u===a&&d===i?p.jsx(o("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:c}):p.jsxs(r("MCDSVerticalStack.react"),{children:[p.jsx(r("MCDSVerticalStack.react"),{gap:4,children:p.jsx(o("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:i,start:a,timezoneID:c})}),p.jsx(o("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:d,start:u,strikeThrough:!0,timezoneID:c})]})},g=function(){i({userSelections:d==null?void 0:d.filter(function(e){return e.loopLineInputID!==a})})},h=e.matched_loop_line!=null,y=e.interview_availabilities.find(function(e){return e.matched_loop_line_id!=null}),C=y==null?void 0:y.start,v=l!=null&&l.start!==C,S=function(){var e=y==null?void 0:y.end;C==null||e==null||i({userSelections:d==null?void 0:d.map(function(t){return t.loopLineInputID!==a?t:babelHelpers.extends({},t,{start:C,end:e})})})};return p.jsxs(r("MCDSHorizontalStack.react"),{alignItems:"center",gap:16,justifyContent:"space-between",xstyle:[m&&b.selected,r("mcdsPadding").vert8,r("mcdsPadding").horiz12],children:[p.jsxs(r("MCDSVerticalStack.react"),{gap:4,children:[p.jsx(r("MCDSText.react"),{children:n==null||(t=n.structured_role)==null?void 0:t.candidate_facing_name}),f()]}),a!==u&&p.jsx(I,{disabledReason:_,onClick:function(){var e=a;e!=null&&e!==u&&i({loopLineInputIDFilter:e})}}),a===u&&(!h&&l!=null||h&&v)&&p.jsx(r("MCDSText.react"),{type:"mcds-label",children:p.jsx(r("MCDSLink.react"),{isDisabled:_!=null,onClick:h?S:g,children:h?s._(/*BTDS*/"Reset"):s._(/*BTDS*/"Clear")})})]},a)})}T.displayName=T.name+" [from "+i.id+"]";function D(e){var t,n,a=e.schedulingJobAvailabilityData,i=a.interview_availabilities_grouped_by_llr,l=y(function(){return o("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(i)},[i]),u=o("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext(),c=u.state,d=c.timezoneIDFilter,m=c.userSelections,_=o("CPCandidateSchedulingUtils").originalAvailabilitiesForUpdatedInterviews(m,a),f=r("useCurrentUnixTime")(),g=m==null?void 0:m.filter(function(e){return e.start0?p.jsxs(r("MCDSVerticalStack.react"),{children:[s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",p.jsx(r("MCDSText.react"),{type:"mcds-large-body-emphasized",xstyle:r("mcdsMargin").bottom16,children:s._(/*BTDS*/"Updated interviews")}))]),h]}):null,((n=C==null?void 0:C.length)!=null?n:0)>0?p.jsxs(r("MCDSVerticalStack.react"),{children:[s._(/*BTDS*/"{=m0}",[s._implicitParam("=m0",p.jsx(r("MCDSText.react"),{type:"mcds-large-body-emphasized",xstyle:r("mcdsMargin").vert16,children:s._(/*BTDS*/"Other upcoming interviews")}))]),C]}):null]})}D.displayName=D.name+" [from "+i.id+"]";function x(t){var n,a,i,l,u,c,d=t.consideration,m=t.isRescheduling,_=t.loop,y=t.onClose,I=o("RelayHooks").useFragment(L,d),x=o("RelayHooks").useFragment(E,_),$=o("useIsCPClassicView").useIsCPClassicView(I),P=x.latest_candidate_initial_scheduling_job,N=x.latest_candidate_schedule_confirmation_job,M=o("RelayHooks").useFragment(o("CPCandidateSchedulingUtils").schedulingJobFragment,P),w=M.interview_availabilities_grouped_by_llr,A=o("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext(),F=A.fallbackToACAModal,O=A.setSchedulingState,B=A.state,W=B.confirmationStartTime,q=B.error,U=B.isConfirming,V=B.loopID,H=B.scheduleConfirmationRetries,G=H===void 0?0:H,z=B.timeslotFetchRetries,j=z===void 0?0:z,K=B.timezoneIDFilter,Q=B.userSelections,X=g(r("CandidatePortalURLQueryParamsContext")),Y=X.viewasUserID,J=Y!=null,Z=(Q==null?void 0:Q.length)!==w.length,ee=o("RelayHooks").useMutation(k),te=ee[0],ne=ee[1],re=(n=N==null?void 0:N.creation_time)!=null?n:0,oe=(a=(i=x.loop_lines)==null||(i=i.nodes)==null?void 0:i.some(function(e){var t;return((t=e.date_created)!=null?t:0)>=re}))!=null?a:!1,ae=(N==null?void 0:N.status)===r("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE&&oe,ie=C(!1),le=f(function(){ae||O({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null})},[ae,O]);h(function(){N!=null&&(ae&&!ie.current?(ie.current=!0,o("CandidatePortalLoggingUtils").logCompletion("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",{consideration_id:I.id,payload:{loop_id:V,session_id:o("CandidatePortalBrowserSession").getSessionKey()}}),O({isConfirming:!1,confirmationStartTime:null}),y()):U===!0&&W!=null&&W<=re&&R.includes(N.status)&&O({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null}))},[N,ae,y,O,re,W,U,I.id,V]),h(function(){var e;o("CandidatePortalLoggingUtils").logImpression("CANDIDATE_CHATBOT_SCHEDULE_INTERVIEW_MODAL_CONFIRM",{consideration_id:I.id,payload:{conversation_id:(e=I.conversation)==null?void 0:e.id,agent_hide:$,loop_id:V}})},[I.id,$,V,(l=I.conversation)==null?void 0:l.id]);var se=C(null);h(function(){return function(){se.current!=null&&r("clearTimeout")(se.current)}},[]);var ue=r("useBoolean")(!1),ce=ue.set,de=ue.value,me=function(){ce(!0)},pe=function(){ce(!1)},_e=function(){if(V!=null&&Q!=null){var t,n=Q.map(function(e){return babelHelpers.extends({},e)}).filter(function(e){return e.disabledReason==null});o("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT","SCHEDULE_INTERVIEW_TIME_CLICK",{consideration_id:I.id,payload:{conversation_id:(t=I.conversation)==null?void 0:t.id,loop_id:V,agent_hide:$,interviews:n}}),te({onCompleted:function(t){O({isConfirming:!0,confirmationStartTime:Math.floor(Date.now()/1e3),scheduleConfirmationRetries:G+1}),se.current=r("setTimeout")(le,r("SV_RECRUITING_AUTOMATION").cds_schedule_confirmation_timeout_sec*1e3),pe()},onError:function(t){O({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null,scheduleConfirmationRetries:G+1}),pe()},variables:{input:{loop_id:V,slots:n.map(function(t){var n=t.disabledReason,r=t.interviewerList,o=t.isPreferred,a=babelHelpers.objectWithoutPropertiesLoose(t,e);return a}),timezone:o("CandidatePortalDateTimeUtils").getTimezoneExactName(K),session_id:o("CandidatePortalBrowserSession").getSessionKey()}}})}},fe=o("RelayHooks").useMutation(r("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),ge=fe[0],he=fe[1];h(function(){if(!(Q==null||q==="CONFIRMATION")){var e=(function(){var e=Q.filter(function(e){var t,n=e.matchedLoopLineID;if(n==null)return!0;var r=(t=w.find(function(e){var t;return((t=e.matched_loop_line)==null?void 0:t.id)===n}))==null?void 0:t.interview_availabilities.find(function(e){return e.matched_loop_line_id!=null});return(r==null?void 0:r.start)!==e.start}).map(function(e){return e.start}),t=new Date(Math.min.apply(Math,e)*1e3),n=new Date(Math.max.apply(Math,e)*1e3),r=Math.abs((n.getTime()-t.getTime())/v);return r>S})(),t=e?"DATE_RANGE":null;t!==q&&O({error:t})}},[q,O,Q,w]);var ye=(function(){if(!m)return!1;var e=Q==null?void 0:Q.every(function(e){var t,n=e.matchedLoopLineID,r=(t=w.find(function(e){var t;return((t=e.matched_loop_line)==null?void 0:t.id)===n}))==null?void 0:t.interview_availabilities.find(function(e){return e.matched_loop_line_id!=null});return(r==null?void 0:r.start)===e.start});return e===!0})(),Ce=((u=x==null||(c=x.loop_lines)==null||(c=c.nodes)==null?void 0:c.length)!=null?u:0)>0,be=m!==Ce,ve=r("useMCDSTooltip_NOT_ACCESSIBLE")({tooltipContent:(function(){return be?s._(/*BTDS*/"Rescheduling is not available in this flow. Please reload the page to see your updated schedule."):Z?s._(/*BTDS*/"Select a time for each interview to continue."):ye?s._(/*BTDS*/"You have not changed any of your interview times. Please select a different time to continue."):q==="CONFIRMATION"&&s._(/*BTDS*/"Please refresh times using the link above to try again.")})(),position:"above"}),Se=ve.tooltip,Re=ve.tooltipTriggerRef,Le=be||ye||Z||q==="CONFIRMATION",Ee=o("CPCandidateSchedulingUtils").originalAvailabilitiesForUpdatedInterviews(Q,M).length;return p.jsxs(p.Fragment,{children:[p.jsxs(r("MCDSVerticalStack.react"),{gap:24,xstyle:b.root,children:[q!=null&&p.jsx(r("CandidatePortalChatbotSchedulingError.react"),{considerationID:I.id,display:q,exceedsRetriesAllowed:G>o("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA,fallbackToACA:function(){o("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CLICK_FALLBACK_TO_ACA_OPTION",{consideration_id:I.id,payload:{loop_id:V,source:"menu"}}),F()},loopID:V,onRetry:function(){o("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CLICK_RETRY_TIMESLOT_GENERATION",{consideration_id:I.id,payload:{loop_id:V}}),V!=null&&!he&&ge({onCompleted:function(){O({error:null,loopLineInputIDFilter:null,selectedPage:0,timeslotFetchRetries:j+1,userSelections:[]})},onError:function(){O({timeslotFetchRetries:j+1})},variables:{input:{loop_id:V,timezone:o("CandidatePortalDateTimeUtils").getTimezoneExactName(K),session_id:o("CandidatePortalBrowserSession").getSessionKey(),force_refresh:!0}}})}}),p.jsx(r("MCDSVerticalStack.react"),{gap:4,shrink:0,children:p.jsx(T,{isRescheduling:m,loop:x})}),Le&&Se,p.jsx(r("MCDSButton.react"),{display:"block",isDisabled:ye||J||Z||ne||he||q!=null||be,isLoading:ne||he,label:m?s._(/*BTDS*/"Preview updated schedule"):s._(/*BTDS*/"_j{"*":"Schedule {number} interviews","_1":"Schedule interview"}",[s._plural(w.length,"number")]),onClick:m?me:_e,ref:Re,type:"primary"}),p.jsxs(r("MCDSVerticalStack.react"),{children:[p.jsxs(r("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:[s._(/*BTDS*/"_j{"*":"Your interview will consist of {number} conversations","_1":"Your interview will consist of 1 conversation"}",[s._plural(w.length,"number")]),w.length>=2&&s._(/*BTDS*/". You can schedule them in any order"),s._(/*BTDS*/". While interviewers have indicated dates they prefer, feel free to pick the ones that work best for you. Your selections wonu2019t impact the outcomes of your interviews"),I.recruiter_email==null?s._(/*BTDS*/"."):s._(/*BTDS*/". If none of the options are convenient, please {link}",[s._param("link",p.jsx(r("MCDSLink.react"),{onClick:function(){o("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CONTACT_RECRUITER_HYPERLINK_CLICK",{payload:{loop_id:V}})},target:"_blank",url:"mailto:"+I.recruiter_email,children:s._(/*BTDS*/"contact your recruiter.")}))])]}),!r("justknobx")._("664")&&w.length>=2&&p.jsx(r("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:s._(/*BTDS*/"You may notice an additional interview to schedule. For this session, another interviewer may join to observe the process. This is a standard part of our interview experience and helps us ensure a consistent and high-quality process for all candidates.")}),p.jsx(r("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:(function(){var e=String(r("CPXCareerSiteGenericPageControllerRouteBuilder").buildUri({subpath:"accommodations_request"}));return s._(/*BTDS*/"If you need assistance or an accommodation due to a disability, fill out the {=m2}.",[s._implicitParam("=m2",p.jsx(r("MCDSLink.react"),{target:"_blank",url:e,children:s._(/*BTDS*/"accommodations request form")}))])})()})]})]}),de&&p.jsx(r("CPCandidateSchedulingConfirmationModal.react"),{content:p.jsx(D,{schedulingJobAvailabilityData:M}),isButtonLoading:ne,noticeContent:p.jsx(r("MCDSText.react"),{color:"secondary",children:s._(/*BTDS*/"_j{"*":"Interviews can only be rescheduled {number} times through this tool. To reschedule interviews in the future, please contact your coordinator.","_1":"Interviews can only be rescheduled 1 time through this tool. To reschedule interviews in the future, please contact your coordinator."}",[s._plural(r("SV_RECRUITING_AUTOMATION").candidate_auto_partial_rescheduling_configs.max_limit,"number")])}),onHide:pe,onSubmit:_e,submitButtonLabel:s._(/*BTDS*/"_j{"*":"Reschedule {number} interviews","_1":"Reschedule 1 interview"}",[s._plural(Ee,"number")])})]})}x.displayName=x.name+" [from "+i.id+"]",l.default=x}),226);
-----
CPCandidateSchedulingUtils",["$InternalEnum","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingModalV3.entrypoint","CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react","CandidatePortalDateTimeUtils","RelayHooks","useMCDSEntryPointModal"],(function(a,b,c,d,e,f,g){"use strict";f=b("$InternalEnum").Mirrored(["CAPREligible","ACAEligible","ACANotEligible","ACADontDisplay","ACANotEligibleAndOnsite"]);function a(a,b,e,f,g){var h=d("RelayHooks").useRelayEnvironment(),i=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),j=i[0];i=i[1];e=c("useMCDSEntryPointModal")(c("CandidatePortalChatbotSchedulingModalV3.entrypoint"),{loopID:a,considerationID:b},{isRescheduling:e.isReschedulingFlow,onClose:function(){d("RelayHooks").fetchQuery(h,d("CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery").refreshQuery,{considerationID:b}).subscribe({start:function(){return g(!0)},complete:function(){return g(!1)}})}},{fallback:c("CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react")});var k=e.modal,l=e.showModal;e=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var m=e.state.timezoneIDFilter;e=function(){f(),j({onCompleted:l,variables:{input:{loop_id:a,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(m),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})};return{cdsModal:k,fetchAvailabilitiesAndShowModal:e,scheduleJobInProgress:i}}function e(a){if(!a)return null;var b=new Map(),c=new Map();a.forEach(function(a){a=(a=a.loop_line_request)==null||(a=a.structured_role)==null?void 0:a.candidate_facing_name;if(a!=null){b.set(a,((a=b.get(a))!=null?a:0)+1)}});return a.map(function(a){var d,e;d=(d=a.loop_line_request)==null||(d=d.structured_role)==null?void 0:d.candidate_facing_name;var f=a.loop_line_request;if(d==null||((e=b.get(d))!=null?e:0)<=1||f==null)return a;e=((e=c.get(d))!=null?e:0)+1;c.set(d,e);d=d+" "+e;e=f.structured_role;return e==null?a:babelHelpers["extends"]({},a,{loop_line_request:babelHelpers["extends"]({},f,{structured_role:babelHelpers["extends"]({},e,{candidate_facing_name:d})})})})}g.RescheduleEligibility=f;g.useCandidateSchedulingModal=a;g.renameDuplicateInterviewRoleNames=e}),98);
-----
CandidatePortalChatbotSchedulingMenuV3.react",["fbt","CPCandidateSchedulingConfirmationModal.react","CPCandidateSchedulingUtils","CPXCareerSiteGenericPageControllerRouteBuilder","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingError.react","CandidatePortalChatbotSchedulingMenuV3Mutation.graphql","CandidatePortalChatbotSchedulingMenuV3_consideration.graphql","CandidatePortalChatbotSchedulingMenuV3_loop.graphql","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","MCDSButton.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconButton.react","MCDSIconPencilOutline.svg.react","MCDSLink.react","MCDSText.react","MCDSVerticalStack.react","RelayHooks","XFBInterviewBuilderJobStatus.candidateportal","clearTimeout","mcdsMargin","mcdsPadding","nullthrows","react","setTimeout","useBoolean","useCurrentUnixTime","useIsCPClassicView","useMCDSTooltip_NOT_ACCESSIBLE"],(function(a,b,c,d,e,f,g,h){"use strict";var i=["disabledReason","interviewerList","isPreferred"],j,k,l,m,n=m||(m=d("react"));e=m;var o=e.useCallback,p=e.useContext,q=e.useEffect,r=e.useMemo,s=e.useRef,t={root:{height:"xdslu8r",$$css:!0},selected:{backgroundColor:"x1bgx8a2",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",$$css:!0}},u=12e4,v=1e3*3600*24,w=7,x=[c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE,c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION],y=j!==void 0?j:j=b("CandidatePortalChatbotSchedulingMenuV3_consideration.graphql"),z=k!==void 0?k:k=b("CandidatePortalChatbotSchedulingMenuV3_loop.graphql"),A=l!==void 0?l:l=b("CandidatePortalChatbotSchedulingMenuV3Mutation.graphql");function B(a){var b=a.disabledReason;a=a.onClick;var e=c("useMCDSTooltip_NOT_ACCESSIBLE")({tooltipContent:n.jsx(c("MCDSText.react"),{children:d("CPCandidateSchedulingUtils").getPrettyDisabledReason(b)}),position:"above"}),f=e.tooltip;e=e.tooltipTriggerRef;return n.jsxs(n.Fragment,{children:[n.jsx(c("MCDSIconButton.react"),{"aria-label":h._(/*BTDS*/"Edit button Aria Label"),icon:n.jsx(c("MCDSIcon.react"),{icon:c("MCDSIconPencilOutline.svg.react")}),isDisabled:b!=null,onClick:a,ref:e,type:"plain_primary"}),b!=null&&f]})}B.displayName=B.name+" [from "+f.id+"]";function C(a){var b=a.isRescheduling;a=a.loop;var e=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext(),f=e.setSchedulingState;e=e.state;var g=e.loopLineInputIDFilter,i=e.timezoneIDFilter,j=e.userSelections;e=a==null?void 0:a.latest_candidate_initial_scheduling_job;a=d("RelayHooks").useFragment(d("CPCandidateSchedulingUtils").schedulingJobFragment,e);d("CPCandidateSchedulingUtils").useInitializeSelectionsWithDefault(a,b);a=d("RelayHooks").useFragment(d("CPCandidateSchedulingUtils").schedulingJobFragment,e);var k=a.interview_availabilities_grouped_by_llr;b=r(function(){return d("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(k)},[k]);return b&&b.map(function(a){var b,e=a.loop_line_request,k=a.loop_line_input_id,l=j==null?void 0:j.find(function(a){return a.loopLineInputID===k}),m=g===k,o=a.disabled_reason,p=function(){var b,e=(b=a.matched_loop_line)==null?void 0:b.id;b=l==null?void 0:l.start;var f=l==null?void 0:l.end;if(e==null||b==null||f==null)return n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:i});var g=c("nullthrows")(a.interview_availabilities.find(function(a){return a.matched_loop_line_id===e}),"If there is a matched loop line, there has to be an original schedule time."),h=g==null?void 0:g.start;g=g==null?void 0:g.end;return h===b&&g===f?n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:i}):n.jsxs(c("MCDSVerticalStack.react"),{children:[n.jsx(c("MCDSVerticalStack.react"),{gap:4,children:n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:f,start:b,timezoneID:i})}),n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:g,start:h,strikeThrough:!0,timezoneID:i})]})},q=function(){f({userSelections:j==null?void 0:j.filter(function(a){return a.loopLineInputID!==k})})},r=a.matched_loop_line!=null,s=a.interview_availabilities.find(function(a){return a.matched_loop_line_id!=null}),u=s==null?void 0:s.start,v=l!=null&&l.start!==u,w=function(){var a=s==null?void 0:s.end;if(u==null||a==null)return;f({userSelections:j==null?void 0:j.map(function(b){return b.loopLineInputID!==k?b:babelHelpers["extends"]({},b,{start:u,end:a})})})};return n.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:16,justifyContent:"space-between",xstyle:[m&&t.selected,c("mcdsPadding").vert8,c("mcdsPadding").horiz12],children:[n.jsxs(c("MCDSVerticalStack.react"),{gap:4,children:[n.jsx(c("MCDSText.react"),{children:e==null||(b=e.structured_role)==null?void 0:b.candidate_facing_name}),p()]}),k!==g&&n.jsx(B,{disabledReason:o,onClick:function(){var a=k;a!=null&&a!==g&&f({loopLineInputIDFilter:a})}}),k===g&&(!r&&l!=null||r&&v)&&n.jsx(c("MCDSText.react"),{type:"mcds-label",children:n.jsx(c("MCDSLink.react"),{isDisabled:o!=null,onClick:r?w:q,children:r?h._(/*BTDS*/"Reset"):h._(/*BTDS*/"Clear")})})]},k)})}C.displayName=C.name+" [from "+f.id+"]";function D(a){var b;a=a.schedulingJobAvailabilityData;var e=a.interview_availabilities_grouped_by_llr,f=r(function(){return d("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(e)},[e]),g=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();g=g.state;var i=g.timezoneIDFilter,j=g.userSelections,k=d("CPCandidateSchedulingUtils").originalAvailabilitiesForUpdatedInterviews(j,a),l=c("useCurrentUnixTime")();g=j==null?void 0:j.filter(function(a){return a.start0?n.jsxs(c("MCDSVerticalStack.react"),{children:[h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx(c("MCDSText.react"),{type:"mcds-large-body-emphasized",xstyle:c("mcdsMargin").bottom16,children:h._(/*BTDS*/"Updated interviews")}))]),a]}):null,((b=g==null?void 0:g.length)!=null?b:0)>0?n.jsxs(c("MCDSVerticalStack.react"),{children:[h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx(c("MCDSText.react"),{type:"mcds-large-body-emphasized",xstyle:c("mcdsMargin").vert16,children:h._(/*BTDS*/"Other upcoming interviews")}))]),g]}):null]})}D.displayName=D.name+" [from "+f.id+"]";function a(a){var b,e,f=a.consideration,g=a.isRescheduling,j=a.loop,k=a.onClose,l=d("RelayHooks").useFragment(y,f);a=d("RelayHooks").useFragment(z,j);var m=d("useIsCPClassicView").useIsCPClassicView(l);f=a.latest_candidate_initial_scheduling_job;var r=a.latest_candidate_schedule_confirmation_job;j=d("RelayHooks").useFragment(d("CPCandidateSchedulingUtils").schedulingJobFragment,f);var B=j.interview_availabilities_grouped_by_llr;f=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var E=f.fallbackToACAModal,F=f.setSchedulingState;f=f.state;var G=f.confirmationStartTime,H=f.error,I=f.isConfirming,J=f.loopID,K=f.scheduleConfirmationRetries,L=K===void 0?0:K;K=f.timeslotFetchRetries;var M=K===void 0?0:K,N=f.timezoneIDFilter,O=f.userSelections;K=p(c("CandidatePortalURLQueryParamsContext"));f=K.viewasUserID;K=f!=null;var P=(O==null?void 0:O.length)!==B.length;f=d("RelayHooks").useMutation(A);var aa=f[0];f=f[1];var Q=(b=r==null?void 0:r.creation_time)!=null?b:0;b=(b=(b=a.loop_lines)==null||(b=b.nodes)==null?void 0:b.some(function(a){return((a=a.date_created)!=null?a:0)>=Q}))!=null?b:!1;var R=(r==null?void 0:r.status)===c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE&&b,S=s(!1),ba=o(function(){R||F({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null})},[R,F]);q(function(){r!=null&&(R&&!S.current?(S.current=!0,d("CandidatePortalLoggingUtils").logCompletion("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",{consideration_id:l.id,payload:{loop_id:J,session_id:d("CandidatePortalBrowserSession").getSessionKey()}}),F({isConfirming:!1,confirmationStartTime:null}),k()):I===!0&&G!=null&&G<=Q&&x.includes(r.status)&&F({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null}))},[r,R,k,F,Q,G,I,l.id,J]);q(function(){var a;d("CandidatePortalLoggingUtils").logImpression("CANDIDATE_CHATBOT_SCHEDULE_INTERVIEW_MODAL_CONFIRM",{consideration_id:l.id,payload:{conversation_id:(a=l.conversation)==null?void 0:a.id,agent_hide:m,loop_id:J}})},[l.id,m,J,(b=l.conversation)==null?void 0:b.id]);var T=s(null);q(function(){return function(){T.current!=null&&c("clearTimeout")(T.current)}},[]);b=c("useBoolean")(!1);var U=b.set;b=b.value;var ca=function(){U(!0)},V=function(){U(!1)},W=function(){if(J!=null&&O!=null){var a,b=O.map(function(a){return babelHelpers["extends"]({},a)}).filter(function(a){return a.disabledReason==null});d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT","SCHEDULE_INTERVIEW_TIME_CLICK",{consideration_id:l.id,payload:{conversation_id:(a=l.conversation)==null?void 0:a.id,loop_id:J,agent_hide:m,interviews:b}});aa({onCompleted:function(a){F({isConfirming:!0,confirmationStartTime:Math.floor(Date.now()/1e3),scheduleConfirmationRetries:L+1}),T.current=c("setTimeout")(ba,u),V()},onError:function(a){F({error:"CONFIRMATION",isConfirming:!1,confirmationStartTime:null,scheduleConfirmationRetries:L+1}),V()},variables:{input:{loop_id:J,slots:b.map(function(a){a.disabledReason;a.interviewerList;a.isPreferred;a=babelHelpers.objectWithoutPropertiesLoose(a,i);return a}),timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(N),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})}},X=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),da=X[0],Y=X[1];q(function(){if(O==null||H==="CONFIRMATION")return;var a=function(){var a=O.filter(function(a){var b,c=a.matchedLoopLineID;if(c==null)return!0;b=(b=B.find(function(a){return((a=a.matched_loop_line)==null?void 0:a.id)===c}))==null?void 0:b.interview_availabilities.find(function(a){return a.matched_loop_line_id!=null});return(b==null?void 0:b.start)!==a.start}).map(function(a){return a.start}),b=new Date(Math.min.apply(Math,a)*1e3);a=new Date(Math.max.apply(Math,a)*1e3);a=Math.abs((a.getTime()-b.getTime())/v);return a>w}();a=a?"DATE_RANGE":null;a!==H&&F({error:a})},[H,F,O,B]);var Z=function(){if(!g)return!1;var a=O==null?void 0:O.every(function(a){var b,c=a.matchedLoopLineID;b=(b=B.find(function(a){return((a=a.matched_loop_line)==null?void 0:a.id)===c}))==null?void 0:b.interview_availabilities.find(function(a){return a.matched_loop_line_id!=null});return(b==null?void 0:b.start)===a.start});return a===!0}();X=((X=a==null||(e=a.loop_lines)==null||(e=e.nodes)==null?void 0:e.length)!=null?X:0)>0;var $=g!==X;X=c("useMCDSTooltip_NOT_ACCESSIBLE")({tooltipContent:function(){if($)return h._(/*BTDS*/"Rescheduling is not available in this flow. Please reload the page to see your updated schedule.");if(P)return h._(/*BTDS*/"Select a time for each interview to continue.");return Z?h._(/*BTDS*/"You have not changed any of your interview times. Please select a different time to continue."):H==="CONFIRMATION"&&h._(/*BTDS*/"Please refresh times using the link above to try again.")}(),position:"above"});var ea=X.tooltip;X=X.tooltipTriggerRef;var fa=$||Z||P||H==="CONFIRMATION",ga=d("CPCandidateSchedulingUtils").originalAvailabilitiesForUpdatedInterviews(O,j).length;return n.jsxs(n.Fragment,{children:[n.jsxs(c("MCDSVerticalStack.react"),{gap:24,xstyle:t.root,children:[H!=null&&n.jsx(c("CandidatePortalChatbotSchedulingError.react"),{considerationID:l.id,display:H,exceedsRetriesAllowed:L>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA,fallbackToACA:function(){d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CLICK_FALLBACK_TO_ACA_OPTION",{consideration_id:l.id,payload:{loop_id:J,source:"menu"}}),E()},loopID:J,onRetry:function(){d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CLICK_RETRY_TIMESLOT_GENERATION",{consideration_id:l.id,payload:{loop_id:J}}),J!=null&&!Y&&da({onCompleted:function(){F({error:null,loopLineInputIDFilter:null,selectedPage:0,timeslotFetchRetries:M+1,userSelections:[]})},onError:function(){F({timeslotFetchRetries:M+1})},variables:{input:{loop_id:J,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(N),session_id:d("CandidatePortalBrowserSession").getSessionKey(),force_refresh:!0}}})}}),n.jsx(c("MCDSVerticalStack.react"),{gap:4,shrink:0,children:n.jsx(C,{isRescheduling:g,loop:a})}),fa&&ea,n.jsx(c("MCDSButton.react"),{display:"block",isDisabled:Z||K||P||f||Y||H!=null||$,isLoading:f||Y,label:g?h._(/*BTDS*/"Preview updated schedule"):h._(/*BTDS*/"_j{"*":"Schedule {number} interviews","_1":"Schedule interview"}",[h._plural(B.length,"number")]),onClick:g?ca:W,ref:X,type:"primary"}),n.jsxs(c("MCDSVerticalStack.react"),{children:[n.jsxs(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:[h._(/*BTDS*/"_j{"*":"Your interview will consist of {number} conversations","_1":"Your interview will consist of 1 conversation"}",[h._plural(B.length,"number")]),B.length>=2&&h._(/*BTDS*/". You can schedule them in any order"),h._(/*BTDS*/". While interviewers have indicated dates they prefer, feel free to pick the ones that work best for you. Your selections wonu2019t impact the outcomes of your interviews"),l.recruiter_email==null?h._(/*BTDS*/"."):h._(/*BTDS*/". If none of the options are convenient, please {link}",[h._param("link",n.jsx(c("MCDSLink.react"),{onClick:function(){d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE","CONTACT_RECRUITER_HYPERLINK_CLICK",{payload:{loop_id:J}})},target:"_blank",url:"mailto:"+l.recruiter_email,children:h._(/*BTDS*/"contact your recruiter.")}))])]}),n.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:function(){var a=String(c("CPXCareerSiteGenericPageControllerRouteBuilder").buildUri({subpath:"accommodations_request"}));return h._(/*BTDS*/"If you need assistance or an accommodation due to a disability, fill out the {=m2}.",[h._implicitParam("=m2",n.jsx(c("MCDSLink.react"),{target:"_blank",url:a,children:h._(/*BTDS*/"accommodations request form")}))])}()})]})]}),b&&n.jsx(c("CPCandidateSchedulingConfirmationModal.react"),{content:n.jsx(D,{schedulingJobAvailabilityData:j}),isButtonLoading:f,noticeContent:n.jsx(c("MCDSText.react"),{color:"secondary",children:h._(/*BTDS*/"Interviews can only be rescheduled once through this tool. To reschedule interviews in the future, please contact your coordinator.")}),onHide:V,onSubmit:W,submitButtonLabel:h._(/*BTDS*/"_j{"*":"Reschedule {number} interviews","_1":"Reschedule 1 interview"}",[h._plural(ga,"number")])})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
CandidatePortalChatbotSchedulingSuspenseV3.react",["fbt","CPStatusNotice.react","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","MCDSLink.react","MCDSSpinner.react","MCDSText.react","MCDSVerticalStack.react","RelayHooks","XFBInterviewBuilderJobAutomationType.candidateportal","XFBInterviewBuilderJobStatus.candidateportal","err","mcdsHeight","mcdsMargin","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useEffect,l={root:{height:"x13qf8ui",$$css:!0}},m=function(a,b){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:return{title:h._(/*BTDS*/"Loading available interview dates..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:return{title:h._(/*BTDS*/"Something went wrong"),description:b>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA?h._(/*BTDS*/"Please submit your availability via the link below, and weu2019ll get back to you soon to schedule your interview. For further assistance, contact your recruiter."):h._(/*BTDS*/"Please try again using the link below."),isError:!0};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:default:return null}},n=function(a){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:return{title:h._(/*BTDS*/"Confirming date availability..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:return{title:h._(/*BTDS*/"Finding interviewers..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:return{title:h._(/*BTDS*/"Booking dates..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:default:return null}};function a(a){var b=a.automation,e=a.considerationID,f=a.loopID;a=a.status;var g=b!=null?b:c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE;b=a!=null?a:c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS;var i=c("XFBInterviewBuilderJobStatus.candidateportal").cast(b);a=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation"));var q=a[0],r=a[1];b=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var s=b.fallbackToACAModal,t=b.setSchedulingState;a=b.state;b=a.timeslotFetchRetries;var u=b===void 0?0:b,v=a.timezoneIDFilter;if(i==null)throw c("err")("Unsupported InterviewBuilderJobStatus type");k(function(){switch(g){case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE:return o(i);case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_SCHEDULE_CONFIRMATION:return p(i);default:return}},[g,i]);b=function(){switch(g){case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE:return m(i,u);case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_SCHEDULE_CONFIRMATION:return n(i);default:throw c("err")("Unsupported InterviewBuilderJobAutomation type")}};a=b();if(a==null)return null;b=function(){switch(i){case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:return j.jsx(c("MCDSLink.react"),{"aria-label":h._(/*BTDS*/"retry"),onClick:function(){if(u>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA){d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY","CLICK_FALLBACK_TO_ACA_OPTION",{consideration_id:e,payload:{loop_id:f}});return s()}d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY","CLICK_RETRY_TIMESLOT_GENERATION",{consideration_id:e,payload:{loop_id:f}});f!=null&&!r&&q({onCompleted:function(){t({error:null,timeslotFetchRetries:u+1})},onError:function(){t({timeslotFetchRetries:u+1})},variables:{input:{loop_id:f,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(v),session_id:d("CandidatePortalBrowserSession").getSessionKey(),force_refresh:!0}}})},children:j.jsx(c("MCDSText.react"),{children:u>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA?h._(/*BTDS*/"Submit your availability"):h._(/*BTDS*/"Retry")})});default:return null}};return j.jsx(c("MCDSVerticalStack.react"),{xstyle:l.root,children:j.jsx(c("MCDSVerticalStack.react"),{alignItems:"center",gap:4,justifyContent:"center",xstyle:c("mcdsHeight").fullHeight,children:a.isError===!0?j.jsxs(j.Fragment,{children:[j.jsx(c("CPStatusNotice.react"),{description:a.description,statusLabel:a.title,statusType:"error"}),b()]}):j.jsxs(j.Fragment,{children:[j.jsx(c("MCDSSpinner.react"),{xstyle:c("mcdsMargin").bottom16}),j.jsx(c("MCDSText.react"),{children:a.title}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-small-body",children:a.description})]})})})}a.displayName=a.name+" [from "+f.id+"]";var o=function(a,b,e){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:d("CandidatePortalLoggingUtils").logCompletion("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",50,"GENERATE_INTERVIEW_AVAILABILITY_JOB_ERROR",c("err")("No availabilities found."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",50,"GENERATE_INTERVIEW_AVAILABILITY_JOB_ERROR",c("err")("Exception in job."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:default:return}},p=function(a,b,e){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",50,"SCHEDULE_INTERVIEW_TIME_ERROR",c("err")("Job was unable to produce a feasible schedule."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",50,"SCHEDULE_INTERVIEW_TIME_ERROR",c("err")("Exception in job."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:default:return}};g["default"]=a}),226);
-----
CandidatePortalChatbotInterviewPendingCTA.react",["fbt","CandidatePortalAutoCandidateAvailabilityModal.entrypoint","CandidatePortalBrowserSession","CandidatePortalChatbotConversationCTA.react","CandidatePortalChatbotConversationCTAItem.react","CandidatePortalChatbotInterviewPendingCTAQuery.graphql","CandidatePortalChatbotInterviewPendingCTA_consideration.graphql","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingModal.entrypoint","CandidatePortalChatbotSchedulingSuspenseModal.react","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","GeoBaseText.react","GeoPill.react","RelayHooks","nullthrows","react","setTimeout","useBoolean","useCPNavigate","useCurrentRoute","useGeoEntryPointModal","useIsCPClassicView"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useContext,n=e.useEffect,o=3*24*60*60,p=i!==void 0?i:i=b("CandidatePortalChatbotInterviewPendingCTA_consideration.graphql"),q=j!==void 0?j:j=b("CandidatePortalChatbotInterviewPendingCTAQuery.graphql"),r=function(a){switch(a){case"SCREENING_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule screen");case"ONSITE_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule full loop");case"FOLLOW_UP_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule follow-up");default:return h._(/*BTDS*/"Next step: Schedule interview")}};function s(a){var b=c("useCurrentRoute")(),d=(b==null?void 0:(b=b.params)==null?void 0:b.modal)==="auto_candidate_availability";n(function(){d===!0&&(a(),c("setTimeout")(function(){var a=new URL(window.location.href);a.searchParams.has("modal")&&(a.searchParams["delete"]("modal"),window.history.replaceState({},document.title,a.toString()))},1e3))},[d,a])}function t(a){var b=a.isLoading,e=a.modal,f=a.onClick,g=a.potentialDateRangeEnd,i=a.recruiterEmail;a=a.title;g=g-o;var j=g-----
CandidatePortalChatbotSchedulingCTA.react",["fbt","CandidatePortalAutoCandidateAvailabilityModal.entrypoint","CandidatePortalBrowserSession","CandidatePortalChatbotConversationCTA.react","CandidatePortalChatbotConversationCTAItem.react","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingCTAQuery.graphql","CandidatePortalChatbotSchedulingCTA_consideration.graphql","CandidatePortalChatbotSchedulingModal.entrypoint","CandidatePortalChatbotSchedulingSuspenseModal.react","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","GeoPill.react","RelayHooks","nullthrows","react","setTimeout","useBoolean","useCurrentRoute","useGeoEntryPointModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useContext,n=e.useEffect,o=i!==void 0?i:i=b("CandidatePortalChatbotSchedulingCTA_consideration.graphql"),p=j!==void 0?j:j=b("CandidatePortalChatbotSchedulingCTAQuery.graphql"),q=function(a){switch(a){case"SCREENING_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Screening");case"ONSITE_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Full Loop");case"FOLLOW_UP_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Follow Up");default:return h._(/*BTDS*/"Next step: Schedule Loop")}};function r(a){var b=c("useCurrentRoute")(),d=(b==null?void 0:(b=b.params)==null?void 0:b.modal)==="auto_candidate_availability";n(function(){d===!0&&(a(),c("setTimeout")(function(){var a=new URL(window.location.href);a.searchParams.has("modal")&&(a.searchParams["delete"]("modal"),window.history.replaceState({},document.title,a.toString()))},1e3))},[d,a])}function s(a){var b=a.isLoading,d=a.modal,e=a.onClick;a=a.title;return l.jsxs(l.Fragment,{children:[l.jsx(c("CandidatePortalChatbotConversationCTA.react"),{children:l.jsx(c("CandidatePortalChatbotConversationCTAItem.react"),{buttonLabel:h._(/*BTDS*/"Schedule interview"),isDisabled:b,isLoading:b,onButtonClick:e,subtitle:l.jsx(c("GeoPill.react"),{label:"placeholder",status:"progress",value:h._(/*BTDS*/"As soon as possible")}),title:a})}),d]})}s.displayName=s.name+" [from "+f.id+"]";function t(a){var b;a=a.consideration;var e=a.id;b=(b=a.latest_auto_candidate_availability_invitation)==null?void 0:b.aca_token;a=a.current_interview_event.interview_title;var f=c("useBoolean")(!1),g=f.set;f=f.value;var h=m(c("CandidatePortalURLQueryParamsContext"));h=h.viewasUserID;var i=d("RelayHooks").useRelayEnvironment();b=c("useGeoEntryPointModal")(c("CandidatePortalAutoCandidateAvailabilityModal.entrypoint"),{considerationID:e,renderSuspenseFallback:function(a){return l.jsx(c("CandidatePortalChatbotSchedulingSuspenseModal.react"),{onHide:a})},onBeforeHide:function(){d("RelayHooks").fetchQuery(i,p,{considerationID:e}).subscribe({start:function(){return g(!0)},complete:function(){return g(!1)}})}},{routeProps:{c:e,t:b,view_as_user_id:h}});h=b.isLoading;var j=b.modal,k=b.showModal;r(k);b=function(){k(),d("CandidatePortalLoggingUtils").logCriticalAction("JOB_APP_THINGS_TO_DO_PREEMPTIVE_AVAILABILITY","ITEM_CLICK",{consideration_id:e})};return l.jsx(s,{isLoading:h||f,modal:j,onClick:b,title:q(a)})}t.displayName=t.name+" [from "+f.id+"]";function u(a){a=a.consideration;var b=a.id,e=a.recent_interview_loop.id;a=a.current_interview_event.interview_title;var f=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),g=f[0];f=f[1];var h=c("useBoolean")(!1),i=h.set;h=h.value;var j=d("RelayHooks").useRelayEnvironment(),k=c("useGeoEntryPointModal")(c("CandidatePortalChatbotSchedulingModal.entrypoint"),{renderSuspenseFallback:function(a){return l.jsx(c("CandidatePortalChatbotSchedulingSuspenseModal.react"),{onHide:a})},onBeforeHide:function(){d("RelayHooks").fetchQuery(j,p,{considerationID:b}).subscribe({start:function(){return i(!0)},complete:function(){return i(!1)}})}},{loopID:e,considerationID:b}),m=k.isLoading,n=k.modal,o=k.showModal;k=function(){g({onCompleted:o,variables:{input:{loop_id:c("nullthrows")(e),timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})};return l.jsx(s,{isLoading:f||m||h,modal:n,onClick:k,title:q(a)})}u.displayName=u.name+" [from "+f.id+"]";function a(a){a=a.consideration;a=d("RelayHooks").useFragment(o,a);return a.is_candidate_driven_scheduling_eligible?l.jsx(u,{consideration:a}):l.jsx(t,{consideration:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",["CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h!==void 0?h:h=b("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql");c=a;g["default"]=c}),98);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql",["CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"input",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",selections:[{alias:null,args:c,concreteType:"XCPScheduleInterviewAvailabilityJobResponsePayload",kind:"LinkedField",name:"xcp_schedule_interview_availability_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopExport",kind:"LinkedField",name:"loop",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_initial_scheduling_job",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CandidatePortalChatbotSchedulingCalendar_schedulingJob"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"CandidatePortalChatbotSchedulingMenu_loop"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",selections:[{alias:null,args:c,concreteType:"XCPScheduleInterviewAvailabilityJobResponsePayload",kind:"LinkedField",name:"xcp_schedule_interview_availability_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopExport",kind:"LinkedField",name:"loop",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_initial_scheduling_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPCPCandidateAggregatedInterviewAvailabilitiesGroupedByLLR",kind:"LinkedField",name:"interview_availabilities_grouped_by_llr",plural:!0,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopLineRequestExport",kind:"LinkedField",name:"loop_line_request",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdStructuredInterviewRoleExport",kind:"LinkedField",name:"structured_role",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"candidate_facing_name",storageKey:null},d],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XCPCandidateAggregatedInterviewAvailabilitiesForLLR",kind:"LinkedField",name:"interview_availabilities",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"start",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"end",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"interviewers_with_prebooked_slots",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_schedule_confirmation_job",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_loop_lines",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation"),metadata:{},name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9806907729398173"}),null);
-----
-----
CPCandidateSchedulingUtils",["$InternalEnum","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingModalV3.entrypoint","CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react","CandidatePortalDateTimeUtils","RelayHooks","useMCDSEntryPointModal"],(function(a,b,c,d,e,f,g){"use strict";f=b("$InternalEnum").Mirrored(["CAPREligible","ACAEligible","ACANotEligible","ACADontDisplay","ACANotEligibleAndOnsite"]);function a(a,b,e,f,g){var h=d("RelayHooks").useRelayEnvironment(),i=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),j=i[0];i=i[1];e=c("useMCDSEntryPointModal")(c("CandidatePortalChatbotSchedulingModalV3.entrypoint"),{loopID:a,considerationID:b},{isRescheduling:e.isReschedulingFlow,onClose:function(){d("RelayHooks").fetchQuery(h,d("CandidatePortalChatbotScheduleInterviewAvailabilityRefreshQuery").refreshQuery,{considerationID:b}).subscribe({start:function(){return g(!0)},complete:function(){return g(!1)}})}},{fallback:c("CandidatePortalChatbotSchedulingSuspenseFlyoutV3.react")});var k=e.modal,l=e.showModal;e=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var m=e.state.timezoneIDFilter;e=function(){f(),j({onCompleted:l,variables:{input:{loop_id:a,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(m),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})};return{cdsModal:k,fetchAvailabilitiesAndShowModal:e,scheduleJobInProgress:i}}function e(a){if(!a)return null;var b=new Map(),c=new Map();a.forEach(function(a){a=(a=a.loop_line_request)==null||(a=a.structured_role)==null?void 0:a.candidate_facing_name;if(a!=null){b.set(a,((a=b.get(a))!=null?a:0)+1)}});return a.map(function(a){var d,e;d=(d=a.loop_line_request)==null||(d=d.structured_role)==null?void 0:d.candidate_facing_name;var f=a.loop_line_request;if(d==null||((e=b.get(d))!=null?e:0)<=1||f==null)return a;e=((e=c.get(d))!=null?e:0)+1;c.set(d,e);d=d+" "+e;e=f.structured_role;return e==null?a:babelHelpers["extends"]({},a,{loop_line_request:babelHelpers["extends"]({},f,{structured_role:babelHelpers["extends"]({},e,{candidate_facing_name:d})})})})}g.RescheduleEligibility=f;g.useCandidateSchedulingModal=a;g.renameDuplicateInterviewRoleNames=e}),98);
-----
CandidatePortalChatbotSchedulingMenuV3.react",["fbt","CPCandidateSchedulingConfirmationModal.react","CPCandidateSchedulingUtils","CPXCareerSiteGenericPageControllerRouteBuilder","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalChatbotSchedulingError.react","CandidatePortalChatbotSchedulingMenuV3Mutation.graphql","CandidatePortalChatbotSchedulingMenuV3_consideration.graphql","CandidatePortalChatbotSchedulingMenuV3_loop.graphql","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","MCDSButton.react","MCDSHorizontalStack.react","MCDSIcon.react","MCDSIconButton.react","MCDSIconPencilOutline.svg.react","MCDSLink.react","MCDSText.react","MCDSVerticalStack.react","RelayHooks","XFBInterviewBuilderJobStatus.candidateportal","clearTimeout","mcdsMargin","mcdsPadding","nullthrows","react","setTimeout","useBoolean","useCurrentUnixTime","useIsCPClassicView","useMCDSTooltip_NOT_ACCESSIBLE"],(function(a,b,c,d,e,f,g,h){"use strict";var i=["disabledReason","interviewerList","isPreferred"],j,k,l,m,n=m||(m=d("react"));e=m;var o=e.useCallback,p=e.useContext,q=e.useEffect,r=e.useMemo,s=e.useRef,t={root:{height:"xdslu8r",$$css:!0},selected:{backgroundColor:"x1bgx8a2",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",$$css:!0}},u=12e4,v=1e3*3600*24,w=7,x=[c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE,c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION],y=j!==void 0?j:j=b("CandidatePortalChatbotSchedulingMenuV3_consideration.graphql"),z=k!==void 0?k:k=b("CandidatePortalChatbotSchedulingMenuV3_loop.graphql"),A=l!==void 0?l:l=b("CandidatePortalChatbotSchedulingMenuV3Mutation.graphql");function B(a){var b=a.disabledReason;a=a.onClick;var e=c("useMCDSTooltip_NOT_ACCESSIBLE")({tooltipContent:n.jsx(c("MCDSText.react"),{children:d("CPCandidateSchedulingUtils").getPrettyDisabledReason(b)}),position:"above"}),f=e.tooltip;e=e.tooltipTriggerRef;return n.jsxs(n.Fragment,{children:[n.jsx(c("MCDSIconButton.react"),{"aria-label":h._(/*BTDS*/"Edit button Aria Label"),icon:n.jsx(c("MCDSIcon.react"),{icon:c("MCDSIconPencilOutline.svg.react")}),isDisabled:b!=null,onClick:a,ref:e,type:"plain_primary"}),b!=null&&f]})}B.displayName=B.name+" [from "+f.id+"]";function C(a){var b=a.isRescheduling;a=a.loop;var e=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext(),f=e.setSchedulingState;e=e.state;var g=e.loopLineInputIDFilter,i=e.timezoneIDFilter,j=e.userSelections;e=a==null?void 0:a.latest_candidate_initial_scheduling_job;a=d("RelayHooks").useFragment(d("CPCandidateSchedulingUtils").schedulingJobFragment,e);d("CPCandidateSchedulingUtils").useInitializeSelectionsWithDefault(a,b);a=d("RelayHooks").useFragment(d("CPCandidateSchedulingUtils").schedulingJobFragment,e);var k=a.interview_availabilities_grouped_by_llr;b=r(function(){return d("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(k)},[k]);return b&&b.map(function(a){var b,e=a.loop_line_request,k=a.loop_line_input_id,l=j==null?void 0:j.find(function(a){return a.loopLineInputID===k}),m=g===k,o=a.disabled_reason,p=function(){var b,e=(b=a.matched_loop_line)==null?void 0:b.id;b=l==null?void 0:l.start;var f=l==null?void 0:l.end;if(e==null||b==null||f==null)return n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:i});var g=c("nullthrows")(a.interview_availabilities.find(function(a){return a.matched_loop_line_id===e}),"If there is a matched loop line, there has to be an original schedule time."),h=g==null?void 0:g.start;g=g==null?void 0:g.end;return h===b&&g===f?n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:l==null?void 0:l.end,start:l==null?void 0:l.start,timezoneID:i}):n.jsxs(c("MCDSVerticalStack.react"),{children:[n.jsx(c("MCDSVerticalStack.react"),{gap:4,children:n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:f,start:b,timezoneID:i})}),n.jsx(d("CPCandidateSchedulingUtils").PrettyFormattedTime,{direction:"column",end:g,start:h,strikeThrough:!0,timezoneID:i})]})},q=function(){f({userSelections:j==null?void 0:j.filter(function(a){return a.loopLineInputID!==k})})},r=a.matched_loop_line!=null,s=a.interview_availabilities.find(function(a){return a.matched_loop_line_id!=null}),u=s==null?void 0:s.start,v=l!=null&&l.start!==u,w=function(){var a=s==null?void 0:s.end;if(u==null||a==null)return;f({userSelections:j==null?void 0:j.map(function(b){return b.loopLineInputID!==k?b:babelHelpers["extends"]({},b,{start:u,end:a})})})};return n.jsxs(c("MCDSHorizontalStack.react"),{alignItems:"center",gap:16,justifyContent:"space-between",xstyle:[m&&t.selected,c("mcdsPadding").vert8,c("mcdsPadding").horiz12],children:[n.jsxs(c("MCDSVerticalStack.react"),{gap:4,children:[n.jsx(c("MCDSText.react"),{children:e==null||(b=e.structured_role)==null?void 0:b.candidate_facing_name}),p()]}),k!==g&&n.jsx(B,{disabledReason:o,onClick:function(){var a=k;a!=null&&a!==g&&f({loopLineInputIDFilter:a})}}),k===g&&(!r&&l!=null||r&&v)&&n.jsx(c("MCDSText.react"),{type:"mcds-label",children:n.jsx(c("MCDSLink.react"),{isDisabled:o!=null,onClick:r?w:q,children:r?h._(/*BTDS*/"Reset"):h._(/*BTDS*/"Clear")})})]},k)})}C.displayName=C.name+" [from "+f.id+"]";function D(a){var b;a=a.schedulingJobAvailabilityData;var e=a.interview_availabilities_grouped_by_llr,f=r(function(){return d("CPCandidateSchedulingUtils").renameDuplicateInterviewRoleNames(e)},[e]),g=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();g=g.state;var i=g.timezoneIDFilter,j=g.userSelections,k=d("CPCandidateSchedulingUtils").originalAvailabilitiesForUpdatedInterviews(j,a),l=c("useCurrentUnixTime")();g=j==null?void 0:j.filter(function(a){return a.start
-----
CandidatePortalChatbotSchedulingSuspenseV3.react",["fbt","CPStatusNotice.react","CandidatePortalBrowserSession","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingConfigContext","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","MCDSLink.react","MCDSSpinner.react","MCDSText.react","MCDSVerticalStack.react","RelayHooks","XFBInterviewBuilderJobAutomationType.candidateportal","XFBInterviewBuilderJobStatus.candidateportal","err","mcdsHeight","mcdsMargin","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useEffect,l={root:{height:"x13qf8ui",$$css:!0}},m=function(a,b){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:return{title:h._(/*BTDS*/"Loading available interview dates..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:return{title:h._(/*BTDS*/"Something went wrong"),description:b>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA?h._(/*BTDS*/"Please submit your availability via the link below, and weu2019ll get back to you soon to schedule your interview. For further assistance, contact your recruiter."):h._(/*BTDS*/"Please try again using the link below."),isError:!0};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:default:return null}},n=function(a){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:return{title:h._(/*BTDS*/"Confirming date availability..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:return{title:h._(/*BTDS*/"Finding interviewers..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:return{title:h._(/*BTDS*/"Booking dates..."),description:h._(/*BTDS*/"This will take a moment")};case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:default:return null}};function a(a){var b=a.automation,e=a.considerationID,f=a.loopID;a=a.status;var g=b!=null?b:c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE;b=a!=null?a:c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS;var i=c("XFBInterviewBuilderJobStatus.candidateportal").cast(b);a=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation"));var q=a[0],r=a[1];b=d("CandidatePortalChatbotSchedulingConfigContext").useCandidatePortalChatbotSchedulingConfigContext();var s=b.fallbackToACAModal,t=b.setSchedulingState;a=b.state;b=a.timeslotFetchRetries;var u=b===void 0?0:b,v=a.timezoneIDFilter;if(i==null)throw c("err")("Unsupported InterviewBuilderJobStatus type");k(function(){switch(g){case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE:return o(i);case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_SCHEDULE_CONFIRMATION:return p(i);default:return}},[g,i]);b=function(){switch(g){case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_INITIAL_SCHEDULE:return m(i,u);case c("XFBInterviewBuilderJobAutomationType.candidateportal").CANDIDATE_DRIVEN_SCHEDULE_CONFIRMATION:return n(i);default:throw c("err")("Unsupported InterviewBuilderJobAutomation type")}};a=b();if(a==null)return null;b=function(){switch(i){case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:return j.jsx(c("MCDSLink.react"),{"aria-label":h._(/*BTDS*/"retry"),onClick:function(){if(u>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA){d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY","CLICK_FALLBACK_TO_ACA_OPTION",{consideration_id:e,payload:{loop_id:f}});return s()}d("CandidatePortalLoggingUtils").logAction("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY","CLICK_RETRY_TIMESLOT_GENERATION",{consideration_id:e,payload:{loop_id:f}});f!=null&&!r&&q({onCompleted:function(){t({error:null,timeslotFetchRetries:u+1})},onError:function(){t({timeslotFetchRetries:u+1})},variables:{input:{loop_id:f,timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(v),session_id:d("CandidatePortalBrowserSession").getSessionKey(),force_refresh:!0}}})},children:j.jsx(c("MCDSText.react"),{children:u>d("CandidatePortalChatbotSchedulingConfigContext").RETRIES_ALLOWED_BEFORE_FALLBACK_TO_ACA?h._(/*BTDS*/"Submit your availability"):h._(/*BTDS*/"Retry")})});default:return null}};return j.jsx(c("MCDSVerticalStack.react"),{xstyle:l.root,children:j.jsx(c("MCDSVerticalStack.react"),{alignItems:"center",gap:4,justifyContent:"center",xstyle:c("mcdsHeight").fullHeight,children:a.isError===!0?j.jsxs(j.Fragment,{children:[j.jsx(c("CPStatusNotice.react"),{description:a.description,statusLabel:a.title,statusType:"error"}),b()]}):j.jsxs(j.Fragment,{children:[j.jsx(c("MCDSSpinner.react"),{xstyle:c("mcdsMargin").bottom16}),j.jsx(c("MCDSText.react"),{children:a.title}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-small-body",children:a.description})]})})})}a.displayName=a.name+" [from "+f.id+"]";var o=function(a,b,e){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:d("CandidatePortalLoggingUtils").logCompletion("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",50,"GENERATE_INTERVIEW_AVAILABILITY_JOB_ERROR",c("err")("No availabilities found."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_GENERATE_INTERVIEW_AVAILABILITY",50,"GENERATE_INTERVIEW_AVAILABILITY_JOB_ERROR",c("err")("Exception in job."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:default:return}},p=function(a,b,e){switch(a){case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_NO_SCHEDULE:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",50,"SCHEDULE_INTERVIEW_TIME_ERROR",c("err")("Job was unable to produce a feasible schedule."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").EXCEPTION:d("CandidatePortalLoggingUtils").logError("CANDIDATE_CHATBOT_INTERVIEW_SCHEDULE",50,"SCHEDULE_INTERVIEW_TIME_ERROR",c("err")("Exception in job."),{consideration_id:b,payload:{loop_id:e,session_id:d("CandidatePortalBrowserSession").getSessionKey()}});break;case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_SCHEDULE:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").COMPLETED_WITH_NO_AVAILABILITIES:case c("XFBInterviewBuilderJobStatus.candidateportal").STANDBY:case c("XFBInterviewBuilderJobStatus.candidateportal").IN_PROGRESS:default:return}};g["default"]=a}),226);
-----
CandidatePortalChatbotInterviewPendingCTA.react",["fbt","CandidatePortalAutoCandidateAvailabilityModal.entrypoint","CandidatePortalBrowserSession","CandidatePortalChatbotConversationCTA.react","CandidatePortalChatbotConversationCTAItem.react","CandidatePortalChatbotInterviewPendingCTAQuery.graphql","CandidatePortalChatbotInterviewPendingCTA_consideration.graphql","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingModal.entrypoint","CandidatePortalChatbotSchedulingSuspenseModal.react","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","GeoBaseText.react","GeoPill.react","RelayHooks","nullthrows","react","setTimeout","useBoolean","useCPNavigate","useCurrentRoute","useGeoEntryPointModal","useIsCPClassicView"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useContext,n=e.useEffect,o=3*24*60*60,p=i!==void 0?i:i=b("CandidatePortalChatbotInterviewPendingCTA_consideration.graphql"),q=j!==void 0?j:j=b("CandidatePortalChatbotInterviewPendingCTAQuery.graphql"),r=function(a){switch(a){case"SCREENING_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule screen");case"ONSITE_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule full loop");case"FOLLOW_UP_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule follow-up");default:return h._(/*BTDS*/"Next step: Schedule interview")}};function s(a){var b=c("useCurrentRoute")(),d=(b==null?void 0:(b=b.params)==null?void 0:b.modal)==="auto_candidate_availability";n(function(){d===!0&&(a(),c("setTimeout")(function(){var a=new URL(window.location.href);a.searchParams.has("modal")&&(a.searchParams["delete"]("modal"),window.history.replaceState({},document.title,a.toString()))},1e3))},[d,a])}function t(a){var b=a.isLoading,e=a.modal,f=a.onClick,g=a.potentialDateRangeEnd,i=a.recruiterEmail;a=a.title;g=g-o;var j=g
CandidatePortalChatbotSchedulingCTA.react",["fbt","CandidatePortalAutoCandidateAvailabilityModal.entrypoint","CandidatePortalBrowserSession","CandidatePortalChatbotConversationCTA.react","CandidatePortalChatbotConversationCTAItem.react","CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation","CandidatePortalChatbotSchedulingCTAQuery.graphql","CandidatePortalChatbotSchedulingCTA_consideration.graphql","CandidatePortalChatbotSchedulingModal.entrypoint","CandidatePortalChatbotSchedulingSuspenseModal.react","CandidatePortalDateTimeUtils","CandidatePortalLoggingUtils","CandidatePortalURLQueryParamsContext","GeoPill.react","RelayHooks","nullthrows","react","setTimeout","useBoolean","useCurrentRoute","useGeoEntryPointModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useContext,n=e.useEffect,o=i!==void 0?i:i=b("CandidatePortalChatbotSchedulingCTA_consideration.graphql"),p=j!==void 0?j:j=b("CandidatePortalChatbotSchedulingCTAQuery.graphql"),q=function(a){switch(a){case"SCREENING_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Screening");case"ONSITE_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Full Loop");case"FOLLOW_UP_INTERVIEW":return h._(/*BTDS*/"Next step: Schedule Follow Up");default:return h._(/*BTDS*/"Next step: Schedule Loop")}};function r(a){var b=c("useCurrentRoute")(),d=(b==null?void 0:(b=b.params)==null?void 0:b.modal)==="auto_candidate_availability";n(function(){d===!0&&(a(),c("setTimeout")(function(){var a=new URL(window.location.href);a.searchParams.has("modal")&&(a.searchParams["delete"]("modal"),window.history.replaceState({},document.title,a.toString()))},1e3))},[d,a])}function s(a){var b=a.isLoading,d=a.modal,e=a.onClick;a=a.title;return l.jsxs(l.Fragment,{children:[l.jsx(c("CandidatePortalChatbotConversationCTA.react"),{children:l.jsx(c("CandidatePortalChatbotConversationCTAItem.react"),{buttonLabel:h._(/*BTDS*/"Schedule interview"),isDisabled:b,isLoading:b,onButtonClick:e,subtitle:l.jsx(c("GeoPill.react"),{label:"placeholder",status:"progress",value:h._(/*BTDS*/"As soon as possible")}),title:a})}),d]})}s.displayName=s.name+" [from "+f.id+"]";function t(a){var b;a=a.consideration;var e=a.id;b=(b=a.latest_auto_candidate_availability_invitation)==null?void 0:b.aca_token;a=a.current_interview_event.interview_title;var f=c("useBoolean")(!1),g=f.set;f=f.value;var h=m(c("CandidatePortalURLQueryParamsContext"));h=h.viewasUserID;var i=d("RelayHooks").useRelayEnvironment();b=c("useGeoEntryPointModal")(c("CandidatePortalAutoCandidateAvailabilityModal.entrypoint"),{considerationID:e,renderSuspenseFallback:function(a){return l.jsx(c("CandidatePortalChatbotSchedulingSuspenseModal.react"),{onHide:a})},onBeforeHide:function(){d("RelayHooks").fetchQuery(i,p,{considerationID:e}).subscribe({start:function(){return g(!0)},complete:function(){return g(!1)}})}},{routeProps:{c:e,t:b,view_as_user_id:h}});h=b.isLoading;var j=b.modal,k=b.showModal;r(k);b=function(){k(),d("CandidatePortalLoggingUtils").logCriticalAction("JOB_APP_THINGS_TO_DO_PREEMPTIVE_AVAILABILITY","ITEM_CLICK",{consideration_id:e})};return l.jsx(s,{isLoading:h||f,modal:j,onClick:b,title:q(a)})}t.displayName=t.name+" [from "+f.id+"]";function u(a){a=a.consideration;var b=a.id,e=a.recent_interview_loop.id;a=a.current_interview_event.interview_title;var f=d("RelayHooks").useMutation(c("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation")),g=f[0];f=f[1];var h=c("useBoolean")(!1),i=h.set;h=h.value;var j=d("RelayHooks").useRelayEnvironment(),k=c("useGeoEntryPointModal")(c("CandidatePortalChatbotSchedulingModal.entrypoint"),{renderSuspenseFallback:function(a){return l.jsx(c("CandidatePortalChatbotSchedulingSuspenseModal.react"),{onHide:a})},onBeforeHide:function(){d("RelayHooks").fetchQuery(j,p,{considerationID:b}).subscribe({start:function(){return i(!0)},complete:function(){return i(!1)}})}},{loopID:e,considerationID:b}),m=k.isLoading,n=k.modal,o=k.showModal;k=function(){g({onCompleted:o,variables:{input:{loop_id:c("nullthrows")(e),timezone:d("CandidatePortalDateTimeUtils").getTimezoneExactName(),session_id:d("CandidatePortalBrowserSession").getSessionKey()}}})};return l.jsx(s,{isLoading:f||m||h,modal:n,onClick:k,title:q(a)})}u.displayName=u.name+" [from "+f.id+"]";function a(a){a=a.consideration;a=d("RelayHooks").useFragment(o,a);return a.is_candidate_driven_scheduling_eligible?l.jsx(u,{consideration:a}):l.jsx(t,{consideration:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",["CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h!==void 0?h:h=b("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql");c=a;g["default"]=c}),98);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation.graphql",["CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{kind:"Variable",name:"input",variableName:"input"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",selections:[{alias:null,args:c,concreteType:"XCPScheduleInterviewAvailabilityJobResponsePayload",kind:"LinkedField",name:"xcp_schedule_interview_availability_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopExport",kind:"LinkedField",name:"loop",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_initial_scheduling_job",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"CandidatePortalChatbotSchedulingCalendar_schedulingJob"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"CandidatePortalChatbotSchedulingMenu_loop"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",selections:[{alias:null,args:c,concreteType:"XCPScheduleInterviewAvailabilityJobResponsePayload",kind:"LinkedField",name:"xcp_schedule_interview_availability_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopExport",kind:"LinkedField",name:"loop",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_initial_scheduling_job",plural:!1,selections:[{alias:null,args:null,concreteType:"XCPCPCandidateAggregatedInterviewAvailabilitiesGroupedByLLR",kind:"LinkedField",name:"interview_availabilities_grouped_by_llr",plural:!0,selections:[{alias:null,args:null,concreteType:"XCPProdInterviewLoopLineRequestExport",kind:"LinkedField",name:"loop_line_request",plural:!1,selections:[d,{alias:null,args:null,concreteType:"XCPProdStructuredInterviewRoleExport",kind:"LinkedField",name:"structured_role",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"candidate_facing_name",storageKey:null},d],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XCPCandidateAggregatedInterviewAvailabilitiesForLLR",kind:"LinkedField",name:"interview_availabilities",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"start",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"end",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"interviewers_with_prebooked_slots",storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"XCPProdInterviewBuilderJobExport",kind:"LinkedField",name:"latest_candidate_schedule_confirmation_job",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"has_loop_lines",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:b("CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation"),metadata:{},name:"CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
CandidatePortalChatbotScheduleInterviewAvailabilityJobMutation_candidate_portalRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9806907729398173"}),null);
-----