import{j as t,y as x,K as h,V as j}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9910.js";import{a as o}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c994.js";import{Q as g,o as A,R as T,C as E}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9923.js";import{u as C}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9919.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9947.js";import{E as w}from"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99119.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c9918.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c996.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c998.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c99.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c995.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c997.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c999.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c992.js";import"./v_7_4_2_1_59f2e4f7-dc00-41f3-9942-b1c61b935c993.js";function V({atendente:r}){var a;const{trasferir_atendimento:n}=g(),{close:m}=A(),{trasferirAtendimento:c}=T(),{user:l}=(a=E.getState().activeChat)==null?void 0:a.id,{language:e}=C(),[s,d]=o.useState(""),[i,p]=o.useState(!1),u=()=>{m(),n(r,s,i),c(l,r.assinatura)};return t.jsxs("div",{className:"flex flex-col gap-4 w-[500px]",children:[t.jsx(x,{children:e.transferirAtendimentoTittle}),t.jsx(w,{id:"TransferirAtendimento_TextArea",titulo:t.jsxs(t.Fragment,{children:[e.transferirEmojiTittle," ",t.jsx("strong",{children:r.assinatura})]}),type:"textarea",className:"w-full",position:"right",placeholder:e.atendimentoEmojiAreaPlaceHolder,text:s,setText:f=>d(f),heightCamp:160}),t.jsx("label",{htmlFor:e.atendimentoUrgencia,children:t.jsxs("div",{className:"flex justify-between cursor-pointer items-center h-9 px-1 py-2",children:[t.jsx("span",{children:e.atendimentoComUrgencia}),t.jsx(h,{estado:i,switchUpdate:()=>p(!i),id:"urgencia"})]})}),t.jsx(j,{name:e.botaoTransferir,funcao:u})]})}export{V as default};
