import{j as r,a2 as i,X as c,bz as l,a4 as n}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{u as d}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import{u as x}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f100.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f21.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f45.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f31.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f36.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f37.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f38.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f39.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f25.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f35.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f33.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f32.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f27.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f29.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f28.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f26.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f30.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f34.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f70.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f104.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f150.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f154.js";function Z(){const{language:e}=d(),{keys:s,setActiveKey:o,setActiveMerge:a,formatBackup:m}=x(),p=s.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(i,{id:t.tag,switchUpdate:()=>o(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(i,{id:"merge_"+t.tag,switchUpdate:()=>a(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(c,{children:e.selectImportBackup}),r.jsx("div",{className:"flex flex-col gap-2 overflow-x-auto",style:{maxHeight:"calc(100vh - 250px)"},children:s.length>0?p:r.jsx(l,{})}),r.jsx(n,{name:e.importBk,funcao:m})]})}export{Z as default};
