tt-rss/lib/dojo/tt-rss-layer.js
2013-04-04 21:50:39 -04:00

15 lines
No EOL
425 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{"dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(_1){var _2=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),_3=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4=function(){var n=null,_5=arguments,_6=[_5[0]];for(var i=1;i<_5.length;i++){if(!_5[i]){continue;}var _7=new _4(_5[i]+""),_8=new _4(_6[0]+"");if(_7.path==""&&!_7.scheme&&!_7.authority&&!_7.query){if(_7.fragment!=n){_8.fragment=_7.fragment;}_7=_8;}else{if(!_7.scheme){_7.scheme=_8.scheme;if(!_7.authority){_7.authority=_8.authority;if(_7.path.charAt(0)!="/"){var _9=_8.path.substring(0,_8.path.lastIndexOf("/")+1)+_7.path;var _a=_9.split("/");for(var j=0;j<_a.length;j++){if(_a[j]=="."){if(j==_a.length-1){_a[j]="";}else{_a.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_a[0]=="")&&_a[j]==".."&&_a[j-1]!=".."){if(j==(_a.length-1)){_a.splice(j,1);_a[j-1]="";}else{_a.splice(j-1,2);j-=2;}}}}_7.path=_a.join("/");}}}}_6=[];if(_7.scheme){_6.push(_7.scheme,":");}if(_7.authority){_6.push("//",_7.authority);}_6.push(_7.path);if(_7.query){_6.push("?",_7.query);}if(_7.fragment){_6.push("#",_7.fragment);}}this.uri=_6.join("");var r=this.uri.match(_2);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(_3);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4.prototype.toString=function(){return this.uri;};return _1._Url=_4;});},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(_b){return _b.cache;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(_c,_d,_e,_f){var _10;if(1){_10=function(url,_11,_12){_f("GET",{url:url,sync:!!_11,load:_12,headers:_c.config.textPluginHeaders||{}});};}else{if(_d.getText){_10=_d.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={};_c.cache=function(_19,url,_1a){var key;if(typeof _19=="string"){if(/\//.test(_19)){key=_19;_1a=url;}else{key=_d.toUrl(_19.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_19+"";_1a=url;}var val=(_1a!=undefined&&typeof _1a!="string")?_1a.value:_1a,_1b=_1a&&_1a.sanitize;if(typeof val=="string"){_13[key]=val;return _1b?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_1c){_13[key]=_1c;});}return _1b?_14(_13[key]):_13[key];}}};return {dynamic:true,normalize:function(id,_1d){var _1e=id.split("!"),url=_1e[0];return (/^\./.test(url)?_1d(url):url)+(_1e[1]?"!"+_1e[1]:"");},load:function(id,_1f,_20){var _21=id.split("!"),_22=_21.length>1,_23=_21[0],url=_1f.toUrl(_21[0]),_24="url:"+url,_25=_17,_26=function(_27){_20(_22?_14(_27):_27);};if(_23 in _13){_25=_13[_23];}else{if(_24 in _1f.cache){_25=_1f.cache[_24];}else{if(url in _13){_25=_13[url];}}}if(_25===_17){if(_18[url]){_18[url].push(_26);}else{var _28=_18[url]=[_26];_10(url,!_1f.async,function(_29){_13[_23]=_13[url]=_29;for(var i=0;i<_28.length;){_28[i++](_29);}delete _18[url];});}}else{_26(_25);}}};});},"dojo/parser":function(){define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_2a,_2b,_2c,_2d,_2e,_2f,_30,_31,_32,_33,_34,_35,has,_36,don,_37){new Date("X");var _38=0;_33.after(_2c,"extend",function(){_38++;},true);function _39(_3a){var map=_3a._nameCaseMap,_3b=_3a.prototype;if(!map||map._extendCnt<_38){map=_3a._nameCaseMap={};for(var _3c in _3b){if(_3c.charAt(0)==="_"){continue;}map[_3c.toLowerCase()]=_3c;}map._extendCnt=_38;}return map;};var _3d={};function _3e(_3f){var ts=_3f.join();if(!_3d[ts]){var _40=[];for(var i=0,l=_3f.length;i<l;i++){var t=_3f[i];_40[_40.length]=(_3d[t]=_3d[t]||(_2c.getObject(t)||(~t.indexOf("/")&&_2a(t))));}var _41=_40.shift();_3d[ts]=_40.length?(_41.createSubclass?_41.createSubclass(_40):_41.extend.apply(_41,_40)):_41;}return _3d[ts];};var _42={_clearCache:function(){_38++;_3d={};},_functionFromScript:function(_43,_44){var _45="",_46="",_47=(_43.getAttribute(_44+"args")||_43.getAttribute("args")),_48=_43.getAttribute("with");var _49=(_47||"").split(/\s*,\s*/);if(_48&&_48.length){_2d.forEach(_48.split(/\s*,\s*/),function(_4a){_45+="with("+_4a+"){";_46+="}";});}return new Function(_49,_45+_43.innerHTML+_46);},instantiate:function(_4b,_4c,_4d){_4c=_4c||{};_4d=_4d||{};var _4e=(_4d.scope||_2b._scopeName)+"Type",_4f="data-"+(_4d.scope||_2b._scopeName)+"-",_50=_4f+"type",_51=_4f+"mixins";var _52=[];_2d.forEach(_4b,function(_53){var _54=_4e in _4c?_4c[_4e]:_53.getAttribute(_50)||_53.getAttribute(_4e);if(_54){var _55=_53.getAttribute(_51),_56=_55?[_54].concat(_55.split(/\s*,\s*/)):[_54];_52.push({node:_53,types:_56});}});return this._instantiate(_52,_4c,_4d);},_instantiate:function(_57,_58,_59){var _5a=_2d.map(_57,function(obj){var _5b=obj.ctor||_3e(obj.types);if(!_5b){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_5b,obj.node,_58,_59,obj.scripts,obj.inherited);},this);if(!_58._started&&!_59.noStart){_2d.forEach(_5a,function(_5c){if(typeof _5c.startup==="function"&&!_5c._started){_5c.startup();}});}return _5a;},construct:function(_5d,_5e,_5f,_60,_61,_62){var _63=_5d&&_5d.prototype;_60=_60||{};var _64={};if(_60.defaults){_2c.mixin(_64,_60.defaults);}if(_62){_2c.mixin(_64,_62);}var _65;if(has("dom-attributes-explicit")){_65=_5e.attributes;}else{if(has("dom-attributes-specified-flag")){_65=_2d.filter(_5e.attributes,function(a){return a.specified;});}else{var _66=/^input$|^img$/i.test(_5e.nodeName)?_5e:_5e.cloneNode(false),_67=_66.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_65=_2d.map(_67.split(/\s+/),function(_68){var _69=_68.toLowerCase();return {name:_68,value:(_5e.nodeName=="LI"&&_68=="value")||_69=="enctype"?_5e.getAttribute(_69):_5e.getAttributeNode(_69).value};});}}var _6a=_60.scope||_2b._scopeName,_6b="data-"+_6a+"-",_6c={};if(_6a!=="dojo"){_6c[_6b+"props"]="data-dojo-props";_6c[_6b+"type"]="data-dojo-type";_6c[_6b+"mixins"]="data-dojo-mixins";_6c[_6a+"type"]="dojoType";_6c[_6b+"id"]="data-dojo-id";}var i=0,_6d,_6e=[],_6f,_70;while(_6d=_65[i++]){var _71=_6d.name,_72=_71.toLowerCase(),_73=_6d.value;switch(_6c[_72]||_72){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_70=_73;break;case "data-dojo-id":case "jsid":_6f=_73;break;case "data-dojo-attach-point":case "dojoattachpoint":_64.dojoAttachPoint=_73;break;case "data-dojo-attach-event":case "dojoattachevent":_64.dojoAttachEvent=_73;break;case "class":_64["class"]=_5e.className;break;case "style":_64["style"]=_5e.style&&_5e.style.cssText;break;default:if(!(_71 in _63)){var map=_39(_5d);_71=map[_72]||_71;}if(_71 in _63){switch(typeof _63[_71]){case "string":_64[_71]=_73;break;case "number":_64[_71]=_73.length?Number(_73):NaN;break;case "boolean":_64[_71]=_73.toLowerCase()!="false";break;case "function":if(_73===""||_73.search(/[^\w\.]+/i)!=-1){_64[_71]=new Function(_73);}else{_64[_71]=_2c.getObject(_73,false)||new Function(_73);}_6e.push(_71);break;default:var _74=_63[_71];_64[_71]=(_74&&"length" in _74)?(_73?_73.split(/\s*,\s*/):[]):(_74 instanceof Date)?(_73==""?new Date(""):_73=="now"?new Date():_34.fromISOString(_73)):(_74 instanceof _31)?(_2b.baseUrl+_73):_32.fromJson(_73);}}else{_64[_71]=_73;}}}for(var j=0;j<_6e.length;j++){var _75=_6e[j].toLowerCase();_5e.removeAttribute(_75);_5e[_75]=null;}if(_70){try{_70=_32.fromJson.call(_60.propsThis,"{"+_70+"}");_2c.mixin(_64,_70);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_70+"'");}}_2c.mixin(_64,_5f);if(!_61){_61=(_5d&&(_5d._noScript||_63._noScript)?[]:_36("> script[type^='dojo/']",_5e));}var _76=[],_77=[],_78=[],ons=[];if(_61){for(i=0;i<_61.length;i++){var _79=_61[i];_5e.removeChild(_79);var _7a=(_79.getAttribute(_6b+"event")||_79.getAttribute("event")),_7b=_79.getAttribute(_6b+"prop"),_7c=_79.getAttribute(_6b+"method"),_7d=_79.getAttribute(_6b+"advice"),_7e=_79.getAttribute("type"),nf=this._functionFromScript(_79,_6b);if(_7a){if(_7e=="dojo/connect"){_76.push({method:_7a,func:nf});}else{if(_7e=="dojo/on"){ons.push({event:_7a,func:nf});}else{_64[_7a]=nf;}}}else{if(_7e=="dojo/aspect"){_76.push({method:_7c,advice:_7d,func:nf});}else{if(_7e=="dojo/watch"){_78.push({prop:_7b,func:nf});}else{_77.push(nf);}}}}}var _7f=_5d.markupFactory||_63.markupFactory;var _80=_7f?_7f(_64,_5e,_5d):new _5d(_64,_5e);if(_6f){_2c.setObject(_6f,_80);}for(i=0;i<_76.length;i++){_33[_76[i].advice||"after"](_80,_76[i].method,_2c.hitch(_80,_76[i].func),true);}for(i=0;i<_77.length;i++){_77[i].call(_80);}for(i=0;i<_78.length;i++){_80.watch(_78[i].prop,_78[i].func);}for(i=0;i<ons.length;i++){don(_80,ons[i].event,ons[i].func);}return _80;},scan:function(_81,_82){var _83=[],_84=[],_85={};var _86=(_82.scope||_2b._scopeName)+"Type",_87="data-"+(_82.scope||_2b._scopeName)+"-",_88=_87+"type",_89=_87+"textdir",_8a=_87+"mixins";var _8b=_81.firstChild;var _8c=_82.inherited;if(!_8c){function _8d(_8e,_8f){return (_8e.getAttribute&&_8e.getAttribute(_8f))||(_8e.parentNode&&_8d(_8e.parentNode,_8f));};_8c={dir:_8d(_81,"dir"),lang:_8d(_81,"lang"),textDir:_8d(_81,_89)};for(var key in _8c){if(!_8c[key]){delete _8c[key];}}}var _90={inherited:_8c};var _91;var _92;function _93(_94){if(!_94.inherited){_94.inherited={};var _95=_94.node,_96=_93(_94.parent);var _97={dir:_95.getAttribute("dir")||_96.dir,lang:_95.getAttribute("lang")||_96.lang,textDir:_95.getAttribute(_89)||_96.textDir};for(var key in _97){if(_97[key]){_94.inherited[key]=_97[key];}}}return _94.inherited;};while(true){if(!_8b){if(!_90||!_90.node){break;}_8b=_90.node.nextSibling;_92=false;_90=_90.parent;_91=_90.scripts;continue;}if(_8b.nodeType!=1){_8b=_8b.nextSibling;continue;}if(_91&&_8b.nodeName.toLowerCase()=="script"){_98=_8b.getAttribute("type");if(_98&&/^dojo\/\w/i.test(_98)){_91.push(_8b);}_8b=_8b.nextSibling;continue;}if(_92){_8b=_8b.nextSibling;continue;}var _98=_8b.getAttribute(_88)||_8b.getAttribute(_86);var _99=_8b.firstChild;if(!_98&&(!_99||(_99.nodeType==3&&!_99.nextSibling))){_8b=_8b.nextSibling;continue;}var _9a;var _9b=null;if(_98){var _9c=_8b.getAttribute(_8a),_9d=_9c?[_98].concat(_9c.split(/\s*,\s*/)):[_98];try{_9b=_3e(_9d);}catch(e){}if(!_9b){_2d.forEach(_9d,function(t){if(~t.indexOf("/")&&!_85[t]){_85[t]=true;_84[_84.length]=t;}});}var _9e=_9b&&!_9b.prototype._noScript?[]:null;_9a={types:_9d,ctor:_9b,parent:_90,node:_8b,scripts:_9e};_9a.inherited=_93(_9a);_83.push(_9a);}else{_9a={node:_8b,scripts:_91,parent:_90};}_8b=_99;_91=_9e;_92=_9b&&_9b.prototype.stopParser&&!(_82.template);_90=_9a;}var d=new _35();if(_84.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_84.join(", "));}_2a(_84,function(){d.resolve(_2d.filter(_83,function(_9f){if(!_9f.ctor){try{_9f.ctor=_3e(_9f.types);}catch(e){}}var _a0=_9f.parent;while(_a0&&!_a0.types){_a0=_a0.parent;}var _a1=_9f.ctor&&_9f.ctor.prototype;_9f.instantiateChildren=!(_a1&&_a1.stopParser&&!(_82.template));_9f.instantiate=!_a0||(_a0.instantiate&&_a0.instantiateChildren);return _9f.instantiate;}));});}else{d.resolve(_83);}return d.promise;},_require:function(_a2){var _a3=_32.fromJson("{"+_a2.innerHTML+"}"),_a4=[],_a5=[],d=new _35();for(var _a6 in _a3){_a4.push(_a6);_a5.push(_a3[_a6]);}_2a(_a5,function(){for(var i=0;i<_a4.length;i++){_2c.setObject(_a4[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_a7){var _a8=new _35(),_a9=_a8.promise;_a8.resolve(true);var _aa=this;_36("script[type='dojo/require']",_a7).forEach(function(_ab){_a9=_a9.then(function(){return _aa._require(_ab);});_ab.parentNode.removeChild(_ab);});return _a9;},parse:function(_ac,_ad){var _ae;if(!_ad&&_ac&&_ac.rootNode){_ad=_ac;_ae=_ad.rootNode;}else{if(_ac&&_2c.isObject(_ac)&&!("nodeType" in _ac)){_ad=_ac;}else{_ae=_ac;}}_ae=_ae?_2f.byId(_ae):_30.body();_ad=_ad||{};var _af=_ad.template?{template:true}:{},_b0=[],_b1=this;var p=this._scanAmd(_ae,_ad).then(function(){return _b1.scan(_ae,_ad);}).then(function(_b2){return _b0=_b0.concat(_b1._instantiate(_b2,_af,_ad));}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_2c.mixin(_b0,p);return _b0;}};if(1){_2b.parser=_42;}if(_2e.parseOnLoad){_37(100,_42,"parse");}return _42;});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/lang","../_base/array"],function(_b3,_b4){var _b5={};_b3.setObject("dojo.date.stamp",_b5);_b5.fromISOString=function(_b6,_b7){if(!_b5._isoRegExp){_b5._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _b8=_b5._isoRegExp.exec(_b6),_b9=null;if(_b8){_b8.shift();if(_b8[1]){_b8[1]--;}if(_b8[6]){_b8[6]*=1000;}if(_b7){_b7=new Date(_b7);_b4.forEach(_b4.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_ba){return _b7["get"+_ba]();}),function(_bb,_bc){_b8[_bc]=_b8[_bc]||_bb;});}_b9=new Date(_b8[0]||1970,_b8[1]||0,_b8[2]||1,_b8[3]||0,_b8[4]||0,_b8[5]||0,_b8[6]||0);if(_b8[0]<100){_b9.setFullYear(_b8[0]||1970);}var _bd=0,_be=_b8[7]&&_b8[7].charAt(0);if(_be!="Z"){_bd=((_b8[8]||0)*60)+(Number(_b8[9])||0);if(_be!="-"){_bd*=-1;}}if(_be){_bd-=_b9.getTimezoneOffset();}if(_bd){_b9.setTime(_b9.getTime()+_bd*60000);}}return _b9;};_b5.toISOString=function(_bf,_c0){var _c1=function(n){return (n<10)?"0"+n:n;};_c0=_c0||{};var _c2=[],_c3=_c0.zulu?"getUTC":"get",_c4="";if(_c0.selector!="time"){var _c5=_bf[_c3+"FullYear"]();_c4=["0000".substr((_c5+"").length)+_c5,_c1(_bf[_c3+"Month"]()+1),_c1(_bf[_c3+"Date"]())].join("-");}_c2.push(_c4);if(_c0.selector!="date"){var _c6=[_c1(_bf[_c3+"Hours"]()),_c1(_bf[_c3+"Minutes"]()),_c1(_bf[_c3+"Seconds"]())].join(":");var _c7=_bf[_c3+"Milliseconds"]();if(_c0.milliseconds){_c6+="."+(_c7<100?"0":"")+_c1(_c7);}if(_c0.zulu){_c6+="Z";}else{if(_c0.selector!="time"){var _c8=_bf.getTimezoneOffset();var _c9=Math.abs(_c8);_c6+=(_c8>0?"-":"+")+_c1(Math.floor(_c9/60))+":"+_c1(_c9%60);}}_c2.push(_c6);}return _c2.join("T");};return _b5;});},"dojo/data/ItemFileWriteStore":function(){define("dojo/data/ItemFileWriteStore",["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(_ca,_cb,_cc,_cd,_ce,_cf,_d0){return _cb("dojo.data.ItemFileWriteStore",_cf,{constructor:function(_d1){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _d0.toISOString(obj,{zulu:true});};}if(_d1&&(_d1.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_d2){if(!_d2){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_d3,_d4){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _d3!="object"&&typeof _d3!="undefined"){throw new Error("newItem() was passed something other than an object");}var _d5=null;var _d6=this._getIdentifierAttribute();if(_d6===Number){_d5=this._arrayOfAllItems.length;}else{_d5=_d3[_d6];if(typeof _d5==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_ca.isArray(_d5)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_d5]==="undefined");}this._assert(typeof this._pending._newItems[_d5]==="undefined");this._assert(typeof this._pending._deletedItems[_d5]==="undefined");var _d7={};_d7[this._storeRefPropName]=this;_d7[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_d5]=_d7;_d7[_d6]=[_d5];}this._arrayOfAllItems.push(_d7);var _d8=null;if(_d4&&_d4.parent&&_d4.attribute){_d8={item:_d4.parent,attribute:_d4.attribute,oldValue:undefined};var _d9=this.getValues(_d4.parent,_d4.attribute);if(_d9&&_d9.length>0){var _da=_d9.slice(0,_d9.length);if(_d9.length===1){_d8.oldValue=_d9[0];}else{_d8.oldValue=_d9.slice(0,_d9.length);}_da.push(_d7);this._setValueOrValues(_d4.parent,_d4.attribute,_da,false);_d8.newValue=this.getValues(_d4.parent,_d4.attribute);}else{this._setValueOrValues(_d4.parent,_d4.attribute,_d7,false);_d8.newValue=_d7;}}else{_d7[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_d7);}this._pending._newItems[_d5]=_d7;for(var key in _d3){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _db=_d3[key];if(!_ca.isArray(_db)){_db=[_db];}_d7[key]=_db;if(this.referenceIntegrity){for(var i=0;i<_db.length;i++){var val=_db[i];if(this.isItem(val)){this._addReferenceToMap(val,_d7,key);}}}}this.onNew(_d7,_d8);return _d7;},_removeArrayElement:function(_dc,_dd){var _de=_cc.indexOf(_dc,_dd);if(_de!=-1){_dc.splice(_de,1);return true;}return false;},deleteItem:function(_df){this._assert(!this._saveInProgress);this._assertIsItem(_df);var _e0=_df[this._itemNumPropName];var _e1=this.getIdentity(_df);if(this.referenceIntegrity){var _e2=this.getAttributes(_df);if(_df[this._reverseRefMap]){_df["backup_"+this._reverseRefMap]=_ca.clone(_df[this._reverseRefMap]);}_cc.forEach(_e2,function(_e3){_cc.forEach(this.getValues(_df,_e3),function(_e4){if(this.isItem(_e4)){if(!_df["backupRefs_"+this._reverseRefMap]){_df["backupRefs_"+this._reverseRefMap]=[];}_df["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_e4),attr:_e3});this._removeReferenceFromMap(_e4,_df,_e3);}},this);},this);var _e5=_df[this._reverseRefMap];if(_e5){for(var _e6 in _e5){var _e7=null;if(this._itemsByIdentity){_e7=this._itemsByIdentity[_e6];}else{_e7=this._arrayOfAllItems[_e6];}if(_e7){for(var _e8 in _e5[_e6]){var _e9=this.getValues(_e7,_e8)||[];var _ea=_cc.filter(_e9,function(_eb){return !(this.isItem(_eb)&&this.getIdentity(_eb)==_e1);},this);this._removeReferenceFromMap(_df,_e7,_e8);if(_ea.length<_e9.length){this._setValueOrValues(_e7,_e8,_ea,true);}}}}}}this._arrayOfAllItems[_e0]=null;_df[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_e1];}this._pending._deletedItems[_e1]=_df;if(_df[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_df);}this.onDelete(_df);return true;},setValue:function(_ec,_ed,_ee){return this._setValueOrValues(_ec,_ed,_ee,true);},setValues:function(_ef,_f0,_f1){return this._setValueOrValues(_ef,_f0,_f1,true);},unsetAttribute:function(_f2,_f3){return this._setValueOrValues(_f2,_f3,[],true);},_setValueOrValues:function(_f4,_f5,_f6,_f7){this._assert(!this._saveInProgress);this._assertIsItem(_f4);this._assert(_ca.isString(_f5));this._assert(typeof _f6!=="undefined");var _f8=this._getIdentifierAttribute();if(_f5==_f8){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _f9=this._getValueOrValues(_f4,_f5);var _fa=this.getIdentity(_f4);if(!this._pending._modifiedItems[_fa]){var _fb={};for(var key in _f4){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_fb[key]=_f4[key];}else{if(key===this._reverseRefMap){_fb[key]=_ca.clone(_f4[key]);}else{_fb[key]=_f4[key].slice(0,_f4[key].length);}}}this._pending._modifiedItems[_fa]=_fb;}var _fc=false;if(_ca.isArray(_f6)&&_f6.length===0){_fc=delete _f4[_f5];_f6=undefined;if(this.referenceIntegrity&&_f9){var _fd=_f9;if(!_ca.isArray(_fd)){_fd=[_fd];}for(var i=0;i<_fd.length;i++){var _fe=_fd[i];if(this.isItem(_fe)){this._removeReferenceFromMap(_fe,_f4,_f5);}}}}else{var _ff;if(_ca.isArray(_f6)){_ff=_f6.slice(0,_f6.length);}else{_ff=[_f6];}if(this.referenceIntegrity){if(_f9){var _fd=_f9;if(!_ca.isArray(_fd)){_fd=[_fd];}var map={};_cc.forEach(_fd,function(_100){if(this.isItem(_100)){var id=this.getIdentity(_100);map[id.toString()]=true;}},this);_cc.forEach(_ff,function(_101){if(this.isItem(_101)){var id=this.getIdentity(_101);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_101,_f4,_f5);}}},this);for(var rId in map){var _102;if(this._itemsByIdentity){_102=this._itemsByIdentity[rId];}else{_102=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_102,_f4,_f5);}}else{for(var i=0;i<_ff.length;i++){var _fe=_ff[i];if(this.isItem(_fe)){this._addReferenceToMap(_fe,_f4,_f5);}}}}_f4[_f5]=_ff;_fc=true;}if(_f7){this.onSet(_f4,_f5,_f9,_f6);}return _fc;},_addReferenceToMap:function(_103,_104,_105){var _106=this.getIdentity(_104);var _107=_103[this._reverseRefMap];if(!_107){_107=_103[this._reverseRefMap]={};}var _108=_107[_106];if(!_108){_108=_107[_106]={};}_108[_105]=true;},_removeReferenceFromMap:function(_109,_10a,_10b){var _10c=this.getIdentity(_10a);var _10d=_109[this._reverseRefMap];var _10e;if(_10d){for(_10e in _10d){if(_10e==_10c){delete _10d[_10e][_10b];if(this._isEmpty(_10d[_10e])){delete _10d[_10e];}}}if(this._isEmpty(_10d)){delete _109[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i<this._arrayOfAllItems.length;i++){var item=this._arrayOfAllItems[i];if(item&&item[this._reverseRefMap]){}}},_getValueOrValues:function(item,_10f){var _110=undefined;if(this.hasAttribute(item,_10f)){var _111=this.getValues(item,_10f);if(_111.length==1){_110=_111[0];}else{_110=_111;}}return _110;},_flatten:function(_112){if(this.isItem(_112)){return {_reference:this.getIdentity(_112)};}else{if(typeof _112==="object"){for(var type in this._datatypeMap){var _113=this._datatypeMap[type];if(_ca.isObject(_113)&&!_ca.isFunction(_113)){if(_112 instanceof _113.type){if(!_113.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_113.serialize(_112)};}}else{if(_112 instanceof _113){return {_type:type,_value:_112.toString()};}}}}return _112;}},_getNewFileContentString:function(){var _114={};var _115=this._getIdentifierAttribute();if(_115!==Number){_114.identifier=_115;}if(this._labelAttr){_114.label=this._labelAttr;}_114.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _116={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _117=this.getValues(item,key);if(_117.length==1){_116[key]=this._flatten(_117[0]);}else{var _118=[];for(var j=0;j<_117.length;++j){_118.push(this._flatten(_117[j]));_116[key]=_118;}}}}_114.items.push(_116);}}var _119=true;return _cd.toJson(_114,_119);},_isEmpty:function(_11a){var _11b=true;if(_ca.isObject(_11a)){var i;for(i in _11a){_11b=false;break;}}else{if(_ca.isArray(_11a)){if(_11a.length>0){_11b=false;}}}return _11b;},save:function(_11c){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _11d=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_11c&&_11c.onComplete){var _11e=_11c.scope||_ce.global;_11c.onComplete.call(_11e);}};var _11f=function(err){self._saveInProgress=false;if(_11c&&_11c.onError){var _120=_11c.scope||_ce.global;_11c.onError.call(_120,err);}};if(this._saveEverything){var _121=this._getNewFileContentString();this._saveEverything(_11d,_11f,_121);}if(this._saveCustom){this._saveCustom(_11d,_11f);}if(!this._saveEverything&&!this._saveCustom){_11d();}},revert:function(){this._assert(!this._saveInProgress);var _122;for(_122 in this._pending._modifiedItems){var _123=this._pending._modifiedItems[_122];var _124=null;if(this._itemsByIdentity){_124=this._itemsByIdentity[_122];}else{_124=this._arrayOfAllItems[_122];}_123[this._storeRefPropName]=this;for(var key in _124){delete _124[key];}_ca.mixin(_124,_123);}var _125;for(_122 in this._pending._deletedItems){_125=this._pending._deletedItems[_122];_125[this._storeRefPropName]=this;var _126=_125[this._itemNumPropName];if(_125["backup_"+this._reverseRefMap]){_125[this._reverseRefMap]=_125["backup_"+this._reverseRefMap];delete _125["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_126]=_125;if(this._itemsByIdentity){this._itemsByIdentity[_122]=_125;}if(_125[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_125);}}for(_122 in this._pending._deletedItems){_125=this._pending._deletedItems[_122];if(_125["backupRefs_"+this._reverseRefMap]){_cc.forEach(_125["backupRefs_"+this._reverseRefMap],function(_127){var _128;if(this._itemsByIdentity){_128=this._itemsByIdentity[_127.id];}else{_128=this._arrayOfAllItems[_127.id];}this._addReferenceToMap(_128,_125,_127.attr);},this);delete _125["backupRefs_"+this._reverseRefMap];}}for(_122 in this._pending._newItems){var _129=this._pending._newItems[_122];_129[this._storeRefPropName]=null;this._arrayOfAllItems[_129[this._itemNumPropName]]=null;if(_129[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_129);}if(this._itemsByIdentity){delete this._itemsByIdentity[_122];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _12a=this.getIdentity(item);return new Boolean(this._pending._newItems[_12a]||this._pending._modifiedItems[_12a]||this._pending._deletedItems[_12a]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_12b,_12c,_12d){},onNew:function(_12e,_12f){},onDelete:function(_130){},close:function(_131){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/data/ItemFileReadStore":function(){define("dojo/data/ItemFileReadStore",["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_132,lang,_133,_134,xhr,_135,_136,_137,_138){var _139=_133("dojo.data.ItemFileReadStore",[_135],{constructor:function(_13a){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_13a.url;this._ccUrl=_13a.url;this.url=_13a.url;this._jsonData=_13a.data;this.data=null;this._datatypeMap=_13a.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_13b){return _138.fromISOString(_13b);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_13a.urlPreventCache!==undefined){this.urlPreventCache=_13a.urlPreventCache?true:false;}if(_13a.hierarchical!==undefined){this.hierarchical=_13a.hierarchical?true:false;}if(_13a.clearOnClose){this.clearOnClose=true;}if("failOk" in _13a){this.failOk=_13a.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_13c){if(typeof _13c!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_13d,_13e){var _13f=this.getValues(item,_13d);return (_13f.length>0)?_13f[0]:_13e;},getValues:function(item,_140){this._assertIsItem(item);this._assertIsAttribute(_140);return (item[_140]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _141=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_141.push(key);}}return _141;},hasAttribute:function(item,_142){this._assertIsItem(item);this._assertIsAttribute(_142);return (_142 in item);},containsValue:function(item,_143,_144){var _145=undefined;if(typeof _144==="string"){_145=_136.patternToRegExp(_144,false);}return this._containsValue(item,_143,_144,_145);},_containsValue:function(item,_146,_147,_148){return _134.some(this.getValues(item,_146),function(_149){if(_149!==null&&!lang.isObject(_149)&&_148){if(_149.toString().match(_148)){return true;}}else{if(_147===_149){return true;}}});},isItem:function(_14a){if(_14a&&_14a[this._storeRefPropName]===this){if(this._arrayOfAllItems[_14a[this._itemNumPropName]]===_14a){return true;}}return false;},isItemLoaded:function(_14b){return this.isItem(_14b);},loadItem:function(_14c){this._assertIsItem(_14c.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_14d,_14e,_14f){var _150=[],i,key;if(_14d.query){var _151,_152=_14d.queryOptions?_14d.queryOptions.ignoreCase:false;var _153={};for(key in _14d.query){_151=_14d.query[key];if(typeof _151==="string"){_153[key]=_136.patternToRegExp(_151,_152);}else{if(_151 instanceof RegExp){_153[key]=_151;}}}for(i=0;i<_14e.length;++i){var _154=true;var _155=_14e[i];if(_155===null){_154=false;}else{for(key in _14d.query){_151=_14d.query[key];if(!this._containsValue(_155,key,_151,_153[key])){_154=false;}}}if(_154){_150.push(_155);}}_14f(_150,_14d);}else{for(i=0;i<_14e.length;++i){var item=_14e[i];if(item!==null){_150.push(item);}}_14f(_150,_14d);}},_fetchItems:function(_156,_157,_158){var self=this;if(this._loadFinished){this.filter(_156,this._getItemsArray(_156.queryOptions),_157);}else{if(this._jsonFileUrl!==this._ccUrl){_132.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_156,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_157)});}else{this._loadInProgress=true;var _159={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _15a=xhr.get(_159);_15a.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_156,self._getItemsArray(_156.queryOptions),_157);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_158(e,_156);}});_15a.addErrback(function(_15b){self._loadInProgress=false;_158(_15b,_156);});var _15c=null;if(_156.abort){_15c=_156.abort;}_156.abort=function(){var df=_15a;if(df&&df.fired===-1){df.cancel();df=null;}if(_15c){_15c.call(_156);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_156,this._getItemsArray(_156.queryOptions),_157);}catch(e){_158(e,_156);}}else{_158(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_156);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _15d=this._queuedFetches[i],_15e=_15d.args,_15f=_15d.filter,_160=_15d.findCallback;if(_15f){_15f(_15e,this._getItemsArray(_15e.queryOptions),_160);}else{this.fetchItemByIdentity(_15e);}}this._queuedFetches=[];}},_getItemsArray:function(_161){if(_161&&_161.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_162){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_163){var _164=false,self=this;function _165(_166){return (_166!==null)&&(typeof _166==="object")&&(!lang.isArray(_166)||_164)&&(!lang.isFunction(_166))&&(_166.constructor==Object||lang.isArray(_166))&&(typeof _166._reference==="undefined")&&(typeof _166._type==="undefined")&&(typeof _166._value==="undefined")&&self.hierarchical;};function _167(_168){self._arrayOfAllItems.push(_168);for(var _169 in _168){var _16a=_168[_169];if(_16a){if(lang.isArray(_16a)){var _16b=_16a;for(var k=0;k<_16b.length;++k){var _16c=_16b[k];if(_165(_16c)){_167(_16c);}}}else{if(_165(_16a)){_167(_16a);}}}}};this._labelAttr=_163.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_163.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_164=true;}_167(item);item[this._rootItemPropName]=true;}var _16d={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _16e=item[key];if(_16e!==null){if(!lang.isArray(_16e)){item[key]=[_16e];}}else{item[key]=[null];}}_16d[key]=key;}}while(_16d[this._storeRefPropName]){this._storeRefPropName+="_";}while(_16d[this._itemNumPropName]){this._itemNumPropName+="_";}while(_16d[this._reverseRefMap]){this._reverseRefMap+="_";}var _16f;var _170=_163.identifier;if(_170){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_170;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_16f=item[_170];var _171=_16f[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_171)){this._itemsByIdentity[_171]=item;}else{if(this._jsonFileUrl){throw new Error(this.declaredClass+": The json data as specified by: ["+this._jsonFileUrl+"] is malformed. Items within the list have identifier: ["+_170+"]. Value collided: ["+_171+"]");}else{if(this._jsonData){throw new Error(this.declaredClass+": The json data provided by the creation arguments is malformed. Items within the list have identifier: ["+_170+"]. Value collided: ["+_171+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_16f=item[key];for(var j=0;j<_16f.length;++j){_16e=_16f[j];if(_16e!==null&&typeof _16e=="object"){if(("_type" in _16e)&&("_value" in _16e)){var type=_16e._type;var _172=this._datatypeMap[type];if(!_172){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_172)){_16f[j]=new _172(_16e._value);}else{if(lang.isFunction(_172.deserialize)){_16f[j]=_172.deserialize(_16e._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_16e._reference){var _173=_16e._reference;if(!lang.isObject(_173)){_16f[j]=this._getItemByIdentity(_173);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _174=this._arrayOfAllItems[k],_175=true;for(var _176 in _173){if(_174[_176]!=_173[_176]){_175=false;}}if(_175){_16f[j]=_174;}}}if(this.referenceIntegrity){var _177=_16f[j];if(this.isItem(_177)){this._addReferenceToMap(_177,item,key);}}}else{if(this.isItem(_16e)){if(this.referenceIntegrity){this._addReferenceToMap(_16e,item,key);}}}}}}}},_addReferenceToMap:function(_178,_179,_17a){},getIdentity:function(item){var _17b=this._features["dojo.data.api.Identity"];if(_17b===Number){return item[this._itemNumPropName];}else{var _17c=item[_17b];if(_17c){return _17c[0];}}return null;},fetchItemByIdentity:function(_17d){var item,_17e;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_132.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_17d});}else{this._loadInProgress=true;var _17f={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _180=xhr.get(_17f);_180.addCallback(function(data){var _181=_17d.scope?_17d.scope:_132.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_17d.identity);if(_17d.onItem){_17d.onItem.call(_181,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_17d.onError){_17d.onError.call(_181,error);}}});_180.addErrback(function(_182){self._loadInProgress=false;if(_17d.onError){var _183=_17d.scope?_17d.scope:_132.global;_17d.onError.call(_183,_182);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_17d.identity);if(_17d.onItem){_17e=_17d.scope?_17d.scope:_132.global;_17d.onItem.call(_17e,item);}}}}else{item=this._getItemByIdentity(_17d.identity);if(_17d.onItem){_17e=_17d.scope?_17d.scope:_132.global;_17d.onItem.call(_17e,item);}}},_getItemByIdentity:function(_184){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_184)){item=this._itemsByIdentity[_184];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_184)){item=this._arrayOfAllItems[_184];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _185=this._features["dojo.data.api.Identity"];if(_185===Number){return null;}else{return [_185];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_132.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _186={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _187=xhr.get(_186);_187.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error(this.declaredClass+": Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){throw e;}});_187.addErrback(function(_188){throw _188;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_139,_137);return _139;});},"dojo/data/util/filter":function(){define("dojo/data/util/filter",["../../_base/lang"],function(lang){var _189={};lang.setObject("dojo.data.util.filter",_189);_189.patternToRegExp=function(_18a,_18b){var rxp="^";var c=null;for(var i=0;i<_18a.length;i++){c=_18a.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_18a.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_18b){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _189;});},"dojo/data/util/simpleFetch":function(){define("dojo/data/util/simpleFetch",["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_18c,_18d){var _18e={};lang.setObject("dojo.data.util.simpleFetch",_18e);_18e.errorHandler=function(_18f,_190){if(_190.onError){var _191=_190.scope||_18c.global;_190.onError.call(_191,_18f,_190);}};_18e.fetchHandler=function(_192,_193){var _194=_193.abort||null,_195=false,_196=_193.start?_193.start:0,_197=(_193.count&&(_193.count!==Infinity))?(_196+_193.count):_192.length;_193.abort=function(){_195=true;if(_194){_194.call(_193);}};var _198=_193.scope||_18c.global;if(!_193.store){_193.store=this;}if(_193.onBegin){_193.onBegin.call(_198,_192.length,_193);}if(_193.sort){_192.sort(_18d.createSortFunction(_193.sort,this));}if(_193.onItem){for(var i=_196;(i<_192.length)&&(i<_197);++i){var item=_192[i];if(!_195){_193.onItem.call(_198,item,_193);}}}if(_193.onComplete&&!_195){var _199=null;if(!_193.onItem){_199=_192.slice(_196,_197);}_193.onComplete.call(_198,_199,_193);}};_18e.fetch=function(_19a){_19a=_19a||{};if(!_19a.store){_19a.store=this;}this._fetchItems(_19a,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _19a;};return _18e;});},"dojo/data/util/sorter":function(){define("dojo/data/util/sorter",["../../_base/lang"],function(lang){var _19b={};lang.setObject("dojo.data.util.sorter",_19b);_19b.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_19b.createSortFunction=function(_19c,_19d){var _19e=[];function _19f(attr,dir,comp,s){return function(_1a0,_1a1){var a=s.getValue(_1a0,attr);var b=s.getValue(_1a1,attr);return dir*comp(a,b);};};var _1a2;var map=_19d.comparatorMap;var bc=_19b.basicComparator;for(var i=0;i<_19c.length;i++){_1a2=_19c[i];var attr=_1a2.attribute;if(attr){var dir=(_1a2.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_19e.push(_19f(attr,dir,comp,_19d));}}return function(rowA,rowB){var i=0;while(i<_19e.length){var ret=_19e[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _19b;});},"dojo/selector/acme":function(){define("dojo/selector/acme",["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_1a3,lang,win){var trim=lang.trim;var each=_1a3.forEach;var _1a4=function(){return win.doc;};var _1a5=(_1a4().compatMode)=="BackCompat";var _1a6=">~+";var _1a7=false;var _1a8=function(){return true;};var _1a9=function(_1aa){if(_1a6.indexOf(_1aa.slice(-1))>=0){_1aa+=" * ";}else{_1aa+=" ";}var ts=function(s,e){return trim(_1aa.slice(s,e));};var _1ab=[];var _1ac=-1,_1ad=-1,_1ae=-1,_1af=-1,_1b0=-1,inId=-1,_1b1=-1,_1b2,lc="",cc="",_1b3;var x=0,ql=_1aa.length,_1b4=null,_1b5=null;var _1b6=function(){if(_1b1>=0){var tv=(_1b1==x)?null:ts(_1b1,x);_1b4[(_1a6.indexOf(tv)<0)?"tag":"oper"]=tv;_1b1=-1;}};var _1b7=function(){if(inId>=0){_1b4.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _1b8=function(){if(_1b0>=0){_1b4.classes.push(ts(_1b0+1,x).replace(/\\/g,""));_1b0=-1;}};var _1b9=function(){_1b7();_1b6();_1b8();};var _1ba=function(){_1b9();if(_1af>=0){_1b4.pseudos.push({name:ts(_1af+1,x)});}_1b4.loops=(_1b4.pseudos.length||_1b4.attrs.length||_1b4.classes.length);_1b4.oquery=_1b4.query=ts(_1b3,x);_1b4.otag=_1b4.tag=(_1b4["oper"])?null:(_1b4.tag||"*");if(_1b4.tag){_1b4.tag=_1b4.tag.toUpperCase();}if(_1ab.length&&(_1ab[_1ab.length-1].oper)){_1b4.infixOper=_1ab.pop();_1b4.query=_1b4.infixOper.query+" "+_1b4.query;}_1ab.push(_1b4);_1b4=null;};for(;lc=cc,cc=_1aa.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_1b4){_1b3=x;_1b4={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _1a7?this.otag:this.tag;}};_1b1=x;}if(_1b2){if(cc==_1b2){_1b2=null;}continue;}else{if(cc=="'"||cc=="\""){_1b2=cc;continue;}}if(_1ac>=0){if(cc=="]"){if(!_1b5.attr){_1b5.attr=ts(_1ac+1,x);}else{_1b5.matchFor=ts((_1ae||_1ac+1),x);}var cmf=_1b5.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_1b5.matchFor=cmf.slice(1,-1);}}if(_1b5.matchFor){_1b5.matchFor=_1b5.matchFor.replace(/\\/g,"");}_1b4.attrs.push(_1b5);_1b5=null;_1ac=_1ae=-1;}else{if(cc=="="){var _1bb=("|~^$*".indexOf(lc)>=0)?lc:"";_1b5.type=_1bb+cc;_1b5.attr=ts(_1ac+1,x-_1bb.length);_1ae=x+1;}}}else{if(_1ad>=0){if(cc==")"){if(_1af>=0){_1b5.value=ts(_1ad+1,x);}_1af=_1ad=-1;}}else{if(cc=="#"){_1b9();inId=x+1;}else{if(cc=="."){_1b9();_1b0=x;}else{if(cc==":"){_1b9();_1af=x;}else{if(cc=="["){_1b9();_1ac=x;_1b5={};}else{if(cc=="("){if(_1af>=0){_1b5={name:ts(_1af+1,x),value:null};_1b4.pseudos.push(_1b5);}_1ad=x;}else{if((cc==" ")&&(lc!=cc)){_1ba();}}}}}}}}}return _1ab;};var _1bc=function(_1bd,_1be){if(!_1bd){return _1be;}if(!_1be){return _1bd;}return function(){return _1bd.apply(window,arguments)&&_1be.apply(window,arguments);};};var _1bf=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _1c0=function(n){return (1==n.nodeType);};var _1c1="";var _1c2=function(elem,attr){if(!elem){return _1c1;}if(attr=="class"){return elem.className||_1c1;}if(attr=="for"){return elem.htmlFor||_1c1;}if(attr=="style"){return elem.style.cssText||_1c1;}return (_1a7?elem.getAttribute(attr):elem.getAttribute(attr,2))||_1c1;};var _1c3={"*=":function(attr,_1c4){return function(elem){return (_1c2(elem,attr).indexOf(_1c4)>=0);};},"^=":function(attr,_1c5){return function(elem){return (_1c2(elem,attr).indexOf(_1c5)==0);};},"$=":function(attr,_1c6){return function(elem){var ea=" "+_1c2(elem,attr);var _1c7=ea.lastIndexOf(_1c6);return _1c7>-1&&(_1c7==(ea.length-_1c6.length));};},"~=":function(attr,_1c8){var tval=" "+_1c8+" ";return function(elem){var ea=" "+_1c2(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_1c9){var _1ca=_1c9+"-";return function(elem){var ea=_1c2(elem,attr);return ((ea==_1c9)||(ea.indexOf(_1ca)==0));};},"=":function(attr,_1cb){return function(elem){return (_1c2(elem,attr)==_1cb);};}};var _1cc=(typeof _1a4().firstChild.nextElementSibling=="undefined");var _1cd=!_1cc?"nextElementSibling":"nextSibling";var _1ce=!_1cc?"previousElementSibling":"previousSibling";var _1cf=(_1cc?_1c0:_1a8);var _1d0=function(node){while(node=node[_1ce]){if(_1cf(node)){return false;}}return true;};var _1d1=function(node){while(node=node[_1cd]){if(_1cf(node)){return false;}}return true;};var _1d2=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_1cd]){if(_1cf(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _1d3=function(elem){return !((_1d2(elem))%2);};var _1d4=function(elem){return ((_1d2(elem))%2);};var _1d5={"checked":function(name,_1d6){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_1d7){return function(elem){return elem.disabled;};},"enabled":function(name,_1d8){return function(elem){return !elem.disabled;};},"first-child":function(){return _1d0;},"last-child":function(){return _1d1;},"only-child":function(name,_1d9){return function(node){return _1d0(node)&&_1d1(node);};},"empty":function(name,_1da){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_1db){var cz=_1db.charAt(0);if(cz=="\""||cz=="'"){_1db=_1db.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_1db)>=0);};},"not":function(name,_1dc){var p=_1a9(_1dc)[0];var _1dd={el:1};if(p.tag!="*"){_1dd.tag=1;}if(!p.classes.length){_1dd.classes=1;}var ntf=_1de(p,_1dd);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_1df){var pi=parseInt;if(_1df=="odd"){return _1d4;}else{if(_1df=="even"){return _1d3;}}if(_1df.indexOf("n")!=-1){var _1e0=_1df.split("n",2);var pred=_1e0[0]?((_1e0[0]=="-")?-1:pi(_1e0[0])):1;var idx=_1e0[1]?pi(_1e0[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_1d2(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_1df=idx;}}var _1e1=pi(_1df);return function(elem){return (_1d2(elem)==_1e1);};}};var _1e2=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_1a7?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _1de=function(_1e3,_1e4){if(!_1e3){return _1a8;}_1e4=_1e4||{};var ff=null;if(!("el" in _1e4)){ff=_1bc(ff,_1c0);}if(!("tag" in _1e4)){if(_1e3.tag!="*"){ff=_1bc(ff,function(elem){return (elem&&((_1a7?elem.tagName:elem.tagName.toUpperCase())==_1e3.getTag()));});}}if(!("classes" in _1e4)){each(_1e3.classes,function(_1e5,idx,arr){var re=new RegExp("(?:^|\\s)"+_1e5+"(?:\\s|$)");ff=_1bc(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _1e4)){each(_1e3.pseudos,function(_1e6){var pn=_1e6.name;if(_1d5[pn]){ff=_1bc(ff,_1d5[pn](pn,_1e6.value));}});}if(!("attrs" in _1e4)){each(_1e3.attrs,function(attr){var _1e7;var a=attr.attr;if(attr.type&&_1c3[attr.type]){_1e7=_1c3[attr.type](a,attr.matchFor);}else{if(a.length){_1e7=_1e2(a);}}if(_1e7){ff=_1bc(ff,_1e7);}});}if(!("id" in _1e4)){if(_1e3.id){ff=_1bc(ff,function(elem){return (!!elem&&(elem.id==_1e3.id));});}}if(!ff){if(!("default" in _1e4)){ff=_1a8;}}return ff;};var _1e8=function(_1e9){return function(node,ret,bag){while(node=node[_1cd]){if(_1cc&&(!_1c0(node))){continue;}if((!bag||_1ea(node,bag))&&_1e9(node)){ret.push(node);}break;}return ret;};};var _1eb=function(_1ec){return function(root,ret,bag){var te=root[_1cd];while(te){if(_1cf(te)){if(bag&&!_1ea(te,bag)){break;}if(_1ec(te)){ret.push(te);}}te=te[_1cd];}return ret;};};var _1ed=function(_1ee){_1ee=_1ee||_1a8;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_1cf(te)&&(!bag||_1ea(te,bag))&&(_1ee(te,x))){ret.push(te);}}return ret;};};var _1ef=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _1f0={};var _1f1=function(_1f2){var _1f3=_1f0[_1f2.query];if(_1f3){return _1f3;}var io=_1f2.infixOper;var oper=(io?io.oper:"");var _1f4=_1de(_1f2,{el:1});var qt=_1f2.tag;var _1f5=("*"==qt);var ecs=_1a4()["getElementsByClassName"];if(!oper){if(_1f2.id){_1f4=(!_1f2.loops&&_1f5)?_1a8:_1de(_1f2,{el:1,id:1});_1f3=function(root,arr){var te=dom.byId(_1f2.id,(root.ownerDocument||root));if(!te||!_1f4(te)){return;}if(9==root.nodeType){return _1bf(te,arr);}else{if(_1ef(te,root)){return _1bf(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_1f2.classes.length&&!_1a5){_1f4=_1de(_1f2,{el:1,classes:1,id:1});var _1f6=_1f2.classes.join(" ");_1f3=function(root,arr,bag){var ret=_1bf(0,arr),te,x=0;var tret=root.getElementsByClassName(_1f6);while((te=tret[x++])){if(_1f4(te,root)&&_1ea(te,bag)){ret.push(te);}}return ret;};}else{if(!_1f5&&!_1f2.loops){_1f3=function(root,arr,bag){var ret=_1bf(0,arr),te,x=0;var tag=_1f2.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_1ea(te,bag)){ret.push(te);}}return ret;};}else{_1f4=_1de(_1f2,{el:1,tag:1,id:1});_1f3=function(root,arr,bag){var ret=_1bf(0,arr),te,x=0;var tag=_1f2.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_1f4(te,root)&&_1ea(te,bag)){ret.push(te);}}return ret;};}}}}else{var _1f7={el:1};if(_1f5){_1f7.tag=1;}_1f4=_1de(_1f2,_1f7);if("+"==oper){_1f3=_1e8(_1f4);}else{if("~"==oper){_1f3=_1eb(_1f4);}else{if(">"==oper){_1f3=_1ed(_1f4);}}}}return _1f0[_1f2.query]=_1f3;};var _1f8=function(root,_1f9){var _1fa=_1bf(root),qp,x,te,qpl=_1f9.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_1f9[i];x=_1fa.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_1f1(qp);for(var j=0;(te=_1fa[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_1fa=ret;}return ret;};var _1fb={},_1fc={};var _1fd=function(_1fe){var _1ff=_1a9(trim(_1fe));if(_1ff.length==1){var tef=_1f1(_1ff[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _1f8(root,_1ff);};};var _200=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _201=!!_1a4()[qsa];var _202=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _203=function(_204,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_204;};var _205=/([^[]*)([^\]]*])?/g;var _206=function(_207,_208,att){return _208.replace(_202,_203)+(att||"");};var _209=function(_20a,_20b){_20a=_20a.replace(_205,_206);if(_201){var _20c=_1fc[_20a];if(_20c&&!_20b){return _20c;}}var _20d=_1fb[_20a];if(_20d){return _20d;}var qcz=_20a.charAt(0);var _20e=(-1==_20a.indexOf(" "));if((_20a.indexOf("#")>=0)&&(_20e)){_20b=true;}var _20f=(_201&&(!_20b)&&(_1a6.indexOf(qcz)==-1)&&(!has("ie")||(_20a.indexOf(":")==-1))&&(!(_1a5&&(_20a.indexOf(".")>=0)))&&(_20a.indexOf(":contains")==-1)&&(_20a.indexOf(":checked")==-1)&&(_20a.indexOf("|=")==-1));if(_20f){var tq=(_1a6.indexOf(_20a.charAt(_20a.length-1))>=0)?(_20a+" *"):_20a;return _1fc[_20a]=function(root){try{if(!((9==root.nodeType)||_20e)){throw "";}var r=root[qsa](tq);r[_200]=true;return r;}catch(e){return _209(_20a,true)(root);}};}else{var _210=_20a.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _1fb[_20a]=((_210.length<2)?_1fd(_20a):function(root){var _211=0,ret=[],tp;while((tp=_210[_211++])){ret=ret.concat(_1fd(tp)(root));}return ret;});}};var _212=0;var _213=has("ie")?function(node){if(_1a7){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_212)||_212);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_212));};var _1ea=function(node,bag){if(!bag){return 1;}var id=_213(node);if(!bag[id]){return bag[id]=1;}return 0;};var _214="_zipIdx";var _215=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_212++;var x,te;if(has("ie")&&_1a7){var _216=_212+"";arr[0].setAttribute(_214,_216);for(x=1;te=arr[x];x++){if(arr[x].getAttribute(_214)!=_216){ret.push(te);}te.setAttribute(_214,_216);}}else{if(has("ie")&&arr.commentStrip){try{for(x=1;te=arr[x];x++){if(_1c0(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_214]=_212;}for(x=1;te=arr[x];x++){if(arr[x][_214]!=_212){ret.push(te);}te[_214]=_212;}}}return ret;};var _217=function(_218,root){root=root||_1a4();var od=root.ownerDocument||root;_1a7=(od.createElement("div").tagName==="div");var r=_209(_218)(root);if(r&&r.nozip){return r;}return _215(r);};_217.filter=function(_219,_21a,root){var _21b=[],_21c=_1a9(_21a),_21d=(_21c.length==1&&!/[^\w#\.]/.test(_21a))?_1de(_21c[0]):function(node){return _1a3.indexOf(_217(_21a,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_219[x];x++){if(_21d(te)){_21b.push(te);}}return _21b;};return _217;});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(_21e,lang,_21f,when){return _21e("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_220){if(_220){this.set(_220);}},_get:function(name,_221){return typeof this[_221.g]==="function"?this[_221.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_222){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _223=this._getAttrNames(name),_224=this._get(name,_223),_225=this[_223.s],_226;if(typeof _225==="function"){_226=_225.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_222;}if(this._watchCallbacks){var self=this;when(_226,function(){self._watchCallbacks(name,_224,_222);});}return this;},_changeAttrValue:function(name,_227){var _228=this.get(name);this[name]=_227;if(this._watchCallbacks){this._watchCallbacks(name,_228,_227);}return this;},watch:function(name,_229){var _22a=this._watchCallbacks;if(!_22a){var self=this;_22a=this._watchCallbacks=function(name,_22b,_22c,_22d){var _22e=function(_22f){if(_22f){_22f=_22f.slice();for(var i=0,l=_22f.length;i<l;i++){_22f[i].call(self,name,_22b,_22c);}}};_22e(_22a["_"+name]);if(!_22d){_22e(_22a["*"]);}};}if(!_229&&typeof name==="function"){_229=name;name="*";}else{name="_"+name;}var _230=_22a[name];if(typeof _230!=="object"){_230=_22a[name]=[];}_230.push(_229);var _231={};_231.unwatch=_231.remove=function(){var _232=_21f.indexOf(_230,_229);if(_232>-1){_230.splice(_232,1);}};return _231;}});});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_233,lang){var _234={};lang.setObject("dojo.string",_234);_234.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_234.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_234.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_234.substitute=function(_235,map,_236,_237){_237=_237||_233.global;_236=_236?lang.hitch(_237,_236):function(v){return v;};return _235.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_238,key,_239){var _23a=lang.getObject(key,false,map);if(_239){_23a=lang.getObject(_239,false,_237).call(_237,_23a,key);}return _236(_23a,key).toString();});};_234.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _234;});},"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./ready","./_base/window"],function(dojo,_23b,dom,on,has,_23c,_23d,win){var _23e=has("touch");var ios4=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));ios4=os<5;}var _23f,_240;if(_23e){_23d(function(){_240=win.body();win.doc.addEventListener("touchstart",function(evt){var _241=_240;_240=evt.target;on.emit(_241,"dojotouchout",{target:_241,relatedTarget:_240,bubbles:true});on.emit(_240,"dojotouchover",{target:_240,relatedTarget:_241,bubbles:true});},true);on(win.doc,"touchmove",function(evt){var _242=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_242&&_240!==_242){on.emit(_240,"dojotouchout",{target:_240,relatedTarget:_242,bubbles:true});on.emit(_242,"dojotouchover",{target:_242,relatedTarget:_240,bubbles:true});_240=_242;}});});_23f=function(node,_243){return on(win.doc,"touchmove",function(evt){if(node===win.doc||dom.isDescendant(_240,node)){evt.target=_240;_243.call(this,evt);}});};}function _244(type){return function(node,_245){return on(node,type,_245);};};var _246={press:_244(_23e?"touchstart":"mousedown"),move:_23e?_23f:_244("mousemove"),release:_244(_23e?"touchend":"mouseup"),cancel:_23e?_244("touchcancel"):_23c.leave,over:_244(_23e?"dojotouchover":"mouseover"),out:_244(_23e?"dojotouchout":"mouseout"),enter:_23c._eventHandler(_23e?"dojotouchover":"mouseover"),leave:_23c._eventHandler(_23e?"dojotouchout":"mouseout")};1&&(dojo.touch=_246);return _246;});},"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(_247,lang,_248,has,_249){var html=_249.doc.documentElement,ie=has("ie"),_24a=has("opera"),maj=Math.floor,ff=has("ff"),_24b=_247.boxModel.replace(/-/,""),_24c={"dj_quirks":has("quirks"),"dj_opera":_24a,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_24c["dj_ie"]=true;_24c["dj_ie"+maj(ie)]=true;_24c["dj_iequirks"]=has("quirks");}if(ff){_24c["dj_ff"+maj(ff)]=true;}_24c["dj_"+_24b]=true;var _24d="";for(var clz in _24c){if(_24c[clz]){_24d+=clz+" ";}}html.className=lang.trim(html.className+" "+_24d);_248(90,function(){if(!_247.isBodyLtr()){var _24e="dj_rtl dijitRtl "+_24d.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_24e+"dj_rtl dijitRtl "+_24d.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_24f,dom,geom,_250){var _251={getBox:function(doc){doc=doc||_24f.doc;var _252=(doc.compatMode=="BackCompat")?_24f.body(doc):doc.documentElement,_253=geom.docScroll(doc),w,h;if(has("touch")){var _254=_251.get(doc);w=_254.innerWidth||_252.clientWidth;h=_254.innerHeight||_252.clientHeight;}else{w=_252.clientWidth;h=_252.clientHeight;}return {l:_253.x,t:_253.y,w:w,h:h};},get:function(doc){if(has("ie")&&_251!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_24f.doc,body=_24f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _255=doc.compatMode=="BackCompat",_256=(isIE>=9&&"frameElement" in node.ownerDocument.parentWindow)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_255?body:html),_257=isWK?body:_256,_258=_256.clientWidth,_259=_256.clientHeight,rtl=!geom.isBodyLtr(doc),_25a=pos||geom.position(node),el=node.parentNode,_25b=function(el){return ((isIE<=6||(isIE&&_255))?false:(_250.get(el,"position").toLowerCase()=="fixed"));};if(_25b(node)){return;}while(el){if(el==body){el=_257;}var _25c=geom.position(el),_25d=_25b(el);if(el==_257){_25c.w=_258;_25c.h=_259;if(_257==html&&isIE&&rtl){_25c.x+=_257.offsetWidth-_25c.w;}if(_25c.x<0||!isIE){_25c.x=0;}if(_25c.y<0||!isIE){_25c.y=0;}}else{var pb=geom.getPadBorderExtents(el);_25c.w-=pb.w;_25c.h-=pb.h;_25c.x+=pb.l;_25c.y+=pb.t;var _25e=el.clientWidth,_25f=_25c.w-_25e;if(_25e>0&&_25f>0){_25c.w=_25e;_25c.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_25f:0;}_25e=el.clientHeight;_25f=_25c.h-_25e;if(_25e>0&&_25f>0){_25c.h=_25e;}}if(_25d){if(_25c.y<0){_25c.h+=_25c.y;_25c.y=0;}if(_25c.x<0){_25c.w+=_25c.x;_25c.x=0;}if(_25c.y+_25c.h>_259){_25c.h=_259-_25c.y;}if(_25c.x+_25c.w>_258){_25c.w=_258-_25c.x;}}var l=_25a.x-_25c.x,t=_25a.y-Math.max(_25c.y,0),r=l+_25a.w-_25c.w,bot=t+_25a.h-_25c.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_255)||isIE>=9)){s=-s;}_25a.x+=el.scrollLeft;el.scrollLeft+=s;_25a.x-=el.scrollLeft;}if(bot*t>0){_25a.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_25a.y-=el.scrollTop;}el=(el!=_257)&&!_25d&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_251);return _251;});},"dojo/NodeList-fx":function(){define("dojo/NodeList-fx",["./query","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_260,lang,_261,_262,_263){var _264=_260.NodeList;lang.extend(_264,{_anim:function(obj,_265,args){args=args||{};var a=_263.combine(this.map(function(item){var _266={node:item};lang.mixin(_266,args);return obj[_265](_266);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_263,"wipeIn",args);},wipeOut:function(args){return this._anim(_263,"wipeOut",args);},slideTo:function(args){return this._anim(_263,"slideTo",args);},fadeIn:function(args){return this._anim(_262,"fadeIn",args);},fadeOut:function(args){return this._anim(_262,"fadeOut",args);},animateProperty:function(args){return this._anim(_262,"animateProperty",args);},anim:function(_267,_268,_269,_26a,_26b){var _26c=_263.combine(this.map(function(item){return _262.animateProperty({node:item,properties:_267,duration:_268||350,easing:_269});}));if(_26a){_261.connect(_26c,"onEnd",_26a);}return _26c.play(_26b||0);}});return _264;});},"dojo/fx":function(){define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_26d,dojo,_26e,_26f,_270,dom,_271,geom,_272,_273){if(!dojo.isAsync){_272(0,function(){var _274=["./fx/Toggler"];_273(_274);});}var _275=dojo.fx={};var _276={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _277=function(_278){this._index=-1;this._animations=_278||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_26e.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_277.prototype=new _26d();lang.extend(_277,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_26f.disconnect(this._onAnimateCtx);_26f.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_26f.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_26f.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_279,_27a){if(!this._current){this._current=this._animations[this._index=0];}if(!_27a&&this._current.status()=="playing"){return this;}var _27b=_26f.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_27c=_26f.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_27d=_26f.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_26f.disconnect(_27b);_26f.disconnect(_27c);_26f.disconnect(_27d);});if(this._onAnimateCtx){_26f.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_26f.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_26f.disconnect(this._onEndCtx);}this._onEndCtx=_26f.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_26f.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_26f.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_27e,_27f){this.pause();var _280=this.duration*_27e;this._current=null;_26e.some(this._animations,function(a){if(a.duration<=_280){this._current=a;return true;}_280-=a.duration;return false;});if(this._current){this._current.gotoPercent(_280/this._current.duration,_27f);}return this;},stop:function(_281){if(this._current){if(_281){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_26f.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_26f.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_26f.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_26f.disconnect(this._onEndCtx);}}});lang.extend(_277,_276);_275.chain=function(_282){return new _277(_282);};var _283=function(_284){this._animations=_284||[];this._connects=[];this._finished=0;this.duration=0;_26e.forEach(_284,function(a){var _285=a.duration;if(a.delay){_285+=a.delay;}if(this.duration<_285){this.duration=_285;}this._connects.push(_26f.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _270.Animation({curve:[0,1],duration:this.duration});var self=this;_26e.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_26f.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_283,{_doAction:function(_286,args){_26e.forEach(this._animations,function(a){a[_286].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_287,args){var t=this._pseudoAnimation;t[_287].apply(t,args);},play:function(_288,_289){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_28a,_28b){var ms=this.duration*_28a;_26e.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_28b);});this._call("gotoPercent",arguments);return this;},stop:function(_28c){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_26e.forEach(this._connects,_26f.disconnect);}});lang.extend(_283,_276);_275.combine=function(_28d){return new _283(_28d);};_275.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_270.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _28e=_271.get(node,"height");return Math.max(_28e,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_26f.connect(anim,"onStop",fini);_26f.connect(anim,"onEnd",fini);return anim;};_275.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_270.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_26f.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_26f.connect(anim,"onStop",fini);_26f.connect(anim,"onEnd",fini);return anim;};_275.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_271.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_270.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_26f.connect(anim,"beforeBegin",anim,init);return anim;};return _275;});},"dojo/dnd/Moveable":function(){define("dojo/dnd/Moveable",["../_base/array","../_base/declare","../_base/event","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_28f,_290,_291,lang,dom,_292,_293,on,_294,_295,dnd,_296,win){var _297=_290("dojo.dnd.Moveable",[_293],{handle:"",delay:0,skip:false,constructor:function(node,_298){this.node=dom.byId(node);if(!_298){_298={};}this.handle=_298.handle?dom.byId(_298.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_298.delay>0?_298.delay:0;this.skip=_298.skip;this.mover=_298.mover?_298.mover:_296;this.events=[on(this.handle,_295.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_299,node,Ctor){return new Ctor(node,_299);},destroy:function(){_28f.forEach(this.events,function(_29a){_29a.remove();});this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_295.move,lang.hitch(this,"onMouseMove")),on(this.handle,_295.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_291.stop(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}_291.stop(e);},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}_291.stop(e);},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){_291.stop(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_29b){_294.publish("/dnd/move/start",_29b);_292.add(win.body(),"dojoMove");_292.add(this.node,"dojoMoveItem");},onMoveStop:function(_29c){_294.publish("/dnd/move/stop",_29c);_292.remove(win.body(),"dojoMove");_292.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_29d,_29e){this.onMoving(_29d,_29e);var s=_29d.node.style;s.left=_29e.l+"px";s.top=_29e.t+"px";this.onMoved(_29d,_29e);},onMoving:function(){},onMoved:function(){}});return _297;});},"dojo/dnd/common":function(){define("dojo/dnd/common",["../_base/connect","../_base/kernel","../_base/lang","../dom"],function(_29f,_2a0,lang,dom){var _2a1=lang.getObject("dojo.dnd",true);_2a1.getCopyKeyState=_29f.isCopyKey;_2a1._uniqueId=0;_2a1.getUniqueId=function(){var id;do{id=_2a0._scopeName+"Unique"+(++_2a1._uniqueId);}while(dom.byId(id));return id;};_2a1._empty={};_2a1.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _2a1;});},"dojo/dnd/Mover":function(){define("dojo/dnd/Mover",["../_base/array","../_base/declare","../_base/event","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_2a2,_2a3,_2a4,lang,has,win,dom,_2a5,_2a6,_2a7,on,_2a8,dnd,_2a9){return _2a3("dojo.dnd.Mover",[_2a7],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[on(d,_2a8.move,lang.hitch(this,"onFirstMove")),on(d,_2a8.move,lang.hitch(this,"onMouseMove")),on(d,_2a8.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_2a4.stop),on(d.body,"selectstart",_2a4.stop)];_2a9.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_2a9.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_2a4.stop(e);},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_2a4.stop(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_2a5.getMarginBox(this.node);var b=win.doc.body;var bs=_2a6.getComputedStyle(b);var bm=_2a5.getMarginBox(b,bs);var bc=_2a5.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_2a2.forEach(this.events,function(_2aa){_2aa.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_2ab,_2ac,_2ad){var _2ae={};lang.setObject("dojo.dnd.autoscroll",_2ae);_2ae.getViewport=_2ad.getBox;_2ae.V_TRIGGER_AUTOSCROLL=32;_2ae.H_TRIGGER_AUTOSCROLL=32;_2ae.V_AUTOSCROLL_VALUE=16;_2ae.H_AUTOSCROLL_VALUE=16;var _2af,doc=win.doc,_2b0=Infinity,_2b1=Infinity;_2ae.autoScrollStart=function(d){doc=d;_2af=_2ad.getBox(doc);var html=win.body(doc).parentNode;_2b0=Math.max(html.scrollHeight-_2af.h,0);_2b1=Math.max(html.scrollWidth-_2af.w,0);};_2ae.autoScroll=function(e){var v=_2af||_2ad.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_2ae.H_TRIGGER_AUTOSCROLL){dx=-_2ae.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_2ae.H_TRIGGER_AUTOSCROLL){dx=Math.min(_2ae.H_AUTOSCROLL_VALUE,_2b1-html.scrollLeft);}}if(e.clientY<_2ae.V_TRIGGER_AUTOSCROLL){dy=-_2ae.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_2ae.V_TRIGGER_AUTOSCROLL){dy=Math.min(_2ae.V_AUTOSCROLL_VALUE,_2b0-html.scrollTop);}}window.scrollBy(dx,dy);};_2ae._validNodes={"div":1,"p":1,"td":1};_2ae._validOverflow={"auto":1,"scroll":1};_2ae.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_2b2,_2b3;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _2ae._validNodes)){var s=_2ac.getComputedStyle(n),_2b4=(s.overflow.toLowerCase() in _2ae._validOverflow),_2b5=(s.overflowX.toLowerCase() in _2ae._validOverflow),_2b6=(s.overflowY.toLowerCase() in _2ae._validOverflow);if(_2b4||_2b5||_2b6){b=_2ab.getContentBox(n,s);t=_2ab.position(n,true);}if(_2b4||_2b5){w=Math.min(_2ae.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_2b2=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_2b4||_2b6){h=Math.min(_2ae.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_2b3=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_2ae.autoScroll(e);};return _2ae;});},"dojo/dnd/move":function(){define("dojo/dnd/move",["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_2b7,_2b8,_2b9,dnd,_2ba,_2bb){var _2bc=_2b7("dojo.dnd.move.constrainedMoveable",_2bb,{constraints:function(){},within:false,constructor:function(node,_2bd){if(!_2bd){_2bd={};}this.constraints=_2bd.constraints;this.within=_2bd.within;},onFirstMove:function(_2be){var c=this.constraintBox=this.constraints.call(this,_2be);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_2b8.getMarginSize(_2be.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_2bf,_2c0){var c=this.constraintBox,s=_2bf.node.style;this.onMoving(_2bf,_2c0);_2c0.l=_2c0.l<c.l?c.l:c.r<_2c0.l?c.r:_2c0.l;_2c0.t=_2c0.t<c.t?c.t:c.b<_2c0.t?c.b:_2c0.t;s.left=_2c0.l+"px";s.top=_2c0.t+"px";this.onMoved(_2bf,_2c0);}});var _2c1=_2b7("dojo.dnd.move.boxConstrainedMoveable",_2bc,{box:{},constructor:function(node,_2c2){var box=_2c2&&_2c2.box;this.constraints=function(){return box;};}});var _2c3=_2b7("dojo.dnd.move.parentConstrainedMoveable",_2bc,{area:"content",constructor:function(node,_2c4){var area=_2c4&&_2c4.area;this.constraints=function(){var n=this.node.parentNode,s=_2b9.getComputedStyle(n),mb=_2b8.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_2b8.getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=_2b8.getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=_2b8.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_2bc,boxConstrainedMoveable:_2c1,parentConstrainedMoveable:_2c3};});},"dojo/dnd/TimedMoveable":function(){define("dojo/dnd/TimedMoveable",["../_base/declare","./Moveable"],function(_2c5,_2c6){var _2c7=_2c6.prototype.onMove;return _2c5("dojo.dnd.TimedMoveable",_2c6,{timeout:40,constructor:function(node,_2c8){if(!_2c8){_2c8={};}if(_2c8.timeout&&typeof _2c8.timeout=="number"&&_2c8.timeout>=0){this.timeout=_2c8.timeout;}},onMoveStop:function(_2c9){if(_2c9._timer){clearTimeout(_2c9._timer);_2c7.call(this,_2c9,_2c9._leftTop);}_2c6.prototype.onMoveStop.apply(this,arguments);},onMove:function(_2ca,_2cb){_2ca._leftTop=_2cb;if(!_2ca._timer){var _2cc=this;_2ca._timer=setTimeout(function(){_2ca._timer=null;_2c7.call(_2cc,_2ca,_2ca._leftTop);},this.timeout);}}});});},"dojo/fx/Toggler":function(){define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../_base/connect"],function(lang,_2cd,_2ce,_2cf){return _2cd("dojo.fx.Toggler",null,{node:null,showFunc:_2ce.fadeIn,hideFunc:_2ce.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _2d0=this;lang.mixin(_2d0,args);_2d0.node=args.node;_2d0._showArgs=lang.mixin({},args);_2d0._showArgs.node=_2d0.node;_2d0._showArgs.duration=_2d0.showDuration;_2d0.showAnim=_2d0.showFunc(_2d0._showArgs);_2d0._hideArgs=lang.mixin({},args);_2d0._hideArgs.node=_2d0.node;_2d0._hideArgs.duration=_2d0.hideDuration;_2d0.hideAnim=_2d0.hideFunc(_2d0._hideArgs);_2cf.connect(_2d0.showAnim,"beforeBegin",lang.hitch(_2d0.hideAnim,"stop",true));_2cf.connect(_2d0.hideAnim,"beforeBegin",lang.hitch(_2d0.showAnim,"stop",true));},show:function(_2d1){return this.showAnim.play(_2d1||0);},hide:function(_2d2){return this.hideAnim.play(_2d2||0);}});});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_2d3,lang,_2d4,_2d5,dom,_2d6,_2d7){var html={};lang.setObject("dojo.html",html);var _2d8=0;html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};html._emptyNode=_2d6.empty;html._setNodeContent=function(node,cont){_2d6.empty(node);if(cont){if(typeof cont=="string"){cont=_2d6.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _2d9=cont.length,i=0;i<cont.length;i=_2d9==cont.length?i+1:0){_2d6.place(cont[i],node,"last");}}else{_2d6.place(cont,node,"last");}}return node;};html._ContentSetter=_2d5("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_2d3._scopeName,startup:true,constructor:function(_2da,node){lang.mixin(this,_2da||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_2d8++].join("_");}},set:function(cont,_2db){if(undefined!==cont){this.content=cont;}if(_2db){this._mixin(_2db);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _2dc=this.onContentError(e);try{node.innerHTML=_2dc;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_2d4.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_2d6.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _2dd=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_2dd){cont=_2dd[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_2de){var _2df={},key;for(key in _2de){if(key in _2df){continue;}this[key]=_2de[key];}},_parse:function(){var _2e0=this.node;try{var _2e1={};_2d4.forEach(["dir","lang","textDir"],function(name){if(this[name]){_2e1[name]=this[name];}},this);var self=this;this.parseDeferred=_2d7.parse({rootNode:_2e0,noStart:!this.startup,inherited:_2e1,scope:this.parserScope}).then(function(_2e2){return self.parseResults=_2e2;});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_2e3){var _2e4=this["on"+type+"Error"].call(this,err);if(_2e3){console.error(_2e3,err);}else{if(_2e4){html._setNodeContent(this.node,_2e4,true);}}}});html.set=function(node,cont,_2e5){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_2e5){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_2e5,{content:cont,node:node}));return op.set();}};return html;});},"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_2e6,has,_2e7,_2e8,lang,xhr,json,_2e9){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _2ea=dojo.i18n={},_2eb=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_2ec=function(root,_2ed,_2ee,_2ef){for(var _2f0=[_2ee+_2ef],_2f1=_2ed.split("-"),_2f2="",i=0;i<_2f1.length;i++){_2f2+=(_2f2?"-":"")+_2f1[i];if(!root||root[_2f2]){_2f0.push(_2ee+_2f2+"/"+_2ef);}}return _2f0;},_2f3={},_2f4=function(_2f5,_2f6,_2f7){_2f7=_2f7?_2f7.toLowerCase():dojo.locale;_2f5=_2f5.replace(/\./g,"/");_2f6=_2f6.replace(/\./g,"/");return (/root/i.test(_2f7))?(_2f5+"/nls/"+_2f6):(_2f5+"/nls/"+_2f7+"/"+_2f6);},_2f8=dojo.getL10nName=function(_2f9,_2fa,_2fb){return _2f9=_2e9.id+"!"+_2f4(_2f9,_2fa,_2fb);},_2fc=function(_2fd,_2fe,_2ff,_300,_301,load){_2fd([_2fe],function(root){var _302=lang.clone(root.root),_303=_2ec(!root._v1x&&root,_301,_2ff,_300);_2fd(_303,function(){for(var i=1;i<_303.length;i++){_302=lang.mixin(lang.clone(_302),arguments[i]);}var _304=_2fe+"/"+_301;_2f3[_304]=_302;load();});});},_305=function(id,_306){return /^\./.test(id)?_306(id):id;},_307=function(_308){var list=_2e8.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_308);return list;},load=function(id,_309,load){if(has("dojo-preload-i18n-Api")){var _30a=id.split("*"),_30b=_30a[1]=="preload";if(_30b){if(!_2f3[id]){_2f3[id]=1;_30c(_30a[2],json.parse(_30a[3]),1,_309);}load(1);}if(_30b||_30d(id,_309,load)){return;}}var _30e=_2eb.exec(id),_30f=_30e[1]+"/",_310=_30e[5]||_30e[4],_311=_30f+_310,_312=(_30e[5]&&_30e[4]),_313=_312||dojo.locale,_314=_311+"/"+_313,_315=_312?[_313]:_307(_313),_316=_315.length,_317=function(){if(!--_316){load(lang.delegate(_2f3[_314]));}};_2e7.forEach(_315,function(_318){var _319=_311+"/"+_318;if(has("dojo-preload-i18n-Api")){_31a(_319);}if(!_2f3[_319]){_2fc(_309,_311,_30f,_310,_318,_317);}else{_317();}});};if(has("dojo-unit-tests")){var _31b=_2ea.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _31c=_2ea.normalizeLocale=function(_31d){var _31e=_31d?_31d.toLowerCase():dojo.locale;return _31e=="root"?"ROOT":_31e;},isXd=function(mid,_31f){return (1&&1)?_31f.isXdUrl(_2e6.toUrl(mid+".js")):true;},_320=0,_321=[],_30c=_2ea._preloadLocalizations=function(_322,_323,_324,_325){_325=_325||_2e6;function _326(mid,_327){if(isXd(mid,_325)||_324){_325([mid],_327);}else{_331([mid],_327,_325);}};function _328(_329,func){var _32a=_329.split("-");while(_32a.length){if(func(_32a.join("-"))){return;}_32a.pop();}func("ROOT");};function _32b(_32c){_32c=_31c(_32c);_328(_32c,function(loc){if(_2e7.indexOf(_323,loc)>=0){var mid=_322.replace(/\./g,"/")+"_"+loc;_320++;_326(mid,function(_32d){for(var p in _32d){_2f3[_2e6.toAbsMid(p)+"/"+loc]=_32d[p];}--_320;while(!_320&&_321.length){load.apply(null,_321.shift());}});return true;}return false;});};_32b();_2e7.forEach(dojo.config.extraLocale,_32b);},_30d=function(id,_32e,load){if(_320){_321.push([id,_32e,load]);}return _320;},_31a=function(){};}if(1){var _32f={},_330=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_331=function(deps,_332,_333){var _334=[];_2e7.forEach(deps,function(mid){var url=_333.toUrl(mid+".js");function load(text){var _335=_330(text,_31a,mid,_32f);if(_335===_32f){_334.push(_2f3[url]=_32f.result);}else{if(_335 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_335);_335={};}_334.push(_2f3[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_335:{root:_335,_v1x:1}));}};if(_2f3[url]){_334.push(_2f3[url]);}else{var _336=_333.syncLoadNls(mid);if(_336){_334.push(_336);}else{if(!xhr){try{_333.getText(url,true,load);}catch(e){_334.push(_2f3[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_334.push(_2f3[url]={});}});}}}});_332&&_332.apply(null,_334);};_31a=function(_337){for(var _338,_339=_337.split("/"),_33a=dojo.global[_339[0]],i=1;_33a&&i<_339.length-1;_33a=_33a[_339[i++]]){}if(_33a){_338=_33a[_339[i]];if(!_338){_338=_33a[_339[i].replace(/-/g,"_")];}if(_338){_2f3[_337]=_338;}}return _338;};_2ea.getLocalization=function(_33b,_33c,_33d){var _33e,_33f=_2f4(_33b,_33c,_33d);load(_33f,(!isXd(_33f,_2e6)?function(deps,_340){_331(deps,_340,_2e6);}:_2e6),function(_341){_33e=_341;});return _33e;};if(has("dojo-unit-tests")){_31b.push(function(doh){doh.register("tests.i18n.unit",function(t){var _342;_342=_330("{prop:1}",_31a,"nonsense",_32f);t.is({prop:1},_342);t.is(undefined,_342[1]);_342=_330("({prop:1})",_31a,"nonsense",_32f);t.is({prop:1},_342);t.is(undefined,_342[1]);_342=_330("{'prop-x':1}",_31a,"nonsense",_32f);t.is({"prop-x":1},_342);t.is(undefined,_342[1]);_342=_330("({'prop-x':1})",_31a,"nonsense",_32f);t.is({"prop-x":1},_342);t.is(undefined,_342[1]);_342=_330("define({'prop-x':1})",_31a,"nonsense",_32f);t.is(_32f,_342);t.is({"prop-x":1},_32f.result);_342=_330("define('some/module', {'prop-x':1})",_31a,"nonsense",_32f);t.is(_32f,_342);t.is({"prop-x":1},_32f.result);_342=_330("this is total nonsense and should throw an error",_31a,"nonsense",_32f);t.is(_342 instanceof Error,true);});});}}return lang.mixin(_2ea,{dynamic:true,normalize:_305,load:load,cache:_2f3});});},"dijit/dijit":function(){define("dijit/dijit",["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_343){return _343;});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_base":function(){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_344){return _344._base;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/sniff","./main"],function(_345,_346,_347,dom,_348,_349,has,_34a){var _34b=(_34a._isElementShown=function(elem){var s=_349.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_348.get(elem,"type")!="hidden");});_34a.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _348.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _34c=elem.contentDocument;if("designMode" in _34c&&_34c.designMode=="on"){return true;}body=_34c.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _34d=(_34a.isTabNavigable=function(elem){if(_348.get(elem,"disabled")){return false;}else{if(_348.has(elem,"tabIndex")){return _348.get(elem,"tabIndex")>=0;}else{return _34a.hasDefaultTabStop(elem);}}});_34a._getTabNavigable=function(root){var _34e,last,_34f,_350,_351,_352,_353={};function _354(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _355=function(_356){for(var _357=_356.firstChild;_357;_357=_357.nextSibling){if(_357.nodeType!=1||(has("ie")<=9&&_357.scopeName!=="HTML")||!_34b(_357)){continue;}if(_34d(_357)){var _358=+_348.get(_357,"tabIndex");if(!_348.has(_357,"tabIndex")||_358==0){if(!_34e){_34e=_357;}last=_357;}else{if(_358>0){if(!_34f||_358<_350){_350=_358;_34f=_357;}if(!_351||_358>=_352){_352=_358;_351=_357;}}}var rn=_354(_357);if(_348.get(_357,"checked")&&rn){_353[rn]=_357;}}if(_357.nodeName.toUpperCase()!="SELECT"){_355(_357);}}};if(_34b(root)){_355(root);}function rs(node){return _353[_354(node)]||node;};return {first:rs(_34e),last:rs(last),lowest:rs(_34f),highest:rs(_351)};};_34a.getFirstInTabbingOrder=function(root,doc){var _359=_34a._getTabNavigable(dom.byId(root,doc));return _359.lowest?_359.lowest:_359.first;};_34a.getLastInTabbingOrder=function(root,doc){var _35a=_34a._getTabNavigable(dom.byId(root,doc));return _35a.last?_35a.last:_35a.highest;};return {hasDefaultTabStop:_34a.hasDefaultTabStop,isTabNavigable:_34a.isTabNavigable,_getTabNavigable:_34a._getTabNavigable,getFirstInTabbingOrder:_34a.getFirstInTabbingOrder,getLastInTabbingOrder:_34a.getLastInTabbingOrder};});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_35b,_35c,_35d,_35e){var _35f=_35c("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_360){if(this._hash[_360.id]){throw new Error("Tried to register widget with id=="+_360.id+" but that id is already registered");}this._hash[_360.id]=_360;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_361){_361=_361||_35d.global;var i=0,id;for(id in this._hash){func.call(_361,this._hash[id],i++,this._hash);}return this;},filter:function(_362,_363){_363=_363||_35d.global;var res=new _35f(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_362.call(_363,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _35f(),id,_364;for(id in this._hash){_364=this._hash[id];if(_364.declaredClass==cls){res.add(_364);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_365){return _35b.map(this.toArray(),func,_365);},every:function(func,_366){_366=_366||_35d.global;var x=0,i;for(i in this._hash){if(!func.call(_366,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_367){_367=_367||_35d.global;var x=0,i;for(i in this._hash){if(func.call(_367,this._hash[i],x++,this._hash)){return true;}}return false;}});_35b.forEach(["forEach","filter","byClass","map","every","some"],function(func){_35e[func]=_35f.prototype[func];});return _35f;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_368,has,_369,win,_36a){var _36b={},hash={};var _36c={length:0,add:function(_36d){if(hash[_36d.id]){throw new Error("Tried to register widget with id=="+_36d.id+" but that id is already registered");}hash[_36d.id]=_36d;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_36e){var id;do{id=_36e+"_"+(_36e in _36b?++_36b[_36e]:_36b[_36e]=0);}while(hash[id]);return _36a._scopeName=="dijit"?id:_36a._scopeName+"_"+id;},findWidgets:function(root,_36f){var _370=[];function _371(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _372=node.getAttribute("widgetId");if(_372){var _373=hash[_372];if(_373){_370.push(_373);}}else{if(node!==_36f){_371(node);}}}}};_371(root);return _370;},_destroyAll:function(){_36a._curFocus=null;_36a._prevFocus=null;_36a._activeStack=[];_368.forEach(_36c.findWidgets(win.body()),function(_374){if(!_374._destroyed){if(_374.destroyRecursive){_374.destroyRecursive();}else{if(_374.destroy){_374.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_36a.registry=_36c;return _36c;});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../main"],function(_375,dom,lang,_376,win,_377,_378){var _379={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _378.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_377.curNode;if(win.global.getSelection){sel=win.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_37a){var _37b=win.doc,mark=_37a.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_37b.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_37b.body.createControlRange();_375.forEach(mark,function(n){rg.addElement(n);});}else{rg=_37b.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_37c){var node=!_377.curNode||(menu&&dom.isDescendant(_377.curNode,menu.domNode))?_378._prevFocus:_377.curNode;return {node:node,bookmark:node&&(node==_377.curNode)&&win.withGlobal(_37c||win.global,_378.getBookmark),openedForWindow:_37c};},_activeStack:[],registerIframe:function(_37d){return _377.registerIframe(_37d);},unregisterIframe:function(_37e){_37e&&_37e.remove();},registerWin:function(_37f,_380){return _377.registerWin(_37f,_380);},unregisterWin:function(_381){_381&&_381.remove();}};_377.focus=function(_382){if(!_382){return;}var node="node" in _382?_382.node:_382,_383=_382.bookmark,_384=_382.openedForWindow,_385=_383?_383.isCollapsed:false;if(node){var _386=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_386&&_386.focus){try{_386.focus();}catch(e){}}_377._onFocusNode(node);}if(_383&&win.withGlobal(_384||win.global,_378.isCollapsed)&&!_385){if(_384){_384.focus();}try{win.withGlobal(_384||win.global,_378.moveToBookmark,null,[_383]);}catch(e2){}}};_377.watch("curNode",function(name,_387,_388){_378._curFocus=_388;_378._prevFocus=_387;if(_388){_376.publish("focusNode",_388);}});_377.watch("activeStack",function(name,_389,_38a){_378._activeStack=_38a;});_377.on("widget-blur",function(_38b,by){_376.publish("widgetBlur",_38b,by);});_377.on("widget-focus",function(_38c,by){_376.publish("widgetFocus",_38c,by);});lang.mixin(_378,_379);return _378;});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_38d,_38e,dom,_38f,_390,_391,lang,on,_392,has,_393,_394,win,_395,a11y,_396,_397){var _398=_38e([_393,_391],{curNode:null,activeStack:[],constructor:function(){var _399=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_38d.before(_390,"empty",_399);_38d.before(_390,"destroy",_399);},registerIframe:function(_39a){return this.registerWin(_39a.contentWindow,_39a);},registerWin:function(_39b,_39c){var _39d=this;var _39e=function(evt){_39d._justMouseDowned=true;setTimeout(function(){_39d._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_39d._onTouchNode(_39c||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_39b.document.documentElement:_39b.document;if(doc){if(has("ie")){_39b.document.body.attachEvent("onmousedown",_39e);var _39f=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_39d._onFocusNode(_39c||evt.srcElement);}else{_39d._onTouchNode(_39c||evt.srcElement);}};doc.attachEvent("onfocusin",_39f);var _3a0=function(evt){_39d._onBlurNode(_39c||evt.srcElement);};doc.attachEvent("onfocusout",_3a0);return {remove:function(){_39b.document.detachEvent("onmousedown",_39e);doc.detachEvent("onfocusin",_39f);doc.detachEvent("onfocusout",_3a0);doc=null;}};}else{doc.body.addEventListener("mousedown",_39e,true);doc.body.addEventListener("touchstart",_39e,true);var _3a1=function(evt){_39d._onFocusNode(_39c||evt.target);};doc.addEventListener("focus",_3a1,true);var _3a2=function(evt){_39d._onBlurNode(_39c||evt.target);};doc.addEventListener("blur",_3a2,true);return {remove:function(){doc.body.removeEventListener("mousedown",_39e,true);doc.body.removeEventListener("touchstart",_39e,true);doc.removeEventListener("focus",_3a1,true);doc.removeEventListener("blur",_3a2,true);doc=null;}};}}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _3a3=[];try{while(node){var _3a4=_38f.get(node,"dijitPopupParent");if(_3a4){node=_396.byId(_3a4).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_395.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_3a5=id&&_396.byId(id);if(_3a5&&!(by=="mouse"&&_3a5.get("disabled"))){_3a3.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_3a3,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_3a6,by){var _3a7=this.activeStack;this.set("activeStack",_3a6);for(var _3a8=0;_3a8<Math.min(_3a7.length,_3a6.length);_3a8++){if(_3a7[_3a8]!=_3a6[_3a8]){break;}}var _3a9;for(var i=_3a7.length-1;i>=_3a8;i--){_3a9=_396.byId(_3a7[i]);if(_3a9){_3a9._hasBeenBlurred=true;_3a9.set("focused",false);if(_3a9._focusManager==this){_3a9._onBlur(by);}this.emit("widget-blur",_3a9,by);}}for(i=_3a8;i<_3a6.length;i++){_3a9=_396.byId(_3a6[i]);if(_3a9){_3a9.set("focused",true);if(_3a9._focusManager==this){_3a9._onFocus(by);}this.emit("widget-focus",_3a9,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _3aa=new _398();_392(function(){var _3ab=_3aa.registerWin(_395.get(win.doc));if(has("ie")){_394.addOnWindowUnload(function(){if(_3ab){_3ab.remove();_3ab=null;}});}});_397.focus=function(node){_3aa.focus(node);};for(var attr in _3aa){if(!/^_/.test(attr)){_397.focus[attr]=typeof _3aa[attr]=="function"?lang.hitch(_3aa,attr):_3aa[attr];}}_3aa.watch(function(attr,_3ac,_3ad){_397.focus[attr]=_3ad;});return _3aa;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_3ae,_3af,lang,_3b0,_3b1){var _3b2={};_3ae.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_3b2[name]=_3b0[name];});lang.mixin(_3b2,{defaultDuration:_3af["defaultDuration"]||200});lang.mixin(_3b1,_3b2);return _3b1;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_3b3,lang,_3b4,_3b5,_3b6){var _3b7={};_3b7.getViewport=function(){return _3b4.getBox();};_3b7.placeOnScreen=_3b5.at;_3b7.placeOnScreenAroundElement=function(node,_3b8,_3b9,_3ba){var _3bb;if(lang.isArray(_3b9)){_3bb=_3b9;}else{_3bb=[];for(var key in _3b9){_3bb.push({aroundCorner:key,corner:_3b9[key]});}}return _3b5.around(node,_3b8,_3bb,true,_3ba);};_3b7.placeOnScreenAroundNode=_3b7.placeOnScreenAroundElement;_3b7.placeOnScreenAroundRectangle=_3b7.placeOnScreenAroundElement;_3b7.getPopupAroundAlignment=function(_3bc,_3bd){var _3be={};_3b3.forEach(_3bc,function(pos){var ltr=_3bd;switch(pos){case "after":_3be[_3bd?"BR":"BL"]=_3bd?"BL":"BR";break;case "before":_3be[_3bd?"BL":"BR"]=_3bd?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_3be[ltr?"BL":"BR"]=ltr?"TL":"TR";_3be[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_3be[ltr?"TL":"TR"]=ltr?"BL":"BR";_3be[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _3be;};lang.mixin(_3b6,_3b7);return _3b6;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","./main"],function(_3bf,_3c0,_3c1,_3c2,win,_3c3,_3c4){function _3c5(node,_3c6,_3c7,_3c8){var view=_3c3.getBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_3bf.some(_3c6,function(_3c9){var _3ca=_3c9.corner;var pos=_3c9.pos;var _3cb=0;var _3cc={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_3ca.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_3ca.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_3c7){var res=_3c7(node,_3c9.aroundCorner,_3ca,_3cc,_3c8);_3cb=typeof res=="undefined"?0:res;}var _3cd=node.style;var _3ce=_3cd.display;var _3cf=_3cd.visibility;if(_3cd.display=="none"){_3cd.visibility="hidden";_3cd.display="";}var bb=_3c0.position(node);_3cd.display=_3ce;_3cd.visibility=_3cf;var _3d0={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_3ca.charAt(1)],_3d1={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_3ca.charAt(0)],_3d2=Math.max(view.l,_3d0),_3d3=Math.max(view.t,_3d1),endX=Math.min(view.l+view.w,_3d0+bb.w),endY=Math.min(view.t+view.h,_3d1+bb.h),_3d4=endX-_3d2,_3d5=endY-_3d3;_3cb+=(bb.w-_3d4)+(bb.h-_3d5);if(best==null||_3cb<best.overflow){best={corner:_3ca,aroundCorner:_3c9.aroundCorner,x:_3d2,y:_3d3,w:_3d4,h:_3d5,overflow:_3cb,spaceAvailable:_3cc};}return !_3cb;});if(best.overflow&&_3c7){_3c7(node,best.aroundCorner,best.corner,best.spaceAvailable,_3c8);}var l=_3c0.isBodyLtr(node.ownerDocument),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};var _3d6={at:function(node,pos,_3d7,_3d8){var _3d9=_3bf.map(_3d7,function(_3da){var c={corner:_3da,pos:{x:pos.x,y:pos.y}};if(_3d8){c.pos.x+=_3da.charAt(1)=="L"?_3d8.x:-_3d8.x;c.pos.y+=_3da.charAt(0)=="T"?_3d8.y:-_3d8.y;}return c;});return _3c5(node,_3d9);},around:function(node,_3db,_3dc,_3dd,_3de){var _3df=(typeof _3db=="string"||"offsetWidth" in _3db)?_3c0.position(_3db,true):_3db;if(_3db.parentNode){var _3e0=_3c1.getComputedStyle(_3db).position=="absolute";var _3e1=_3db.parentNode;while(_3e1&&_3e1.nodeType==1&&_3e1.nodeName!="BODY"){var _3e2=_3c0.position(_3e1,true),pcs=_3c1.getComputedStyle(_3e1);if(/relative|absolute/.test(pcs.position)){_3e0=false;}if(!_3e0&&/hidden|auto|scroll/.test(pcs.overflow)){var _3e3=Math.min(_3df.y+_3df.h,_3e2.y+_3e2.h);var _3e4=Math.min(_3df.x+_3df.w,_3e2.x+_3e2.w);_3df.x=Math.max(_3df.x,_3e2.x);_3df.y=Math.max(_3df.y,_3e2.y);_3df.h=_3e3-_3df.y;_3df.w=_3e4-_3df.x;}if(pcs.position=="absolute"){_3e0=true;}_3e1=_3e1.parentNode;}}var x=_3df.x,y=_3df.y,_3e5="w" in _3df?_3df.w:(_3df.w=_3df.width),_3e6="h" in _3df?_3df.h:(_3c2.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_3df.height+", width:"+_3e5+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_3df.height+", w:"+_3e5+" }","","2.0"),_3df.h=_3df.height);var _3e7=[];function push(_3e8,_3e9){_3e7.push({aroundCorner:_3e8,corner:_3e9,pos:{x:{"L":x,"R":x+_3e5,"M":x+(_3e5>>1)}[_3e8.charAt(1)],y:{"T":y,"B":y+_3e6,"M":y+(_3e6>>1)}[_3e8.charAt(0)]}});};_3bf.forEach(_3dc,function(pos){var ltr=_3dd;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _3ea=_3c5(node,_3e7,_3de,{w:_3e5,h:_3e6});_3ea.aroundNodePos=_3df;return _3ea;}};return _3c4.place=_3d6;});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_3eb,win,_3ec){var _3ed=_3ec._createWrapper;_3ec._createWrapper=function(_3ee){if(!_3ee.declaredClass){_3ee={_popupWrapper:(_3ee.parentNode&&_3eb.contains(_3ee.parentNode,"dijitPopup"))?_3ee.parentNode:null,domNode:_3ee,destroy:function(){},ownerDocument:_3ee.ownerDocument,ownerDocumentBody:win.body(_3ee.ownerDocument)};}return _3ed.call(this,_3ee);};var _3ef=_3ec.open;_3ec.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _3ef.call(this,args);};return _3ec;});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./place","./BackgroundIframe","./main"],function(_3f0,_3f1,_3f2,_3f3,dom,_3f4,_3f5,_3f6,_3f7,_3f8,keys,lang,on,has,_3f9,_3fa,_3fb){function _3fc(){if(this._popupWrapper){_3f5.destroy(this._popupWrapper);delete this._popupWrapper;}};var _3fd=_3f3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_3fe){var _3ff=_3fe._popupWrapper,node=_3fe.domNode;if(!_3ff){_3ff=_3f5.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},_3fe.ownerDocumentBody);_3ff.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_3fe._popupWrapper=_3ff;_3f1.after(_3fe,"destroy",_3fc,true);}return _3ff;},moveOffScreen:function(_400){var _401=this._createWrapper(_400);_3f7.set(_401,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_402){var _403=this._createWrapper(_402);_3f7.set(_403,"display","none");},getTopPopup:function(){var _404=this._stack;for(var pi=_404.length-1;pi>0&&_404[pi].parent===_404[pi-1].widget;pi--){}return _404[pi];},open:function(args){var _405=this._stack,_406=args.popup,_407=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_3f6.isBodyLtr(_406.ownerDocument),_408=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_405.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_405[_405.length-1].widget.domNode))){this.close(_405[_405.length-1].widget);}var _409=this._createWrapper(_406);_3f4.set(_409,{id:id,style:{zIndex:this._beginZIndex+_405.length},"class":"dijitPopup "+(_406.baseClass||_406["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_406.bgIframe){_406.bgIframe=new _3fa(_409);}}var best=_408?_3f9.around(_409,_408,_407,ltr,_406.orient?lang.hitch(_406,"orient"):null):_3f9.at(_409,args,_407=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_409.style.display="";_409.style.visibility="visible";_406.domNode.style.visibility="visible";var _40a=[];_40a.push(on(_409,_3f2._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_3f8.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_3f8.stop(evt);var _40b=this.getTopPopup();if(_40b&&_40b.onCancel){_40b.onCancel();}}}})));if(_406.onCancel&&args.onCancel){_40a.push(_406.on("cancel",args.onCancel));}_40a.push(_406.on(_406.onExecute?"execute":"change",lang.hitch(this,function(){var _40c=this.getTopPopup();if(_40c&&_40c.onExecute){_40c.onExecute();}})));_405.push({widget:_406,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_40a});if(_406.onOpen){_406.onOpen(best);}return best;},close:function(_40d){var _40e=this._stack;while((_40d&&_3f0.some(_40e,function(elem){return elem.widget==_40d;}))||(!_40d&&_40e.length)){var top=_40e.pop(),_40f=top.widget,_410=top.onClose;if(_40f.onClose){_40f.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_40f&&_40f.domNode){this.hide(_40f);}if(_410){_410();}}}});return (_3fb.popup=new _3fd());});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_411,_412,_413,_414,_415,lang,on,has,win){var _416=new function(){var _417=[];this.pop=function(){var _418;if(_417.length){_418=_417.pop();_418.style.display="";}else{if(has("ie")<9){var burl=_413["dojoBlankHtmlUrl"]||_411.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_418=win.doc.createElement(html);}else{_418=_414.create("iframe");_418.src="javascript:\"\"";_418.className="dijitBackgroundIframe";_418.setAttribute("role","presentation");_415.set(_418,"opacity",0.1);}_418.tabIndex=-1;}return _418;};this.push=function(_419){_419.style.display="none";_417.push(_419);};}();_412.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _41a=(this.iframe=_416.pop());node.appendChild(_41a);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_415.set(_41a,{width:"100%",height:"100%"});}}};lang.extend(_412.BackgroundIframe,{resize:function(node){if(this.iframe){_415.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_416.push(this.iframe);delete this.iframe;}}});return _412.BackgroundIframe;});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window","../main"],function(_41b,_41c){_41c.scrollIntoView=function(node,pos){_41b.scrollIntoView(node,pos);};});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/_base/typematic":function(){define("dijit/_base/typematic",["../typematic"],function(){});},"dijit/typematic":function(){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_41d,_41e,_41f,_420,lang,on,has,_421){var _422=(_421.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(lang.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_423,node,_424,obj,_425,_426,_427){if(obj!=this._obj){this.stop();this._initialDelay=_426||500;this._subsequentDelay=_425||0.9;this._minDelay=_427||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_423,_424);this._evt={faux:true};for(var attr in evt){if(attr!="layerX"&&attr!="layerY"){var v=evt[attr];if(typeof v!="function"&&typeof v!="undefined"){this._evt[attr]=v;}}}this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_428,_429,_42a,_42b,_42c,_42d){if(_428.keyCode){_428.charOrCode=_428.keyCode;_420.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_428.charCode){_428.charOrCode=String.fromCharCode(_428.charCode);_420.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _42e=[on(node,_41e._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==_428.charOrCode&&(_428.ctrlKey===undefined||_428.ctrlKey==evt.ctrlKey)&&(_428.altKey===undefined||_428.altKey==evt.altKey)&&(_428.metaKey===undefined||_428.metaKey==(evt.metaKey||false))&&(_428.shiftKey===undefined||_428.shiftKey==evt.shiftKey)){_41f.stop(evt);_422.trigger(evt,_429,node,_42a,_428,_42b,_42c,_42d);}else{if(_422._obj==_428){_422.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_422._obj==_428){_422.stop();}}))];return {remove:function(){_41d.forEach(_42e,function(h){h.remove();});}};},addMouseListener:function(node,_42f,_430,_431,_432,_433){var _434=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_422.trigger(evt,_42f,node,_430,node,_431,_432,_433);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_422.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_422.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_422.trigger(evt,_42f,node,_430,node,_431,_432,_433);setTimeout(lang.hitch(this,_422.stop),50);}}))];return {remove:function(){_41d.forEach(_434,function(h){h.remove();});}};},addListener:function(_435,_436,_437,_438,_439,_43a,_43b,_43c){var _43d=[this.addKeyListener(_436,_437,_438,_439,_43a,_43b,_43c),this.addMouseListener(_435,_438,_439,_43a,_43b,_43c)];return {remove:function(){_41d.forEach(_43d,function(h){h.remove();});}};}});return _422;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_43e,lang,_43f){var _440={hasWaiRole:function(elem,role){var _441=this.getWaiRole(elem);return role?(_441.indexOf(role)>-1):(_441.length>0);},getWaiRole:function(elem){return lang.trim((_43e.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_43e.set(elem,"role",role);},removeWaiRole:function(elem,role){var _442=_43e.get(elem,"role");if(!_442){return;}if(role){var t=lang.trim((" "+_442+" ").replace(" "+role+" "," "));_43e.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_443){return elem.hasAttribute?elem.hasAttribute("aria-"+_443):!!elem.getAttribute("aria-"+_443);},getWaiState:function(elem,_444){return elem.getAttribute("aria-"+_444)||"";},setWaiState:function(elem,_445,_446){elem.setAttribute("aria-"+_445,_446);},removeWaiState:function(elem,_447){elem.removeAttribute("aria-"+_447);}};lang.mixin(_43f,_440);return _43f;});},"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(_448,has,_449,win){_449(90,function(){if(has("highcontrast")){_448.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./ready","./_base/window"],function(_44a,_44b,_44c,_44d,has,_44e,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url("+(_44b.blankGif||_44a.toUrl("./resources/blank.gif"))+");";win.body().appendChild(div);var cs=_44d.getComputedStyle(div),_44f=cs.backgroundImage,hc=(cs.borderTopColor==cs.borderRightColor)||(_44f&&(_44f=="none"||_44f=="url(invalid-url:)"));if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}return hc;});_44e(90,function(){if(has("highcontrast")){_44c.add(win.body(),"dj_a11y");}});return has;});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window","../main"],function(_450,_451){_451.getDocumentWindow=function(doc){return _450.get(doc);};});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_452,_453,_454,_455,has,_456,lang,_457,_458,_459,_45a,_45b,_45c){function _45d(){};function _45e(_45f){return function(obj,_460,_461,_462){if(obj&&typeof _460=="string"&&obj[_460]==_45d){return obj.on(_460.substring(2).toLowerCase(),lang.hitch(_461,_462));}return _45f.apply(_454,arguments);};};_452.around(_454,"connect",_45e);if(_456.connect){_452.around(_456,"connect",_45e);}var _463=_455("dijit._Widget",[_45a,_45b,_45c],{onClick:_45d,onDblClick:_45d,onKeyDown:_45d,onKeyPress:_45d,onKeyUp:_45d,onMouseDown:_45d,onMouseMove:_45d,onMouseOut:_45d,onMouseOver:_45d,onMouseLeave:_45d,onMouseEnter:_45d,onMouseUp:_45d,constructor:function(_464){this._toConnect={};for(var name in _464){if(this[name]===_45d){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_464[name];delete _464[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_45d){return _454.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_465){_456.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_465);},attr:function(name,_466){if(_453.isDebug){var _467=arguments.callee._ach||(arguments.callee._ach={}),_468=(arguments.callee.caller||"unknown caller").toString();if(!_467[_468]){_456.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_468,"","2.0");_467[_468]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_456.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_457("[widgetId]",this.containerNode).map(_459.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_458(0,function(){var _469=["dijit/_base"];require(_469);});}return _463;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","./registry"],function(_46a,_46b,_46c,_46d,_46e,_46f,dom,_470,_471,_472,_473,_474,has,_475,lang,on,_476,_477,_478,win,_479,_47a){has.add("dijit-legacy-requires",!_475.isAsync);if(has("dijit-legacy-requires")){_476(0,function(){var _47b=["dijit/_base/manager"];_46a(_47b);});}var _47c={};function _47d(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _47e(attr){return function(val){_470[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _46f("dijit._WidgetBase",[_477,_479],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_47e("lang"),dir:"",_setDirAttr:_47e("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_46d.blankGif||_46a.toUrl("dojo/resources/blank.gif"),postscript:function(_47f,_480){this.create(_47f,_480);},create:function(_481,_482){this.srcNodeRef=dom.byId(_482);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_481){this.params=_481;lang.mixin(this,_481);}this.postMixInProperties();if(!this.id){this.id=_47a.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:win.doc);this.ownerDocumentBody=win.body(this.ownerDocument);_47a.add(this);this.buildRendering();var _483;if(this.domNode){this._applyAttributes();var _484=this.srcNodeRef;if(_484&&_484.parentNode&&this.domNode!==_484){_484.parentNode.replaceChild(this.domNode,_484);_483=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_483){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _485=ctor.prototype;for(var _486 in _485){if(_486 in this.attributeMap){continue;}var _487="_set"+_486.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_487 in _485){list.push(_486);}}}var _488={};for(var key in this.params||{}){_488[key]=this[key];}_46b.forEach(list,function(attr){if(attr in _488){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(key in _488){this.set(key,_488[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _489=this.baseClass.split(" ");if(!this.isLeftToRight()){_489=_489.concat(_46b.map(_489,function(name){return name+"Rtl";}));}_471.add(this.domNode,_489);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_46b.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_48a){this._beingDestroyed=true;this.destroyDescendants(_48a);this.destroy(_48a);},destroy:function(_48b){this._beingDestroyed=true;this.uninitialize();function _48c(w){if(w.destroyRecursive){w.destroyRecursive(_48b);}else{if(w.destroy){w.destroy(_48b);}}};_46b.forEach(this._connects,lang.hitch(this,"disconnect"));_46b.forEach(this._supportingWidgets,_48c);if(this.domNode){_46b.forEach(_47a.findWidgets(this.domNode,this.containerNode),_48c);}this.destroyRendering(_48b);_47a.remove(this.id);this._destroyed=true;},destroyRendering:function(_48d){if(this.bgIframe){this.bgIframe.destroy(_48d);delete this.bgIframe;}if(this.domNode){if(_48d){_470.remove(this.domNode,"widgetId");}else{_472.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_48d){_472.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_48e){_46b.forEach(this.getChildren(),function(_48f){if(_48f.destroyRecursive){_48f.destroyRecursive(_48e);}});},uninitialize:function(){return false;},_setStyleAttr:function(_490){var _491=this.domNode;if(lang.isObject(_490)){_474.set(_491,_490);}else{if(_491.style.cssText){_491.style.cssText+="; "+_490;}else{_491.style.cssText=_490;}}this._set("style",_490);},_attrToDom:function(attr,_492,_493){_493=arguments.length>=3?_493:this.attributeMap[attr];_46b.forEach(lang.isArray(_493)?_493:[_493],function(_494){var _495=this[_494.node||_494||"domNode"];var type=_494.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_492)){_492=lang.hitch(this,_492);}var _496=_494.attribute?_494.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_495.tagName){_470.set(_495,_496,_492);}else{_495.set(_496,_492);}break;case "innerText":_495.innerHTML="";_495.appendChild(this.ownerDocument.createTextNode(_492));break;case "innerHTML":_495.innerHTML=_492;break;case "class":_471.replace(_495,_492,this[attr]);break;}},this);},get:function(name){var _497=this._getAttrNames(name);return this[_497.g]?this[_497.g]():this[name];},set:function(name,_498){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _499=this._getAttrNames(name),_49a=this[_499.s];if(lang.isFunction(_49a)){var _49b=_49a.apply(this,Array.prototype.slice.call(arguments,1));}else{var _49c=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_49c].tagName,_49d=_47c[tag]||(_47c[tag]=_47d(this[_49c])),map=name in this.attributeMap?this.attributeMap[name]:_499.s in this?this[_499.s]:((_499.l in _49d&&typeof _498!="function")||/^aria-|^data-|^role$/.test(name))?_49c:null;if(map!=null){this._attrToDom(name,_498,map);}this._set(name,_498);}return _49b||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_49e){var _49f=this[name];this[name]=_49e;if(this._created&&_49e!==_49f){if(this._watchCallbacks){this._watchCallbacks(name,_49f,_49e);}this.emit("attrmodified-"+name,{detail:{prevValue:_49f,newValue:_49e}});}},emit:function(type,_4a0,_4a1){_4a0=_4a0||{};if(_4a0.bubbles===undefined){_4a0.bubbles=true;}if(_4a0.cancelable===undefined){_4a0.cancelable=true;}if(!_4a0.detail){_4a0.detail={};}_4a0.detail.widget=this;var ret,_4a2=this["on"+type];if(_4a2){ret=_4a2.apply(this,_4a1?_4a1:[_4a0]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_4a0);}return ret;},on:function(type,func){var _4a3=this._onMap(type);if(_4a3){return _46c.after(this,_4a3,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_47a.findWidgets(this.containerNode):[];},getParent:function(){return _47a.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_4a4,_4a5){return this.own(_46e.connect(obj,_4a4,this,_4a5))[0];},disconnect:function(_4a6){_4a6.remove();},subscribe:function(t,_4a7){return this.own(_478.subscribe(t,lang.hitch(this,_4a7)))[0];},unsubscribe:function(_4a8){_4a8.remove();},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_473.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_474.get(this.domNode,"display")!="none");},placeAt:function(_4a9,_4aa){var _4ab=!_4a9.tagName&&_47a.byId(_4a9);if(_4ab&&_4ab.addChild&&(!_4aa||typeof _4aa==="number")){_4ab.addChild(this,_4aa);}else{var ref=_4ab?(_4ab.containerNode&&!/after|before|replace/.test(_4aa||"")?_4ab.containerNode:_4ab.domNode):dom.byId(_4a9,this.ownerDocument);_472.place(this.domNode,ref,_4aa);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},getTextDir:function(text,_4ac){return _4ac;},applyTextDir:function(){},defer:function(fcn,_4ad){var _4ae=setTimeout(lang.hitch(this,function(){_4ae=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_4ad||0);return {remove:function(){if(_4ae){clearTimeout(_4ae);_4ae=null;}return null;}};}});});},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_4af,_4b0,_4b1){return _4b1("dijit.Destroyable",null,{destroy:function(_4b2){this._destroyed=true;},own:function(){_4af.forEach(arguments,function(_4b3){var _4b4="destroyRecursive" in _4b3?"destroyRecursive":"destroy" in _4b3?"destroy":"remove";var odh=_4b0.before(this,"destroy",function(_4b5){_4b3[_4b4](_4b5);});var hdh=_4b0.after(_4b3,_4b4,function(){odh.remove();hdh.remove();},true);},this);return arguments;}});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window","./a11yclick"],function(on,_4b6,keys,_4b7,has,_4b8,win,_4b9){var ret=_4b7("dijit._OnDijitClickMixin",null,{connect:function(obj,_4ba,_4bb){return this.inherited(arguments,[obj,_4ba=="ondijitclick"?_4b9:_4ba,_4bb]);}});ret.a11yclick=_4b9;return ret;});},"dijit/a11yclick":function(){define("dijit/a11yclick",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","dojo/_base/unload","dojo/_base/window"],function(on,_4bc,keys,_4bd,has,_4be,win){var _4bf=null;if(has("dom-addeventlistener")){win.doc.addEventListener("keydown",function(evt){_4bf=evt.target;},true);}else{(function(){var _4c0=function(evt){_4bf=evt.srcElement;};win.doc.attachEvent("onkeydown",_4c0);_4be.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_4c0);});})();}function _4c1(e){return (e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};return function(node,_4c2){if(/input|button/i.test(node.nodeName)){return on(node,"click",_4c2);}else{var _4c3=[on(node,"keydown",function(e){if(_4c1(e)){_4bf=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_4c1(e)&&e.target==_4bf){_4bf=null;on.emit(e.target,"click",{cancelable:true,bubbles:true});}}),on(node,"click",function(e){_4c2.call(this,e);})];if(has("touch")){var _4c4;_4c3.push(on(node,"touchend",function(e){var _4c5=e.target;_4c4=setTimeout(function(){_4c4=null;on.emit(_4c5,"click",{cancelable:true,bubbles:true});},600);}),on(node,"click",function(e){if(_4c4){clearTimeout(_4c4);}}));}return {remove:function(){_4bc.forEach(_4c3,function(h){h.remove();});if(_4c4){clearTimeout(_4c4);_4c4=null;}}};}};return ret;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_4c6,_4c7,_4c8,lang){lang.extend(_4c7,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _4c8("dijit._FocusMixin",null,{_focusManager:_4c6});});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/sniff","dojo/_base/unload"],function(lang,_4c9,_4ca,_4cb,_4cc,_4cd,_4ce,_4cf,has,_4d0){var _4d1=_4ce("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _4d2=this.declaredClass,_4d3=this;return _4cb.substitute(tmpl,this,function(_4d4,key){if(key.charAt(0)=="!"){_4d4=lang.getObject(key.substr(1),false,_4d3);}if(typeof _4d4=="undefined"){throw new Error(_4d2+" template:"+key);}if(_4d4==null){return "";}return key.charAt(0)=="!"?_4d4:_4d4.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_4cc(this.templatePath,{sanitize:true});}var _4d5=_4d1.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_4d5)){node=_4cf.toDom(this._stringRepl(_4d5),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_4d5);}}else{node=_4d5.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_4d6){var dest=this.containerNode;if(_4d6&&dest){while(_4d6.hasChildNodes()){dest.appendChild(_4d6.firstChild);}}},_attachTemplateNodes:function(_4d7,_4d8){var _4d9=lang.isArray(_4d7)?_4d7:(_4d7.all||_4d7.getElementsByTagName("*"));var x=lang.isArray(_4d7)?0:-1;for(;x<0||_4d9[x];x++){var _4da=(x==-1)?_4d7:_4d9[x];if(this.widgetsInTemplate&&(_4d8(_4da,"dojoType")||_4d8(_4da,"data-dojo-type"))){continue;}var _4db=_4d8(_4da,"dojoAttachPoint")||_4d8(_4da,"data-dojo-attach-point");if(_4db){var _4dc,_4dd=_4db.split(/\s*,\s*/);while((_4dc=_4dd.shift())){if(lang.isArray(this[_4dc])){this[_4dc].push(_4da);}else{this[_4dc]=_4da;}this._attachPoints.push(_4dc);}}var _4de=_4d8(_4da,"dojoAttachEvent")||_4d8(_4da,"data-dojo-attach-event");if(_4de){var _4df,_4e0=_4de.split(/\s*,\s*/);var trim=lang.trim;while((_4df=_4e0.shift())){if(_4df){var _4e1=null;if(_4df.indexOf(":")!=-1){var _4e2=_4df.split(":");_4df=trim(_4e2[0]);_4e1=trim(_4e2[1]);}else{_4df=trim(_4df);}if(!_4e1){_4e1=_4df;}this._attachEvents.push(this.connect(_4da,_4c9[_4df]||_4df,_4e1));}}}}},destroyRendering:function(){_4cd.forEach(this._attachPoints,function(_4e3){delete this[_4e3];},this);this._attachPoints=[];_4cd.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_4d1._templateCache={};_4d1.getCachedTemplate=function(_4e4,_4e5,doc){var _4e6=_4d1._templateCache;var key=_4e4;var _4e7=_4e6[key];if(_4e7){try{if(!_4e7.ownerDocument||_4e7.ownerDocument==(doc||document)){return _4e7;}}catch(e){}_4cf.destroy(_4e7);}_4e4=_4cb.trim(_4e4);if(_4e5||_4e4.match(/\$\{([^\}]+)\}/g)){return (_4e6[key]=_4e4);}else{var node=_4cf.toDom(_4e4,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_4e4);}return (_4e6[key]=node);}};if(has("ie")){_4d0.addOnWindowUnload(function(){var _4e8=_4d1._templateCache;for(var key in _4e8){var _4e9=_4e8[key];if(typeof _4e9=="object"){_4cf.destroy(_4e9);}delete _4e8[key];}});}lang.extend(_4ca,{dojoAttachEvent:"",dojoAttachPoint:""});return _4d1;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(_4ea,_4eb,_4ec){return _4eb("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_4ed,_4ee){var _4ef=this.containerNode;if(_4ee&&typeof _4ee=="number"){var _4f0=this.getChildren();if(_4f0&&_4f0.length>=_4ee){_4ef=_4f0[_4ee-1].domNode;_4ee="after";}}_4ec.place(_4ed.domNode,_4ef,_4ee);if(this._started&&!_4ed._started){_4ed.startup();}},removeChild:function(_4f1){if(typeof _4f1=="number"){_4f1=this.getChildren()[_4f1];}if(_4f1){var node=_4f1.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_4f2,dir){var _4f3=this.getChildren(),idx=_4ea.indexOf(this.getChildren(),_4f2);return _4f3[idx+dir];},getIndexOfChild:function(_4f4){return _4ea.indexOf(this.getChildren(),_4f4);}});});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_4f5,_4f6,_4f7,_4f8,_4f9,_4fa,_4fb,_4fc){return _4f9("dijit.layout._LayoutWidget",[_4f5,_4f6,_4f7],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_4fa.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _4fd=this.getParent&&this.getParent();if(!(_4fd&&_4fd.isLayoutContainer)){this.resize();this.own(_4f8.on("resize",lang.hitch(this,"resize")));}},resize:function(_4fe,_4ff){var node=this.domNode;if(_4fe){_4fb.setMarginBox(node,_4fe);}var mb=_4ff||{};lang.mixin(mb,_4fe||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_4fb.getMarginBox(node),mb);}var cs=_4fc.getComputedStyle(node);var me=_4fb.getMarginExtents(node,cs);var be=_4fb.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_4fb.getPadExtents(node,cs);this._contentBox={l:_4fc.toPixelValue(node,cs.paddingLeft),t:_4fc.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_500){var cls=this.baseClass+"-child "+(_500.baseClass?this.baseClass+"-"+_500.baseClass:"");_4fa.add(_500.domNode,cls);},addChild:function(_501,_502){this.inherited(arguments);if(this._started){this._setupChild(_501);}},removeChild:function(_503){var cls=this.baseClass+"-child"+(_503.baseClass?" "+this.baseClass+"-"+_503.baseClass:"");_4fa.remove(_503.domNode,cls);this.inherited(arguments);}});});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_504,_505){return _504("dijit._Contained",null,{_getSibling:function(_506){var node=this.domNode;do{node=node[_506+"Sibling"];}while(node&&node.nodeType!=1);return node&&_505.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/sniff","dojo/_base/window","dojo/window"],function(_507,on,_508,has,win,_509){var _50a=new _507();_508(200,function(){var _50b=_509.getBox();_50a._rlh=on(win.global,"resize",function(){var _50c=_509.getBox();if(_50b.h==_50c.h&&_50b.w==_50c.w){return;}_50b=_50c;_50a.emit("resize");});if(has("ie")==8){var _50d=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_50d){_50d=screen.deviceXDPI;_50a.emit("resize");}},500);}});return _50a;});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_50e,has,_50f,_510,_511,_512,_513,_514){if(has("dijit-legacy-requires")){_510(0,function(){var _515=["dijit/form/_FormValueWidget"];require(_515);});}return _50e("dijit.form._FormWidget",[_511,_513,_512,_514],{setDisabled:function(_516){_50f.deprecated("setDisabled("+_516+") is deprecated. Use set('disabled',"+_516+") instead.","","2.0");this.set("disabled",_516);},setValue:function(_517){_50f.deprecated("dijit.form._FormWidget:setValue("+_517+") is deprecated. Use set('value',"+_517+") instead.","","2.0");this.set("value",_517);},getValue:function(){_50f.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/"/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/window","./registry"],function(_518,_519,dom,_51a,has,lang,on,_51b,win,_51c){var _51d=_519("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_518.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._trackMouseState(this.domNode,this.baseClass);this._setStateClass();},_cssMouseEvent:function(_51e){if(!this.disabled){switch(_51e.type){case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":this._set("active",true);break;case "mouseup":case "touchend":this._set("active",false);break;}}},_setStateClass:function(){var _51f=this.baseClass.split(" ");function _520(_521){_51f=_51f.concat(_518.map(_51f,function(c){return c+_521;}),"dijit"+_521);};if(!this.isLeftToRight()){_520("Rtl");}var _522=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_520(_522);}if(this.state){_520(this.state);}if(this.selected){_520("Selected");}if(this._opened){_520("Opened");}if(this.disabled){_520("Disabled");}else{if(this.readOnly){_520("ReadOnly");}else{if(this.active){_520("Active");}else{if(this.hovering){_520("Hover");}}}}if(this.focused){_520("Focused");}var tn=this.stateNode||this.domNode,_523={};_518.forEach(tn.className.split(" "),function(c){_523[c]=true;});if("_stateClasses" in this){_518.forEach(this._stateClasses,function(c){delete _523[c];});}_518.forEach(_51f,function(c){_523[c]=true;});var _524=[];for(var c in _523){_524.push(c);}tn.className=_524.join(" ");this._stateClasses=_51f;},_subnodeCssMouseEvent:function(node,_525,evt){if(this.disabled||this.readOnly){return;}function _526(_527){_51a.toggle(node,_525+"Hover",_527);};function _528(_529){_51a.toggle(node,_525+"Active",_529);};function _52a(_52b){_51a.toggle(node,_525+"Focused",_52b);};switch(evt.type){case "mouseover":_526(true);break;case "mouseout":_526(false);_528(false);break;case "mousedown":case "touchstart":_528(true);break;case "mouseup":case "touchend":_528(false);break;case "focus":case "focusin":_52a(true);break;case "blur":case "focusout":_52a(false);break;}},_trackMouseState:function(node,_52c){node._cssState=_52c;}});_51b(function(){function _52d(evt){if(!dom.isDescendant(evt.relatedTarget,evt.target)){for(var node=evt.target;node&&node!=evt.relatedTarget;node=node.parentNode){if(node._cssState){var _52e=_51c.getEnclosingWidget(node);if(_52e){if(node==_52e.domNode){_52e._cssMouseEvent(evt);}else{_52e._subnodeCssMouseEvent(node,node._cssState,evt);}}}}}};function _52f(evt){evt.target=evt.srcElement;_52d(evt);};var body=win.body(),_530=(has("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);_518.forEach(_530,function(type){if(body.addEventListener){body.addEventListener(type,_52d,true);}else{body.attachEvent("on"+type,_52f);}});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _531=_51c.getEnclosingWidget(node);_531._subnodeCssMouseEvent(node,node._cssState,evt);}});});return _51d;});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/sniff","dojo/window","../a11y"],function(_532,_533,_534,_535,lang,_536,has,_537,a11y){return _533("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_538){this._set("disabled",_538);_534.set(this.focusNode,"disabled",_538);if(this.valueNode){_534.set(this.valueNode,"disabled",_538);}this.focusNode.setAttribute("aria-disabled",_538?"true":"false");if(_538){this._set("hovering",false);this._set("active",false);var _539="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_532.forEach(lang.isArray(_539)?_539:[_539],function(_53a){var node=this[_53a];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _53b=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_53c);this.disconnect(_53b);});var _53c=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(_53c);this.disconnect(_53b);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_537.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_535.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_53d,_53e){if(this._lastValueReported==undefined&&(_53e===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_53d;}this._pendingOnChange=this._pendingOnChange||(typeof _53d!=typeof this._lastValueReported)||(this.compare(_53d,this._lastValueReported)!=0);if((this.intermediateChanges||_53e||_53e===undefined)&&this._pendingOnChange){this._lastValueReported=_53d;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_53d);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_53f,has,_540,_541){return _53f("dijit.form._FormValueWidget",[_540,_541],{_layoutHackIE7:function(){if(has("ie")==7){var _542=this.domNode;var _543=_542.parentNode;var _544=_542.firstChild||_542;var _545=_544.style.filter;var _546=this;while(_543&&_543.clientHeight==0){(function ping(){var _547=_546.connect(_543,"onscroll",function(){_546.disconnect(_547);_544.style.filter=(new Date()).getMilliseconds();_546.defer(function(){_544.style.filter=_545;});});})();_543=_543.parentNode;}}}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(_548,_549,keys,has,_54a){return _548("dijit.form._FormValueMixin",_54a,{readOnly:false,_setReadOnlyAttr:function(_54b){_549.set(this.focusNode,"readOnly",_54b);this._set("readOnly",_54b);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_54c,_54d){this._handleOnChange(_54c,_54d);},_handleOnChange:function(_54e,_54f){this._set("value",_54e);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();var node=e.srcElement,te=node.ownerDocument.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;node.fireEvent("onkeypress",te);}}}});});},"dijit/ColorPalette":function(){require({cache:{"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n"}});define("dijit/ColorPalette",["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","./hccss","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-construct","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_550,_551,_552,_553,_554,has,i18n,_555,_556,_557,_558){var _559=_556("dijit.ColorPalette",[_552,_553,_554],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_551,baseClass:"dijitColorPalette",_dyeFactory:function(_55a,row,col,_55b){return new this._dyeClass(_55a,row,col,_55b);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_556(_559._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_559._Color=_556("dijit._Color",_555,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' title='${title}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' title='${title}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_550.toUrl("./themes/a11y/colors7x10.png"),"3x4":_550.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_55c,row,col,_55d){this._title=_55d;this._row=row;this._col=col;this.setColor(_555.named[_55c]);},getValue:function(){return this.toHex();},fillCell:function(cell,_55e){var html=_558.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_55e,alt:this._title,title:this._title,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_557.place(html,cell);}});return _559;});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","dijit/_PaletteMixin":function(){define("dijit/_PaletteMixin",["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_55f,_560,_561,_562,_563,keys,lang,_564,_565,_566){return _55f("dijit._PaletteMixin",[_564],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_567){var _568=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _568(_567);},_preparePalette:function(_569,_56a){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_569.length;row++){var _56b=_562.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_569[row].length;col++){var _56c=_569[row][col];if(_56c){var _56d=this._dyeFactory(_56c,row,col,_56a[_56c]);var _56e=_562.create("td",{"class":this.cellClass,tabIndex:"-1",title:_56a[_56c],role:"gridcell"},_56b);_56d.fillCell(_56e,url);_56e.idx=this._cells.length;this._cells.push({node:_56e,dye:_56d});}}}this._xDim=_569[0].length;this._yDim=_569.length;var _56f={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _56f){this.own(_566.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _570=_56f[key];return function(_571){this._navigateByKey(_570,_571);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_565.focus(this._currentFocus);},_onCellClick:function(evt){var _572=evt.target;while(_572.tagName!="TD"){if(!_572.parentNode||_572==this.gridNode){return;}_572=_572.parentNode;}var _573=this._getDye(_572).getValue();this._setCurrent(_572);_565.focus(_572);this._setValueAttr(_573,true);_563.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_560.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_560.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_574,_575){if(this._selectedCell>=0){_561.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_574){for(var i=0;i<this._cells.length;i++){if(_574==this._cells[i].dye.getValue()){this._selectedCell=i;_561.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_574:null);if(_575||_575===undefined){this.onChange(_574);}},onChange:function(){},_navigateByKey:function(_576,_577){if(_577==-1){return;}var _578=this._currentFocus.idx+_576;if(_578<this._cells.length&&_578>-1){var _579=this._cells[_578].node;this._setCurrent(_579);this.defer(lang.hitch(_565,"focus",_579));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});});},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_57a,_57b){var _57c={};lang.setObject("dojo.colors",_57c);var _57d=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_57a.fromRgb=function(_57e,obj){var m=_57e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_57b.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _57a.fromArray(a,obj);}return _57a.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_57d(m1,m2,H+1/3)*256,_57d(m1,m2,H)*256,_57d(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _57a.fromArray(a,obj);}}return null;};var _57f=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_57a.prototype.sanitize=function(){var t=this;t.r=Math.round(_57f(t.r,0,255));t.g=Math.round(_57f(t.g,0,255));t.b=Math.round(_57f(t.b,0,255));t.a=_57f(t.a,0,1);return this;};_57c.makeGrey=_57a.makeGrey=function(g,a){return _57a.fromArray([g,g,g,a]);};lang.mixin(_57a.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _57a;});},"dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"}});define("dijit/Dialog",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/fx","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/sniff","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html","./main","dojo/i18n!./nls/common"],function(_580,_581,_582,_583,_584,dom,_585,_586,_587,_588,fx,i18n,keys,lang,on,_589,has,_58a,_58b,_58c,_58d,_58e,_58f,_590,_591,_592,_593,_594,_595,_596,_597){var _598=_583("dijit._DialogBase",[_590,_592,_593,_591],{templateString:_596,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_58e.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},"aria-describedby":"",maxRatio:0.9,postMixInProperties:function(){var _599=i18n.getLocalization("dijit","common");lang.mixin(this,_599);this.inherited(arguments);},postCreate:function(){_587.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&_59a.isTop(this)){this._getFocusItems(this.domNode);_58d.focus(this._firstFocusItem);}this.inherited(arguments);},_onBlur:function(by){this.inherited(arguments);var _59b=lang.hitch(this,function(){if(this.open&&!this._destroyed&&_59a.isTop(this)){this._getFocusItems(this.domNode);_58d.focus(this._firstFocusItem);}});if(by=="mouse"){on.once(this.ownerDocument,"mouseup",_59b);}else{_59b();}},_endDrag:function(){var _59c=_586.position(this.domNode),_59d=_58a.getBox(this.ownerDocument);_59c.y=Math.min(Math.max(_59c.y,0),(_59d.h-_59c.h));_59c.x=Math.min(Math.max(_59c.x,0),(_59d.w-_59c.w));this._relativePosition=_59c;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_58c:_58b)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_585.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_581.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),ownerDocument:this.ownerDocument};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}else{_587.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_586.position(this.domNode);var _59e=_58a.getBox(this.ownerDocument);_59e.w*=this.maxRatio;_59e.h*=this.maxRatio;if(bb.w>=_59e.w||bb.h>=_59e.h){var _59f=_586.position(this.containerNode),w=Math.min(bb.w,_59e.w)-(bb.w-_59f.w),h=Math.min(bb.h,_59e.h)-(bb.h-_59f.h);if(this._singleChild&&this._singleChild.resize){if(typeof this._singleChildOriginalStyle=="undefined"){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;}this._singleChild.resize({w:w,h:h});}else{_587.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_585.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_5a0=_58a.getBox(this.ownerDocument),p=this._relativePosition,bb=p?null:_586.position(node),l=Math.floor(_5a0.l+(p?p.x:(_5a0.w-bb.w)/2)),t=Math.floor(_5a0.t+(p?p.y:(_5a0.h-bb.h)/2));_587.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.domNode);}var _5a1=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_5a1){_58d.focus(this._lastFocusItem);}_588.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_5a1){_58d.focus(this._firstFocusItem);}_588.stop(evt);}else{while(node){if(node==this.domNode||_585.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_588.stop(evt);}else{if(!has("opera")){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}var win=_58a.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize")));this._modalconnects.push(on(this.domNode,_582._keypress,lang.hitch(this,"_onKey")));_587.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _5a2;this._fadeInDeferred=new _584(lang.hitch(this,function(){_5a2.stop();delete this._fadeInDeferred;}));_5a2=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_59a.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_59a.isTop(this)){this._getFocusItems(this.domNode);_58d.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _5a3;this._fadeOutDeferred=new _584(lang.hitch(this,function(){_5a3.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_5a3=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_59a.hide(this);this._fadeOutDeferred.resolve(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},resize:function(){if(this.domNode.style.display!="none"){if(_594._singleton){_594._singleton.layout();}this._position();this._size();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_59a.hide(this);this.inherited(arguments);}});var _5a4=_583("dijit.Dialog",[_595,_598],{});_5a4._DialogBase=_598;var _59a=_5a4._DialogLevelManager={_beginZIndex:950,show:function(_5a5,_5a6){ds[ds.length-1].focus=_58d.curNode;var _5a7=_594._singleton;if(!_5a7||_5a7._destroyed){_5a7=_597._underlay=_594._singleton=new _594(_5a6);}else{_5a7.set(_5a5.underlayAttrs);}var _5a8=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_5a4._DialogLevelManager._beginZIndex;if(ds.length==1){_5a7.show();}_587.set(_594._singleton.domNode,"zIndex",_5a8-1);_587.set(_5a5.domNode,"zIndex",_5a8);ds.push({dialog:_5a5,underlayAttrs:_5a6,zIndex:_5a8});},hide:function(_5a9){if(ds[ds.length-1].dialog==_5a9){ds.pop();var pd=ds[ds.length-1];if(!_594._singleton._destroyed){if(ds.length==1){_594._singleton.hide();}else{_587.set(_594._singleton.domNode,"zIndex",pd.zIndex-1);_594._singleton.set(pd.underlayAttrs);}}if(_5a9.refocus){var _5aa=pd.focus;if(pd.dialog&&(!_5aa||!dom.isDescendant(_5aa,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_5aa=pd.dialog._firstFocusItem;}if(_5aa){try{_5aa.focus();}catch(e){}}}}else{var idx=_581.indexOf(_581.map(ds,function(elem){return elem.dialog;}),_5a9);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_5ab){return ds[ds.length-1].dialog==_5ab;}};var ds=_5a4._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(has("dijit-legacy-requires")){_589(0,function(){var _5ac=["dijit/TooltipDialog"];_580(_5ac);});}return _5a4;});},"dijit/form/_FormMixin":function(){define("dijit/form/_FormMixin",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_5ad,_5ae,_5af,lang,on,_5b0){return _5ae("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_5b1){var res=[];_5ad.forEach(_5b1||this.getChildren(),function(_5b2){if("value" in _5b2){res.push(_5b2);}else{res=res.concat(this._getDescendantFormWidgets(_5b2.getChildren()));}},this);return res;},reset:function(){_5ad.forEach(this._getDescendantFormWidgets(),function(_5b3){if(_5b3.reset){_5b3.reset();}});},validate:function(){var _5b4=false;return _5ad.every(_5ad.map(this._getDescendantFormWidgets(),function(_5b5){_5b5._hasBeenBlurred=true;var _5b6=_5b5.disabled||!_5b5.validate||_5b5.validate();if(!_5b6&&!_5b4){_5b0.scrollIntoView(_5b5.containerNode||_5b5.domNode);_5b5.focus();_5b4=true;}return _5b6;}),function(item){return item;});},setValues:function(val){_5af.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_5ad.forEach(this._getDescendantFormWidgets(),function(_5b7){if(!_5b7.name){return;}var _5b8=map[_5b7.name]||(map[_5b7.name]=[]);_5b8.push(_5b7);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _5b9=map[name],_5ba=lang.getObject(name,false,obj);if(_5ba===undefined){continue;}if(!lang.isArray(_5ba)){_5ba=[_5ba];}if(typeof _5b9[0].checked=="boolean"){_5ad.forEach(_5b9,function(w){w.set("value",_5ad.indexOf(_5ba,w.value)!=-1);});}else{if(_5b9[0].multiple){_5b9[0].set("value",_5ba);}else{_5ad.forEach(_5b9,function(w,i){w.set("value",_5ba[i]);});}}}},getValues:function(){_5af.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_5ad.forEach(this._getDescendantFormWidgets(),function(_5bb){var name=_5bb.name;if(!name||_5bb.disabled){return;}var _5bc=_5bb.get("value");if(typeof _5bb.checked=="boolean"){if(/Radio/.test(_5bb.declaredClass)){if(_5bc!==false){lang.setObject(name,_5bc,obj);}else{_5bc=lang.getObject(name,false,obj);if(_5bc===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_5bc!==false){ary.push(_5bc);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_5bc);}else{lang.setObject(name,[prev,_5bc],obj);}}else{lang.setObject(name,_5bc,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _5bd=_5ad.map(this._descendants,function(w){return w.get("state")||"";});return _5ad.indexOf(_5bd,"Error")>=0?"Error":_5ad.indexOf(_5bd,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_5be){this._descendants=this._getDescendantFormWidgets();_5ad.forEach(this._descendants,function(_5bf){if(!_5bf._started){_5bf.startup();}});if(!_5be){this._onChildChange();}},_onChildChange:function(attr){if(!attr||attr=="state"||attr=="disabled"){this._set("state",this._getState());}if(!attr||attr=="value"||attr=="disabled"||attr=="checked"){if(this._onChangeDelayTimer){this._onChangeDelayTimer.remove();}this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"));},10);}},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");this.state=this._getState();var self=this;this.own(on(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(evt){if(evt.target==self.domNode){return;}self._onChildChange(evt.type.replace("attrmodified-",""));}));this.watch("state",function(attr,_5c0,_5c1){this.onValidStateChange(_5c1=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_5c2,a11y){return _5c2("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _5c3=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_5c3.lowest||_5c3.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_5c3.last||_5c3.highest||this._firstFocusItem;}});});},"dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_5c4,_5c5,_5c6,_5c7,_5c8,_5c9){return _5c4("dijit.DialogUnderlay",[_5c7,_5c8],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_5c5.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_5ca){this.node.className="dijitDialogUnderlay "+_5ca;this._set("class",_5ca);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _5cb=_5c6.getBox(this.ownerDocument);os.top=_5cb.t+"px";os.left=_5cb.l+"px";is.width=_5cb.w+"px";is.height=_5cb.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _5c9(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"dijit/layout/ContentPane":function(){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],function(_5cc,lang,_5cd,_5ce,_5cf,_5d0,html,_5d1,_5d2,_5d3,_5d4,dom,_5d5,_5d6,xhr,i18n,when){return _5d3("dijit.layout.ContentPane",[_5cd,_5ce,_5cf],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_5cc._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,create:function(_5d7,_5d8){if((!_5d7||!_5d7.template)&&_5d8&&!("href" in _5d7)&&!("content" in _5d7)){_5d8=dom.byId(_5d8);var df=_5d8.ownerDocument.createDocumentFragment();while(_5d8.firstChild){df.appendChild(_5d8.firstChild);}_5d7=lang.delegate(_5d7,{content:df});}this.inherited(arguments,[_5d7,_5d8]);},postMixInProperties:function(){this.inherited(arguments);var _5d9=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_5d0.substitute(this.loadingMessage,_5d9);this.errorMessage=_5d0.substitute(this.errorMessage,_5d9);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_5d5.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_5d2.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_5d2.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_5d2.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_5cc.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _5d4(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_5cc.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _5d4(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.then(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},destroy:function(){this.cancel();this.inherited(arguments);},destroyRecursive:function(_5da){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _5d4(lang.hitch(this,"cancel"));this.onLoadDeferred.then(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _5db={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_5db,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_5db)),_5dc;hand.then(function(html){_5dc=html;try{self._isDownloaded=true;return self._setContent(html,false);}catch(err){self._onError("Content",err);}},function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;}).then(function(){self.onDownloadEnd();delete self._xhrDfd;return _5dc;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.resolve(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_5dd){if(this.isLoaded){this._onUnloadHandler();}var _5de=this._contentSetter;_5d2.forEach(this.getChildren(),function(_5df){if(_5df.destroyRecursive){_5df.destroyRecursive(_5dd);}else{if(_5df.destroy){_5df.destroy(_5dd);}}_5df._destroyed=true;});if(_5de){_5d2.forEach(_5de.parseResults,function(_5e0){if(!_5e0._destroyed){if(_5e0.destroyRecursive){_5e0.destroyRecursive(_5dd);}else{if(_5e0.destroy){_5e0.destroy(_5dd);}}_5e0._destroyed=true;}});delete _5de.parseResults;}if(!_5dd){_5d6.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_5e1){this.destroyDescendants();var _5e2=this._contentSetter;if(!(_5e2&&_5e2 instanceof html._ContentSetter)){_5e2=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _5e3=this.onContentError(e);try{this.containerNode.innerHTML=_5e3;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _5e4=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});var p=_5e2.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_5e4);var self=this;return when(p&&p.then?p:_5e2.parseDeferred,function(){delete self._contentSetterParams;if(!_5e1){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},_onError:function(type,err,_5e5){this.onLoadDeferred.reject(err);var _5e6=this["on"+type+"Error"].call(this,err);if(_5e5){console.error(_5e5,err);}else{if(_5e6){this._setContent(_5e6,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","dojo/sniff","../registry","../Viewport","./utils"],function(_5e7,_5e8,_5e9,_5ea,_5eb,lang,_5ec,has,_5ed,_5ee,_5ef){return _5e8("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _5f0=this.getParent();this._childOfLayoutWidget=_5f0&&_5f0.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_5ee.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){var _5f1=[],_5f2=false;_5ec("> *",this.containerNode).some(function(node){var _5f3=_5ed.byNode(node);if(_5f3&&_5f3.resize){_5f1.push(_5f3);}else{if(node.offsetHeight){_5f2=true;}}});this._singleChild=_5f1.length==1&&!_5f2?_5f1[0]:null;_5e9.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_5f4,_5f5){this._resizeCalled=true;this._scheduleLayout(_5f4,_5f5);},_scheduleLayout:function(_5f6,_5f7){if(this._isShown()){this._layout(_5f6,_5f7);}else{this._needLayout=true;this._changeSize=_5f6;this._resultSize=_5f7;}},_layout:function(_5f8,_5f9){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_5f8){_5ea.setMarginBox(this.domNode,_5f8);}var cn=this.containerNode;if(cn===this.domNode){var mb=_5f9||{};lang.mixin(mb,_5f8||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_5ea.getMarginBox(cn),mb);}this._contentBox=_5ef.marginBox2contentBox(cn,mb);}else{this._contentBox=_5ea.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_5ea.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_5e7.forEach(this.getChildren(),function(_5fa){if(_5fa.resize){_5fa.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_5fb=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_5e9.contains(node,"dijitHidden")&&_5fb&&_5fb.style&&(_5fb.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/layout/utils":function(){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","../main"],function(_5fc,_5fd,_5fe,_5ff,lang,_600){var _601=lang.getObject("layout",true,_600);_601.marginBox2contentBox=function(node,mb){var cs=_5ff.getComputedStyle(node);var me=_5fe.getMarginExtents(node,cs);var pb=_5fe.getPadBorderExtents(node,cs);return {l:_5ff.toPixelValue(node,cs.paddingLeft),t:_5ff.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _602(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_603,dim){var _604=_603.resize?_603.resize(dim):_5fe.setMarginBox(_603.domNode,dim);if(_604){lang.mixin(_603,_604);}else{lang.mixin(_603,_5fe.getMarginBox(_603.domNode));lang.mixin(_603,dim);}};_601.layoutChildren=function(_605,dim,_606,_607,_608){dim=lang.mixin({},dim);_5fd.add(_605,"dijitLayoutContainer");_606=_5fc.filter(_606,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_5fc.filter(_606,function(item){return item.region=="center"||item.layoutAlign=="client";}));_5fc.forEach(_606,function(_609){var elm=_609.domNode,pos=(_609.region||_609.layoutAlign);if(!pos){throw new Error("No region setting for "+_609.id);}var _60a=elm.style;_60a.left=dim.l+"px";_60a.top=dim.t+"px";_60a.position="absolute";_5fd.add(elm,"dijitAlign"+_602(pos));var _60b={};if(_607&&_607==_609.id){_60b[_609.region=="top"||_609.region=="bottom"?"h":"w"]=_608;}if(pos=="top"||pos=="bottom"){_60b.w=dim.w;size(_609,_60b);dim.h-=_609.h;if(pos=="top"){dim.t+=_609.h;}else{_60a.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_60b.h=dim.h;size(_609,_60b);dim.w-=_609.w;if(pos=="left"){dim.l+=_609.w;}else{_60a.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_609,dim);}}}});};return {marginBox2contentBox:_601.marginBox2contentBox,layoutChildren:_601.layoutChildren};});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"\n\t\t\t\trole=\"heading\" level=\"1\"></span>\n\t\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/form/Button":function(){require({cache:{"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n"}});define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_60c,_60d,_60e,has,_60f,lang,_610,_611,_612,_613){if(has("dijit-legacy-requires")){_610(0,function(){var _614=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_60c(_614);});}return _60d("dijit.form.Button",[_611,_612],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_613,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();e.stopPropagation();}}return ok;},_fillContent:function(_615){if(_615&&(!this.params||!("label" in this.params))){var _616=lang.trim(_615.innerHTML);if(_616){this.label=_616;}}},_setShowLabelAttr:function(val){if(this.containerNode){_60e.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_617){_60f.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_617);},_setLabelAttr:function(_618){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_619,dom,_61a,_61b){return _619("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_61a.stop(e);return false;}var _61c=this.onClick(e)===false;if(!_61c&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _61d=_61b.byNode(node);if(_61d&&typeof _61d._onSubmit=="function"){_61d._onSubmit(e);_61c=true;break;}}}if(_61c){e.preventDefault();}return !_61c;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_61e){this._set("label",_61e);(this.containerNode||this.focusNode).innerHTML=_61e;}});});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/CheckBox":function(){require({cache:{"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n"}});define("dijit/form/CheckBox",["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_61f,_620,_621,has,_622,_623,_624,_625,_626){if(has("dijit-legacy-requires")){_623(0,function(){var _627=["dijit/form/RadioButton"];_61f(_627);});}return _620("dijit.form.CheckBox",[_624,_625],{templateString:_626,baseClass:"dijitCheckBox",_setValueAttr:function(_628,_629){if(typeof _628=="string"){this.inherited(arguments);_628=true;}if(this._created){this.set("checked",_628,_629);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_622("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_622("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_62a,_62b,_62c,_62d){return _62a("dijit.form.ToggleButton",[_62c,_62d],{baseClass:"dijitToggleButton",setChecked:function(_62e){_62b.deprecated("setChecked("+_62e+") is deprecated. Use set('checked',"+_62e+") instead.","","2.0");this.set("checked",_62e);}});});},"dijit/form/_ToggleButtonMixin":function(){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_62f,_630){return _62f("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _631=this.checked;this._set("checked",!_631);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_631);return ret;},_setCheckedAttr:function(_632,_633){this._set("checked",_632);var node=this.focusNode||this.domNode;_630.set(node,"checked",!!_632);if(_632){node.setAttribute("checked","");}else{node.removeAttribute("checked");}node.setAttribute(this._aria_attr,String(_632));this._handleOnChange(_632,_633);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/form/_CheckBoxMixin":function(){define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_634,_635,_636){return _634("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_637){this._set("readOnly",_637);_635.set(this.focusNode,"readOnly",_637);},_setLabelAttr:undefined,_getSubmitValue:function(_638){return !_638&&_638!==0?"on":_638;},_setValueAttr:function(_639){_639=this._getSubmitValue(_639);this._set("value",_639);_635.set(this.focusNode,"value",_639);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_635.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_636.stop(e);return false;}return this.inherited(arguments);}});});},"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" role=\"${type}\" aria-checked=\"false\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","dijit/form/ComboButton":function(){require({cache:{"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\" role=\"presentation\"\n\t\t/></td></tr></tbody\n></table>\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_63a,_63b,keys,_63c,_63d,_63e){return _63a("dijit.form.ComboButton",_63d,{templateString:_63e,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_63c.focus(this._popupStateNode);_63b.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_63c.focus(this.titleNode);_63b.stop(evt);}},focus:function(_63f){if(!this.disabled){_63c.focus(_63f=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/DropDownButton":function(){require({cache:{"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n"}});define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_640,lang,_641,_642,_643,_644,_645,_646,_647){return _640("dijit.form.DropDownButton",[_644,_645,_646],{baseClass:"dijitDropDownButton",templateString:_647,_fillContent:function(){if(this.srcNodeRef){var _648=_641("*",this.srcNodeRef);this.inherited(arguments,[_648[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _649=_641("[widgetId]",this.dropDownContainer)[0];this.dropDown=_642.byNode(_649);delete this.dropDownContainer;}if(this.dropDown){_643.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _64a=this.dropDown;return (!!_64a&&(!_64a.href||_64a.isLoaded));},loadDropDown:function(_64b){var _64c=this.dropDown;var _64d=_64c.on("load",lang.hitch(this,function(){_64d.remove();_64b();}));_64c.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_64e,_64f,_650,dom,_651,_652,_653,_654,has,keys,lang,on,_655,_656,_657,_658,_659){return _64e("dijit._HasDropDown",_659,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _65a=this.dropDown,_65b=false;if(e&&this._opened){var c=_653.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_65b){if(_652.contains(t,"dijitPopup")){_65b=true;}else{t=t.parentNode;}}if(_65b){t=e.target;if(_65a.onItemClick){var _65c;while(t&&!(_65c=_656.byNode(t))){t=t.parentNode;}if(_65c&&_65c.onClick&&_65c.getParent){_65c.getParent().onItemClick(_65c,e);}}return;}}}if(this._opened){if(_65a.focus&&_65a.autoFocus!==false){this._focusDropDownTimer=this.defer(function(){_65a.focus();delete this._focusDropDownTimer;});}}else{this.defer("focus");}if(has("touch")){this._justGotMouseUp=true;this.defer(function(){this._justGotMouseUp=false;});}},_onDropDownClick:function(e){if(has("touch")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_650.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _65d={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_652.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_65d+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _65e=this.focusNode||this.domNode;this.own(on(this._buttonNode,"mousedown",lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_65e,"keydown",lang.hitch(this,"_onKey")),on(_65e,"keyup",lang.hitch(this,"_onKeyUp")));},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_65f=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_650.stop(e);return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();_650.stop(e);}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&((_65f.tagName||"").toLowerCase()!=="input"||(_65f.type&&_65f.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_650.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){this.defer(lang.hitch(d,"focus"),1);}}},_onBlur:function(){var _660=_657.curNode&&this.dropDown&&dom.isDescendant(_657.curNode,this.dropDown.domNode);this.closeDropDown(_660);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_661){_661();},loadAndOpenDropDown:function(){var d=new _64f(),_662=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_662);}else{_662();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _663=this.dropDown,_664=_663.domNode,_665=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_664.style.width){this._explicitDDWidth=true;}if(_664.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _666={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_666.width="";}if(!this._explicitDDHeight){_666.height="";}_654.set(_664,_666);var _667=this.maxHeight;if(_667==-1){var _668=_655.getBox(this.ownerDocument),_669=_653.position(_665,false);_667=Math.floor(Math.max(_669.y,_668.h-(_669.y+_669.h)));}_658.moveOffScreen(_663);if(_663.startup&&!_663._started){_663.startup();}var mb=_653.getMarginSize(_664);var _66a=(_667&&mb.h>_667);_654.set(_664,{overflowX:"visible",overflowY:_66a?"auto":"visible"});if(_66a){mb.h=_667;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_665.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_665.offsetWidth);}else{delete mb.w;}}if(lang.isFunction(_663.resize)){_663.resize(mb);}else{_653.setMarginBox(_664,mb);}}var _66b=_658.open({parent:this,popup:_663,around:_665,orient:this.dropDownPosition,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_651.set(self._popupStateNode,"popupActive",false);_652.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});_651.set(this._popupStateNode,"popupActive","true");_652.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this.domNode.setAttribute("aria-expanded","true");return _66b;},closeDropDown:function(_66c){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this.domNode.setAttribute("aria-expanded","false");if(_66c){this.focus();}_658.close(this.dropDown);this._opened=false;}}});});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n","url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\" role=\"presentation\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/form/FilteringSelect":function(){define("dijit/form/FilteringSelect",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_66d,_66e,lang,when,_66f,_670){return _66e("dijit.form.FilteringSelect",[_66f,_670],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_671,_672,_673,_674){if((_672&&_672[this.searchAttr]!==this._lastQuery)||(!_672&&_671.length&&this.store.getIdentity(_671[0])!=this._lastQuery)){return;}if(!_671.length){this.set("value","",_674||(_674===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_671[0],_674);}},_openResultList:function(_675,_676,_677){if(_676[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_678,_679,_67a,item){if(!this._onChangeActive){_679=null;}if(item===undefined){if(_678===null||_678===""){_678="";if(!lang.isString(_67a)){this._setDisplayedValueAttr(_67a||"",_679);return;}}var self=this;this._lastQuery=_678;when(this.store.get(_678),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_679);});}else{this.valueNode.value=_678;this.inherited(arguments);}},_setItemAttr:function(item,_67b,_67c){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_67d,_67e){if(_67d==null){_67d="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_67e=false;}if(this.store){this.closeDropDown();var _67f=lang.clone(this.query);var qs=this._getDisplayQueryString(_67d),q;if(this.store._oldAPI){q=qs;}else{q=_66d.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_67f[this.searchAttr]=q;this.textbox.value=_67d;this._lastDisplayedValue=_67d;this._set("displayedValue",_67d);var _680=this;var _681={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_681,this.fetchProperties);this._fetchHandle=this.store.query(_67f,_681);when(this._fetchHandle,function(_682){_680._fetchHandle=null;_680._callbackSetLabel(_682||[],_67f,_681,_67e);},function(err){_680._fetchHandle=null;if(!_680._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_683,_684,_685){return _683("dijit.form.MappedTextBox",_685,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_684.place("<input type='hidden'"+(this.name?" name=\""+this.name.replace(/"/g,"&quot;")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){require({cache:{"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/ValidationTextBox",["dojo/_base/declare","dojo/_base/kernel","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_686,_687,i18n,_688,_689,_68a){var _68b;return _68b=_686("dijit.form.ValidationTextBox",_688,{templateString:_68a,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_68c){if(_68c!=_68b.prototype[attr]){_687.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_68c);}},_setRegExpGenAttr:function(_68d){this._deprecateRegExp("regExpGen",_68d);this.regExpGen=this._getPatternAttr;},_setRegExpAttr:function(_68e){this._deprecateRegExp("regExp",_68e);},_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_68f,_690){return (new RegExp("^(?:"+this._getPatternAttr(_690)+")"+(this.required?"":"?")+"$")).test(_68f)&&(!this.required||!this._isEmpty(_68f))&&(this._isEmpty(_68f)||this.parse(_68f,_690)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_691){return (this.trim?/^\s*$/:/^$/).test(_691);},getErrorMessage:function(){var _692=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _693=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_692:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_693:_692;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_694){var _695="";var _696=this.disabled||this.isValid(_694);if(_696){this._maskValidSubsetError=true;}var _697=this._isEmpty(this.textbox.value);var _698=!_696&&_694&&this._isValidSubset();this._set("state",_696?"":(((((!this._hasBeenBlurred||_694)&&_697)||_698)&&(this._maskValidSubsetError||(_698&&!this._hasBeenBlurred&&_694)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_696?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_694&&_698;_695=this.getErrorMessage(_694);}else{if(this.state=="Incomplete"){_695=this.getPromptMessage(_694);this._maskValidSubsetError=!this._hasBeenBlurred||_694;}else{if(_697){_695=this.getPromptMessage(_694);}}}this.set("message",_695);return _696;},displayMessage:function(_699){if(_699&&this.focused){_689.show(_699,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_689.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_69a){this.constraints={};this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_69b){if(!_69b.locale&&this.lang){_69b.locale=this.lang;}this._set("constraints",_69b);this._refreshState();},_setPatternAttr:function(_69c){this._set("pattern",_69c);},_getPatternAttr:function(_69d){var p=this.pattern;var type=(typeof p).toLowerCase();if(type=="function"){p=this.pattern(_69d||this.constraints);}if(p!=this._lastRegExp){var _69e="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_69e+=re;break;case ")":_69e+="|$)";break;default:_69e+="(?:"+re+"|$)";break;}});}try{"".search(_69e);}catch(e){_69e=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_69e+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_69f){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_6a0){this._set("required",_6a0);this.focusNode.setAttribute("aria-required",_6a0);this._refreshState();},_setMessageAttr:function(_6a1){this._set("message",_6a1);this.displayMessage(_6a1);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/form/TextBox":function(){require({cache:{"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_6a2,_6a3,_6a4,_6a5,lang,has,_6a6,_6a7,_6a8,_6a9){var _6aa=_6a2("dijit.form.TextBox",[_6a6,_6a7],{templateString:_6a8,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},postCreate:function(){this.inherited(arguments);if(has("ie")<9){this.defer(function(){try{var s=_6a4.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _6ab=this.domNode.getElementsByTagName("INPUT");if(_6ab){for(var i=0;i<_6ab.length;i++){_6ab[i].style.fontFamily=ff;}}}}}catch(e){}});}},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){this.defer(function(){this._handleOnChange(this.get("value"),false);});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_6a3.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_6ac,_6ad,_6ae){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_6a5.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_6af){_6a5.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_6af);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();if(has("mozilla")){if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")){_6aa.prototype._isTextSelected=function(){var _6b0=this.ownerDocument.selection.createRange();var _6b1=_6b0.parentElement();return _6b1==this.textbox&&_6b0.text.length>0;};_6a9._setSelectionRange=_6a7._setSelectionRange=function(_6b2,_6b3,stop){if(_6b2.createTextRange){var r=_6b2.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_6b3);r.moveEnd("character",stop-_6b3);r.select();}};}return _6aa;});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_6b4,_6b5,dom,_6b6,keys,lang,on,_6b7){var _6b8=_6b5("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_6b9,_6ba,_6bb){var _6bc;if(_6b9!==undefined){_6bc=this.filter(_6b9);if(typeof _6bb!="string"){if(_6bc!==null&&((typeof _6bc!="number")||!isNaN(_6bc))){_6bb=this.filter(this.format(_6bc,this.constraints));}else{_6bb="";}}}if(_6bb!=null&&((typeof _6bb)!="number"||!isNaN(_6bb))&&this.textbox.value!=_6bb){this.textbox.value=_6bb;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_6bb);}this.inherited(arguments,[_6bc,_6ba]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_6bd){if(_6bd==null){_6bd="";}else{if(typeof _6bd!="string"){_6bd=String(_6bd);}}this.textbox.value=_6bd;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_6bd);}},format:function(_6be){return _6be==null?"":(_6be.toString?_6be.toString():_6be);},parse:function(_6bf){return _6bf;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(evt){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._processInput(evt);},_processInput:function(evt){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _6c0=function(e){var _6c1;if(e.type=="keydown"){_6c1=e.keyCode;switch(_6c1){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:case keys.NUM_LOCK:case keys.SCROLL_LOCK:return;}if(!e.ctrlKey&&!e.metaKey&&!e.altKey){switch(_6c1){case keys.NUMPAD_0:case keys.NUMPAD_1:case keys.NUMPAD_2:case keys.NUMPAD_3:case keys.NUMPAD_4:case keys.NUMPAD_5:case keys.NUMPAD_6:case keys.NUMPAD_7:case keys.NUMPAD_8:case keys.NUMPAD_9:case keys.NUMPAD_MULTIPLY:case keys.NUMPAD_PLUS:case keys.NUMPAD_ENTER:case keys.NUMPAD_MINUS:case keys.NUMPAD_PERIOD:case keys.NUMPAD_DIVIDE:return;}if((_6c1>=65&&_6c1<=90)||(_6c1>=48&&_6c1<=57)||_6c1==keys.SPACE){return;}var _6c2=false;for(var i in keys){if(keys[i]===e.keyCode){_6c2=true;break;}}if(!_6c2){return;}}}_6c1=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_6c1){_6c1=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_6c1){_6c1=229;}if(e.type=="keypress"){if(typeof _6c1!="string"){return;}if((_6c1>="a"&&_6c1<="z")||(_6c1>="A"&&_6c1<="Z")||(_6c1>="0"&&_6c1<="9")||(_6c1===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux={faux:true},attr;for(attr in e){if(attr!="layerX"&&attr!="layerY"){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_6c1,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}this.defer(function(){this._onInput(faux);});};this.own(on(this.textbox,"keydown, keypress, paste, cut, input, compositionend",lang.hitch(this,_6c0)));},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;if(!this._isTextSelected()){_6b8.selectInputText(this.textbox);}});this.defer(function(){if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_6c3){if(!this._created||this.textDir!=_6c3){this._set("textDir",_6c3);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_6b8._setSelectionRange=_6b7._setSelectionRange=function(_6c4,_6c5,stop){if(_6c4.setSelectionRange){_6c4.setSelectionRange(_6c5,stop);}};_6b8.selectInputText=_6b7.selectInputText=function(_6c6,_6c7,stop){_6c6=dom.byId(_6c6);if(isNaN(_6c7)){_6c7=0;}if(isNaN(stop)){stop=_6c6.value?_6c6.value.length:0;}try{_6c6.focus();_6b8._setSelectionRange(_6c6,_6c7,stop);}catch(e){}};return _6b8;});},"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_6c8,_6c9,fx,dom,_6ca,_6cb,_6cc,lang,_6cd,on,has,_6ce,_6cf,_6d0,_6d1,_6d2,_6d3,_6d4){var _6d5=_6c9("dijit._MasterTooltip",[_6d0,_6d1],{duration:_6ce.defaultDuration,templateString:_6d3,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _6d2(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_6d6,_6d7,_6d8,rtl,_6d9){if(this.aroundNode&&this.aroundNode===_6d7&&this.containerNode.innerHTML==_6d6){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_6d6;if(_6d9){this.set("textDir",_6d9);}this.containerNode.align=rtl?"right":"left";var pos=_6cf.around(this.domNode,_6d7,_6d8&&_6d8.length?_6d8:_6da.defaultPosition,!rtl,lang.hitch(this,"orient"));var _6db=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_6db.y+((_6db.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_6db.x+((_6db.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_6cc.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_6d7;},orient:function(node,_6dc,_6dd,_6de,_6df){this.connectorNode.style.top="";var _6e0=_6de.h,_6e1=_6de.w;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_6dc+"-"+_6dd];this.domNode.style.width="auto";var size=_6cb.position(this.domNode);if(has("ie")==9){size.w+=2;}var _6e2=Math.min((Math.max(_6e1,1)),size.w);_6cb.setMarginBox(this.domNode,{w:_6e2});if(_6dd.charAt(0)=="B"&&_6dc.charAt(0)=="B"){var bb=_6cb.position(node);var _6e3=this.connectorNode.offsetHeight;if(bb.h>_6e0){var _6e4=_6e0-((_6df.h+_6e3)>>1);this.connectorNode.style.top=_6e4+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_6df.h/2-_6e3/2,0),bb.h-_6e3)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_6e1);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_6e5){if(this._onDeck&&this._onDeck[1]==_6e5){this._onDeck=null;}else{if(this.aroundNode===_6e5){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_6c8.forEach(node.children,function(_6e6){this._setAutoTextDir(_6e6);},this);},_setTextDirAttr:function(_6e7){this._set("textDir",_6e7);if(_6e7=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_6d4.showTooltip=function(_6e8,_6e9,_6ea,rtl,_6eb){if(_6ea){_6ea=_6c8.map(_6ea,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_6da._masterTT){_6d4._masterTT=_6da._masterTT=new _6d5();}return _6da._masterTT.show(_6e8,_6e9,_6ea,rtl,_6eb);};_6d4.hideTooltip=function(_6ec){return _6da._masterTT&&_6da._masterTT.hide(_6ec);};var _6da=_6c9("dijit.Tooltip",_6d0,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_6ed){_6c8.forEach(this._connections||[],function(_6ee){_6c8.forEach(_6ee,function(_6ef){_6ef.remove();});},this);this._connectIds=_6c8.filter(lang.isArrayLike(_6ed)?_6ed:(_6ed?[_6ed]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_6c8.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_6f0=this.selector,_6f1=_6f0?function(_6f2){return on.selector(_6f0,_6f2);}:function(_6f3){return _6f3;},self=this;return [on(node,_6f1(_6cd.enter),function(){self._onHover(this);}),on(node,_6f1("focusin"),function(){self._onHover(this);}),on(node,_6f1(_6cd.leave),lang.hitch(self,"_onUnHover")),on(node,_6f1("focusout"),lang.hitch(self,"_onUnHover"))];},this);this._set("connectId",_6ed);},addTarget:function(node){var id=node.id||node;if(_6c8.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_6c8.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_6ca.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_6c8.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},_onHover:function(_6f4){if(!this._showTimer){this._showTimer=this.defer(function(){this.open(_6f4);},this.showDelay);}},_onUnHover:function(){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}this.close();},open:function(_6f5){if(this._showTimer){this._showTimer.remove();delete this._showTimer;}var _6f6=this.getContent(_6f5);if(!_6f6){return;}_6da.show(_6f6,_6f5,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_6f5;this.onShow(_6f5,this.position);},close:function(){if(this._connectNode){_6da.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}},onShow:function(){},onHide:function(){},destroy:function(){this.close();_6c8.forEach(this._connections||[],function(_6f7){_6c8.forEach(_6f7,function(_6f8){_6f8.remove();});},this);this.inherited(arguments);}});_6da._MasterTooltip=_6d5;_6da.show=_6d4.showTooltip;_6da.hide=_6d4.hideTooltip;_6da.defaultPosition=["after-centered","before-centered"];return _6da;});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_6f9,_6fa,_6fb,lang,_6fc,_6fd,_6fe,_6ff,_700){return _6f9("dijit.form.ComboBoxMixin",[_6ff,_6fd],{dropDownClass:_6fe,hasDownArrow:true,templateString:_700,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_701){if(!_701.get){lang.mixin(_701,{_oldAPI:true,get:function(id){var _702=new _6fa();this.fetchItemByIdentity({identity:id,onItem:function(_703){_702.resolve(_703);},onError:function(_704){_702.reject(_704);}});return _702.promise;},query:function(_705,_706){var _707=new _6fa(function(){_708.abort&&_708.abort();});_707.total=new _6fa();var _708=this.fetch(lang.mixin({query:_705,onBegin:function(_709){_707.total.resolve(_709);},onComplete:function(_70a){_707.resolve(_70a);},onError:function(_70b){_707.reject(_70b);}},_706));return _6fc(_707);}});}this._set("store",_701);},postMixInProperties:function(){var _70c=this.params.store||this.store;if(_70c){this._setStoreAttr(_70c);}this.inherited(arguments);if(!this.params.store&&!this.store._oldAPI){var _70d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_6fb.deprecated(_70d+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_6fb.deprecated(_70d+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_6fb.deprecated(_70d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_70e){new _70e({objectStore:this}).fetch(args);}));}});}}});});},"dojo/store/util/QueryResults":function(){define("dojo/store/util/QueryResults",["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_70f,lang,_710){var _711=function(_712){if(!_712){return _712;}if(_712.then){_712=lang.delegate(_712);}function _713(_714){if(!_712[_714]){_712[_714]=function(){var args=arguments;return _710.when(_712,function(_715){Array.prototype.unshift.call(args,_715);return _711(_70f[_714].apply(_70f,args));});};}};_713("forEach");_713("filter");_713("map");if(!_712.total){_712.total=_710.when(_712,function(_716){return _716.length;});}return _712;};lang.setObject("dojo.store.util.QueryResults",_711);return _711;});},"dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","dojo/string","./DataList","../registry","./_TextBoxMixin","./_SearchMixin"],function(_717,_718,_719,_71a,keys,lang,_71b,_71c,has,_71d,_71e,_71f,_720,_721){return _718("dijit.form._AutoCompleterMixin",_721,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_722){var pos=0;if(typeof (_722.selectionStart)=="number"){pos=_722.selectionStart;}else{if(has("ie")){var tr=_722.ownerDocument.selection.createRange().duplicate();var ntr=_722.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_723,_724){_724=parseInt(_724);_720.selectInputText(_723,_724,_724);},_setDisabledAttr:function(_725){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_725?"true":"false");},_onKey:function(evt){if(evt.charCode>=32){return;}var key=evt.charCode||evt.keyCode;if(key==keys.ALT||key==keys.CTRL||key==keys.META||key==keys.SHIFT){return;}var pw=this.dropDown;var _726=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_726=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_726);}_71a.stop(evt);break;case keys.ENTER:if(_726){if(_726==pw.nextButton){this._nextSearch(1);_71a.stop(evt);break;}else{if(_726==pw.previousButton){this._nextSearch(-1);_71a.stop(evt);break;}}_71a.stop(evt);}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _727=this.get("displayedValue");if(pw&&(_727==pw._messages["previousMessage"]||_727==pw._messages["nextMessage"])){break;}if(_726){this._selectOption(_726);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_720.selectInputText(fn,fn.value.length);var _728=this.ignoreCase?"toLowerCase":"substr";if(text[_728](0).indexOf(this.focusNode.value[_728](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_720.selectInputText(fn,cpos);}}else{fn.value=text;_720.selectInputText(fn);}},_openResultList:function(_729,_72a,_72b){var _72c=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_729.length&&_72b.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_72d){_729.nextPage(_72d!==-1);this.focus();});this.dropDown.createOptions(_729,_72b,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _72b){if(_72b.direction){this.dropDown.highlightFirstOption();}else{if(!_72b.direction){this.dropDown.highlightLastOption();}}if(_72c){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_72a[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _72e=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_72e==pw._messages["previousMessage"]||_72e==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_72e);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_72f,_730){var _731="";if(item){if(!_730){_730=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_731=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_730;}this.set("value",_731,_72f,_730,item);},_announceOption:function(node){if(!node){return;}var _732;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_732=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_732=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_732);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_719.get(node,"id"));this._autoCompleteText(_732);},_selectOption:function(_733){this.closeDropDown();if(_733){this._announceOption(_733);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _734=this.id+"_popup",_735=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _735({onChange:lang.hitch(this,this._selectOption),id:_734,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_734);}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store){var _736=this.srcNodeRef;this.store=new _71e({},_736);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _737=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_737):item[_737];}}}},postCreate:function(){var _738=_71b("label[for=\""+this.id+"\"]");if(_738.length){if(!_738[0].id){_738[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_738[0].id);}this.inherited(arguments);this.connect(this,"onSearch","_openResultList");},_getMenuLabelFromItem:function(item){var _739=this.labelFunc(item,this.store),_73a=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_739=this.doHighlight(_739,this._lastInput);_73a="html";}return {html:_73a=="html",label:_739};},doHighlight:function(_73b,find){var _73c=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_71c.escapeString(find);return this._escapeHtml(_73b.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_73c),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_73d){return (_73d._oldAPI?_73d.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_73e,_73f,_740,item){this._set("item",item||null);if(_73e==null){_73e="";}this.inherited(arguments);},_setTextDirAttr:function(_741){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_741);}}});});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){var _742={};lang.setObject("dojo.regexp",_742);_742.escapeString=function(str,_743){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_743&&_743.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_742.buildGroupRE=function(arr,re,_744){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _742.group(b.join("|"),_744);};_742.group=function(_745,_746){return "("+(_746?"?:":"")+_745+")";};return _742;});},"dijit/form/DataList":function(){define("dijit/form/DataList",["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_747,dom,lang,_748,_749,_74a){function _74b(_74c){return {id:_74c.value,value:_74c.value,name:lang.trim(_74c.innerText||_74c.textContent||"")};};return _747("dijit.form.DataList",_749,{constructor:function(_74d,_74e){this.domNode=dom.byId(_74e);lang.mixin(this,_74d);if(this.id){_74a.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_748("option",this.domNode).map(_74b)}]);},destroy:function(){_74a.remove(this.id);},fetchSelectedItem:function(){var _74f=_748("> option[selected]",this.domNode)[0]||_748("> option",this.domNode)[0];return _74f&&_74b(_74f);}});});},"dojo/store/Memory":function(){define("dojo/store/Memory",["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_750,_751,_752){var base=null;return _750("dojo.store.Memory",base,{constructor:function(_753){for(var i in _753){this[i]=_753[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_752,get:function(id){return this.data[this.index[id]];},getIdentity:function(_754){return _754[this.idProperty];},put:function(_755,_756){var data=this.data,_757=this.index,_758=this.idProperty;var id=_755[_758]=(_756&&"id" in _756)?_756.id:_758 in _755?_755[_758]:Math.random();if(id in _757){if(_756&&_756.overwrite===false){throw new Error("Object already exists");}data[_757[id]]=_755;}else{_757[id]=data.push(_755)-1;}return id;},add:function(_759,_75a){(_75a=_75a||{}).overwrite=false;return this.put(_759,_75a);},remove:function(id){var _75b=this.index;var data=this.data;if(id in _75b){data.splice(_75b[id],1);this.setData(data);return true;}},query:function(_75c,_75d){return _751(this.queryEngine(_75c,_75d)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"dojo/store/util/SimpleQueryEngine":function(){define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_75e){return function(_75f,_760){switch(typeof _75f){default:throw new Error("Can not query with a "+typeof _75f);case "object":case "undefined":var _761=_75f;_75f=function(_762){for(var key in _761){var _763=_761[key];if(_763&&_763.test){if(!_763.test(_762[key],_762)){return false;}}else{if(_763!=_762[key]){return false;}}}return true;};break;case "string":if(!this[_75f]){throw new Error("No filter function "+_75f+" was found in store");}_75f=this[_75f];case "function":}function _764(_765){var _766=_75e.filter(_765,_75f);var _767=_760&&_760.sort;if(_767){_766.sort(typeof _767=="function"?_767:function(a,b){for(var sort,i=0;sort=_767[i];i++){var _768=a[sort.attribute];var _769=b[sort.attribute];if(_768!=_769){return !!sort.descending==(_768==null||_768>_769)?-1:1;}}return 0;});}if(_760&&(_760.start||_760.count)){var _76a=_766.length;_766=_766.slice(_760.start||0,(_760.start||0)+(_760.count||Infinity));_766.total=_76a;}return _766;};_764.matches=_75f;return _764;};});},"dijit/form/_SearchMixin":function(){define("dijit/form/_SearchMixin",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/sniff","dojo/string","dojo/when","../registry"],function(_76b,_76c,_76d,keys,lang,_76e,has,_76f,when,_770){return _76c("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_abortQuery:function(){if(this.searchTimer){this.searchTimer=this.searchTimer.remove();}if(this._queryDeferHandle){this._queryDeferHandle=this._queryDeferHandle.remove();}if(this._fetchHandle){if(this._fetchHandle.abort){this._cancelingQuery=true;this._fetchHandle.abort();this._cancelingQuery=false;}if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_processInput:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _771=false;this._prev_key_backspace=false;switch(key){case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;this._maskValidSubsetError=true;_771=true;break;default:_771=typeof key=="string"||key==229;}if(_771){if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_startSearch:function(text){this._abortQuery();var _772=this,_76e=lang.clone(this.query),_773={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_76f.substitute(this.queryExpr,[text]),q,_774=function(){var _775=_772._fetchHandle=_772.store.query(_76e,_773);if(_772.disabled||_772.readOnly||(q!==_772._lastQuery)){return;}when(_775,function(res){_772._fetchHandle=null;if(!_772.disabled&&!_772.readOnly&&(q===_772._lastQuery)){when(_775.total,function(_776){res.total=_776;var _777=_772.pageSize;if(isNaN(_777)||_777>res.total){_777=res.total;}res.nextPage=function(_778){_773.direction=_778=_778!==false;_773.count=_777;if(_778){_773.start+=res.length;if(_773.start>=res.total){_773.count=0;}}else{_773.start-=_777;if(_773.start<0){_773.count=Math.max(_777+_773.start,0);_773.start=0;}}if(_773.count<=0){res.length=0;_772.onSearch(res,_76e,_773);}else{_774();}};_772.onSearch(res,_76e,_773);});}},function(err){_772._fetchHandle=null;if(!_772._cancelingQuery){console.error(_772.declaredClass+" "+err.toString());}});};lang.mixin(_773,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=_76b.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_76e[this.searchAttr]=q;this._queryDeferHandle=this.defer(_774,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_770.byId(list);}}this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenu":function(){define("dijit/form/_ComboBoxMenu",["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_779,_77a,_77b,keys,_77c,_77d,_77e,_77f){return _779("dijit.form._ComboBoxMenu",[_77c,_77d,_77f,_77e],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;' role='listbox'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_77a.add(this.previousButton,"dijitMenuItemRtl");_77a.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_77a.add(node,"dijitMenuItemHover");},onUnhover:function(node){_77a.remove(node,"dijitMenuItemHover");},onSelect:function(node){_77a.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_77a.remove(node,"dijitMenuItemSelected");},_page:function(up){var _780=0;var _781=this.domNode.scrollTop;var _782=_77b.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_780<_782){var _783=this.getHighlightedOption();if(up){if(!_783.previousSibling||_783.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_783.nextSibling||_783.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _784=this.domNode.scrollTop;_780+=(_784-_781)*(up?-1:1);_781=_784;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_785,_786,_787,i18n){return _786("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_788){this.value=_788;this.onChange(_788);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_789){var _78a=this._createMenuItem();var _78b=_789(item);if(_78b.html){_78a.innerHTML=_78b.label;}else{_78a.appendChild(_78a.ownerDocument.createTextNode(_78b.label));}if(_78a.innerHTML==""){_78a.innerHTML="&#160;";}this.applyTextDir(_78a,(_78a.innerText||_78a.textContent||""));return _78a;},createOptions:function(_78c,_78d,_78e){this.items=_78c;this.previousButton.style.display=(_78d.start==0)?"none":"";_787.set(this.previousButton,"id",this.id+"_prev");_785.forEach(_78c,function(item,i){var _78f=this._createOption(item,_78e);_78f.setAttribute("item",i);_787.set(_78f,"id",this.id+i);this.nextButton.parentNode.insertBefore(_78f,this.nextButton);},this);var _790=false;if(_78c.total&&!_78c.total.then&&_78c.total!=-1){if((_78d.start+_78d.count)<_78c.total){_790=true;}else{if((_78d.start+_78d.count)>_78c.total&&_78d.count==_78c.length){_790=true;}}}else{if(_78d.count==_78c.length){_790=true;}}this.nextButton.style.display=_790?"":"none";_787.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _791=this.containerNode;while(_791.childNodes.length>2){_791.removeChild(_791.childNodes[_791.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this.selected;}});});},"dijit/form/_ListMouseMixin":function(){define("dijit/form/_ListMouseMixin",["dojo/_base/declare","dojo/mouse","dojo/on","dojo/touch","./_ListBase"],function(_792,_793,on,_794,_795){return _792("dijit.form._ListMouseMixin",_795,{postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,_794.press,function(evt){evt.preventDefault();}));this._listConnect(_794.press,"_onMouseDown");this._listConnect(_794.release,"_onMouseUp");this._listConnect(_793.enter,"_onMouseOver");this._listConnect(_793.leave,"_onMouseOut");},_onMouseDown:function(evt,_796){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_796);},_onMouseUp:function(evt,_797){this._isDragging=false;var _798=this.selected;var _799=this._hoveredNode;if(_798&&_797==_798){this.onClick(_798);}else{if(_799&&_797==_799){this._setSelectedAttr(_799);this.onClick(_799);}}},_onMouseOut:function(evt,_79a){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_79b){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_79b;this.onHover(_79b);if(this._isDragging){this._setSelectedAttr(_79b);}}});});},"dijit/form/_ListBase":function(){define("dijit/form/_ListBase",["dojo/_base/declare","dojo/on","dojo/window"],function(_79c,on,_79d){return _79c("dijit.form._ListBase",null,{selected:null,_listConnect:function(_79e,_79f){var self=this;return self.own(on(self.containerNode,on.selector(function(_7a0,_7a1,_7a2){return _7a0.parentNode==_7a2;},_79e),function(evt){evt.preventDefault();self[_79f](evt,this);}));},selectFirstNode:function(){var _7a3=this.containerNode.firstChild;while(_7a3&&_7a3.style.display=="none"){_7a3=_7a3.nextSibling;}this._setSelectedAttr(_7a3);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _7a4=this.selected;if(!_7a4){this.selectFirstNode();}else{var next=_7a4.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _7a5=this.selected;if(!_7a5){this.selectLastNode();}else{var prev=_7a5.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev);}}},_setSelectedAttr:function(node){if(this.selected!=node){var _7a6=this.selected;if(_7a6){this.onDeselect(_7a6);this.selected=null;}if(node){this.selected=node;_79d.scrollIntoView(node);this.onSelect(node);}}else{if(node){this.onSelect(node);}}}});});},"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"button presentation\" aria-hidden=\"true\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n","dijit/form/Form":function(){define("dijit/form/Form",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_7a7,_7a8,_7a9,_7aa,has,_7ab,_7ac,_7ad,_7ae){return _7a7("dijit.form.Form",[_7ab,_7ac,_7ad,_7ae],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_7af){this.encType=_7af;_7a8.set(this.domNode,"encType",_7af);if(has("ie")){this.domNode.encoding=_7af;}},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);_7a9.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_7aa.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_7a9.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_7b0,_7b1,_7b2){return _7b0("dijit.form.RadioButton",[_7b1,_7b2],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define("dijit/form/_RadioButtonMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","../registry"],function(_7b3,_7b4,_7b5,_7b6,lang,_7b7,_7b8){return _7b4("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_7b7("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_7b9){if(_7b9.name==this.name&&_7b9.form==this.focusNode.form){var _7ba=_7b8.getEnclosingWidget(_7b9);if(_7ba){ary.push(_7ba);}}}));return ary;},_setCheckedAttr:function(_7bb){this.inherited(arguments);if(!this._created){return;}if(_7bb){_7b3.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_7bc){if(_7bc!=this&&_7bc.checked){_7bc.set("checked",false);}}));}},_getSubmitValue:function(_7bd){return _7bd===null?"on":_7bd;},_onClick:function(e){if(this.checked||this.disabled){_7b6.stop(e);return false;}if(this.readOnly){_7b6.stop(e);_7b3.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_7be){_7b5.set(this.focusNode||this.domNode,"checked",_7be.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/Select":function(){require({cache:{"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,_popupStateNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n"}});define("dijit/form/Select",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_7bf,_7c0,_7c1,_7c2,_7c3,_7c4,i18n,lang,has,_7c5,_7c6,Menu,_7c7,_7c8,_7c9,_7ca){var _7cb=_7c0("dijit.form._SelectMenu",Menu,{autoFocus:true,buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=this.ownerDocument.createElement("div"));n.style.cssText="overflow-x: hidden; overflow-y: scroll";if(o.parentNode){o.parentNode.replaceChild(n,o);}_7c2.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_7c4.stop);},focus:function(){var _7cc=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_7bf.forEach(this.parentWidget._getChildren(),function(_7cd){if(_7cd.option&&(val===_7cd.option.value)){_7cc=true;this.focusChild(_7cd,false);}},this);}if(!_7cc){this.inherited(arguments);}},resize:function(mb){if(mb){_7c3.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _7ce=_7c0("dijit.form.Select",[_7c5,_7c6],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_7ca,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _7cb({id:this.id+"_menu",parentWidget:this});_7c2.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_7cf){if(!_7cf.value&&!_7cf.label){return new _7c8({ownerDocument:this.ownerDocument});}else{var _7d0=lang.hitch(this,"_setValueAttr",_7cf);var item=new _7c7({option:_7cf,label:_7cf.label||this.emptyLabel,onClick:_7d0,ownerDocument:this.ownerDocument,dir:this.dir,disabled:_7cf.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_7d1){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_7d1));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_7d2){if(_7d2===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_7bf.forEach(this._getChildren(),function(_7d3){_7d3.destroyRecursive();});var item=new _7c7({ownerDocument:this.ownerDocument,label:this.emptyLabel});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value,false);}},_refreshState:function(){if(this._started){this.validate(this.focused);}},startup:function(){this.inherited(arguments);this._refreshState();},_setValueAttr:function(_7d4){this.inherited(arguments);_7c1.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setDisabledAttr:function(_7d5){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_7d6){this._set("required",_7d6);this.focusNode.setAttribute("aria-required",_7d6);this._refreshState();},_setOptionsAttr:function(_7d7){this._isLoaded=false;this._set("options",_7d7);},_setDisplay:function(_7d8){var lbl=_7d8||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_7d9){var _7da=this.disabled||this.isValid(_7d9);this._set("state",_7da?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_7da?"false":"true");var _7db=_7da?"":this._missingMsg;if(_7db&&this.focused&&this._hasBeenBlurred){_7c9.show(_7db,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_7c9.hide(this.domNode);}this._set("message",_7db);return _7da;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_7c9.hide(this.domNode);this._refreshState();},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",_7c4.stop);this.domNode.setAttribute("aria-expanded","false");if(has("ie")<9){this.defer(function(){try{var s=domStyle.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _7dc=this.domNode.getElementsByTagName("INPUT");if(_7dc){for(var i=0;i<_7dc.length;i++){_7dc[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setStyleAttr:function(_7dd){this.inherited(arguments);_7c2.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_7de){this._loadChildren(true);this._isLoaded=true;_7de();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},destroy:function(_7df){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_7df);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_7c9.hide(this.domNode);this.inherited(arguments);this.validate(false);}});_7ce._Menu=_7cb;return _7ce;});},"dijit/form/_FormSelectWidget":function(){define("dijit/form/_FormSelectWidget",["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_7e0,_7e1,_7e2,_7e3,_7e4,dom,_7e5,_7e6,lang,_7e7,when,_7e8,_7e9){var _7ea=_7e4("dijit.form._FormSelectWidget",_7e9,{multiple:false,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_7eb){var _7ec=_7eb,opts=this.options||[],l=opts.length;if(_7ec===undefined){return opts;}if(lang.isArray(_7ec)){return _7e0.map(_7ec,"return this.getOptions(item);",this);}if(lang.isObject(_7eb)){if(!_7e0.some(this.options,function(o,idx){if(o===_7ec||(o.value&&o.value===_7ec.value)){_7ec=idx;return true;}return false;})){_7ec=-1;}}if(typeof _7ec=="string"){for(var i=0;i<l;i++){if(opts[i].value===_7ec){_7ec=i;break;}}}if(typeof _7ec=="number"&&_7ec>=0&&_7ec<l){return this.options[_7ec];}return null;},addOption:function(_7ed){if(!lang.isArray(_7ed)){_7ed=[_7ed];}_7e0.forEach(_7ed,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_7ee){if(!lang.isArray(_7ee)){_7ee=[_7ee];}var _7ef=this.getOptions(_7ee);_7e0.forEach(_7ef,function(i){if(i){this.options=_7e0.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_7f0){if(!lang.isArray(_7f0)){_7f0=[_7f0];}_7e0.forEach(_7f0,function(i){var _7f1=this.getOptions(i),k;if(_7f1){for(k in i){_7f1[k]=i[k];}}},this);this._loadChildren();},setStore:function(_7f2,_7f3,_7f4){var _7f5=this.store;_7f4=_7f4||{};if(_7f5!==_7f2){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_7f2.get){lang.mixin(_7f2,{_oldAPI:true,get:function(id){var _7f6=new _7e1();this.fetchItemByIdentity({identity:id,onItem:function(_7f7){_7f6.resolve(_7f7);},onError:function(_7f8){_7f6.reject(_7f8);}});return _7f6.promise;},query:function(_7f9,_7fa){var _7fb=new _7e1(function(){if(_7fc.abort){_7fc.abort();}});_7fb.total=new _7e1();var _7fc=this.fetch(lang.mixin({query:_7f9,onBegin:function(_7fd){_7fb.total.resolve(_7fd);},onComplete:function(_7fe){_7fb.resolve(_7fe);},onError:function(_7ff){_7fb.reject(_7ff);}},_7fa));return new _7e8(_7fb);}});if(_7f2.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_7e2.after(_7f2,"onNew",lang.hitch(this,"_onNewItem"),true),_7e2.after(_7f2,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_7e2.after(_7f2,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_7f2);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(_7f4.query){this._set("query",_7f4.query);this._set("queryOptions",_7f4.queryOptions);}if(_7f2){this._loadingStore=true;this.onLoadDeferred=new _7e1();this._queryRes=_7f2.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_800){if(this.sortByLabel&&!_7f4.sort&&_800.length){if(_800[0].getValue){_800.sort(_7e3.createSortFunction([{attribute:_7f2.getLabelAttributes(_800[0])[0]}],_7f2));}else{var _801=this.labelAttr;_800.sort(function(a,b){return a[_801]>b[_801]?1:b[_801]>a[_801]?-1:0;});}}if(_7f4.onFetch){_800=_7f4.onFetch.call(this,_800,_7f4);}_7e0.forEach(_800,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._queryRes.observe(lang.hitch(this,function(_802,_803,_804){if(_803==_804){this._onSetItem(_802);}else{if(_803!=-1){this._onDeleteItem(_802);}if(_804!=-1){this._onNewItem(_802);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_7f3);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_800);}this.onLoadDeferred.resolve(true);this.onSetStore();}),function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);});}return _7f5;},_setValueAttr:function(_805,_806){if(!this._onChangeActive){_806=null;}if(this._loadingStore){this._pendingValue=_805;return;}var opts=this.getOptions()||[];if(!lang.isArray(_805)){_805=[_805];}_7e0.forEach(_805,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_805[idx]=_7e0.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_805=_7e0.filter(_805,function(i){return i&&i.value;});if(!this.multiple&&(!_805[0]||!_805[0].value)&&opts.length){_805[0]=opts[0];}_7e0.forEach(opts,function(i){i.selected=_7e0.some(_805,function(v){return v.value===i.value;});});var val=_7e0.map(_805,function(i){return i.value;}),disp=_7e0.map(_805,function(i){return i.label;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_806]);this._updateSelection();},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_7e0.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}_7e0.forEach(this._getChildren(),function(_807){_807.destroyRecursive();});_7e0.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_7e0.forEach(this._getChildren(),function(_808){var _809=_7e0.some(val,function(v){return _808.option&&(v===_808.option.value);});_7e5.toggle(_808.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_809);_808.domNode.setAttribute("aria-selected",_809?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_7e0.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _7e0.map(_7e0.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_80a){if(!_80a||!_80a.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _80b=this.store;this.removeOption(_80b.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _80c=this.store,_80d=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_80c.getLabel(item),_80e=(_80d?_80c.getIdentity(item):null);return {value:_80e,label:_80d,item:item};},_addOptionForItem:function(item){var _80f=this.store;if(_80f.isItemLoaded&&!_80f.isItemLoaded(item)){_80f.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _810=this._getOptionObjForItem(item);this.addOption(_810);},constructor:function(_811){this._oValue=(_811||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_7e7("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_7e6._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");var _812=this.store;if(_812&&(_812.getIdentity||_812.getFeatures()["dojo.data.api.Identity"])){this.store=null;this.setStore(_812,this._oValue);}},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _7ea;});},"dijit/Menu":function(){define("dijit/Menu",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_813,_814,_815,_816,dom,_817,_818,_819,keys,lang,on,has,win,_81a,pm,_81b,_81c){if(has("dijit-legacy-requires")){_81c(0,function(){var _81d=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_813(_81d);});}return _815("dijit.Menu",_81b,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_814.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_81e){return _81a.get(this._iframeContentDocument(_81e))||this._iframeContentDocument(_81e)["__parent__"]||(_81e.name&&win.doc.frames[_81e.name])||null;},_iframeContentDocument:function(_81f){return _81f.contentDocument||(_81f.contentWindow&&_81f.contentWindow.document)||(_81f.name&&win.doc.frames[_81f.name]&&win.doc.frames[_81f.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _820=node,_821=this._iframeContentWindow(_820);cn=win.body(_821.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _822={node:node,iframe:_820};_817.set(node,"_dijitMenu"+this.id,this._bindings.push(_822));var _823=lang.hitch(this,function(cn){var _824=this.selector,_825=_824?function(_826){return on.selector(_824,_826);}:function(_827){return _827;},self=this;return [on(cn,_825(this.leftClickToOpen?"click":"contextmenu"),function(evt){_816.stop(evt);self._scheduleOpen(this,_820,{x:evt.pageX,y:evt.pageY});}),on(cn,_825("keydown"),function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_816.stop(evt);self._scheduleOpen(this,_820);}})];});_822.connects=cn?_823(cn):[];if(_820){_822.onloadHandler=lang.hitch(this,function(){var _828=this._iframeContentWindow(_820);cn=win.body(_828.document);_822.connects=_823(cn);});if(_820.addEventListener){_820.addEventListener("load",_822.onloadHandler,false);}else{_820.attachEvent("onload",_822.onloadHandler);}}},unBindDomNode:function(_829){var node;try{node=dom.byId(_829,this.ownerDocument);}catch(e){return;}var _82a="_dijitMenu"+this.id;if(node&&_817.has(node,_82a)){var bid=_817.get(node,_82a)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _82b=b.iframe;if(_82b){if(_82b.removeEventListener){_82b.removeEventListener("load",b.onloadHandler,false);}else{_82b.detachEvent("onload",b.onloadHandler);}}_817.remove(node,_82a);delete this._bindings[bid];}},_scheduleOpen:function(_82c,_82d,_82e){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_82c,iframe:_82d,coords:_82e});},1);}},_openMyself:function(args){var _82f=args.target,_830=args.iframe,_831=args.coords;this.currentTarget=_82f;if(_831){if(_830){var ifc=_818.position(_830,true),_832=this._iframeContentWindow(_830),_833=_818.docScroll(_832.document);var cs=_819.getComputedStyle(_830),tp=_819.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_830,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_830,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_830,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_830,cs.borderTopWidth):0);_831.x+=ifc.x+left-_833.x;_831.y+=ifc.y+top-_833.y;}}else{_831=_818.position(_82f,true);_831.x+=10;_831.y+=10;}var self=this;var _834=this._focusManager.get("prevNode");var _835=this._focusManager.get("curNode");var _836=!_835||(dom.isDescendant(_835,this.domNode))?_834:_835;function _837(){if(self.refocus&&_836){_836.focus();}pm.close(self);};pm.open({popup:this,x:_831.x,y:_831.y,onExecute:_837,onCancel:_837,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_814.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/DropDownMenu":function(){require({cache:{"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n"}});define("dijit/DropDownMenu",["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_838,_839,keys,_83a,_83b,_83c){return _838("dijit.DropDownMenu",[_83c,_83b],{templateString:_83a,baseClass:"dijitMenu",postCreate:function(){this.inherited(arguments);var l=this.isLeftToRight();this._openSubMenuKey=l?keys.RIGHT_ARROW:keys.LEFT_ARROW;this._closeSubMenuKey=l?keys.LEFT_ARROW:keys.RIGHT_ARROW;this.connectKeyNavHandlers([keys.UP_ARROW],[keys.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);_839.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_839.stop(evt);}break;}}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dijit/_MenuBase":function(){define("dijit/_MenuBase",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./popup","./registry","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_83d,_83e,dom,_83f,_840,lang,_841,on,_842,_843,pm,_844,_845,_846,_847){return _83e("dijit._MenuBase",[_845,_847,_846],{parentMenu:null,popupDelay:500,autoFocus:false,childSelector:function(node){var _848=_844.byNode(node);return node.parentNode==this.containerNode&&_848&&_848.focus;},postCreate:function(){var self=this,_849=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_849,_841.enter),function(){self.onItemHover(_844.byNode(this));}),on(this.containerNode,on.selector(_849,_841.leave),function(){self.onItemUnhover(_844.byNode(this));}),on(this.containerNode,on.selector(_849,_843),function(evt){self.onItemClick(_844.byNode(this),evt);evt.stopPropagation();evt.preventDefault();}));this.inherited(arguments);},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _84a=this._getTopMenu();if(_84a&&_84a._isMenuBar){_84a.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _84b=this.currentPopup.parentMenu;if(_84b.focusedChild){_84b.focusedChild._setSelected(false);}_84b.focusedChild=this.currentPopup.from_item;_84b.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=this.defer("_openPopup",this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;item._set("hovering",true);},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _84c=item.popup;if(_84c){this._stopPendingCloseTimer(_84c);_84c._pendingClose_timer=this.defer(function(){_84c._pendingClose_timer=null;if(_84c.parentMenu){_84c.parentMenu.currentPopup=null;}pm.close(_84c);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(_84d){if(_84d._pendingClose_timer){_84d._pendingClose_timer=_84d._pendingClose_timer.remove();}},_stopFocusTimer:function(){if(this._focus_timer){this._focus_timer=this._focus_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup(evt.type=="keypress");}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openPopup:function(_84e){this._stopPopupTimer();var _84f=this.focusedChild;if(!_84f){return;}var _850=_84f.popup;if(!_850.isShowingNow){if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_850.parentMenu=this;_850.from_item=_84f;var self=this;pm.open({parent:this,popup:_850,around:_84f.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_84f);self._cleanUp();_84f._setSelected(true);self.focusedChild=_84f;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_850;_850.connect(_850.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));}if(_84e&&_850.focus){_850._focus_timer=this.defer(lang.hitch(_850,function(){this._focus_timer=null;this.focus();}));}},_markActive:function(){this.isActive=true;_840.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_840.replace(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup){if(_83d.indexOf(this._focusManager.activeStack,this.id)>=0){_83f.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex);this.focusedChild.focusNode.focus();}pm.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.onItemUnhover(this.focusedChild);this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dijit/_KeyNavContainer":function(){define("dijit/_KeyNavContainer",["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_851,_852,_853,_854,keys,_855,_856,_857,lang){return _855("dijit._KeyNavContainer",[_853,_852],{tabIndex:"0",connectKeyNavHandlers:function(_858,_859){var _85a=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_854.forEach(_858,function(code){_85a[code]=prev;});_854.forEach(_859,function(code){_85a[code]=next;});_85a[keys.HOME]=lang.hitch(this,"focusFirstChild");_85a[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_851.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_854.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_85b,_85c){this.inherited(arguments);this._startupChild(_85b);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},focusChild:function(_85d,last){if(!_85d){return;}if(this.focusedChild&&_85d!==this.focusedChild){this._onChildBlur(this.focusedChild);}_85d.set("tabIndex",this.tabIndex);_85d.focus(last?"end":"start");this._set("focusedChild",_85d);},_startupChild:function(_85e){_85e.set("tabIndex","-1");this.connect(_85e,"_onFocus",function(){_85e.set("tabIndex",this.tabIndex);});this.connect(_85e,"_onBlur",function(){_85e.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_857.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_857.set(this.domNode,"tabIndex",this.tabIndex);}this.focusedChild=null;this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();_856.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_85f,dir){if(_85f){_85f=this._getSiblingOfChild(_85f,dir);}var _860=this.getChildren();for(var i=0;i<_860.length;i++){if(!_85f){_85f=_860[(dir>0)?0:(_860.length-1)];}if(_85f.isFocusable()){return _85f;}_85f=this._getSiblingOfChild(_85f,dir);}return null;}});});},"dijit/MenuItem":function(){require({cache:{"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n"}});define("dijit/MenuItem",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_861,dom,_862,_863,_864,has,_865,_866,_867,_868,_869){return _861("dijit.MenuItem",[_865,_866,_867,_868],{templateString:_869,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this.containerNode.innerHTML=val;this._set("label",val);if(this.textDir==="auto"){this.applyTextDir(this.focusNode,this.label);}},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_86a){if(_86a&&!("label" in this.params)){this.set("label",_86a.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _86b=this.id+"_text";_862.set(this.containerNode,"id",_86b);if(this.accelKeyNode){_862.set(this.accelKeyNode,"id",this.id+"_accel");_86b+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_86b);dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_86c){_863.toggle(this.domNode,"dijitMenuItemSelected",_86c);},setLabel:function(_86d){_864.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_86d);},setDisabled:function(_86e){_864.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_86e);},_setDisabledAttr:function(_86f){this.focusNode.setAttribute("aria-disabled",_86f?"true":"false");this._set("disabled",_86f);},_setAccelKeyAttr:function(_870){this.accelKeyNode.style.display=_870?"":"none";this.accelKeyNode.innerHTML=_870;_862.set(this.containerNode,"colSpan",_870?"1":"2");this._set("accelKey",_870);},_setTextDirAttr:function(_871){if(!this._created||this.textDir!=_871){this._set("textDir",_871);this.applyTextDir(this.focusNode,this.label);}}});});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n","dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});define("dijit/MenuSeparator",["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_872,dom,_873,_874,_875,_876){return _872("dijit.MenuSeparator",[_873,_874,_875],{templateString:_876,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"listbox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitInputField dijitButtonText\" data-dojo-attach-point=\"containerNode,_popupStateNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t/></div\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\"\n\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n","dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_877,_878,has,_879){return _877("dijit.form.SimpleTextarea",_879,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_878.add(this.textbox,"dijitTextAreaCols");}},filter:function(_87a){if(_87a){_87a=_87a.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _87b=parseInt(this.maxLength);var _87c=this.textbox.value.replace(/\r/g,"");var _87d=_87c.length-_87b;if(_87d>0){var _87e=this.textbox;if(_87e.selectionStart){var pos=_87e.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_87c.substring(0,pos-_87d-cr)+_87c.substring(pos-cr);_87e.setSelectionRange(pos-_87d,pos-_87d);}else{if(this.ownerDocument.selection){_87e.focus();var _87f=this.ownerDocument.selection.createRange();_87f.moveStart("character",-_87d);_87f.text="";_87f.select();}}}}this.inherited(arguments);}});});},"dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n"}});define("dijit/InlineEditBox",["require","dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/when","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_880,_881,_882,_883,_884,_885,_886,_887,i18n,_888,keys,lang,has,when,fm,_889,_88a,_88b,_88c,_88d,_88e,_88f,_890){var _891=_882("dijit._InlineEditor",[_889,_88a,_88b],{templateString:_890,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_881.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var Cls=typeof this.editor=="string"?(lang.getObject(this.editor)||_880(this.editor)):this.editor;var _892=this.sourceStyle,_893="line-height:"+_892.lineHeight+";",_894=_886.getComputedStyle(this.domNode);_881.forEach(["Weight","Family","Size","Style"],function(prop){var _895=_892["font"+prop],_896=_894["font"+prop];if(_896!=_895){_893+="font-"+prop+":"+_892["font"+prop]+";";}},this);_881.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_892[prop];},this);var _897=this.inlineEditBox.width;if(_897=="100%"){_893+="width:100%;";this.domNode.style.display="block";}else{_893+="width:"+(_897+(Number(_897)==_897?"px":""))+";";}var _898=lang.delegate(this.inlineEditBox.editorParams,{style:_893,dir:this.dir,lang:this.lang,textDir:this.textDir});_898["displayedValue" in Cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new Cls(_898,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_885.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},startup:function(){this.editWidget.startup();this.inherited(arguments);},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_887.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_887.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();if(this.editWidget.focusNode){fm._onFocusNode(this.editWidget.focusNode);if(this.editWidget.focusNode.tagName=="INPUT"){this.defer(function(){_88e.selectInputText(this.editWidget.focusNode);});}}}});var _899=_882("dijit.InlineEditBox",_889,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_88f,editorWrapper:_891,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _89a={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _89a){this.connect(this.displayNode,name,_89a[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_884.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_89b){_888.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_89b);},_setDisabledAttr:function(_89c){this.domNode.setAttribute("aria-disabled",_89c?"true":"false");if(_89c){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_884.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_89c);this._set("disabled",_89c);},_onMouseOver:function(){if(!this.disabled){_884.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_884.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_887.stop(e);}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_883.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _89d=_885.create("span",null,this.domNode,"before");var Ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new Ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_886.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_89d);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_884.add(this.displayNode,"dijitOffScreen");_884.remove(ww.domNode,"dijitOffScreen");_886.set(ww.domNode,{visibility:"visible"});_883.set(this.displayNode,"tabIndex","-1");when(ww.editWidget.onLoadDeferred,lang.hitch(ww,function(){this.defer(function(){this.focus();this._resetValue=this.getValue();});}));},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_89e){var ww=this.wrapperWidget;_886.set(ww.domNode,{visibility:"hidden"});_884.add(ww.domNode,"dijitOffScreen");_884.remove(this.displayNode,"dijitOffScreen");_883.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_89e){fm.focus(this.displayNode);}},save:function(_89f){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _8a0=ww.getValue();this.set("value",_8a0);this._showText(_89f);},setValue:function(val){_888.deprecated("dijit.InlineEditBox.setValue() is deprecated. Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _8a1=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_8a1||this.noValueIndicator;this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_888.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_8a2){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_8a2);},_setTextDirAttr:function(_8a3){if(!this._created||this.textDir!=_8a3){this._set("textDir",_8a3);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_899._InlineEditor=_891;return _899;});},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(_8a4,_8a5,_8a6){return _8a5("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_8a6.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));if(!cw.isFulfilled()){throw new Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), "+"unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation.");}this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_8a4.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit/form/Button\" data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_8a7,dom,_8a8,_8a9){return _8a7("dijit.ToolbarSeparator",[_8a8,_8a9],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/PopupMenuItem":function(){define("dijit/PopupMenuItem",["dojo/_base/declare","dojo/dom-style","dojo/query","./registry","./MenuItem","./hccss"],function(_8aa,_8ab,_8ac,_8ad,_8ae){return _8aa("dijit.PopupMenuItem",_8ae,{_fillContent:function(){if(this.srcNodeRef){var _8af=_8ac("*",this.srcNodeRef);this.inherited(arguments,[_8af[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_8ac("[widgetId]",this.dropDownContainer)[0];this.popup=_8ad.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_8ab.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_8b0){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_8b0);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n"}});define("dijit/CheckedMenuItem",["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_8b1,_8b2,_8b3,_8b4){return _8b1("dijit.CheckedMenuItem",_8b3,{templateString:_8b4,checked:false,_setCheckedAttr:function(_8b5){_8b2.toggle(this.domNode,"dijitCheckedMenuItemChecked",_8b5);this.domNode.setAttribute("aria-checked",_8b5?"true":"false");this._set("checked",_8b5);},iconClass:"",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","dijit/layout/AccordionContainer":function(){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}});define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html"],function(_8b6,_8b7,_8b8,_8b9,fx,dom,_8ba,_8bb,_8bc,_8bd,keys,lang,has,_8be,_8bf,_8c0,_8c1,_8c2,_8c3,_8c4,_8c5,_8c6,_8c7,_8c8){var _8c9=_8b8("dijit.layout._AccordionButton",[_8c2,_8c4,_8c5],{templateString:_8c8,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _8ca=this.id.replace(" ","_");_8ba.set(this.titleTextNode,"id",_8ca+"_title");this.focusNode.setAttribute("aria-labelledby",_8ba.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _8bd.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _8cb=this.getParent();_8cb.selectChild(this.contentWidget,true);_8bf.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_8cc){this._set("selected",_8cc);this.focusNode.setAttribute("aria-expanded",_8cc?"true":"false");this.focusNode.setAttribute("aria-selected",_8cc?"true":"false");this.focusNode.setAttribute("tabIndex",_8cc?"0":"-1");}});var _8cd=_8b8("dijit.layout._AccordionInnerContainer",[_8c2,_8c5],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_8bc.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _8ce=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_8ce._buttonWidget=(new cls({contentWidget:_8ce,label:_8ce.title,title:_8ce.tooltip,dir:_8ce.dir,lang:_8ce.lang,textDir:_8ce.textDir,iconClass:_8ce.iconClass,id:_8ce.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_8bc.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_8bc.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _8cf=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_8d0,_8d1){_8cf.set("label",_8d1);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_8d2,_8d3){_8cf.set("title",_8d3);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_8d4,_8d5){_8cf.set("iconClass",_8d5);}))];},_setSelectedAttr:function(_8d6){this._set("selected",_8d6);this.button.set("selected",_8d6);if(_8d6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_8b7.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_8d7){this.contentWidget.destroyRecursive(_8d7);}});var _8d8=_8b8("dijit.layout.AccordionContainer",_8c6,{duration:_8c0.defaultDuration,buttonWidget:_8c9,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _8d9=this.selectedChildWidget;if(!_8d9){return;}var _8da=_8d9._wrapperWidget.domNode,_8db=_8bd.getMarginExtents(_8da),_8dc=_8bd.getPadBorderExtents(_8da),_8dd=_8d9._wrapperWidget.containerNode,_8de=_8bd.getMarginExtents(_8dd),_8df=_8bd.getPadBorderExtents(_8dd),_8e0=this._contentBox;var _8e1=0;_8b7.forEach(this.getChildren(),function(_8e2){if(_8e2!=_8d9){_8e1+=_8bd.getMarginSize(_8e2._wrapperWidget.domNode).h;}});this._verticalSpace=_8e0.h-_8e1-_8db.h-_8dc.h-_8de.h-_8df.h-_8d9._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_8db.w-_8dc.w-_8de.w-_8df.w};if(_8d9){_8d9.resize(this._containerContentBox);}},_setupChild:function(_8e3){_8e3._wrapperWidget=_8cd({contentWidget:_8e3,buttonWidget:this.buttonWidget,id:_8e3.id+"_wrapper",dir:_8e3.dir,lang:_8e3.lang,textDir:_8e3.textDir,parent:this});this.inherited(arguments);},addChild:function(_8e4,_8e5){if(this._started){var _8e6=this.containerNode;if(_8e5&&typeof _8e5=="number"){var _8e7=_8c2.prototype.getChildren.call(this);if(_8e7&&_8e7.length>=_8e5){_8e6=_8e7[_8e5-1].domNode;_8e5="after";}}_8bc.place(_8e4.domNode,_8e6,_8e5);if(!_8e4._started){_8e4.startup();}this._setupChild(_8e4);_8be.publish(this.id+"-addChild",_8e4,_8e5);this.layout();if(!this.selectedChildWidget){this.selectChild(_8e4);}}else{this.inherited(arguments);}},removeChild:function(_8e8){if(_8e8._wrapperWidget){_8bc.place(_8e8.domNode,_8e8._wrapperWidget.domNode,"after");_8e8._wrapperWidget.destroy();delete _8e8._wrapperWidget;}_8bb.remove(_8e8.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _8b7.map(this.inherited(arguments),function(_8e9){return _8e9.declaredClass=="dijit.layout._AccordionInnerContainer"?_8e9.contentWidget:_8e9;},this);},destroy:function(){if(this._animation){this._animation.stop();}_8b7.forEach(this.getChildren(),function(_8ea){if(_8ea._wrapperWidget){_8ea._wrapperWidget.destroy();}else{_8ea.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_8eb){_8eb._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_8ec){_8ec._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_8ed,_8ee,_8ef){if(has("ie")<8){_8ef=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_8ed){_8ed._wrapperWidget.set("selected",true);var d=this._showChild(_8ed);if(this.doLayout&&_8ed.resize){_8ed.resize(this._containerContentBox);}}if(_8ee){_8ee._wrapperWidget.set("selected",false);if(!_8ef){this._hideChild(_8ee);}}if(_8ef){var _8f0=_8ed._wrapperWidget.containerNode,_8f1=_8ee._wrapperWidget.containerNode;var _8f2=_8ed._wrapperWidget.containerNode,_8f3=_8bd.getMarginExtents(_8f2),_8f4=_8bd.getPadBorderExtents(_8f2),_8f5=_8f3.h+_8f4.h;_8f1.style.height=(self._verticalSpace-_8f5)+"px";this._animation=new fx.Animation({node:_8f0,duration:this.duration,curve:[1,this._verticalSpace-_8f5-1],onAnimate:function(_8f6){_8f6=Math.floor(_8f6);_8f0.style.height=_8f6+"px";_8f1.style.height=(self._verticalSpace-_8f5-_8f6)+"px";},onEnd:function(){delete self._animation;_8f0.style.height="auto";_8ee._wrapperWidget.containerNode.style.display="none";_8f1.style.height="auto";self._hideChild(_8ee);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_8f7){if(this.disabled||e.altKey||!(_8f7||e.ctrlKey)){return;}var c=e.charOrCode;if((_8f7&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_8b9.stop(e);}else{if((_8f7&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_8b9.stop(e);}}}});if(has("dijit-legacy-requires")){_8c1(0,function(){var _8f8=["dijit/layout/AccordionPane"];_8b6(_8f8);});}_8d8._InnerContainer=_8cd;_8d8._Button=_8c9;return _8d8;});},"dijit/layout/StackContainer":function(){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_8f9,_8fa,_8fb,_8fc,has,lang,_8fd,_8fe,_8ff,_900,_901){if(has("dijit-legacy-requires")){_8fd(0,function(){var _902=["dijit/layout/StackController"];require(_902);});}var _903=_8fb("dijit.layout.StackContainer",_901,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_8fc.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel");},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _904=this.getChildren();_8f9.forEach(_904,this._setupChild,this);if(this.persist){this.selectedChildWidget=_8ff.byId(_8fa(this.id+"_selectedChild"));}else{_8f9.some(_904,function(_905){if(_905.selected){this.selectedChildWidget=_905;}return _905.selected;},this);}var _906=this.selectedChildWidget;if(!_906&&_904[0]){_906=this.selectedChildWidget=_904[0];_906.selected=true;}_8fe.publish(this.id+"-startup",{children:_904,selected:_906});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _907=this.selectedChildWidget;if(_907){this._showChild(_907);}}this.inherited(arguments);},_setupChild:function(_908){this.inherited(arguments);_8fc.replace(_908.domNode,"dijitHidden","dijitVisible");_908.domNode.title="";},addChild:function(_909,_90a){this.inherited(arguments);if(this._started){_8fe.publish(this.id+"-addChild",_909,_90a);this.layout();if(!this.selectedChildWidget){this.selectChild(_909);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_8fe.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _90b=this.getChildren();if(_90b.length){this.selectChild(_90b[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_90c){page=_8ff.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_90c);this._set("selectedChildWidget",page);_8fe.publish(this.id+"-selectChild",page);if(this.persist){_8fa(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_90d,_90e){if(_90e){this._hideChild(_90e);}var d=this._showChild(_90d);if(_90d.resize){if(this.doLayout){_90d.resize(this._containerContentBox||this._contentBox);}else{_90d.resize();}}return d;},_adjacent:function(_90f){var _910=this.getChildren();var _911=_8f9.indexOf(_910,this.selectedChildWidget);_911+=_90f?1:_910.length-1;return _910[_911%_910.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_8fe.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _912=this.selectedChildWidget;if(_912&&_912.resize){if(this.doLayout){_912.resize(this._containerContentBox||this._contentBox);}else{_912.resize();}}},_showChild:function(page){var _913=this.getChildren();page.isFirstChild=(page==_913[0]);page.isLastChild=(page==_913[_913.length-1]);page._set("selected",true);_8fc.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_8fc.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _914=page.onClose(this,page);if(_914){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_915){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_8f9.forEach(this.getChildren(),function(_916){if(!_915){this.removeChild(_916);}_916.destroyRecursive(_915);},this);this._descendantsBeingDestroyed=false;}});_903.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_900,_903.ChildWidgetProperties);return _903;});},"dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_917){dojo.cookie=function(name,_918,_919){var c=document.cookie,ret;if(arguments.length==1){var _91a=c.match(new RegExp("(?:^|; )"+_917.escapeString(name)+"=([^;]*)"));ret=_91a?decodeURIComponent(_91a[1]):undefined;}else{_919=_919||{};var exp=_919.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_919.expires=d;}if(exp&&exp.toUTCString){_919.expires=exp.toUTCString();}_918=encodeURIComponent(_918);var _91b=name+"="+_918,_91c;for(_91c in _919){_91b+="; "+_91c;var _91d=_919[_91c];if(_91d!==true){_91b+="="+_91d;}}document.cookie=_91b;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","dijit/layout/AccordionPane":function(){define("dijit/layout/AccordionPane",["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_91e,_91f,_920){return _91e("dijit.layout.AccordionPane",_920,{constructor:function(){_91f.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/layout/BorderContainer":function(){define("dijit/layout/BorderContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_921,_922,_923,_924,_925,_926,_927,_928,keys,lang,on,_929,_92a,_92b,_92c,_92d,_92e){var _92f=_923("dijit.layout._Splitter",[_92b,_92c],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_924.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _930=_922(this._cookieName);if(_930){this.child.domNode.style[this.horizontal?"height":"width"]=_930;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_931=_926.getMarginBox(this.child.domNode)[dim],_932=_921.filter(this.container.getChildren(),function(_933){return _933.region=="center";})[0],_934=_926.getMarginBox(_932.domNode)[dim];return Math.min(this.child.maxSize,_931+_934);},_startDrag:function(e){if(!this.cover){this.cover=_925.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_924.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_925.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_924.add(this.domNode,"dijitSplitterShadow");_925.place(this.fake,this.domNode,"after");}_924.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_924.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _935=this._factor,_936=this.horizontal,axis=_936?"pageY":"pageX",_937=e[axis],_938=this.domNode.style,dim=_936?"h":"w",_939=_926.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_93a=this.region,_93b=_93a=="top"||_93a=="bottom"?"top":"left",_93c=parseInt(_938[_93b],10),_93d=this._resize,_93e=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_929.move,this._drag=function(e,_93f){var _940=e[axis]-_937,_941=_935*_940+_939,_942=Math.max(Math.min(_941,max),min);if(_93d||_93f){_93e(_942);}_938[_93b]=_940+_93c+_935*(_942-_941)+"px";}),on(de,"dragstart",_928.stop),on(this.ownerDocumentBody,"selectstart",_928.stop),on(de,_929.release,lang.hitch(this,"_stopDrag"))]);_928.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_924.toggle(this.domNode,"dijitSplitterHover",o);_924.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_924.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_925.destroy(this.fake);}_924.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_922(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _943=this.horizontal;var tick=1;switch(e.charOrCode){case _943?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _943?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _944=_926.getMarginSize(this.child.domNode)[_943?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_944,this._computeMaxSize()),this.child.minSize));_928.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _945=_923("dijit.layout._Gutter",[_92b,_92c],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_924.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _946=_923("dijit.layout.BorderContainer",_92d,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_92f,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_921.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_947){var _948=_947.region;if(_948){this.inherited(arguments);_924.add(_947.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_948=="leading"){_948=ltr?"left":"right";}if(_948=="trailing"){_948=ltr?"right":"left";}if(_948!="center"&&(_947.splitter||this.gutters)&&!_947._splitterWidget){var _949=_947.splitter?this._splitterClass:_945;if(lang.isString(_949)){_949=lang.getObject(_949);}var _94a=new _949({id:_947.id+"_splitter",container:this,child:_947,region:_948,live:this.liveSplitters});_94a.isSplitter=true;_947._splitterWidget=_94a;_925.place(_94a.domNode,_947.domNode,"after");_94a.startup();}_947.region=_948;}},layout:function(){this._layoutChildren();},addChild:function(_94b,_94c){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_94d){var _94e=_94d.region;var _94f=_94d._splitterWidget;if(_94f){_94f.destroy();delete _94d._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_924.remove(_94d.domNode,this.baseClass+"Pane");_927.set(_94d.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_927.set(_94d.domNode,_94e=="top"||_94e=="bottom"?"width":"height","auto");},getChildren:function(){return _921.filter(this.inherited(arguments),function(_950){return !_950.isSplitter;});},getSplitter:function(_951){return _921.filter(this.getChildren(),function(_952){return _952.region==_951;})[0]._splitterWidget;},resize:function(_953,_954){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_927.getComputedStyle(node);this.pe=_926.getPadExtents(node,this.cs);this.pe.r=_927.toPixelValue(node,this.cs.paddingRight);this.pe.b=_927.toPixelValue(node,this.cs.paddingBottom);_927.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_955,_956){if(!this._borderBox||!this._borderBox.h){return;}var _957=_921.map(this.getChildren(),function(_958,idx){return {pane:_958,weight:[_958.region=="center"?Infinity:0,_958.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_958.region)?1:-1),idx]};},this);_957.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});var _959=[];_921.forEach(_957,function(_95a){var pane=_95a.pane;_959.push(pane);if(pane._splitterWidget){_959.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_92e.layoutChildren(this.domNode,dim,_959,_955,_956);},destroyRecursive:function(){_921.forEach(this.getChildren(),function(_95b){var _95c=_95b._splitterWidget;if(_95c){_95c.destroy();}delete _95b._splitterWidget;});this.inherited(arguments);}});_946.ChildWidgetProperties={region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity};lang.extend(_92a,_946.ChildWidgetProperties);_946._Splitter=_92f;_946._Gutter=_945;return _946;});},"dijit/layout/TabContainer":function(){define("dijit/layout/TabContainer",["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_95d,_95e,_95f,_960){return _95d("dijit.layout.TabContainer",_95e,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_961){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_95f=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _95f({id:this.id+"_tablist",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_961);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_960:_95f;}}});});},"dijit/layout/_TabContainerBase":function(){require({cache:{"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n"}});define("dijit/layout/_TabContainerBase",["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_962,_963,_964,_965,_966,_967,_968,_969){return _966("dijit.layout._TabContainerBase",[_963,_965],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_962,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_969.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_967.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_967.add(this.domNode,"dijitTabContainerNested");_967.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_967.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_967.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_967.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_967.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _96a=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_96a;var _96b=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_96a},{domNode:this.containerNode,layoutAlign:"client"}];_964.layoutChildren(this.domNode,this._contentBox,_96b);this._containerContentBox=_964.marginBox2contentBox(this.containerNode,_96b[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _96c=_968.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_96c});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","dijit/layout/TabController":function(){require({cache:{"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode'/>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n"}});define("dijit/layout/TabController",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_96d,dom,_96e,_96f,i18n,lang,_970,_971,Menu,_972,_973){var _974=_96d("dijit.layout._TabButton",_970.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_973,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;this.defer(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_96f.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _975=i18n.getLocalization("dijit","common");if(this.closeNode){_96e.set(this.closeNode,"title",_975.itemClose);}}},_setDisabledAttr:function(_976){this.inherited(arguments);if(this.closeNode){if(_976){_96e.remove(this.closeNode,"title");}else{var _977=i18n.getLocalization("dijit","common");_96e.set(this.closeNode,"title",_977.itemClose);}}},_setLabelAttr:function(_978){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});var _979=_96d("dijit.layout.TabController",_970,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_974,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _97a=new Menu({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(node){return _96f.contains(node,"dijitClosable")&&!_96f.contains(node,"dijitTabDisabled");}});this.own(_97a);var _97b=i18n.getLocalization("dijit","common"),_97c=this;_97a.addChild(new _972({label:_97b.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _97d=_971.byNode(this.getParent().currentTarget);_97c.onCloseButtonClick(_97d.page);}}));}});_979.TabButton=_974;return _979;});},"dijit/layout/StackController":function(){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_97e,_97f,_980,_981,keys,lang,on,_982,_983,_984,_985,_986,_987){var _988=_97f("dijit.layout._StackButton",_987,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _989=_97f("dijit.layout.StackController",[_984,_985,_986],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_988,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(_98a){this.pane2button={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(evt){var _98b=_983.getEnclosingWidget(evt.target);if(_98b!=this.containerNode&&!_98b.disabled&&_98b.page){for(var _98c=evt.target;_98c!==this.containerNode;_98c=_98c.parentNode){if(_980.contains(_98c,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_98b.page);break;}else{if(_98c==_98b.domNode){this.onButtonClick(_98b.page);break;}}}}});},onStartup:function(info){_97e.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _98d=_983.byId(this.containerId).containerNode,_98e=this.pane2button,_98f={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled"},_990=function(attr,_991){return on(_98d,"attrmodified-"+attr,function(evt){var _992=_98e[evt.detail&&evt.detail.widget&&evt.detail.widget.id];if(_992){_992.set(_991,evt.detail.newValue);}});};for(var attr in _98f){this.own(_990(attr,_98f[attr]));}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_983.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_993){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _994=new Cls({id:this.id+"_"+page.id,name:this.id+"_"+page.id,label:page.title,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_994,_993);this.pane2button[page.id]=_994;page.controlButton=_994;if(!this._currentChild){this.onSelectChild(page);}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _995=this.pane2button[page.id];if(_995){this.removeChild(_995);delete this.pane2button[page.id];_995.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _996=this.pane2button[this._currentChild.id];_996.set("checked",false);_996.focusNode.setAttribute("tabIndex","-1");}var _997=this.pane2button[page.id];_997.set("checked",true);this._currentChild=page;_997.focusNode.setAttribute("tabIndex","0");var _998=_983.byId(this.containerId);_998.containerNode.setAttribute("aria-labelledby",_997.id);},onButtonClick:function(page){var _999=this.pane2button[page.id];_982.focus(_999.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_999.set("checked",true);}var _99a=_983.byId(this.containerId);_99a.selectChild(page);},onCloseButtonClick:function(page){var _99b=_983.byId(this.containerId);_99b.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_982.focus(b.focusNode||b.domNode);}}},adjacent:function(_99c){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_99c=!_99c;}var _99d=this.getChildren();var idx=_97e.indexOf(_99d,this.pane2button[this._currentChild.id]),_99e=_99d[idx];var _99f;do{idx=(idx+(_99c?1:_99d.length-1))%_99d.length;_99f=_99d[idx];}while(_99f.disabled&&_99f!=_99e);return _99f;},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _9a0=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_9a0=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_9a0=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_9a0=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_9a0=true;}break;case keys.HOME:var _9a1=this.getChildren();for(var idx=0;idx<_9a1.length;idx++){var _9a2=_9a1[idx];if(!_9a2.disabled){this.onButtonClick(_9a2.page);break;}}_981.stop(e);break;case keys.END:var _9a1=this.getChildren();for(var idx=_9a1.length-1;idx>=0;idx--){var _9a2=_9a1[idx];if(!_9a2.disabled){this.onButtonClick(_9a2.page);break;}}_981.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_981.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.onButtonClick(this.adjacent(!e.shiftKey).page);_981.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_981.stop(e);}}}}if(_9a0!==null){this.onButtonClick(this.adjacent(_9a0).page);_981.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_989.StackButton=_988;return _989;});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode'/>\n\t<span data-dojo-attach-point='containerNode,focusNode' class='tabLabel'></span>\n\t<span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t role=\"presentation\">\n\t\t<span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t\t\t></span>\n</div>\n","dijit/layout/ScrollingTabController":function(){require({cache:{"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\">\n\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>"}});define("dijit/layout/ScrollingTabController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/on","dojo/query","dojo/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_9a3,_9a4,_9a5,_9a6,_9a7,fx,lang,on,_9a8,has,_9a9,_9aa,_9ab,_9ac,_9ad,_9ae,Menu,_9af,_9b0,_9b1){var _9b2=_9a4("dijit.layout.ScrollingTabController",[_9ac,_9ae],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_9aa,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_9a5.add(n,"tabStrip-disabled");}_9a5.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_9a7.set(this.domNode,"visibility","");this._postStartup=true;this.own(on(this.containerNode,"attrmodified-label, attrmodified-iconclass",lang.hitch(this,function(evt){if(this._dim){this.resize(this._dim);}})));},onAddChild:function(page,_9b3){this.inherited(arguments);_9a7.set(this.containerNode,"width",(_9a7.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_9b4){var _9b5=this.pane2button[page.id];if(this._selectedTab===_9b5.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_9a8("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_9a6.getMarginSize(btn).w;return true;}else{_9a7.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _9b6=this.getChildren();if(_9b6.length){var _9b7=_9b6[this.isLeftToRight()?0:_9b6.length-1].domNode,_9b8=_9b6[this.isLeftToRight()?_9b6.length-1:0].domNode;return _9b8.offsetLeft+_9b8.offsetWidth-_9b7.offsetLeft;}else{return 0;}},_enableBtn:function(_9b9){var _9ba=this._getTabsWidth();_9b9=_9b9||_9a7.get(this.scrollNode,"width");return _9ba>0&&_9b9<_9ba;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_9ad.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_9a6.setContentSize(this.domNode,cb);var _9bb=this._enableBtn(this._contentBox.w);this._buttons.style("display",_9bb?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_9ad.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_9a7.get(this.containerNode,"width")-_9a7.get(this.scrollNode,"width")+(has("ie")>=8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _9bc=_9a7.get(this.containerNode,"width")-_9a7.get(this.scrollNode,"width");return (has("ie")>=8?-1:1)*(val-_9bc);}},onSelectChild:function(page){var tab=this.pane2button[page.id];if(!tab||!page){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_9a7.get(this.scrollNode,"width")<node.offsetLeft+_9a7.get(node,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _9bd=this.getChildren(),_9be=_9a7.get(this.scrollNode,"width"),_9bf=_9a7.get(this.containerNode,"width"),_9c0=_9bf-_9be,_9c1=this._getTabsWidth();if(_9bd.length&&_9c1>_9be){return {min:this.isLeftToRight()?0:_9bd[_9bd.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_9bd[_9bd.length-1].domNode.offsetLeft+_9bd[_9bd.length-1].domNode.offsetWidth)-_9be:_9c0};}else{var _9c2=this.isLeftToRight()?0:_9c0;return {min:_9c2,max:_9c2};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_9c3=_9a7.get(this.scrollNode,"width"),_9c4=this._getScrollBounds();var pos=(n.offsetLeft+_9a7.get(n,"width")/2)-_9c3/2;pos=Math.min(Math.max(pos,_9c4.min),_9c4.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _9c5=this._getScrollBounds();x=Math.min(Math.max(x,_9c5.min),_9c5.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var self=this,w=this.scrollNode,anim=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var oldS=w.scrollLeft,newS=self._convertToScrollLeft(x);anim.curve=new fx._Line(oldS,newS);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=anim;this._setButtonClass(x);return anim;},_getBtnNode:function(e){var n=e.target;while(n&&!_9a5.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_9c6,node){if(node&&_9a5.contains(node,"dijitTabDisabled")){return;}var _9c7=_9a7.get(this.scrollNode,"width");var d=(_9c7*0.75)*_9c6;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_9c8){var _9c9=this._getScrollBounds();this._leftBtn.set("disabled",_9c8<=_9c9.min);this._rightBtn.set("disabled",_9c8>=_9c9.max);}});var _9ca=_9a4("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_9ab,tabIndex:"",isFocusable:function(){return false;}});_9a4("dijit.layout._ScrollingTabControllerButton",[_9b0,_9ca]);_9a4("dijit.layout._ScrollingTabControllerMenuButton",[_9b0,_9b1,_9ca],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_9cb){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _9cc=_9a9.byId(this.containerId);_9a3.forEach(_9cc.getChildren(),function(page){var _9cd=new _9af({id:page.id+"_stcMi",label:page.title,iconClass:page.iconClass,disabled:page.disabled,ownerDocument:this.ownerDocument,dir:page.dir,lang:page.lang,textDir:page.textDir,onClick:function(){_9cc.selectChild(page);}});this.dropDown.addChild(_9cd);},this);_9cb();},closeDropDown:function(_9ce){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _9b2;});},"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\">\n\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","dijit/ProgressBar":function(){require({cache:{"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\n"}});define("dijit/ProgressBar",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_9cf,_9d0,_9d1,lang,_9d2,_9d3,_9d4,_9d5){return _9d0("dijit.ProgressBar",[_9d3,_9d4],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_9d5,_indeterminateHighContrastImagePath:_9cf.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!(this.params&&"value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_9d6){lang.mixin(this,_9d6||{});var tip=this.internalProgress,ap=this.domNode;var _9d7=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_9d7=Math.min(parseFloat(this.progress)/100,1);this.progress=_9d7*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_9d7=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_9d7);_9d1.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_9d7*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_9d8){this._set("label",_9d8);this.update();},_setIndeterminateAttr:function(_9d9){this.indeterminate=_9d9;this.update();},report:function(_9da){return this.label?this.label:(this.indeterminate?"&#160;":_9d2.format(_9da,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define("dojo/number",["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_9db,_9dc,_9dd){var _9de={};lang.setObject("dojo.number",_9de);_9de.format=function(_9df,_9e0){_9e0=lang.mixin({},_9e0||{});var _9e1=i18n.normalizeLocale(_9e0.locale),_9e2=i18n.getLocalization("dojo.cldr","number",_9e1);_9e0.customs=_9e2;var _9e3=_9e0.pattern||_9e2[(_9e0.type||"decimal")+"Format"];if(isNaN(_9df)||Math.abs(_9df)==Infinity){return null;}return _9de._applyPattern(_9df,_9e3,_9e0);};_9de._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_9de._applyPattern=function(_9e4,_9e5,_9e6){_9e6=_9e6||{};var _9e7=_9e6.customs.group,_9e8=_9e6.customs.decimal,_9e9=_9e5.split(";"),_9ea=_9e9[0];_9e5=_9e9[(_9e4<0)?1:0]||("-"+_9ea);if(_9e5.indexOf("%")!=-1){_9e4*=100;}else{if(_9e5.indexOf("‰")!=-1){_9e4*=1000;}else{if(_9e5.indexOf("¤")!=-1){_9e7=_9e6.customs.currencyGroup||_9e7;_9e8=_9e6.customs.currencyDecimal||_9e8;_9e5=_9e5.replace(/\u00a4{1,3}/,function(_9eb){var prop=["symbol","currency","displayName"][_9eb.length-1];return _9e6[prop]||_9e6.currency||"";});}else{if(_9e5.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _9ec=_9de._numberPatternRE;var _9ed=_9ea.match(_9ec);if(!_9ed){throw new Error("unable to find a number expression in pattern: "+_9e5);}if(_9e6.fractional===false){_9e6.places=0;}return _9e5.replace(_9ec,_9de._formatAbsolute(_9e4,_9ed[0],{decimal:_9e8,group:_9e7,places:_9e6.places,round:_9e6.round}));};_9de.round=function(_9ee,_9ef,_9f0){var _9f1=10/(_9f0||10);return (_9f1*+_9ee).toFixed(_9ef)/_9f1;};if((0.9).toFixed()==0){var _9f2=_9de.round;_9de.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _9f2(v,p,m)+(v>0?d:-d);};}_9de._formatAbsolute=function(_9f3,_9f4,_9f5){_9f5=_9f5||{};if(_9f5.places===true){_9f5.places=0;}if(_9f5.places===Infinity){_9f5.places=6;}var _9f6=_9f4.split("."),_9f7=typeof _9f5.places=="string"&&_9f5.places.indexOf(","),_9f8=_9f5.places;if(_9f7){_9f8=_9f5.places.substring(_9f7+1);}else{if(!(_9f8>=0)){_9f8=(_9f6[1]||[]).length;}}if(!(_9f5.round<0)){_9f3=_9de.round(_9f3,_9f8,_9f5.round);}var _9f9=String(Math.abs(_9f3)).split("."),_9fa=_9f9[1]||"";if(_9f6[1]||_9f5.places){if(_9f7){_9f5.places=_9f5.places.substring(0,_9f7);}var pad=_9f5.places!==undefined?_9f5.places:(_9f6[1]&&_9f6[1].lastIndexOf("0")+1);if(pad>_9fa.length){_9f9[1]=_9dc.pad(_9fa,pad,"0",true);}if(_9f8<_9fa.length){_9f9[1]=_9fa.substr(0,_9f8);}}else{if(_9f9[1]){_9f9.pop();}}var _9fb=_9f6[0].replace(",","");pad=_9fb.indexOf("0");if(pad!=-1){pad=_9fb.length-pad;if(pad>_9f9[0].length){_9f9[0]=_9dc.pad(_9f9[0],pad);}if(_9fb.indexOf("#")==-1){_9f9[0]=_9f9[0].substr(_9f9[0].length-pad);}}var _9fc=_9f6[0].lastIndexOf(","),_9fd,_9fe;if(_9fc!=-1){_9fd=_9f6[0].length-_9fc-1;var _9ff=_9f6[0].substr(0,_9fc);_9fc=_9ff.lastIndexOf(",");if(_9fc!=-1){_9fe=_9ff.length-_9fc-1;}}var _a00=[];for(var _a01=_9f9[0];_a01;){var off=_a01.length-_9fd;_a00.push((off>0)?_a01.substr(off):_a01);_a01=(off>0)?_a01.slice(0,off):"";if(_9fe){_9fd=_9fe;delete _9fe;}}_9f9[0]=_a00.reverse().join(_9f5.group||",");return _9f9.join(_9f5.decimal||".");};_9de.regexp=function(_a02){return _9de._parseInfo(_a02).regexp;};_9de._parseInfo=function(_a03){_a03=_a03||{};var _a04=i18n.normalizeLocale(_a03.locale),_a05=i18n.getLocalization("dojo.cldr","number",_a04),_a06=_a03.pattern||_a05[(_a03.type||"decimal")+"Format"],_a07=_a05.group,_a08=_a05.decimal,_a09=1;if(_a06.indexOf("%")!=-1){_a09/=100;}else{if(_a06.indexOf("‰")!=-1){_a09/=1000;}else{var _a0a=_a06.indexOf("¤")!=-1;if(_a0a){_a07=_a05.currencyGroup||_a07;_a08=_a05.currencyDecimal||_a08;}}}var _a0b=_a06.split(";");if(_a0b.length==1){_a0b.push("-"+_a0b[0]);}var re=_9dd.buildGroupRE(_a0b,function(_a0c){_a0c="(?:"+_9dd.escapeString(_a0c,".")+")";return _a0c.replace(_9de._numberPatternRE,function(_a0d){var _a0e={signed:false,separator:_a03.strict?_a07:[_a07,""],fractional:_a03.fractional,decimal:_a08,exponent:false},_a0f=_a0d.split("."),_a10=_a03.places;if(_a0f.length==1&&_a09!=1){_a0f[1]="###";}if(_a0f.length==1||_a10===0){_a0e.fractional=false;}else{if(_a10===undefined){_a10=_a03.pattern?_a0f[1].lastIndexOf("0")+1:Infinity;}if(_a10&&_a03.fractional==undefined){_a0e.fractional=true;}if(!_a03.places&&(_a10<_a0f[1].length)){_a10+=","+_a0f[1].length;}_a0e.places=_a10;}var _a11=_a0f[0].split(",");if(_a11.length>1){_a0e.groupSize=_a11.pop().length;if(_a11.length>1){_a0e.groupSize2=_a11.pop().length;}}return "("+_9de._realNumberRegexp(_a0e)+")";});},true);if(_a0a){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_a12,_a13,_a14,_a15){var prop=["symbol","currency","displayName"][_a14.length-1],_a16=_9dd.escapeString(_a03[prop]||_a03.currency||"");_a13=_a13?"[\\s\\xa0]":"";_a15=_a15?"[\\s\\xa0]":"";if(!_a03.strict){if(_a13){_a13+="*";}if(_a15){_a15+="*";}return "(?:"+_a13+_a16+_a15+")?";}return _a13+_a16+_a15;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_a07,decimal:_a08,factor:_a09};};_9de.parse=function(_a17,_a18){var info=_9de._parseInfo(_a18),_a19=(new RegExp("^"+info.regexp+"$")).exec(_a17);if(!_a19){return NaN;}var _a1a=_a19[1];if(!_a19[1]){if(!_a19[2]){return NaN;}_a1a=_a19[2];info.factor*=-1;}_a1a=_a1a.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _a1a*info.factor;};_9de._realNumberRegexp=function(_a1b){_a1b=_a1b||{};if(!("places" in _a1b)){_a1b.places=Infinity;}if(typeof _a1b.decimal!="string"){_a1b.decimal=".";}if(!("fractional" in _a1b)||/^0/.test(_a1b.places)){_a1b.fractional=[true,false];}if(!("exponent" in _a1b)){_a1b.exponent=[true,false];}if(!("eSigned" in _a1b)){_a1b.eSigned=[true,false];}var _a1c=_9de._integerRegexp(_a1b),_a1d=_9dd.buildGroupRE(_a1b.fractional,function(q){var re="";if(q&&(_a1b.places!==0)){re="\\"+_a1b.decimal;if(_a1b.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_a1b.places+"}";}}return re;},true);var _a1e=_9dd.buildGroupRE(_a1b.exponent,function(q){if(q){return "([eE]"+_9de._integerRegexp({signed:_a1b.eSigned})+")";}return "";});var _a1f=_a1c+_a1d;if(_a1d){_a1f="(?:(?:"+_a1f+")|(?:"+_a1d+"))";}return _a1f+_a1e;};_9de._integerRegexp=function(_a20){_a20=_a20||{};if(!("signed" in _a20)){_a20.signed=[true,false];}if(!("separator" in _a20)){_a20.separator="";}else{if(!("groupSize" in _a20)){_a20.groupSize=3;}}var _a21=_9dd.buildGroupRE(_a20.signed,function(q){return q?"[-+]":"";},true);var _a22=_9dd.buildGroupRE(_a20.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_9dd.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_a20.groupSize,grp2=_a20.groupSize2;if(grp2){var _a23="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_a23+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_a23;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _a21+_a22;};return _9de;});},"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\n","dijit/Toolbar":function(){define("dijit/Toolbar",["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_a24,_a25,has,keys,_a26,_a27,_a28,_a29){if(has("dijit-legacy-requires")){_a26(0,function(){var _a2a=["dijit/ToolbarSeparator"];_a24(_a2a);});}return _a25("dijit.Toolbar",[_a27,_a29,_a28],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/TooltipDialog":function(){require({cache:{"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n"}});define("dijit/TooltipDialog",["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_a2b,_a2c,_a2d,keys,lang,_a2e,_a2f,_a30,_a31,_a32,_a33,_a34){return _a2b("dijit.TooltipDialog",[_a2f,_a32,_a31,_a30],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_a33,_setTitleAttr:function(_a35){this.containerNode.title=_a35;this._set("title",_a35);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_a36,_a37){var newC={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_a36+"-"+_a37];_a2c.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_a2e.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _a38=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_a38.y+((_a38.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_a38.x+((_a38.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _a39=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){this.defer("onCancel");_a2d.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_a39){_a2e.focus(this._lastFocusItem);}_a2d.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_a39){_a2e.focus(this._firstFocusItem);}_a2d.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","dijit/Tree":function(){require({cache:{"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow dijitInline\" role=\"presentation\"\n\t\t><div data-dojo-attach-point=\"indentNode\" class=\"dijitInline\"></div\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n"}});define("dijit/Tree",["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/errors/create","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_a3a,_a3b,_a3c,_a3d,_a3e,_a3f,dom,_a40,_a41,_a42,_a43,_a44,_a45,_a46,keys,lang,on,_a47,_a48,when,_a49,_a4a,_a4b,_a4c,_a4d,_a4e,_a4f,_a50,_a51,_a52,_a53,_a54,_a55){_a3e=_a3d(_a3e,{addCallback:function(_a56){this.then(_a56);},addErrback:function(_a57){this.then(null,_a57);}});var _a58=_a3d("dijit._TreeNode",[_a4c,_a4d,_a4e,_a4f,_a50],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_a51,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_a59){var _a5a=(Math.max(_a59,0)*this.tree._nodePixelIndent)+"px";_a42.set(this.domNode,"backgroundPosition",_a5a+" 0px");_a42.set(this.indentNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_a5a);_a3a.forEach(this.getChildren(),function(_a5b){_a5b.set("indent",_a59+1);});this._set("indent",_a59);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_a5c=tree.model;if(tree._v10Compat&&item===_a5c.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");this.tree._startPaint(true);},_applyClassAndStyle:function(item,_a5d,_a5e){var _a5f="_"+_a5d+"Class";var _a60=_a5d+"Node";var _a61=this[_a5f];this[_a5f]=this.tree["get"+_a5e+"Class"](item,this.isExpanded);_a40.replace(this[_a60],this[_a5f]||"",_a61||"");_a42.set(this[_a60],this.tree["get"+_a5e+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _a62=this.getParent();if(!_a62||!_a62.rowNode||_a62.rowNode.style.display=="none"){_a40.add(this.domNode,"dijitTreeIsRoot");}else{_a40.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_a63){var _a64=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_a65=["*","-","+","*"],idx=_a63?0:(this.isExpandable?(this.isExpanded?1:2):3);_a40.replace(this.expandoNode,_a64[idx],_a64);this.expandoNodeText.innerHTML=_a65[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}if(this._collapseDeferred){this._collapseDeferred.cancel();delete this._collapseDeferred;}this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_a40.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_a66=_a45.wipeIn({node:this.containerNode,duration:_a4b.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._expandDeferred=new _a3e(function(){_a66.stop();}));_a66.play();return def;},collapse:function(){if(this._collapseDeferred){return this._collapseDeferred;}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode&&this.tree.showRoot){this.tree.domNode.setAttribute("aria-expanded","false");}_a40.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var def,_a67=_a45.wipeOut({node:this.containerNode,duration:_a4b.defaultDuration,onEnd:function(){def.resolve(true);}});def=(this._collapseDeferred=new _a3e(function(){_a67.stop();}));_a67.play();return def;},indent:0,setChildItems:function(_a68){var tree=this.tree,_a69=tree.model,defs=[];var _a6a=this.getChildren();_a3a.forEach(_a6a,function(_a6b){_a4e.prototype.removeChild.call(this,_a6b);},this);this.defer(function(){_a3a.forEach(_a6a,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);var id=_a69.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _a6c=_a3a.indexOf(ary,node);if(_a6c!=-1){ary.splice(_a6c,1);}}node.destroyRecursive();}});});this.state="LOADED";if(_a68&&_a68.length>0){this.isExpandable=true;_a3a.forEach(_a68,function(item){var id=_a69.getIdentity(item),_a6d=tree._itemNodesMap[id],node;if(_a6d){for(var i=0;i<_a6d.length;i++){if(_a6d[i]&&!_a6d[i].getParent()){node=_a6d[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_a69.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_a6d){_a6d.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_a3a.forEach(this.getChildren(),function(_a6e){_a6e._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}var def=new _a3f(defs);this.tree._startPaint(def);return def;},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _a6f=this.getChildren();if(_a6f.length==0){this.isExpandable=false;this.collapse();}_a3a.forEach(_a6f,function(_a70){_a70._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_a71){this.labelNode.setAttribute("aria-selected",_a71?"true":"false");_a40.toggle(this.rowNode,"dijitTreeRowSelected",_a71);},setFocusable:function(_a72){this.labelNode.setAttribute("tabIndex",_a72?"0":"-1");},_setTextDirAttr:function(_a73){if(_a73&&((this.textDir!=_a73)||!this._created)){this._set("textDir",_a73);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_a3a.forEach(this.getChildren(),function(_a74){_a74.set("textDir",_a73);},this);}}});var Tree=_a3d("dijit.Tree",[_a4c,_a4d],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_a52,persist:true,autoExpand:false,dndController:_a55,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_a75,_a76){_a47.publish(this.id,lang.mixin({tree:this,event:_a75},_a76||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this.expandChildrenDeferred=new _a3e();this.pendingCommandsDeferred=this.expandChildrenDeferred;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.domNode,on.selector(".dijitTreeNode",_a48.enter),function(evt){self._onNodeMouseEnter(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode",_a48.leave),function(evt){self._onNodeMouseLeave(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","click"),function(evt){self._onClick(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","dblclick"),function(evt){self._onDblClick(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keypress"),function(evt){self._onKeyPress(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeNode","keydown"),function(evt){self._onKeyDown(_a4a.byNode(this),evt);}),on(this.domNode,on.selector(".dijitTreeRow","focusin"),function(evt){self._onNodeFocus(_a4a.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _a77={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_a77[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_a77);}this._load();if(!this.params.path&&!this.params.paths&&this.persist){this.set("paths",this.dndController._getSavedPaths());}this.onLoadDeferred=this.pendingCommandsDeferred;this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_a46.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _a78={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_a78.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_a78.getChildren=lang.hitch(this,function(item,_a79,_a7a){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_a79,_a7a);});}this.model=new _a54(_a78);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");this.domNode.removeAttribute("aria-expanded");this.domNode.removeAttribute("aria-multiselectable");rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");rn.containerNode.setAttribute("aria-expanded","true");rn.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular);}else{this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular);}this.domNode.appendChild(rn.domNode);var _a7b=this.model.getIdentity(item);if(this._itemNodesMap[_a7b]){this._itemNodesMap[_a7b].push(rn);}else{this._itemNodesMap[_a7b]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){this.expandChildrenDeferred.resolve(true);}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _a7c=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_a7c]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_a7d){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(lang.hitch(this,function(){var _a7e=_a3a.map(_a7d,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _a7f=[];_a3a.forEach(_a7e,function(id){_a7f=_a7f.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_a7f);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_a80){var tree=this;return this.pendingCommandsDeferred=this.pendingCommandsDeferred.then(function(){return new _a3f(_a3a.map(_a80,function(path){var d=new _a3e();path=_a3a.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){_a81(path,[tree.rootNode],d);}else{d.reject(new Tree.PathError("Empty path"));}return d;}));}).then(_a82);function _a81(path,_a83,def){var _a84=path.shift();var _a85=_a3a.filter(_a83,function(node){return node.getIdentity()==_a84;})[0];if(!!_a85){if(path.length){tree._expandNode(_a85).then(function(){_a81(path,_a85.getChildren(),def);});}else{def.resolve(_a85);}}else{def.reject(new Tree.PathError("Could not expand path at "+_a84));}};function _a82(_a86){tree.set("selectedNodes",_a3a.map(_a3a.filter(_a86,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_a87){this.dndController.setSelection(_a87);},expandAll:function(){var _a88=this;function _a89(node){var def=new dojo.Deferred();_a88._expandNode(node).then(function(){var _a8a=_a3a.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_a3a.map(_a8a,_a89);new dojo.DeferredList(defs).then(function(){def.resolve(true);});});return def;};return _a89(this.rootNode);},collapseAll:function(){var _a8b=this;function _a8c(node){var def=new dojo.Deferred();def.label="collapseAllDeferred";var _a8d=_a3a.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=_a3a.map(_a8d,_a8c);new dojo.DeferredList(defs).then(function(){if(!node.isExpanded||(node==_a8b.rootNode&&!_a8b.showRoot)){def.resolve(true);}else{_a8b._collapseNode(node).then(function(){def.resolve(true);});}});return def;};return _a8c(this.rootNode);},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_a8e){return (!item||this.model.mayHaveChildren(item))?(_a8e?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(_a8f,e){if(e.charCode<=32){return;}if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){var c=String.fromCharCode(e.charCode);this._onLetterKeyNav({node:_a8f,key:c.toLowerCase()});_a43.stop(e);}},_onKeyDown:function(_a90,e){var key=e.keyCode;var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]=map[keys.SPACE]=map[" "]="_onEnterKey";map[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]="_onRightArrow";map[keys.UP_ARROW]="_onUpArrow";map[keys.DOWN_ARROW]="_onDownArrow";map[keys.HOME]="_onHomeKey";map[keys.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}this[this._keyHandlerMap[key]]({node:_a90,item:_a90.item,evt:e});_a43.stop(e);}},_onEnterKey:function(_a91){this._publish("execute",{item:_a91.item,node:_a91.node});this.dndController.userSelect(_a91.node,_a3b.isCopyKey(_a91.evt),_a91.evt.shiftKey);this.onClick(_a91.item,_a91.node,_a91.evt);},_onDownArrow:function(_a92){var node=this._getNextNode(_a92.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_a93){var node=_a93.node;var _a94=node.getPreviousSibling();if(_a94){node=_a94;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _a95=node.getChildren();node=_a95[_a95.length-1];}}else{var _a96=node.getParent();if(!(!this.showRoot&&_a96===this.rootNode)){node=_a96;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_a97){var node=_a97.node;if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(_a98){var node=_a98.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _a99=node.getParent();if(_a99&&_a99.isTreeNode&&!(!this.showRoot&&_a99===this.rootNode)){this.focusNode(_a99);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},multiCharSearchDuration:250,_onLetterKeyNav:function(_a9a){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_a9a.key;cs.timer.remove();}else{cs=this._curSearch={pattern:_a9a.key,startNode:_a9a.node};}cs.timer=this.defer(function(){delete this._curSearch;},this.multiCharSearchDuration);var node=cs.startNode;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==cs.startNode&&(node.label.toLowerCase().substr(0,cs.pattern.length)!=cs.pattern));if(node&&node.isTreeNode){if(node!==cs.startNode){this.focusNode(node);}}},isExpandoNode:function(node,_a9b){return dom.isDescendant(node,_a9b.expandoNode)||dom.isDescendant(node,_a9b.expandoNodeText);},_onClick:function(_a9c,e){var _a9d=e.target,_a9e=this.isExpandoNode(_a9d,_a9c);if((this.openOnClick&&_a9c.isExpandable)||_a9e){if(_a9c.isExpandable){this._onExpandoClick({node:_a9c});}}else{this._publish("execute",{item:_a9c.item,node:_a9c,evt:e});this.onClick(_a9c.item,_a9c,e);this.focusNode(_a9c);}_a43.stop(e);},_onDblClick:function(_a9f,e){var _aa0=e.target,_aa1=(_aa0==_a9f.expandoNode||_aa0==_a9f.expandoNodeText);if((this.openOnDblClick&&_a9f.isExpandable)||_aa1){if(_a9f.isExpandable){this._onExpandoClick({node:_a9f});}}else{this._publish("execute",{item:_a9f.item,node:_a9f,evt:e});this.onDblClick(_a9f.item,_a9f,e);this.focusNode(_a9f);}_a43.stop(e);},_onExpandoClick:function(_aa2){var node=_aa2.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _aa3=node.getNextSibling();if(_aa3){return _aa3;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.state=="LOADING"){return;}if(node.isExpanded){var ret=node.collapse();this.onClose(node.item,node);this._state(node,false);this._startPaint(ret);return ret;}},_expandNode:function(node){var def=new _a3e();if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _aa4=this.model,item=node.item,_aa5=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _a3e();_aa4.getChildren(item,function(_aa6){node.unmarkProcessing();node.setChildItems(_aa6).then(function(){node._loadDeferred.resolve(_aa6);});},function(err){console.error(_aa5,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}node._loadDeferred.then(lang.hitch(this,function(){node.expand().then(function(){def.resolve(true);});this.onOpen(node.item,node);this._state(node,true);}));this._startPaint(def);return def;},focusNode:function(node){_a49.focus(node.labelNode);},_onNodeFocus:function(node){if(node&&node!=this.lastFocused){if(this.lastFocused&&!this.lastFocused._destroyed){this.lastFocused.setFocusable(false);}node.setFocusable(true);this.lastFocused=node;}},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _aa7=this.model,_aa8=_aa7.getIdentity(item),_aa9=this._itemNodesMap[_aa8];if(_aa9){var _aaa=this.getLabel(item),_aab=this.getTooltip(item);_a3a.forEach(_aa9,function(node){node.set({item:item,label:_aaa,tooltip:_aab});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_aac,_aad){var _aae=this.model,_aaf=_aae.getIdentity(_aac),_ab0=this._itemNodesMap[_aaf];if(_ab0){_a3a.forEach(_ab0,function(_ab1){_ab1.setChildItems(_aad);});}},_onItemDelete:function(item){var _ab2=this.model,_ab3=_ab2.getIdentity(item),_ab4=this._itemNodesMap[_ab3];if(_ab4){_a3a.forEach(_ab4,function(node){this.dndController.removeTreeNode(node);var _ab5=node.getParent();if(_ab5){_ab5.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_ab3];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_a3c(this.cookieName);if(oreo){_a3a.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_ab6){if(!this.persist){return false;}var path=_a3a.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_ab6){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_a3c(this.cookieName,ary.join(","),{expires:365});}}},destroy:function(){if(this._curSearch){this._curSearch.timer.remove();delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_ab7){if(_ab7){_a41.setMarginBox(this.domNode,_ab7);}this._nodePixelIndent=_a41.position(this.tree.indentDetector).w||this._nodePixelIndent;this.expandChildrenDeferred.then(lang.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths();}));},_outstandingPaintOperations:0,_startPaint:function(p){this._outstandingPaintOperations++;if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var oc=lang.hitch(this,function(){this._outstandingPaintOperations--;if(this._outstandingPaintOperations<=0&&!this._adjustWidthsTimer&&this._started){this._adjustWidthsTimer=this.defer("_adjustWidths");}});when(p,oc,oc);},_adjustWidths:function(){if(this._adjustWidthsTimer){this._adjustWidthsTimer.remove();delete this._adjustWidthsTimer;}var _ab8=0,_ab9=[];function _aba(_abb){var node=_abb.rowNode;node.style.width="auto";_ab8=Math.max(_ab8,node.clientWidth);_ab9.push(node);if(_abb.isExpanded){_a3a.forEach(_abb.getChildren(),_aba);}};_aba(this.rootNode);_ab8=Math.max(_ab8,_a41.getContentBox(this.domNode).w);_a3a.forEach(_ab9,function(node){node.style.width=_ab8+"px";});},_createTreeNode:function(args){return new _a58(args);},_setTextDirAttr:function(_abc){if(_abc&&this.textDir!=_abc){this._set("textDir",_abc);this.rootNode.set("textDir",_abc);}}});Tree.PathError=_a44("TreePathError");Tree._TreeNode=_a58;return Tree;});},"dojo/DeferredList":function(){define("dojo/DeferredList",["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_abd,_abe){dojo.DeferredList=function(list,_abf,_ac0,_ac1,_ac2){var _ac3=[];_abd.call(this);var self=this;if(list.length===0&&!_abf){this.resolve([0,[]]);}var _ac4=0;_abe.forEach(list,function(item,i){item.then(function(_ac5){if(_abf){self.resolve([i,_ac5]);}else{_ac6(true,_ac5);}},function(_ac7){if(_ac0){self.reject(_ac7);}else{_ac6(false,_ac7);}if(_ac1){return null;}throw _ac7;});function _ac6(_ac8,_ac9){_ac3[i]=[_ac8,_ac9];_ac4++;if(_ac4===list.length){self.resolve(_ac3);}};});};dojo.DeferredList.prototype=new _abd();dojo.DeferredList.prototype.gatherResults=function(_aca){var d=new dojo.DeferredList(_aca,false,true,false);d.addCallback(function(_acb){var ret=[];_abe.forEach(_acb,function(_acc){ret.push(_acc[1]);});return ret;});return d;};return dojo.DeferredList;});},"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow dijitInline\" role=\"presentation\"\n\t\t><div data-dojo-attach-point=\"indentNode\" class=\"dijitInline\"></div\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n","dijit/tree/TreeStoreModel":function(){define("dijit/tree/TreeStoreModel",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_acd,_ace,_acf,lang){return _acf("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(args){lang.mixin(this,args);this.connects=[];var _ad0=this.store;if(!_ad0.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_ad0.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_ace.after(_ad0,"onNew",lang.hitch(this,"onNewItem"),true),_ace.after(_ad0,"onDelete",lang.hitch(this,"onDeleteItem"),true),_ace.after(_ad0,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_ad1,_ad2){if(this.root){_ad1(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_ad3){if(_ad3.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_ad3.length+" items, but must return exactly one");}this.root=_ad3[0];_ad1(this.root);}),onError:_ad2});}},mayHaveChildren:function(item){return _acd.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_ad4,_ad5,_ad6){var _ad7=this.store;if(!_ad7.isItemLoaded(_ad4)){var _ad8=lang.hitch(this,arguments.callee);_ad7.loadItem({item:_ad4,onItem:function(_ad9){_ad8(_ad9,_ad5,_ad6);},onError:_ad6});return;}var _ada=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_ad7.getValues(_ad4,this.childrenAttrs[i]);_ada=_ada.concat(vals);}var _adb=0;if(!this.deferItemLoadingUntilExpand){_acd.forEach(_ada,function(item){if(!_ad7.isItemLoaded(item)){_adb++;}});}if(_adb==0){_ad5(_ada);}else{_acd.forEach(_ada,function(item,idx){if(!_ad7.isItemLoaded(item)){_ad7.loadItem({item:item,onItem:function(item){_ada[idx]=item;if(--_adb==0){_ad5(_ada);}},onError:_ad6});}});}},isItem:function(_adc){return this.store.isItem(_adc);},fetchItemByIdentity:function(_add){this.store.fetchItemByIdentity(_add);},getIdentity:function(item){return this.store.getIdentity(item);},getLabel:function(item){if(this.labelAttr){return this.store.getValue(item,this.labelAttr);}else{return this.store.getLabel(item);}},newItem:function(args,_ade,_adf){var _ae0={parent:_ade,attribute:this.childrenAttrs[0]},_ae1;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_ade,true,_adf);}else{_ae1=this.store.newItem(args,_ae0);if(_ae1&&(_adf!=undefined)){this.pasteItem(_ae1,_ade,_ade,false,_adf);}}}});}else{_ae1=this.store.newItem(args,_ae0);if(_ae1&&(_adf!=undefined)){this.pasteItem(_ae1,_ade,_ade,false,_adf);}}},pasteItem:function(_ae2,_ae3,_ae4,_ae5,_ae6){var _ae7=this.store,_ae8=this.childrenAttrs[0];if(_ae3){_acd.forEach(this.childrenAttrs,function(attr){if(_ae7.containsValue(_ae3,attr,_ae2)){if(!_ae5){var _ae9=_acd.filter(_ae7.getValues(_ae3,attr),function(x){return x!=_ae2;});_ae7.setValues(_ae3,attr,_ae9);}_ae8=attr;}});}if(_ae4){if(typeof _ae6=="number"){var _aea=_ae7.getValues(_ae4,_ae8).slice();_aea.splice(_ae6,0,_ae2);_ae7.setValues(_ae4,_ae8,_aea);}else{_ae7.setValues(_ae4,_ae8,_ae7.getValues(_ae4,_ae8).concat(_ae2));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_aeb){if(!_aeb){return;}this.getChildren(_aeb.item,lang.hitch(this,function(_aec){this.onChildrenChange(_aeb.item,_aec);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_aed){if(_acd.indexOf(this.childrenAttrs,_aed)!=-1){this.getChildren(item,lang.hitch(this,function(_aee){this.onChildrenChange(item,_aee);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_aef,_af0,_af1,lang,_af2){return _af0("dijit.tree.ForestStoreModel",_af2,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_af3){this.root={store:this,root:true,id:_af3.rootId,label:_af3.rootLabel,children:_af3.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_af4,_af5,_af6){if(_af4===this.root){if(this.root.children){_af5(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_af7){this.root.children=_af7;_af5(_af7);}),onError:_af6});}}else{this.inherited(arguments);}},isItem:function(_af8){return (_af8===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_af9){if(_af9.identity==this.root.id){var _afa=_af9.scope||_af1.global;if(_af9.onItem){_af9.onItem.call(_afa,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_afb,_afc){if(_afb===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_afd,_afe,_aff,_b00,_b01){if(_afe===this.root){if(!_b00){this.onLeaveRoot(_afd);}}this.inherited(arguments,[_afd,_afe===this.root?null:_afe,_aff===this.root?null:_aff,_b00,_b01]);if(_aff===this.root){this.onAddToRoot(_afd);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _b02=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_b03){this.root.children=_b03;if(_b02.length!=_b03.length||_aef.some(_b02,function(item,idx){return _b03[idx]!=item;})){this.onChildrenChange(this.root,_b03);}})});},onNewItem:function(item,_b04){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_aef.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_b05,_b06,_b07){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define("dijit/tree/_dndSelector",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/cookie","dojo/mouse","dojo/on","dojo/touch","./_dndContainer"],function(_b08,_b09,_b0a,_b0b,_b0c,lang,_b0d,_b0e,on,_b0f,_b10){return _b0a("dijit.tree._dndSelector",_b10,{constructor:function(){this.selection={};this.anchor=null;if(!this.cookieName&&this.tree.id){this.cookieName=this.tree.id+"SaveSelectedCookie";}this.events.push(on(this.tree.domNode,_b0f.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_b0f.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_b0f.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _b11=[],sel=this.selection;for(var i in sel){_b11.push(sel[i]);}return _b11;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_b12){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_b12){this.anchor=node;}return node;},removeTreeNode:function(node){this.setSelection(this._setDifference(this.getSelectedTreeNodes(),[node]));return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_b13){var _b14=this.getSelectedTreeNodes();_b08.forEach(this._setDifference(_b14,_b13),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_b08.forEach(this._setDifference(_b13,_b14),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_b08.forEach(ys,function(y){y.__exclude__=true;});var ret=_b08.filter(xs,function(x){return !x.__exclude__;});_b08.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _b15=this.getSelectedTreeNodes();var _b16=[],_b17=[],_b18=[];_b08.forEach(_b15,function(node){var ary=node.getTreePath(),_b19=this.tree.model;_b17.push(node);_b16.push(ary);ary=_b08.map(ary,function(item){return _b19.getIdentity(item);},this);_b18.push(ary.join("/"));},this);var _b1a=_b08.map(_b17,function(node){return node.item;});this.tree._set("paths",_b16);this.tree._set("path",_b16[0]||[]);this.tree._set("selectedNodes",_b17);this.tree._set("selectedNode",_b17[0]||null);this.tree._set("selectedItems",_b1a);this.tree._set("selectedItem",_b1a[0]||null);if(this.tree.persist&&_b18.length>0){_b0d(this.cookieName,_b18.join(","),{expires:365});}},_getSavedPaths:function(){var tree=this.tree;if(tree.persist&&tree.dndController.cookieName){var oreo,_b1b=[];oreo=_b0d(tree.dndController.cookieName);if(oreo){_b1b=_b08.map(oreo.split(","),function(path){return path.split("/");});}return _b1b;}},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(_b0e.isLeft(e)){e.preventDefault();}else{if(e.type!="touchstart"){return;}}var _b1c=this.current,copy=_b09.isCopyKey(e),id=_b1c.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_b1c,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_b09.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_b1d,_b1e){if(this.singular){if(this.anchor==node&&_b1d){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_b1e&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_b1f,end,_b20=this.anchor;if(cr<0){_b1f=_b20;end=node;}else{_b1f=node;end=_b20;}var _b21=[];while(_b1f!=end){_b21.push(_b1f);_b1f=this.tree._getNextNode(_b1f);}_b21.push(end);this.setSelection(_b21);}else{if(this.selection[node.id]&&_b1d){this.removeTreeNode(node);}else{if(_b1d){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _b22=this.selection[key];return {data:_b22,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_b0c.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define("dijit/tree/_dndContainer",["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/on","dojo/touch"],function(_b23,_b24,_b25,_b26,lang,on,_b27){return _b24("dijit.tree._dndContainer",null,{constructor:function(tree,_b28){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_b28);this.current=null;this.containerState="";_b25.add(this.node,"dojoDndContainer");this.events=[on(this.node,_b27.enter,lang.hitch(this,"onOverEvent")),on(this.node,_b27.leave,lang.hitch(this,"onOutEvent")),_b23.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_b23.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_b26,"stop")),on(this.node,"selectstart",lang.hitch(_b26,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_b29){this.current=_b29;},onMouseOut:function(){this.current=null;},_changeState:function(type,_b2a){var _b2b="dojoDnd"+type;var _b2c=type.toLowerCase()+"State";_b25.replace(this.node,_b2b+_b2a,_b2b+this[_b2c]);this[_b2c]=_b2a;},_addItemClass:function(node,type){_b25.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_b25.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/tree/dndSource":function(){define("dijit/tree/dndSource",["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_b2d,_b2e,_b2f,_b30,_b31,lang,on,_b32,_b33,_b34,_b35){var _b36=_b2f("dijit.tree.dndSource",_b35,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_b37){if(!_b37){_b37={};}lang.mixin(this,_b37);var type=_b37.accept instanceof Array?_b37.accept:["text","treeNode"];this.accept=null;if(type.length){this.accept={};for(var i=0;i<type.length;++i){this.accept[type[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.dropPosition="";this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_b30.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_b30.add(this.node,"dojoDndTarget");}this.topics=[_b33.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_b33.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_b33.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_b33.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_b38){return this.copyOnly||_b38;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_b39){var m=_b34.manager(),_b3a=this.targetAnchor,_b3b=this.current,_b3c=this.dropPosition;var _b3d="Over";if(_b3b&&this.betweenThreshold>0){if(!this.targetBox||_b3a!=_b3b){this.targetBox=_b31.position(_b3b.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_b3d="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_b3d="After";}}}if(_b39||_b3b!=_b3a||_b3d!=_b3c){if(_b3a){this._removeItemClass(_b3a.rowNode,_b3c);}if(_b3b){this._addItemClass(_b3b.rowNode,_b3d);}if(!_b3b){m.canDrop(false);}else{if(_b3b==this.tree.rootNode&&_b3d!="Over"){m.canDrop(false);}else{var _b3e=false;if(m.source==this){for(var _b3f in this.selection){var _b40=this.selection[_b3f];if(_b40.item===_b3b.item){_b3e=true;break;}}}if(_b3e){m.canDrop(false);}else{if(this.checkItemAcceptance(_b3b.rowNode,m.source,_b3d.toLowerCase())&&!this._isParentChildDrop(m.source,_b3b.rowNode)){m.canDrop(true);}else{m.canDrop(false);}}}}this.targetAnchor=_b3b;this.dropPosition=_b3d;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_b34.manager();if(this.isDragging){this._onDragMouse(e);}else{if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>=this.dragThreshold||Math.abs(e.pageY-this._lastY)>=this.dragThreshold)){var _b41=this.getSelectedTreeNodes();if(_b41.length){if(_b41.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_b41[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_b41=r;}_b41=_b2d.map(_b41,function(n){return n.domNode;});m.startDrag(this,_b41,this.copyState(_b2e.isCopyKey(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){this.mouseDown=true;this.mouseButton=e.button;this._lastX=e.pageX;this._lastY=e.pageY;this.inherited(arguments);},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;this.inherited(arguments);}},onMouseOut:function(){this.inherited(arguments);this._unmarkTargetAnchor();},checkItemAcceptance:function(){return true;},onDndSourceOver:function(_b42){if(this!=_b42){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_b34.manager();m.canDrop(false);}}},onDndStart:function(_b43,_b44,copy){if(this.isSource){this._changeState("Source",this==_b43?(copy?"Copied":"Moved"):"");}var _b45=this.checkAcceptance(_b43,_b44);this._changeState("Target",_b45?"":"Disabled");if(this==_b43){_b34.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_b46){return _b2d.map(_b46,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_b47,_b48,copy){if(this.containerState=="Over"){var tree=this.tree,_b49=tree.model,_b4a=this.targetAnchor;this.isDragging=false;var _b4b;var _b4c;var _b4d;_b4b=(_b4a&&_b4a.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_b4b=(_b4a.getParent()&&_b4a.getParent().item)||tree.item;_b4c=_b4a.getIndexInParent();if(this.dropPosition=="After"){_b4c=_b4a.getIndexInParent()+1;_b4d=_b4a.getNextSibling()&&_b4a.getNextSibling().item;}else{_b4d=_b4a.item;}}else{_b4b=(_b4a&&_b4a.item)||tree.item;}var _b4e;_b2d.forEach(_b48,function(node,idx){var _b4f=_b47.getItem(node.id);if(_b2d.indexOf(_b4f.type,"treeNode")!=-1){var _b50=_b4f.data,_b51=_b50.item,_b52=_b50.getParent().item;}if(_b47==this){if(typeof _b4c=="number"){if(_b4b==_b52&&_b50.getIndexInParent()<_b4c){_b4c-=1;}}_b49.pasteItem(_b51,_b52,_b4b,copy,_b4c,_b4d);}else{if(_b49.isItem(_b51)){_b49.pasteItem(_b51,_b52,_b4b,copy,_b4c,_b4d);}else{if(!_b4e){_b4e=this.itemCreator(_b48,_b4a.rowNode,_b47);}_b49.newItem(_b4e[idx],_b4b,_b4c,_b4d);}}},this);this.tree._expandNode(_b4a);}this.onDndCancel();},onDndCancel:function(){this._unmarkTargetAnchor();this.isDragging=false;this.mouseDown=false;delete this.mouseButton;this._changeState("Source","");this._changeState("Target","");},onOverEvent:function(){this.inherited(arguments);_b34.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_b34.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_b53,_b54){if(!_b53.tree||_b53.tree!=this.tree){return false;}var root=_b53.tree.domNode;var ids=_b53.selection;var node=_b54.parentNode;while(node!=root&&!ids[node.id]){node=node.parentNode;}return node.id&&ids[node.id];},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor.rowNode,this.dropPosition);this.targetAnchor=null;this.targetBox=null;this.dropPosition=null;},_markDndStatus:function(copy){this._changeState("Source",copy?"Copied":"Moved");}});return _b36;});},"dojo/dnd/Manager":function(){define("dojo/dnd/Manager",["../_base/array","../_base/declare","../_base/event","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_b55,_b56,_b57,lang,win,_b58,_b59,has,keys,on,_b5a,_b5b,dnd,_b5c,_b5d){var _b5e=_b56("dojo.dnd.Manager",[_b59],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:has("touch")?0:16,OFFSET_Y:has("touch")?-64:16,overSource:function(_b5f){if(this.avatar){this.target=(_b5f&&_b5f.targetState!="Disabled")?_b5f:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_b5a.publish("/dnd/source/over",_b5f);},outSource:function(_b60){if(this.avatar){if(this.target==_b60){this.target=null;this.canDropFlag=false;this.avatar.update();_b5a.publish("/dnd/source/over",null);}}else{_b5a.publish("/dnd/source/over",null);}},startDrag:function(_b61,_b62,copy){_b5c.autoScrollStart(win.doc);this.source=_b61;this.nodes=_b62;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_b5a.publish("/dnd/start",_b61,_b62,this.copy);this.events=[on(win.doc,_b5b.move,lang.hitch(this,"onMouseMove")),on(win.doc,_b5b.release,lang.hitch(this,"onMouseUp")),on(win.doc,"keydown",lang.hitch(this,"onKeyDown")),on(win.doc,"keyup",lang.hitch(this,"onKeyUp")),on(win.doc,"dragstart",_b57.stop),on(win.body(),"selectstart",_b57.stop)];var c="dojoDnd"+(copy?"Copy":"Move");_b58.add(win.body(),c);},canDrop:function(flag){var _b63=Boolean(this.target&&flag);if(this.canDropFlag!=_b63){this.canDropFlag=_b63;this.avatar.update();}},stopDrag:function(){_b58.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_b55.forEach(this.events,function(_b64){_b64.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _b5d(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_b5c.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));if(this.copy!=copy){this._setCopyStatus(copy);}}if(has("touch")){e.preventDefault();}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var copy=Boolean(this.source.copyState(dnd.getCopyKeyState(e)));_b5a.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_b5a.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_b5a.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case keys.CTRL:var copy=Boolean(this.source.copyState(true));if(this.copy!=copy){this._setCopyStatus(copy);}break;case keys.ESCAPE:_b5a.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==keys.CTRL){var copy=Boolean(this.source.copyState(false));if(this.copy!=copy){this._setCopyStatus(copy);}}},_setCopyStatus:function(copy){this.copy=copy;this.source._markDndStatus(this.copy);this.updateAvatar();_b58.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_b5e.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _b5e();}return dnd._manager;};return _b5e;});},"dojo/dnd/Avatar":function(){define("dojo/dnd/Avatar",["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_b65,win,dom,_b66,_b67,_b68,has,_b69){return _b65("dojo.dnd.Avatar",null,{constructor:function(_b6a){this.manager=_b6a;this.construct();},construct:function(){var a=_b68.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_b6b=this.manager.source,node,b=_b68.create("tbody",null,a),tr=_b68.create("tr",null,b),td=_b68.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_b68.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_b68.create("span",{innerHTML:_b6b.generateText?this._generateText():""},td);_b66.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_b6b.creator){node=_b6b._normalizedCreator(_b6b.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _b6c=_b68.create("table"),_b6d=_b68.create("tbody",null,_b6c);_b6d.appendChild(node);node=_b6c;}}node.id="";tr=_b68.create("tr",null,b);td=_b68.create("td",null,tr);td.appendChild(node);_b66.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_b68.destroy(this.node);this.node=false;},update:function(){_b67.toggle(this.node,"dojoDndAvatarCanDrop",this.manager.canDropFlag);if(has("highcontrast")){var icon=dom.byId("a11yIcon");var text="+";if(this.manager.canDropFlag&&!this.manager.copy){text="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){text="o";}else{if(!this.manager.canDropFlag){text="x";}}}icon.innerHTML=text;}_b69(("tr.dojoDndAvatarHeader td span"+(has("highcontrast")?" span":"")),this.node).forEach(function(node){node.innerHTML=this.manager.source.generateText?this._generateText():"";},this);},_generateText:function(){return this.manager.nodes.length.toString();}});});},"*now":function(r){r(["dojo/i18n!*preload*dojo/nls/tt-rss-layer*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("dojo/tt-rss-layer",[],1);