import{j as e,X as m,a2 as l,b5 as c,a3 as d}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b710.js";import{K as p,q as x}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b723.js";import{u}from"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b719.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b718.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b76.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b74.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b7.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b78.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b75.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b77.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b79.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b72.js";import"./v_7_4_2_16_364f475f-21c1-4d89-bf17-70efc8c405b73.js";function P(){const{menuContent:t,setMenuContent:i,assinatura:r,setAssinatura:o}=p(),{close:n}=x(),{language:s}=u();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=>i("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=>o("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=>o("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(c,{fill:"currentColor",className:"h-4 w-4 opacity-70"}),e.jsx("input",{type:"text",placeholder:s.insiraNomeAss,value:r.nome,onChange:a=>o("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=>i("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(d,{name:s.closeMenuLateral,funcao:()=>{n(),i("children","close")}})})]})}export{P as default};

