"use strict";(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[449533],{186398:(e,n,l)=>{l.r(n),l.d(n,{CallHandoffScreen:()=>h});var a=l(957032),t=l(513432),r=l(986040),i=l(907888),c=l(835038),s=l(619761),g=l(164994),o=l(879749),d=l(214568),f=l(878215),_=l(923326),p=l(798238),m=l(401368);const u=(0,l(391567).O)({isCallingScreenOverlay:{qhf8xq:"f10pi13n",a9b677:"fly5x3f"},isCallTransferIcon:{Bqenvij:"favxuln",a9b677:"ffyv3ta"}}),h=({onScreenCompleted:e,onScreenReady:n})=>{const l=t.useContext(s.I18nContext),{host:h,loggerFactory:{newLogger:C}}=(0,o.ur)(),y=u(),{callingIntent:b}=(0,f.V8)(),{enableEndCallOnUserEndpoints:v}=(0,p.w2)(m.w.Calling,["enableEndCallOnUserEndpoints"]);t.useEffect((()=>{n()}),[n]),t.useEffect((()=>{const n=h.setTimeout((()=>{e()}),3e3);return()=>h.clearTimeout(n)}),[h,e]);const w=v?"Meeting"===b.type?l.translate("calling","calling_meeting_device_no_longer_in_meeting"):l.translate("calling","calling_call_device_no_longer_in_call"):"Meeting"===b.type?l.translate("calling","calling_meeting_transferred"):l.translate("calling","calling_call_transferred");return(0,a.Y)(g.W,{disableWrapper:!0,newLogger:C,panelRegion:d.rP.main,panelType:d.HP.CallHasBeenTransferred,dataBagProps:{callType:(0,_.g1)(b)},children:(0,a.Y)(r.s,{column:!0,className:y.isCallingScreenOverlay,fill:!0,children:(0,a.Y)(r.s,{vAlign:"center",hAlign:"center",column:!0,fill:!0,gap:"gap.small",role:"alert","aria-atomic":"true",children:[(0,a.Y)(c.oq5,{"data-testid":"call-handoff-screen-icon",className:y.isCallTransferIcon}),(0,a.Y)(i.D,{id:"calling-call-transferred-screen-title",as:"h1",align:"center",size:"large500",weight:"regular","data-testid":"call-handoff-screen-text",children:w})]})})})}}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/components-calling-call-handoff-screen-5bd225df6024fd05.js.map