import{j as a,X as p,a1 as l,b8 as i}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f10.js";import{u}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f61.js";import{u as d}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f19.js";import{u as m}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f130.js";import{R as h}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f76.js";import{R as x}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f135.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f18.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f6.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f4.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f8.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f5.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f7.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f23.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f9.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f2.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f3.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f21.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f45.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f113.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f32.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f33.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f26.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f27.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f131.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f132.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f105.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f58.js";function G(){const o=d(n=>n.language),{chatOpenHorizontalFuncs:s,setChatOpenHorizontalFuncs:e,chatOpenVerticalFuncs:c,setChatOpenVerticalFuncs:r}=m(u(n=>({chatOpenHorizontalFuncs:n.chatOpenHorizontalFuncs,setChatOpenHorizontalFuncs:n.setChatOpenHorizontalFuncs,chatOpenVerticalFuncs:n.chatOpenVerticalFuncs,setChatOpenVerticalFuncs:n.setChatOpenVerticalFuncs})));return a.jsxs("div",{children:[a.jsx(p,{children:o.func_menu_chat}),a.jsx(l,{size:"16px",children:o.func_menu_des}),a.jsxs("div",{className:"flex flex-col gap-1 pt-6 overflow-y-auto",style:{maxHeight:"calc(-110px + 100vh)"},children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:o.func_horizontal}),x().map(n=>!n.disabled&&a.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:t=>{t.stopPropagation(),n.function(t)},text_open:o.open,switch_state:s[n.id],switch_update:()=>e(n.id)},n.id))]}),a.jsx("hr",{className:"my-4"}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:o.func_vertical}),h().map(n=>!n.disabled&&a.jsx(i,{id:n.id,name:n.name,icon:n.icon,onClick:t=>n.function(t),text_open:o.open,switch_state:c[n.id],switch_update:()=>r(n.id)},n.id))]})]})]})}export{G as default};
