import{j as t,aS as m,aw as c}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b710.js";import{C as u,s as h,A as f,p as v,D as b,J as j,q as y,aC as g,aD as z}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b723.js";import{u as k}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b719.js";import{V as N}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7147.js";import{b as A}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b737.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b718.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b76.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b74.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b78.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b75.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b77.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b79.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b72.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b73.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(A,{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(N,{}),{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};
