import{aL as o,i as t}from"./page_layout.js?v=1764830988434";import"./public.js?v=1764830988434";const{t:a}=t.global;function c(t){var c,s;const n=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==(s=t.conn_config)?void 0:s.db_port)||"",")");break;case 2:for(let o=0;o<n.remoteList.length;o++){const c=n.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};
