"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["91470"],{660783:function(e,t,a){a.d(t,{Z:()=>l});var n=a(397458);a(652983);var s=a(465031),i=a(698127),r=a(706790),l=(0,s.G)((0,n.jsx)(e=>(0,n.jsx)("svg",(0,r._)((0,i._)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 28 28"},e),{children:(0,n.jsx)("path",{d:"M14.007 28q-2.881 0-5.418-1.11a14.3 14.3 0 0 1-4.453-3.026 14.5 14.5 0 0 1-3.04-4.453Q0 16.875 0 13.993q0-2.868 1.095-5.404Q2.191 6.053 4.121 4.12A14.5 14.5 0 0 1 8.59 1.095Q11.124 0 13.993 0t5.404 1.095q2.536 1.096 4.467 3.026A14.2 14.2 0 0 1 26.89 8.59Q28 11.124 28 13.993q0 2.881-1.095 5.418a14.3 14.3 0 0 1-3.027 4.453 14.2 14.2 0 0 1-4.467 3.026Q16.876 28 14.007 28m.015-6.917q.518 0 .835-.317.332-.332.332-.836v-6.816l-.13-2.969 1.37 1.672 1.599 1.643q.316.33.807.331.475 0 .792-.303a.99.99 0 0 0 .332-.763q0-.475-.332-.807L14.944 7.22q-.433-.447-.922-.447-.476 0-.908.447L8.43 11.918q-.317.317-.317.807 0 .461.317.763.318.303.778.303.49 0 .807-.331l1.629-1.658 1.326-1.642-.116 2.954v6.816q0 .504.332.836.331.317.836.317"})})),{}))},819113:function(e,t,a){a.d(t,{l:()=>s});var n,s=((n={}).ReadAndSummarize="ReadAndSummarize",n.WriteAssistant="WriteAssistant",n.ImageGeneration="ImageGeneration",n.Search="Search",n.Translate="Translate",n.ReadPDF="ReadPDF",n.ReadWebsite="ReadWebsite",n.DeepSearch="DeepSearch",n.MusicAssistant="MusicAssistant",n.AcademicSearch="AcademicSearch",n.EduExerciseAssistant="EduExerciseAssistant",n.CodeInterpreter="CodeInterpreter",n.ReadMultiWebsites="ReadMultiWebsites",n.CodeAssistant="CodeAssistant",n.VoiceCall="VoiceCall",n.VideoGeneration="VideoGeneration",n.AiPpt="AiPpt",n.AiSlides="AiSlides",n.DeepResearch="DeepResearch",n.SuperTask="SuperTask",n)},664702:function(e,t,a){a.d(t,{Y:()=>h});var n=a(397458),s=a(87608),i=a.n(s),r=a(372003),l=a(111462),c=a(422784),o=a(221330),u=a(557829),d={"center-input":"center-input-h9fB8P"};function h(){var{className:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.g1)(),a=(0,c.mC)(),s=(0,u.Dv)();return(0,n.jsx)(r.o,{className:i()(e,s&&a===l.z.NewThread&&d["center-input"]),placeholder:t(s?"homepage_centered_input_placeholder":"default_input_placeholder")})}},372003:function(e,t,a){a.d(t,{o:()=>d});var n=a(397458),s=a(660783),i=a(652983),r=a(183911),l=a(87608),c=a.n(l),o={"chat-input":"chat-input-N_qWuN","single-line":"single-line-LkZqpK",bottom:"bottom-eBppoR",placeholder:"placeholder-fgksOI","box-shadow":"box-shadow-Tln4fr",small:"small-w5uzh1","chat-input-with-upload":"chat-input-with-upload-qhPwaM","chat-input-button":"chat-input-button-qTW_WR","chat-input-content":"chat-input-content-JRzPw4","chat-input-tool":"chat-input-tool-pP_BL1","chat-input-button-round":"chat-input-button-round-SQYOVQ"},u=!1,d=e=>{var{placeholder:t,style:a,className:l,uploadIcon:d,boxShadow:h=!1,singleLine:p=!0}=e,f=(0,i.useRef)(null),[m,v]=(0,i.useState)(u);return(0,i.useEffect)(()=>{var e,t=null===(e=f.current)||void 0===e?void 0:e.clientWidth,a=(0,r.Z)(t)||0===t?u:t<480;u=a,v(a)},[]),(0,n.jsx)("div",{ref:f,className:c()(o["chat-input"],p&&o["single-line"],h&&o["box-shadow"],m&&o.small,d&&o["chat-input-with-upload"],l),style:a,children:p?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:o["chat-input-content"]}),(0,n.jsx)("div",{className:o["chat-input-tool"]}),(0,n.jsx)("div",{className:o["chat-input-tool"]}),(0,n.jsx)("div",{className:o["chat-input-button-round"]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("textarea",{disabled:!0,placeholder:t}),(0,n.jsxs)("div",{className:o.bottom,children:[d,(0,n.jsx)("div",{className:o.placeholder}),(0,n.jsx)(s.Z,{className:o["chat-input-button"]})]})]})})}},488997:function(e,t,a){a.r(t),a.d(t,{DeepSearchChatInputPlugin:()=>f});var n=a(698127),s=a(397458),i=a(652983),r=a(814835),l=a(819113),c=a(664702),o=a(754751),u=a(917612);function d(){return a.e("20853").then(a.bind(a,3509))}var h=i.lazy(()=>(0,u.AD)({fn:()=>d()}));class p{focusOnEditor(){var e,t;null===(t=this.editorRef)||void 0===t||null===(e=t.current)||void 0===e||e.focus()}updateEditorValue(){}clearEditorValue(){}constructor({editorRef:e}){this.editorRef=e}}class f extends r.H{focus(){var e;null===(e=this.ref.current)||void 0===e||e.focus()}render(e){return(0,s.jsx)(i.Suspense,{fallback:(0,s.jsx)(c.Y,{}),children:(0,s.jsx)(h,(0,n._)({ref:this.ref},e))})}preloadChunks(){d()}constructor(...e){super(...e),this.skillType=o.SkillType.DeepSearch,this.ref=(0,i.createRef)(),this.service=new p({editorRef:this.ref})}}f.pluginName=l.l.DeepSearch}}]);
//# sourceMappingURL=deep-search-input-plugin.js.map