import{j as e}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a71.js";import{K as m,q as c}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7124.js";import{u as d}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7120.js";import{Q as p,a0 as l,b3 as x,a1 as u}from"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7111.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a717.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a719.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a716.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a718.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7119.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a714.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a713.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a712.js";import"./v_7_4_2_28_54378c94-eda0-47d4-8f59-c666edac6a7110.js";function P(){const{menuContent:t,setMenuContent:o,assinatura:r,setAssinatura:i}=m(),{close:n}=c(),{language:s}=d();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(p,{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(x,{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(u,{name:s.closeMenuLateral,funcao:()=>{n(),o("children","close")}})})]})}export{P as default};
