import{i as o,b1 as t}from"./page_layout.js?v=1753954525509";import"./public.js?v=1753954525509";const{t:a}=o.global;function c(o){var c,s;const n=t();let e="--";switch(o.db_type){case 0:e=a("Database.tools.index_67");break;case 1:e="".concat(a("Database.tools.index_68")," (").concat((null==(c=o.conn_config)?void 0:c.db_host)||"",":").concat((null==(s=o.conn_config)?void 0:s.db_port)||"",")");break;case 2:for(let t=0;t<n.remoteList.length;t++){const c=n.remoteList[t];if(c.id===o.sid){e=""!==c.ps?c.ps:"".concat(a("Database.tools.index_68")," (").concat(c.db_host,":").concat(c.db_port,")");break}}}return e}export{c as g};
