import{j as o}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{u as m}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7162.js";import{u as F}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import{u as f}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71131.js";import{R as x}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7177.js";import{R as O}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71136.js";import{RenderItensFooter as j}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7182.js";import{Q as _,$ as C,b6 as i}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7122.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7146.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71114.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7133.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7134.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7127.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7128.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71132.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71133.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71106.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7159.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71149.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7138.js";function Z(){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{Z as default};
