import{j as o}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{u as i}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d146.js";import{u as p}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d122.js";import{e as m}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import{u as c}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1132.js";import{R as l}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1137.js";import{w as d}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1108.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d18.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d13.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d16.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d19.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d110.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d12.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d120.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d145.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d147.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d111.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d159.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d134.js";function P(){const t=c(r=>r.chatOpenHorizontalFuncs),{icons_cor_primaria:e}=m(i(r=>({icons_cor_primaria:r.icons_cor_primaria}))),{openWithGetEvents:a}=p(i(r=>({openWithGetEvents:r.openWithGetEvents}))),n=l();return o.jsx("ul",{children:o.jsx("div",{className:"flex items-center gap-2 mr-1",children:n.map(r=>!r.disabled&&t[r.id]!==!1&&o.jsxs("li",{...a(r.name,{placement:"bottom"}),children:[(r.tam??0)>=1&&o.jsx("div",{className:"relative",children:o.jsx("div",{className:"absolute -top-1 -right-2",children:o.jsx("span",{className:"abaTam border border-[#ffffff52] border-solid rounded-full p-1 shadow-lg text-[12px] bg-[var(--primaria)] ",children:o.jsx("em",{className:"text-[#ffffffd4] font-bold",children:r.tam})})})}),o.jsx("div",{onClick:s=>{r.function(s),d(r.id)},children:o.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)] "+(e?"text-[var(--primaria)]":"text-[var(--panel-header-icon)]"),children:r.icon})},r.id)]},r.id))})})}export{P as default};
