import{j as r}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f.js";import{u as c}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f20.js";import{u as l}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f101.js";import{J as o,D as n,bE as d,Q as x}from"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f11.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f8.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f19.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f7.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f23.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f4.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f3.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f2.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f10.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f6.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f9.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f22.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f45.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f46.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f47.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f29.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f35.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f36.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f37.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f38.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f24.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f34.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f31.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f30.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f27.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f26.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f25.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f28.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f32.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f74.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f106.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f65.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f151.js";import"./v_7_4_3_7_e8fda66a-fa64-447c-bcdc-42ba13285e7f155.js";function k(){const{language:e}=c(),{keys:i,setActiveKey:s,setActiveMerge:m,formatBackup:a}=l(),p=i.map(t=>r.jsxs("div",{children:[r.jsx("label",{htmlFor:t.tag,children:r.jsxs("div",{className:"flex justify-between cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-9 px-1 py-2 rounded",children:[r.jsxs("div",{className:"flex align-center items-center m-2",children:[r.jsx("span",{className:"mr-2",children:t.icon}),r.jsx("span",{children:e[t.nome]})]}),r.jsx("div",{className:"pulse",children:r.jsx(o,{id:t.tag,switchUpdate:()=>s(t.tag,!t.checked),estado:t.checked})})]})}),t.checked&&!t.disabledMerge&&r.jsx("label",{htmlFor:"merge_"+t.tag,children:r.jsxs("div",{className:"flex justify-self-start cursor-pointer items-center hover:bg-[var(--dropdown-background-hover)] h-7 p-2 rounded",children:[r.jsx("div",{className:"flex align-center items-start m-2",children:r.jsx("span",{className:"text-sm",children:e.mergeData})}),r.jsx("div",{className:"pulse",children:r.jsx(o,{id:"merge_"+t.tag,switchUpdate:()=>m(t.tag,!t.merge),estado:t.merge,zoom:{zoom:"65%"}})})]})})]},t.tag));return r.jsxs("div",{className:"grid gap-5 w-[535px]",children:[r.jsx(n,{children:e.selectImportBackup}),r.jsx("div",{className:"flex flex-col gap-2 overflow-x-auto",style:{maxHeight:"calc(100vh - 250px)"},children:i.length>0?p:r.jsx(d,{})}),r.jsx(x,{name:e.importBk,funcao:a})]})}export{k as default};
