"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["23584"],{621482:function(n,l,i){i.r(l),i.d(l,{ReceiveCreationThinkingContentBlockPlugin:()=>k});var e,o=i(397458),t=((e={})[e.Unknown=0]="Unknown",e[e.Generating=1]="Generating",e[e.Finished=2]="Finished",e),s=i(518471),d=i(911541),a=i(788704),u=i(221330),_=i(467553),r=n=>{var l,i,e,r,{contentBlock:v,message:k}=n,c=(0,u.g1)(),g=null==v?void 0:null===(l=v.content_obj)||void 0===l?void 0:l.text,p=null==v?void 0:null===(i=v.content_obj)||void 0===i?void 0:i.status,h=(null===(e=k.content_blocks)||void 0===e?void 0:e.findIndex(n=>n.id===v.id))!==((null===(r=k.content_blocks)||void 0===r?void 0:r.length)||0)-1||(0,s.zu)(k);return g?(0,o.jsx)("div",{className:"mt-[-10px]",children:(0,o.jsx)(d.R,{quotaBlockClassName:_.Z["quote-block"],hasquotaBlockWrapper:p!==t.Finished,isFinished:p===t.Finished,contentStr:g,defaultExpand:!h,insertedElements:[],collapseButtonText:c(p===t.Finished?"image_status_generated":"image_status_generating"),onCollapseButtonClick:n=>{var l,i;null===a.L||void 0===a.L||(0,a.L)("image_prompt_progress_click",{skill_name:(null==k?void 0:null===(l=k.skill)||void 0===l?void 0:l.skill_id_no_default)?"images_generation":null,skill_id:null==k?void 0:null===(i=k.skill)||void 0===i?void 0:i.skill_id_no_default,to_status:n?"open":"close"})},onMessageRender:()=>{var n,l;null===a.L||void 0===a.L||(0,a.L)("image_prompt_progress_start",{skill_name:(null==k?void 0:null===(n=k.skill)||void 0===n?void 0:n.skill_id_no_default)?"images_generation":null,skill_id:null==k?void 0:null===(l=k.skill)||void 0===l?void 0:l.skill_id_no_default})}})}):null},v=i(763942);class k{constructor(){this.pluginIdentifier=v.S,this.type="Content",this.Content=r}}}}]);
//# sourceMappingURL=23584.js.map