define(["exports","./../modules/common/globalize.js","./../modules/tabbedview/tabbedview.js"],function(_exports,_globalize,_tabbedview){function LogsView(view,params){_tabbedview.default.apply(this,arguments)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(LogsView.prototype,_tabbedview.default.prototype),LogsView.prototype.getMode=function(){return-1===window.location.href.toString().toLowerCase().indexOf("applog")?"server":"app"},LogsView.prototype.getTabs=function(){return[{name:_globalize.default.translate("Logs"),id:"logs"},{name:_globalize.default.translate("Settings"),id:"serverlogsettings",enabled:"server"===this.getMode()},{name:_globalize.default.translate("Settings"),id:"applogsettings",enabled:"app"===this.getMode()}]},LogsView.prototype.loadTabController=function(id){return Emby.importModule("./logs/"+id+"tab.js")};_exports.default=LogsView});