//>>built
define("dijit/form/_RadioButtonMixin","dojo/_base/array dojo/_base/declare dojo/dom-attr dojo/_base/lang dojo/query!css2 ../registry".split(" "),function(e,g,h,f,k,l){return g("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var a=[];k("input[type\x3dradio]",this.focusNode.form||this.ownerDocument).forEach(f.hitch(this,function(b){b.name==this.name&&b.form==this.focusNode.form&&(b=l.getEnclosingWidget(b))&&a.push(b)}));return a},_setCheckedAttr:function(a){this.inherited(arguments);
this._created&&a&&e.forEach(this._getRelatedWidgets(),f.hitch(this,function(b){b!=this&&b.checked&&b.set("checked",!1)}))},_getSubmitValue:function(a){return null==a?"on":a},_onClick:function(a){if(this.checked||this.disabled)return a.stopPropagation(),a.preventDefault(),!1;if(this.readOnly)return a.stopPropagation(),a.preventDefault(),e.forEach(this._getRelatedWidgets(),f.hitch(this,function(d){h.set(this.focusNode||this.domNode,"checked",d.checked)})),!1;var b=!1,c;e.some(this._getRelatedWidgets(),
function(d){return d.checked?(c=d,!0):!1});this.checked=!0;c&&(c.checked=!1);if(!1===this.onClick(a)||a.defaultPrevented)b=!0;this.checked=!1;c&&(c.checked=!0);b?a.preventDefault():this.set("checked",!0);return!b}})});