define(["exports","./../modules/emby-apiclient/connectionmanager.js","./../modules/viewmanager/baseview.js","./../modules/sync/syncjoblist.js"],function(_exports,_connectionmanager,_baseview,_syncjoblist){function View(view,params){_baseview.default.apply(this,arguments);var apiClient=_connectionmanager.default.currentApiClient();this.mySyncJobList=new _syncjoblist.default({mode:"download",serverId:apiClient.serverId(),userId:null,element:view.querySelector(".syncActivity")})}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(View.prototype,_baseview.default.prototype),View.prototype.destroy=function(){_baseview.default.prototype.destroy.apply(this,arguments);var mySyncJobList=this.mySyncJobList;mySyncJobList&&(mySyncJobList.destroy(),this.mySyncJobList=null)},_exports.default=View});