import{j as t}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a53.js";import{u as h}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a556.js";import{u as F}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a54.js";import{u as f}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5148.js";import{R as x}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a594.js";import{R as O}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5154.js";import{RenderItensFooter as j}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a599.js";import{D as _,E as C,b6 as e}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a58.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a52.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a543.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a56.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a525.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a59.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a510.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a57.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a520.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a522.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a541.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a555.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a557.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5132.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a537.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a530.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5149.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5150.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5151.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a544.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5123.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5124.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a571.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a5167.js";import"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a546.js";function no(){const n=F(o=>o.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:r,chatOpenVerticalFuncs:a,setChatOpenVerticalFuncs:c,chatOpenFooterFuncs:p,setChatOpenFooterFuncs:l}=f(h(o=>({chatOpenHorizontalFuncs:o.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:o.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:o.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:o.setChatOpenVerticalFuncs,chatOpenFooterFuncs:o.chatOpenFooterFuncs,setChatOpenFooterFuncs:o.setChatOpenFooterFuncs}))),d=O().filter(o=>!o.disabled),u=x().filter(o=>!o.disabled),m=j().filter(o=>!o?.disabled);return t.jsxs("div",{children:[t.jsx(_,{children:n.func_menu_chat}),t.jsx(C,{size:"16px",children:n.func_menu_des}),t.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_horizontal}),d.map(o=>t.jsx(e,{id:o.id,name:o.name,icon:o.icon,onClick:i=>{i.stopPropagation(),o.function(i)},text_open:n.open,switch_state:s[o.id],switch_update:()=>r(o.id)},o.id))]}),t.jsx("hr",{className:"my-4"}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_vertical}),u.map(o=>t.jsx(e,{id:o.id,name:o.name,icon:o.icon,onClick:i=>o.function(i),text_open:n.open,switch_state:a[o.id],switch_update:()=>c(o.id)},o.id))]}),t.jsx("hr",{className:"my-4"}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:n.func_footer}),m.map(o=>t.jsx(e,{id:o.id,name:o.tooltip,icon:o.children,onClick:i=>o.func(i),text_open:n.open,switch_state:p[o.id],switch_update:()=>l(o.id)},o.id))]})]})]})}export{no as default};
