//>>built define("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(f,g,m,h,k,n){h=f("dojo.dnd.move.constrainedMoveable",n,{constraints:function(){},within:!1,constructor:function(c,a){a||(a={});this.constraints=a.constraints;this.within=a.within},onFirstMove:function(c){var a=this.constraintBox=this.constraints.call(this,c);a.r=a.l+a.w;a.b=a.t+a.h;this.within&&(c=g.getMarginSize(c.node),a.r-=c.w,a.b-=c.h)},onMove:function(c,a){var d=this.constraintBox,l=c.node.style; this.onMoving(c,a);a.l=a.l