import{j as e,aS as d,aw as u}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f10.js";import{C as x,s as h,A as v,p as j,D as g,J as f,q as N,aC as A,aD as b}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f23.js";import{u as C}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f19.js";import{V as I}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f147.js";import{b as z}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f37.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f18.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f6.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f4.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f8.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f5.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f7.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f9.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f2.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f3.js";function E(){const{chatActive_atentendes:i}=x(),{label:a}=h(),{variaveisWA:s}=v(),{language:t}=C(),{open:r}=j(),{assinatura:n,insertName:c}=g(),{assistente:o,setAssistente:l}=f(),{open:p}=N();return e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.menuFooter_colarNome,children:e.jsx("div",{className:s.footerIco,onClick:c,children:e.jsx(z,{className:a.cor_primaria?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]",strokeWidth:1,size:24})})}),e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.menuFooter_Ass,children:e.jsx("div",{onClick:()=>r(e.jsx(A,{})),className:s.footerIco,children:e.jsx("span",{children:e.jsx(d,{className:n.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:22})})})}),e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.assistenteDeChat,children:e.jsx("div",{onClick:()=>l("active",!o.active),className:s.footerIco,children:e.jsx("span",{children:e.jsx(b,{className:o.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:24})})})}),i.length>1&&e.jsx("div",{className:s.confgIcone+"cursor-pointer lg:tooltip","data-tip":t.atendentesNesseChat,children:e.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1 justify-center items-center py-[6px] px-1 pulse cursor-pointer",onClick:m=>p(e.jsx(I,{}),{placement:"top"},m.target),children:[e.jsx("span",{children:e.jsx(u,{size:20})}),e.jsx("span",{className:"font-semibold text-lg pb-[2px]",children:i.length})]})})]})}export{E as default};
