import{j as r}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f10.js";import{u as l}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f61.js";import{u as p}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f21.js";import{s as m}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-d3199fba8c4f130.js";import{R as d}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f135.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-d3199fba8c4f19.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-d3199fba8c4f45.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";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f58.js";function E(){const{openTooltip:a,closeTooltip:t}=p(l(o=>({openTooltip:o.open,closeTooltip:o.close}))),i=m(o=>o.label),n=c(o=>o.chatOpenHorizontalFuncs),s=d();return r.jsx("ul",{children:r.jsx("div",{className:"flex items-center gap-2 mr-1",children:s.map(o=>!o.disabled&&n[o.id]!==!1&&r.jsxs("li",{onMouseEnter:e=>a(o.name,{placement:"bottom"},e.target),onMouseLeave:t,children:[(o.tam??0)>=1&&r.jsx("div",{className:"relative",children:r.jsx("div",{className:"absolute -top-1 -right-2",children:r.jsx("span",{className:"abaTam border border-[#ffffff52] border-solid rounded-full p-1 shadow-lg text-[12px] bg-[var(--primaria)] ",children:r.jsx("em",{className:"text-[#ffffffd4] font-bold",children:o.tam})})})}),r.jsx("div",{onClick:e=>o.function(e),children:r.jsx("div",{"tag-ref":"btn",className:"menu-item pulse cursor-pointer rounded-[10px] p-2 bg-[var(--menu-bar-item-background-active)] hover:!bg-[var(--primaria)] hover:!text-[var(--letra)] "+(i.cor_primaria?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]"),children:o.icon})},o.id)]},o.id))})})}export{E as default};
