//>>built
define("dojox/mobile/ScrollablePane","dojo/_base/array dojo/_base/declare dojo/sniff dojo/_base/window dojo/dom-construct dojo/dom-style ./common ./_ScrollableMixin ./Pane ./_maskUtils".split(" "),function(l,m,f,u,g,e,n,p,q,r){return m("dojox.mobile.ScrollablePane",[q,p],{roundCornerMask:!1,radius:0,baseClass:"mblScrollablePane",buildRendering:function(){var a=this.containerNode=g.create("div",{className:"mblScrollableViewContainer",style:{width:"v"===this.scrollDir?"100%":""}});this.inherited(arguments);
if(this.srcNodeRef)for(var b=0,c=this.srcNodeRef.childNodes.length;b<c;b++)this.containerNode.appendChild(this.srcNodeRef.firstChild);this.roundCornerMask&&f("mask-image")&&(a=this.containerNode,b=this.maskNode=g.create("div",{className:"mblScrollablePaneMask"}),b.appendChild(a),a=b);this.domNode.appendChild(a);n.setSelectable(this.containerNode,!1)},resize:function(){this.inherited(arguments);this.roundCornerMask&&this.createRoundMask();l.forEach(this.getChildren(),function(a){a.resize&&a.resize()})},
isTopLevel:function(a){a=this.getParent&&this.getParent();return!a||!a.resize},createRoundMask:function(){if(f("mask-image")&&0!=this.domNode.offsetHeight){this.maskNode.style.height=this.domNode.offsetHeight+"px";var a=this.getChildren()[0],b=this.containerNode;b=a?a.domNode:0<b.childNodes.length&&(1===b.childNodes[0].nodeType?b.childNodes[0]:b.childNodes[1]);var c=this.radius;if(!c){var d=function(t){return parseInt(e.get(t,"borderTopLeftRadius"))};a?(c=d(a.domNode),c||(c=(c=a.getChildren()[0])?
d(c.domNode):0)):c=d(b)}a=b.offsetWidth;d=this.domNode.offsetHeight;var h=e.get(b,"marginTop"),k=e.get(b,"marginBottom");b=e.get(b,"marginLeft");r.createRoundMask(this.maskNode,b,h,0,k,a,d-k-h,c,c)}}})});