import{j as e}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{C as d,s as u,A as x,p as h,D as v,J as j,q as g,aI as f,aJ as N}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import{u as A}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import{V as b}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71149.js";import{b as I}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7138.js";import{aP as C,at as z}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";function R(){const{chatActive_atentendes:i}=d(),{label:a}=u(),{variaveisWA:s}=x(),{language:t}=A(),{open:r}=h(),{assinatura:n,insertName:c}=v(),{assistente:o,setAssistente:l}=j(),{open:p}=g();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(I,{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(f,{})),className:s.footerIco,children:e.jsx("span",{children:e.jsx(C,{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(N,{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(b,{}),{placement:"top"},m.target),children:[e.jsx("span",{children:e.jsx(z,{size:20})}),e.jsx("span",{className:"font-semibold text-lg pb-[2px]",children:i.length})]})})]})}export{R as default};
