import{j as t,V as x,a0 as h,a2 as g}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab710.js";import{a as o}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab74.js";import{ag as j,o as A,ah as T,y as E}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab723.js";import{u as w}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab719.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab747.js";import{E as C}from"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7116.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab718.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab76.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab78.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab7.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab75.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab77.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab79.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab72.js";import"./v_7_4_2_13_59773d94-6a68-4ed1-8b86-dcf9791b0ab73.js";function q({atendente:r}){var s;const{trasferir_atendimento:n}=j(),{close:m}=A(),{trasferirAtendimento:c}=T(),{user:l}=(s=E.getState().activeChat)==null?void 0:s.id,{language:e}=w(),[i,d]=o.useState(""),[a,p]=o.useState(!1),u=()=>{m(),n(r,i,a),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(C,{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:i,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:a,switchUpdate:()=>p(!a),id:"urgencia"})]})}),t.jsx(g,{name:e.botaoTransferir,funcao:u})]})}export{q as default};
