"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["29304"],{611872:function(e,s,n){n.d(s,{g:()=>d});var i=n(698127),t=n(706790),a=n(181267),r=n(397458),l=n(87608),o=n.n(l),c="circle-jstTwu",d=e=>{var{disabled:s=!1}=e,n=(0,a._)(e,["disabled"]);return(0,r.jsxs)("div",(0,t._)((0,i._)({},n),{className:o()("dot-flashing-dfNik7",{"disabled-fokELi":s}),children:[(0,r.jsx)("div",{className:c}),(0,r.jsx)("div",{className:c})]}))}},898766:function(e,s,n){n.d(s,{g:()=>l});var i=n(397458),t=n(87608),a=n.n(t),r=n(611872),l=e=>{var{inlineEnd:s}=e;return(0,i.jsx)("div",{className:a()("flex items-baseline",{"flex justify-end":s}),children:(0,i.jsx)(r.g,{})})}},58493:function(e,s,n){n.r(s),n.d(s,{ExtReceiveMessageBottomPlugin:()=>v});var i=n(397458),t=n(651481),a=n(828005),r=n(621772),l=n(652983),o=n(898766),c=n(391862),d=n(350428),u=e=>{var{message:s}=e,{scrollRef:n}=(0,c.E)(),[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{var e=()=>{a(!0),setTimeout(()=>{var e;null===(e=n.current)||void 0===e||e.scrollToBottom({smooth:!0})},100)},s=()=>{a(!1)};return d.Z.on("sync-message-list-before",e),d.Z.on("sync-message-list-end",s),()=>{d.Z.off("sync-message-list-before",e),d.Z.off("sync-message-list-end",s)}},[s.conversation_id]),t?(0,i.jsx)("div",{style:{marginTop:24},children:(0,i.jsx)(o.g,{})}):null},f=e=>{var{suggestList:s,actionBarComponentNode:n,message:r}=e,{suggestListComponentNode:l}=s||{},{isLastMessage:o}=(0,t.GH)(e=>({isLastMessage:(0,a.Jp)(e,r.conversation_id||"",r.message_id||"")}));return(0,i.jsxs)(i.Fragment,{children:[n,l,o?(0,i.jsx)(u,{message:r}):null]})};class v{constructor(){this.pluginIdentifier=r.O,this.Content=f}}}}]);
//# sourceMappingURL=29304.js.map