import{w as n}from"./chunk-UIGDSWPH-C8mvmDRm.js";import{j as e}from"./jsx-runtime-CbGirg_M.js";import{I as a}from"./misc-D4V-U9nd.js";import{S as s}from"./tooltip-DpaM3OdK.js";import{L as l}from"./launch-editor-BRoJyd9c.js";import"./index-BoRhKTB8.js";import"./index-BJDrpBtR.js";import"./progress-bar-DOQwgoY5.js";import"./pe-D6_3VIe8.js";import"./root-loader-AwLG1D86.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"28ce3948dcef68c9e8b5be7c5619a3bd17c18150"}}catch{}})();const j=n(function({loaderData:r}){const{db:i,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(l,{file:t,className:"flex max-w-full items-center gap-2",children:[e.jsx(s,{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(i,null,2)})]})});export{j as default};
//# sourceMappingURL=db-ZxTHSLSZ.js.map
