import{w as a}from"./chunk-UIGDSWPH-1hkfewjj.js";import{j as e}from"./jsx-runtime-agliiQSw.js";import{I as n}from"./misc-CJRwnByf.js";import{S as s}from"./tooltip-Dei6jwuV.js";import{L as l}from"./launch-editor-CXRQAcoM.js";import"./index-BtyHvDgk.js";import"./index-D93mqesT.js";import"./progress-bar-CF3aJM3k.js";import"./pe-jEPZ3eFB.js";import"./root-loader-CIAkTEfn.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"8bd8bc3153d70a1c10ccde8d38796bd67282553d"}}catch{}})();const j=a(function({loaderData:o}){const{db:r,filepath:t}=o;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(n,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),e.jsx("span",{className:"truncate",title:t,children:t})]}),e.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(r,null,2)})]})});export{j as default};
//# sourceMappingURL=db-ulkaB3jH.js.map
