"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["39299"],{968073:function(n,e,t){t.d(e,{h:()=>u});var i=t(652983),r=t(150002),o=t(203820),l=t(449647),u=n=>{var e=function(e){var i=(0,r.Z)(n,e);(0,o.Z)(i)?(u.current[e]=i,e in c.current||(c.current[e]=function(){for(var n=arguments.length,t=Array(n),i=0;i<n;i++)t[i]=arguments[i];return u.current[e](...t)}),t[e]=c.current[e]):(delete u.current[e],delete c.current[e],t[e]=i)},t={},u=(0,i.useRef)({}),c=(0,i.useRef)({});for(var d of(0,l.Z)(n))e(d);return t}},642865:function(n,e,t){t.r(e),t.d(e,{SearchQueryResultShareNodeRenderPlugin:()=>d});var i=t(37432),r=t(892342),o=t(397458),l=t(652983),u=t(499442),c=(0,l.memo)(n=>{var e,{node:t,isLatestBlock:i,isLegacyWriteArtifactMessage:r}=n,l=null===(e=t.block.content)||void 0===e?void 0:e.search_query_result_block;return!l||r&&i?null:(0,o.jsx)(u.D,{blockContent:l})});class d{constructor(){this.nodeTypes=r.c,this.Content=c,this.usePropsSelector=i.W}}},37432:function(n,e,t){t.d(e,{W:()=>o});var i=t(358813),r=t(642494),o=(n,e)=>{var t,o,l=(null===(t=n.content_blocks_v2)||void 0===t?void 0:t.findIndex(n=>n.block_id===e.block_id))===((null===(o=n.content_blocks_v2)||void 0===o?void 0:o.length)||0)-1,u=!!l&&(0,r.vlk)(n),c=(0,i.M)({message:n}),{conversation_id:d}=n,{is_finish:s,block_id:v}=e;return{isBlockFinished:s,isLatestBlock:l,isBroken:u,blockId:v,conversationId:d,isLegacyWriteArtifactMessage:(0,r.D8H)(n),trackEvent:c}}},358813:function(n,e,t){t.d(e,{A:()=>a,M:()=>_});var i=t(698127),r=t(57723),o=t(26980),l=t(233188),u=t(553010),c=t(195693),d=t(788704),s=t(968073),v=(n,e)=>{var t,i,{scene:o}=null!=e?e:{},d=o===r.ZN.Thinking;return{skill_id:null==n?void 0:null===(t=n.skill)||void 0===t?void 0:t.skill_id_no_default,skill_name:(0,c.Nu)(null==n?void 0:null===(i=n.skill)||void 0===i?void 0:i.skill_type_no_default),conversation_id:null==n?void 0:n.conversation_id,bot_id:null==n?void 0:n.bot_id,message_id:null==n?void 0:n.message_id,chat_type:(0,l.yT)("",(null==n?void 0:n.conversation_id)||""),conversation_type:(0,u.n)((null==n?void 0:n.conversation_id)||""),is_deep_thinking:+!!d}},a=n=>{var{message:e,blockContent:t}=n,r=o.vh.get("chatTeaService");return(0,s.h)({trackBase:function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{null==r||r.trackEvent(n,(0,i._)({},v(e,t),o))}catch(n){}}})},_=n=>{var{message:e}=n;return function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,d.L)(n,(0,i._)({},v(e),t))}}}}]);
//# sourceMappingURL=39299.js.map