(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78317,e=>{"use strict";var r=e.i(90795),s=e.i(12283),t=e.i(70932);function a(){let{hasDatabases:e,drizzleGatewayUrl:a}=(0,s.useDevState)(),{resolvedTheme:d}=(0,t.useTheme)();return(0,r.jsx)("main",{className:"flex-1 overflow-hidden",children:e&&a?(0,r.jsx)("iframe",{src:a,className:"w-full h-full border-0",style:{colorScheme:"dark"===d?"dark":"light"},title:"Database Viewer"}):(0,r.jsx)("div",{className:"p-6",children:(0,r.jsxs)("div",{className:"p-6 rounded-lg bg-card border border-border text-center",children:[(0,r.jsx)("p",{className:"text-muted-foreground",children:"No databases configured."}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Add a postgres block to your specific.hcl to use the database viewer."})]})})})}e.s(["default",()=>a])}]);