import{j as o}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1165.js";import{u as i}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11647.js";import{u as p}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11622.js";import{e as m}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1164.js";import{u as c}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116133.js";import{R as l}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116138.js";import{w as d}from"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116109.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb116.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1168.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11623.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1163.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1162.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1167.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1166.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb1169.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11610.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11620.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11646.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11648.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11611.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11660.js";import"./v_7_4_3_28_345c6a4a-aab6-4ec9-a0c6-3718e7fdb11635.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};
