import{j as o}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c195.js";import{u as i}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1947.js";import{u as p}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1922.js";import{e as m}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c194.js";import{u as c}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19133.js";import{R as l}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19138.js";import{w as d}from"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19109.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c19.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c198.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1923.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c193.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c192.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c197.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c196.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c199.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1910.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1920.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1946.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1948.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1911.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1960.js";import"./v_7_4_3_20_36aa665d-161a-48bb-8a6b-20d06cac9c1935.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};
