import{j as e,X as m,a2 as l,b5 as c,a3 as d}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578110.js";import{K as p,q as x}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578123.js";import{u}from"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578119.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd94578118.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457816.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457814.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd945781.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457818.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457815.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457817.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457819.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457812.js";import"./v_7_4_2_19_142f09de-58e9-4005-bc9b-6e38dd9457813.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};
