import{w as o}from"./chunk-JZWAC4HX-5kJHQiQ9.js";import{j as e}from"./jsx-runtime-C4_65a1U.js";import{I as i}from"./misc-DRDyxdMg.js";import{S as a}from"./tooltip-mkBMB3mq.js";import{L as d}from"./launch-editor-CwyOLU4S.js";import"./index-B9zr-vzA.js";import"./index-BzPxupzT.js";import"./progress-bar-BwLqNk15.js";import"./pe-P58jSSsB.js";import"./root-loader-Cnwtpb_k.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8a6db0ac5fe78363b0c97fe458a96ce773bf357c"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="bc9ed4e6-4e07-48d7-8e33-47925e4bbf28",t._sentryDebugIdIdentifier="sentry-dbid-bc9ed4e6-4e07-48d7-8e33-47925e4bbf28")}catch{}})();const y=o(function({loaderData:r}){const{db:s,filepath:n}=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(d,{file:n,className:"flex max-w-full items-center gap-2",children:[e.jsx(a,{content:"Open the database file in your editor",children:e.jsx(i,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),e.jsx("span",{className:"truncate",title:n,children:n})]}),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(s,null,2)})]})});export{y as default};
//# sourceMappingURL=db-DJhvl9sk.js.map
