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