import{j as o}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d15.js";import{u as m}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d146.js";import{u as F}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d14.js";import{u as f}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1132.js";import{R as x}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d180.js";import{R as O}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1137.js";import{RenderItensFooter as j}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d185.js";import{o as _,p as C,aX as i}from"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d17.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d13.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d12.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d123.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-2585c84ec3d18.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d120.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d122.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d145.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d16.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-2585c84ec3d1116.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d130.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d125.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1133.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1134.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d134.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1107.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d1108.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d159.js";import"./v_7_4_3_40_a1f3a86e-ffe7-4e8d-af35-2585c84ec3d136.js";function $(){const t=F(n=>n.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:a,chatOpenVerticalFuncs:r,setChatOpenVerticalFuncs:c,chatOpenFooterFuncs:p,setChatOpenFooterFuncs:l}=f(m(n=>({chatOpenHorizontalFuncs:n.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:n.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:n.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:n.setChatOpenVerticalFuncs,chatOpenFooterFuncs:n.chatOpenFooterFuncs,setChatOpenFooterFuncs:n.setChatOpenFooterFuncs}))),d=O().filter(n=>!n.disabled),u=x().filter(n=>!n.disabled),h=j().filter(n=>!n?.disabled);return o.jsxs("div",{children:[o.jsx(_,{children:t.func_menu_chat}),o.jsx(C,{size:"16px",children:t.func_menu_des}),o.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_horizontal}),d.map(n=>o.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:e=>{e.stopPropagation(),n.function(e)},text_open:t.open,switch_state:s[n.id],switch_update:()=>a(n.id)},n.id))]}),o.jsx("hr",{className:"my-4"}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_vertical}),u.map(n=>o.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:e=>n.function(e),text_open:t.open,switch_state:r[n.id],switch_update:()=>c(n.id)},n.id))]}),o.jsx("hr",{className:"my-4"}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-medium",children:t.func_footer}),h.map(n=>o.jsx(i,{id:n.id,name:n.tooltip,icon:n.children,onClick:e=>n.func(e),text_open:t.open,switch_state:p[n.id],switch_update:()=>l(n.id)},n.id))]})]})]})}export{$ as default};
