"use strict";(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[370032],{574867:(e,t,n)=>{n.r(t),n.d(t,{MeetingCopilotUfdForUnlicensedUsers:()=>_,default:()=>f});var i=n(513432),r=n(163132),l=n(647780),o=n(228787),a=n(845017),c=n(879749),s=n(214568),u=n(158587),d=n(644902),p=n(798238),C=n(401368),b=n(178707);const _=()=>{const{createUfd:e}=(0,r.Qf)(),t=(0,l.jj)(),{teamsCallId:n,isCallingScenario:_}=(0,a.c)(),f=i.useRef(),{userBiService:w}=(0,c.ur)(),{copilotModeMeetingOption:U,isCopilotTranscriptStarted:M}=(0,u.$)(n||""),h=i.useRef(M),{enableFacilitatorInCopilotOnlyMode:m}=(0,p.w2)(C.w.MeetingCollaboration,["enableFacilitatorInCopilotOnlyMode"]),g=(0,b.U)();if(h.current!==M&&M&&("Enabled"===U||_)){h.current=M,(0,d.H)(w,s.Sn.copilotNoTranscriptUnlicensedUFDView);const n=!!m&&g,i=(0,o.nl)(e,t,_,!!n);return f.current=i?.id,null}return null},f=_}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/copilot-only-mode-ufd-control-83f2e995d6d4b8c3.js.map