import{w as s}from"./chunk-EPOLDU6W-BCLmut3y.js";import{j as e}from"./jsx-runtime-C5WNSv3b.js";import{I as a}from"./misc-W4055b-0.js";import{S as i}from"./tooltip-Tlsyx2YO.js";import{L as n}from"./launch-editor-D2exGfVu.js";import"./index-CqIc3cxq.js";import"./index-vDCSPjrM.js";import"./progress-bar-DpWhcyhC.js";import"./pe-CIZUOJMr.js";import"./root-loader-BOzEMapJ.js";const g=s(function({loaderData:r}){const{db:o,filepath:t}=r;return e.jsxs("main",{children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Database"}),e.jsx("div",{className:"prose mt-4",children:e.jsxs("callout-danger",{children:[e.jsx("strong",{children:"Warning:"})," Editing the database directly can corrupt your data. Be very careful!"]})}),e.jsxs(n,{file:t,className:"flex max-w-full items-center gap-2",children:[e.jsx(i,{content:"Open the database file in your editor",children:e.jsx(a,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),e.jsx("span",{className:"truncate",title:t,children:t})]}),e.jsx("pre",{className:"bg-muted text-foreground mt-4 max-h-[400px] w-full overflow-auto rounded border p-4 text-sm",children:JSON.stringify(o,null,2)})]})});export{g as default};
//# sourceMappingURL=db-DAnX-T3_.js.map
