//>>built
require({cache:{"url:dojox/form/resources/FilePickerTextBox.html":'\x3cdiv class\x3d"dijit dijitReset dijitInlineTable dijitLeft"\n\tid\x3d"widget_${id}"\n\trole\x3d"combobox" tabIndex\x3d"-1"\n\t\x3e\x3cdiv style\x3d"overflow:hidden;"\n\t\t\x3e\x3cdiv class\x3d\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\'\n\t\t\tdojoAttachPoint\x3d"downArrowNode,_buttonNode,_popupStateNode" role\x3d"presentation"\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonInner"\x3e\x26thinsp;\x3c/div\n\t\t\t\x3e\x3cdiv class\x3d"dijitArrowButtonChar"\x3e\x26#9660;\x3c/div\n\t\t\x3e\x3c/div\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitValidationIcon"\x3e\x3cbr\x3e\x3c/div\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitValidationIconText"\x3e\x26Chi;\x3c/div\n\t\t\x3e\x3cdiv class\x3d"dijitReset dijitInputField"\n\t\t\t\x3e\x3cinput type\x3d"text" autocomplete\x3d"off" ${!nameAttrSetting} class\x3d\'dijitReset\'\n\t\t\t\tdojoAttachEvent\x3d\'onkeypress:_onKey\' \n\t\t\t\tdojoAttachPoint\x3d\'textbox,focusNode\' role\x3d"textbox" aria-haspopup\x3d"true" aria-autocomplete\x3d"list"\n\t\t/\x3e\x3c/div\n\t\x3e\x3c/div\n\x3e\x3c/div\x3e\n'}});
define("dojox/form/FilePickerTextBox","dojo/_base/lang dojo/_base/array dojo/_base/event dojo/window dijit/focus dijit/registry dijit/form/_TextBoxMixin dijit/form/ValidationTextBox dijit/_HasDropDown dojox/widget/FilePicker dojo/text!./resources/FilePickerTextBox.html dojo/_base/declare dojo/keys".split(" "),function(m,x,y,A,B,C,r,D,E,F,G,H,g){return H("dojox.form.FilePickerTextBox",[D,E],{baseClass:"dojoxFilePickerTextBox",templateString:G,searchDelay:500,valueItem:null,numPanes:2.25,postMixInProperties:function(){this.inherited(arguments);
this.dropDown=new F(this.constraints)},postCreate:function(){this.inherited(arguments);this.connect(this.dropDown,"onChange",this._onWidgetChange);this.connect(this.focusNode,"onblur","_focusBlur");this.connect(this.focusNode,"onfocus","_focusFocus");this.connect(this.focusNode,"ondblclick",function(){r.selectInputText(this.focusNode)})},_setValueAttr:function(a,c,b){if(!this._searchInProgress){this.inherited(arguments);a=a||"";var e=this.dropDown.get("pathValue")||"";a!==e&&(this._skip=!0,e=m.hitch(this,
"_setBlurValue"),this.dropDown._setPathValueAttr(a,!b,this._settingBlurValue?e:null))}},_onWidgetChange:function(a){if(!a&&this.focusNode.value)this._hasValidPath=!1,this.focusNode.value="";else{this.valueItem=a;if(a=this.dropDown._getPathValueAttr(a))this._hasValidPath=!0;this._skip||this._setValueAttr(a,void 0,!0);delete this._skip}this.validate()},startup:function(){this.dropDown._started||this.dropDown.startup();this.inherited(arguments)},openDropDown:function(){this.dropDown.domNode.style.width=
"0px";"minPaneWidth"in(this.constraints||{})||this.dropDown.set("minPaneWidth",this.domNode.offsetWidth/this.numPanes);this.inherited(arguments)},toggleDropDown:function(){this.inherited(arguments);this._opened&&this.dropDown.set("pathValue",this.get("value"))},_focusBlur:function(a){a.explicitOriginalTarget!=this.focusNode||this._allowBlur?this._menuFocus&&(this.dropDown._updateClass(this._menuFocus,"Item",{Hover:!1}),delete this._menuFocus):window.setTimeout(m.hitch(this,function(){this._allowBlur||
this.focus()}),1)},_focusFocus:function(a){this._menuFocus&&this.dropDown._updateClass(this._menuFocus,"Item",{Hover:!1});delete this._menuFocus;if(a=B.curNode)if(a=C.byNode(a))this._menuFocus=a.domNode;this._menuFocus&&this.dropDown._updateClass(this._menuFocus,"Item",{Hover:!0});delete this._allowBlur},_onBlur:function(){this._allowBlur=!0;delete this.dropDown._savedFocus;this.inherited(arguments)},_setBlurValue:function(){this.dropDown&&!this._settingBlurValue?(this._settingBlurValue=!0,this.set("value",
this.focusNode.value)):(delete this._settingBlurValue,this.inherited(arguments))},parse:function(a,c){if(this._hasValidPath||this._hasSelection)return a;var b=this.dropDown,e=b.topDir,n=b.pathSeparator;b=b.get("pathValue");var h=function(d){e.length&&0===d.indexOf(e)&&(d=d.substring(e.length));n&&d[d.length-1]==n&&(d=d.substring(0,d.length-1));return d};b=h(b);if(h(a)==b)return a},_startSearchFromInput:function(){var a=this.dropDown,c=this.focusNode,b=c.value,e=b,n=a.topDir;this._hasSelection&&r.selectInputText(c,
e.length);this._hasSelection=!1;n.length&&0===b.indexOf(n)&&(b=b.substring(n.length));var h=b.split(a.pathSeparator),d=m.hitch(this,function(k){var p=h[k],f=a.getChildren()[k],t;this._searchInProgress=!0;var w=m.hitch(this,function(){delete this._searchInProgress});!p&&!f||this._opened||this.toggleDropDown();if(p&&f){var z=m.hitch(this,function(){t&&this.disconnect(t);delete t;var l=f._menu.getChildren(),v=x.filter(l,function(u){return u.label==p})[0],q=x.filter(l,function(u){return 0===u.label.indexOf(p)})[0];
if(v&&(h.length>k+1&&v.children||!v.children))k++,f._menu.onItemClick(v,{type:"internal",stopPropagation:function(){},preventDefault:function(){}}),h[k]?d(k):w();else{f._setSelected(null);if(q&&h.length===k+1){a._setInProgress=!0;a._removeAfter(f);delete a._setInProgress;l=q.label;q.children&&(l+=a.pathSeparator);l=l.substring(p.length);window.setTimeout(function(){A.scrollIntoView(q.domNode)},1);c.value=e+l;r.selectInputText(c,e.length);this._hasSelection=!0;try{q.focusNode.focus()}catch(u){}}else this._menuFocus&&
this.dropDown._updateClass(this._menuFocus,"Item",{Hover:!1,Focus:!1}),delete this._menuFocus;w()}});f.isLoaded?z():t=this.connect(f,"onLoad",z)}else f&&(f._setSelected(null),a._setInProgress=!0,a._removeAfter(f),delete a._setInProgress),w()});d(0)},_onKey:function(a){if(!this.disabled&&!this.readOnly){var c=a.charOrCode;c==g.DOWN_ARROW&&(this._allowBlur=!0);if(c==g.ENTER&&this._opened)this.dropDown.onExecute(),r.selectInputText(this.focusNode,this.focusNode.value.length),this._hasSelection=!1,y.stop(a);
else if(c!=g.RIGHT_ARROW&&c!=g.LEFT_ARROW&&c!=g.TAB||!this._hasSelection){this.inherited(arguments);var b=!1;c!=g.BACKSPACE&&c!=g.DELETE||!this._hasSelection?b=c==g.BACKSPACE||c==g.DELETE||" "==c?!0:""!==a.keyChar:this._hasSelection=!1;this._searchTimer&&window.clearTimeout(this._searchTimer);delete this._searchTimer;b&&(this._hasSelection=this._hasValidPath=!1,this._searchTimer=window.setTimeout(m.hitch(this,"_startSearchFromInput"),this.searchDelay+1))}else this._startSearchFromInput(),y.stop(a)}}})});