//>>built define("dojox/mvc/Generate",["dojo/_base/array","dojo/_base/lang","dojo/_base/declare","./_Container","./at","./Group","dijit/form/TextBox"],function(_1,_2,_3,_4,at){ return _3("dojox.mvc.Generate",[_4],{_counter:0,_defaultWidgetMapping:{"String":"dijit/form/TextBox"},_defaultClassMapping:{"Label":"generate-label-cell","String":"generate-dijit-cell","Heading":"generate-heading","Row":"row"},_defaultIdNameMapping:{"String":"textbox_t"},children:null,_relTargetProp:"children",startup:function(){ this.inherited(arguments); this._setChildrenAttr(this.children); },_setChildrenAttr:function(_5){ var _6=this.children; this._set("children",_5); if(this.binding!=_5){ this.set("ref",_5); } if(this._started&&(!this._builtOnce||_6!=_5)){ this._builtOnce=true; this._buildContained(_5); } },_buildContained:function(_7){ if(!_7){ return; } this._destroyBody(); this._counter=0; this.srcNodeRef.innerHTML=this._generateBody(_7); this._createBody(); },_generateBody:function(_8,_9){ if(_8===void 0){ return ""; } var _a=[]; var _b=_2.isFunction(_8.toPlainObject); function _c(_d,_e){ if(_b?(_d&&_2.isFunction(_d.toPlainObject)):!_2.isFunction(_d)){ if(_2.isArray(_d)){ _a.push(this._generateRepeat(_d,_e)); }else{ if(_b?_d.value:((_d==null||{}.toString.call(_d)!="[object Object]")&&(!(_d||{}).set||!(_d||{}).watch))){ _a.push(this._generateTextBox(_e,_b)); }else{ _a.push(this._generateGroup(_d,_e,_9)); } } } }; if(_2.isArray(_8)){ _1.forEach(_8,_c,this); }else{ for(var s in _8){ if(_8.hasOwnProperty(s)){ _c.call(this,_8[s],s); } } } return _a.join(""); },_generateRepeat:function(_f,_10){ var _11=(this.classMapping&&this.classMapping["Heading"])?this.classMapping["Heading"]:this._defaultClassMapping["Heading"]; return "