define(["exports","./../modules/tabbedview/basetab.js","./../settings/userpasswordcontroller.js","./../modules/emby-apiclient/connectionmanager.js"],function(_exports,_basetab,_userpasswordcontroller,_connectionmanager){function PasswordTab(view,params,options){_basetab.default.apply(this,arguments);var apiClient=_connectionmanager.default.currentApiClient();this.userPasswordController=new _userpasswordcontroller.default(view,params,apiClient)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(PasswordTab.prototype,_basetab.default.prototype),PasswordTab.prototype.onResume=function(options){_basetab.default.prototype.onResume.apply(this,arguments),this.userPasswordController&&this.userPasswordController.resume(options)},PasswordTab.prototype.onPause=function(){_basetab.default.prototype.onPause.apply(this,arguments),this.userPasswordController&&this.userPasswordController.pause()},PasswordTab.prototype.destroy=function(){_basetab.default.prototype.destroy.apply(this,arguments),this.userPasswordController.destroy(),this.userPasswordController=null},_exports.default=PasswordTab});