//>>built
define("dojox/app/widgets/Container","dojo/_base/declare dojo/_base/lang dijit/registry dojo/dom-attr dojo/dom-geometry dojo/dom-style dijit/_WidgetBase dijit/_Container dijit/_Contained dojo/_base/array dojo/query ../utils/layout ./_ScrollableMixin".split(" "),function(n,l,p,k,d,e,q,r,t,u,v,w,x){return n("dojox.app.widgets.Container",[q,r,t,x],{scrollable:!1,fixedFooter:"",fixedHeader:"",buildRendering:function(){this._constraint||(this._constraint="center",k.set(this.srcNodeRef,"data-app-constraint",
"center"));this.inherited(arguments);e.set(this.domNode,"overflow-x","hidden");e.set(this.domNode,"overflow-y","auto");this.scrollable&&(this.inherited(arguments),this.domNode.style.position="absolute",this.domNode.style.width="100%",this.domNode.style.height="100%")},startup:function(){this._started||(this.scrollable&&this.inherited(arguments),this._started=!0)},resize:function(f,b){var a=this.domNode;if(this.scrollable)this.inherited(arguments);else{f&&d.setMarginBox(a,f);var c=b||{};l.mixin(c,
f||{});"h"in c&&"w"in c||(c=l.mixin(d.getMarginBox(a),c));var g=e.getComputedStyle(a),h=d.getMarginExtents(a,g),m=d.getBorderExtents(a,g);c=this._borderBox={w:c.w-(h.w+m.w),h:c.h-(h.h+m.h)};h=d.getPadExtents(a,g);this._contentBox={l:e.toPixelValue(a,g.paddingLeft),t:e.toPixelValue(a,g.paddingTop),w:c.w-h.w,h:c.h-h.h}}this.layout()},layout:function(){var f=v("\x3e [data-app-constraint]",this.domNode).map(function(b){var a=p.getEnclosingWidget(b);return a?(a._constraint=k.get(b,"data-app-constraint"),
a):{domNode:b,_constraint:k.get(b,"data-app-constraint")}});this._contentBox&&w.layoutChildren(this.domNode,this._contentBox,f);u.forEach(this.getChildren(),function(b){!b._started&&b.startup&&b.startup()})}})});