cordova.define("cordova-plugin-statusbar.statusbar",function(require,exports,module){var exec=require("cordova/exec"),namedColors={black:"#000000",darkGray:"#A9A9A9",lightGray:"#D3D3D3",white:"#FFFFFF",gray:"#808080",red:"#FF0000",green:"#00FF00",blue:"#0000FF",cyan:"#00FFFF",yellow:"#FFFF00",magenta:"#FF00FF",orange:"#FFA500",purple:"#800080",brown:"#A52A2A"},StatusBar={isVisible:!0,overlaysWebView:function(doOverlay){exec(null,null,"StatusBar","overlaysWebView",[doOverlay])},styleDefault:function(){exec(null,null,"StatusBar","styleDefault",[])},styleLightContent:function(){exec(null,null,"StatusBar","styleLightContent",[])},styleBlackTranslucent:function(){exec(null,null,"StatusBar","styleBlackTranslucent",[])},styleBlackOpaque:function(){exec(null,null,"StatusBar","styleBlackOpaque",[])},backgroundColorByName:function(colorname){return StatusBar.backgroundColorByHexString(namedColors[colorname])},backgroundColorByHexString:function(hexString){if("#"!==hexString.charAt(0)&&(hexString="#"+hexString),4===hexString.length){var split=hexString.split("");hexString="#"+split[1]+split[1]+split[2]+split[2]+split[3]+split[3]}exec(null,null,"StatusBar","backgroundColorByHexString",[hexString])},hide:function(){exec(null,null,"StatusBar","hide",[]),StatusBar.isVisible=!1},show:function(){exec(null,null,"StatusBar","show",[]),StatusBar.isVisible=!0}};window.setTimeout(function(){exec(function(res){"object"==typeof res?"tap"==res.type&&cordova.fireWindowEvent("statusTap"):StatusBar.isVisible=res},null,"StatusBar","_ready",[])},0),module.exports=StatusBar});