//>>built
define("dojox/app/utils/constraints",["dojo/_base/array"],function(k){var h=[];return{getSelectedChild:function(a,b){var c=typeof b;c="string"==c||"number"==c?b:b.__hash;return a&&a.selectedChildren&&a.selectedChildren[c]?a.selectedChildren[c]:null},setSelectedChild:function(a,b,c){var d=typeof b;a.selectedChildren["string"==d||"number"==d?b:b.__hash]=c},getAllSelectedChildren:function(a,b){b=b||[];if(a&&a.selectedChildren)for(var c in a.selectedChildren)if(a.selectedChildren[c]){var d=a.selectedChildren[c];
b.push(d);this.getAllSelectedChildren(d,b)}return b},register:function(a){var b=typeof a;if(!a.__hash&&"string"!=b&&"number"!=b){var c=null;k.some(h,function(f){var g=!0,e;for(e in f)if("_"!==e.charAt(0)&&f[e]!=a[e]){g=!1;break}1==g&&(c=f);return g});if(c)a.__hash=c.__hash;else{b="";for(var d in a)"_"!==d.charAt(0)&&(b+=a[d]);a.__hash=b;h.push(a)}}}}});