import{j as e,V as m,a0 as l,a1 as c}from"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e410.js";import{K as d,q as p}from"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e423.js";import{u as x}from"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e419.js";import{h as u}from"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e440.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e418.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e46.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e48.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e44.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e4.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e45.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e47.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e49.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e42.js";import"./v_7_4_2_14_b047d88c-9af4-4a49-a965-946ffe7780e43.js";function k(){const{menuContent:t,setMenuContent:o,assinatura:r,setAssinatura:i}=d(),{close:n}=p(),{language:s}=x();return e.jsxs("div",{className:"w-[25rem] pt-3 px-3 grid gap-2 overflow-y-auto",style:{maxHeight:"calc(100vh - 105px)"},children:[e.jsx(m,{children:s.menuLateralConfig}),e.jsx("div",{children:e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"monitorActions",children:[e.jsx("span",{children:s.monitorSendDisabled}),e.jsx(l,{id:"monitorActions",estado:t.desactiveMonitorEnv,switchUpdate:a=>o("desactiveMonitorEnv",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]})}),e.jsxs("div",{className:"flex flex-col gap-2 pt-2 pb-2",children:[e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"desativarAss",children:[e.jsx("span",{children:s.desativarAss}),e.jsx(l,{id:"desativarAss",estado:r.desativar,switchUpdate:a=>i("desativar",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"label !p-0 max-w-full",htmlFor:"persAss",children:[e.jsx("span",{children:s.personalizarNomeAss}),e.jsx(l,{id:"persAss",estado:r.personalizar,switchUpdate:a=>i("personalizar",a.target.checked),corPrimaria:!0,zoom:{zoom:"85%"}})]}),r.personalizar&&e.jsxs("label",{className:"input input-bordered border border-solid input-sm flex items-center gap-2 w-full max-w-full mt-1",children:[e.jsx(u,{fill:"currentColor",className:"h-4 w-4 opacity-70"}),e.jsx("input",{type:"text",placeholder:s.insiraNomeAss,value:r.nome,onChange:a=>i("nome",a.target.value),className:"grow"})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-1 px-1 py-2",children:[e.jsxs("span",{children:[s.tamMenuLateral,": ",e.jsxs("strong",{children:[t.width," px"]})]}),e.jsx("input",{type:"range",min:280,max:600,value:t.width,onChange:a=>o("width",a.target.value),className:"range range-xs [--range-shdw:var(--primaria)]"})]}),e.jsx("div",{className:"text-center px-1 py-2",children:e.jsx(c,{name:s.closeMenuLateral,funcao:()=>{n(),o("children","close")}})})]})}export{k as default};
