import{j as t,aJ as m,aq as c}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf10.js";import{ag as u,q as h,A as f,o as v,ad as b,a6 as j,p as y,aA as g,aB as z}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf23.js";import{u as k}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf19.js";import{V as A}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf147.js";import{b as N}from"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf38.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf18.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf6.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf8.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf4.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf5.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf7.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf9.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf2.js";import"./v_7_4_2_9_8cb79d4f-81e0-49c1-b597-7f2344477fbf3.js";function J(){const{chatActive_atentendes:i}=u(),{label:a}=h(),{variaveisWA:w}=f(),{language:s}=k(),{open:r}=v(),{assinatura:o,insertName:x}=b(),{assistente:n,setAssistente:l}=j(),{open:d}=y(),p=[{id:1,tooltip:s.menuFooter_Ass,children:t.jsx(m,{className:o.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:20}),func:()=>r(t.jsx(g,{}))},{id:2,tooltip:s.assistenteDeChat,children:t.jsx(z,{className:n.active?"text-[var(--wds-teal-500)]":a.cor_primaria?"text-[var(--primaria)]":"",size:22}),func:()=>l("active",!n.active)},{id:3,tooltip:s.menuFooter_colarNome,children:t.jsx(N,{className:a.cor_primaria?"text-[var(--primaria)]":"",strokeWidth:1,size:22}),func:()=>x()},{id:4,tooltip:s.atendentesNesseChat,children:t.jsxs("div",{className:"text-[var(--button-round-background)] flex gap-1",children:[t.jsx("span",{children:t.jsx(c,{size:20})}),t.jsx("span",{className:"font-semibold text-lg !leading-[21px]",children:i.length})]}),func:e=>d(t.jsx(A,{}),{placement:"top"},e.target),disabled:i.length<=1}].map(e=>!(e!=null&&e.disabled)&&t.jsx("div",{className:"x100vrsf x1vqgdyp x78zum5 x6s0dn4 xpvyfi4 lg:tooltip","data-tip":e.tooltip,children:t.jsx("button",{onClick:e.func,className:"xjb2p0i xk390pu x1ypdohk xjbqb8w x972fbf x10w94by x1qhh985 x14e42zd x78zum5 xh8yej3 x5yr21d x6s0dn4 xl56j7k x1c9tyrk xeusxvb x1pahc9y x1ertn4p xlkovuz xzwifym x16j0l1c x1y1aw1k xf159sx xwib8y2 xmzvs34 x1ry1tff xtnn1bt x9v5kkp xmw7ebm xrdum7p","data-tab":"10",type:"button",children:t.jsx("span",{"aria-hidden":"true",children:e.children})})},e.id));return t.jsx("div",{className:"flex self-end",children:p})}export{J as default};
