import{w as s}from"./chunk-UIGDSWPH-BWkP6tD5.js";import{j as t}from"./jsx-runtime-C5WNSv3b.js";import{I as i}from"./misc-BapXpylh.js";import{S as o}from"./tooltip-C2AQeNhD.js";import{L as n}from"./launch-editor-dGpSXAZC.js";import"./index-Az39ZADK.js";import"./index-CjiomtK6.js";import"./progress-bar-D66irkpP.js";import"./pe-Bs-DFNma.js";import"./root-loader-C5P2c7MU.js";const g=s(function({loaderData:r}){const{db:a,filepath:e}=r;return t.jsxs("main",{children:[t.jsx("h1",{className:"text-2xl font-bold",children:"Database"}),t.jsx("div",{className:"prose mt-4",children:t.jsxs("callout-danger",{children:[t.jsx("strong",{children:"Warning:"})," Editing the database directly can corrupt your data. Be very careful!"]})}),t.jsxs(n,{file:e,className:"flex max-w-full items-center gap-2",children:[t.jsx(o,{content:"Open the database file in your editor",children:t.jsx(i,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),t.jsx("span",{className:"truncate",title:e,children:e})]}),t.jsx("pre",{className:"mt-4 max-h-[400px] w-full overflow-auto rounded border bg-gray-900 p-4 text-sm text-white",children:JSON.stringify(a,null,2)})]})});export{g as default};
//# sourceMappingURL=db-Cz1Kn0kj.js.map
