define(["exports","./../emby-apiclient/connectionmanager.js","./../common/appsettings.js"],function(_exports,_connectionmanager,_appsettings){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var isSyncing,localSync={sync:function(options){return console.log("localSync.sync starting..."),isSyncing?Promise.resolve():(isSyncing=!0,new Promise(function(resolve,reject){require(["multiserversync"],function(MultiServerSync){(options=options||{}).cameraUploadServers=_appsettings.default.cameraUploadServers(),(new MultiServerSync).sync(_connectionmanager.default,options).then(function(){isSyncing=null,resolve()},function(err){isSyncing=null,reject(err)})})}))},setProgressUpdatesEnabled:function(enabled){}};_exports.default=localSync});