console.log("nebula#~ sidebarMiddleClick.js"),document.addEventListener("DOMContentLoaded",()=>{document.getElementById("sidebarMainHome").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/"))}),document.getElementById("sidebarMainAccount").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/account"))}),document.getElementById("sidebarServerTerminal").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()))}),document.getElementById("sidebarServerFilemanager").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/files"))}),document.getElementById("sidebarServerDatabases").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/databases"))}),document.getElementById("sidebarServerSchedules").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/schedules"))}),document.getElementById("sidebarServerUsers").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/users"))}),document.getElementById("sidebarServerBackups").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/backups"))}),document.getElementById("sidebarServerNetwork").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/network"))}),document.getElementById("sidebarServerStartup").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/startup"))}),document.getElementById("sidebarServerSettings").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/settings"))}),document.getElementById("sidebarServerActivity").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/server/"+fetchServerId()+"/activity"))}),document.getElementById("sidebarAccountAccount").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/account"))}),document.getElementById("sidebarAccountApi").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/account/api"))}),document.getElementById("sidebarAccountSsh").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/account/ssh"))}),document.getElementById("sidebarAccountActivity").addEventListener("mouseup",function(e){(1===e.button||e.ctrlKey||e.metaKey)&&(e.preventDefault(),window.open(window.location.origin+"/account/activity"))})});