//>>built define(["dijit","dojo","dojox","dojo/require!dojo/window,dojo/fx,dojo/cookie,dijit/_Widget,dijit/_Templated"],function(_1,_2,_3){ _2.provide("dojox.widget.UpgradeBar"); _2.require("dojo.window"); _2.require("dojo.fx"); _2.require("dojo.cookie"); _2.require("dijit._Widget"); _2.require("dijit._Templated"); _2.experimental("dojox.widget.UpgradeBar"); _2.declare("dojox.widget.UpgradeBar",[_1._Widget,_1._Templated],{notifications:[],buttonCancel:"Close for now",noRemindButton:"Don't Remind Me Again",templateString:_2.cache("dojox.widget","UpgradeBar/UpgradeBar.html","
\n\t
message
\n\t
${noRemindButton}
\n\t\n
"),constructor:function(_4,_5){ if(!_4.notifications&&_5){ _2.forEach(_5.childNodes,function(n){ if(n.nodeType==1){ var _6=_2.attr(n,"validate"); this.notifications.push({message:n.innerHTML,validate:function(){ var _7=true; try{ _7=_2.eval(_6); } catch(e){ } return _7; }}); } },this); } },checkNotifications:function(){ if(!this.notifications.length){ return; } for(var i=0;i