import{j as e,aL as d,aj as u}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080910.js";import{P as x,q as h,D as j,o as v,K as g,G as f,p as N,af as b,ag as A}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080923.js";import{u as I}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080919.js";import{V as z}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809164.js";import{b as C}from"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080937.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b225080918.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508098.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508094.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b2250809.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508095.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508097.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508096.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508092.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508093.js";import"./v_7_4_1_21_73d2acb1-b7f3-47a2-a8fe-3772b22508099.js";function B(){const{chatActive_atentendes:i}=x(),{label:a}=h(),{variaveisWA:s}=j(),{language:t}=I(),{open:r}=v(),{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(C,{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(b,{})),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(A,{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(z,{}),{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{B as default};
