import{j as a,Y as p,a2 as l,b9 as i}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d610.js";import{u}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d661.js";import{u as d}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d619.js";import{u as m}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6130.js";import{R as h}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d676.js";import{R as x}from"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6135.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d618.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d66.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d64.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d68.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d65.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d67.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d623.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d69.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d62.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d63.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d621.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d645.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6113.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d632.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d633.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d626.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d627.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6131.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6132.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d6105.js";import"./v_7_4_2_23_80f0be4c-2624-48ff-84de-a733d033e3d658.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};
