"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["27547"],{158290:function(e,l,t){t.r(l),t.d(l,{VoiceCallingFeedListItemToolButtonPlugin:()=>x});var o,n,a=t(397458);t(652983);var c=t(465031),i=t(698127),r=t(706790),s=(0,c.G)((0,a.jsx)(e=>(0,a.jsx)("svg",(0,r._)((0,i._)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},e),{children:(0,a.jsx)("path",{fill:"currentColor",d:"M11.971 8a25 25 0 0 1 3.86.286q1.881.305 3.426.92 1.545.627 2.525 1.607.657.657 1.005 1.463.34.813.311 1.781-.03 1.197-.738 1.905-.276.276-.646.419-.377.149-.821.069l-3.495-.583a2.7 2.7 0 0 1-.712-.186 1.5 1.5 0 0 1-.47-.308 1.27 1.27 0 0 1-.328-.585 3.5 3.5 0 0 1-.092-.806l-.005-.975a.47.47 0 0 0-.147-.363.6.6 0 0 0-.174-.12 2 2 0 0 0-.182-.074q-.483-.146-1.404-.218a24.178 24.178 0 0 0-3.853.003q-.915.082-1.413.232-.075.02-.175.067a.6.6 0 0 0-.182.129.5.5 0 0 0-.156.37l-.002.968q0 .458-.09.8a1.3 1.3 0 0 1-.33.587q-.19.188-.472.31a3 3 0 0 1-.7.204l-3.545.607q-.431.069-.787-.072a1.66 1.66 0 0 1-.624-.395 2.3 2.3 0 0 1-.53-.84 3.3 3.3 0 0 1-.218-1.068 4 4 0 0 1 .293-1.796 4.45 4.45 0 0 1 .993-1.475q.984-.984 2.552-1.614 1.556-.63 3.459-.936Q9.994 8.005 11.97 8"})})),{})),_=t(771197),u=t(581475),v=(o=(0,_._)(function*(){var{ClientNeotixChannel:e,ShellApiBookmarks:l,ShellApiScreenshot:o,ShellApiPinWindow:n,ShellApiCloudConfig:a,ShellApiLocalLLM:c,ShellApiBrowserSettings:i,ShellApiScreenShare:r,ShellApiVoiceChat:s,ShellApiTabs:_,ShellApiLocalStorage:u,ShellApiRuntimeStorage:v,ShellApiDevice:d,ShellApiTea:h,ShellApiPreload:p,ShellApiDefaultBrowser:f,ShellApiBuiltin:w,ShellApiStartupMetric:m,ShellApiAudioCapture:C,ShellApiAgentTask:g,ShellApiSystem:x,ShellApiFs:b,ShellApiBrowserWindow:k}=yield Promise.all([t.e("77047"),t.e("47599")]).then(t.bind(t,241767));return{ClientNeotixChannel:e,ShellApiBookmarks:l,ShellApiScreenshot:o,ShellApiPinWindow:n,ShellApiCloudConfig:a,ShellApiLocalLLM:c,ShellApiBrowserSettings:i,ShellApiScreenShare:r,ShellApiVoiceChat:s,ShellApiTabs:_,ShellApiLocalStorage:u,ShellApiRuntimeStorage:v,ShellApiDevice:d,ShellApiTea:h,ShellApiPreload:p,ShellApiDefaultBrowser:f,ShellApiBuiltin:w,ShellApiStartupMetric:m,ShellApiAudioCapture:C,ShellApiAgentTask:g,ShellApiSystem:x,ShellApiFs:b,ShellApiBrowserWindow:k}}),function(){return o.apply(this,arguments)}),d=(n=(0,_._)(function*(){var{ClientNeotixChannel:e}=yield v();u.yQ.removeItem("__desktop_voice_chat_current_cid__"),e.broadcast("voice_chat","close_voice_chat",{from:"web"})}),function(){return n.apply(this,arguments)}),h=t(531484),p={voiceConversationId:"",voiceCallStartTime:0,voiceCallId:""},f=(0,h.Ue)((e,l)=>(0,r._)((0,i._)({},p),{updateVoiceCallState:t=>{e((0,i._)({},l(),t))}})),w=t(221330),m=t(734776),C={"voice-call-close":"voice-call-close-mAa0R_"},g=e=>{var{conversation:l}=e,t=(0,w.g1)();return f(e=>{var{voiceConversationId:t}=e;return t&&t===(null==l?void 0:l.conversation_id)})?(0,a.jsx)(m.s,{content:t("cici_desktop_call_hang_up_call"),children:(0,a.jsx)(s,{className:C["voice-call-close"],onClick:e=>{e.preventDefault(),e.stopPropagation(),null==d||d()}})}):null};class x{constructor(){this.Content=g}}}}]);
//# sourceMappingURL=voice-feed-list-item-tool-button-plugin.js.map