//>>built
require({cache:{"url:dojox/widget/UpgradeBar/UpgradeBar.html":'\x3cdiv class\x3d"dojoxUpgradeBar"\x3e\n\t\x3cdiv class\x3d"dojoxUpgradeBarMessage" dojoAttachPoint\x3d"messageNode"\x3emessage\x3c/div\x3e\n\t\x3cdiv class\x3d"dojoxUpgradeBarReminderButton" dojoAttachPoint\x3d"dontRemindButtonNode" dojoAttachEvent\x3d"onclick:_onDontRemindClick"\x3e${noRemindButton}\x3c/div\x3e\n\t\x3cspan dojoAttachPoint\x3d"closeButtonNode" class\x3d"dojoxUpgradeBarCloseIcon" dojoAttachEvent\x3d"onclick: hide, onmouseenter: _onCloseEnter, onmouseleave: _onCloseLeave" title\x3d"${buttonCancel}"\x3e\x3c/span\x3e\n\x3c/div\x3e'}});
define("dojox/widget/UpgradeBar","dojo/_base/kernel dojo/_base/array dojo/_base/connect dojo/_base/declare dojo/_base/fx dojo/_base/lang dojo/_base/sniff dojo/_base/window dojo/dom-attr dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dojo/cookie dojo/domReady dojo/fx dojo/window dijit/_WidgetBase dijit/_TemplatedMixin dojo/text!./UpgradeBar/UpgradeBar.html".split(" "),function(g,p,q,r,e,h,t,f,u,k,v,w,b,l,x,m,y,z,A,B){g.experimental("dojox.widget.UpgradeBar");return r("dojox.widget.UpgradeBar",
[z,A],{notifications:[],buttonCancel:"Close for now",noRemindButton:"Don't Remind Me Again",templateString:B,constructor:function(a,c){!a.notifications&&c&&p.forEach(c.childNodes,function(d){if(1==d.nodeType){var C=u.get(d,"validate");this.notifications.push({message:d.innerHTML,validate:function(){var n=!0;try{n=g.eval(C)}catch(D){}return n}})}},this)},checkNotifications:function(){if(this.notifications.length)for(var a=0;a<this.notifications.length;a++)if(this.notifications[a].validate()){this.notify(this.notifications[a].message);
break}},postCreate:function(){this.inherited(arguments);this.domNode.parentNode&&b.set(this.domNode,"display","none");h.mixin(this.attributeMap,{message:{node:"messageNode",type:"innerHTML"}});this.noRemindButton||v.destroy(this.dontRemindButtonNode);if(6==t("ie")){var a=this,c=function(){var d=y.getBox();b.set(a.domNode,"width",d.w+"px")};this.connect(window,"resize",function(){c()});c()}x(h.hitch(this,"checkNotifications"))},notify:function(a){l("disableUpgradeReminders")||(this.domNode.parentNode&&
this.domNode.parentNode.innerHTML||document.body.appendChild(this.domNode),b.set(this.domNode,"display",""),a&&this.set("message",a))},show:function(){this._bodyMarginTop=b.get(f.body(),"marginTop");this._size=w.getContentBox(this.domNode).h;b.set(this.domNode,{display:"block",height:0,opacity:0});this._showAnim||(this._showAnim=m.combine([e.animateProperty({node:f.body(),duration:500,properties:{marginTop:this._bodyMarginTop+this._size}}),e.animateProperty({node:this.domNode,duration:500,properties:{height:this._size,
opacity:1}})]));this._showAnim.play()},hide:function(){this._hideAnim||(this._hideAnim=m.combine([e.animateProperty({node:f.body(),duration:500,properties:{marginTop:this._bodyMarginTop}}),e.animateProperty({node:this.domNode,duration:500,properties:{height:0,opacity:0}})]),q.connect(this._hideAnim,"onEnd",this,function(){b.set(this.domNode,{display:"none",opacity:1})}));this._hideAnim.play()},_onDontRemindClick:function(){l("disableUpgradeReminders",!0,{expires:3650});this.hide()},_onCloseEnter:function(){k.add(this.closeButtonNode,
"dojoxUpgradeBarCloseIcon-hover")},_onCloseLeave:function(){k.remove(this.closeButtonNode,"dojoxUpgradeBarCloseIcon-hover")}})});