!function(){"use strict";function loadRequire(){var doc=document,script=doc.createElement("script"),src="./bower_components/alameda/alameda.js";self.dashboardVersion&&(src+="?v="+self.dashboardVersion),script.src=src,script.onload=loadApp,doc.head.appendChild(script)}function loadApp(){var doc=document,docElem=doc.documentElement,script=doc.createElement("script"),appMode=docElem.getAttribute("data-appmode");appMode&&(self.appMode=appMode);var src="./app.js";self.dashboardVersion?src+="?v="+self.dashboardVersion:appMode||(src+="?v="+(new Date).getTime()),script.src=src,doc.head.appendChild(script)}var version;(version=document.documentElement.getAttribute("data-appversion"))&&(self.dashboardVersion=version),function(){var doc,script,src;self.Promise&&-1===navigator.userAgent.toLowerCase().indexOf("web0s")?loadRequire():(script=(doc=document).createElement("script"),src="./modules/polyfills/native-promise-only.js",self.dashboardVersion&&(src+="?v="+self.dashboardVersion),script.onload=loadRequire,script.src=src,doc.head.appendChild(script))}()}();