import{w as s}from"./chunk-EVOBXE3Y-Bmgys8-c.js";import{j as e}from"./jsx-runtime-hUI6LOBV.js";import{I as o}from"./misc-BNcbB3dR.js";import{S as i}from"./tooltip-CoTdGGXz.js";import{L as d}from"./launch-editor-DiQgdwg7.js";import"./index-CFdT0RIo.js";import"./index-ZNADqOyW.js";import"./progress-bar-8MSIg-hJ.js";import"./pe-BRA_K7Pt.js";import"./root-loader-ByAKsmmv.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:"66e9b849450b819e11683314a547a341cb57f7d0"};var r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="127d44b7-f613-48a2-83df-99af762f3574",t._sentryDebugIdIdentifier="sentry-dbid-127d44b7-f613-48a2-83df-99af762f3574")}catch{}})();const y=s(function({loaderData:r}){const{db:n,filepath:a}=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:a,className:"flex max-w-full items-center gap-2",children:[e.jsx(i,{content:"Open the database file in your editor",children:e.jsx(o,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),e.jsx("span",{className:"truncate",title:a,children:a})]}),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(n,null,2)})]})});export{y as default};
//# sourceMappingURL=db-BfQcQqtF.js.map
