6887a0f573
The itemNode and expandoNode elements have changed from img to span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our tree icons inside them rather than replacing them. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 baris
No EOL
437 KiB
JavaScript
8 baris
No EOL
437 KiB
JavaScript
/*
|
||
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
|
||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
see: http://dojotoolkit.org/license for details
|
||
*/
|
||
|
||
//>>built
|
||
require({cache:{"dojo/_base/url":function(){define(["./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(["./_base/kernel","./text"],function(_b){return _b.cache;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_c,_d,_e,_f){var _10;if(1){_10=function(url,_11,_12){_f(url,{sync:!!_11,headers:{"X-Requested-With":null}}).then(_12);};}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(_1f.cache&&_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/request":function(){define(["./request/default!"],function(_2a){return _2a;});},"dojo/request/default":function(){define(["exports","require","../has"],function(_2b,_2c,has){var _2d=has("config-requestProvider"),_2e;if(1||has("host-webworker")){_2e="./xhr";}else{if(0){_2e="./node";}}if(!_2d){_2d=_2e;}_2b.getPlatformDefaultId=function(){return _2e;};_2b.load=function(id,_2f,_30,_31){_2c([id=="platform"?_2e:_2d],function(_32){_30(_32);});};});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_33,_34,_35,_36,_37,dom,_38,_39,_3a,all,_3b,_3c,has,_3d,don,_3e){new Date("X");function _3f(_40){return eval("("+_40+")");};var _41=0;_3a.after(_35,"extend",function(){_41++;},true);function _42(_43){var map=_43._nameCaseMap,_44=_43.prototype;if(!map||map._extendCnt<_41){map=_43._nameCaseMap={};for(var _45 in _44){if(_45.charAt(0)==="_"){continue;}map[_45.toLowerCase()]=_45;}map._extendCnt=_41;}return map;};function _46(_47,_48){if(!_48){_48=_33;}var _49=_48._dojoParserCtorMap||(_48._dojoParserCtorMap={});var ts=_47.join();if(!_49[ts]){var _4a=[];for(var i=0,l=_47.length;i<l;i++){var t=_47[i];_4a[_4a.length]=(_49[t]=_49[t]||(_35.getObject(t)||(~t.indexOf("/")&&_48(t))));}var _4b=_4a.shift();_49[ts]=_4a.length?(_4b.createSubclass?_4b.createSubclass(_4a):_4b.extend.apply(_4b,_4a)):_4b;}return _49[ts];};var _4c={_clearCache:function(){_41++;_ctorMap={};},_functionFromScript:function(_4d,_4e){var _4f="",_50="",_51=(_4d.getAttribute(_4e+"args")||_4d.getAttribute("args")),_52=_4d.getAttribute("with");var _53=(_51||"").split(/\s*,\s*/);if(_52&&_52.length){_36.forEach(_52.split(/\s*,\s*/),function(_54){_4f+="with("+_54+"){";_50+="}";});}return new Function(_53,_4f+_4d.innerHTML+_50);},instantiate:function(_55,_56,_57){_56=_56||{};_57=_57||{};var _58=(_57.scope||_34._scopeName)+"Type",_59="data-"+(_57.scope||_34._scopeName)+"-",_5a=_59+"type",_5b=_59+"mixins";var _5c=[];_36.forEach(_55,function(_5d){var _5e=_58 in _56?_56[_58]:_5d.getAttribute(_5a)||_5d.getAttribute(_58);if(_5e){var _5f=_5d.getAttribute(_5b),_60=_5f?[_5e].concat(_5f.split(/\s*,\s*/)):[_5e];_5c.push({node:_5d,types:_60});}});return this._instantiate(_5c,_56,_57);},_instantiate:function(_61,_62,_63,_64){var _65=_36.map(_61,function(obj){var _66=obj.ctor||_46(obj.types,_63.contextRequire);if(!_66){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_66,obj.node,_62,_63,obj.scripts,obj.inherited);},this);function _67(_68){if(!_62._started&&!_63.noStart){_36.forEach(_68,function(_69){if(typeof _69.startup==="function"&&!_69._started){_69.startup();}});}return _68;};if(_64){return all(_65).then(_67);}else{return _67(_65);}},construct:function(_6a,_6b,_6c,_6d,_6e,_6f){var _70=_6a&&_6a.prototype;_6d=_6d||{};var _71={};if(_6d.defaults){_35.mixin(_71,_6d.defaults);}if(_6f){_35.mixin(_71,_6f);}var _72;if(has("dom-attributes-explicit")){_72=_6b.attributes;}else{if(has("dom-attributes-specified-flag")){_72=_36.filter(_6b.attributes,function(a){return a.specified;});}else{var _73=/^input$|^img$/i.test(_6b.nodeName)?_6b:_6b.cloneNode(false),_74=_73.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_72=_36.map(_74.split(/\s+/),function(_75){var _76=_75.toLowerCase();return {name:_75,value:(_6b.nodeName=="LI"&&_75=="value")||_76=="enctype"?_6b.getAttribute(_76):_6b.getAttributeNode(_76).value};});}}var _77=_6d.scope||_34._scopeName,_78="data-"+_77+"-",_79={};if(_77!=="dojo"){_79[_78+"props"]="data-dojo-props";_79[_78+"type"]="data-dojo-type";_79[_78+"mixins"]="data-dojo-mixins";_79[_77+"type"]="dojotype";_79[_78+"id"]="data-dojo-id";}var i=0,_7a,_7b=[],_7c,_7d;while(_7a=_72[i++]){var _7e=_7a.name,_7f=_7e.toLowerCase(),_80=_7a.value;switch(_79[_7f]||_7f){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_7d=_80;break;case "data-dojo-id":case "jsid":_7c=_80;break;case "data-dojo-attach-point":case "dojoattachpoint":_71.dojoAttachPoint=_80;break;case "data-dojo-attach-event":case "dojoattachevent":_71.dojoAttachEvent=_80;break;case "class":_71["class"]=_6b.className;break;case "style":_71["style"]=_6b.style&&_6b.style.cssText;break;default:if(!(_7e in _70)){var map=_42(_6a);_7e=map[_7f]||_7e;}if(_7e in _70){switch(typeof _70[_7e]){case "string":_71[_7e]=_80;break;case "number":_71[_7e]=_80.length?Number(_80):NaN;break;case "boolean":_71[_7e]=_80.toLowerCase()!="false";break;case "function":if(_80===""||_80.search(/[^\w\.]+/i)!=-1){_71[_7e]=new Function(_80);}else{_71[_7e]=_35.getObject(_80,false)||new Function(_80);}_7b.push(_7e);break;default:var _81=_70[_7e];_71[_7e]=(_81&&"length" in _81)?(_80?_80.split(/\s*,\s*/):[]):(_81 instanceof Date)?(_80==""?new Date(""):_80=="now"?new Date():_3b.fromISOString(_80)):(_81 instanceof _39)?(_34.baseUrl+_80):_3f(_80);}}else{_71[_7e]=_80;}}}for(var j=0;j<_7b.length;j++){var _82=_7b[j].toLowerCase();_6b.removeAttribute(_82);_6b[_82]=null;}if(_7d){try{_7d=_3f.call(_6d.propsThis,"{"+_7d+"}");_35.mixin(_71,_7d);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_7d+"'");}}_35.mixin(_71,_6c);if(!_6e){_6e=(_6a&&(_6a._noScript||_70._noScript)?[]:_3d("> script[type^='dojo/']",_6b));}var _83=[],_84=[],_85=[],ons=[];if(_6e){for(i=0;i<_6e.length;i++){var _86=_6e[i];_6b.removeChild(_86);var _87=(_86.getAttribute(_78+"event")||_86.getAttribute("event")),_88=_86.getAttribute(_78+"prop"),_89=_86.getAttribute(_78+"method"),_8a=_86.getAttribute(_78+"advice"),_8b=_86.getAttribute("type"),nf=this._functionFromScript(_86,_78);if(_87){if(_8b=="dojo/connect"){_83.push({method:_87,func:nf});}else{if(_8b=="dojo/on"){ons.push({event:_87,func:nf});}else{_71[_87]=nf;}}}else{if(_8b=="dojo/aspect"){_83.push({method:_89,advice:_8a,func:nf});}else{if(_8b=="dojo/watch"){_85.push({prop:_88,func:nf});}else{_84.push(nf);}}}}}var _8c=_6a.markupFactory||_70.markupFactory;var _8d=_8c?_8c(_71,_6b,_6a):new _6a(_71,_6b);function _8e(_8f){if(_7c){_35.setObject(_7c,_8f);}for(i=0;i<_83.length;i++){_3a[_83[i].advice||"after"](_8f,_83[i].method,_35.hitch(_8f,_83[i].func),true);}for(i=0;i<_84.length;i++){_84[i].call(_8f);}for(i=0;i<_85.length;i++){_8f.watch(_85[i].prop,_85[i].func);}for(i=0;i<ons.length;i++){don(_8f,ons[i].event,ons[i].func);}return _8f;};if(_8d.then){return _8d.then(_8e);}else{return _8e(_8d);}},scan:function(_90,_91){var _92=[],_93=[],_94={};var _95=(_91.scope||_34._scopeName)+"Type",_96="data-"+(_91.scope||_34._scopeName)+"-",_97=_96+"type",_98=_96+"textdir",_99=_96+"mixins";var _9a=_90.firstChild;var _9b=_91.inherited;if(!_9b){function _9c(_9d,_9e){return (_9d.getAttribute&&_9d.getAttribute(_9e))||(_9d.parentNode&&_9c(_9d.parentNode,_9e));};_9b={dir:_9c(_90,"dir"),lang:_9c(_90,"lang"),textDir:_9c(_90,_98)};for(var key in _9b){if(!_9b[key]){delete _9b[key];}}}var _9f={inherited:_9b};var _a0;var _a1;function _a2(_a3){if(!_a3.inherited){_a3.inherited={};var _a4=_a3.node,_a5=_a2(_a3.parent);var _a6={dir:_a4.getAttribute("dir")||_a5.dir,lang:_a4.getAttribute("lang")||_a5.lang,textDir:_a4.getAttribute(_98)||_a5.textDir};for(var key in _a6){if(_a6[key]){_a3.inherited[key]=_a6[key];}}}return _a3.inherited;};while(true){if(!_9a){if(!_9f||!_9f.node){break;}_9a=_9f.node.nextSibling;_a1=false;_9f=_9f.parent;_a0=_9f.scripts;continue;}if(_9a.nodeType!=1){_9a=_9a.nextSibling;continue;}if(_a0&&_9a.nodeName.toLowerCase()=="script"){_a7=_9a.getAttribute("type");if(_a7&&/^dojo\/\w/i.test(_a7)){_a0.push(_9a);}_9a=_9a.nextSibling;continue;}if(_a1){_9a=_9a.nextSibling;continue;}var _a7=_9a.getAttribute(_97)||_9a.getAttribute(_95);var _a8=_9a.firstChild;if(!_a7&&(!_a8||(_a8.nodeType==3&&!_a8.nextSibling))){_9a=_9a.nextSibling;continue;}var _a9;var _aa=null;if(_a7){var _ab=_9a.getAttribute(_99),_ac=_ab?[_a7].concat(_ab.split(/\s*,\s*/)):[_a7];try{_aa=_46(_ac,_91.contextRequire);}catch(e){}if(!_aa){_36.forEach(_ac,function(t){if(~t.indexOf("/")&&!_94[t]){_94[t]=true;_93[_93.length]=t;}});}var _ad=_aa&&!_aa.prototype._noScript?[]:null;_a9={types:_ac,ctor:_aa,parent:_9f,node:_9a,scripts:_ad};_a9.inherited=_a2(_a9);_92.push(_a9);}else{_a9={node:_9a,scripts:_a0,parent:_9f};}_a0=_ad;_a1=_9a.stopParser||(_aa&&_aa.prototype.stopParser&&!(_91.template));_9f=_a9;_9a=_a8;}var d=new _3c();if(_93.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_93.join(", "));}var r=_91.contextRequire||_33;r(_93,function(){d.resolve(_36.filter(_92,function(_ae){if(!_ae.ctor){try{_ae.ctor=_46(_ae.types,_91.contextRequire);}catch(e){}}var _af=_ae.parent;while(_af&&!_af.types){_af=_af.parent;}var _b0=_ae.ctor&&_ae.ctor.prototype;_ae.instantiateChildren=!(_b0&&_b0.stopParser&&!(_91.template));_ae.instantiate=!_af||(_af.instantiate&&_af.instantiateChildren);return _ae.instantiate;}));});}else{d.resolve(_92);}return d.promise;},_require:function(_b1,_b2){var _b3=_3f("{"+_b1.innerHTML+"}"),_b4=[],_b5=[],d=new _3c();var _b6=(_b2&&_b2.contextRequire)||_33;for(var _b7 in _b3){_b4.push(_b7);_b5.push(_b3[_b7]);}_b6(_b5,function(){for(var i=0;i<_b4.length;i++){_35.setObject(_b4[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function(_b8,_b9){var _ba=new _3c(),_bb=_ba.promise;_ba.resolve(true);var _bc=this;_3d("script[type='dojo/require']",_b8).forEach(function(_bd){_bb=_bb.then(function(){return _bc._require(_bd,_b9);});_bd.parentNode.removeChild(_bd);});return _bb;},parse:function(_be,_bf){if(_be&&typeof _be!="string"&&!("nodeType" in _be)){_bf=_be;_be=_bf.rootNode;}var _c0=_be?dom.byId(_be):_38.body();_bf=_bf||{};var _c1=_bf.template?{template:true}:{},_c2=[],_c3=this;var p=this._scanAmd(_c0,_bf).then(function(){return _c3.scan(_c0,_bf);}).then(function(_c4){return _c3._instantiate(_c4,_c1,_bf,true);}).then(function(_c5){return _c2=_c2.concat(_c5);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_35.mixin(_c2,p);return _c2;}};if(1){_34.parser=_4c;}if(_37.parseOnLoad){_3e(100,_4c,"parse");}return _4c;});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_c6,_c7,_c8){"use strict";var _c9=_c6.some;return function all(_ca){var _cb,_c6;if(_ca instanceof Array){_c6=_ca;}else{if(_ca&&typeof _ca==="object"){_cb=_ca;}}var _cc;var _cd=[];if(_cb){_c6=[];for(var key in _cb){if(Object.hasOwnProperty.call(_cb,key)){_cd.push(key);_c6.push(_cb[key]);}}_cc={};}else{if(_c6){_cc=[];}}if(!_c6||!_c6.length){return new _c7().resolve(_cc);}var _ce=new _c7();_ce.promise.always(function(){_cc=_cd=null;});var _cf=_c6.length;_c9(_c6,function(_d0,_d1){if(!_cb){_cd.push(_d1);}_c8(_d0,function(_d2){if(!_ce.isFulfilled()){_cc[_cd[_d1]]=_d2;if(--_cf===0){_ce.resolve(_cc);}}},_ce.reject);return _ce.isFulfilled();});return _ce.promise;};});},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_d3,_d4){var _d5={};_d3.setObject("dojo.date.stamp",_d5);_d5.fromISOString=function(_d6,_d7){if(!_d5._isoRegExp){_d5._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _d8=_d5._isoRegExp.exec(_d6),_d9=null;if(_d8){_d8.shift();if(_d8[1]){_d8[1]--;}if(_d8[6]){_d8[6]*=1000;}if(_d7){_d7=new Date(_d7);_d4.forEach(_d4.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_da){return _d7["get"+_da]();}),function(_db,_dc){_d8[_dc]=_d8[_dc]||_db;});}_d9=new Date(_d8[0]||1970,_d8[1]||0,_d8[2]||1,_d8[3]||0,_d8[4]||0,_d8[5]||0,_d8[6]||0);if(_d8[0]<100){_d9.setFullYear(_d8[0]||1970);}var _dd=0,_de=_d8[7]&&_d8[7].charAt(0);if(_de!="Z"){_dd=((_d8[8]||0)*60)+(Number(_d8[9])||0);if(_de!="-"){_dd*=-1;}}if(_de){_dd-=_d9.getTimezoneOffset();}if(_dd){_d9.setTime(_d9.getTime()+_dd*60000);}}return _d9;};_d5.toISOString=function(_df,_e0){var _e1=function(n){return (n<10)?"0"+n:n;};_e0=_e0||{};var _e2=[],_e3=_e0.zulu?"getUTC":"get",_e4="";if(_e0.selector!="time"){var _e5=_df[_e3+"FullYear"]();_e4=["0000".substr((_e5+"").length)+_e5,_e1(_df[_e3+"Month"]()+1),_e1(_df[_e3+"Date"]())].join("-");}_e2.push(_e4);if(_e0.selector!="date"){var _e6=[_e1(_df[_e3+"Hours"]()),_e1(_df[_e3+"Minutes"]()),_e1(_df[_e3+"Seconds"]())].join(":");var _e7=_df[_e3+"Milliseconds"]();if(_e0.milliseconds){_e6+="."+(_e7<100?"0":"")+_e1(_e7);}if(_e0.zulu){_e6+="Z";}else{if(_e0.selector!="time"){var _e8=_df.getTimezoneOffset();var _e9=Math.abs(_e8);_e6+=(_e8>0?"-":"+")+_e1(Math.floor(_e9/60))+":"+_e1(_e9%60);}}_e2.push(_e6);}return _e2.join("T");};return _d5;});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(_ea,_eb,_ec,_ed,_ee,_ef,_f0){return _eb("dojo.data.ItemFileWriteStore",_ef,{constructor:function(_f1){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 _f0.toISOString(obj,{zulu:true});};}if(_f1&&(_f1.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_f2){if(!_f2){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_f3,_f4){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _f3!="object"&&typeof _f3!="undefined"){throw new Error("newItem() was passed something other than an object");}var _f5=null;var _f6=this._getIdentifierAttribute();if(_f6===Number){_f5=this._arrayOfAllItems.length;}else{_f5=_f3[_f6];if(typeof _f5==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_ea.isArray(_f5)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_f5]==="undefined");}this._assert(typeof this._pending._newItems[_f5]==="undefined");this._assert(typeof this._pending._deletedItems[_f5]==="undefined");var _f7={};_f7[this._storeRefPropName]=this;_f7[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_f5]=_f7;_f7[_f6]=[_f5];}this._arrayOfAllItems.push(_f7);var _f8=null;if(_f4&&_f4.parent&&_f4.attribute){_f8={item:_f4.parent,attribute:_f4.attribute,oldValue:undefined};var _f9=this.getValues(_f4.parent,_f4.attribute);if(_f9&&_f9.length>0){var _fa=_f9.slice(0,_f9.length);if(_f9.length===1){_f8.oldValue=_f9[0];}else{_f8.oldValue=_f9.slice(0,_f9.length);}_fa.push(_f7);this._setValueOrValues(_f4.parent,_f4.attribute,_fa,false);_f8.newValue=this.getValues(_f4.parent,_f4.attribute);}else{this._setValueOrValues(_f4.parent,_f4.attribute,_f7,false);_f8.newValue=_f7;}}else{_f7[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_f7);}this._pending._newItems[_f5]=_f7;for(var key in _f3){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _fb=_f3[key];if(!_ea.isArray(_fb)){_fb=[_fb];}_f7[key]=_fb;if(this.referenceIntegrity){for(var i=0;i<_fb.length;i++){var val=_fb[i];if(this.isItem(val)){this._addReferenceToMap(val,_f7,key);}}}}this.onNew(_f7,_f8);return _f7;},_removeArrayElement:function(_fc,_fd){var _fe=_ec.indexOf(_fc,_fd);if(_fe!=-1){_fc.splice(_fe,1);return true;}return false;},deleteItem:function(_ff){this._assert(!this._saveInProgress);this._assertIsItem(_ff);var _100=_ff[this._itemNumPropName];var _101=this.getIdentity(_ff);if(this.referenceIntegrity){var _102=this.getAttributes(_ff);if(_ff[this._reverseRefMap]){_ff["backup_"+this._reverseRefMap]=_ea.clone(_ff[this._reverseRefMap]);}_ec.forEach(_102,function(_103){_ec.forEach(this.getValues(_ff,_103),function(_104){if(this.isItem(_104)){if(!_ff["backupRefs_"+this._reverseRefMap]){_ff["backupRefs_"+this._reverseRefMap]=[];}_ff["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_104),attr:_103});this._removeReferenceFromMap(_104,_ff,_103);}},this);},this);var _105=_ff[this._reverseRefMap];if(_105){for(var _106 in _105){var _107=null;if(this._itemsByIdentity){_107=this._itemsByIdentity[_106];}else{_107=this._arrayOfAllItems[_106];}if(_107){for(var _108 in _105[_106]){var _109=this.getValues(_107,_108)||[];var _10a=_ec.filter(_109,function(_10b){return !(this.isItem(_10b)&&this.getIdentity(_10b)==_101);},this);this._removeReferenceFromMap(_ff,_107,_108);if(_10a.length<_109.length){this._setValueOrValues(_107,_108,_10a,true);}}}}}}this._arrayOfAllItems[_100]=null;_ff[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_101];}this._pending._deletedItems[_101]=_ff;if(_ff[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_ff);}this.onDelete(_ff);return true;},setValue:function(item,_10c,_10d){return this._setValueOrValues(item,_10c,_10d,true);},setValues:function(item,_10e,_10f){return this._setValueOrValues(item,_10e,_10f,true);},unsetAttribute:function(item,_110){return this._setValueOrValues(item,_110,[],true);},_setValueOrValues:function(item,_111,_112,_113){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(_ea.isString(_111));this._assert(typeof _112!=="undefined");var _114=this._getIdentifierAttribute();if(_111==_114){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _115=this._getValueOrValues(item,_111);var _116=this.getIdentity(item);if(!this._pending._modifiedItems[_116]){var _117={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_117[key]=item[key];}else{if(key===this._reverseRefMap){_117[key]=_ea.clone(item[key]);}else{_117[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_116]=_117;}var _118=false;if(_ea.isArray(_112)&&_112.length===0){_118=delete item[_111];_112=undefined;if(this.referenceIntegrity&&_115){var _119=_115;if(!_ea.isArray(_119)){_119=[_119];}for(var i=0;i<_119.length;i++){var _11a=_119[i];if(this.isItem(_11a)){this._removeReferenceFromMap(_11a,item,_111);}}}}else{var _11b;if(_ea.isArray(_112)){_11b=_112.slice(0,_112.length);}else{_11b=[_112];}if(this.referenceIntegrity){if(_115){var _119=_115;if(!_ea.isArray(_119)){_119=[_119];}var map={};_ec.forEach(_119,function(_11c){if(this.isItem(_11c)){var id=this.getIdentity(_11c);map[id.toString()]=true;}},this);_ec.forEach(_11b,function(_11d){if(this.isItem(_11d)){var id=this.getIdentity(_11d);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_11d,item,_111);}}},this);for(var rId in map){var _11e;if(this._itemsByIdentity){_11e=this._itemsByIdentity[rId];}else{_11e=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_11e,item,_111);}}else{for(var i=0;i<_11b.length;i++){var _11a=_11b[i];if(this.isItem(_11a)){this._addReferenceToMap(_11a,item,_111);}}}}item[_111]=_11b;_118=true;}if(_113){this.onSet(item,_111,_115,_112);}return _118;},_addReferenceToMap:function(_11f,_120,_121){var _122=this.getIdentity(_120);var _123=_11f[this._reverseRefMap];if(!_123){_123=_11f[this._reverseRefMap]={};}var _124=_123[_122];if(!_124){_124=_123[_122]={};}_124[_121]=true;},_removeReferenceFromMap:function(_125,_126,_127){var _128=this.getIdentity(_126);var _129=_125[this._reverseRefMap];var _12a;if(_129){for(_12a in _129){if(_12a==_128){delete _129[_12a][_127];if(this._isEmpty(_129[_12a])){delete _129[_12a];}}}if(this._isEmpty(_129)){delete _125[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,_12b){var _12c=undefined;if(this.hasAttribute(item,_12b)){var _12d=this.getValues(item,_12b);if(_12d.length==1){_12c=_12d[0];}else{_12c=_12d;}}return _12c;},_flatten:function(_12e){if(this.isItem(_12e)){return {_reference:this.getIdentity(_12e)};}else{if(typeof _12e==="object"){for(var type in this._datatypeMap){var _12f=this._datatypeMap[type];if(_ea.isObject(_12f)&&!_ea.isFunction(_12f)){if(_12e instanceof _12f.type){if(!_12f.serialize){throw new Error("ItemFileWriteStore: No serializer defined for type mapping: ["+type+"]");}return {_type:type,_value:_12f.serialize(_12e)};}}else{if(_12e instanceof _12f){return {_type:type,_value:_12e.toString()};}}}}return _12e;}},_getNewFileContentString:function(){var _130={};var _131=this._getIdentifierAttribute();if(_131!==Number){_130.identifier=_131;}if(this._labelAttr){_130.label=this._labelAttr;}_130.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var item=this._arrayOfAllItems[i];if(item!==null){var _132={};for(var key in item){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _133=this.getValues(item,key);if(_133.length==1){_132[key]=this._flatten(_133[0]);}else{var _134=[];for(var j=0;j<_133.length;++j){_134.push(this._flatten(_133[j]));_132[key]=_134;}}}}_130.items.push(_132);}}var _135=true;return _ed.toJson(_130,_135);},_isEmpty:function(_136){var _137=true;if(_ea.isObject(_136)){var i;for(i in _136){_137=false;break;}}else{if(_ea.isArray(_136)){if(_136.length>0){_137=false;}}}return _137;},save:function(_138){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _139=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_138&&_138.onComplete){var _13a=_138.scope||_ee.global;_138.onComplete.call(_13a);}};var _13b=function(err){self._saveInProgress=false;if(_138&&_138.onError){var _13c=_138.scope||_ee.global;_138.onError.call(_13c,err);}};if(this._saveEverything){var _13d=this._getNewFileContentString();this._saveEverything(_139,_13b,_13d);}if(this._saveCustom){this._saveCustom(_139,_13b);}if(!this._saveEverything&&!this._saveCustom){_139();}},revert:function(){this._assert(!this._saveInProgress);var _13e;for(_13e in this._pending._modifiedItems){var _13f=this._pending._modifiedItems[_13e];var _140=null;if(this._itemsByIdentity){_140=this._itemsByIdentity[_13e];}else{_140=this._arrayOfAllItems[_13e];}_13f[this._storeRefPropName]=this;for(var key in _140){delete _140[key];}_ea.mixin(_140,_13f);}var _141;for(_13e in this._pending._deletedItems){_141=this._pending._deletedItems[_13e];_141[this._storeRefPropName]=this;var _142=_141[this._itemNumPropName];if(_141["backup_"+this._reverseRefMap]){_141[this._reverseRefMap]=_141["backup_"+this._reverseRefMap];delete _141["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_142]=_141;if(this._itemsByIdentity){this._itemsByIdentity[_13e]=_141;}if(_141[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_141);}}for(_13e in this._pending._deletedItems){_141=this._pending._deletedItems[_13e];if(_141["backupRefs_"+this._reverseRefMap]){_ec.forEach(_141["backupRefs_"+this._reverseRefMap],function(_143){var _144;if(this._itemsByIdentity){_144=this._itemsByIdentity[_143.id];}else{_144=this._arrayOfAllItems[_143.id];}this._addReferenceToMap(_144,_141,_143.attr);},this);delete _141["backupRefs_"+this._reverseRefMap];}}for(_13e in this._pending._newItems){var _145=this._pending._newItems[_13e];_145[this._storeRefPropName]=null;this._arrayOfAllItems[_145[this._itemNumPropName]]=null;if(_145[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_145);}if(this._itemsByIdentity){delete this._itemsByIdentity[_13e];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _146=this.getIdentity(item);return new Boolean(this._pending._newItems[_146]||this._pending._modifiedItems[_146]||this._pending._deletedItems[_146]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_147,_148,_149){},onNew:function(_14a,_14b){},onDelete:function(_14c){},close:function(_14d){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(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_14e,lang,_14f,_150,xhr,_151,_152,_153,_154){var _155=_14f("dojo.data.ItemFileReadStore",[_151],{constructor:function(_156){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_156.url;this._ccUrl=_156.url;this.url=_156.url;this._jsonData=_156.data;this.data=null;this._datatypeMap=_156.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_157){return _154.fromISOString(_157);}};}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(_156.urlPreventCache!==undefined){this.urlPreventCache=_156.urlPreventCache?true:false;}if(_156.hierarchical!==undefined){this.hierarchical=_156.hierarchical?true:false;}if(_156.clearOnClose){this.clearOnClose=true;}if("failOk" in _156){this.failOk=_156.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(_158){if(typeof _158!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_159,_15a){var _15b=this.getValues(item,_159);return (_15b.length>0)?_15b[0]:_15a;},getValues:function(item,_15c){this._assertIsItem(item);this._assertIsAttribute(_15c);return (item[_15c]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _15d=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_15d.push(key);}}return _15d;},hasAttribute:function(item,_15e){this._assertIsItem(item);this._assertIsAttribute(_15e);return (_15e in item);},containsValue:function(item,_15f,_160){var _161=undefined;if(typeof _160==="string"){_161=_152.patternToRegExp(_160,false);}return this._containsValue(item,_15f,_160,_161);},_containsValue:function(item,_162,_163,_164){return _150.some(this.getValues(item,_162),function(_165){if(_165!==null&&!lang.isObject(_165)&&_164){if(_165.toString().match(_164)){return true;}}else{if(_163===_165){return true;}}});},isItem:function(_166){if(_166&&_166[this._storeRefPropName]===this){if(this._arrayOfAllItems[_166[this._itemNumPropName]]===_166){return true;}}return false;},isItemLoaded:function(_167){return this.isItem(_167);},loadItem:function(_168){this._assertIsItem(_168.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(_169,_16a,_16b){var _16c=[],i,key;if(_169.query){var _16d,_16e=_169.queryOptions?_169.queryOptions.ignoreCase:false;var _16f={};for(key in _169.query){_16d=_169.query[key];if(typeof _16d==="string"){_16f[key]=_152.patternToRegExp(_16d,_16e);}else{if(_16d instanceof RegExp){_16f[key]=_16d;}}}for(i=0;i<_16a.length;++i){var _170=true;var _171=_16a[i];if(_171===null){_170=false;}else{for(key in _169.query){_16d=_169.query[key];if(!this._containsValue(_171,key,_16d,_16f[key])){_170=false;}}}if(_170){_16c.push(_171);}}_16b(_16c,_169);}else{for(i=0;i<_16a.length;++i){var item=_16a[i];if(item!==null){_16c.push(item);}}_16b(_16c,_169);}},_fetchItems:function(_172,_173,_174){var self=this;if(this._loadFinished){this.filter(_172,this._getItemsArray(_172.queryOptions),_173);}else{if(this._jsonFileUrl!==this._ccUrl){_14e.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:_172,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_173)});}else{this._loadInProgress=true;var _175={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _176=xhr.get(_175);_176.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_172,self._getItemsArray(_172.queryOptions),_173);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_174(e,_172);}});_176.addErrback(function(_177){self._loadInProgress=false;_174(_177,_172);});var _178=null;if(_172.abort){_178=_172.abort;}_172.abort=function(){var df=_176;if(df&&df.fired===-1){df.cancel();df=null;}if(_178){_178.call(_172);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_172,this._getItemsArray(_172.queryOptions),_173);}catch(e){_174(e,_172);}}else{_174(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_172);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _179=this._queuedFetches[i],_17a=_179.args,_17b=_179.filter,_17c=_179.findCallback;if(_17b){_17b(_17a,this._getItemsArray(_17a.queryOptions),_17c);}else{this.fetchItemByIdentity(_17a);}}this._queuedFetches=[];}},_getItemsArray:function(_17d){if(_17d&&_17d.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_17e){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(_17f){var _180=false,self=this;function _181(_182){return (_182!==null)&&(typeof _182==="object")&&(!lang.isArray(_182)||_180)&&(!lang.isFunction(_182))&&(_182.constructor==Object||lang.isArray(_182))&&(typeof _182._reference==="undefined")&&(typeof _182._type==="undefined")&&(typeof _182._value==="undefined")&&self.hierarchical;};function _183(_184){self._arrayOfAllItems.push(_184);for(var _185 in _184){var _186=_184[_185];if(_186){if(lang.isArray(_186)){var _187=_186;for(var k=0;k<_187.length;++k){var _188=_187[k];if(_181(_188)){_183(_188);}}}else{if(_181(_186)){_183(_186);}}}}};this._labelAttr=_17f.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_17f.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(lang.isArray(item)){_180=true;}_183(item);item[this._rootItemPropName]=true;}var _189={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _18a=item[key];if(_18a!==null){if(!lang.isArray(_18a)){item[key]=[_18a];}}else{item[key]=[null];}}_189[key]=key;}}while(_189[this._storeRefPropName]){this._storeRefPropName+="_";}while(_189[this._itemNumPropName]){this._itemNumPropName+="_";}while(_189[this._reverseRefMap]){this._reverseRefMap+="_";}var _18b;var _18c=_17f.identifier;if(_18c){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_18c;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_18b=item[_18c];var _18d=_18b[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_18d)){this._itemsByIdentity[_18d]=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: ["+_18c+"]. Value collided: ["+_18d+"]");}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: ["+_18c+"]. Value collided: ["+_18d+"]");}}}}}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){_18b=item[key];for(var j=0;j<_18b.length;++j){_18a=_18b[j];if(_18a!==null&&typeof _18a=="object"){if(("_type" in _18a)&&("_value" in _18a)){var type=_18a._type;var _18e=this._datatypeMap[type];if(!_18e){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(lang.isFunction(_18e)){_18b[j]=new _18e(_18a._value);}else{if(lang.isFunction(_18e.deserialize)){_18b[j]=_18e.deserialize(_18a._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(_18a._reference){var _18f=_18a._reference;if(!lang.isObject(_18f)){_18b[j]=this._getItemByIdentity(_18f);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _190=this._arrayOfAllItems[k],_191=true;for(var _192 in _18f){if(_190[_192]!=_18f[_192]){_191=false;}}if(_191){_18b[j]=_190;}}}if(this.referenceIntegrity){var _193=_18b[j];if(this.isItem(_193)){this._addReferenceToMap(_193,item,key);}}}else{if(this.isItem(_18a)){if(this.referenceIntegrity){this._addReferenceToMap(_18a,item,key);}}}}}}}},_addReferenceToMap:function(_194,_195,_196){},getIdentity:function(item){var _197=this._features["dojo.data.api.Identity"];if(_197===Number){return item[this._itemNumPropName];}else{var _198=item[_197];if(_198){return _198[0];}}return null;},fetchItemByIdentity:function(_199){var item,_19a;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){_14e.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:_199});}else{this._loadInProgress=true;var _19b={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _19c=xhr.get(_19b);_19c.addCallback(function(data){var _19d=_199.scope?_199.scope:_14e.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_199.identity);if(_199.onItem){_199.onItem.call(_19d,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_199.onError){_199.onError.call(_19d,error);}}});_19c.addErrback(function(_19e){self._loadInProgress=false;if(_199.onError){var _19f=_199.scope?_199.scope:_14e.global;_199.onError.call(_19f,_19e);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_199.identity);if(_199.onItem){_19a=_199.scope?_199.scope:_14e.global;_199.onItem.call(_19a,item);}}}}else{item=this._getItemByIdentity(_199.identity);if(_199.onItem){_19a=_199.scope?_199.scope:_14e.global;_199.onItem.call(_19a,item);}}},_getItemByIdentity:function(_1a0){var item=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_1a0)){item=this._itemsByIdentity[_1a0];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_1a0)){item=this._arrayOfAllItems[_1a0];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _1a1=this._features["dojo.data.api.Identity"];if(_1a1===Number){return null;}else{return [_1a1];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_14e.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 _1a2={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _1a3=xhr.get(_1a2);_1a3.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;}});_1a3.addErrback(function(_1a4){throw _1a4;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});lang.extend(_155,_153);return _155;});},"dojo/data/util/filter":function(){define(["../../_base/lang"],function(lang){var _1a5={};lang.setObject("dojo.data.util.filter",_1a5);_1a5.patternToRegExp=function(_1a6,_1a7){var rxp="^";var c=null;for(var i=0;i<_1a6.length;i++){c=_1a6.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_1a6.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(_1a7){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _1a5;});},"dojo/data/util/simpleFetch":function(){define(["../../_base/lang","../../_base/kernel","./sorter"],function(lang,_1a8,_1a9){var _1aa={};lang.setObject("dojo.data.util.simpleFetch",_1aa);_1aa.errorHandler=function(_1ab,_1ac){if(_1ac.onError){var _1ad=_1ac.scope||_1a8.global;_1ac.onError.call(_1ad,_1ab,_1ac);}};_1aa.fetchHandler=function(_1ae,_1af){var _1b0=_1af.abort||null,_1b1=false,_1b2=_1af.start?_1af.start:0,_1b3=(_1af.count&&(_1af.count!==Infinity))?(_1b2+_1af.count):_1ae.length;_1af.abort=function(){_1b1=true;if(_1b0){_1b0.call(_1af);}};var _1b4=_1af.scope||_1a8.global;if(!_1af.store){_1af.store=this;}if(_1af.onBegin){_1af.onBegin.call(_1b4,_1ae.length,_1af);}if(_1af.sort){_1ae.sort(_1a9.createSortFunction(_1af.sort,this));}if(_1af.onItem){for(var i=_1b2;(i<_1ae.length)&&(i<_1b3);++i){var item=_1ae[i];if(!_1b1){_1af.onItem.call(_1b4,item,_1af);}}}if(_1af.onComplete&&!_1b1){var _1b5=null;if(!_1af.onItem){_1b5=_1ae.slice(_1b2,_1b3);}_1af.onComplete.call(_1b4,_1b5,_1af);}};_1aa.fetch=function(_1b6){_1b6=_1b6||{};if(!_1b6.store){_1b6.store=this;}this._fetchItems(_1b6,lang.hitch(this,"fetchHandler"),lang.hitch(this,"errorHandler"));return _1b6;};return _1aa;});},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(lang){var _1b7={};lang.setObject("dojo.data.util.sorter",_1b7);_1b7.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;};_1b7.createSortFunction=function(_1b8,_1b9){var _1ba=[];function _1bb(attr,dir,comp,s){return function(_1bc,_1bd){var a=s.getValue(_1bc,attr);var b=s.getValue(_1bd,attr);return dir*comp(a,b);};};var _1be;var map=_1b9.comparatorMap;var bc=_1b7.basicComparator;for(var i=0;i<_1b8.length;i++){_1be=_1b8[i];var attr=_1be.attribute;if(attr){var dir=(_1be.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_1ba.push(_1bb(attr,dir,comp,_1b9));}}return function(rowA,rowB){var i=0;while(i<_1ba.length){var ret=_1ba[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _1b7;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_1bf,lang,win){var trim=lang.trim;var each=_1bf.forEach;var _1c0=function(){return win.doc;};var _1c1=(_1c0().compatMode)=="BackCompat";var _1c2=">~+";var _1c3=false;var _1c4=function(){return true;};var _1c5=function(_1c6){if(_1c2.indexOf(_1c6.slice(-1))>=0){_1c6+=" * ";}else{_1c6+=" ";}var ts=function(s,e){return trim(_1c6.slice(s,e));};var _1c7=[];var _1c8=-1,_1c9=-1,_1ca=-1,_1cb=-1,_1cc=-1,inId=-1,_1cd=-1,_1ce,lc="",cc="",_1cf;var x=0,ql=_1c6.length,_1d0=null,_1d1=null;var _1d2=function(){if(_1cd>=0){var tv=(_1cd==x)?null:ts(_1cd,x);_1d0[(_1c2.indexOf(tv)<0)?"tag":"oper"]=tv;_1cd=-1;}};var _1d3=function(){if(inId>=0){_1d0.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _1d4=function(){if(_1cc>=0){_1d0.classes.push(ts(_1cc+1,x).replace(/\\/g,""));_1cc=-1;}};var _1d5=function(){_1d3();_1d2();_1d4();};var _1d6=function(){_1d5();if(_1cb>=0){_1d0.pseudos.push({name:ts(_1cb+1,x)});}_1d0.loops=(_1d0.pseudos.length||_1d0.attrs.length||_1d0.classes.length);_1d0.oquery=_1d0.query=ts(_1cf,x);_1d0.otag=_1d0.tag=(_1d0["oper"])?null:(_1d0.tag||"*");if(_1d0.tag){_1d0.tag=_1d0.tag.toUpperCase();}if(_1c7.length&&(_1c7[_1c7.length-1].oper)){_1d0.infixOper=_1c7.pop();_1d0.query=_1d0.infixOper.query+" "+_1d0.query;}_1c7.push(_1d0);_1d0=null;};for(;lc=cc,cc=_1c6.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_1d0){_1cf=x;_1d0={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _1c3?this.otag:this.tag;}};_1cd=x;}if(_1ce){if(cc==_1ce){_1ce=null;}continue;}else{if(cc=="'"||cc=="\""){_1ce=cc;continue;}}if(_1c8>=0){if(cc=="]"){if(!_1d1.attr){_1d1.attr=ts(_1c8+1,x);}else{_1d1.matchFor=ts((_1ca||_1c8+1),x);}var cmf=_1d1.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_1d1.matchFor=cmf.slice(1,-1);}}if(_1d1.matchFor){_1d1.matchFor=_1d1.matchFor.replace(/\\/g,"");}_1d0.attrs.push(_1d1);_1d1=null;_1c8=_1ca=-1;}else{if(cc=="="){var _1d7=("|~^$*".indexOf(lc)>=0)?lc:"";_1d1.type=_1d7+cc;_1d1.attr=ts(_1c8+1,x-_1d7.length);_1ca=x+1;}}}else{if(_1c9>=0){if(cc==")"){if(_1cb>=0){_1d1.value=ts(_1c9+1,x);}_1cb=_1c9=-1;}}else{if(cc=="#"){_1d5();inId=x+1;}else{if(cc=="."){_1d5();_1cc=x;}else{if(cc==":"){_1d5();_1cb=x;}else{if(cc=="["){_1d5();_1c8=x;_1d1={};}else{if(cc=="("){if(_1cb>=0){_1d1={name:ts(_1cb+1,x),value:null};_1d0.pseudos.push(_1d1);}_1c9=x;}else{if((cc==" ")&&(lc!=cc)){_1d6();}}}}}}}}}return _1c7;};var _1d8=function(_1d9,_1da){if(!_1d9){return _1da;}if(!_1da){return _1d9;}return function(){return _1d9.apply(window,arguments)&&_1da.apply(window,arguments);};};var _1db=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _1dc=function(n){return (1==n.nodeType);};var _1dd="";var _1de=function(elem,attr){if(!elem){return _1dd;}if(attr=="class"){return elem.className||_1dd;}if(attr=="for"){return elem.htmlFor||_1dd;}if(attr=="style"){return elem.style.cssText||_1dd;}return (_1c3?elem.getAttribute(attr):elem.getAttribute(attr,2))||_1dd;};var _1df={"*=":function(attr,_1e0){return function(elem){return (_1de(elem,attr).indexOf(_1e0)>=0);};},"^=":function(attr,_1e1){return function(elem){return (_1de(elem,attr).indexOf(_1e1)==0);};},"$=":function(attr,_1e2){return function(elem){var ea=" "+_1de(elem,attr);var _1e3=ea.lastIndexOf(_1e2);return _1e3>-1&&(_1e3==(ea.length-_1e2.length));};},"~=":function(attr,_1e4){var tval=" "+_1e4+" ";return function(elem){var ea=" "+_1de(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_1e5){var _1e6=_1e5+"-";return function(elem){var ea=_1de(elem,attr);return ((ea==_1e5)||(ea.indexOf(_1e6)==0));};},"=":function(attr,_1e7){return function(elem){return (_1de(elem,attr)==_1e7);};}};var _1e8=_1c0().documentElement;var _1e9=!(_1e8.nextElementSibling||"nextElementSibling" in _1e8);var _1ea=!_1e9?"nextElementSibling":"nextSibling";var _1eb=!_1e9?"previousElementSibling":"previousSibling";var _1ec=(_1e9?_1dc:_1c4);var _1ed=function(node){while(node=node[_1eb]){if(_1ec(node)){return false;}}return true;};var _1ee=function(node){while(node=node[_1ea]){if(_1ec(node)){return false;}}return true;};var _1ef=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[_1ea]){if(_1ec(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _1f0=function(elem){return !((_1ef(elem))%2);};var _1f1=function(elem){return ((_1ef(elem))%2);};var _1f2={"checked":function(name,_1f3){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_1f4){return function(elem){return elem.disabled;};},"enabled":function(name,_1f5){return function(elem){return !elem.disabled;};},"first-child":function(){return _1ed;},"last-child":function(){return _1ee;},"only-child":function(name,_1f6){return function(node){return _1ed(node)&&_1ee(node);};},"empty":function(name,_1f7){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,_1f8){var cz=_1f8.charAt(0);if(cz=="\""||cz=="'"){_1f8=_1f8.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_1f8)>=0);};},"not":function(name,_1f9){var p=_1c5(_1f9)[0];var _1fa={el:1};if(p.tag!="*"){_1fa.tag=1;}if(!p.classes.length){_1fa.classes=1;}var ntf=_1fb(p,_1fa);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_1fc){var pi=parseInt;if(_1fc=="odd"){return _1f1;}else{if(_1fc=="even"){return _1f0;}}if(_1fc.indexOf("n")!=-1){var _1fd=_1fc.split("n",2);var pred=_1fd[0]?((_1fd[0]=="-")?-1:pi(_1fd[0])):1;var idx=_1fd[1]?pi(_1fd[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=_1ef(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_1fc=idx;}}var _1fe=pi(_1fc);return function(elem){return (_1ef(elem)==_1fe);};}};var _1ff=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_1c3?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _1fb=function(_200,_201){if(!_200){return _1c4;}_201=_201||{};var ff=null;if(!("el" in _201)){ff=_1d8(ff,_1dc);}if(!("tag" in _201)){if(_200.tag!="*"){ff=_1d8(ff,function(elem){return (elem&&((_1c3?elem.tagName:elem.tagName.toUpperCase())==_200.getTag()));});}}if(!("classes" in _201)){each(_200.classes,function(_202,idx,arr){var re=new RegExp("(?:^|\\s)"+_202+"(?:\\s|$)");ff=_1d8(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _201)){each(_200.pseudos,function(_203){var pn=_203.name;if(_1f2[pn]){ff=_1d8(ff,_1f2[pn](pn,_203.value));}});}if(!("attrs" in _201)){each(_200.attrs,function(attr){var _204;var a=attr.attr;if(attr.type&&_1df[attr.type]){_204=_1df[attr.type](a,attr.matchFor);}else{if(a.length){_204=_1ff(a);}}if(_204){ff=_1d8(ff,_204);}});}if(!("id" in _201)){if(_200.id){ff=_1d8(ff,function(elem){return (!!elem&&(elem.id==_200.id));});}}if(!ff){if(!("default" in _201)){ff=_1c4;}}return ff;};var _205=function(_206){return function(node,ret,bag){while(node=node[_1ea]){if(_1e9&&(!_1dc(node))){continue;}if((!bag||_207(node,bag))&&_206(node)){ret.push(node);}break;}return ret;};};var _208=function(_209){return function(root,ret,bag){var te=root[_1ea];while(te){if(_1ec(te)){if(bag&&!_207(te,bag)){break;}if(_209(te)){ret.push(te);}}te=te[_1ea];}return ret;};};var _20a=function(_20b,_20c){var _20d=function(_20e){var _20f=[];try{_20f=Array.prototype.slice.call(_20e);}catch(e){for(var i=0,len=_20e.length;i<len;i++){_20f.push(_20e[i]);}}return _20f;};_20b=_20b||_1c4;return function(root,ret,bag){var te,x=0,tret=[];tret=_20d(root.children||root.childNodes);if(_20c){_1bf.forEach(tret,function(node){if(node.nodeType===1){tret=tret.concat(_20d(node.getElementsByTagName("*")));}});}while(te=tret[x++]){if(_1ec(te)&&(!bag||_207(te,bag))&&(_20b(te,x))){ret.push(te);}}return ret;};};var _210=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _211={};var _212=function(_213){var _214=_211[_213.query];if(_214){return _214;}var io=_213.infixOper;var oper=(io?io.oper:"");var _215=_1fb(_213,{el:1});var qt=_213.tag;var _216=("*"==qt);var ecs=_1c0()["getElementsByClassName"];if(!oper){if(_213.id){_215=(!_213.loops&&_216)?_1c4:_1fb(_213,{el:1,id:1});_214=function(root,arr){var te=dom.byId(_213.id,(root.ownerDocument||root));if(root.ownerDocument&&!_210(root,root.ownerDocument)){var _217=root.nodeType===11?root.childNodes:[root];_1bf.some(_217,function(_218){var _219=_20a(function(node){return node.id===_213.id;},true)(_218,[]);if(_219.length){te=_219[0];return false;}});}if(!te||!_215(te)){return;}if(9==root.nodeType){return _1db(te,arr);}else{if(_210(te,root)){return _1db(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_213.classes.length&&!_1c1){_215=_1fb(_213,{el:1,classes:1,id:1});var _21a=_213.classes.join(" ");_214=function(root,arr,bag){var ret=_1db(0,arr),te,x=0;var tret=root.getElementsByClassName(_21a);while((te=tret[x++])){if(_215(te,root)&&_207(te,bag)){ret.push(te);}}return ret;};}else{if(!_216&&!_213.loops){_214=function(root,arr,bag){var ret=_1db(0,arr),te,x=0;var tag=_213.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_207(te,bag)){ret.push(te);}}return ret;};}else{_215=_1fb(_213,{el:1,tag:1,id:1});_214=function(root,arr,bag){var ret=_1db(0,arr),te,x=0;var tag=_213.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_215(te,root)&&_207(te,bag)){ret.push(te);}}return ret;};}}}}else{var _21b={el:1};if(_216){_21b.tag=1;}_215=_1fb(_213,_21b);if("+"==oper){_214=_205(_215);}else{if("~"==oper){_214=_208(_215);}else{if(">"==oper){_214=_20a(_215);}}}}return _211[_213.query]=_214;};var _21c=function(root,_21d){var _21e=_1db(root),qp,x,te,qpl=_21d.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_21d[i];x=_21e.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_212(qp);for(var j=0;(te=_21e[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_21e=ret;}return ret;};var _21f={},_220={};var _221=function(_222){var _223=_1c5(trim(_222));if(_223.length==1){var tef=_212(_223[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _21c(root,_223);};};var _224=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _225=!!_1c0()[qsa];var _226=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _227=function(_228,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_228;};var _229=/([^[]*)([^\]]*])?/g;var _22a=function(_22b,_22c,att){return _22c.replace(_226,_227)+(att||"");};var _22d=function(_22e,_22f){_22e=_22e.replace(_229,_22a);if(_225){var _230=_220[_22e];if(_230&&!_22f){return _230;}}var _231=_21f[_22e];if(_231){return _231;}var qcz=_22e.charAt(0);var _232=(-1==_22e.indexOf(" "));if((_22e.indexOf("#")>=0)&&(_232)){_22f=true;}var _233=(_225&&(!_22f)&&(_1c2.indexOf(qcz)==-1)&&(!has("ie")||(_22e.indexOf(":")==-1))&&(!(_1c1&&(_22e.indexOf(".")>=0)))&&(_22e.indexOf(":contains")==-1)&&(_22e.indexOf(":checked")==-1)&&(_22e.indexOf("|=")==-1));if(_233){var tq=(_1c2.indexOf(_22e.charAt(_22e.length-1))>=0)?(_22e+" *"):_22e;return _220[_22e]=function(root){if(9==root.nodeType||_232){try{var r=root[qsa](tq);r[_224]=true;return r;}catch(e){}}return _22d(_22e,true)(root);};}else{var _234=_22e.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _21f[_22e]=((_234.length<2)?_221(_22e):function(root){var _235=0,ret=[],tp;while((tp=_234[_235++])){ret=ret.concat(_221(tp)(root));}return ret;});}};var _236=0;var _237=has("ie")?function(node){if(_1c3){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_236)||_236);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_236));};var _207=function(node,bag){if(!bag){return 1;}var id=_237(node);if(!bag[id]){return bag[id]=1;}return 0;};var _238="_zipIdx";var _239=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_236++;var x,te;if(has("ie")&&_1c3){var _23a=_236+"";for(x=0;x<arr.length;x++){if((te=arr[x])&&te.getAttribute(_238)!=_23a){ret.push(te);te.setAttribute(_238,_23a);}}}else{if(has("ie")&&arr.commentStrip){try{for(x=0;x<arr.length;x++){if((te=arr[x])&&_1dc(te)){ret.push(te);}}}catch(e){}}else{for(x=0;x<arr.length;x++){if((te=arr[x])&&te[_238]!=_236){ret.push(te);te[_238]=_236;}}}}return ret;};var _23b=function(_23c,root){root=root||_1c0();var od=root.ownerDocument||root;_1c3=(od.createElement("div").tagName==="div");var r=_22d(_23c)(root);if(r&&r.nozip){return r;}return _239(r);};_23b.filter=function(_23d,_23e,root){var _23f=[],_240=_1c5(_23e),_241=(_240.length==1&&!/[^\w#\.]/.test(_23e))?_1fb(_240[0]):function(node){return _1bf.indexOf(_23b(_23e,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_23d[x];x++){if(_241(te)){_23f.push(te);}}return _23f;};return _23b;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_242,lang,_243,when){return _242("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(_244){if(_244){this.set(_244);}},_get:function(name,_245){return typeof this[_245.g]==="function"?this[_245.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_246){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _247=this._getAttrNames(name),_248=this._get(name,_247),_249=this[_247.s],_24a;if(typeof _249==="function"){_24a=_249.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_246;}if(this._watchCallbacks){var self=this;when(_24a,function(){self._watchCallbacks(name,_248,_246);});}return this;},_changeAttrValue:function(name,_24b){var _24c=this.get(name);this[name]=_24b;if(this._watchCallbacks){this._watchCallbacks(name,_24c,_24b);}return this;},watch:function(name,_24d){var _24e=this._watchCallbacks;if(!_24e){var self=this;_24e=this._watchCallbacks=function(name,_24f,_250,_251){var _252=function(_253){if(_253){_253=_253.slice();for(var i=0,l=_253.length;i<l;i++){_253[i].call(self,name,_24f,_250);}}};_252(_24e["_"+name]);if(!_251){_252(_24e["*"]);}};}if(!_24d&&typeof name==="function"){_24d=name;name="*";}else{name="_"+name;}var _254=_24e[name];if(typeof _254!=="object"){_254=_24e[name]=[];}_254.push(_24d);var _255={};_255.unwatch=_255.remove=function(){var _256=_243.indexOf(_254,_24d);if(_256>-1){_254.splice(_256,1);}};return _255;}});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_257,lang){var _258=/[&<>'"\/]/g;var _259={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _25a={};lang.setObject("dojo.string",_25a);_25a.escape=function(str){if(!str){return "";}return str.replace(_258,function(c){return _259[c];});};_25a.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("");};_25a.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_25a.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_25a.substitute=function(_25b,map,_25c,_25d){_25d=_25d||_257.global;_25c=_25c?lang.hitch(_25d,_25c):function(v){return v;};return _25b.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_25e,key,_25f){if(key==""){return "$";}var _260=lang.getObject(key,false,map);if(_25f){_260=lang.getObject(_25f,false,_25d).call(_25d,_260,key);}var _261=_25c(_260,key);if(typeof _261==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _261.toString();});};_25a.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 _25a;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_262,dom,_263,lang,on,has,_264,_265,win){var ios4=has("ios")<5;var _266=has("pointer-events")||has("MSPointer"),_267=(function(){var _268={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_268[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _268;})();var _269=has("touch-events");var _26a,_26b,_26c=false,_26d,_26e,_26f,_270,_271,_272;var _273;function _274(_275,_276,_277){if(_266&&_277){return function(node,_278){return on(node,_277,_278);};}else{if(_269){return function(node,_279){var _27a=on(node,_276,function(evt){_279.call(this,evt);_273=(new Date()).getTime();}),_27b=on(node,_275,function(evt){if(!_273||(new Date()).getTime()>_273+1000){_279.call(this,evt);}});return {remove:function(){_27a.remove();_27b.remove();}};};}else{return function(node,_27c){return on(node,_275,_27c);};}}};function _27d(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _27e(e,_27f,_280){if(_264.isRight(e)){return;}var _281=_27d(e.target);_26b=!e.target.disabled&&_281&&_281.dojoClick;if(_26b){_26c=(_26b=="useTarget");_26d=(_26c?_281:e.target);if(_26c){e.preventDefault();}_26e=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_26f=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_270=(typeof _26b=="object"?_26b.x:(typeof _26b=="number"?_26b:0))||4;_271=(typeof _26b=="object"?_26b.y:(typeof _26b=="number"?_26b:0))||4;if(!_26a){_26a=true;function _282(e){if(_26c){_26b=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_26d);}else{_26b=_26b&&(e.changedTouches?e.changedTouches[0].target:e.target)==_26d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_26e)<=_270&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_26f)<=_271;}};win.doc.addEventListener(_27f,function(e){if(_264.isRight(e)){return;}_282(e);if(_26c){e.preventDefault();}},true);win.doc.addEventListener(_280,function(e){if(_264.isRight(e)){return;}_282(e);if(_26b){_272=(new Date()).getTime();var _283=(_26c?_26d:e.target);if(_283.tagName==="LABEL"){_283=dom.byId(_283.getAttribute("for"))||_283;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _284(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _285=_284("mousedown");var _286=_284("mouseup");var _287=_284("click");setTimeout(function(){on.emit(_283,"mousedown",_285);on.emit(_283,"mouseup",_286);on.emit(_283,"click",_287);_272=(new Date()).getTime();},0);}},true);function _288(type){win.doc.addEventListener(type,function(e){var _289=e.target;if(_26b&&!e._dojo_click&&(new Date()).getTime()<=_272+1000&&!(_289.tagName=="INPUT"&&_263.contains(_289,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_289.tagName!="INPUT"||(_289.type=="radio"&&(_263.contains(_289,"dijitCheckBoxInput")||_263.contains(_289,"mblRadioButton")))||(_289.type=="checkbox"&&(_263.contains(_289,"dijitCheckBoxInput")||_263.contains(_289,"mblCheckBox"))))&&_289.tagName!="TEXTAREA"&&_289.tagName!="AUDIO"&&_289.tagName!="VIDEO"){e.preventDefault();}}},true);};_288("click");_288("mousedown");_288("mouseup");}}};var _28a;if(has("touch")){if(_266){_265(function(){win.doc.addEventListener(_267.down,function(evt){_27e(evt,_267.move,_267.up);},true);});}else{_265(function(){_28a=win.body();win.doc.addEventListener("touchstart",function(evt){_273=(new Date()).getTime();var _28b=_28a;_28a=evt.target;on.emit(_28b,"dojotouchout",{relatedTarget:_28a,bubbles:true});on.emit(_28a,"dojotouchover",{relatedTarget:_28b,bubbles:true});_27e(evt,"touchmove","touchend");},true);function _28c(evt){var _28d=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_28d.touches=evt.touches;_28d.altKey=evt.altKey;_28d.changedTouches=evt.changedTouches;_28d.ctrlKey=evt.ctrlKey;_28d.metaKey=evt.metaKey;_28d.shiftKey=evt.shiftKey;_28d.targetTouches=evt.targetTouches;}return _28d;};on(win.doc,"touchmove",function(evt){_273=(new Date()).getTime();var _28e=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_28e){if(_28a!==_28e){on.emit(_28a,"dojotouchout",{relatedTarget:_28e,bubbles:true});on.emit(_28e,"dojotouchover",{relatedTarget:_28a,bubbles:true});_28a=_28e;}if(!on.emit(_28e,"dojotouchmove",_28c(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_273=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_28c(evt));});});}}var _28f={press:_274("mousedown","touchstart",_267.down),move:_274("mousemove","dojotouchmove",_267.move),release:_274("mouseup","dojotouchend",_267.up),cancel:_274(_264.leave,"touchcancel",_266?_267.cancel:null),over:_274("mouseover","dojotouchover",_267.over),out:_274("mouseout","dojotouchout",_267.out),enter:_264._eventHandler(_274("mouseover","dojotouchover",_267.over)),leave:_264._eventHandler(_274("mouseout","dojotouchout",_267.out))};1&&(dojo.touch=_28f);return _28f;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_290,lang,_291,has,_292){var html=_292.doc.documentElement,ie=has("ie"),_293=has("trident"),_294=has("opera"),maj=Math.floor,ff=has("ff"),_295=_290.boxModel.replace(/-/,""),_296={"dj_quirks":has("quirks"),"dj_opera":_294,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_edge":has("edge"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_296["dj_ie"]=true;_296["dj_ie"+maj(ie)]=true;_296["dj_iequirks"]=has("quirks");}if(_293){_296["dj_trident"]=true;_296["dj_trident"+maj(_293)]=true;}if(ff){_296["dj_ff"+maj(ff)]=true;}_296["dj_"+_295]=true;var _297="";for(var clz in _296){if(_296[clz]){_297+=clz+" ";}}html.className=lang.trim(html.className+" "+_297);_291(function(){if(!_290.isBodyLtr()){var _298="dj_rtl dijitRtl "+_297.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_298+"dj_rtl dijitRtl "+_297.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_299,dom,geom,_29a,_29b){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_299.body(doc),_29c=_29b.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_29b.create("div",{style:{overflow:"hidden",direction:"ltr"}},_29c,"last"),ret=geom.position(div).x!=0;_29c.removeChild(div);body.removeChild(_29c);return ret;});has.add("position-fixed-support",function(win,doc){var body=_299.body(doc),_29d=_29b.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_29e=_29b.create("span",{style:{position:"fixed",left:"0",top:"0"}},_29d,"last"),ret=geom.position(_29e).x!=geom.position(_29d).x;_29d.removeChild(_29e);body.removeChild(_29d);return ret;});var _29f={getBox:function(doc){doc=doc||_299.doc;var _2a0=(doc.compatMode=="BackCompat")?_299.body(doc):doc.documentElement,_2a1=geom.docScroll(doc),w,h;if(has("touch")){var _2a2=_29f.get(doc);w=_2a2.innerWidth||_2a0.clientWidth;h=_2a2.innerHeight||_2a0.clientHeight;}else{w=_2a0.clientWidth;h=_2a0.clientHeight;}return {l:_2a1.x,t:_2a1.y,w:w,h:h};},get:function(doc){if(has("ie")&&_29f!==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||_299.doc,body=_299.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _2a3=doc.compatMode=="BackCompat",_2a4=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_2a5=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_2a6=(isWK||_2a3)?body:html,_2a7=pos||geom.position(node),el=node.parentNode,_2a8=function(el){return (isIE<=6||(isIE==7&&_2a3))?false:(has("position-fixed-support")&&(_29a.get(el,"position").toLowerCase()=="fixed"));},self=this,_2a9=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_2a8(node)){return;}while(el){if(el==body){el=_2a6;}var _2aa=geom.position(el),_2ab=_2a8(el),rtl=_29a.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_2a6){_2aa.w=_2a4;_2aa.h=_2a5;if(_2a6==html&&(isIE||has("trident"))&&rtl){_2aa.x+=_2a6.offsetWidth-_2aa.w;}_2aa.x=0;_2aa.y=0;}else{var pb=geom.getPadBorderExtents(el);_2aa.w-=pb.w;_2aa.h-=pb.h;_2aa.x+=pb.l;_2aa.y+=pb.t;var _2ac=el.clientWidth,_2ad=_2aa.w-_2ac;if(_2ac>0&&_2ad>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_2aa.x+=_2ad;}_2aa.w=_2ac;}_2ac=el.clientHeight;_2ad=_2aa.h-_2ac;if(_2ac>0&&_2ad>0){_2aa.h=_2ac;}}if(_2ab){if(_2aa.y<0){_2aa.h+=_2aa.y;_2aa.y=0;}if(_2aa.x<0){_2aa.w+=_2aa.x;_2aa.x=0;}if(_2aa.y+_2aa.h>_2a5){_2aa.h=_2a5-_2aa.y;}if(_2aa.x+_2aa.w>_2a4){_2aa.w=_2a4-_2aa.x;}}var l=_2a7.x-_2aa.x,t=_2a7.y-_2aa.y,r=l+_2a7.w-_2aa.w,bot=t+_2a7.h-_2aa.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_2a6||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_2a3)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_2a9(el,s,0);s=el.scrollLeft-old;_2a7.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_2a6||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_2a9(el,0,s);s=el.scrollTop-old;_2a7.y-=s;}el=(el!=_2a6)&&!_2ab&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_29f);return _29f;});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_2ae,lang,_2af,_2b0,_2b1){var _2b2=_2ae.NodeList;lang.extend(_2b2,{_anim:function(obj,_2b3,args){args=args||{};var a=_2b1.combine(this.map(function(item){var _2b4={node:item};lang.mixin(_2b4,args);return obj[_2b3](_2b4);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_2b1,"wipeIn",args);},wipeOut:function(args){return this._anim(_2b1,"wipeOut",args);},slideTo:function(args){return this._anim(_2b1,"slideTo",args);},fadeIn:function(args){return this._anim(_2b0,"fadeIn",args);},fadeOut:function(args){return this._anim(_2b0,"fadeOut",args);},animateProperty:function(args){return this._anim(_2b0,"animateProperty",args);},anim:function(_2b5,_2b6,_2b7,_2b8,_2b9){var _2ba=_2b1.combine(this.map(function(item){return _2b0.animateProperty({node:item,properties:_2b5,duration:_2b6||350,easing:_2b7});}));if(_2b8){_2af.after(_2ba,"onEnd",_2b8,true);}return _2ba.play(_2b9||0);}});return _2b2;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_2bb,dojo,_2bc,_2bd,_2be,dom,_2bf,geom,_2c0,_2c1){if(!dojo.isAsync){_2c0(0,function(){var _2c2=["./fx/Toggler"];_2c1(_2c2);});}var _2c3=dojo.fx={};var _2c4={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _2c5=function(_2c6){this._index=-1;this._animations=_2c6||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_2bc.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_2c5.prototype=new _2bb();lang.extend(_2c5,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_2bd.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_2bd.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_2c7,_2c8){if(!this._current){this._current=this._animations[this._index=0];}if(!_2c8&&this._current.status()=="playing"){return this;}var _2c9=_2bd.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_2ca=_2bd.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_2cb=_2bd.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_2c9.remove();_2ca.remove();_2cb.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_2bd.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_2bd.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_2bd.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_2cc,_2cd){this.pause();var _2ce=this.duration*_2cc;this._current=null;_2bc.some(this._animations,function(a,_2cf){if(_2ce<=a.duration){this._current=a;this._index=_2cf;return true;}_2ce-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_2ce/this._current.duration);}if(_2cd){this.play();}return this;},stop:function(_2d0){if(this._current){if(_2d0){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_2bd.after(this._current,"onStop",lang.hitch(this,function(arg){this._fire("onStop",arguments);e.remove();}),true);this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){this.stop();if(this._onAnimateCtx){this._onAnimateCtx.remove();}if(this._onEndCtx){this._onEndCtx.remove();}}});lang.extend(_2c5,_2c4);_2c3.chain=function(_2d1){return new _2c5(lang.isArray(_2d1)?_2d1:Array.prototype.slice.call(_2d1,0));};var _2d2=function(_2d3){this._animations=_2d3||[];this._connects=[];this._finished=0;this.duration=0;_2bc.forEach(_2d3,function(a){var _2d4=a.duration;if(a.delay){_2d4+=a.delay;}if(this.duration<_2d4){this.duration=_2d4;}this._connects.push(_2bd.after(a,"onEnd",lang.hitch(this,"_onEnd"),true));},this);this._pseudoAnimation=new _2be.Animation({curve:[0,1],duration:this.duration});var self=this;_2bc.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_2bd.after(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);},true));});};lang.extend(_2d2,{_doAction:function(_2d5,args){_2bc.forEach(this._animations,function(a){a[_2d5].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_2d6,args){var t=this._pseudoAnimation;t[_2d6].apply(t,args);},play:function(_2d7,_2d8){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(_2d9,_2da){var ms=this.duration*_2d9;_2bc.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_2da);});this._call("gotoPercent",arguments);return this;},stop:function(_2db){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){this.stop();_2bc.forEach(this._connects,function(_2dc){_2dc.remove();});}});lang.extend(_2d2,_2c4);_2c3.combine=function(_2dd){return new _2d2(lang.isArray(_2dd)?_2dd:Array.prototype.slice.call(_2dd,0));};_2c3.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2be.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 _2de=_2bf.get(node,"height");return Math.max(_2de,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_2bd.after(anim,"onStop",fini,true);_2bd.after(anim,"onEnd",fini,true);return anim;};_2c3.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_2be.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_2bd.after(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";},true);var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_2bd.after(anim,"onStop",fini,true);_2bd.after(anim,"onEnd",fini,true);return anim;};_2c3.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_2bf.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=_2be.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_2bd.after(anim,"beforeBegin",init,true);return anim;};return _2c3;});},"dojo/dnd/Moveable":function(){define(["../_base/array","../_base/declare","../_base/lang","../dom","../dom-class","../Evented","../on","../topic","../touch","./common","./Mover","../_base/window"],function(_2df,_2e0,lang,dom,_2e1,_2e2,on,_2e3,_2e4,dnd,_2e5,win){var _2e6=_2e0("dojo.dnd.Moveable",[_2e2],{handle:"",delay:0,skip:false,constructor:function(node,_2e7){this.node=dom.byId(node);if(!_2e7){_2e7={};}this.handle=_2e7.handle?dom.byId(_2e7.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_2e7.delay>0?_2e7.delay:0;this.skip=_2e7.skip;this.mover=_2e7.mover?_2e7.mover:_2e5;this.events=[on(this.handle,_2e4.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_2e8,node,Ctor){return new Ctor(node,_2e8);},destroy:function(){_2df.forEach(this.events,function(_2e9){_2e9.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,_2e4.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_2e4.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},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);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_2ea){_2e3.publish("/dnd/move/start",_2ea);_2e1.add(win.body(),"dojoMove");_2e1.add(this.node,"dojoMoveItem");},onMoveStop:function(_2eb){_2e3.publish("/dnd/move/stop",_2eb);_2e1.remove(win.body(),"dojoMove");_2e1.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_2ec,_2ed){this.onMoving(_2ec,_2ed);var s=_2ec.node.style;s.left=_2ed.l+"px";s.top=_2ed.t+"px";this.onMoved(_2ec,_2ed);},onMoving:function(){},onMoved:function(){}});return _2e6;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_2ee,lang,dom){var _2ef=lang.getObject("dojo.dnd",true);_2ef.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_2ef._uniqueId=0;_2ef.getUniqueId=function(){var id;do{id=_2ee._scopeName+"Unique"+(++_2ef._uniqueId);}while(dom.byId(id));return id;};_2ef._empty={};_2ef.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _2ef;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_2f0,_2f1,lang,has,win,dom,_2f2,_2f3,_2f4,on,_2f5,dnd,_2f6){return _2f1("dojo.dnd.Mover",[_2f4],{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;function _2f7(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_2f5.move,lang.hitch(this,"onFirstMove")),on(d,_2f5.move,lang.hitch(this,"onMouseMove")),on(d,_2f5.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_2f7),on(d.body,"selectstart",_2f7)];_2f6.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_2f6.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},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=_2f2.getMarginBox(this.node);var b=win.doc.body;var bs=_2f3.getComputedStyle(b);var bm=_2f2.getMarginBox(b,bs);var bc=_2f2.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(){_2f0.forEach(this.events,function(_2f8){_2f8.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_2f9,_2fa,_2fb){var _2fc={};lang.setObject("dojo.dnd.autoscroll",_2fc);_2fc.getViewport=_2fb.getBox;_2fc.V_TRIGGER_AUTOSCROLL=32;_2fc.H_TRIGGER_AUTOSCROLL=32;_2fc.V_AUTOSCROLL_VALUE=16;_2fc.H_AUTOSCROLL_VALUE=16;var _2fd,doc=win.doc,_2fe=Infinity,_2ff=Infinity;_2fc.autoScrollStart=function(d){doc=d;_2fd=_2fb.getBox(doc);var html=win.body(doc).parentNode;_2fe=Math.max(html.scrollHeight-_2fd.h,0);_2ff=Math.max(html.scrollWidth-_2fd.w,0);};_2fc.autoScroll=function(e){var v=_2fd||_2fb.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_2fc.H_TRIGGER_AUTOSCROLL){dx=-_2fc.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_2fc.H_TRIGGER_AUTOSCROLL){dx=Math.min(_2fc.H_AUTOSCROLL_VALUE,_2ff-html.scrollLeft);}}if(e.clientY<_2fc.V_TRIGGER_AUTOSCROLL){dy=-_2fc.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_2fc.V_TRIGGER_AUTOSCROLL){dy=Math.min(_2fc.V_AUTOSCROLL_VALUE,_2fe-html.scrollTop);}}window.scrollBy(dx,dy);};_2fc._validNodes={"div":1,"p":1,"td":1};_2fc._validOverflow={"auto":1,"scroll":1};_2fc.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_300,_301;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _2fc._validNodes)){var s=_2fa.getComputedStyle(n),_302=(s.overflowX.toLowerCase() in _2fc._validOverflow),_303=(s.overflowY.toLowerCase() in _2fc._validOverflow);if(_302||_303){b=_2f9.getContentBox(n,s);t=_2f9.position(n,true);}if(_302){w=Math.min(_2fc.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;}}_300=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_303){h=Math.min(_2fc.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;}}_301=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_2fc.autoScroll(e);};return _2fc;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_304,_305,_306,dnd,_307,_308){var _309=_304("dojo.dnd.move.constrainedMoveable",_308,{constraints:function(){},within:false,constructor:function(node,_30a){if(!_30a){_30a={};}this.constraints=_30a.constraints;this.within=_30a.within;},onFirstMove:function(_30b){var c=this.constraintBox=this.constraints.call(this,_30b);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_305.getMarginSize(_30b.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_30c,_30d){var c=this.constraintBox,s=_30c.node.style;this.onMoving(_30c,_30d);_30d.l=_30d.l<c.l?c.l:c.r<_30d.l?c.r:_30d.l;_30d.t=_30d.t<c.t?c.t:c.b<_30d.t?c.b:_30d.t;s.left=_30d.l+"px";s.top=_30d.t+"px";this.onMoved(_30c,_30d);}});var _30e=_304("dojo.dnd.move.boxConstrainedMoveable",_309,{box:{},constructor:function(node,_30f){var box=_30f&&_30f.box;this.constraints=function(){return box;};}});var _310=_304("dojo.dnd.move.parentConstrainedMoveable",_309,{area:"content",constructor:function(node,_311){var area=_311&&_311.area;this.constraints=function(){var n=this.node.parentNode,s=_306.getComputedStyle(n),mb=_305.getMarginBox(n,s);if(area=="margin"){return mb;}var t=_305.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=_305.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=_305.getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});return {constrainedMoveable:_309,boxConstrainedMoveable:_30e,parentConstrainedMoveable:_310};});},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare","./Moveable"],function(_312,_313){var _314=_313.prototype.onMove;return _312("dojo.dnd.TimedMoveable",_313,{timeout:40,constructor:function(node,_315){if(!_315){_315={};}if(_315.timeout&&typeof _315.timeout=="number"&&_315.timeout>=0){this.timeout=_315.timeout;}},onMoveStop:function(_316){if(_316._timer){clearTimeout(_316._timer);_314.call(this,_316,_316._leftTop);}_313.prototype.onMoveStop.apply(this,arguments);},onMove:function(_317,_318){_317._leftTop=_318;if(!_317._timer){var _319=this;_317._timer=setTimeout(function(){_317._timer=null;_314.call(_319,_317,_317._leftTop);},this.timeout);}}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_31a,_31b,_31c){return _31a("dojo.fx.Toggler",null,{node:null,showFunc:_31b.fadeIn,hideFunc:_31b.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _31d=this;lang.mixin(_31d,args);_31d.node=args.node;_31d._showArgs=lang.mixin({},args);_31d._showArgs.node=_31d.node;_31d._showArgs.duration=_31d.showDuration;_31d.showAnim=_31d.showFunc(_31d._showArgs);_31d._hideArgs=lang.mixin({},args);_31d._hideArgs.node=_31d.node;_31d._hideArgs.duration=_31d.hideDuration;_31d.hideAnim=_31d.hideFunc(_31d._hideArgs);_31c.after(_31d.showAnim,"beforeBegin",lang.hitch(_31d.hideAnim,"stop",true),true);_31c.after(_31d.hideAnim,"beforeBegin",lang.hitch(_31d.showAnim,"stop",true),true);},show:function(_31e){return this.showAnim.play(_31e||0);},hide:function(_31f){return this.hideAnim.play(_31f||0);}});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_320,lang,_321,_322,dom,_323,_324){var _325=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_323.empty,_setNodeContent:function(node,cont){_323.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_323.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _326=cont.length,i=0;i<cont.length;i=_326==cont.length?i+1:0){_323.place(cont[i],node,"last");}}else{_323.place(cont,node,"last");}}return node;},_ContentSetter:_322("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_320._scopeName,startup:true,constructor:function(_327,node){lang.mixin(this,_327||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_325++].join("_");}},set:function(cont,_328){if(undefined!==cont){this.content=cont;}if(typeof cont=="number"){cont=cont.toString();}if(_328){this._mixin(_328);}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 _329=this.onContentError(e);try{node.innerHTML=_329;}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){_321.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_323.empty(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _32a=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_32a){cont=_32a[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(_32b){var _32c={},key;for(key in _32b){if(key in _32c){continue;}this[key]=_32b[key];}},_parse:function(){var _32d=this.node;try{var _32e={};_321.forEach(["dir","lang","textDir"],function(name){if(this[name]){_32e[name]=this[name];}},this);var self=this;this.parseDeferred=_324.parse({rootNode:_32d,noStart:!this.startup,inherited:_32e,scope:this.parserScope}).then(function(_32f){return self.parseResults=_32f;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_330){var _331=this["on"+type+"Error"].call(this,err);if(_330){console.error(_330,err);}else{if(_331){html._setNodeContent(this.node,_331,true);}}}}),set:function(node,cont,_332){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_332){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_332,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_333,has,_334,_335,lang,xhr,json,_336){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _337=dojo.i18n={},_338=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_339=function(root,_33a,_33b,_33c){for(var _33d=[_33b+_33c],_33e=_33a.split("-"),_33f="",i=0;i<_33e.length;i++){_33f+=(_33f?"-":"")+_33e[i];if(!root||root[_33f]){_33d.push(_33b+_33f+"/"+_33c);_33d.specificity=_33f;}}return _33d;},_340={},_341=function(_342,_343,_344){_344=_344?_344.toLowerCase():dojo.locale;_342=_342.replace(/\./g,"/");_343=_343.replace(/\./g,"/");return (/root/i.test(_344))?(_342+"/nls/"+_343):(_342+"/nls/"+_344+"/"+_343);},_345=dojo.getL10nName=function(_346,_347,_348){return _346=_336.id+"!"+_341(_346,_347,_348);},_349=function(_34a,_34b,_34c,_34d,_34e,load){_34a([_34b],function(root){var _34f=lang.clone(root.root||root.ROOT),_350=_339(!root._v1x&&root,_34e,_34c,_34d);_34a(_350,function(){for(var i=1;i<_350.length;i++){_34f=lang.mixin(lang.clone(_34f),arguments[i]);}var _351=_34b+"/"+_34e;_340[_351]=_34f;_34f.$locale=_350.specificity;load();});});},_352=function(id,_353){return /^\./.test(id)?_353(id):id;},_354=function(_355){var list=_335.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_355);return list;},load=function(id,_356,load){var _357=_338.exec(id),_358=_357[1]+"/",_359=_357[5]||_357[4],_35a=_358+_359,_35b=(_357[5]&&_357[4]),_35c=_35b||dojo.locale||"",_35d=_35a+"/"+_35c,_35e=_35b?[_35c]:_354(_35c),_35f=_35e.length,_360=function(){if(!--_35f){load(lang.delegate(_340[_35d]));}},_361=id.split("*"),_362=_361[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_362){if(!_340[id]){_340[id]=1;_36c(_361[2],json.parse(_361[3]),1,_356);}load(1);}if(_362||(_389(id,_356,load)&&!_340[_35d])){return;}}else{if(_362){load(1);return;}}_334.forEach(_35e,function(_363){var _364=_35a+"/"+_363;if(has("dojo-preload-i18n-Api")){_365(_364);}if(!_340[_364]){_349(_356,_35a,_358,_359,_363,_360);}else{_360();}});};if(has("dojo-preload-i18n-Api")||1){var _366=_337.normalizeLocale=function(_367){var _368=_367?_367.toLowerCase():dojo.locale;return _368=="root"?"ROOT":_368;},isXd=function(mid,_369){return (1&&1)?_369.isXdUrl(_333.toUrl(mid+".js")):true;},_36a=0,_36b=[],_36c=_337._preloadLocalizations=function(_36d,_36e,_36f,_370){_370=_370||_333;function _371(mid,_372){if(isXd(mid,_370)||_36f){_370([mid],_372);}else{_38d([mid],_372,_370);}};function _373(_374,func){var _375=_374.split("-");while(_375.length){if(func(_375.join("-"))){return;}_375.pop();}func("ROOT");};function _376(){_36a++;};function _377(){--_36a;while(!_36a&&_36b.length){load.apply(null,_36b.shift());}};function _378(path,name,loc,_379){return _379.toAbsMid(path+name+"/"+loc);};function _37a(_37b){_37b=_366(_37b);_373(_37b,function(loc){if(_334.indexOf(_36e,loc)>=0){var mid=_36d.replace(/\./g,"/")+"_"+loc;_376();_371(mid,function(_37c){for(var p in _37c){var _37d=_37c[p],_37e=p.match(/(.+)\/([^\/]+)$/),_37f,_380;if(!_37e){continue;}_37f=_37e[2];_380=_37e[1]+"/";if(!_37d._localized){continue;}var _381;if(loc==="ROOT"){var root=_381=_37d._localized;delete _37d._localized;root.root=_37d;_340[_333.toAbsMid(p)]=root;}else{_381=_37d._localized;_340[_378(_380,_37f,loc,_333)]=_37d;}if(loc!==_37b){function _382(_383,_384,_385,_386){var _387=[],_388=[];_373(_37b,function(loc){if(_386[loc]){_387.push(_333.toAbsMid(_383+loc+"/"+_384));_388.push(_378(_383,_384,loc,_333));}});if(_387.length){_376();_370(_387,function(){for(var i=_387.length-1;i>=0;i--){_385=lang.mixin(lang.clone(_385),arguments[i]);_340[_388[i]]=_385;}_340[_378(_383,_384,_37b,_333)]=lang.clone(_385);_377();});}else{_340[_378(_383,_384,_37b,_333)]=_385;}};_382(_380,_37f,_37d,_381);}}_377();});return true;}return false;});};_37a();_334.forEach(dojo.config.extraLocale,_37a);},_389=function(id,_38a,load){if(_36a){_36b.push([id,_38a,load]);}return _36a;},_365=function(){};}if(1){var _38b={},_38c,_38d=function(deps,_38e,_38f){var _390=[];_334.forEach(deps,function(mid){var url=_38f.toUrl(mid+".js");function load(text){if(!_38c){_38c=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;"+"}");}var _391=_38c(text,_365,mid,_38b);if(_391===_38b){_390.push(_340[url]=_38b.result);}else{if(_391 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_391);_391={};}_390.push(_340[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_391:{root:_391,_v1x:1}));}};if(_340[url]){_390.push(_340[url]);}else{var _392=_38f.syncLoadNls(mid);if(!_392){_392=_365(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_392){_390.push(_392);}else{if(!xhr){try{_38f.getText(url,true,load);}catch(e){_390.push(_340[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_390.push(_340[url]={});}});}}}});_38e&&_38e.apply(null,_390);};_365=function(_393){for(var _394,_395=_393.split("/"),_396=dojo.global[_395[0]],i=1;_396&&i<_395.length-1;_396=_396[_395[i++]]){}if(_396){_394=_396[_395[i]];if(!_394){_394=_396[_395[i].replace(/-/g,"_")];}if(_394){_340[_393]=_394;}}return _394;};_337.getLocalization=function(_397,_398,_399){var _39a,_39b=_341(_397,_398,_399);load(_39b,(!isXd(_39b,_333)?function(deps,_39c){_38d(deps,_39c,_333);}:_333),function(_39d){_39a=_39d;});return _39a;};}return lang.mixin(_337,{dynamic:true,normalize:_352,load:load,cache:_340,getL10nName:_345});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_39e){return _39e;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_39f){return _39f._base;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_3a0,dom,_3a1,_3a2,lang,has,_3a3){var _3a4;var a11y={_isElementShown:function(elem){var s=_3a2.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_3a1.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _3a1.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _3a5=elem.contentDocument;if("designMode" in _3a5&&_3a5.designMode=="on"){return true;}body=_3a5.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";}},effectiveTabIndex:function(elem){if(_3a1.get(elem,"disabled")){return _3a4;}else{if(_3a1.has(elem,"tabIndex")){return +_3a1.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_3a4;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _3a6,last,_3a7,_3a8,_3a9,_3aa,_3ab={};function _3ac(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _3ad=a11y._isElementShown,_3ae=a11y.effectiveTabIndex;var _3af=function(_3b0){for(var _3b1=_3b0.firstChild;_3b1;_3b1=_3b1.nextSibling){if(_3b1.nodeType!=1||(has("ie")<=9&&_3b1.scopeName!=="HTML")||!_3ad(_3b1)){continue;}var _3b2=_3ae(_3b1);if(_3b2>=0){if(_3b2==0){if(!_3a6){_3a6=_3b1;}last=_3b1;}else{if(_3b2>0){if(!_3a7||_3b2<_3a8){_3a8=_3b2;_3a7=_3b1;}if(!_3a9||_3b2>=_3aa){_3aa=_3b2;_3a9=_3b1;}}}var rn=_3ac(_3b1);if(_3a1.get(_3b1,"checked")&&rn){_3ab[rn]=_3b1;}}if(_3b1.nodeName.toUpperCase()!="SELECT"){_3af(_3b1);}}};if(_3ad(root)){_3af(root);}function rs(node){return _3ab[_3ac(node)]||node;};return {first:rs(_3a6),last:rs(last),lowest:rs(_3a7),highest:rs(_3a9)};},getFirstInTabbingOrder:function(root,doc){var _3b3=a11y._getTabNavigable(dom.byId(root,doc));return _3b3.lowest?_3b3.lowest:_3b3.first;},getLastInTabbingOrder:function(root,doc){var _3b4=a11y._getTabNavigable(dom.byId(root,doc));return _3b4.last?_3b4.last:_3b4.highest;}};1&&lang.mixin(_3a3,a11y);return a11y;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_3b5,_3b6,_3b7,_3b8){var _3b9=_3b6("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_3ba){if(this._hash[_3ba.id]){throw new Error("Tried to register widget with id=="+_3ba.id+" but that id is already registered");}this._hash[_3ba.id]=_3ba;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_3bb){_3bb=_3bb||_3b7.global;var i=0,id;for(id in this._hash){func.call(_3bb,this._hash[id],i++,this._hash);}return this;},filter:function(_3bc,_3bd){_3bd=_3bd||_3b7.global;var res=new _3b9(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_3bc.call(_3bd,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _3b9(),id,_3be;for(id in this._hash){_3be=this._hash[id];if(_3be.declaredClass==cls){res.add(_3be);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_3bf){return _3b5.map(this.toArray(),func,_3bf);},every:function(func,_3c0){_3c0=_3c0||_3b7.global;var x=0,i;for(i in this._hash){if(!func.call(_3c0,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_3c1){_3c1=_3c1||_3b7.global;var x=0,i;for(i in this._hash){if(func.call(_3c1,this._hash[i],x++,this._hash)){return true;}}return false;}});_3b5.forEach(["forEach","filter","byClass","map","every","some"],function(func){_3b8[func]=_3b9.prototype[func];});return _3b9;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_3c2,win,_3c3){var _3c4={},hash={};var _3c5={length:0,add:function(_3c6){if(hash[_3c6.id]){throw new Error("Tried to register widget with id=="+_3c6.id+" but that id is already registered");}hash[_3c6.id]=_3c6;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(_3c7){var id;do{id=_3c7+"_"+(_3c7 in _3c4?++_3c4[_3c7]:_3c4[_3c7]=0);}while(hash[id]);return _3c3._scopeName=="dijit"?id:_3c3._scopeName+"_"+id;},findWidgets:function(root,_3c8){var _3c9=[];function _3ca(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _3cb=node.getAttribute("widgetId");if(_3cb){var _3cc=hash[_3cb];if(_3cc){_3c9.push(_3cc);}}else{if(node!==_3c8){_3ca(node);}}}}};_3ca(root);return _3c9;},_destroyAll:function(){_3c3._curFocus=null;_3c3._prevFocus=null;_3c3._activeStack=[];_3c2.forEach(_3c5.findWidgets(win.body()),function(_3cd){if(!_3cd._destroyed){if(_3cd.destroyRecursive){_3cd.destroyRecursive();}else{if(_3cd.destroy){_3cd.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};_3c3.registry=_3c5;return _3c5;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_3ce,dom,lang,_3cf,win,_3d0,_3d1,_3d2){var _3d3={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _3d2.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_3d1:new _3d1.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_3d4){var sel=win.global==window?_3d1:new _3d1.SelectionManager(win.global);return sel.moveToBookmark(_3d4);},getFocus:function(menu,_3d5){var node=!_3d0.curNode||(menu&&dom.isDescendant(_3d0.curNode,menu.domNode))?_3d2._prevFocus:_3d0.curNode;return {node:node,bookmark:node&&(node==_3d0.curNode)&&win.withGlobal(_3d5||win.global,_3d2.getBookmark),openedForWindow:_3d5};},_activeStack:[],registerIframe:function(_3d6){return _3d0.registerIframe(_3d6);},unregisterIframe:function(_3d7){_3d7&&_3d7.remove();},registerWin:function(_3d8,_3d9){return _3d0.registerWin(_3d8,_3d9);},unregisterWin:function(_3da){_3da&&_3da.remove();}};_3d0.focus=function(_3db){if(!_3db){return;}var node="node" in _3db?_3db.node:_3db,_3dc=_3db.bookmark,_3dd=_3db.openedForWindow,_3de=_3dc?_3dc.isCollapsed:false;if(node){var _3df=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_3df&&_3df.focus){try{_3df.focus();}catch(e){}}_3d0._onFocusNode(node);}if(_3dc&&win.withGlobal(_3dd||win.global,_3d2.isCollapsed)&&!_3de){if(_3dd){_3dd.focus();}try{win.withGlobal(_3dd||win.global,_3d2.moveToBookmark,null,[_3dc]);}catch(e2){}}};_3d0.watch("curNode",function(name,_3e0,_3e1){_3d2._curFocus=_3e1;_3d2._prevFocus=_3e0;if(_3e1){_3cf.publish("focusNode",_3e1);}});_3d0.watch("activeStack",function(name,_3e2,_3e3){_3d2._activeStack=_3e3;});_3d0.on("widget-blur",function(_3e4,by){_3cf.publish("widgetBlur",_3e4,by);});_3d0.on("widget-focus",function(_3e5,by){_3cf.publish("widgetFocus",_3e5,by);});lang.mixin(_3d2,_3d3);return _3d2;});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_3e6,_3e7,dom,_3e8,_3e9,_3ea,_3eb,lang,on,_3ec,has,_3ed,win,_3ee,a11y,_3ef,_3f0){var _3f1;var _3f2;var _3f3=_3e7([_3ed,_3eb],{curNode:null,activeStack:[],constructor:function(){var _3f4=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);}});_3e6.before(_3ea,"empty",_3f4);_3e6.before(_3ea,"destroy",_3f4);},registerIframe:function(_3f5){return this.registerWin(_3f5.contentWindow,_3f5);},registerWin:function(_3f6,_3f7){var _3f8=this,body=_3f6.document&&_3f6.document.body;if(body){var _3f9=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_3f6.document,_3f9,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_3f8._onTouchNode(_3f7||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_3f8._onFocusNode(_3f7||evt.target);}else{_3f8._onTouchNode(_3f7||evt.target);}});var foh=on(body,"focusout",function(evt){_3f8._onBlurNode(_3f7||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){var now=(new Date()).getTime();if(now<_3f1+100){return;}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._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_3f2+100){return;}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){_3f2=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_3e9.contains(node,"dijitPopup")){node=node.firstChild;}var _3fa=[];try{while(node){var _3fb=_3e8.get(node,"dijitPopupParent");if(_3fb){node=_3ef.byId(_3fb).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_3ee.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_3fc=id&&_3ef.byId(id);if(_3fc&&!(by=="mouse"&&_3fc.get("disabled"))){_3fa.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_3fa,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}_3f1=(new Date()).getTime();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(_3fd,by){var _3fe=this.activeStack,_3ff=_3fe.length-1,_400=_3fd.length-1;if(_3fd[_400]==_3fe[_3ff]){return;}this.set("activeStack",_3fd);var _401,i;for(i=_3ff;i>=0&&_3fe[i]!=_3fd[i];i--){_401=_3ef.byId(_3fe[i]);if(_401){_401._hasBeenBlurred=true;_401.set("focused",false);if(_401._focusManager==this){_401._onBlur(by);}this.emit("widget-blur",_401,by);}}for(i++;i<=_400;i++){_401=_3ef.byId(_3fd[i]);if(_401){_401.set("focused",true);if(_401._focusManager==this){_401._onFocus(by);}this.emit("widget-focus",_401,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _402=new _3f3();_3ec(function(){var _403=_402.registerWin(_3ee.get(document));if(has("ie")){on(window,"unload",function(){if(_403){_403.remove();_403=null;}});}});_3f0.focus=function(node){_402.focus(node);};for(var attr in _402){if(!/^_/.test(attr)){_3f0.focus[attr]=typeof _402[attr]=="function"?lang.hitch(_402,attr):_402[attr];}}_402.watch(function(attr,_404,_405){_3f0.focus[attr]=_405;});return _402;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_406,dom,lang,has,_407,_408){var _409=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _40a="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _40b=oSel.getRangeAt(0);if((_40b.startContainer==_40b.endContainer)&&((_40b.endOffset-_40b.startOffset)==1)&&(_40b.startContainer.nodeType!=3)){_40a="control";}}return _40a;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _40c=win.getSelection();return _40c?_40c.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _40d=win.getSelection();if(_40d&&_40d.rangeCount){var i;var html="";for(i=0;i<_40d.rangeCount;i++){var frag=_40d.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _40e=win.getSelection();return _40e.anchorNode.childNodes[_40e.anchorOffset];}else{var _40f=doc.selection.createRange();if(_40f&&_40f.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _410=doc.getSelection();if(_410){var node=_410.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_411){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_412){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _413=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _414=String(tags[i]).toLowerCase();if(_413==_414){return _414;}}}return "";};this.getParentOfType=function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;};this.collapse=function(_415){if(doc.getSelection){var _416=win.getSelection();if(_416.removeAllRanges){if(_415){_416.collapseToStart();}else{_416.collapseToEnd();}}else{_416.collapse(_415);}}else{var _417=doc.selection.createRange();_417.collapse(_415);_417.select();}};this.remove=function(){var sel=doc.selection;if(doc.getSelection){sel=win.getSelection();sel.deleteFromDocument();return sel;}else{if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}};this.selectElementChildren=function(_418,_419){var _41a;_418=dom.byId(_418);if(doc.getSelection){var _41b=win.getSelection();if(has("opera")){if(_41b.rangeCount){_41a=_41b.getRangeAt(0);}else{_41a=doc.createRange();}_41a.setStart(_418,0);_41a.setEnd(_418,(_418.nodeType==3)?_418.length:_418.childNodes.length);_41b.addRange(_41a);}else{_41b.selectAllChildren(_418);}}else{_41a=_418.ownerDocument.body.createTextRange();_41a.moveToElementText(_418);if(!_419){try{_41a.select();}catch(e){}}}};this.selectElement=function(_41c,_41d){var _41e;_41c=dom.byId(_41c);if(doc.getSelection){var _41f=doc.getSelection();_41e=doc.createRange();if(_41f.removeAllRanges){if(has("opera")){if(_41f.getRangeAt(0)){_41e=_41f.getRangeAt(0);}}_41e.selectNode(_41c);_41f.removeAllRanges();_41f.addRange(_41e);}}else{try{var tg=_41c.tagName?_41c.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_41e=_407.body(doc).createControlRange();}else{_41e=_407.body(doc).createRange();}_41e.addElement(_41c);if(!_41d){_41e.select();}}catch(e){this.selectElementChildren(_41c,_41d);}}};this.inSelection=function(node){if(node){var _420;var _421;if(doc.getSelection){var sel=win.getSelection();if(sel&&sel.rangeCount>0){_421=sel.getRangeAt(0);}if(_421&&_421.compareBoundaryPoints&&doc.createRange){try{_420=doc.createRange();_420.setStart(node,0);if(_421.compareBoundaryPoints(_421.START_TO_END,_420)===1){return true;}}catch(e){}}}else{_421=doc.selection.createRange();try{_420=node.ownerDocument.body.createTextRange();_420.moveToElementText(node);}catch(e2){}if(_421&&_420){if(_421.compareEndPoints("EndToStart",_420)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_408.curNode;if(doc.getSelection){sel=win.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;};this.moveToBookmark=function(_422){var mark=_422.mark;if(mark){if(doc.getSelection){var sel=win.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(doc.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=doc.body.createControlRange();_406.forEach(mark,function(n){rg.addElement(n);});}else{rg=doc.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}};this.isCollapsed=function(){return this.getBookmark().isCollapsed;};};var _423=new _409(window);_423.SelectionManager=_409;return _423;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_424,_425,lang,_426,_427){var _428={};_424.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_428[name]=_426[name];});lang.mixin(_428,{defaultDuration:_425["defaultDuration"]||200});lang.mixin(_427,_428);return _427;});},"dijit/_base/place":function(){define(["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],function(_429,lang,_42a,_42b,_42c){var _42d={};_42d.getViewport=function(){return _42a.getBox();};_42d.placeOnScreen=_42b.at;_42d.placeOnScreenAroundElement=function(node,_42e,_42f,_430){var _431;if(lang.isArray(_42f)){_431=_42f;}else{_431=[];for(var key in _42f){_431.push({aroundCorner:key,corner:_42f[key]});}}return _42b.around(node,_42e,_431,true,_430);};_42d.placeOnScreenAroundNode=_42d.placeOnScreenAroundElement;_42d.placeOnScreenAroundRectangle=_42d.placeOnScreenAroundElement;_42d.getPopupAroundAlignment=function(_432,_433){var _434={};_429.forEach(_432,function(pos){var ltr=_433;switch(pos){case "after":_434[_433?"BR":"BL"]=_433?"BL":"BR";break;case "before":_434[_433?"BL":"BR"]=_433?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_434[ltr?"BL":"BR"]=ltr?"TL":"TR";_434[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_434[ltr?"TL":"TR"]=ltr?"BL":"BR";_434[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _434;};lang.mixin(_42c,_42d);return _42c;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_435,_436,_437,_438,win,_439,_43a){function _43b(node,_43c,_43d,_43e){var view=_439.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_435.some(_43c,function(_43f){var _440=_43f.corner;var pos=_43f.pos;var _441=0;var _442={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_440.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_440.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_43d){var res=_43d(node,_43f.aroundCorner,_440,_442,_43e);_441=typeof res=="undefined"?0:res;}var _443=node.style;var _444=_443.display;var _445=_443.visibility;if(_443.display=="none"){_443.visibility="hidden";_443.display="";}var bb=_436.position(node);_443.display=_444;_443.visibility=_445;var _446={"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)}[_440.charAt(1)],_447={"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)}[_440.charAt(0)],_448=Math.max(view.l,_446),_449=Math.max(view.t,_447),endX=Math.min(view.l+view.w,_446+bb.w),endY=Math.min(view.t+view.h,_447+bb.h),_44a=endX-_448,_44b=endY-_449;_441+=(bb.w-_44a)+(bb.h-_44b);if(best==null||_441<best.overflow){best={corner:_440,aroundCorner:_43f.aroundCorner,x:_448,y:_449,w:_44a,h:_44b,overflow:_441,spaceAvailable:_442};}return !_441;});if(best.overflow&&_43d){_43d(node,best.aroundCorner,best.corner,best.spaceAvailable,_43e);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_437.get(body,"position"))){top-=_437.get(body,"marginTop");side-=_437.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _44c={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _44d={at:function(node,pos,_44e,_44f,_450){var _451=_435.map(_44e,function(_452){var c={corner:_452,aroundCorner:_44c[_452],pos:{x:pos.x,y:pos.y}};if(_44f){c.pos.x+=_452.charAt(1)=="L"?_44f.x:-_44f.x;c.pos.y+=_452.charAt(0)=="T"?_44f.y:-_44f.y;}return c;});return _43b(node,_451,_450);},around:function(node,_453,_454,_455,_456){var _457;if(typeof _453=="string"||"offsetWidth" in _453||"ownerSVGElement" in _453){_457=_436.position(_453,true);if(/^(above|below)/.test(_454[0])){var _458=_436.getBorderExtents(_453),_459=_453.firstChild?_436.getBorderExtents(_453.firstChild):{t:0,l:0,b:0,r:0},_45a=_436.getBorderExtents(node),_45b=node.firstChild?_436.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_457.y+=Math.min(_458.t+_459.t,_45a.t+_45b.t);_457.h-=Math.min(_458.t+_459.t,_45a.t+_45b.t)+Math.min(_458.b+_459.b,_45a.b+_45b.b);}}else{_457=_453;}if(_453.parentNode){var _45c=_437.getComputedStyle(_453).position=="absolute";var _45d=_453.parentNode;while(_45d&&_45d.nodeType==1&&_45d.nodeName!="BODY"){var _45e=_436.position(_45d,true),pcs=_437.getComputedStyle(_45d);if(/relative|absolute/.test(pcs.position)){_45c=false;}if(!_45c&&/hidden|auto|scroll/.test(pcs.overflow)){var _45f=Math.min(_457.y+_457.h,_45e.y+_45e.h);var _460=Math.min(_457.x+_457.w,_45e.x+_45e.w);_457.x=Math.max(_457.x,_45e.x);_457.y=Math.max(_457.y,_45e.y);_457.h=_45f-_457.y;_457.w=_460-_457.x;}if(pcs.position=="absolute"){_45c=true;}_45d=_45d.parentNode;}}var x=_457.x,y=_457.y,_461="w" in _457?_457.w:(_457.w=_457.width),_462="h" in _457?_457.h:(_438.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_457.height+", width:"+_461+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+_457.height+", w:"+_461+" }","","2.0"),_457.h=_457.height);var _463=[];function push(_464,_465){_463.push({aroundCorner:_464,corner:_465,pos:{x:{"L":x,"R":x+_461,"M":x+(_461>>1)}[_464.charAt(1)],y:{"T":y,"B":y+_462,"M":y+(_462>>1)}[_464.charAt(0)]}});};_435.forEach(_454,function(pos){var ltr=_455;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 _466=_43b(node,_463,_456,{w:_461,h:_462});_466.aroundNodePos=_457;return _466;}};return _43a.place=_44d;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_467,on,_468,has,_469){var _46a=new _467();var _46b;_468(function(){var _46c=_469.getBox();_46a._rlh=on(window,"resize",function(){var _46d=_469.getBox();if(_46c.h==_46d.h&&_46c.w==_46d.w){return;}_46c=_46d;_46a.emit("resize");});if(has("ie")==8){var _46e=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_46e){_46e=screen.deviceXDPI;_46a.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_46b=evt.target;});on(document,"focusout",function(evt){_46b=null;});}});_46a.getEffectiveBox=function(doc){var box=_469.getBox(doc);var tag=_46b&&_46b.tagName&&_46b.tagName.toLowerCase();if(has("ios")&&_46b&&!_46b.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_46b.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_46b.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _46a;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_46f,win,_470){var _471=_470._createWrapper;_470._createWrapper=function(_472){if(!_472.declaredClass){_472={_popupWrapper:(_472.parentNode&&_46f.contains(_472.parentNode,"dijitPopup"))?_472.parentNode:null,domNode:_472,destroy:function(){},ownerDocument:_472.ownerDocument,ownerDocumentBody:win.body(_472.ownerDocument)};}return _471.call(this,_472);};var _473=_470.open;_470.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 _473.call(this,args);};return _470;});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_474,_475,_476,dom,_477,_478,_479,_47a,has,keys,lang,on,_47b,_47c,_47d,_47e){function _47f(){if(this._popupWrapper){_478.destroy(this._popupWrapper);delete this._popupWrapper;}};var _480=_476(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _481=this._firstAroundPosition,_482=_479.position(this._firstAroundNode,true),dx=_482.x-_481.x,dy=_482.y-_481.y;if(dx||dy){this._firstAroundPosition=_482;for(var i=0;i<this._stack.length;i++){var _483=this._stack[i].wrapper.style;_483.top=(parseFloat(_483.top)+dy)+"px";if(_483.right=="auto"){_483.left=(parseFloat(_483.left)+dx)+"px";}else{_483.right=(parseFloat(_483.right)-dx)+"px";}}}this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),dx||dy?10:50);}},_createWrapper:function(_484){var _485=_484._popupWrapper,node=_484.domNode;if(!_485){_485=_478.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_484["aria-label"]||_484.label||_484.name||_484.id},_484.ownerDocumentBody);_485.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_484._popupWrapper=_485;_475.after(_484,"destroy",_47f,true);if("ontouchend" in document){on(_485,"touchend",function(evt){if(!/^(input|button|textarea)$/i.test(evt.target.tagName)){evt.preventDefault();}});}_485.dojoClick=true;}return _485;},moveOffScreen:function(_486){var _487=this._createWrapper(_486);var ltr=_479.isBodyLtr(_486.ownerDocument),_488={visibility:"hidden",top:"-9999px",display:""};_488[ltr?"left":"right"]="-9999px";_488[ltr?"right":"left"]="auto";_47a.set(_487,_488);return _487;},hide:function(_489){var _48a=this._createWrapper(_489);_47a.set(_48a,{display:"none",height:"auto",overflowY:"visible",border:""});var node=_489.domNode;if("_originalStyle" in node){node.style.cssText=node._originalStyle;}},getTopPopup:function(){var _48b=this._stack;for(var pi=_48b.length-1;pi>0&&_48b[pi].parent===_48b[pi-1].widget;pi--){}return _48b[pi];},open:function(args){var _48c=this._stack,_48d=args.popup,node=_48d.domNode,_48e=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_479.isBodyLtr(_48d.ownerDocument),_48f=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_48c.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_48c[_48c.length-1].widget.domNode))){this.close(_48c[_48c.length-1].widget);}var _490=this.moveOffScreen(_48d);if(_48d.startup&&!_48d._started){_48d.startup();}var _491,_492=_479.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_491=args.maxHeight||Infinity;}else{var _493=_47d.getEffectiveBox(this.ownerDocument),_494=_48f?_479.position(_48f,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_491=Math.floor(Math.max(_494.y,_493.h-(_494.y+_494.h)));}if(_492.h>_491){var cs=_47a.getComputedStyle(node),_495=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_47a.set(_490,{overflowY:"scroll",height:_491+"px",border:_495});node._originalStyle=node.style.cssText;node.style.border="none";}_477.set(_490,{id:id,style:{zIndex:this._beginZIndex+_48c.length},"class":"dijitPopup "+(_48d.baseClass||_48d["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_48c.length==0&&_48f){this._firstAroundNode=_48f;this._firstAroundPosition=_479.position(_48f,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_48d.bgIframe){_48d.bgIframe=new _47c(_490);}var _496=_48d.orient?lang.hitch(_48d,"orient"):null,best=_48f?_47b.around(_490,_48f,_48e,ltr,_496):_47b.at(_490,args,_48e=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_496);_490.style.visibility="visible";node.style.visibility="visible";var _497=[];_497.push(on(_490,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _498=this.getTopPopup();if(_498&&_498.onCancel){_498.onCancel();}}}})));if(_48d.onCancel&&args.onCancel){_497.push(_48d.on("cancel",args.onCancel));}_497.push(_48d.on(_48d.onExecute?"execute":"change",lang.hitch(this,function(){var _499=this.getTopPopup();if(_499&&_499.onExecute){_499.onExecute();}})));_48c.push({widget:_48d,wrapper:_490,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_497});if(_48d.onOpen){_48d.onOpen(best);}return best;},close:function(_49a){var _49b=this._stack;while((_49a&&_474.some(_49b,function(elem){return elem.widget==_49a;}))||(!_49a&&_49b.length)){var top=_49b.pop(),_49c=top.widget,_49d=top.onClose;if(_49c.bgIframe){_49c.bgIframe.destroy();delete _49c.bgIframe;}if(_49c.onClose){_49c.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_49c&&_49c.domNode){this.hide(_49c);}if(_49d){_49d();}}if(_49b.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_47e.popup=new _480());});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_49e,_49f,_4a0,_4a1,_4a2,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _4a3=new function(){var _4a4=[];this.pop=function(){var _4a5;if(_4a4.length){_4a5=_4a4.pop();_4a5.style.display="";}else{if(has("ie")<9){var burl=_4a0["dojoBlankHtmlUrl"]||_49e.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\");'>";_4a5=document.createElement(html);}else{_4a5=_4a1.create("iframe");_4a5.src="javascript:\"\"";_4a5.className="dijitBackgroundIframe";_4a5.setAttribute("role","presentation");_4a2.set(_4a5,"opacity",0.1);}_4a5.tabIndex=-1;}return _4a5;};this.push=function(_4a6){_4a6.style.display="none";_4a4.push(_4a6);};}();_49f.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _4a7=(this.iframe=_4a3.pop());node.appendChild(_4a7);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_4a2.set(_4a7,{width:"100%",height:"100%"});}}};lang.extend(_49f.BackgroundIframe,{resize:function(node){if(this.iframe){_4a2.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){this.iframe.parentNode.removeChild(this.iframe);_4a3.push(this.iframe);delete this.iframe;}}});return _49f.BackgroundIframe;});},"dijit/_base/scroll":function(){define(["dojo/window","../main"],function(_4a8,_4a9){_4a9.scrollIntoView=function(node,pos){_4a8.scrollIntoView(node,pos);};});},"dijit/_base/sniff":function(){define(["dojo/uacss"],function(){});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],function(_4aa,_4ab,lang,on,has,_4ac){var _4ad=(_4ac.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,_4ae,node,_4af,obj,_4b0,_4b1,_4b2){if(obj!=this._obj){this.stop();this._initialDelay=_4b1||500;this._subsequentDelay=_4b0||0.9;this._minDelay=_4b2||10;this._obj=obj;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=lang.hitch(_4ae,_4af);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,_4b3,_4b4,_4b5,_4b6,_4b7,_4b8){var type="keyCode" in _4b3?"keydown":"charCode" in _4b3?"keypress":_4ab._keypress,attr="keyCode" in _4b3?"keyCode":"charCode" in _4b3?"charCode":"charOrCode";var _4b9=[on(node,type,lang.hitch(this,function(evt){if(evt[attr]==_4b3[attr]&&(_4b3.ctrlKey===undefined||_4b3.ctrlKey==evt.ctrlKey)&&(_4b3.altKey===undefined||_4b3.altKey==evt.altKey)&&(_4b3.metaKey===undefined||_4b3.metaKey==(evt.metaKey||false))&&(_4b3.shiftKey===undefined||_4b3.shiftKey==evt.shiftKey)){evt.stopPropagation();evt.preventDefault();_4ad.trigger(evt,_4b4,node,_4b5,_4b3,_4b6,_4b7,_4b8);}else{if(_4ad._obj==_4b3){_4ad.stop();}}})),on(node,"keyup",lang.hitch(this,function(){if(_4ad._obj==_4b3){_4ad.stop();}}))];return {remove:function(){_4aa.forEach(_4b9,function(h){h.remove();});}};},addMouseListener:function(node,_4ba,_4bb,_4bc,_4bd,_4be){var _4bf=[on(node,"mousedown",lang.hitch(this,function(evt){evt.preventDefault();_4ad.trigger(evt,_4ba,node,_4bb,node,_4bc,_4bd,_4be);})),on(node,"mouseup",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_4ad.stop();})),on(node,"mouseout",lang.hitch(this,function(evt){if(this._obj){evt.preventDefault();}_4ad.stop();})),on(node,"dblclick",lang.hitch(this,function(evt){evt.preventDefault();if(has("ie")<9){_4ad.trigger(evt,_4ba,node,_4bb,node,_4bc,_4bd,_4be);setTimeout(lang.hitch(this,_4ad.stop),50);}}))];return {remove:function(){_4aa.forEach(_4bf,function(h){h.remove();});}};},addListener:function(_4c0,_4c1,_4c2,_4c3,_4c4,_4c5,_4c6,_4c7){var _4c8=[this.addKeyListener(_4c1,_4c2,_4c3,_4c4,_4c5,_4c6,_4c7),this.addMouseListener(_4c0,_4c3,_4c4,_4c5,_4c6,_4c7)];return {remove:function(){_4aa.forEach(_4c8,function(h){h.remove();});}};}});return _4ad;});},"dijit/_base/wai":function(){define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_4c9,lang,_4ca){var _4cb={hasWaiRole:function(elem,role){var _4cc=this.getWaiRole(elem);return role?(_4cc.indexOf(role)>-1):(_4cc.length>0);},getWaiRole:function(elem){return lang.trim((_4c9.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_4c9.set(elem,"role",role);},removeWaiRole:function(elem,role){var _4cd=_4c9.get(elem,"role");if(!_4cd){return;}if(role){var t=lang.trim((" "+_4cd+" ").replace(" "+role+" "," "));_4c9.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_4ce){return elem.hasAttribute?elem.hasAttribute("aria-"+_4ce):!!elem.getAttribute("aria-"+_4ce);},getWaiState:function(elem,_4cf){return elem.getAttribute("aria-"+_4cf)||"";},setWaiState:function(elem,_4d0,_4d1){elem.setAttribute("aria-"+_4d0,_4d1);},removeWaiState:function(elem,_4d2){elem.removeAttribute("aria-"+_4d2);}};lang.mixin(_4ca,_4cb);return _4ca;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_4d3,has,_4d4,win){_4d4(function(){if(has("highcontrast")){_4d3.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_4d5,_4d6,_4d7,_4d8,has,_4d9,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_4d6.blankGif||_4d5.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_4d8.getComputedStyle(div),_4da=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_4da&&(_4da=="none"||_4da=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_4d9(function(){if(has("highcontrast")){_4d7.add(win.body(),"dj_a11y");}});return has;});},"dijit/_base/window":function(){define(["dojo/window","../main"],function(_4db,_4dc){_4dc.getDocumentWindow=function(doc){return _4db.get(doc);};});},"dijit/_Widget":function(){define(["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(_4dd,_4de,_4df,_4e0,has,_4e1,lang,_4e2,_4e3,_4e4,_4e5,_4e6,_4e7){function _4e8(){};function _4e9(_4ea){return function(obj,_4eb,_4ec,_4ed){if(obj&&typeof _4eb=="string"&&obj[_4eb]==_4e8){return obj.on(_4eb.substring(2).toLowerCase(),lang.hitch(_4ec,_4ed));}return _4ea.apply(_4df,arguments);};};_4dd.around(_4df,"connect",_4e9);if(_4e1.connect){_4dd.around(_4e1,"connect",_4e9);}var _4ee=_4e0("dijit._Widget",[_4e5,_4e6,_4e7],{onClick:_4e8,onDblClick:_4e8,onKeyDown:_4e8,onKeyPress:_4e8,onKeyUp:_4e8,onMouseDown:_4e8,onMouseMove:_4e8,onMouseOut:_4e8,onMouseOver:_4e8,onMouseLeave:_4e8,onMouseEnter:_4e8,onMouseUp:_4e8,constructor:function(_4ef){this._toConnect={};for(var name in _4ef){if(this[name]===_4e8){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_4ef[name];delete _4ef[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)]===_4e8){return _4df.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_4f0){_4e1.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_4f0);},attr:function(name,_4f1){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_4e1.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_4e2("[widgetId]",this.containerNode).map(_4e4.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(has("dijit-legacy-requires")){_4e3(0,function(){var _4f2=["dijit/_base"];require(_4f2);});}return _4ee;});},"dijit/_WidgetBase":function(){define(["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","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_4f3,_4f4,_4f5,_4f6,_4f7,_4f8,dom,_4f9,_4fa,_4fb,_4fc,_4fd,has,_4fe,lang,on,_4ff,_500,_501,win,_502,_503,_504){has.add("dijit-legacy-requires",!_4fe.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_4ff(0,function(){var _505=["dijit/_base/manager"];_4f3(_505);});}var _506={};function _507(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _508(attr){return function(val){_4f9[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _509(a,b){return a===b||(a!==a&&b!==b);};var _50a=_4f8("dijit._WidgetBase",[_500,_502],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_508("lang"),dir:"",_setDirAttr:_508("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{},_blankGif:_4f6.blankGif||_4f3.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _50b=ctor.prototype,_50c=ctor._setterAttrs=[],_50d=(ctor._onMap={});for(var name in _50b.attributeMap){_50c.push(name);}for(name in _50b){if(/^on/.test(name)){_50d[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_50b.attributeMap||!(name in _50b.attributeMap)){_50c.push(name);}}}}},postscript:function(_50e,_50f){this.create(_50e,_50f);},create:function(_510,_511){this._introspect();this.srcNodeRef=dom.byId(_511);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&this.srcNodeRef.id&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_510){this.params=_510;lang.mixin(this,_510);}this.postMixInProperties();if(!this.id){this.id=_504.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_504.add(this);this.buildRendering();var _512;if(this.domNode){this._applyAttributes();var _513=this.srcNodeRef;if(_513&&_513.parentNode&&this.domNode!==_513){_513.parentNode.replaceChild(this.domNode,_513);_512=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_512){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _514={};for(var key in this.params||{}){_514[key]=this._get(key);}_4f4.forEach(this.constructor._setterAttrs,function(key){if(!(key in _514)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _514){this.set(key,_514[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _515=this.baseClass.split(" ");if(!this.isLeftToRight()){_515=_515.concat(_4f4.map(_515,function(name){return name+"Rtl";}));}_4fa.add(this.domNode,_515);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_4f4.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_516){this._beingDestroyed=true;this.destroyDescendants(_516);this.destroy(_516);},destroy:function(_517){this._beingDestroyed=true;this.uninitialize();function _518(w){if(w.destroyRecursive){w.destroyRecursive(_517);}else{if(w.destroy){w.destroy(_517);}}};_4f4.forEach(this._connects,lang.hitch(this,"disconnect"));_4f4.forEach(this._supportingWidgets,_518);if(this.domNode){_4f4.forEach(_504.findWidgets(this.domNode,this.containerNode),_518);}this.destroyRendering(_517);_504.remove(this.id);this._destroyed=true;},destroyRendering:function(_519){if(this.bgIframe){this.bgIframe.destroy(_519);delete this.bgIframe;}if(this.domNode){if(_519){_4f9.remove(this.domNode,"widgetId");}else{_4fb.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_519){_4fb.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_51a){_4f4.forEach(this.getChildren(),function(_51b){if(_51b.destroyRecursive){_51b.destroyRecursive(_51a);}});},uninitialize:function(){return false;},_setStyleAttr:function(_51c){var _51d=this.domNode;if(lang.isObject(_51c)){_4fd.set(_51d,_51c);}else{if(_51d.style.cssText){_51d.style.cssText+="; "+_51c;}else{_51d.style.cssText=_51c;}}this._set("style",_51c);},_attrToDom:function(attr,_51e,_51f){_51f=arguments.length>=3?_51f:this.attributeMap[attr];_4f4.forEach(lang.isArray(_51f)?_51f:[_51f],function(_520){var _521=this[_520.node||_520||"domNode"];var type=_520.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_51e)){_51e=lang.hitch(this,_51e);}var _522=_520.attribute?_520.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_521.tagName){_4f9.set(_521,_522,_51e);}else{_521.set(_522,_51e);}break;case "innerText":_521.innerHTML="";_521.appendChild(this.ownerDocument.createTextNode(_51e));break;case "innerHTML":_521.innerHTML=_51e;break;case "class":_4fa.replace(_521,_51e,this[attr]);break;case "toggleClass":_4fa.toggle(_521,_520.className||attr,_51e);break;}},this);},get:function(name){var _523=this._getAttrNames(name);return this[_523.g]?this[_523.g]():this._get(name);},set:function(name,_524){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _525=this._getAttrNames(name),_526=this[_525.s];if(lang.isFunction(_526)){var _527=_526.apply(this,Array.prototype.slice.call(arguments,1));}else{var _528=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_528]&&this[_528].tagName,_529=tag&&(_506[tag]||(_506[tag]=_507(this[_528]))),map=name in this.attributeMap?this.attributeMap[name]:_525.s in this?this[_525.s]:((_529&&_525.l in _529&&typeof _524!="function")||/^aria-|^data-|^role$/.test(name))?_528:null;if(map!=null){this._attrToDom(name,_524,map);}this._set(name,_524);}return _527||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,_52a){var _52b=this[name];this[name]=_52a;if(this._created&&!_509(_52b,_52a)){if(this._watchCallbacks){this._watchCallbacks(name,_52b,_52a);}this.emit("attrmodified-"+name,{detail:{prevValue:_52b,newValue:_52a}});}},_get:function(name){return this[name];},emit:function(type,_52c,_52d){_52c=_52c||{};if(_52c.bubbles===undefined){_52c.bubbles=true;}if(_52c.cancelable===undefined){_52c.cancelable=true;}if(!_52c.detail){_52c.detail={};}_52c.detail.widget=this;var ret,_52e=this["on"+type];if(_52e){ret=_52e.apply(this,_52d?_52d:[_52c]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_52c);}return ret;},on:function(type,func){var _52f=this._onMap(type);if(_52f){return _4f5.after(this,_52f,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?_504.findWidgets(this.containerNode):[];},getParent:function(){return _504.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_530,_531){return this.own(_4f7.connect(obj,_530,this,_531))[0];},disconnect:function(_532){_532.remove();},subscribe:function(t,_533){return this.own(_501.subscribe(t,lang.hitch(this,_533)))[0];},unsubscribe:function(_534){_534.remove();},isLeftToRight:function(){return this.dir?(this.dir.toLowerCase()=="ltr"):_4fc.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_4fd.get(this.domNode,"display")!="none");},placeAt:function(_535,_536){var _537=!_535.tagName&&_504.byId(_535);if(_537&&_537.addChild&&(!_536||typeof _536==="number")){_537.addChild(this,_536);}else{var ref=_537&&("domNode" in _537)?(_537.containerNode&&!/after|before|replace/.test(_536||"")?_537.containerNode:_537.domNode):dom.byId(_535,this.ownerDocument);_4fb.place(this.domNode,ref,_536);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_538){var _539=setTimeout(lang.hitch(this,function(){if(!_539){return;}_539=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_538||0);return {remove:function(){if(_539){clearTimeout(_539);_539=null;}return null;}};}});if(has("dojo-bidi")){_50a.extend(_503);}return _50a;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_53a,_53b,_53c){return _53c("dijit.Destroyable",null,{destroy:function(_53d){this._destroyed=true;},own:function(){var _53e=["destroyRecursive","destroy","remove"];_53a.forEach(arguments,function(_53f){var _540;var odh=_53b.before(this,"destroy",function(_541){_53f[_540](_541);});var hdhs=[];function _542(){odh.remove();_53a.forEach(hdhs,function(hdh){hdh.remove();});};if(_53f.then){_540="cancel";_53f.then(_542,_542);}else{_53a.forEach(_53e,function(_543){if(typeof _53f[_543]==="function"){if(!_540){_540=_543;}hdhs.push(_53b.after(_53f,_543,_542,true));}});}},this);return arguments;}});});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_544,keys,_545,has,_546){var ret=_545("dijit._OnDijitClickMixin",null,{connect:function(obj,_547,_548){return this.inherited(arguments,[obj,_547=="ondijitclick"?_546:_547,_548]);}});ret.a11yclick=_546;return ret;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(keys,_549,on,_54a){function _54b(e){if((e.keyCode===keys.ENTER||e.keyCode===keys.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var node=e.target;node;node=node.parentNode){if(node.dojoClick){return true;}}}};var _54c;on(document,"keydown",function(e){if(_54b(e)){_54c=e.target;e.preventDefault();}else{_54c=null;}});on(document,"keyup",function(e){if(_54b(e)&&e.target==_54c){_54c=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _54d=function(node,_54e){node.dojoClick=true;return on(node,"click",_54e);};_54d.click=_54d;_54d.press=function(node,_54f){var _550=on(node,_54a.press,function(evt){if(evt.type=="mousedown"&&!_549.isLeft(evt)){return;}_54f(evt);}),_551=on(node,"keydown",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_54f(evt);}});return {remove:function(){_550.remove();_551.remove();}};};_54d.release=function(node,_552){var _553=on(node,_54a.release,function(evt){if(evt.type=="mouseup"&&!_549.isLeft(evt)){return;}_552(evt);}),_554=on(node,"keyup",function(evt){if(evt.keyCode===keys.ENTER||evt.keyCode===keys.SPACE){_552(evt);}});return {remove:function(){_553.remove();_554.remove();}};};_54d.move=_54a.move;return _54d;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_555,_556,_557,lang){lang.extend(_556,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _557("dijit._FocusMixin",null,{_focusManager:_555});});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_558,_559,_55a,lang,on,has,_55b,_55c){var _55d=_559("dijit._TemplatedMixin",_55c,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(tmpl){var _55e=this.declaredClass,_55f=this;return _55b.substitute(tmpl,this,function(_560,key){if(key.charAt(0)=="!"){_560=lang.getObject(key.substr(1),false,_55f);}if(typeof _560=="undefined"){throw new Error(_55e+" template:"+key);}if(_560==null){return "";}return key.charAt(0)=="!"?_560:this._escapeValue(""+_560);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&","<":"<",">":">","\"":""","'":"'"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_558(this.templatePath,{sanitize:true});}var _561=_55d.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var node;if(lang.isString(_561)){node=_55a.toDom(this._stringRepl(_561),this.ownerDocument);if(node.nodeType!=1){throw new Error("Invalid template: "+_561);}}else{node=_561.cloneNode(true);}this.domNode=node;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_562){var dest=this.containerNode;if(_562&&dest){while(_562.hasChildNodes()){dest.appendChild(_562.firstChild);}}}});_55d._templateCache={};_55d.getCachedTemplate=function(_563,_564,doc){var _565=_55d._templateCache;var key=_563;var _566=_565[key];if(_566){try{if(!_566.ownerDocument||_566.ownerDocument==(doc||document)){return _566;}}catch(e){}_55a.destroy(_566);}_563=_55b.trim(_563);if(_564||_563.match(/\$\{([^\}]+)\}/g)){return (_565[key]=_563);}else{var node=_55a.toDom(_563,doc);if(node.nodeType!=1){throw new Error("Invalid template: "+_563);}return (_565[key]=node);}};if(has("ie")){on(window,"unload",function(){var _567=_55d._templateCache;for(var key in _567){var _568=_567[key];if(typeof _568=="object"){_55a.destroy(_568);}delete _567[key];}});}return _55d;});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_569,_56a,_56b,_56c,lang,_56d,on,_56e,_56f){var _570=lang.delegate(_56e,{"mouseenter":_56d.enter,"mouseleave":_56d.leave,"keypress":_56b._keypress});var _571;var _572=_56c("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_573){var node=_573;while(true){if(node.nodeType==1&&(this._processTemplateNode(node,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&node.firstChild){node=node.firstChild;}else{if(node==_573){return;}while(!node.nextSibling){node=node.parentNode;if(node==_573){return;}}node=node.nextSibling;}}},_processTemplateNode:function(_574,_575,_576){var ret=true;var _577=this.attachScope||this,_578=_575(_574,"dojoAttachPoint")||_575(_574,"data-dojo-attach-point");if(_578){var _579,_57a=_578.split(/\s*,\s*/);while((_579=_57a.shift())){if(lang.isArray(_577[_579])){_577[_579].push(_574);}else{_577[_579]=_574;}ret=(_579!="containerNode");this._attachPoints.push(_579);}}var _57b=_575(_574,"dojoAttachEvent")||_575(_574,"data-dojo-attach-event");if(_57b){var _57c,_57d=_57b.split(/\s*,\s*/);var trim=lang.trim;while((_57c=_57d.shift())){if(_57c){var _57e=null;if(_57c.indexOf(":")!=-1){var _57f=_57c.split(":");_57c=trim(_57f[0]);_57e=trim(_57f[1]);}else{_57c=trim(_57c);}if(!_57e){_57e=_57c;}this._attachEvents.push(_576(_574,_57c,lang.hitch(_577,_57e)));}}}return ret;},_attach:function(node,type,func){type=type.replace(/^on/,"").toLowerCase();if(type=="dijitclick"){type=_571||(_571=_569("./a11yclick"));}else{type=_570[type]||type;}return on(node,type,func);},_detachTemplateNodes:function(){var _580=this.attachScope||this;_56a.forEach(this._attachPoints,function(_581){delete _580[_581];});this._attachPoints=[];_56a.forEach(this._attachEvents,function(_582){_582.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});lang.extend(_56f,{dojoAttachEvent:"",dojoAttachPoint:""});return _572;});},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_583,_584,_585,_586){return _584("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_587,_588){var _589=this.containerNode;if(_588>0){_589=_589.firstChild;while(_588>0){if(_589.nodeType==1){_588--;}_589=_589.nextSibling;}if(_589){_588="before";}else{_589=this.containerNode;_588="last";}}_585.place(_587.domNode,_589,_588);if(this._started&&!_587._started){_587.startup();}},removeChild:function(_58a){if(typeof _58a=="number"){_58a=this.getChildren()[_58a];}if(_58a){var node=_58a.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_58b,dir){var _58c=this.getChildren(),idx=_583.indexOf(_58c,_58b);return _58c[idx+dir];},getIndexOfChild:function(_58d){return _583.indexOf(this.getChildren(),_58d);}});});},"dijit/layout/_LayoutWidget":function(){define(["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(lang,_58e,_58f,_590,_591,_592,_593,_594,_595){return _592("dijit.layout._LayoutWidget",[_58e,_58f,_590],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments);_593.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _596=this.getParent&&this.getParent();if(!(_596&&_596.isLayoutContainer)){this.resize();this.own(_591.on("resize",lang.hitch(this,"resize")));}},resize:function(_597,_598){var node=this.domNode;if(_597){_594.setMarginBox(node,_597);}var mb=_598||{};lang.mixin(mb,_597||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_594.getMarginBox(node),mb);}var cs=_595.getComputedStyle(node);var me=_594.getMarginExtents(node,cs);var be=_594.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_594.getPadExtents(node,cs);this._contentBox={l:_595.toPixelValue(node,cs.paddingLeft),t:_595.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_599){var cls=this.baseClass+"-child "+(_599.baseClass?this.baseClass+"-"+_599.baseClass:"");_593.add(_599.domNode,cls);},addChild:function(_59a,_59b){this.inherited(arguments);if(this._started){this._setupChild(_59a);}},removeChild:function(_59c){var cls=this.baseClass+"-child"+(_59c.baseClass?" "+this.baseClass+"-"+_59c.baseClass:"");_593.remove(_59c.domNode,cls);this.inherited(arguments);}});});},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(_59d,_59e){return _59d("dijit._Contained",null,{_getSibling:function(_59f){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_59f=="previous"?-1:1))||null;},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/form/_FormWidget":function(){define(["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_5a0,has,_5a1,_5a2,_5a3,_5a4,_5a5,_5a6){if(has("dijit-legacy-requires")){_5a2(0,function(){var _5a7=["dijit/form/_FormValueWidget"];require(_5a7);});}return _5a0("dijit.form._FormWidget",[_5a3,_5a5,_5a4,_5a6],{setDisabled:function(_5a8){_5a1.deprecated("setDisabled("+_5a8+") is deprecated. Use set('disabled',"+_5a8+") instead.","","2.0");this.set("disabled",_5a8);},setValue:function(_5a9){_5a1.deprecated("dijit.form._FormWidget:setValue("+_5a9+") is deprecated. Use set('value',"+_5a9+") instead.","","2.0");this.set("value",_5a9);},getValue:function(){_5a1.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=(this.name&&!has("msapp"))?("name=\""+this.name.replace(/"/g,""")+"\""):"";this.inherited(arguments);}});});},"dijit/_CssStateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_5aa,_5ab,dom,_5ac,has,lang,on,_5ad,_5ae,win,_5af,_5b0){var _5b1=_5ab("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_5aa.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(_5b2){if(!this.disabled){switch(_5b2.type){case "mouseover":case "MSPointerOver":case "pointerover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":case "pointerout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":this._set("active",true);break;case "mouseup":case "dojotouchend":case "MSPointerUp":case "pointerup":case "keyup":this._set("active",false);break;}}},_setStateClass:function(){var _5b3=this.baseClass.split(" ");function _5b4(_5b5){_5b3=_5b3.concat(_5aa.map(_5b3,function(c){return c+_5b5;}),"dijit"+_5b5);};if(!this.isLeftToRight()){_5b4("Rtl");}var _5b6=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_5b4(_5b6);}if(this.state){_5b4(this.state);}if(this.selected){_5b4("Selected");}if(this._opened){_5b4("Opened");}if(this.disabled){_5b4("Disabled");}else{if(this.readOnly){_5b4("ReadOnly");}else{if(this.active){_5b4("Active");}else{if(this.hovering){_5b4("Hover");}}}}if(this.focused){_5b4("Focused");}var tn=this.stateNode||this.domNode,_5b7={};_5aa.forEach(tn.className.split(" "),function(c){_5b7[c]=true;});if("_stateClasses" in this){_5aa.forEach(this._stateClasses,function(c){delete _5b7[c];});}_5aa.forEach(_5b3,function(c){_5b7[c]=true;});var _5b8=[];for(var c in _5b7){_5b8.push(c);}tn.className=_5b8.join(" ");this._stateClasses=_5b3;},_subnodeCssMouseEvent:function(node,_5b9,evt){if(this.disabled||this.readOnly){return;}function _5ba(_5bb){_5ac.toggle(node,_5b9+"Hover",_5bb);};function _5bc(_5bd){_5ac.toggle(node,_5b9+"Active",_5bd);};function _5be(_5bf){_5ac.toggle(node,_5b9+"Focused",_5bf);};switch(evt.type){case "mouseover":case "MSPointerOver":case "pointerover":_5ba(true);break;case "mouseout":case "MSPointerOut":case "pointerout":_5ba(false);_5bc(false);break;case "mousedown":case "touchstart":case "MSPointerDown":case "pointerdown":case "keydown":_5bc(true);break;case "mouseup":case "MSPointerUp":case "pointerup":case "dojotouchend":case "keyup":_5bc(false);break;case "focus":case "focusin":_5be(true);break;case "blur":case "focusout":_5be(false);break;}},_trackMouseState:function(node,_5c0){node._cssState=_5c0;}});_5ad(function(){function _5c1(evt,_5c2,_5c3){if(_5c3&&dom.isDescendant(_5c3,_5c2)){return;}for(var node=_5c2;node&&node!=_5c3;node=node.parentNode){if(node._cssState){var _5c4=_5b0.getEnclosingWidget(node);if(_5c4){if(node==_5c4.domNode){_5c4._cssMouseEvent(evt);}else{_5c4._subnodeCssMouseEvent(node,node._cssState,evt);}}}}};var body=win.body(),_5c5;on(body,_5ae.over,function(evt){_5c1(evt,evt.target,evt.relatedTarget);});on(body,_5ae.out,function(evt){_5c1(evt,evt.target,evt.relatedTarget);});on(body,_5af.press,function(evt){_5c5=evt.target;_5c1(evt,_5c5);});on(body,_5af.release,function(evt){_5c1(evt,_5c5);_5c5=null;});on(body,"focusin, focusout",function(evt){var node=evt.target;if(node._cssState&&!node.getAttribute("widgetId")){var _5c6=_5b0.getEnclosingWidget(node);if(_5c6){_5c6._subnodeCssMouseEvent(node,node._cssState,evt);}}});});return _5b1;});},"dijit/form/_FormWidgetMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],function(_5c7,_5c8,_5c9,_5ca,lang,_5cb,on,has,_5cc,a11y){return _5c8("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(_5cd){this._set("disabled",_5cd);if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){_5c9.set(this.focusNode,"disabled",_5cd);}else{this.focusNode.setAttribute("aria-disabled",_5cd?"true":"false");}if(this.valueNode){_5c9.set(this.valueNode,"disabled",_5cd);}if(_5cd){this._set("hovering",false);this._set("active",false);var _5ce="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_5c7.forEach(lang.isArray(_5ce)?_5ce:[_5ce],function(_5cf){var node=this[_5cf];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 _5d0=this.own(on(this.focusNode,"focus",function(){_5d1.remove();_5d0.remove();}))[0];var _5d2=has("pointer-events")?"pointerup":has("MSPointer")?"MSPointerUp":has("touch-events")?"touchend, mouseup":"mouseup";var _5d1=this.own(on(this.ownerDocumentBody,_5d2,lang.hitch(this,function(evt){_5d1.remove();_5d0.remove();if(this.focused){if(evt.type=="touchend"){this.defer("focus");}else{this.focus();}}})))[0];}if(this.scrollOnFocus){this.defer(function(){_5cc.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_5ca.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(_5d3,_5d4){if(this._lastValueReported==undefined&&(_5d4===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_5d3;}this._pendingOnChange=this._pendingOnChange||(typeof _5d3!=typeof this._lastValueReported)||(this.compare(_5d3,this._lastValueReported)!=0);if((this.intermediateChanges||_5d4||_5d4===undefined)&&this._pendingOnChange){this._lastValueReported=_5d3;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_5d3);});}}},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(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(_5d5,has,_5d6,_5d7){return _5d5("dijit.form._FormValueWidget",[_5d6,_5d7],{_layoutHackIE7:function(){if(has("ie")==7){var _5d8=this.domNode;var _5d9=_5d8.parentNode;var _5da=_5d8.firstChild||_5d8;var _5db=_5da.style.filter;var _5dc=this;while(_5d9&&_5d9.clientHeight==0){(function ping(){var _5dd=_5dc.connect(_5d9,"onscroll",function(){_5dc.disconnect(_5dd);_5da.style.filter=(new Date()).getMilliseconds();_5dc.defer(function(){_5da.style.filter=_5db;});});})();_5d9=_5d9.parentNode;}}}});});},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","./_FormWidgetMixin"],function(_5de,_5df,keys,lang,on,_5e0){return _5de("dijit.form._FormValueMixin",_5e0,{readOnly:false,_setReadOnlyAttr:function(_5e1){_5df.set(this.focusNode,"readOnly",_5e1);this._set("readOnly",_5e1);},postCreate:function(){this.inherited(arguments);if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_5e2,_5e3){this._handleOnChange(_5e2,_5e3);},_handleOnChange:function(_5e4,_5e5){this._set("value",_5e4);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);}});});},"dijit/ColorPalette":function(){define(["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(_5e6,_5e7,_5e8,_5e9,_5ea,has,i18n,_5eb,_5ec,_5ed,_5ee){var _5ef=_5ec("dijit.ColorPalette",[_5e8,_5e9,_5ea],{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:_5e7,baseClass:"dijitColorPalette",_dyeFactory:function(_5f0,row,col,_5f1){return new this._dyeClass(_5f0,row,col,_5f1);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_5ec(_5ef._Color,{palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_5ef._Color=_5ec("dijit._Color",_5eb,{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":_5e6.toUrl("./themes/a11y/colors7x10.png"),"3x4":_5e6.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_5f2,row,col,_5f3){this._title=_5f3;this._row=row;this._col=col;this.setColor(_5eb.named[_5f2]);},getValue:function(){return this.toHex();},fillCell:function(cell,_5f4){var html=_5ee.substitute(has("highcontrast")?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_5f4,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"});_5ed.place(html,cell);}});return _5ef;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","./_CssStateMixin","./a11yclick","./focus","./typematic"],function(_5f5,_5f6,_5f7,_5f8,keys,lang,on,_5f9,_5fa,_5fb,_5fc){var _5fd=_5f5("dijit._PaletteMixin",_5f9,{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:null,_dyeFactory:function(_5fe){var _5ff=typeof this.dyeClass=="string"?lang.getObject(this.dyeClass):this.dyeClass;return new _5ff(_5fe);},_preparePalette:function(_600,_601){this._cells=[];var url=this._blankGif;this.own(on(this.gridNode,_5fa,lang.hitch(this,"_onCellClick")));for(var row=0;row<_600.length;row++){var _602=_5f8.create("tr",{tabIndex:"-1",role:"row"},this.gridNode);for(var col=0;col<_600[row].length;col++){var _603=_600[row][col];if(_603){var _604=this._dyeFactory(_603,row,col,_601[_603]);var _605=_5f8.create("td",{"class":this.cellClass,tabIndex:"-1",title:_601[_603],role:"gridcell"},_602);_604.fillCell(_605,url);_605.idx=this._cells.length;this._cells.push({node:_605,dye:_604});}}}this._xDim=_600[0].length;this._yDim=_600.length;var _606={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _606){this.own(_5fc.addKeyListener(this.domNode,{keyCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _607=_606[key];return function(_608){this._navigateByKey(_607,_608);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_5fb.focus(this._currentFocus);},_onCellClick:function(evt){var _609=evt.target;while(_609.tagName!="TD"){if(!_609.parentNode||_609==this.gridNode){return;}_609=_609.parentNode;}var _60a=this._getDye(_609).getValue();this._setCurrent(_609);_5fb.focus(_609);this._setValueAttr(_60a,true);evt.stopPropagation();evt.preventDefault();},_setCurrent:function(node){if("_currentFocus" in this){_5f6.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_5f6.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_60b,_60c){if(this._selectedCell>=0){_5f7.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_60b){for(var i=0;i<this._cells.length;i++){if(_60b==this._cells[i].dye.getValue()){this._selectedCell=i;_5f7.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_60b:null);if(_60c||_60c===undefined){this.onChange(_60b);}},onChange:function(){},_navigateByKey:function(_60d,_60e){if(_60e==-1){return;}var _60f=this._currentFocus.idx+_60d;if(_60f<this._cells.length&&_60f>-1){var _610=this._cells[_60f].node;this._setCurrent(_610);this.defer(lang.hitch(_5fb,"focus",_610));}},_getDye:function(cell){return this._cells[cell.idx].dye;}});return _5fd;});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_611,_612){var _613={};lang.setObject("dojo.colors",_613);var _614=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=_611.fromRgb=function(_615,obj){var m=_615.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=_612.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _611.fromArray(a,obj);}return _611.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=[_614(m1,m2,H+1/3)*256,_614(m1,m2,H)*256,_614(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _611.fromArray(a,obj);}}return null;};var _616=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_611.prototype.sanitize=function(){var t=this;t.r=Math.round(_616(t.r,0,255));t.g=Math.round(_616(t.g,0,255));t.b=Math.round(_616(t.b,0,255));t.a=_616(t.a,0,1);return this;};_613.makeGrey=_611.makeGrey=function(g,a){return _611.fromArray([g,g,g,a]);};lang.mixin(_611.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 _611;});},"dijit/Dialog":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","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","./layout/utils","dojo/text!./templates/Dialog.html","./a11yclick","dojo/i18n!./nls/common"],function(_617,_618,_619,_61a,_61b,dom,_61c,_61d,_61e,fx,i18n,keys,lang,on,_61f,has,_620,_621,_622,_623,_624,_625,_626,_627,_628,_629,_62a,_62b,_62c,_62d){var _62e=new _61b();_62e.resolve(true);function nop(){};var _62f=_61a("dijit._DialogBase"+(has("dojo-bidi")?"_NoBidi":""),[_626,_628,_629,_627],{templateString:_62d,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:false,duration:_624.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,draggable:true,_setDraggableAttr:function(val){this._set("draggable",val);},maxRatio:0.9,closable:true,_setClosableAttr:function(val){this.closeButtonNode.style.display=val?"":"none";this._set("closable",val);},postMixInProperties:function(){var _630=i18n.getLocalization("dijit","common");lang.mixin(this,_630);this.inherited(arguments);},postCreate:function(){_61e.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);_619.after(this,"onExecute",lang.hitch(this,"hide"),true);_619.after(this,"onCancel",lang.hitch(this,"hide"),true);this._modalconnects=[];},onLoad:function(){this.resize();this._position();if(this.autofocus&&_631.isTop(this)){this._getFocusItems();_623.focus(this._firstFocusItem);}this.inherited(arguments);},focus:function(){this._getFocusItems();_623.focus(this._firstFocusItem);},_endDrag:function(){var _632=_61d.position(this.domNode),_633=_620.getBox(this.ownerDocument);_632.y=Math.min(Math.max(_632.y,0),(_633.h-_632.h));_632.x=Math.min(Math.max(_632.x,0),(_633.w-_632.w));this._relativePosition=_632;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_622:_621)(node,{handle:this.titleBar});_619.after(this._moveable,"onMoveStop",lang.hitch(this,"_endDrag"),true);}else{_61c.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_618.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" "),_onKeyDown:lang.hitch(this,"_onKey"),ownerDocument:this.ownerDocument};},_size:function(){this.resize();},_position:function(){if(!_61c.contains(this.ownerDocumentBody,"dojoMove")){var node=this.domNode,_634=_620.getBox(this.ownerDocument),p=this._relativePosition,bb=_61d.position(node),l=Math.floor(_634.l+(p?Math.min(p.x,_634.w-bb.w):(_634.w-bb.w)/2)),t=Math.floor(_634.t+(p?Math.min(p.y,_634.h-bb.h):(_634.h-bb.h)/2));_61e.set(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.keyCode==keys.TAB){this._getFocusItems();var node=evt.target;if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_623.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_623.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}}}}else{if(this.closable&&evt.keyCode==keys.ESCAPE){this.onCancel();evt.stopPropagation();evt.preventDefault();}}},show:function(){if(this.open){return _62e.promise;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_631.hide(this);}var win=_620.get(this.ownerDocument);this._modalconnects.push(on(win,"scroll",lang.hitch(this,"resize",null)));this._modalconnects.push(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));_61e.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this.resize();this._position();var _635;this._fadeInDeferred=new _61b(lang.hitch(this,function(){_635.stop();delete this._fadeInDeferred;}));this._fadeInDeferred.then(undefined,nop);var _636=this._fadeInDeferred.promise;_635=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_631.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_631.isTop(this)){this._getFocusItems();_623.focus(this._firstFocusItem);}this._fadeInDeferred.resolve(true);delete this._fadeInDeferred;})}).play();return _636;},hide:function(){if(!this._alreadyInitialized||!this.open){return _62e.promise;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _637;this._fadeOutDeferred=new _61b(lang.hitch(this,function(){_637.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(undefined,nop);this._fadeOutDeferred.then(lang.hitch(this,"onHide"));var _638=this._fadeOutDeferred.promise;_637=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_631.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 _638;},resize:function(dim){if(this.domNode.style.display!="none"){this._checkIfSingleChild();if(!dim){if(this._shrunk){if(this._singleChild){if(typeof this._singleChildOriginalStyle!="undefined"){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;delete this._singleChildOriginalStyle;}}_618.forEach([this.domNode,this.containerNode,this.titleBar,this.actionBarNode],function(node){if(node){_61e.set(node,{position:"static",width:"auto",height:"auto"});}});this.domNode.style.position="absolute";}var _639=_620.getBox(this.ownerDocument);_639.w*=this.maxRatio;_639.h*=this.maxRatio;var bb=_61d.position(this.domNode);if(bb.w>=_639.w||bb.h>=_639.h){dim={w:Math.min(bb.w,_639.w),h:Math.min(bb.h,_639.h)};this._shrunk=true;}else{this._shrunk=false;}}if(dim){_61d.setMarginBox(this.domNode,dim);var _63a=[];if(this.titleBar){_63a.push({domNode:this.titleBar,region:"top"});}if(this.actionBarNode){_63a.push({domNode:this.actionBarNode,region:"bottom"});}var _63b={domNode:this.containerNode,region:"center"};_63a.push(_63b);var _63c=_62c.marginBox2contentBox(this.domNode,dim);_62c.layoutChildren(this.domNode,_63c,_63a);if(this._singleChild){var cb=_62c.marginBox2contentBox(this.containerNode,_63b);this._singleChild.resize({w:cb.w,h:cb.h});}else{this.containerNode.style.overflow="auto";this._layoutChildren();}}else{this._layoutChildren();}if(!has("touch")&&!dim){this._position();}}},_layoutChildren:function(){_618.forEach(this.getChildren(),function(_63d){if(_63d.resize){_63d.resize();}});},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();}_631.hide(this);this.inherited(arguments);}});if(has("dojo-bidi")){_62f=_61a("dijit._DialogBase",_62f,{_setTitleAttr:function(_63e){this._set("title",_63e);this.titleNode.innerHTML=_63e;this.applyTextDir(this.titleNode);},_setTextDirAttr:function(_63f){if(this._created&&this.textDir!=_63f){this._set("textDir",_63f);this.set("title",this.title);}}});}var _640=_61a("dijit.Dialog",[_62b,_62f],{});_640._DialogBase=_62f;var _631=_640._DialogLevelManager={_beginZIndex:950,show:function(_641,_642){ds[ds.length-1].focus=_623.curNode;var _643=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_640._DialogLevelManager._beginZIndex;_61e.set(_641.domNode,"zIndex",_643);_62a.show(_642,_643-1);ds.push({dialog:_641,underlayAttrs:_642,zIndex:_643});},hide:function(_644){if(ds[ds.length-1].dialog==_644){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){_62a.hide();}else{_62a.show(pd.underlayAttrs,pd.zIndex-1);}if(_644.refocus){var _645=pd.focus;if(pd.dialog&&(!_645||!dom.isDescendant(_645,pd.dialog.domNode))){pd.dialog._getFocusItems();_645=pd.dialog._firstFocusItem;}if(_645){try{_645.focus();}catch(e){}}}}else{var idx=_618.indexOf(_618.map(ds,function(elem){return elem.dialog;}),_644);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_646){return ds[ds.length-1].dialog==_646;}};var ds=_640._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];_623.watch("curNode",function(attr,_647,node){var _648=ds[ds.length-1].dialog;if(node&&_648&&!_648._fadeOutDeferred&&node.ownerDocument==_648.ownerDocument){do{if(node==_648.domNode||_61c.contains(node,"dijitPopup")){return;}}while(node=node.parentNode);_648.focus();}});if(has("dijit-legacy-requires")){_61f(0,function(){var _649=["dijit/TooltipDialog"];_617(_649);});}return _640;});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/window"],function(_64a,_64b,_64c,lang,on,_64d){return _64b("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_64e){var res=[];_64a.forEach(_64e||this.getChildren(),function(_64f){if("value" in _64f){res.push(_64f);}else{res=res.concat(this._getDescendantFormWidgets(_64f.getChildren()));}},this);return res;},reset:function(){_64a.forEach(this._getDescendantFormWidgets(),function(_650){if(_650.reset){_650.reset();}});},validate:function(){var _651=false;return _64a.every(_64a.map(this._getDescendantFormWidgets(),function(_652){_652._hasBeenBlurred=true;var _653=_652.disabled||!_652.validate||_652.validate();if(!_653&&!_651){_64d.scrollIntoView(_652.containerNode||_652.domNode);_652.focus();_651=true;}return _653;}),function(item){return item;});},setValues:function(val){_64c.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_64a.forEach(this._getDescendantFormWidgets(),function(_654){if(!_654.name){return;}var _655=map[_654.name]||(map[_654.name]=[]);_655.push(_654);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _656=map[name],_657=lang.getObject(name,false,obj);if(_657===undefined){continue;}_657=[].concat(_657);if(typeof _656[0].checked=="boolean"){_64a.forEach(_656,function(w){w.set("value",_64a.indexOf(_657,w._get("value"))!=-1);});}else{if(_656[0].multiple){_656[0].set("value",_657);}else{_64a.forEach(_656,function(w,i){w.set("value",_657[i]);});}}}},getValues:function(){_64c.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_64a.forEach(this._getDescendantFormWidgets(),function(_658){var name=_658.name;if(!name||_658.disabled){return;}var _659=_658.get("value");if(typeof _658.checked=="boolean"){if(/Radio/.test(_658.declaredClass)){if(_659!==false){lang.setObject(name,_659,obj);}else{_659=lang.getObject(name,false,obj);if(_659===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_659!==false){ary.push(_659);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_659);}else{lang.setObject(name,[prev,_659],obj);}}else{lang.setObject(name,_659,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _65a=_64a.map(this._descendants,function(w){return w.get("state")||"";});return _64a.indexOf(_65a,"Error")>=0?"Error":_64a.indexOf(_65a,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){},connectChildren:function(_65b){this._descendants=this._getDescendantFormWidgets();_64a.forEach(this._descendants,function(_65c){if(!_65c._started){_65c.startup();}});if(!_65b){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,_65d,_65e){this.onValidStateChange(_65e=="");});},destroy:function(){this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(_65f,a11y){return _65f("dijit._DialogMixin",null,{actionBarTemplate:"",execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _660=a11y._getTabNavigable(this.domNode);this._firstFocusItem=_660.lowest||_660.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_660.last||_660.highest||this._firstFocusItem;}});});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/aspect","dojo/dom-attr","dojo/dom-style","dojo/on","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe","./Viewport","./main"],function(_661,lang,_662,_663,_664,on,_665,_666,_667,_668,_669,_66a){var _66b=_661("dijit.DialogUnderlay",[_666,_667],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' tabIndex='-1' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_modalConnects:[],_setDialogIdAttr:function(id){_663.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_66c){this.node.className="dijitDialogUnderlay "+_66c;this._set("class",_66c);},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));this.inherited(arguments);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _66d=_665.getBox(this.ownerDocument);os.top=_66d.t+"px";os.left=_66d.l+"px";is.width=_66d.w+"px";is.height=_66d.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.open=true;this.layout();this.bgIframe=new _668(this.domNode);var win=_665.get(this.ownerDocument);this._modalConnects=[_669.on("resize",lang.hitch(this,"layout")),on(win,"scroll",lang.hitch(this,"layout"))];},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.open=false;},destroy:function(){while(this._modalConnects.length){(this._modalConnects.pop()).remove();}this.inherited(arguments);},_onKeyDown:function(){}});_66b.show=function(_66e,_66f){var _670=_66b._singleton;if(!_670||_670._destroyed){_670=_66a._underlay=_66b._singleton=new _66b(_66e);}else{if(_66e){_670.set(_66e);}}_664.set(_670.domNode,"zIndex",_66f);if(!_670.open){_670.show();}};_66b.hide=function(){var _671=_66b._singleton;if(_671&&!_671._destroyed){_671.hide();}};return _66b;});},"dijit/layout/ContentPane":function(){define(["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when","dojo/i18n!../nls/loading"],function(_672,lang,_673,_674,_675,_676,html,_677,_678,_679,dom,_67a,_67b,xhr,i18n,when){return _678("dijit.layout.ContentPane",[_673,_674,_675],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_672._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,markupFactory:function(_67c,node,ctor){var self=new ctor(_67c,node);return !self.href&&self._contentSetter&&self._contentSetter.parseDeferred&&!self._contentSetter.parseDeferred.isFulfilled()?self._contentSetter.parseDeferred.then(function(){return self;}):self;},create:function(_67d,_67e){if((!_67d||!_67d.template)&&_67e&&!("href" in _67d)&&!("content" in _67d)){_67e=dom.byId(_67e);var df=_67e.ownerDocument.createDocumentFragment();while(_67e.firstChild){df.appendChild(_67e.firstChild);}_67d=lang.delegate(_67d,{content:df});}this.inherited(arguments,[_67d,_67e]);},postMixInProperties:function(){this.inherited(arguments);var _67f=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_676.substitute(this.loadingMessage,_67f);this.errorMessage=_676.substitute(this.errorMessage,_67f);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");},startup:function(){this.inherited(arguments);if(this._contentSetter){_677.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},_startChildren:function(){_677.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});if(this._contentSetter){_677.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_672.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 _679(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){_672.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 _679(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(_680){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 _679(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 _681={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_681,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_681)),_682;hand.then(function(html){_682=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 _682;});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(_683){if(this.isLoaded){this._onUnloadHandler();}var _684=this._contentSetter;_677.forEach(this.getChildren(),function(_685){if(_685.destroyRecursive){_685.destroyRecursive(_683);}else{if(_685.destroy){_685.destroy(_683);}}_685._destroyed=true;});if(_684){_677.forEach(_684.parseResults,function(_686){if(!_686._destroyed){if(_686.destroyRecursive){_686.destroyRecursive(_683);}else{if(_686.destroy){_686.destroy(_683);}}_686._destroyed=true;}});delete _684.parseResults;}if(!_683){_67b.empty(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_687){cont=this.preprocessContent(cont);this.destroyDescendants();var _688=this._contentSetter;if(!(_688&&_688 instanceof html._ContentSetter)){_688=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _689=this.onContentError(e);try{this.containerNode.innerHTML=_689;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _68a=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=_688.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_68a);var self=this;return when(p&&p.then?p:_688.parseDeferred,function(){delete self._contentSetterParams;if(!_687){if(self._started){self._startChildren();self._scheduleLayout();}self._onLoadHandler(cont);}});},preprocessContent:function(_68b){return _68b;},_onError:function(type,err,_68c){this.onLoadDeferred.reject(err);var _68d=this["on"+type+"Error"].call(this,err);if(_68c){console.error(_68c,err);}else{if(_68d){this._setContent(_68d,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],function(_68e,_68f,_690,_691,_692,lang,_693,_694,_695,_696){return _68f("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _697=this.getParent();this._childOfLayoutWidget=_697&&_697.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.own(_695.on("resize",lang.hitch(this,"resize")));}},_checkIfSingleChild:function(){if(!this.doLayout){return;}var _698=[],_699=false;_693("> *",this.containerNode).some(function(node){var _69a=_694.byNode(node);if(_69a&&_69a.resize){_698.push(_69a);}else{if(!/script|link|style/i.test(node.nodeName)&&node.offsetHeight){_699=true;}}});this._singleChild=_698.length==1&&!_699?_698[0]:null;_690.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_69b,_69c){this._resizeCalled=true;this._scheduleLayout(_69b,_69c);},_scheduleLayout:function(_69d,_69e){if(this._isShown()){this._layout(_69d,_69e);}else{this._needLayout=true;this._changeSize=_69d;this._resultSize=_69e;}},_layout:function(_69f,_6a0){delete this._needLayout;if(!this._wasShown&&this.open!==false){this._onShow();}if(_69f){_691.setMarginBox(this.domNode,_69f);}var cn=this.containerNode;if(cn===this.domNode){var mb=_6a0||{};lang.mixin(mb,_69f||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_691.getMarginBox(cn),mb);}this._contentBox=_696.marginBox2contentBox(cn,mb);}else{this._contentBox=_691.getContentBox(cn);}this._layoutChildren();},_layoutChildren:function(){this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_691.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{var _6a1=this.getChildren(),_6a2,i=0;while(_6a2=_6a1[i++]){if(_6a2.resize){_6a2.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,_6a3=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_690.contains(node,"dijitHidden")&&_6a3&&_6a3.style&&(_6a3.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(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_6a4,_6a5,_6a6,_6a7,lang){function _6a8(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_6a9,dim){var _6aa=_6a9.resize?_6a9.resize(dim):_6a6.setMarginBox(_6a9.domNode,dim);if(_6aa){lang.mixin(_6a9,_6aa);}else{lang.mixin(_6a9,_6a6.getMarginBox(_6a9.domNode));lang.mixin(_6a9,dim);}};var _6ab={marginBox2contentBox:function(node,mb){var cs=_6a7.getComputedStyle(node);var me=_6a6.getMarginExtents(node,cs);var pb=_6a6.getPadBorderExtents(node,cs);return {l:_6a7.toPixelValue(node,cs.paddingLeft),t:_6a7.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};},layoutChildren:function(_6ac,dim,_6ad,_6ae,_6af){dim=lang.mixin({},dim);_6a5.add(_6ac,"dijitLayoutContainer");_6ad=_6a4.filter(_6ad,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_6a4.filter(_6ad,function(item){return item.region=="center"||item.layoutAlign=="client";}));_6a4.forEach(_6ad,function(_6b0){var elm=_6b0.domNode,pos=(_6b0.region||_6b0.layoutAlign);if(!pos){throw new Error("No region setting for "+_6b0.id);}var _6b1=elm.style;_6b1.left=dim.l+"px";_6b1.top=dim.t+"px";_6b1.position="absolute";_6a5.add(elm,"dijitAlign"+_6a8(pos));var _6b2={};if(_6ae&&_6ae==_6b0.id){_6b2[_6b0.region=="top"||_6b0.region=="bottom"?"h":"w"]=_6af;}if(pos=="leading"){pos=_6b0.isLeftToRight()?"left":"right";}if(pos=="trailing"){pos=_6b0.isLeftToRight()?"right":"left";}if(pos=="top"||pos=="bottom"){_6b2.w=dim.w;size(_6b0,_6b2);dim.h-=_6b0.h;if(pos=="top"){dim.t+=_6b0.h;}else{_6b1.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_6b2.h=dim.h;size(_6b0,_6b2);dim.w-=_6b0.w;if(pos=="left"){dim.l+=_6b0.w;}else{_6b1.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_6b0,dim);}}}});}};lang.setObject("dijit.layout.utils",_6ab);return _6ab;});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],function(_6b3,_6b4,_6b5,has,_6b6,lang,_6b7,_6b8,_6b9,_6ba){if(has("dijit-legacy-requires")){_6b7(0,function(){var _6bb=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_6b3(_6bb);});}var _6bc=_6b4("dijit.form.Button"+(has("dojo-bidi")?"_NoBidi":""),[_6b8,_6b9],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_6ba,_setValueAttr:"valueNode",_setNameAttr:function(name){if(this.valueNode){this.valueNode.setAttribute("name",name);}},postCreate:function(){this.inherited(arguments);this._setLabelFromContainer();},_setLabelFromContainer:function(){if(this.containerNode&&!this.label){this.label=lang.trim(this.containerNode.innerHTML);this.onLabelSet();}},_setShowLabelAttr:function(val){if(this.containerNode){_6b5.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_6bd){_6b6.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_6bd);},onLabelSet:function(){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_6bc=_6b4("dijit.form.Button",_6bc,{onLabelSet:function(){this.inherited(arguments);if(this.titleNode.title){this.applyTextDir(this.titleNode,this.titleNode.title);}},_setTextDirAttr:function(_6be){if(this._created&&this.textDir!=_6be){this._set("textDir",_6be);this._setLabelAttr(this.label);}}});}return _6bc;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/has","../registry"],function(_6bf,dom,has,_6c0){var _6c1=_6bf("dijit.form._ButtonMixin"+(has("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(e){e.stopPropagation();e.preventDefault();if(!this.disabled){this.valueNode.click(e);}return false;},_onClick:function(e){if(this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.onClick(e)===false){e.preventDefault();}var _6c2=e.defaultPrevented;if(!_6c2&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _6c3=_6c0.byNode(node);if(_6c3&&typeof _6c3._onSubmit=="function"){_6c3._onSubmit(e);e.preventDefault();_6c2=true;break;}}}return !_6c2;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_6c4){this._set("label",_6c4);var _6c5=this.containerNode||this.focusNode;_6c5.innerHTML=_6c4;this.onLabelSet();},onLabelSet:function(){}});if(has("dojo-bidi")){_6c1=_6bf("dijit.form._ButtonMixin",_6c1,{onLabelSet:function(){this.inherited(arguments);var _6c6=this.containerNode||this.focusNode;this.applyTextDir(_6c6);}});}return _6c1;});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom","../a11yclick"],function(_6c7,_6c8,_6c9,has,_6ca,_6cb,_6cc,_6cd,_6ce){if(has("dijit-legacy-requires")){_6cb(0,function(){var _6cf=["dijit/form/RadioButton"];_6c7(_6cf);});}return _6c8("dijit.form.CheckBox",[_6cc,_6cd],{templateString:_6ce,baseClass:"dijitCheckBox",_setValueAttr:function(_6d0,_6d1){if(typeof _6d0=="string"){this.inherited(arguments);_6d0=true;}if(this._created){this.set("checked",_6d0,_6d1);}},_getValueAttr:function(){return this.checked&&this._get("value");},_setIconClassAttr:null,_setNameAttr:"focusNode",postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting="";},_fillContent:function(){},_onFocus:function(){if(this.id){_6ca("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_6ca("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_6d2,_6d3,_6d4,_6d5){return _6d2("dijit.form.ToggleButton",[_6d4,_6d5],{baseClass:"dijitToggleButton",setChecked:function(_6d6){_6d3.deprecated("setChecked("+_6d6+") is deprecated. Use set('checked',"+_6d6+") instead.","","2.0");this.set("checked",_6d6);}});});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_6d7,_6d8){return _6d7("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _6d9=this.checked;this._set("checked",!_6d9);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_6d9);return ret;},_setCheckedAttr:function(_6da,_6db){this._set("checked",_6da);var node=this.focusNode||this.domNode;if(this._created){if(_6d8.get(node,"checked")!=!!_6da){_6d8.set(node,"checked",!!_6da);}}node.setAttribute(this._aria_attr,String(_6da));this._handleOnChange(_6da,_6db);},postCreate:function(){this.inherited(arguments);var node=this.focusNode||this.domNode;if(this.checked){node.setAttribute("checked","checked");}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.checked;}},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_6dc,_6dd){return _6dc("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_6de){this._set("readOnly",_6de);_6dd.set(this.focusNode,"readOnly",_6de);},_setLabelAttr:undefined,_getSubmitValue:function(_6df){return (_6df==null||_6df==="")?"on":_6df;},_setValueAttr:function(_6e0){_6e0=this._getSubmitValue(_6e0);this._set("value",_6e0);_6dd.set(this.focusNode,"value",_6e0);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_6dd.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],function(_6e1,keys,_6e2,_6e3,_6e4){return _6e1("dijit.form.ComboButton",_6e3,{templateString:_6e4,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_6e2.focus(this._popupStateNode);evt.stopPropagation();evt.preventDefault();}},_onArrowKeyDown:function(evt){if(evt.keyCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_6e2.focus(this.titleNode);evt.stopPropagation();evt.preventDefault();}},focus:function(_6e5){if(!this.disabled){_6e2.focus(_6e5=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],function(_6e6,_6e7,lang,_6e8,_6e9,_6ea,_6eb,_6ec,_6ed,_6ee){return _6e6("dijit.form.DropDownButton",[_6eb,_6ec,_6ed],{baseClass:"dijitDropDownButton",templateString:_6ee,_fillContent:function(){var _6ef=this.srcNodeRef;var dest=this.containerNode;if(_6ef&&dest){while(_6ef.hasChildNodes()){var _6f0=_6ef.firstChild;if(_6f0.hasAttribute&&(_6f0.hasAttribute("data-dojo-type")||_6f0.hasAttribute("dojoType")||_6f0.hasAttribute("data-"+_6e7._scopeName+"-type")||_6f0.hasAttribute(_6e7._scopeName+"Type"))){this.dropDownContainer=this.ownerDocument.createElement("div");this.dropDownContainer.appendChild(_6f0);}else{dest.appendChild(_6f0);}}}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){this.dropDown=_6e9.byNode(this.dropDownContainer.firstChild);delete this.dropDownContainer;}if(this.dropDown){_6ea.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _6f1=this.dropDown;return (!!_6f1&&(!_6f1.href||_6f1.isLoaded));},loadDropDown:function(_6f2){var _6f3=this.dropDown;var _6f4=_6f3.on("load",lang.hitch(this,function(){_6f4.remove();_6f2();}));_6f3.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],function(_6f5,_6f6,dom,_6f7,_6f8,_6f9,_6fa,has,keys,lang,on,_6fb,_6fc,_6fd,_6fe,_6ff){return _6f5("dijit._HasDropDown",_6ff,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this.own(on.once(this.ownerDocument,_6fb.release,lang.hitch(this,"_onDropDownMouseUp")));this.toggleDropDown();},_onDropDownMouseUp:function(e){var _700=this.dropDown,_701=false;if(e&&this._opened){var c=_6f9.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&&!_701){if(_6f8.contains(t,"dijitPopup")){_701=true;}else{t=t.parentNode;}}if(_701){t=e.target;if(_700.onItemClick){var _702;while(t&&!(_702=_6fc.byNode(t))){t=t.parentNode;}if(_702&&_702.onClick&&_702.getParent){_702.getParent().onItemClick(_702,e);}}return;}}}if(this._opened){if(_700.focus&&(_700.autoFocus!==false||(e.type=="mouseup"&&!this.hovering))){this._focusDropDownTimer=this.defer(function(){_700.focus();delete this._focusDropDownTimer;});}}else{if(this.focus){this.defer("focus");}}},_onDropDownClick:function(e){if(this._stopClickEvents){e.stopPropagation();e.preventDefault();}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _703={"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";_6f8.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_703+"ArrowButton");},postCreate:function(){this.inherited(arguments);var _704=this.focusNode||this.domNode;this.own(on(this._buttonNode,_6fb.press,lang.hitch(this,"_onDropDownMouseDown")),on(this._buttonNode,"click",lang.hitch(this,"_onDropDownClick")),on(_704,"keydown",lang.hitch(this,"_onKey")),on(_704,"keyup",lang.hitch(this,"_onKeyUp")));},destroy:function(){if(this._opened){this.closeDropDown(true);}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,_705=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){e.stopPropagation();e.preventDefault();return;}}if(d&&this._opened&&e.keyCode==keys.ESCAPE){this.closeDropDown();e.stopPropagation();e.preventDefault();}else{if(!this._opened&&(e.keyCode==keys.DOWN_ARROW||((e.keyCode==keys.ENTER||(e.keyCode==keys.SPACE&&(!this._searchTimer||(e.ctrlKey||e.altKey||e.metaKey))))&&((_705.tagName||"").toLowerCase()!=="input"||(_705.type&&_705.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;e.stopPropagation();e.preventDefault();}}},_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(){this.closeDropDown(false);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_706){_706();},loadAndOpenDropDown:function(){var d=new _6f6(),_707=lang.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_707);}else{_707();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown(true);}},openDropDown:function(){var _708=this.dropDown,_709=_708.domNode,_70a=this._aroundNode||this.domNode,self=this;var _70b=_6fe.open({parent:this,popup:_708,around:_70a,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){_6f7.set(self._popupStateNode,"popupActive",false);_6f8.remove(self._popupStateNode,"dijitHasDropDownOpen");self._set("_opened",false);}});if(this.forceWidth||(this.autoWidth&&_70a.offsetWidth>_708._popupWrapper.offsetWidth)){var _70c=_70a.offsetWidth-_708._popupWrapper.offsetWidth;var _70d={w:_708.domNode.offsetWidth+_70c};this._origStyle=_709.style.cssText;if(lang.isFunction(_708.resize)){_708.resize(_70d);}else{_6f9.setMarginBox(_709,_70d);}if(_70b.corner[1]=="R"){_708._popupWrapper.style.left=(_708._popupWrapper.style.left.replace("px","")-_70c)+"px";}}_6f7.set(this._popupStateNode,"popupActive","true");_6f8.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",true);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",_708.id);if(_709.getAttribute("role")!=="presentation"&&!_709.getAttribute("aria-labelledby")){_709.setAttribute("aria-labelledby",this.id);}return _70b;},closeDropDown:function(_70e){if(this._focusDropDownTimer){this._focusDropDownTimer.remove();delete this._focusDropDownTimer;}if(this._opened){this._popupStateNode.setAttribute("aria-expanded","false");if(_70e&&this.focus){this.focus();}_6fe.close(this.dropDown);this._opened=false;}if(this._origStyle){this.dropDown.domNode.style.cssText=this._origStyle;delete this._origStyle;}}});});},"dijit/form/FilteringSelect":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/when","./MappedTextBox","./ComboBoxMixin"],function(_70f,lang,when,_710,_711){return _70f("dijit.form.FilteringSelect",[_710,_711],{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(_712,_713,_714,_715){if((_713&&_713[this.searchAttr]!==this._lastQuery)||(!_713&&_712.length&&this.store.getIdentity(_712[0])!=this._lastQuery)){return;}if(!_712.length){this.set("value","",_715||(_715===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_712[0],_715);}},_openResultList:function(_716,_717,_718){if(_717[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(_719,_71a,_71b,item){if(!this._onChangeActive){_71a=null;}if(item===undefined){if(_719===null||_719===""){_719="";if(!lang.isString(_71b)){this._setDisplayedValueAttr(_71b||"",_71a);return;}}var self=this;this._lastQuery=_719;when(this.store.get(_719),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_71a);});}else{this.valueNode.value=_719;this.inherited(arguments,[_719,_71a,_71b,item]);}},_setItemAttr:function(item,_71c,_71d){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_71e,_71f){if(_71e==null){_71e="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_71f=false;}if(this.store){this.closeDropDown();var _720=lang.clone(this.query);var qs=this._getDisplayQueryString(_71e),q;if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_720[this.searchAttr]=q;this.textbox.value=_71e;this._lastDisplayedValue=_71e;this._set("displayedValue",_71e);var _721=this;var _722={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_722,this.fetchProperties);this._fetchHandle=this.store.query(_720,_722);when(this._fetchHandle,function(_723){_721._fetchHandle=null;_721._callbackSetLabel(_723||[],_720,_722,_71f);},function(err){_721._fetchHandle=null;if(!_721._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/sniff","dojo/dom-construct","./ValidationTextBox"],function(_724,has,_725,_726){return _724("dijit.form.MappedTextBox",_726,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:"valueNode",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=_725.place("<input type='hidden'"+((this.name&&!has("msapp"))?" name=\""+this.name.replace(/"/g,""")+"\"":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_727,_728,lang,i18n,_729,_72a,_72b){var _72c=_727("dijit.form.ValidationTextBox",_729,{templateString:_72b,required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(attr,_72d){if(_72d!=_72c.prototype[attr]){_728.deprecated("ValidationTextBox id="+this.id+", set('"+attr+"', ...) is deprecated. Use set('pattern', ...) instead.","","2.0");this.set("pattern",_72d);}},_setRegExpGenAttr:function(_72e){this._deprecateRegExp("regExpGen",_72e);this._set("regExpGen",this._computeRegexp);},_setRegExpAttr:function(_72f){this._deprecateRegExp("regExp",_72f);},_setValueAttr:function(){this.inherited(arguments);this._refreshState();},validator:function(_730,_731){return (new RegExp("^(?:"+this._computeRegexp(_731)+")"+(this.required?"":"?")+"$")).test(_730)&&(!this.required||!this._isEmpty(_730))&&(this._isEmpty(_730)||this.parse(_730,_731)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.get("constraints"));},_isEmpty:function(_732){return (this.trim?/^\s*$/:/^$/).test(_732);},getErrorMessage:function(){var _733=this.invalidMessage=="$_unset_$"?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage;var _734=this.missingMessage=="$_unset_$"?this.messages.missingMessage:!this.missingMessage?_733:this.missingMessage;return (this.required&&this._isEmpty(this.textbox.value))?_734:_733;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_735){var _736="";var _737=this.disabled||this.isValid(_735);if(_737){this._maskValidSubsetError=true;}var _738=this._isEmpty(this.textbox.value);var _739=!_737&&_735&&this._isValidSubset();this._set("state",_737?"":(((((!this._hasBeenBlurred||_735)&&_738)||_739)&&(this._maskValidSubsetError||(_739&&!this._hasBeenBlurred&&_735)))?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",this.state=="Error"?"true":"false");if(this.state=="Error"){this._maskValidSubsetError=_735&&_739;_736=this.getErrorMessage(_735);}else{if(this.state=="Incomplete"){_736=this.getPromptMessage(_735);this._maskValidSubsetError=!this._hasBeenBlurred||_735;}else{if(_738){_736=this.getPromptMessage(_735);}}}this.set("message",_736);return _737;},displayMessage:function(_73a){if(_73a&&this.focused){_72a.show(_73a,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_72a.hide(this.domNode);}},_refreshState:function(){if(this._created){this.validate(this.focused);}this.inherited(arguments);},constructor:function(_73b){this.constraints=lang.clone(this.constraints);this.baseClass+=" dijitValidationTextBox";},startup:function(){this.inherited(arguments);this._refreshState();},_setConstraintsAttr:function(_73c){if(!_73c.locale&&this.lang){_73c.locale=this.lang;}this._set("constraints",_73c);this._refreshState();},_setPatternAttr:function(_73d){this._set("pattern",_73d);this._refreshState();},_computeRegexp:function(_73e){var p=this.pattern;if(typeof p=="function"){p=p.call(this,_73e);}if(p!=this._lastRegExp){var _73f="";this._lastRegExp=p;if(p!=".*"){p.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_73f+=re;break;case ")":_73f+="|$)";break;default:_73f+="(?:"+re+"|$)";break;}});}try{"".search(_73f);}catch(e){_73f=this.pattern;console.warn("RegExp error in "+this.declaredClass+": "+this.pattern);}this._partialre="^(?:"+_73f+")$";}return p;},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_740){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_741){this._set("required",_741);this.focusNode.setAttribute("aria-required",_741);this._refreshState();},_setMessageAttr:function(_742){this._set("message",_742);this.displayMessage(_742);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);},destroy:function(){_72a.hide(this.domNode);this.inherited(arguments);}});return _72c;});},"dijit/form/TextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/sniff","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html","../main"],function(_743,_744,_745,_746,lang,on,has,_747,_748,_749,_74a){var _74b=_743("dijit.form.TextBox"+(has("dojo-bidi")?"_NoBidi":""),[_747,_748],{templateString:_749,_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=_745.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _74c=this.domNode.getElementsByTagName("INPUT");if(_74c){for(var i=0;i<_74c.length;i++){_74c[i].style.fontFamily=ff;}}}}}catch(e){}});}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_744.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this.own(on(this._phspan,"mousedown",function(evt){evt.preventDefault();}),on(this._phspan,"touchend, pointerup, MSPointerUp",lang.hitch(this,function(){this.focus();})));}this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(v));this._updatePlaceHolder();},_onInput:function(evt){this.inherited(arguments);this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_74d,_74e,_74f){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_746.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_750){_746.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_750);},_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")<9){_74b.prototype._isTextSelected=function(){var _751=this.ownerDocument.selection.createRange();var _752=_751.parentElement();return _752==this.textbox&&_751.text.length>0;};_74a._setSelectionRange=_748._setSelectionRange=function(_753,_754,stop){if(_753.createTextRange){var r=_753.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_754);r.moveEnd("character",stop-_754);r.select();}};}if(has("dojo-bidi")){_74b=_743("dijit.form.TextBox",_74b,{_setPlaceHolderAttr:function(v){this.inherited(arguments);this.applyTextDir(this._phspan);}});}return _74b;});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/sniff","dojo/keys","dojo/_base/lang","dojo/on","../main"],function(_755,_756,dom,has,keys,lang,on,_757){var _758=_756("dijit.form._TextBoxMixin"+(has("dojo-bidi")?"_NoBidi":""),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(_759,_75a,_75b){var _75c;if(_759!==undefined){_75c=this.filter(_759);if(typeof _75b!="string"){if(_75c!==null&&((typeof _75c!="number")||!isNaN(_75c))){_75b=this.filter(this.format(_75c,this.constraints));}else{_75b="";}if(this.compare(_75c,this.filter(this.parse(_75b,this.constraints)))!=0){_75b=null;}}}if(_75b!=null&&((typeof _75b)!="number"||!isNaN(_75b))&&this.textbox.value!=_75b){this.textbox.value=_75b;this._set("displayedValue",this.get("displayedValue"));}this.inherited(arguments,[_75c,_75a]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_75d){if(_75d==null){_75d="";}else{if(typeof _75d!="string"){_75d=String(_75d);}}this.textbox.value=_75d;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_75e){return _75e==null?"":(_75e.toString?_75e.toString():_75e);},parse:function(_75f){return _75f;},_refreshState:function(){},onInput:function(){},_onInput:function(evt){this._lastInputEventValue=this.textbox.value;this._processInput(this._lastInputProducingEvent||evt);delete this._lastInputProducingEvent;if(this.intermediateChanges){this._handleOnChange(this.get("value"),false);}},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);function _760(e){var _761;if(e.type=="keydown"&&e.keyCode!=229){_761=e.keyCode;switch(_761){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(_761){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((_761>=65&&_761<=90)||(_761>=48&&_761<=57)||_761==keys.SPACE){return;}var _762=false;for(var i in keys){if(keys[i]===e.keyCode){_762=true;break;}}if(!_762){return;}}}_761=e.charCode>=32?String.fromCharCode(e.charCode):e.charCode;if(!_761){_761=(e.keyCode>=65&&e.keyCode<=90)||(e.keyCode>=48&&e.keyCode<=57)||e.keyCode==keys.SPACE?String.fromCharCode(e.keyCode):e.keyCode;}if(!_761){_761=229;}if(e.type=="keypress"){if(typeof _761!="string"){return;}if((_761>="a"&&_761<="z")||(_761>="A"&&_761<="Z")||(_761>="0"&&_761<="9")||(_761===" ")){if(e.ctrlKey||e.metaKey||e.altKey){return;}}}var faux={faux:true},attr;for(attr in e){if(!/^(layer[XY]|returnValue|keyLocation)$/.test(attr)){var v=e[attr];if(typeof v!="function"&&typeof v!="undefined"){faux[attr]=v;}}}lang.mixin(faux,{charOrCode:_761,_wasConsumed:false,preventDefault:function(){faux._wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});this._lastInputProducingEvent=faux;if(this.onInput(faux)===false){faux.preventDefault();faux.stopPropagation();}if(faux._wasConsumed){return;}if(has("ie")<=9){switch(e.keyCode){case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:break;default:if(e.keyCode==keys.ENTER&&this.textbox.tagName.toLowerCase()!="textarea"){break;}this.defer(function(){if(this.textbox.value!==this._lastInputEventValue){on.emit(this.textbox,"input",{bubbles:true});}});}}};this.own(on(this.textbox,"keydown, keypress, paste, cut, compositionend",lang.hitch(this,_760)),on(this.textbox,"input",lang.hitch(this,"_onInput")),on(this.domNode,"keypress",function(e){e.stopPropagation();}));},_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=on.once(this.domNode,"mouseup, touchend",lang.hitch(this,function(evt){if(!this._isTextSelected()){_758.selectInputText(this.textbox);}}));this.own(this._selectOnClickHandle);this.defer(function(){if(this._selectOnClickHandle){this._selectOnClickHandle.remove();this._selectOnClickHandle=null;}},500);}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});if(has("dojo-bidi")){_758=_756("dijit.form._TextBoxMixin",_758,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_setDisplayedValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.focusNode);},_onInput:function(){this.applyTextDir(this.focusNode);this.inherited(arguments);}});}_758._setSelectionRange=_757._setSelectionRange=function(_763,_764,stop){if(_763.setSelectionRange){_763.setSelectionRange(_764,stop);}};_758.selectInputText=_757.selectInputText=function(_765,_766,stop){_765=dom.byId(_765);if(isNaN(_766)){_766=0;}if(isNaN(stop)){stop=_765.value?_765.value.length:0;}try{_765.focus();_758._setSelectionRange(_765,_766,stop);}catch(e){}};return _758;});},"dijit/Tooltip":function(){define(["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(_767,_768,fx,dom,_769,_76a,_76b,lang,_76c,on,has,_76d,_76e,_76f,_770,_771,_772,_773){var _774=_768("dijit._MasterTooltip",[_76f,_770],{duration:_76d.defaultDuration,templateString:_772,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new _771(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(_775,_776,_777,rtl,_778,_779,_77a){if(this.aroundNode&&this.aroundNode===_776&&this.containerNode.innerHTML==_775){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_775;if(_778){this.set("textDir",_778);}this.containerNode.align=rtl?"right":"left";var pos=_76e.around(this.domNode,_776,_777&&_777.length?_777:_77b.defaultPosition,!rtl,lang.hitch(this,"orient"));var _77c=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_77c.y+((_77c.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=_77c.x+((_77c.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_76b.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_776;this.onMouseEnter=_779||noop;this.onMouseLeave=_77a||noop;},orient:function(node,_77d,_77e,_77f,_780){this.connectorNode.style.top="";var _781=_77f.h,_782=_77f.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"}[_77d+"-"+_77e];this.domNode.style.width="auto";var size=_76a.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _783=Math.min((Math.max(_782,1)),size.w);_76a.setMarginBox(this.domNode,{w:_783});if(_77e.charAt(0)=="B"&&_77d.charAt(0)=="B"){var bb=_76a.position(node);var _784=this.connectorNode.offsetHeight;if(bb.h>_781){var _785=_781-((_780.h+_784)>>1);this.connectorNode.style.top=_785+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_780.h/2-_784/2,0),bb.h-_784)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_782);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_786){if(this._onDeck&&this._onDeck[1]==_786){this._onDeck=null;}else{if(this.aroundNode===_786){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=noop;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_774.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_767.forEach(node.children,function(_787){this._setAutoTextDir(_787);},this);},_setTextDirAttr:function(_788){this._set("textDir",_788);if(_788=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_773.showTooltip=function(_789,_78a,_78b,rtl,_78c,_78d,_78e){if(_78b){_78b=_767.map(_78b,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_77b._masterTT){_773._masterTT=_77b._masterTT=new _774();}return _77b._masterTT.show(_789,_78a,_78b,rtl,_78c,_78d,_78e);};_773.hideTooltip=function(_78f){return _77b._masterTT&&_77b._masterTT.hide(_78f);};var _790="DORMANT",_791="SHOW TIMER",_792="SHOWING",_793="HIDE TIMER";function noop(){};var _77b=_768("dijit.Tooltip",_76f,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_794){_767.forEach(this._connections||[],function(_795){_767.forEach(_795,function(_796){_796.remove();});},this);this._connectIds=_767.filter(lang.isArrayLike(_794)?_794:(_794?[_794]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_767.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_797=this.selector,_798=_797?function(_799){return on.selector(_797,_799);}:function(_79a){return _79a;},self=this;return [on(node,_798(_76c.enter),function(){self._onHover(this);}),on(node,_798("focusin"),function(){self._onHover(this);}),on(node,_798(_76c.leave),lang.hitch(self,"_onUnHover")),on(node,_798("focusout"),lang.hitch(self,"set","state",_790))];},this);this._set("connectId",_794);},addTarget:function(node){var id=node.id||node;if(_767.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_767.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_769.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_767.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_790,_setStateAttr:function(val){if(this.state==val||(val==_791&&this.state==_792)||(val==_793&&this.state==_790)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _790:if(this._connectNode){_77b.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _791:if(this.state!=_792){this._showTimer=this.defer(function(){this.set("state",_792);},this.showDelay);}break;case _792:var _79b=this.getContent(this._connectNode);if(!_79b){this.set("state",_790);return;}_77b.show(_79b,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,lang.hitch(this,"set","state",_792),lang.hitch(this,"set","state",_793));this.onShow(this._connectNode,this.position);break;case _793:this._hideTimer=this.defer(function(){this.set("state",_790);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_79c){if(this._connectNode&&_79c!=this._connectNode){this.set("state",_790);}this._connectNode=_79c;this.set("state",_791);},_onUnHover:function(_79d){this.set("state",_793);},open:function(_79e){this.set("state",_790);this._connectNode=_79e;this.set("state",_792);},close:function(){this.set("state",_790);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_790);_767.forEach(this._connections||[],function(_79f){_767.forEach(_79f,function(_7a0){_7a0.remove();});},this);this.inherited(arguments);}});_77b._MasterTooltip=_774;_77b.show=_773.showTooltip;_77b.hide=_773.hideTooltip;_77b.defaultPosition=["after-centered","before-centered"];return _77b;});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_7a1,_7a2,_7a3,lang,_7a4,_7a5,_7a6,_7a7,_7a8){return _7a1("dijit.form.ComboBoxMixin",[_7a7,_7a5],{dropDownClass:_7a6,hasDownArrow:true,templateString:_7a8,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(_7a9){if(!_7a9.get){lang.mixin(_7a9,{_oldAPI:true,get:function(id){var _7aa=new _7a2();this.fetchItemByIdentity({identity:id,onItem:function(_7ab){_7aa.resolve(_7ab);},onError:function(_7ac){_7aa.reject(_7ac);}});return _7aa.promise;},query:function(_7ad,_7ae){var _7af=new _7a2(function(){_7b0.abort&&_7b0.abort();});_7af.total=new _7a2();var _7b0=this.fetch(lang.mixin({query:_7ad,onBegin:function(_7b1){_7af.total.resolve(_7b1);},onComplete:function(_7b2){_7af.resolve(_7b2);},onError:function(_7b3){_7af.reject(_7b3);}},_7ae));return _7a4(_7af);}});}this._set("store",_7a9);},postMixInProperties:function(){var _7b4=this.params.store||this.store;if(_7b4){this._setStoreAttr(_7b4);}this.inherited(arguments);if(!this.params.store&&this.store&&!this.store._oldAPI){var _7b5=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_7a3.deprecated(_7b5+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_7a3.deprecated(_7b5+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_7a3.deprecated(_7b5+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_7b6){new _7b6({objectStore:this}).fetch(args);}));}});}},buildRendering:function(){this.inherited(arguments);this.focusNode.setAttribute("aria-autocomplete",this.autoComplete?"both":"list");}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../when"],function(_7b7,lang,when){var _7b8=function(_7b9){if(!_7b9){return _7b9;}var _7ba=!!_7b9.then;if(_7ba){_7b9=lang.delegate(_7b9);}function _7bb(_7bc){_7b9[_7bc]=function(){var args=arguments;var _7bd=when(_7b9,function(_7be){Array.prototype.unshift.call(args,_7be);return _7b8(_7b7[_7bc].apply(_7b7,args));});if(_7bc!=="forEach"||_7ba){return _7bd;}};};_7bb("forEach");_7bb("filter");_7bb("map");if(_7b9.total==null){_7b9.total=when(_7b9,function(_7bf){return _7bf.length;});}return _7b9;};lang.setObject("dojo.store.util.QueryResults",_7b8);return _7b8;});},"dijit/form/_AutoCompleterMixin":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/sniff","./DataList","./_TextBoxMixin","./_SearchMixin"],function(_7c0,_7c1,_7c2,keys,lang,_7c3,_7c4,has,_7c5,_7c6,_7c7){var _7c8=_7c1("dijit.form._AutoCompleterMixin",_7c7,{item:null,autoComplete:true,highlightMatch:"first",labelAttr:"",labelType:"text",maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_7c9){var pos=0;if(typeof (_7c9.selectionStart)=="number"){pos=_7c9.selectionStart;}else{if(has("ie")){var tr=_7c9.ownerDocument.selection.createRange().duplicate();var ntr=_7c9.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(_7ca,_7cb){_7cb=parseInt(_7cb);_7c6.selectInputText(_7ca,_7cb,_7cb);},_setDisabledAttr:function(_7cc){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_7cc?"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 _7cd=null;this._abortQuery();this.inherited(arguments);if(evt.altKey||evt.ctrlKey||evt.metaKey){return;}if(this._opened){_7cd=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(_7cd);}evt.stopPropagation();evt.preventDefault();break;case keys.ENTER:if(_7cd){if(_7cd==pw.nextButton){this._nextSearch(1);evt.stopPropagation();evt.preventDefault();break;}else{if(_7cd==pw.previousButton){this._nextSearch(-1);evt.stopPropagation();evt.preventDefault();break;}}evt.stopPropagation();evt.preventDefault();}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}case keys.TAB:var _7ce=this.get("displayedValue");if(pw&&(_7ce==pw._messages["previousMessage"]||_7ce==pw._messages["nextMessage"])){break;}if(_7cd){this._selectOption(_7cd);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;}},_autoCompleteText:function(text){var fn=this.focusNode;_7c6.selectInputText(fn,fn.value.length);var _7cf=this.ignoreCase?"toLowerCase":"substr";if(text[_7cf](0).indexOf(this.focusNode.value[_7cf](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_7c6.selectInputText(fn,cpos);}}else{fn.value=text;_7c6.selectInputText(fn);}},_openResultList:function(_7d0,_7d1,_7d2){var _7d3=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_7d0.length&&_7d2.start==0){this.closeDropDown();return;}this._nextSearch=this.dropDown.onPage=lang.hitch(this,function(_7d4){_7d0.nextPage(_7d4!==-1);this.focus();});this.dropDown.createOptions(_7d0,_7d2,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if("direction" in _7d2){if(_7d2.direction){this.dropDown.highlightFirstOption();}else{if(!_7d2.direction){this.dropDown.highlightLastOption();}}if(_7d3){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_7d1[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");}},_setBlurValue:function(){var _7d5=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_7d5==pw._messages["previousMessage"]||_7d5==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_7d5);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}this.focusNode.removeAttribute("aria-activedescendant");},_setItemAttr:function(item,_7d6,_7d7){var _7d8="";if(item){if(!_7d7){_7d7=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_7d8=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_7d7;}this.set("value",_7d8,_7d6,_7d7,item);},_announceOption:function(node){if(!node){return;}var _7d9;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_7d9=node.innerHTML;this.item=undefined;this.value="";}else{var item=this.dropDown.items[node.getAttribute("item")];_7d9=(this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr]).toString();this.set("item",item,false,_7d9);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_7c2.get(node,"id"));this._autoCompleteText(_7d9);},_selectOption:function(_7da){this.closeDropDown();if(_7da){this._announceOption(_7da);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);this.focusNode.removeAttribute("aria-activedescendant");},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this.item=undefined;this.inherited(arguments);},_startSearch:function(key){if(!this.dropDown){var _7db=this.id+"_popup",_7dc=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _7dc({onChange:lang.hitch(this,this._selectOption),id:_7db,dir:this.dir,textDir:this.textDir});}this._lastInput=key;this.inherited(arguments);},_getValueField:function(){return this.searchAttr;},postMixInProperties:function(){this.inherited(arguments);if(!this.store&&this.srcNodeRef){var _7dd=this.srcNodeRef;this.store=new _7c5({},_7dd);if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _7de=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_7de):item[_7de];}}}},postCreate:function(){var _7df=_7c3("label[for=\""+this.id+"\"]");if(_7df.length){if(!_7df[0].id){_7df[0].id=this.id+"_label";}this.domNode.setAttribute("aria-labelledby",_7df[0].id);}this.inherited(arguments);_7c0.after(this,"onSearch",lang.hitch(this,"_openResultList"),true);},_getMenuLabelFromItem:function(item){var _7e0=this.labelFunc(item,this.store),_7e1=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_7e0=this.doHighlight(_7e0,this._lastInput);_7e1="html";}return {html:_7e1=="html",label:_7e0};},doHighlight:function(_7e2,find){var _7e3=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_7c4.escapeString(find);return this._escapeHtml(_7e2.replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_7e3),"\uffff$1\uffff")).replace(/\uFFFF([^\uFFFF]+)\uFFFF/g,"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_7e4){return (_7e4._oldAPI?_7e4.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_7e5,_7e6,_7e7,item){this._set("item",item||null);if(_7e5==null){_7e5="";}this.inherited(arguments);}});if(has("dojo-bidi")){_7c8.extend({_setTextDirAttr:function(_7e8){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_7e8);}}});}return _7c8;});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){var _7e9={};lang.setObject("dojo.regexp",_7e9);_7e9.escapeString=function(str,_7ea){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,function(ch){if(_7ea&&_7ea.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};_7e9.buildGroupRE=function(arr,re,_7eb){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return _7e9.group(b.join("|"),_7eb);};_7e9.group=function(_7ec,_7ed){return "("+(_7ed?"?:":"")+_7ec+")";};return _7e9;});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_7ee,dom,lang,_7ef,_7f0,_7f1){function _7f2(_7f3){return {id:_7f3.value,value:_7f3.value,name:lang.trim(_7f3.innerText||_7f3.textContent||"")};};return _7ee("dijit.form.DataList",_7f0,{constructor:function(_7f4,_7f5){this.domNode=dom.byId(_7f5);lang.mixin(this,_7f4);if(this.id){_7f1.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_7ef("option",this.domNode).map(_7f2)}]);},destroy:function(){_7f1.remove(this.id);},fetchSelectedItem:function(){var _7f6=_7ef("> option[selected]",this.domNode)[0]||_7ef("> option",this.domNode)[0];return _7f6&&_7f2(_7f6);}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_7f7,_7f8,_7f9){var base=null;return _7f7("dojo.store.Memory",base,{constructor:function(_7fa){for(var i in _7fa){this[i]=_7fa[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_7f9,get:function(id){return this.data[this.index[id]];},getIdentity:function(_7fb){return _7fb[this.idProperty];},put:function(_7fc,_7fd){var data=this.data,_7fe=this.index,_7ff=this.idProperty;var id=_7fc[_7ff]=(_7fd&&"id" in _7fd)?_7fd.id:_7ff in _7fc?_7fc[_7ff]:Math.random();if(id in _7fe){if(_7fd&&_7fd.overwrite===false){throw new Error("Object already exists");}data[_7fe[id]]=_7fc;}else{_7fe[id]=data.push(_7fc)-1;}return id;},add:function(_800,_801){(_801=_801||{}).overwrite=false;return this.put(_800,_801);},remove:function(id){var _802=this.index;var data=this.data;if(id in _802){data.splice(_802[id],1);this.setData(data);return true;}},query:function(_803,_804){return _7f8(this.queryEngine(_803,_804)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;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(["../../_base/array"],function(_805){return function(_806,_807){switch(typeof _806){default:throw new Error("Can not query with a "+typeof _806);case "object":case "undefined":var _808=_806;_806=function(_809){for(var key in _808){var _80a=_808[key];if(_80a&&_80a.test){if(!_80a.test(_809[key],_809)){return false;}}else{if(_80a!=_809[key]){return false;}}}return true;};break;case "string":if(!this[_806]){throw new Error("No filter function "+_806+" was found in store");}_806=this[_806];case "function":}function _80b(_80c){var _80d=_805.filter(_80c,_806);var _80e=_807&&_807.sort;if(_80e){_80d.sort(typeof _80e=="function"?_80e:function(a,b){for(var sort,i=0;sort=_80e[i];i++){var _80f=a[sort.attribute];var _810=b[sort.attribute];_80f=_80f!=null?_80f.valueOf():_80f;_810=_810!=null?_810.valueOf():_810;if(_80f!=_810){return !!sort.descending==(_80f==null||_80f>_810)?-1:1;}}return 0;});}if(_807&&(_807.start||_807.count)){var _811=_80d.length;_80d=_80d.slice(_807.start||0,(_807.start||0)+(_807.count||Infinity));_80d.total=_811;}return _80d;};_80b.matches=_806;return _80b;};});},"dijit/form/_SearchMixin":function(){define(["dojo/_base/declare","dojo/keys","dojo/_base/lang","dojo/query","dojo/string","dojo/when","../registry"],function(_812,keys,lang,_813,_814,when,_815){return _812("dijit.form._SearchMixin",null,{pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(list){this._set("list",list);},searchDelay:200,searchAttr:"name",queryExpr:"${0}*",ignoreCase:true,_patternToRegExp:function(_816){return new RegExp("^"+_816.replace(/(\\.)|(\*)|(\?)|\W/g,function(str,_817,star,_818){return star?".*":_818?".":_817?_817:"\\"+str;})+"$",this.ignoreCase?"mi":"m");},_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;this._prev_key_backspace=false;if(key==keys.DELETE||key==keys.BACKSPACE){this._prev_key_backspace=true;this._maskValidSubsetError=true;}if(!this.store){this.onSearch();}else{this.searchTimer=this.defer("_startSearchFromInput",1);}},onSearch:function(){},_startSearchFromInput:function(){this._startSearch(this.focusNode.value);},_startSearch:function(text){this._abortQuery();var _819=this,_813=lang.clone(this.query),_81a={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}},qs=_814.substitute(this.queryExpr,[text.replace(/([\\\*\?])/g,"\\$1")]),q,_81b=function(){var _81c=_819._fetchHandle=_819.store.query(_813,_81a);if(_819.disabled||_819.readOnly||(q!==_819._lastQuery)){return;}when(_81c,function(res){_819._fetchHandle=null;if(!_819.disabled&&!_819.readOnly&&(q===_819._lastQuery)){when(_81c.total,function(_81d){res.total=_81d;var _81e=_819.pageSize;if(isNaN(_81e)||_81e>res.total){_81e=res.total;}res.nextPage=function(_81f){_81a.direction=_81f=_81f!==false;_81a.count=_81e;if(_81f){_81a.start+=res.length;if(_81a.start>=res.total){_81a.count=0;}}else{_81a.start-=_81e;if(_81a.start<0){_81a.count=Math.max(_81e+_81a.start,0);_81a.start=0;}}if(_81a.count<=0){res.length=0;_819.onSearch(res,_813,_81a);}else{_81b();}};_819.onSearch(res,_813,_81a);});}},function(err){_819._fetchHandle=null;if(!_819._cancelingQuery){console.error(_819.declaredClass+" "+err.toString());}});};lang.mixin(_81a,this.fetchProperties);if(this.store._oldAPI){q=qs;}else{q=this._patternToRegExp(qs);q.toString=function(){return qs;};}this._lastQuery=_813[this.searchAttr]=q;this._queryDeferHandle=this.defer(_81b,this.searchDelay);},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var list=this.list;if(list){this.store=_815.byId(list);}}this.inherited(arguments);}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_820,_821,_822,keys,_823,_824,_825,_826){return _820("dijit.form._ComboBoxMenu",[_823,_824,_826,_825],{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()){_821.add(this.previousButton,"dijitMenuItemRtl");_821.add(this.nextButton,"dijitMenuItemRtl");}this.containerNode.setAttribute("role","listbox");},_createMenuItem:function(){var item=this.ownerDocument.createElement("div");item.className="dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl");item.setAttribute("role","option");return item;},onHover:function(node){_821.add(node,"dijitMenuItemHover");},onUnhover:function(node){_821.remove(node,"dijitMenuItemHover");},onSelect:function(node){_821.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_821.remove(node,"dijitMenuItemSelected");},_page:function(up){var _827=0;var _828=this.domNode.scrollTop;var _829=_822.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_827<_829){var _82a=this.getHighlightedOption();if(up){if(!_82a.previousSibling||_82a.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_82a.nextSibling||_82a.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _82b=this.domNode.scrollTop;_827+=(_82b-_828)*(up?-1:1);_828=_82b;}},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(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/has","dojo/i18n","dojo/i18n!./nls/ComboBox"],function(_82c,_82d,_82e,has,i18n){var _82f=_82d("dijit.form._ComboBoxMenuMixin"+(has("dojo-bidi")?"_NoBidi":""),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(_830){this._set("value",_830);this.onChange(_830);},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,_831){var _832=this._createMenuItem();var _833=_831(item);if(_833.html){_832.innerHTML=_833.label;}else{_832.appendChild(_832.ownerDocument.createTextNode(_833.label));}if(_832.innerHTML==""){_832.innerHTML=" ";}return _832;},createOptions:function(_834,_835,_836){this.items=_834;this.previousButton.style.display=(_835.start==0)?"none":"";_82e.set(this.previousButton,"id",this.id+"_prev");_82c.forEach(_834,function(item,i){var _837=this._createOption(item,_836);_837.setAttribute("item",i);_82e.set(_837,"id",this.id+i);this.nextButton.parentNode.insertBefore(_837,this.nextButton);},this);var _838=false;if(_834.total&&!_834.total.then&&_834.total!=-1){if((_835.start+_835.count)<_834.total){_838=true;}else{if((_835.start+_835.count)>_834.total&&_835.count==_834.length){_838=true;}}}else{if(_835.count==_834.length){_838=true;}}this.nextButton.style.display=_838?"":"none";_82e.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _839=this.containerNode;while(_839.childNodes.length>2){_839.removeChild(_839.childNodes[_839.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;}});if(has("dojo-bidi")){_82f=_82d("dijit.form._ComboBoxMenuMixin",_82f,{_createOption:function(){var _83a=this.inherited(arguments);this.applyTextDir(_83a);return _83a;}});}return _82f;});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/on","dojo/touch","./_ListBase"],function(_83b,on,_83c,_83d){return _83b("dijit.form._ListMouseMixin",_83d,{postCreate:function(){this.inherited(arguments);this.domNode.dojoClick=true;this._listConnect("click","_onClick");this._listConnect("mousedown","_onMouseDown");this._listConnect("mouseup","_onMouseUp");this._listConnect("mouseover","_onMouseOver");this._listConnect("mouseout","_onMouseOut");},_onClick:function(evt,_83e){this._setSelectedAttr(_83e,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_83e);});},_onMouseDown:function(evt,_83f){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(_83f,false);},_onMouseUp:function(evt,_840){this._isDragging=false;var _841=this.selected;var _842=this._hoveredNode;if(_841&&_840==_841){this.defer(function(){this._onClick(evt,_841);});}else{if(_842){this.defer(function(){this._onClick(evt,_842);});}}},_onMouseOut:function(evt,_843){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt,_844){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}this._hoveredNode=_844;this.onHover(_844);if(this._isDragging){this._setSelectedAttr(_844,false);}}});});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/on","dojo/window"],function(_845,on,_846){return _845("dijit.form._ListBase",null,{selected:null,_listConnect:function(_847,_848){var self=this;return self.own(on(self.containerNode,on.selector(function(_849,_84a,_84b){return _849.parentNode==_84b;},_847),function(evt){self[_848](evt,this);}));},selectFirstNode:function(){var _84c=this.containerNode.firstChild;while(_84c&&_84c.style.display=="none"){_84c=_84c.nextSibling;}this._setSelectedAttr(_84c,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _84d=this.selected;if(!_84d){this.selectFirstNode();}else{var next=_84d.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _84e=this.selected;if(!_84e){this.selectLastNode();}else{var prev=_84e.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_84f){if(this.selected!=node){var _850=this.selected;if(_850){this.onDeselect(_850);}if(node){if(_84f){_846.scrollIntoView(node);}this.onSelect(node);}this._set("selected",node);}else{if(node){this.onSelect(node);}}}});});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_851,_852,_853,has,_854,_855,_856,_857){return _851("dijit.form.Form",[_854,_855,_856,_857],{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(_858){_852.set(this.domNode,"encType",_858);if(has("ie")){this.domNode.encoding=_858;}this._set("encType",_858);},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);e.stopPropagation();e.preventDefault();return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_853.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){e.stopPropagation();e.preventDefault();}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_859,_85a,_85b){return _859("dijit.form.RadioButton",[_85a,_85b],{baseClass:"dijitRadio"});});},"dijit/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/lang","dojo/query!css2","../registry"],function(_85c,_85d,_85e,lang,_85f,_860){return _85d("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_85f("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(lang.hitch(this,function(_861){if(_861.name==this.name&&_861.form==this.focusNode.form){var _862=_860.getEnclosingWidget(_861);if(_862){ary.push(_862);}}}));return ary;},_setCheckedAttr:function(_863){this.inherited(arguments);if(!this._created){return;}if(_863){_85c.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_864){if(_864!=this&&_864.checked){_864.set("checked",false);}}));}},_getSubmitValue:function(_865){return _865==null?"on":_865;},_onClick:function(e){if(this.checked||this.disabled){e.stopPropagation();e.preventDefault();return false;}if(this.readOnly){e.stopPropagation();e.preventDefault();_85c.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_866){_85e.set(this.focusNode||this.domNode,"checked",_866.checked);}));return false;}var _867=false;var _868;_85c.some(this._getRelatedWidgets(),function(_869){if(_869.checked){_868=_869;return true;}return false;});this.checked=true;_868&&(_868.checked=false);if(this.onClick(e)===false||e.defaultPrevented){_867=true;}this.checked=false;_868&&(_868.checked=true);if(_867){e.preventDefault();}else{this.set("checked",true);}return !_867;}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/i18n","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormSelectWidget","../_HasDropDown","../DropDownMenu","../MenuItem","../MenuSeparator","../Tooltip","../_KeyNavMixin","../registry","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_86a,_86b,_86c,_86d,_86e,i18n,keys,lang,on,has,_86f,_870,_871,_872,_873,_874,_875,_876,_877){var _878=_86b("dijit.form._SelectMenu",_871,{autoFocus:true,buildRendering:function(){this.inherited(arguments);this.domNode.setAttribute("role","listbox");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));},focus:function(){var _879=false,val=this.parentWidget.value;if(lang.isArray(val)){val=val[val.length-1];}if(val){_86a.forEach(this.parentWidget._getChildren(),function(_87a){if(_87a.option&&(val===_87a.option.value)){_879=true;this.focusChild(_87a,false);}},this);}if(!_879){this.inherited(arguments);}}});var _87b=_86b("dijit.form.Select"+(has("dojo-bidi")?"_NoBidi":""),[_86f,_870,_875],{baseClass:"dijitSelect dijitValidationTextBox",templateString:_877,_buttonInputDisabled:has("ie")?"disabled":"",required:false,state:"",message:"",tooltipPosition:[],emptyLabel:" ",_isLoaded:false,_childrenLoaded:false,labelType:"html",_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this._set("value",this.options[si>=0?si:0].value);}this.dropDown=new _878({id:this.id+"_menu",parentWidget:this});_86d.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,"Menu "));},_getMenuItemForOption:function(_87c){if(!_87c.value&&!_87c.label){return new _873({ownerDocument:this.ownerDocument});}else{var _87d=lang.hitch(this,"_setValueAttr",_87c);var item=new _872({option:_87c,label:(this.labelType==="text"?(_87c.label||"").toString().replace(/&/g,"&").replace(/</g,"<"):_87c.label)||this.emptyLabel,onClick:_87d,ownerDocument:this.ownerDocument,dir:this.dir,textDir:this.textDir,disabled:_87c.disabled||false});item.focusNode.setAttribute("role","option");return item;}},_addOptionItem:function(_87e){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_87e));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},focusChild:function(_87f){if(_87f){this.set("value",_87f.option);}},_getFirst:function(){var _880=this._getChildren();return _880.length?_880[0]:null;},_getLast:function(){var _881=this._getChildren();return _881.length?_881[_881.length-1]:null;},childSelector:function(node){var node=_876.byNode(node);return node&&node.getParent()==this.dropDown;},onKeyboardSearch:function(item,evt,_882,_883){if(item){this.focusChild(item);}},_loadChildren:function(_884){if(_884===true){if(this.dropDown){delete this.dropDown.focusedChild;this.focusedChild=null;}if(this.options.length){this.inherited(arguments);}else{_86a.forEach(this._getChildren(),function(_885){_885.destroyRecursive();});var item=new _872({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(_886){this.inherited(arguments);_86c.set(this.valueNode,"value",this.get("value"));this._refreshState();},_setNameAttr:"valueNode",_setDisabledAttr:function(_887){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_888){this._set("required",_888);this.focusNode.setAttribute("aria-required",_888);this._refreshState();},_setOptionsAttr:function(_889){this._isLoaded=false;this._set("options",_889);},_setDisplay:function(_88a){var lbl=(this.labelType==="text"?(_88a||"").replace(/&/g,"&").replace(/</g,"<"):_88a)||this.emptyLabel;this.containerNode.innerHTML="<span role=\"option\" aria-selected=\"true\" class=\"dijitReset dijitInline "+this.baseClass.replace(/\s+|$/g,"Label ")+"\">"+lbl+"</span>";},validate:function(_88b){var _88c=this.disabled||this.isValid(_88b);this._set("state",_88c?"":(this._hasBeenBlurred?"Error":"Incomplete"));this.focusNode.setAttribute("aria-invalid",_88c?"false":"true");var _88d=_88c?"":this._missingMsg;if(_88d&&this.focused&&this._hasBeenBlurred){_874.show(_88d,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_874.hide(this.domNode);}this._set("message",_88d);return _88c;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_874.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.own(on(this.domNode,"selectstart",function(evt){evt.preventDefault();evt.stopPropagation();}));this.domNode.setAttribute("aria-expanded","false");var _88e=this._keyNavCodes;delete _88e[keys.LEFT_ARROW];delete _88e[keys.RIGHT_ARROW];},_setStyleAttr:function(_88f){this.inherited(arguments);_86d.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_890){this._loadChildren(true);this._isLoaded=true;_890();},destroy:function(_891){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_891);delete this.dropDown;}_874.hide(this.domNode);this.inherited(arguments);},_onFocus:function(){this.validate(true);},_onBlur:function(){_874.hide(this.domNode);this.inherited(arguments);this.validate(false);}});if(has("dojo-bidi")){_87b=_86b("dijit.form.Select",_87b,{_setDisplay:function(_892){this.inherited(arguments);this.applyTextDir(this.containerNode);}});}_87b._Menu=_878;function _893(_894){return function(evt){if(!this._isLoaded){this.loadDropDown(lang.hitch(this,_894,evt));}else{this.inherited(_894,arguments);}};};_87b.prototype._onContainerKeydown=_893("_onContainerKeydown");_87b.prototype._onContainerKeypress=_893("_onContainerKeypress");return _87b;});},"dijit/form/_FormSelectWidget":function(){define(["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(_895,_896,_897,_898,_899,dom,_89a,_89b,lang,_89c,when,_89d,_89e){var _89f=_899("dijit.form._FormSelectWidget",_89e,{multiple:false,options:null,store:null,_setStoreAttr:function(val){if(this._created){this._deprecatedSetStore(val);}},query:null,_setQueryAttr:function(_8a0){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_8a0});}},queryOptions:null,_setQueryOptionsAttr:function(_8a1){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_8a1});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_8a2){var opts=this.options||[];if(_8a2==null){return opts;}if(lang.isArrayLike(_8a2)){return _895.map(_8a2,"return this.getOptions(item);",this);}if(lang.isString(_8a2)){_8a2={value:_8a2};}if(lang.isObject(_8a2)){if(!_895.some(opts,function(_8a3,idx){for(var a in _8a2){if(!(a in _8a3)||_8a3[a]!=_8a2[a]){return false;}}_8a2=idx;return true;})){_8a2=-1;}}if(_8a2>=0&&_8a2<opts.length){return opts[_8a2];}return null;},addOption:function(_8a4){_895.forEach(lang.isArrayLike(_8a4)?_8a4:[_8a4],function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_8a5){var _8a6=this.getOptions(lang.isArrayLike(_8a5)?_8a5:[_8a5]);_895.forEach(_8a6,function(_8a7){if(_8a7){this.options=_895.filter(this.options,function(node){return (node.value!==_8a7.value||node.label!==_8a7.label);});this._removeOptionItem(_8a7);}},this);this._loadChildren();},updateOption:function(_8a8){_895.forEach(lang.isArrayLike(_8a8)?_8a8:[_8a8],function(i){var _8a9=this.getOptions({value:i.value}),k;if(_8a9){for(k in i){_8a9[k]=i[k];}}},this);this._loadChildren();},setStore:function(_8aa,_8ab,_8ac){_89b.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_8aa,_8ab,_8ac);},_deprecatedSetStore:function(_8ad,_8ae,_8af){var _8b0=this.store;_8af=_8af||{};if(_8b0!==_8ad){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_8ad.get){lang.mixin(_8ad,{_oldAPI:true,get:function(id){var _8b1=new _896();this.fetchItemByIdentity({identity:id,onItem:function(_8b2){_8b1.resolve(_8b2);},onError:function(_8b3){_8b1.reject(_8b3);}});return _8b1.promise;},query:function(_8b4,_8b5){var _8b6=new _896(function(){if(_8b7.abort){_8b7.abort();}});_8b6.total=new _896();var _8b7=this.fetch(lang.mixin({query:_8b4,onBegin:function(_8b8){_8b6.total.resolve(_8b8);},onComplete:function(_8b9){_8b6.resolve(_8b9);},onError:function(_8ba){_8b6.reject(_8ba);}},_8b5));return new _89d(_8b6);}});if(_8ad.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_897.after(_8ad,"onNew",lang.hitch(this,"_onNewItem"),true),_897.after(_8ad,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_897.after(_8ad,"onSet",lang.hitch(this,"_onSetItem"),true)];}}this._set("store",_8ad);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_8af.query){this._set("query",_8af.query);}if(_8af.queryOptions){this._set("queryOptions",_8af.queryOptions);}if(_8ad&&_8ad.query){this._loadingStore=true;this.onLoadDeferred=new _896();this._queryRes=_8ad.query(this.query,this.queryOptions);when(this._queryRes,lang.hitch(this,function(_8bb){if(this.sortByLabel&&!_8af.sort&&_8bb.length){if(_8ad.getValue){_8bb.sort(_898.createSortFunction([{attribute:_8ad.getLabelAttributes(_8bb[0])[0]}],_8ad));}else{var _8bc=this.labelAttr;_8bb.sort(function(a,b){return a[_8bc]>b[_8bc]?1:b[_8bc]>a[_8bc]?-1:0;});}}if(_8af.onFetch){_8bb=_8af.onFetch.call(this,_8bb,_8af);}_895.forEach(_8bb,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(lang.hitch(this,function(_8bd,_8be,_8bf){if(_8be==_8bf){this._onSetItem(_8bd);}else{if(_8be!=-1){this._onDeleteItem(_8bd);}if(_8bf!=-1){this._onNewItem(_8bd);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_8ae);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_8bb);}this.onLoadDeferred.resolve(true);this.onSetStore();}),lang.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _8b0;},_setValueAttr:function(_8c0,_8c1){if(!this._onChangeActive){_8c1=null;}if(this._loadingStore){this._pendingValue=_8c0;return;}if(_8c0==null){return;}if(lang.isArrayLike(_8c0)){_8c0=_895.map(_8c0,function(_8c2){return lang.isObject(_8c2)?_8c2:{value:_8c2};});}else{if(lang.isObject(_8c0)){_8c0=[_8c0];}else{_8c0=[{value:_8c0}];}}_8c0=_895.filter(this.getOptions(_8c0),function(i){return i&&i.value;});var opts=this.getOptions()||[];if(!this.multiple&&(!_8c0[0]||!_8c0[0].value)&&!!opts.length){_8c0[0]=opts[0];}_895.forEach(opts,function(opt){opt.selected=_895.some(_8c0,function(v){return v.value===opt.value;});});var val=_895.map(_8c0,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var disp=_895.map(_8c0,function(opt){return opt.label;});this._setDisplay(this.multiple?disp:disp[0]);this.inherited(arguments,[this.multiple?val:val[0],_8c1]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_895.map([].concat(this.get("selectedOptions")),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];},_setDisplayedValueAttr:function(_8c3){this.set("value",this.getOptions(typeof _8c3=="string"?{label:_8c3}:_8c3));},_loadChildren:function(){if(this._loadingStore){return;}_895.forEach(this._getChildren(),function(_8c4){_8c4.destroyRecursive();});_895.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var self=this;_895.forEach(this._getChildren(),function(_8c5){var _8c6=_895.some(val,function(v){return _8c5.option&&(v===_8c5.option.value);});if(_8c6&&!self.multiple){self.focusedChild=_8c5;}_89a.toggle(_8c5.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_8c6);_8c5.domNode.setAttribute("aria-selected",_8c6?"true":"false");},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_895.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 _895.map(_895.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_8c7){if(!_8c7||!_8c7.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _8c8=this.store;this.removeOption({value:_8c8.getIdentity(item)});},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _8c9=this.store,_8ca=(this.labelAttr&&this.labelAttr in item)?item[this.labelAttr]:_8c9.getLabel(item),_8cb=(_8ca?_8c9.getIdentity(item):null);return {value:_8cb,label:_8ca,item:item};},_addOptionForItem:function(item){var _8cc=this.store;if(_8cc.isItemLoaded&&!_8cc.isItemLoaded(item)){_8cc.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _8cd=this._getOptionObjForItem(item);this.addOption(_8cd);},constructor:function(_8ce){this._oValue=(_8ce||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_89c("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_89b._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);_897.after(this,"onChange",lang.hitch(this,"_updateSelection"));var _8cf=this.store;if(_8cf&&(_8cf.getIdentity||_8cf.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_8cf,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},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();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _89f;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/keys","dojo/text!./templates/Menu.html","./_MenuBase"],function(_8d0,keys,_8d1,_8d2){return _8d0("dijit.DropDownMenu",_8d2,{templateString:_8d1,baseClass:"dijitMenu",_onUpArrow:function(){this.focusPrev();},_onDownArrow:function(){this.focusNext();},_onRightArrow:function(evt){this._moveToPopup(evt);evt.stopPropagation();evt.preventDefault();},_onLeftArrow:function(evt){if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{evt.stopPropagation();evt.preventDefault();}}});});},"dijit/_MenuBase":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/mouse","dojo/on","dojo/window","./a11yclick","./registry","./_Widget","./_CssStateMixin","./_KeyNavContainer","./_TemplatedMixin"],function(_8d3,_8d4,dom,_8d5,_8d6,lang,_8d7,on,_8d8,_8d9,_8da,_8db,_8dc,_8dd,_8de){return _8d4("dijit._MenuBase",[_8db,_8de,_8dd,_8dc],{selected:null,_setSelectedAttr:function(item){if(this.selected!=item){if(this.selected){this.selected._setSelected(false);this._onChildDeselect(this.selected);}if(item){item._setSelected(true);}this._set("selected",item);}},activated:false,_setActivatedAttr:function(val){_8d6.toggle(this.domNode,"dijitMenuActive",val);_8d6.toggle(this.domNode,"dijitMenuPassive",!val);this._set("activated",val);},parentMenu:null,popupDelay:500,passivePopupDelay:Infinity,autoFocus:false,childSelector:function(node){var _8df=_8da.byNode(node);return node.parentNode==this.containerNode&&_8df&&_8df.focus;},postCreate:function(){var self=this,_8e0=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.containerNode,on.selector(_8e0,_8d7.enter),function(){self.onItemHover(_8da.byNode(this));}),on(this.containerNode,on.selector(_8e0,_8d7.leave),function(){self.onItemUnhover(_8da.byNode(this));}),on(this.containerNode,on.selector(_8e0,_8d9),function(evt){self.onItemClick(_8da.byNode(this),evt);evt.stopPropagation();}),on(this.containerNode,on.selector(_8e0,"focusin"),function(){self._onItemFocus(_8da.byNode(this));}));this.inherited(arguments);},onKeyboardSearch:function(item,evt,_8e1,_8e2){this.inherited(arguments);if(!!item&&(_8e2==-1||(!!item.popup&&_8e2==1))){this.onItemClick(item,evt);}},_keyboardSearchCompare:function(item,_8e3){if(!!item.shortcutKey){return _8e3==item.shortcutKey.toLowerCase()?-1:0;}return this.inherited(arguments)?1:0;},onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.onItemClick(this.focusedChild,evt);}else{var _8e4=this._getTopMenu();if(_8e4&&_8e4._isMenuBar){_8e4.focusNext();}}},_onPopupHover:function(){this.set("selected",this.currentPopupItem);this._stopPendingCloseTimer();},onItemHover:function(item){if(this.activated){this.set("selected",item);if(item.popup&&!item.disabled&&!this.hover_timer){this.hover_timer=this.defer(function(){this._openItemPopup(item);},this.popupDelay);}}else{if(this.passivePopupDelay<Infinity){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.passive_hover_timer=this.defer(function(){this.onItemClick(item,{type:"click"});},this.passivePopupDelay);}}this._hoveredChild=item;item._set("hovering",true);},_onChildDeselect:function(item){this._stopPopupTimer();if(this.currentPopupItem==item){this._stopPendingCloseTimer();this._pendingClose_timer=this.defer(function(){this._pendingClose_timer=null;this.currentPopupItem=null;item._closePopup();},this.popupDelay);}},onItemUnhover:function(item){if(this._hoveredChild==item){this._hoveredChild=null;}if(this.passive_hover_timer){this.passive_hover_timer.remove();this.passive_hover_timer=null;}item._set("hovering",false);},_stopPopupTimer:function(){if(this.hover_timer){this.hover_timer=this.hover_timer.remove();}},_stopPendingCloseTimer:function(){if(this._pendingClose_timer){this._pendingClose_timer=this._pendingClose_timer.remove();}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(this.passive_hover_timer){this.passive_hover_timer.remove();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this.set("selected",item);this.set("activated",true);var _8e5=/^key/.test(evt._origType||evt.type)||(evt.clientX==0&&evt.clientY==0);this._openItemPopup(item,_8e5);}else{this.onExecute();item._onClick?item._onClick(evt):item.onClick(evt);}},_openItemPopup:function(_8e6,_8e7){if(_8e6==this.currentPopupItem){return;}if(this.currentPopupItem){this._stopPendingCloseTimer();this.currentPopupItem._closePopup();}this._stopPopupTimer();var _8e8=_8e6.popup;_8e8.parentMenu=this;this.own(this._mouseoverHandle=on.once(_8e8.domNode,"mouseover",lang.hitch(this,"_onPopupHover")));var self=this;_8e6._openPopup({parent:this,orient:this._orient||["after","before"],onCancel:function(){if(_8e7){self.focusChild(_8e6);}self._cleanUp();},onExecute:lang.hitch(this,"_cleanUp",true),onClose:function(){if(self._mouseoverHandle){self._mouseoverHandle.remove();delete self._mouseoverHandle;}}},_8e7);this.currentPopupItem=_8e6;},onOpen:function(){this.isShowingNow=true;this.set("activated",true);},onClose:function(){this.set("activated",false);this.set("selected",null);this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopupItem){if(this.focused){_8d5.set(this.selected.focusNode,"tabIndex",this.tabIndex);this.selected.focusNode.focus();}this.currentPopupItem._closePopup();this.currentPopupItem=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this.onItemUnhover(this._hoveredChild);}this.set("selected",item);},_onBlur:function(){this._cleanUp(true);this.inherited(arguments);},_cleanUp:function(_8e9){this._closeChild();if(typeof this.isShowingNow=="undefined"){this.set("activated",false);}if(_8e9){this.set("selected",null);}}});});},"dijit/_KeyNavContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/keys","dojo/_base/lang","./registry","./_Container","./_FocusMixin","./_KeyNavMixin"],function(_8ea,_8eb,_8ec,_8ed,keys,lang,_8ee,_8ef,_8f0,_8f1){return _8eb("dijit._KeyNavContainer",[_8f0,_8f1,_8ef],{connectKeyNavHandlers:function(_8f2,_8f3){var _8f4=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_8ea.forEach(_8f2,function(code){_8f4[code]=prev;});_8ea.forEach(_8f3,function(code){_8f4[code]=next;});_8f4[keys.HOME]=lang.hitch(this,"focusFirstChild");_8f4[keys.END]=lang.hitch(this,"focusLastChild");},startupKeyNavChildren:function(){_8ed.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_8ea.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_8f5,_8f6){this.inherited(arguments);this._startupChild(_8f5);},_startupChild:function(_8f7){_8f7.set("tabIndex","-1");},_getFirst:function(){var _8f8=this.getChildren();return _8f8.length?_8f8[0]:null;},_getLast:function(){var _8f9=this.getChildren();return _8f9.length?_8f9[_8f9.length-1]:null;},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},childSelector:function(node){var node=_8ee.byNode(node);return node&&node.getParent()==this;}});});},"dijit/_KeyNavMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_8fa,_8fb,_8fc,keys,lang,on,_8fd,_8fe){return _8fb("dijit._KeyNavMixin",_8fe,{tabIndex:"0",childSelector:null,postCreate:function(){this.inherited(arguments);_8fc.set(this.domNode,"tabIndex",this.tabIndex);if(!this._keyNavCodes){var _8ff=this._keyNavCodes={};_8ff[keys.HOME]=lang.hitch(this,"focusFirstChild");_8ff[keys.END]=lang.hitch(this,"focusLastChild");_8ff[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]=lang.hitch(this,"_onLeftArrow");_8ff[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]=lang.hitch(this,"_onRightArrow");_8ff[keys.UP_ARROW]=lang.hitch(this,"_onUpArrow");_8ff[keys.DOWN_ARROW]=lang.hitch(this,"_onDownArrow");}var self=this,_900=typeof this.childSelector=="string"?this.childSelector:lang.hitch(this,"childSelector");this.own(on(this.domNode,"keypress",lang.hitch(this,"_onContainerKeypress")),on(this.domNode,"keydown",lang.hitch(this,"_onContainerKeydown")),on(this.domNode,"focus",lang.hitch(this,"_onContainerFocus")),on(this.containerNode,on.selector(_900,"focusin"),function(evt){self._onChildFocus(_8fd.getEnclosingWidget(this),evt);}));},_onLeftArrow:function(){},_onRightArrow:function(){},_onUpArrow:function(){},_onDownArrow:function(){},focus:function(){this.focusFirstChild();},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusChild:function(_901,last){if(!_901){return;}if(this.focusedChild&&_901!==this.focusedChild){this._onChildBlur(this.focusedChild);}_901.set("tabIndex",this.tabIndex);_901.focus(last?"end":"start");},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focus();},_onFocus:function(){_8fc.set(this.domNode,"tabIndex","-1");this.inherited(arguments);},_onBlur:function(evt){_8fc.set(this.domNode,"tabIndex",this.tabIndex);if(this.focusedChild){this.focusedChild.set("tabIndex","-1");this.lastFocusedChild=this.focusedChild;this._set("focusedChild",null);}this.inherited(arguments);},_onChildFocus:function(_902){if(_902&&_902!=this.focusedChild){if(this.focusedChild&&!this.focusedChild._destroyed){this.focusedChild.set("tabIndex","-1");}_902.set("tabIndex",this.tabIndex);this.lastFocused=_902;this._set("focusedChild",_902);}},_searchString:"",multiCharSearchDuration:1000,onKeyboardSearch:function(item,evt,_903,_904){if(item){this.focusChild(item);}},_keyboardSearchCompare:function(item,_905){var _906=item.domNode,text=item.label||(_906.focusNode?_906.focusNode.label:"")||_906.innerText||_906.textContent||"",_907=text.replace(/^\s+/,"").substr(0,_905.length).toLowerCase();return (!!_905.length&&_907==_905)?-1:0;},_onContainerKeydown:function(evt){var func=this._keyNavCodes[evt.keyCode];if(func){func(evt,this.focusedChild);evt.stopPropagation();evt.preventDefault();this._searchString="";}else{if(evt.keyCode==keys.SPACE&&this._searchTimer&&!(evt.ctrlKey||evt.altKey||evt.metaKey)){evt.stopImmediatePropagation();evt.preventDefault();this._keyboardSearch(evt," ");}}},_onContainerKeypress:function(evt){if(evt.charCode<=keys.SPACE||evt.ctrlKey||evt.altKey||evt.metaKey){return;}evt.preventDefault();evt.stopPropagation();this._keyboardSearch(evt,String.fromCharCode(evt.charCode).toLowerCase());},_keyboardSearch:function(evt,_908){var _909=null,_90a,_90b=0,_90c=lang.hitch(this,function(){if(this._searchTimer){this._searchTimer.remove();}this._searchString+=_908;var _90d=/^(.)\1*$/.test(this._searchString);var _90e=_90d?1:this._searchString.length;_90a=this._searchString.substr(0,_90e);this._searchTimer=this.defer(function(){this._searchTimer=null;this._searchString="";},this.multiCharSearchDuration);var _90f=this.focusedChild||null;if(_90e==1||!_90f){_90f=this._getNextFocusableChild(_90f,1);if(!_90f){return;}}var stop=_90f;do{var rc=this._keyboardSearchCompare(_90f,_90a);if(!!rc&&_90b++==0){_909=_90f;}if(rc==-1){_90b=-1;break;}_90f=this._getNextFocusableChild(_90f,1);}while(_90f&&_90f!=stop);});_90c();this.onKeyboardSearch(_909,evt,_90a,_90b);},_onChildBlur:function(){},_getNextFocusableChild:function(_910,dir){var _911=_910;do{if(!_910){_910=this[dir>0?"_getFirst":"_getLast"]();if(!_910){break;}}else{_910=this._getNext(_910,dir);}if(_910!=null&&_910!=_911&&_910.isFocusable()){return _910;}}while(_910!=_911);return null;},_getFirst:function(){return null;},_getLast:function(){return null;},_getNext:function(_912,dir){if(_912){_912=_912.domNode;while(_912){_912=_912[dir<0?"previousSibling":"nextSibling"];if(_912&&"getAttribute" in _912){var w=_8fd.byNode(_912);if(w){return w;}}}}return null;}});});},"dijit/MenuItem":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/kernel","dojo/sniff","dojo/_base/lang","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_913,dom,_914,_915,_916,has,lang,_917,_918,_919,_91a,_91b){var _91c=_913("dijit.MenuItem"+(has("dojo-bidi")?"_NoBidi":""),[_917,_918,_919,_91a],{templateString:_91b,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(val){this._set("label",val);var _91d="";var text;var ndx=val.search(/{\S}/);if(ndx>=0){_91d=val.charAt(ndx+1);var _91e=val.substr(0,ndx);var _91f=val.substr(ndx+3);text=_91e+_91d+_91f;val=_91e+"<span class=\"dijitMenuItemShortcutKey\">"+_91d+"</span>"+_91f;}else{text=val;}this.domNode.setAttribute("aria-label",text+" "+this.accelKey);this.containerNode.innerHTML=val;this._set("shortcutKey",_91d);},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_920){if(_920&&!("label" in this.params)){this._set("label",_920.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _921=this.id+"_text";_914.set(this.containerNode,"id",_921);if(this.accelKeyNode){_914.set(this.accelKeyNode,"id",this.id+"_accel");}dom.setSelectable(this.domNode,false);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_setSelected:function(_922){_915.toggle(this.domNode,"dijitMenuItemSelected",_922);},setLabel:function(_923){_916.deprecated("dijit.MenuItem.setLabel() is deprecated. Use set('label', ...) instead.","","2.0");this.set("label",_923);},setDisabled:function(_924){_916.deprecated("dijit.Menu.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_924);},_setDisabledAttr:function(_925){this.focusNode.setAttribute("aria-disabled",_925?"true":"false");this._set("disabled",_925);},_setAccelKeyAttr:function(_926){if(this.accelKeyNode){this.accelKeyNode.style.display=_926?"":"none";this.accelKeyNode.innerHTML=_926;_914.set(this.containerNode,"colSpan",_926?"1":"2");}this._set("accelKey",_926);}});if(has("dojo-bidi")){_91c=_913("dijit.MenuItem",_91c,{_setLabelAttr:function(val){this.inherited(arguments);if(this.textDir==="auto"){this.applyTextDir(this.textDirNode);}}});}return _91c;});},"dijit/MenuSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_927,dom,_928,_929,_92a,_92b){return _927("dijit.MenuSeparator",[_928,_929,_92a],{templateString:_92b,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/SimpleTextarea":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/sniff","./TextBox"],function(_92c,_92d,has,_92e){return _92c("dijit.form.SimpleTextarea",_92e,{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){_92d.add(this.textbox,"dijitTextAreaCols");}},filter:function(_92f){if(_92f){_92f=_92f.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _930=parseInt(this.maxLength);var _931=this.textbox.value.replace(/\r/g,"");var _932=_931.length-_930;if(_932>0){var _933=this.textbox;if(_933.selectionStart){var pos=_933.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_931.substring(0,pos-_932-cr)+_931.substring(pos-cr);_933.setSelectionRange(pos-_932,pos-_932);}else{if(this.ownerDocument.selection){_933.focus();var _934=this.ownerDocument.selection.createRange();_934.moveStart("character",-_932);_934.text="";_934.select();}}}}this.inherited(arguments);}});});},"dijit/InlineEditBox":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","dojo/when","./a11yclick","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_935,_936,_937,_938,_939,_93a,_93b,_93c,i18n,_93d,keys,lang,on,has,when,_93e,fm,_93f,_940,_941,_942,_943,_944,_945,_946){var _947=_938("dijit._InlineEditor",[_93f,_940,_941],{templateString:_946,contextRequire:_935,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_936.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)||_935(this.editor)):this.editor;var _948=this.sourceStyle,_949="line-height:"+_948.lineHeight+";",_94a=_93c.getComputedStyle(this.domNode);_936.forEach(["Weight","Family","Size","Style"],function(prop){var _94b=_948["font"+prop],_94c=_94a["font"+prop];if(_94c!=_94b){_949+="font-"+prop+":"+_948["font"+prop]+";";}},this);_936.forEach(["marginTop","marginBottom","marginLeft","marginRight","position","left","top","right","bottom","float","clear","display"],function(prop){this.domNode.style[prop]=_948[prop];},this);var _94d=this.inlineEditBox.width;if(_94d=="100%"){_949+="width:100%;";this.domNode.style.display="block";}else{_949+="width:"+(_94d+(Number(_94d)==_94d?"px":""))+";";}var _94e=lang.delegate(this.inlineEditBox.editorParams,{style:_949,dir:this.dir,lang:this.lang,textDir:this.textDir});this.editWidget=new Cls(_94e,this.editorPlaceholder);if(this.inlineEditBox.autoSave){this.saveButton.destroy();this.cancelButton.destroy();this.saveButton=this.cancelButton=null;_93b.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.own(_937.after(ew,"onChange",lang.hitch(this,"_onChange"),true),on(ew,"keydown",lang.hitch(this,"_onKeyDown")));}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.own(_937.after(ew,"onChange",lang.hitch(this,"_onIntermediateChange"),true));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||"_getDisplayedValueAttr" in ew)?"displayedValue":"value"));},_onKeyDown:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.keyCode==keys.ESCAPE){e.stopPropagation();e.preventDefault();this.cancel(true);}else{if(e.keyCode==keys.ENTER&&e.target.tagName=="INPUT"){e.stopPropagation();e.preventDefault();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(){_944.selectInputText(this.editWidget.focusNode);});}}}});var _94f=_938("dijit.InlineEditBox"+(has("dojo-bidi")?"_NoBidi":""),_93f,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_945,editorWrapper:_947,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>    ✍    </span>":"<span style='text-decoration: underline;'>    ✍    </span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;this.own(on(this.displayNode,_93e,lang.hitch(this,"_onClick")),on(this.displayNode,"mouseover, focus",lang.hitch(this,"_onMouseOver")),on(this.displayNode,"mouseout, blur",lang.hitch(this,"_onMouseOut")));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;}_93a.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_950){_93d.deprecated("dijit.InlineEditBox.setDisabled() is deprecated. Use set('disabled', bool) instead.","","2.0");this.set("disabled",_950);},_setDisabledAttr:function(_951){this.domNode.setAttribute("aria-disabled",_951?"true":"false");if(_951){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_93a.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_951);this._set("disabled",_951);},_onMouseOver:function(){if(!this.disabled){_93a.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_93a.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){e.stopPropagation();e.preventDefault();}this._onMouseOut();this.defer("edit");},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedTabIndex=_939.get(this.displayNode,"tabIndex")||"0";if(!this.wrapperWidget){var _952=_93b.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:_93c.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_952);if(!this.wrapperWidget._started){this.wrapperWidget.startup();}if(!this._started){this.startup();}}var ww=this.wrapperWidget;_93a.add(this.displayNode,"dijitOffScreen");_93a.remove(ww.domNode,"dijitOffScreen");_93c.set(ww.domNode,{visibility:"visible"});_939.set(this.displayNode,"tabIndex","-1");var ew=ww.editWidget;var self=this;when(ew.onLoadDeferred,lang.hitch(ww,function(){ew.set(("displayedValue" in ew||"_setDisplayedValueAttr" in ew)?"displayedValue":"value",self.value);this.defer(function(){if(ww.saveButton){ww.saveButton.set("disabled","intermediateChanges" in ew);}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(_953){var ww=this.wrapperWidget;_93c.set(ww.domNode,{visibility:"hidden"});_93a.add(ww.domNode,"dijitOffScreen");_93a.remove(this.displayNode,"dijitOffScreen");_939.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_953){fm.focus(this.displayNode);}},save:function(_954){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _955=ww.getValue();this.set("value",_955);this._showText(_954);},setValue:function(val){_93d.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 _956=this.renderAsHtml?val:val.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/\n/g,"<br>");if(this.editorParams&&this.editorParams.type==="password"){this.displayNode.innerHTML="********";}else{this.displayNode.innerHTML=_956||this.noValueIndicator;}this._set("value",val);if(this._started){this.defer(function(){this.onChange(val);});}},getValue:function(){_93d.deprecated("dijit.InlineEditBox.getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_957){if(this.disabled||!this.editing){return;}this._set("editing",false);this.defer("onCancel");this._showText(_957);}});if(has("dojo-bidi")){_94f=_938("dijit.InlineEditBox",_94f,{_setValueAttr:function(){this.inherited(arguments);this.applyTextDir(this.displayNode);}});}_94f._InlineEditor=_947;return _94f;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang","dojo/parser"],function(_958,_959,_95a,lang,_95b){return _95a("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,contextRequire:null,_beforeFillContent:function(){if(/dojoType|data-dojo-type/i.test(this.domNode.innerHTML)){var node=this.domNode;if(this.containerNode&&!this.searchContainerNode){this.containerNode.stopParser=true;}_95b.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,contextRequire:this.contextRequire,scope:"dojo"}).then(lang.hitch(this,function(_95c){this._startupWidgets=_95c;for(var i=0;i<_95c.length;i++){this._processTemplateNode(_95c[i],function(n,p){return n[p];},function(_95d,type,_95e){if(type in _95d){return _95d.connect(_95d,type,_95e);}else{return _95d.on(type,_95e,true);}});}if(this.containerNode&&this.containerNode.stopParser){delete this.containerNode.stopParser;}}));if(!this._startupWidgets){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.");}}},_processTemplateNode:function(_95f,_960,_961){if(_960(_95f,"dojoType")||_960(_95f,"data-dojo-type")){return true;}return this.inherited(arguments);},startup:function(){_958.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this._startupWidgets=null;this.inherited(arguments);}});});},"dijit/ToolbarSeparator":function(){define(["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_962,dom,_963,_964){return _962("dijit.ToolbarSeparator",[_963,_964],{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(["dojo/_base/declare","dojo/dom-style","dojo/_base/lang","dojo/query","./popup","./registry","./MenuItem","./hccss"],function(_965,_966,lang,_967,pm,_968,_969){return _965("dijit.PopupMenuItem",_969,{baseClass:"dijitMenuItem dijitPopupMenuItem",_fillContent:function(){if(this.srcNodeRef){var _96a=_967("*",this.srcNodeRef);this.inherited(arguments,[_96a[0]]);this.dropDownContainer=this.srcNodeRef;}},_openPopup:function(_96b,_96c){var _96d=this.popup;pm.open(lang.delegate(_96b,{popup:this.popup,around:this.domNode}));if(_96c&&_96d.focus){_96d.focus();}},_closePopup:function(){pm.close(this.popup);this.popup.parentMenu=null;},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_967("[widgetId]",this.dropDownContainer)[0];this.popup=_968.byNode(node);}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.domNode.setAttribute("aria-labelledby",this.containerNode.id);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_966.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_96e){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_96e);}delete this.popup;}this.inherited(arguments);}});});},"dijit/CheckedMenuItem":function(){define(["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_96f,_970,_971,_972){return _96f("dijit.CheckedMenuItem",_971,{baseClass:"dijitMenuItem dijitCheckedMenuItem",templateString:_972,checked:false,_setCheckedAttr:function(_973){this.domNode.setAttribute("aria-checked",_973?"true":"false");this._set("checked",_973);},iconClass:"",role:"menuitemcheckbox",checkedChar:"✓",onChange:function(){},_onClick:function(evt){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.onClick(evt);}});});},"dijit/layout/AccordionContainer":function(){define(["require","dojo/_base/array","dojo/_base/declare","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","../a11yclick"],function(_974,_975,_976,fx,dom,_977,_978,_979,_97a,keys,lang,has,_97b,_97c,_97d,_97e,_97f,_980,_981,_982,_983,_984,_985){function size(_986,dim){_986.resize?_986.resize(dim):_97a.setMarginBox(_986.domNode,dim);};var _987=_976("dijit.layout._AccordionButton",[_97f,_981,_982],{templateString:_985,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 _988=this.id.replace(" ","_");_977.set(this.titleTextNode,"id",_988+"_title");this.focusNode.setAttribute("aria-labelledby",_977.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _97a.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _989=this.getParent();_989.selectChild(this.contentWidget,true);_97c.focus(this.focusNode);},_onTitleKeyDown:function(evt){return this.getParent()._onKeyDown(evt,this.contentWidget);},_setSelectedAttr:function(_98a){this._set("selected",_98a);this.focusNode.setAttribute("aria-expanded",_98a?"true":"false");this.focusNode.setAttribute("aria-selected",_98a?"true":"false");this.focusNode.setAttribute("tabIndex",_98a?"0":"-1");}});if(has("dojo-bidi")){_987.extend({_setLabelAttr:function(_98b){this._set("label",_98b);_977.set(this.titleTextNode,"innerHTML",_98b);this.applyTextDir(this.titleTextNode);},_setTitleAttr:function(_98c){this._set("title",_98c);_977.set(this.titleTextNode,"title",_98c);this.applyTextDir(this.titleTextNode);}});}var _98d=_976("dijit.layout._AccordionInnerContainer"+(has("dojo-bidi")?"_NoBidi":""),[_97f,_982],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_979.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _98e=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_98e._buttonWidget=(new cls({contentWidget:_98e,label:_98e.title,title:_98e.tooltip,dir:_98e.dir,lang:_98e.lang,textDir:_98e.textDir||this.textDir,iconClass:_98e.iconClass,id:_98e.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_979.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);this.containerNode.setAttribute("aria-labelledby",this.button.id);_979.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _98f=this.button,cw=this.contentWidget;this._contentWidgetWatches=[cw.watch("title",lang.hitch(this,function(name,_990,_991){_98f.set("label",_991);})),cw.watch("tooltip",lang.hitch(this,function(name,_992,_993){_98f.set("title",_993);})),cw.watch("iconClass",lang.hitch(this,function(name,_994,_995){_98f.set("iconClass",_995);}))];},_setSelectedAttr:function(_996){this._set("selected",_996);this.button.set("selected",_996);if(_996){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_975.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_997){this.contentWidget.destroyRecursive(_997);}});if(has("dojo-bidi")){_98d=_976("dijit.layout._AccordionInnerContainer",_98d,{postCreate:function(){this.inherited(arguments);var _998=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(name,_999,_99a){_998.set("textDir",_99a);}));}});}var _99b=_976("dijit.layout.AccordionContainer",_983,{duration:_97d.defaultDuration,buttonWidget:_987,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 _99c=this.selectedChildWidget;if(!_99c){return;}var _99d=_99c._wrapperWidget.domNode,_99e=_97a.getMarginExtents(_99d),_99f=_97a.getPadBorderExtents(_99d),_9a0=_99c._wrapperWidget.containerNode,_9a1=_97a.getMarginExtents(_9a0),_9a2=_97a.getPadBorderExtents(_9a0),_9a3=this._contentBox;var _9a4=0;_975.forEach(this.getChildren(),function(_9a5){if(_9a5!=_99c){_9a4+=_97a.getMarginSize(_9a5._wrapperWidget.domNode).h;}});this._verticalSpace=_9a3.h-_9a4-_99e.h-_99f.h-_9a1.h-_9a2.h-_99c._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_99e.w-_99f.w-_9a1.w-_9a2.w};if(_99c){size(_99c,this._containerContentBox);}},_setupChild:function(_9a6){_9a6._wrapperWidget=_98d({contentWidget:_9a6,buttonWidget:this.buttonWidget,id:_9a6.id+"_wrapper",dir:_9a6.dir,lang:_9a6.lang,textDir:_9a6.textDir||this.textDir,parent:this});this.inherited(arguments);_979.place(_9a6.domNode,_9a6._wrapper,"replace");},removeChild:function(_9a7){if(_9a7._wrapperWidget){_979.place(_9a7.domNode,_9a7._wrapperWidget.domNode,"after");_9a7._wrapperWidget.destroy();delete _9a7._wrapperWidget;}_978.remove(_9a7.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _975.map(this.inherited(arguments),function(_9a8){return _9a8.declaredClass=="dijit.layout._AccordionInnerContainer"?_9a8.contentWidget:_9a8;},this);},destroy:function(){if(this._animation){this._animation.stop();}_975.forEach(this.getChildren(),function(_9a9){if(_9a9._wrapperWidget){_9a9._wrapperWidget.destroy();}else{_9a9.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_9aa){_9aa._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_9ab){_9ab._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_9ac,_9ad,_9ae){if(has("ie")<8){_9ae=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_9ac){_9ac._wrapperWidget.set("selected",true);var d=this._showChild(_9ac);if(this.doLayout){size(_9ac,this._containerContentBox);}}if(_9ad){_9ad._wrapperWidget.set("selected",false);if(!_9ae){this._hideChild(_9ad);}}if(_9ae){var _9af=_9ac._wrapperWidget.containerNode,_9b0=_9ad._wrapperWidget.containerNode;var _9b1=_9ac._wrapperWidget.containerNode,_9b2=_97a.getMarginExtents(_9b1),_9b3=_97a.getPadBorderExtents(_9b1),_9b4=_9b2.h+_9b3.h;_9b0.style.height=(self._verticalSpace-_9b4)+"px";this._animation=new fx.Animation({node:_9af,duration:this.duration,curve:[1,this._verticalSpace-_9b4-1],onAnimate:function(_9b5){_9b5=Math.floor(_9b5);_9af.style.height=_9b5+"px";_9b0.style.height=(self._verticalSpace-_9b4-_9b5)+"px";},onEnd:function(){delete self._animation;_9af.style.height="auto";_9ad._wrapperWidget.containerNode.style.display="none";_9b0.style.height="auto";self._hideChild(_9ad);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyDown:function(e,_9b6){if(this.disabled||e.altKey||!(_9b6||e.ctrlKey)){return;}var c=e.keyCode;if((_9b6&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}else{if((_9b6&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();e.stopPropagation();e.preventDefault();}}}});if(has("dijit-legacy-requires")){_97e(0,function(){var _9b7=["dijit/layout/AccordionPane"];_974(_9b7);});}_99b._InnerContainer=_98d;_99b._Button=_987;return _99b;});},"dijit/layout/StackContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],function(_9b8,_9b9,_9ba,_9bb,_9bc,has,lang,on,_9bd,_9be,when,_9bf,_9c0,_9c1){if(has("dijit-legacy-requires")){_9bd(0,function(){var _9c2=["dijit/layout/StackController"];require(_9c2);});}var _9c3=_9ba("dijit.layout.StackContainer",_9c1,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_9bb.add(this.domNode,"dijitLayoutContainer");},postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKeyDown")));},startup:function(){if(this._started){return;}var _9c4=this.getChildren();_9b8.forEach(_9c4,this._setupChild,this);if(this.persist){this.selectedChildWidget=_9bf.byId(_9b9(this.id+"_selectedChild"));}else{_9b8.some(_9c4,function(_9c5){if(_9c5.selected){this.selectedChildWidget=_9c5;}return _9c5.selected;},this);}var _9c6=this.selectedChildWidget;if(!_9c6&&_9c4[0]){_9c6=this.selectedChildWidget=_9c4[0];_9c6.selected=true;}_9be.publish(this.id+"-startup",{children:_9c4,selected:_9c6,textDir:this.textDir});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _9c7=this.selectedChildWidget;if(_9c7){this._showChild(_9c7);}}this.inherited(arguments);},_setupChild:function(_9c8){var _9c9=_9c8.domNode,_9ca=_9bc.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",_9c8.domNode,"replace"),_9cb=_9c8["aria-label"]||_9c8.title||_9c8.label;if(_9cb){_9ca.setAttribute("aria-label",_9cb);}_9bc.place(_9c9,_9ca);_9c8._wrapper=_9ca;this.inherited(arguments);if(_9c9.style.display=="none"){_9c9.style.display="block";}_9c8.domNode.removeAttribute("title");},addChild:function(_9cc,_9cd){this.inherited(arguments);if(this._started){_9be.publish(this.id+"-addChild",_9cc,_9cd);this.layout();if(!this.selectedChildWidget){this.selectChild(_9cc);}}},removeChild:function(page){var idx=_9b8.indexOf(this.getChildren(),page);this.inherited(arguments);_9bc.destroy(page._wrapper);delete page._wrapper;if(this._started){_9be.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _9ce=this.getChildren();if(_9ce.length){this.selectChild(_9ce[Math.max(idx-1,0)]);}}}if(this._started){this.layout();}},selectChild:function(page,_9cf){var d;page=_9bf.byId(page);if(this.selectedChildWidget!=page){d=this._transition(page,this.selectedChildWidget,_9cf);this._set("selectedChildWidget",page);_9be.publish(this.id+"-selectChild",page,this._focused);if(this.persist){_9b9(this.id+"_selectedChild",this.selectedChildWidget.id);}}return when(d||true);},_transition:function(_9d0,_9d1){if(_9d1){this._hideChild(_9d1);}var d=this._showChild(_9d0);if(_9d0.resize){if(this.doLayout){_9d0.resize(this._containerContentBox||this._contentBox);}else{_9d0.resize();}}return d;},_adjacent:function(_9d2){var _9d3=this.getChildren();var _9d4=_9b8.indexOf(_9d3,this.selectedChildWidget);_9d4+=_9d2?1:_9d3.length-1;return _9d3[_9d4%_9d3.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyDown:function(e){_9be.publish(this.id+"-containerKeyDown",{e:e,page:this});},layout:function(){var _9d5=this.selectedChildWidget;if(_9d5&&_9d5.resize){if(this.doLayout){_9d5.resize(this._containerContentBox||this._contentBox);}else{_9d5.resize();}}},_showChild:function(page){var _9d6=this.getChildren();page.isFirstChild=(page==_9d6[0]);page.isLastChild=(page==_9d6[_9d6.length-1]);page._set("selected",true);if(page._wrapper){_9bb.replace(page._wrapper,"dijitVisible","dijitHidden");}return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);if(page._wrapper){_9bb.replace(page._wrapper,"dijitHidden","dijitVisible");}page.onHide&&page.onHide();},closeChild:function(page){var _9d7=!page.onClose||page.onClose(this,page);if(_9d7){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_9d8){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_9b8.forEach(this.getChildren(),function(_9d9){if(!_9d8){this.removeChild(_9d9);}_9d9.destroyRecursive(_9d8);},this);this._descendantsBeingDestroyed=false;}});_9c3.ChildWidgetProperties={selected:false,disabled:false,closable:false,iconClass:"dijitNoIcon",showTitle:true};lang.extend(_9c0,_9c3.ChildWidgetProperties);return _9c3;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_9da){dojo.cookie=function(name,_9db,_9dc){var c=document.cookie,ret;if(arguments.length==1){var _9dd=c.match(new RegExp("(?:^|; )"+_9da.escapeString(name)+"=([^;]*)"));ret=_9dd?decodeURIComponent(_9dd[1]):undefined;}else{_9dc=_9dc||{};var exp=_9dc.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_9dc.expires=d;}if(exp&&exp.toUTCString){_9dc.expires=exp.toUTCString();}_9db=encodeURIComponent(_9db);var _9de=name+"="+_9db,_9df;for(_9df in _9dc){_9de+="; "+_9df;var _9e0=_9dc[_9df];if(_9e0!==true){_9de+="="+_9e0;}}document.cookie=_9de;}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;});},"dijit/layout/AccordionPane":function(){define(["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],function(_9e1,_9e2,_9e3){return _9e1("dijit.layout.AccordionPane",_9e3,{constructor:function(){_9e2.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0");},onSelected:function(){}});});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","../_WidgetBase","../_Widget","../_TemplatedMixin","./LayoutContainer","./utils"],function(_9e4,_9e5,_9e6,_9e7,_9e8,_9e9,_9ea,keys,lang,on,_9eb,_9ec,_9ed,_9ee,_9ef,_9f0){var _9f1=_9e6("dijit.layout._Splitter",[_9ed,_9ee],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeydown:_onKeyDown,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);_9e7.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _9f2=_9e5(this._cookieName);if(_9f2){this.child.domNode.style[this.horizontal?"height":"width"]=_9f2;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_9f3=_9e9.getMarginBox(this.child.domNode)[dim],_9f4=_9e4.filter(this.container.getChildren(),function(_9f5){return _9f5.region=="center";})[0];var _9f6=_9e9.getContentBox(_9f4.domNode)[dim]-10;return Math.min(this.child.maxSize,_9f3+_9f6);},_startDrag:function(e){if(!this.cover){this.cover=_9e8.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");}_9e7.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_9e8.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_9e7.add(this.domNode,"dijitSplitterShadow");_9e8.place(this.fake,this.domNode,"after");}_9e7.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_9e7.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _9f7=this._factor,_9f8=this.horizontal,axis=_9f8?"pageY":"pageX",_9f9=e[axis],_9fa=this.domNode.style,dim=_9f8?"h":"w",_9fb=_9ea.getComputedStyle(this.child.domNode),_9fc=_9e9.getMarginBox(this.child.domNode,_9fb)[dim],max=this._computeMaxSize(),min=Math.max(this.child.minSize,_9e9.getPadBorderExtents(this.child.domNode,_9fb)[dim]+10),_9fd=this.region,_9fe=_9fd=="top"||_9fd=="bottom"?"top":"left",_9ff=parseInt(_9fa[_9fe],10),_a00=this._resize,_a01=lang.hitch(this.container,"_layoutChildren",this.child.id),de=this.ownerDocument;this._handlers=this._handlers.concat([on(de,_9eb.move,this._drag=function(e,_a02){var _a03=e[axis]-_9f9,_a04=_9f7*_a03+_9fc,_a05=Math.max(Math.min(_a04,max),min);if(_a00||_a02){_a01(_a05);}_9fa[_9fe]=_a03+_9ff+_9f7*(_a05-_a04)+"px";}),on(de,"dragstart",function(e){e.stopPropagation();e.preventDefault();}),on(this.ownerDocumentBody,"selectstart",function(e){e.stopPropagation();e.preventDefault();}),on(de,_9eb.release,lang.hitch(this,"_stopDrag"))]);e.stopPropagation();e.preventDefault();},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_9e7.toggle(this.domNode,"dijitSplitterHover",o);_9e7.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_9e7.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_9e8.destroy(this.fake);}_9e7.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){_9e5(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyDown:function(e){this._resize=true;var _a06=this.horizontal;var tick=1;switch(e.keyCode){case _a06?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _a06?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _a07=_9e9.getMarginSize(this.child.domNode)[_a06?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_a07,this._computeMaxSize()),this.child.minSize));e.stopPropagation();e.preventDefault();},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _a08=_9e6("dijit.layout._Gutter",[_9ed,_9ee],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_9e7.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _a09=_9e6("dijit.layout.BorderContainer",_9ef,{gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_9f1,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},_setupChild:function(_a0a){this.inherited(arguments);var _a0b=_a0a.region,ltr=_a0a.isLeftToRight();if(_a0b=="leading"){_a0b=ltr?"left":"right";}if(_a0b=="trailing"){_a0b=ltr?"right":"left";}if(_a0b){if(_a0b!="center"&&(_a0a.splitter||this.gutters)&&!_a0a._splitterWidget){var _a0c=_a0a.splitter?this._splitterClass:_a08;if(lang.isString(_a0c)){_a0c=lang.getObject(_a0c);}var _a0d=new _a0c({id:_a0a.id+"_splitter",container:this,child:_a0a,region:_a0b,live:this.liveSplitters});_a0d.isSplitter=true;_a0a._splitterWidget=_a0d;var _a0e=_a0b=="bottom"||_a0b==(this.isLeftToRight()?"right":"left");_9e8.place(_a0d.domNode,_a0a.domNode,_a0e?"before":"after");_a0d.startup();}}},layout:function(){this._layoutChildren();},removeChild:function(_a0f){var _a10=_a0f._splitterWidget;if(_a10){_a10.destroy();delete _a0f._splitterWidget;}this.inherited(arguments);},getChildren:function(){return _9e4.filter(this.inherited(arguments),function(_a11){return !_a11.isSplitter;});},getSplitter:function(_a12){return _9e4.filter(this.getChildren(),function(_a13){return _a13.region==_a12;})[0]._splitterWidget;},resize:function(_a14,_a15){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_9ea.getComputedStyle(node);this.pe=_9e9.getPadExtents(node,this.cs);this.pe.r=_9ea.toPixelValue(node,this.cs.paddingRight);this.pe.b=_9ea.toPixelValue(node,this.cs.paddingBottom);_9ea.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_a16,_a17){if(!this._borderBox||!this._borderBox.h){return;}var _a18=[];_9e4.forEach(this._getOrderedChildren(),function(pane){_a18.push(pane);if(pane._splitterWidget){_a18.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};_9f0.layoutChildren(this.domNode,dim,_a18,_a16,_a17);},destroyRecursive:function(){_9e4.forEach(this.getChildren(),function(_a19){var _a1a=_a19._splitterWidget;if(_a1a){_a1a.destroy();}delete _a19._splitterWidget;});this.inherited(arguments);}});_a09.ChildWidgetProperties={splitter:false,minSize:0,maxSize:Infinity};lang.mixin(_a09.ChildWidgetProperties,_9ef.ChildWidgetProperties);lang.extend(_9ec,_a09.ChildWidgetProperties);_a09._Splitter=_9f1;_a09._Gutter=_a08;return _a09;});},"dijit/layout/LayoutContainer":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-style","dojo/_base/lang","../_WidgetBase","./_LayoutWidget","./utils"],function(_a1b,_a1c,_a1d,_a1e,lang,_a1f,_a20,_a21){var _a22=_a1c("dijit.layout.LayoutContainer",_a20,{design:"headline",baseClass:"dijitLayoutContainer",startup:function(){if(this._started){return;}_a1b.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_a23){this.inherited(arguments);var _a24=_a23.region;if(_a24){_a1d.add(_a23.domNode,this.baseClass+"Pane");}},_getOrderedChildren:function(){var _a25=_a1b.map(this.getChildren(),function(_a26,idx){return {pane:_a26,weight:[_a26.region=="center"?Infinity:0,_a26.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_a26.region)?1:-1),idx]};},this);_a25.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;});return _a1b.map(_a25,function(w){return w.pane;});},layout:function(){_a21.layoutChildren(this.domNode,this._contentBox,this._getOrderedChildren());},addChild:function(_a27,_a28){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_a29){this.inherited(arguments);if(this._started){this.layout();}_a1d.remove(_a29.domNode,this.baseClass+"Pane");_a1e.set(_a29.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_a1e.set(_a29.domNode,/top|bottom/.test(_a29.region)?"width":"height","auto");}});_a22.ChildWidgetProperties={region:"",layoutAlign:"",layoutPriority:0};lang.extend(_a1f,_a22.ChildWidgetProperties);return _a22;});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_a2a,_a2b,_a2c,_a2d){return _a2a("dijit.layout.TabContainer",_a2b,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_a2e){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_a2c=typeof this.controllerWidget=="string"?lang.getObject(this.controllerWidget):this.controllerWidget;return new _a2c({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},_a2e);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?_a2d:_a2c;}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","./StackContainer","./utils","../_TemplatedMixin","dojo/text!./templates/TabContainer.html"],function(_a2f,_a30,_a31,_a32,_a33,_a34,_a35,_a36){return _a2f("dijit.layout._TabContainerBase",[_a33,_a35],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_a36,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_a32.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_a30.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_a30.add(this.domNode,"dijitTabContainerNested");_a30.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_a30.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_a30.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_a30.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_a30.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},removeChild:function(_a37){_a30.remove(_a37.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 _a38=this.tabPosition.replace(/-h/,"");this.tablist.region=_a38;var _a39=[this.tablist,{domNode:this.tablistSpacer,region:_a38},{domNode:this.containerNode,region:"center"}];_a34.layoutChildren(this.domNode,this._contentBox,_a39);this._containerContentBox=_a34.marginBox2contentBox(this.containerNode,_a39[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _a3a=_a31.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_a3a});}if(sc&&sc.resize){sc.resize();}}},destroy:function(_a3b){if(this.tablist){this.tablist.destroy(_a3b);}this.inherited(arguments);}});});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/has","dojo/i18n","dojo/_base/lang","./StackController","../registry","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_a3c,dom,_a3d,_a3e,has,i18n,lang,_a3f,_a40,Menu,_a41,_a42){var _a43=_a3c("dijit.layout._TabButton"+(has("dojo-bidi")?"_NoBidi":""),_a3f.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_a42,_setNameAttr:"focusNode",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);_a3e.toggle(this.domNode,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _a44=i18n.getLocalization("dijit","common");if(this.closeNode){_a3d.set(this.closeNode,"title",_a44.itemClose);}}},_setDisabledAttr:function(_a45){this.inherited(arguments);if(this.closeNode){if(_a45){_a3d.remove(this.closeNode,"title");}else{var _a46=i18n.getLocalization("dijit","common");_a3d.set(this.closeNode,"title",_a46.itemClose);}}},_setLabelAttr:function(_a47){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});if(has("dojo-bidi")){_a43=_a3c("dijit.layout._TabButton",_a43,{_setLabelAttr:function(_a48){this.inherited(arguments);this.applyTextDir(this.iconNode,this.iconNode.alt);}});}var _a49=_a3c("dijit.layout.TabController",_a3f,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'></div>",tabPosition:"top",buttonWidget:_a43,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);var _a4a=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 _a3e.contains(node,"dijitClosable")&&!_a3e.contains(node,"dijitTabDisabled");}});this.own(_a4a);var _a4b=i18n.getLocalization("dijit","common"),_a4c=this;_a4a.addChild(new _a41({label:_a4b.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(evt){var _a4d=_a40.byNode(this.getParent().currentTarget);_a4c.onCloseButtonClick(_a4d.page);}}));}});_a49.TabButton=_a43;return _a49;});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],function(_a4e,_a4f,_a50,_a51,keys,lang,on,_a52,_a53,_a54,_a55,_a56,_a57,_a58){var _a59=_a4f("dijit.layout._StackButton",_a58,{tabIndex:"-1",closeButton:false,_aria_attr:"aria-selected",buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");}});var _a5a=_a4f("dijit.layout.StackController",[_a55,_a56,_a57],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:_a59,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(id){return _a54.byId(this.id+"_"+id);},postCreate:function(){this.inherited(arguments);this.own(_a52.subscribe(this.containerId+"-startup",lang.hitch(this,"onStartup")),_a52.subscribe(this.containerId+"-addChild",lang.hitch(this,"onAddChild")),_a52.subscribe(this.containerId+"-removeChild",lang.hitch(this,"onRemoveChild")),_a52.subscribe(this.containerId+"-selectChild",lang.hitch(this,"onSelectChild")),_a52.subscribe(this.containerId+"-containerKeyDown",lang.hitch(this,"onContainerKeyDown")));this.containerNode.dojoClick=true;this.own(on(this.containerNode,"click",lang.hitch(this,function(evt){var _a5b=_a54.getEnclosingWidget(evt.target);if(_a5b!=this.containerNode&&!_a5b.disabled&&_a5b.page){for(var _a5c=evt.target;_a5c!==this.containerNode;_a5c=_a5c.parentNode){if(_a50.contains(_a5c,this.buttonWidgetCloseClass)){this.onCloseButtonClick(_a5b.page);break;}else{if(_a5c==_a5b.domNode){this.onButtonClick(_a5b.page);break;}}}}})));},onStartup:function(info){this.textDir=info.textDir;_a4e.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}var _a5d=_a54.byId(this.containerId).containerNode,_a5e=lang.hitch(this,"pane2button"),_a5f={"title":"label","showtitle":"showLabel","iconclass":"iconClass","closable":"closeButton","tooltip":"title","disabled":"disabled","textdir":"textdir"},_a60=function(attr,_a61){return on(_a5d,"attrmodified-"+attr,function(evt){var _a62=_a5e(evt.detail&&evt.detail.widget&&evt.detail.widget.id);if(_a62){_a62.set(_a61,evt.detail.newValue);}});};for(var attr in _a5f){this.own(_a60(attr,_a5f[attr]));}},destroy:function(_a63){this.destroyDescendants(_a63);this.inherited(arguments);},onAddChild:function(page,_a64){var Cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _a65=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||this.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip,page:page});this.addChild(_a65,_a64);page.controlButton=_a65;if(!this._currentChild){this.onSelectChild(page);}var _a66=page._wrapper.getAttribute("aria-labelledby")?page._wrapper.getAttribute("aria-labelledby")+" "+_a65.id:_a65.id;page._wrapper.removeAttribute("aria-label");page._wrapper.setAttribute("aria-labelledby",_a66);},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _a67=this.pane2button(page.id);if(_a67){this.removeChild(_a67);_a67.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _a68=this.pane2button(this._currentChild.id);_a68.set("checked",false);_a68.focusNode.setAttribute("tabIndex","-1");}var _a69=this.pane2button(page.id);_a69.set("checked",true);this._currentChild=page;_a69.focusNode.setAttribute("tabIndex","0");var _a6a=_a54.byId(this.containerId);},onButtonClick:function(page){var _a6b=this.pane2button(page.id);_a53.focus(_a6b.focusNode);if(this._currentChild&&this._currentChild.id===page.id){_a6b.set("checked",true);}var _a6c=_a54.byId(this.containerId);_a6c.selectChild(page);},onCloseButtonClick:function(page){var _a6d=_a54.byId(this.containerId);_a6d.closeChild(page);if(this._currentChild){var b=this.pane2button(this._currentChild.id);if(b){_a53.focus(b.focusNode||b.domNode);}}},adjacent:function(_a6e){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_a6e=!_a6e;}var _a6f=this.getChildren();var idx=_a4e.indexOf(_a6f,this.pane2button(this._currentChild.id)),_a70=_a6f[idx];var _a71;do{idx=(idx+(_a6e?1:_a6f.length-1))%_a6f.length;_a71=_a6f[idx];}while(_a71.disabled&&_a71!=_a70);return _a71;},onkeydown:function(e,_a72){if(this.disabled||e.altKey){return;}var _a73=null;if(e.ctrlKey||!e._djpage){switch(e.keyCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_a73=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_a73=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_a73=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_a73=true;}break;case keys.HOME:var _a74=this.getChildren();for(var idx=0;idx<_a74.length;idx++){var _a75=_a74[idx];if(!_a75.disabled){this.onButtonClick(_a75.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.END:var _a74=this.getChildren();for(var idx=_a74.length-1;idx>=0;idx--){var _a75=_a74[idx];if(!_a75.disabled){this.onButtonClick(_a75.page);break;}}e.stopPropagation();e.preventDefault();break;case keys.DELETE:case "W".charCodeAt(0):if(this._currentChild.closable&&(e.keyCode==keys.DELETE||e.ctrlKey)){this.onCloseButtonClick(this._currentChild);e.stopPropagation();e.preventDefault();}break;case keys.TAB:if(e.ctrlKey){this.onButtonClick(this.adjacent(!e.shiftKey).page);e.stopPropagation();e.preventDefault();}break;}if(_a73!==null){this.onButtonClick(this.adjacent(_a73).page);e.stopPropagation();e.preventDefault();}}},onContainerKeyDown:function(info){info.e._djpage=info.page;this.onkeydown(info.e);}});_a5a.StackButton=_a59;return _a5a;});},"dijit/Menu":function(){define(["require","dojo/_base/array","dojo/_base/declare","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(_a76,_a77,_a78,dom,_a79,_a7a,_a7b,keys,lang,on,has,win,_a7c,pm,_a7d,_a7e){if(has("dijit-legacy-requires")){_a7e(0,function(){var _a7f=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_a76(_a7f);});}return _a78("dijit.Menu",_a7d,{constructor:function(){this._bindings=[];},targetNodeIds:[],selector:"",contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(this.ownerDocumentBody);}else{_a77.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_a80){return _a7c.get(this._iframeContentDocument(_a80))||this._iframeContentDocument(_a80)["__parent__"]||(_a80.name&&document.frames[_a80.name])||null;},_iframeContentDocument:function(_a81){return _a81.contentDocument||(_a81.contentWindow&&_a81.contentWindow.document)||(_a81.name&&document.frames[_a81.name]&&document.frames[_a81.name].document)||null;},bindDomNode:function(node){node=dom.byId(node,this.ownerDocument);var cn;if(node.tagName.toLowerCase()=="iframe"){var _a82=node,_a83=this._iframeContentWindow(_a82);cn=win.body(_a83.document);}else{cn=(node==win.body(this.ownerDocument)?this.ownerDocument.documentElement:node);}var _a84={node:node,iframe:_a82};_a79.set(node,"_dijitMenu"+this.id,this._bindings.push(_a84));var _a85=lang.hitch(this,function(cn){var _a86=this.selector,_a87=_a86?function(_a88){return on.selector(_a86,_a88);}:function(_a89){return _a89;},self=this;return [on(cn,_a87(this.leftClickToOpen?"click":"contextmenu"),function(evt){evt.stopPropagation();evt.preventDefault();if((new Date()).getTime()<self._lastKeyDown+500){return;}self._scheduleOpen(this,_a82,{x:evt.pageX,y:evt.pageY},evt.target);}),on(cn,_a87("keydown"),function(evt){if(evt.keyCode==93||(evt.shiftKey&&evt.keyCode==keys.F10)||(self.leftClickToOpen&&evt.keyCode==keys.SPACE)){evt.stopPropagation();evt.preventDefault();self._scheduleOpen(this,_a82,null,evt.target);self._lastKeyDown=(new Date()).getTime();}})];});_a84.connects=cn?_a85(cn):[];if(_a82){_a84.onloadHandler=lang.hitch(this,function(){var _a8a=this._iframeContentWindow(_a82),cn=win.body(_a8a.document);_a84.connects=_a85(cn);});if(_a82.addEventListener){_a82.addEventListener("load",_a84.onloadHandler,false);}else{_a82.attachEvent("onload",_a84.onloadHandler);}}},unBindDomNode:function(_a8b){var node;try{node=dom.byId(_a8b,this.ownerDocument);}catch(e){return;}var _a8c="_dijitMenu"+this.id;if(node&&_a79.has(node,_a8c)){var bid=_a79.get(node,_a8c)-1,b=this._bindings[bid],h;while((h=b.connects.pop())){h.remove();}var _a8d=b.iframe;if(_a8d){if(_a8d.removeEventListener){_a8d.removeEventListener("load",b.onloadHandler,false);}else{_a8d.detachEvent("onload",b.onloadHandler);}}_a79.remove(node,_a8c);delete this._bindings[bid];}},_scheduleOpen:function(_a8e,_a8f,_a90,_a91){if(!this._openTimer){this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:_a91,delegatedTarget:_a8e,iframe:_a8f,coords:_a90});},1);}},_openMyself:function(args){var _a92=args.target,_a93=args.iframe,_a94=args.coords,_a95=!_a94;this.currentTarget=args.delegatedTarget;if(_a94){if(_a93){var ifc=_a7a.position(_a93,true),_a96=this._iframeContentWindow(_a93),_a97=_a7a.docScroll(_a96.document);var cs=_a7b.getComputedStyle(_a93),tp=_a7b.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_a93,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_a93,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_a93,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_a93,cs.borderTopWidth):0);_a94.x+=ifc.x+left-_a97.x;_a94.y+=ifc.y+top-_a97.y;}}else{_a94=_a7a.position(_a92,true);_a94.x+=10;_a94.y+=10;}var self=this;var _a98=this._focusManager.get("prevNode");var _a99=this._focusManager.get("curNode");var _a9a=!_a99||(dom.isDescendant(_a99,this.domNode))?_a98:_a99;function _a9b(){if(self.refocus&&_a9a){_a9a.focus();}pm.close(self);};pm.open({popup:this,x:_a94.x,y:_a94.y,onExecute:_a9b,onCancel:_a9b,orient:this.isLeftToRight()?"L":"R"});this.focus();if(!_a95){this.defer(function(){this._cleanUp(true);});}this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},destroy:function(){_a77.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/layout/ScrollingTabController":function(){define(["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","../a11yclick"],function(_a9c,_a9d,_a9e,_a9f,_aa0,fx,lang,on,_aa1,has,_aa2,_aa3,_aa4,_aa5,_aa6,_aa7,Menu,_aa8,_aa9,_aaa){var _aab=_a9d("dijit.layout.ScrollingTabController",[_aa5,_aa7],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_aa3,useMenu:true,useSlider:true,tabStripClass:"",_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";_a9e.add(n,"tabStrip-disabled");}_a9e.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_aa0.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,_aac){this.inherited(arguments);_aa0.set(this.containerNode,"width",(_aa0.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(page,_aad){var _aae=this.pane2button(page.id);if(this._selectedTab===_aae.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_aa1("> .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+=_a9f.getMarginSize(btn).w;return true;}else{_aa0.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _aaf=this.getChildren();if(_aaf.length){var _ab0=_aaf[this.isLeftToRight()?0:_aaf.length-1].domNode,_ab1=_aaf[this.isLeftToRight()?_aaf.length-1:0].domNode;return _ab1.offsetLeft+_ab1.offsetWidth-_ab0.offsetLeft;}else{return 0;}},_enableBtn:function(_ab2){var _ab3=this._getTabsWidth();_ab2=_ab2||_aa0.get(this.scrollNode,"width");return _ab3>0&&_ab2<_ab3;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_aa6.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_a9f.setContentSize(this.domNode,cb);var _ab4=this._enableBtn(this._contentBox.w);this._buttons.style("display",_ab4?"":"none");this._leftBtn.region="left";this._rightBtn.region="right";this._menuBtn.region=this.isLeftToRight()?"right":"left";_aa6.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,region:"center"}]);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("trident")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_aa0.get(this.containerNode,"width")-_aa0.get(this.scrollNode,"width")+(has("trident")||has("edge")?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("trident")&&has("quirks"))||has("webkit")){return val;}else{var _ab5=_aa0.get(this.containerNode,"width")-_aa0.get(this.scrollNode,"width");return (has("trident")||has("edge")?-1:1)*(val-_ab5);}},onSelectChild:function(page,_ab6){var tab=this.pane2button(page.id);if(!tab){return;}var node=tab.domNode;if(node!=this._selectedTab){this._selectedTab=node;if(this._postResize){var sl=this._getScroll();if(sl>node.offsetLeft||sl+_aa0.get(this.scrollNode,"width")<node.offsetLeft+_aa0.get(node,"width")){var anim=this.createSmoothScroll();if(_ab6){anim.onEnd=function(){tab.focus();};}anim.play();}else{if(_ab6){tab.focus();}}}}this.inherited(arguments);},_getScrollBounds:function(){var _ab7=this.getChildren(),_ab8=_aa0.get(this.scrollNode,"width"),_ab9=_aa0.get(this.containerNode,"width"),_aba=_ab9-_ab8,_abb=this._getTabsWidth();if(_ab7.length&&_abb>_ab8){return {min:this.isLeftToRight()?0:_ab7[_ab7.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_ab7[_ab7.length-1].domNode.offsetLeft+_ab7[_ab7.length-1].domNode.offsetWidth)-_ab8:_aba};}else{var _abc=this.isLeftToRight()?0:_aba;return {min:_abc,max:_abc};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_abd=_aa0.get(this.scrollNode,"width"),_abe=this._getScrollBounds();var pos=(n.offsetLeft+_aa0.get(n,"width")/2)-_abd/2;pos=Math.min(Math.max(pos,_abe.min),_abe.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _abf=this._getScrollBounds();x=Math.min(Math.max(x,_abf.min),_abf.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&&!_a9e.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(_ac0,node){if(node&&_a9e.contains(node,"dijitTabDisabled")){return;}var _ac1=_aa0.get(this.scrollNode,"width");var d=(_ac1*0.75)*_ac0;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_ac2){var _ac3=this._getScrollBounds();this._leftBtn.set("disabled",_ac2<=_ac3.min);this._rightBtn.set("disabled",_ac2>=_ac3.max);}});var _ac4=_a9d("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_aa4,tabIndex:"",isFocusable:function(){return false;}});_a9d("dijit.layout._ScrollingTabControllerButton",[_aa9,_ac4]);_a9d("dijit.layout._ScrollingTabControllerMenuButton",[_aa9,_aaa,_ac4],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_ac5){this.dropDown=new Menu({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var _ac6=_aa2.byId(this.containerId);_a9c.forEach(_ac6.getChildren(),function(page){var _ac7=new _aa8({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||_ac6.textDir,onClick:function(){_ac6.selectChild(page);}});this.dropDown.addChild(_ac7);},this);_ac5();},closeDropDown:function(_ac8){this.inherited(arguments);if(this.dropDown){this._popupStateNode.removeAttribute("aria-owns");this.dropDown.destroyRecursive();delete this.dropDown;}}});return _aab;});},"dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_ac9,_aca,_acb,lang,_acc,_acd,_ace,_acf){return _aca("dijit.ProgressBar",[_acd,_ace],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_acf,_indeterminateHighContrastImagePath:_ac9.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();},_setDirAttr:function(val){var rtl=val.toLowerCase()=="rtl";_acb.toggle(this.domNode,"dijitProgressBarRtl",rtl);_acb.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&rtl);this.inherited(arguments);},update:function(_ad0){lang.mixin(this,_ad0||{});var tip=this.internalProgress,ap=this.domNode;var _ad1=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");}else{if(String(this.progress).indexOf("%")!=-1){_ad1=Math.min(parseFloat(this.progress)/100,1);this.progress=_ad1*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_ad1=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-valuenow",this.progress);}ap.setAttribute("aria-labelledby",this.labelNode.id);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);this.labelNode.innerHTML=this.report(_ad1);_acb.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);_acb.toggle(this.domNode,"dijitProgressBarIndeterminateRtl",this.indeterminate&&!this.isLeftToRight());tip.style.width=(_ad1*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(_ad2){this._set("label",_ad2);this.update();},_setIndeterminateAttr:function(_ad3){this._set("indeterminate",_ad3);this.update();},report:function(_ad4){return this.label?this.label:(this.indeterminate?" ":_acc.format(_ad4,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(lang,i18n,_ad5,_ad6,_ad7){var _ad8={};lang.setObject("dojo.number",_ad8);_ad8.format=function(_ad9,_ada){_ada=lang.mixin({},_ada||{});var _adb=i18n.normalizeLocale(_ada.locale),_adc=i18n.getLocalization("dojo.cldr","number",_adb);_ada.customs=_adc;var _add=_ada.pattern||_adc[(_ada.type||"decimal")+"Format"];if(isNaN(_ad9)||Math.abs(_ad9)==Infinity){return null;}return _ad8._applyPattern(_ad9,_add,_ada);};_ad8._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_ad8._applyPattern=function(_ade,_adf,_ae0){_ae0=_ae0||{};var _ae1=_ae0.customs.group,_ae2=_ae0.customs.decimal,_ae3=_adf.split(";"),_ae4=_ae3[0];_adf=_ae3[(_ade<0)?1:0]||("-"+_ae4);if(_adf.indexOf("%")!=-1){_ade*=100;}else{if(_adf.indexOf("‰")!=-1){_ade*=1000;}else{if(_adf.indexOf("¤")!=-1){_ae1=_ae0.customs.currencyGroup||_ae1;_ae2=_ae0.customs.currencyDecimal||_ae2;_adf=_adf.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/,function(_ae5,_ae6,_ae7,_ae8){var prop=["symbol","currency","displayName"][_ae7.length-1],_ae9=_ae0[prop]||_ae0.currency||"";if(!_ae9){return "";}return _ae6+_ae9+_ae8;});}else{if(_adf.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _aea=_ad8._numberPatternRE;var _aeb=_ae4.match(_aea);if(!_aeb){throw new Error("unable to find a number expression in pattern: "+_adf);}if(_ae0.fractional===false){_ae0.places=0;}return _adf.replace(_aea,_ad8._formatAbsolute(_ade,_aeb[0],{decimal:_ae2,group:_ae1,places:_ae0.places,round:_ae0.round}));};_ad8.round=function(_aec,_aed,_aee){var _aef=10/(_aee||10);return (_aef*+_aec).toFixed(_aed)/_aef;};if((0.9).toFixed()==0){var _af0=_ad8.round;_ad8.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 _af0(v,p,m)+(v>0?d:-d);};}_ad8._formatAbsolute=function(_af1,_af2,_af3){_af3=_af3||{};if(_af3.places===true){_af3.places=0;}if(_af3.places===Infinity){_af3.places=6;}var _af4=_af2.split("."),_af5=typeof _af3.places=="string"&&_af3.places.indexOf(","),_af6=_af3.places;if(_af5){_af6=_af3.places.substring(_af5+1);}else{if(!(_af6>=0)){_af6=(_af4[1]||[]).length;}}if(!(_af3.round<0)){_af1=_ad8.round(_af1,_af6,_af3.round);}var _af7=String(Math.abs(_af1)).split("."),_af8=_af7[1]||"";if(_af4[1]||_af3.places){if(_af5){_af3.places=_af3.places.substring(0,_af5);}var pad=_af3.places!==undefined?_af3.places:(_af4[1]&&_af4[1].lastIndexOf("0")+1);if(pad>_af8.length){_af7[1]=_ad6.pad(_af8,pad,"0",true);}if(_af6<_af8.length){_af7[1]=_af8.substr(0,_af6);}}else{if(_af7[1]){_af7.pop();}}var _af9=_af4[0].replace(",","");pad=_af9.indexOf("0");if(pad!=-1){pad=_af9.length-pad;if(pad>_af7[0].length){_af7[0]=_ad6.pad(_af7[0],pad);}if(_af9.indexOf("#")==-1){_af7[0]=_af7[0].substr(_af7[0].length-pad);}}var _afa=_af4[0].lastIndexOf(","),_afb,_afc;if(_afa!=-1){_afb=_af4[0].length-_afa-1;var _afd=_af4[0].substr(0,_afa);_afa=_afd.lastIndexOf(",");if(_afa!=-1){_afc=_afd.length-_afa-1;}}var _afe=[];for(var _aff=_af7[0];_aff;){var off=_aff.length-_afb;_afe.push((off>0)?_aff.substr(off):_aff);_aff=(off>0)?_aff.slice(0,off):"";if(_afc){_afb=_afc;_afc=undefined;}}_af7[0]=_afe.reverse().join(_af3.group||",");return _af7.join(_af3.decimal||".");};_ad8.regexp=function(_b00){return _ad8._parseInfo(_b00).regexp;};_ad8._parseInfo=function(_b01){_b01=_b01||{};var _b02=i18n.normalizeLocale(_b01.locale),_b03=i18n.getLocalization("dojo.cldr","number",_b02),_b04=_b01.pattern||_b03[(_b01.type||"decimal")+"Format"],_b05=_b03.group,_b06=_b03.decimal,_b07=1;if(_b04.indexOf("%")!=-1){_b07/=100;}else{if(_b04.indexOf("‰")!=-1){_b07/=1000;}else{var _b08=_b04.indexOf("¤")!=-1;if(_b08){_b05=_b03.currencyGroup||_b05;_b06=_b03.currencyDecimal||_b06;}}}var _b09=_b04.split(";");if(_b09.length==1){_b09.push("-"+_b09[0]);}var re=_ad7.buildGroupRE(_b09,function(_b0a){_b0a="(?:"+_ad7.escapeString(_b0a,".")+")";return _b0a.replace(_ad8._numberPatternRE,function(_b0b){var _b0c={signed:false,separator:_b01.strict?_b05:[_b05,""],fractional:_b01.fractional,decimal:_b06,exponent:false},_b0d=_b0b.split("."),_b0e=_b01.places;if(_b0d.length==1&&_b07!=1){_b0d[1]="###";}if(_b0d.length==1||_b0e===0){_b0c.fractional=false;}else{if(_b0e===undefined){_b0e=_b01.pattern?_b0d[1].lastIndexOf("0")+1:Infinity;}if(_b0e&&_b01.fractional==undefined){_b0c.fractional=true;}if(!_b01.places&&(_b0e<_b0d[1].length)){_b0e+=","+_b0d[1].length;}_b0c.places=_b0e;}var _b0f=_b0d[0].split(",");if(_b0f.length>1){_b0c.groupSize=_b0f.pop().length;if(_b0f.length>1){_b0c.groupSize2=_b0f.pop().length;}}return "("+_ad8._realNumberRegexp(_b0c)+")";});},true);if(_b08){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_b10,_b11,_b12,_b13){var prop=["symbol","currency","displayName"][_b12.length-1],_b14=_ad7.escapeString(_b01[prop]||_b01.currency||"");if(!_b14){return "";}_b11=_b11?"[\\s\\xa0]":"";_b13=_b13?"[\\s\\xa0]":"";if(!_b01.strict){if(_b11){_b11+="*";}if(_b13){_b13+="*";}return "(?:"+_b11+_b14+_b13+")?";}return _b11+_b14+_b13;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_b05,decimal:_b06,factor:_b07};};_ad8.parse=function(_b15,_b16){var info=_ad8._parseInfo(_b16),_b17=(new RegExp("^"+info.regexp+"$")).exec(_b15);if(!_b17){return NaN;}var _b18=_b17[1];if(!_b17[1]){if(!_b17[2]){return NaN;}_b18=_b17[2];info.factor*=-1;}_b18=_b18.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _b18*info.factor;};_ad8._realNumberRegexp=function(_b19){_b19=_b19||{};if(!("places" in _b19)){_b19.places=Infinity;}if(typeof _b19.decimal!="string"){_b19.decimal=".";}if(!("fractional" in _b19)||/^0/.test(_b19.places)){_b19.fractional=[true,false];}if(!("exponent" in _b19)){_b19.exponent=[true,false];}if(!("eSigned" in _b19)){_b19.eSigned=[true,false];}var _b1a=_ad8._integerRegexp(_b19),_b1b=_ad7.buildGroupRE(_b19.fractional,function(q){var re="";if(q&&(_b19.places!==0)){re="\\"+_b19.decimal;if(_b19.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_b19.places+"}";}}return re;},true);var _b1c=_ad7.buildGroupRE(_b19.exponent,function(q){if(q){return "([eE]"+_ad8._integerRegexp({signed:_b19.eSigned})+")";}return "";});var _b1d=_b1a+_b1b;if(_b1b){_b1d="(?:(?:"+_b1d+")|(?:"+_b1b+"))";}return _b1d+_b1c;};_ad8._integerRegexp=function(_b1e){_b1e=_b1e||{};if(!("signed" in _b1e)){_b1e.signed=[true,false];}if(!("separator" in _b1e)){_b1e.separator="";}else{if(!("groupSize" in _b1e)){_b1e.groupSize=3;}}var _b1f=_ad7.buildGroupRE(_b1e.signed,function(q){return q?"[-+]":"";},true);var _b20=_ad7.buildGroupRE(_b1e.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_ad7.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_b1e.groupSize,grp2=_b1e.groupSize2;if(grp2){var _b21="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_b21+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_b21;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _b1f+_b20;};return _ad8;});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/has","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_b22,_b23,has,keys,_b24,_b25,_b26,_b27){if(has("dijit-legacy-requires")){_b24(0,function(){var _b28=["dijit/ToolbarSeparator"];_b22(_b28);});}return _b23("dijit.Toolbar",[_b25,_b27,_b26],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",_onLeftArrow:function(){this.focusPrev();},_onRightArrow:function(){this.focusNext();}});});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","./main"],function(_b29,_b2a,has,keys,lang,on,_b2b,_b2c,_b2d,_b2e,_b2f,_b30,_b31){var _b32=_b29("dijit.TooltipDialog",[_b2c,_b2f,_b2e,_b2d],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_b30,_setTitleAttr:"containerNode",postCreate:function(){this.inherited(arguments);this.own(on(this.domNode,"keydown",lang.hitch(this,"_onKey")));},orient:function(node,_b33,_b34){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","BR-TL":"dijitTooltipBelow dijitTooltipABLeft","BL-TR":"dijitTooltipBelow dijitTooltipABRight","TL-BR":"dijitTooltipAbove dijitTooltipABRight","TR-BL":"dijitTooltipAbove dijitTooltipABLeft"}[_b33+"-"+_b34];_b2a.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems();_b2b.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);var _b35=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_b35.y+((_b35.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=_b35.x+((_b35.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){if(evt.keyCode==keys.ESCAPE){this.defer("onCancel");evt.stopPropagation();evt.preventDefault();}else{if(evt.keyCode==keys.TAB){var node=evt.target;this._getFocusItems();if(this._firstFocusItem==this._lastFocusItem){evt.stopPropagation();evt.preventDefault();}else{if(node==this._firstFocusItem&&evt.shiftKey){_b2b.focus(this._lastFocusItem);evt.stopPropagation();evt.preventDefault();}else{if(node==this._lastFocusItem&&!evt.shiftKey){_b2b.focus(this._firstFocusItem);evt.stopPropagation();evt.preventDefault();}else{evt.stopPropagation();}}}}}}});if(has("dojo-bidi")){_b32.extend({_setTitleAttr:function(_b36){this.containerNode.title=(this.textDir&&this.enforceTextDirWithUcc)?this.enforceTextDirWithUcc(null,_b36):_b36;this._set("title",_b36);},_setTextDirAttr:function(_b37){if(!this._created||this.textDir!=_b37){this._set("textDir",_b37);if(this.textDir&&this.title){this.containerNode.title=this.enforceTextDirWithUcc(null,this.title);}}}});}return _b32;});},"dijit/Tree":function(){define(["dojo/_base/array","dojo/aspect","dojo/cookie","dojo/_base/declare","dojo/Deferred","dojo/promise/all","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/errors/create","dojo/fx","dojo/has","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","dojo/touch","dojo/when","./a11yclick","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","./_KeyNavMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector","dojo/query!css2"],function(_b38,_b39,_b3a,_b3b,_b3c,all,dom,_b3d,_b3e,_b3f,_b40,_b41,has,_b42,keys,lang,on,_b43,_b44,when,_b45,_b46,_b47,_b48,_b49,_b4a,_b4b,_b4c,_b4d,_b4e,_b4f,_b50,_b51,_b52,_b53){function _b54(d){return lang.delegate(d.promise||d,{addCallback:function(_b55){this.then(_b55);},addErrback:function(_b56){this.otherwise(_b56);}});};var _b57=_b3b("dijit._TreeNode",[_b49,_b4a,_b4b,_b4c,_b4d],{item:null,isTreeNode:true,label:"",_setLabelAttr:function(val){this.labelNode[this.labelType=="html"?"innerHTML":"innerText" in this.labelNode?"innerText":"textContent"]=val;this._set("label",val);if(has("dojo-bidi")){this.applyTextDir(this.labelNode);}},labelType:"text",isExpandable:null,isExpanded:false,state:"NotLoaded",templateString:_b4f,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(_b58){var _b59=(Math.max(_b58,0)*this.tree._nodePixelIndent)+"px";_b3f.set(this.domNode,"backgroundPosition",_b59+" 0px");_b3f.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_b59);_b38.forEach(this.getChildren(),function(_b5a){_b5a.set("indent",_b58+1);});this._set("indent",_b58);},markProcessing:function(){this.state="Loading";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_b5b=tree.model;if(tree._v10Compat&&item===_b5b.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,_b5c,_b5d){var _b5e="_"+_b5c+"Class";var _b5f=_b5c+"Node";var _b60=this[_b5e];this[_b5e]=this.tree["get"+_b5d+"Class"](item,this.isExpanded);_b3d.replace(this[_b5f],this[_b5e]||"",_b60||"");_b3f.set(this[_b5f],this.tree["get"+_b5d+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _b61=this.getParent(),_b62=!_b61||!_b61.rowNode||_b61.rowNode.style.display=="none";_b3d.toggle(this.domNode,"dijitTreeIsRoot",_b62);_b3d.toggle(this.domNode,"dijitTreeIsLast",!_b62&&!this.getNextSibling());},_setExpando:function(_b63){var _b64=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_b65=["*","-","+","*"],idx=_b63?0:(this.isExpandable?(this.isExpanded?1:2):3);_b3d.replace(this.expandoNode,_b64[idx],_b64);this.expandoNodeText.innerHTML=_b65[idx];},expand:function(){if(this._expandDeferred){return _b54(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");}_b3d.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 _b66=_b41.wipeIn({node:this.containerNode,duration:_b48.defaultDuration});var def=(this._expandDeferred=new _b3c(function(){_b66.stop();}));_b39.after(_b66,"onEnd",function(){def.resolve(true);},true);_b66.play();return _b54(def);},collapse:function(){if(this._collapseDeferred){return _b54(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");}_b3d.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var _b67=_b41.wipeOut({node:this.containerNode,duration:_b48.defaultDuration});var def=(this._collapseDeferred=new _b3c(function(){_b67.stop();}));_b39.after(_b67,"onEnd",function(){def.resolve(true);},true);_b67.play();return _b54(def);},indent:0,setChildItems:function(_b68){var tree=this.tree,_b69=tree.model,defs=[];var _b6a=tree.focusedChild;var _b6b=this.getChildren();_b38.forEach(_b6b,function(_b6c){_b4b.prototype.removeChild.call(this,_b6c);},this);this.defer(function(){_b38.forEach(_b6b,function(node){if(!node._destroyed&&!node.getParent()){tree.dndController.removeTreeNode(node);function _b6d(node){var id=_b69.getIdentity(node.item),ary=tree._itemNodesMap[id];if(ary.length==1){delete tree._itemNodesMap[id];}else{var _b6e=_b38.indexOf(ary,node);if(_b6e!=-1){ary.splice(_b6e,1);}}_b38.forEach(node.getChildren(),_b6d);};_b6d(node);if(tree.persist){var _b6f=_b38.map(node.getTreePath(),function(item){return tree.model.getIdentity(item);}).join("/");for(var path in tree._openedNodes){if(path.substr(0,_b6f.length)==_b6f){delete tree._openedNodes[path];}}tree._saveExpandedNodes();}if(tree.lastFocusedChild&&!dom.isDescendant(tree.lastFocusedChild.domNode,tree.domNode)){delete tree.lastFocusedChild;}if(_b6a&&!dom.isDescendant(_b6a.domNode,tree.domNode)){tree.focus();}node.destroyRecursive();}});});this.state="Loaded";if(_b68&&_b68.length>0){this.isExpandable=true;_b38.forEach(_b68,function(item){var id=_b69.getIdentity(item),_b70=tree._itemNodesMap[id],node;if(_b70){for(var i=0;i<_b70.length;i++){if(_b70[i]&&!_b70[i].getParent()){node=_b70[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_b69.mayHaveChildren(item),label:tree.getLabel(item),labelType:(tree.model&&tree.model.labelType)||"text",tooltip:tree.getTooltip(item),ownerDocument:tree.ownerDocument,dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_b70){_b70.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_b38.forEach(this.getChildren(),function(_b71){_b71._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);var def=all(defs);this.tree._startPaint(def);return _b54(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 _b72=this.getChildren();if(_b72.length==0){this.isExpandable=false;this.collapse();}_b38.forEach(_b72,function(_b73){_b73._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},setSelected:function(_b74){this.labelNode.setAttribute("aria-selected",_b74?"true":"false");_b3d.toggle(this.rowNode,"dijitTreeRowSelected",_b74);},focus:function(){_b46.focus(this.focusNode);}});if(has("dojo-bidi")){_b57.extend({_setTextDirAttr:function(_b75){if(_b75&&((this.textDir!=_b75)||!this._created)){this._set("textDir",_b75);this.applyTextDir(this.labelNode);_b38.forEach(this.getChildren(),function(_b76){_b76.set("textDir",_b75);},this);}}});}var Tree=_b3b("dijit.Tree",[_b49,_b4e,_b4a,_b4d],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_b50,persist:false,autoExpand:false,dndController:_b53,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(_b77,_b78){_b43.publish(this.id,lang.mixin({tree:this,event:_b77},_b78||{}));},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 _b3c();this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments);},postCreate:function(){this._initState();var self=this;this.own(on(this.containerNode,on.selector(".dijitTreeNode",_b44.enter),function(evt){self._onNodeMouseEnter(_b47.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeNode",_b44.leave),function(evt){self._onNodeMouseLeave(_b47.byNode(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_b45.press),function(evt){self._onNodePress(_b47.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow",_b45),function(evt){self._onClick(_b47.getEnclosingWidget(this),evt);}),on(this.containerNode,on.selector(".dijitTreeRow","dblclick"),function(evt){self._onDblClick(_b47.getEnclosingWidget(this),evt);}));if(!this.model){this._store2model();}this.own(_b39.after(this.model,"onChange",lang.hitch(this,"_onItemChange"),true),_b39.after(this.model,"onChildrenChange",lang.hitch(this,"_onItemChildrenChange"),true),_b39.after(this.model,"onDelete",lang.hitch(this,"_onItemDelete"),true));this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _b79={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_b79[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_b79);}this._load();this.onLoadDeferred=_b54(this.pendingCommandsPromise);this.onLoadDeferred.then(lang.hitch(this,"onLoad"));},_store2model:function(){this._v10Compat=true;_b42.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _b7a={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_b7a.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_b7a.getChildren=lang.hitch(this,function(item,_b7b,_b7c){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_b7b,_b7c);});}this.model=new _b52(_b7a);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),labelType:this.model.labelType||"text",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");if(this["aria-label"]){rn.containerNode.setAttribute("aria-label",this["aria-label"]);this.domNode.removeAttribute("aria-label");}else{if(this["aria-labelledby"]){rn.containerNode.setAttribute("aria-labelledby",this["aria-labelledby"]);this.domNode.removeAttribute("aria-labelledby");}}rn.labelNode.setAttribute("role","presentation");rn.labelNode.removeAttribute("aria-selected");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.rootLoadingIndicator.style.display="none";}this.containerNode.appendChild(rn.domNode);var _b7d=this.model.getIdentity(item);if(this._itemNodesMap[_b7d]){this._itemNodesMap[_b7d].push(rn);}else{this._itemNodesMap[_b7d]=[rn];}rn._updateLayout();this._expandNode(rn).then(lang.hitch(this,function(){if(!this._destroyed){this.rootLoadingIndicator.style.display="none";this.expandChildrenDeferred.resolve(true);}}));}),lang.hitch(this,function(err){console.error(this,": error loading root: ",err);}));},getNodesByItem:function(item){if(!item){return [];}var _b7e=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_b7e]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_b7f){var tree=this;return this.pendingCommandsPromise=this.pendingCommandsPromise.always(lang.hitch(this,function(){var _b80=_b38.map(_b7f,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _b81=[];_b38.forEach(_b80,function(id){_b81=_b81.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_b81);}));},_setPathAttr:function(path){if(path.length){return _b54(this.set("paths",[path]).then(function(_b82){return _b82[0];}));}else{return _b54(this.set("paths",[]).then(function(_b83){return _b83[0];}));}},_setPathsAttr:function(_b84){var tree=this;function _b85(path,_b86){var _b87=path.shift();var _b88=_b38.filter(_b86,function(node){return node.getIdentity()==_b87;})[0];if(!!_b88){if(path.length){return tree._expandNode(_b88).then(function(){return _b85(path,_b88.getChildren());});}else{return _b88;}}else{throw new Tree.PathError("Could not expand path at "+_b87);}};return _b54(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return all(_b38.map(_b84,function(path){path=_b38.map(path,function(item){return item&&lang.isObject(item)?tree.model.getIdentity(item):item;});if(path.length){return _b85(path,[tree.rootNode]);}else{throw new Tree.PathError("Empty path");}}));}).then(function setNodes(_b89){tree.set("selectedNodes",_b89);return tree.paths;}));},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_b8a){this.dndController.setSelection(_b8a);},expandAll:function(){var _b8b=this;function _b8c(node){return _b8b._expandNode(node).then(function(){var _b8d=_b38.filter(node.getChildren()||[],function(node){return node.isExpandable;});return all(_b38.map(_b8d,_b8c));});};return _b54(_b8c(this.rootNode));},collapseAll:function(){var _b8e=this;function _b8f(node){var _b90=_b38.filter(node.getChildren()||[],function(node){return node.isExpandable;}),defs=all(_b38.map(_b90,_b8f));if(!node.isExpanded||(node==_b8e.rootNode&&!_b8e.showRoot)){return defs;}else{return defs.then(function(){return _b8e._collapseNode(node);});}};return _b54(_b8f(this.rootNode));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_b91){return (!item||this.model.mayHaveChildren(item))?(_b91?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onDownArrow:function(evt,node){var _b92=this._getNext(node);if(_b92&&_b92.isTreeNode){this.focusNode(_b92);}},_onUpArrow:function(evt,node){var _b93=node.getPreviousSibling();if(_b93){node=_b93;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _b94=node.getChildren();node=_b94[_b94.length-1];}}else{var _b95=node.getParent();if(!(!this.showRoot&&_b95===this.rootNode)){node=_b95;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(evt,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(evt,node){if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _b96=node.getParent();if(_b96&&_b96.isTreeNode&&!(!this.showRoot&&_b96===this.rootNode)){this.focusNode(_b96);}}},focusLastChild:function(){var node=this._getLast();if(node&&node.isTreeNode){this.focusNode(node);}},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_getLast:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();if(!c.length){break;}node=c[c.length-1];}return node;},_getNext:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _b97=node.getNextSibling();if(_b97){return _b97;}node=node.getParent();}return null;}},childSelector:".dijitTreeRow",isExpandoNode:function(node,_b98){return dom.isDescendant(node,_b98.expandoNode)||dom.isDescendant(node,_b98.expandoNodeText);},_onNodePress:function(_b99,e){this.focusNode(_b99);},__click:function(_b9a,e,_b9b,func){var _b9c=e.target,_b9d=this.isExpandoNode(_b9c,_b9a);if(_b9a.isExpandable&&(_b9b||_b9d)){this._onExpandoClick({node:_b9a});}else{this._publish("execute",{item:_b9a.item,node:_b9a,evt:e});this[func](_b9a.item,_b9a,e);this.focusNode(_b9a);}e.stopPropagation();e.preventDefault();},_onClick:function(_b9e,e){this.__click(_b9e,e,this.openOnClick,"onClick");},_onDblClick:function(_b9f,e){this.__click(_b9f,e,this.openOnDblClick,"onDblClick");},_onExpandoClick:function(_ba0){var node=_ba0.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){_b42.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(node);},_getRootOrFirstNode:function(){_b42.deprecated(this.declaredClass+"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst();},_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){if(node._expandNodeDeferred){return node._expandNodeDeferred;}var _ba1=this.model,item=node.item,_ba2=this;if(!node._loadDeferred){node.markProcessing();node._loadDeferred=new _b3c();_ba1.getChildren(item,function(_ba3){node.unmarkProcessing();node.setChildItems(_ba3).then(function(){node._loadDeferred.resolve(_ba3);});},function(err){console.error(_ba2,": error loading "+node.label+" children: ",err);node._loadDeferred.reject(err);});}var def=node._loadDeferred.then(lang.hitch(this,function(){var def2=node.expand();this.onOpen(node.item,node);this._state(node,true);return def2;}));this._startPaint(def);return def;},focusNode:function(node){var _ba4=this.domNode.scrollLeft;this.focusChild(node);this.domNode.scrollLeft=_ba4;},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _ba5=this.model,_ba6=_ba5.getIdentity(item),_ba7=this._itemNodesMap[_ba6];if(_ba7){var _ba8=this.getLabel(item),_ba9=this.getTooltip(item);_b38.forEach(_ba7,function(node){node.set({item:item,label:_ba8,tooltip:_ba9});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_baa,_bab){var _bac=this.model,_bad=_bac.getIdentity(_baa),_bae=this._itemNodesMap[_bad];if(_bae){_b38.forEach(_bae,function(_baf){_baf.setChildItems(_bab);});}},_onItemDelete:function(item){var _bb0=this.model,_bb1=_bb0.getIdentity(item),_bb2=this._itemNodesMap[_bb1];if(_bb2){_b38.forEach(_bb2,function(node){this.dndController.removeTreeNode(node);var _bb3=node.getParent();if(_bb3){_bb3.removeChild(node);}if(this.lastFocusedChild&&!dom.isDescendant(this.lastFocusedChild.domNode,this.domNode)){delete this.lastFocusedChild;}if(this.focusedChild&&!dom.isDescendant(this.focusedChild.domNode,this.domNode)){this.focus();}node.destroyRecursive();},this);delete this._itemNodesMap[_bb1];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_b3a(this.cookieName);if(oreo){_b38.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_bb4){if(!this.persist){return false;}var path=_b38.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_bb4){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}this._saveExpandedNodes();}},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var ary=[];for(var id in this._openedNodes){ary.push(id);}_b3a(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(_bb5){if(_bb5){_b3e.setMarginBox(this.domNode,_bb5);}this._nodePixelIndent=_b3e.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;}this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%";},_createTreeNode:function(args){return new _b57(args);},focus:function(){if(this.lastFocusedChild){this.focusNode(this.lastFocusedChild);}else{this.focusFirstChild();}}});if(has("dojo-bidi")){Tree.extend({_setTextDirAttr:function(_bb6){if(_bb6&&this.textDir!=_bb6){this._set("textDir",_bb6);this.rootNode.set("textDir",_bb6);}}});}Tree.PathError=_b40("TreePathError");Tree._TreeNode=_b57;return Tree;});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(_bb7,_bb8,_bb9,lang){return _bb9("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 _bba=this.store;if(!_bba.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");}if(_bba.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_bb8.after(_bba,"onNew",lang.hitch(this,"onNewItem"),true),_bb8.after(_bba,"onDelete",lang.hitch(this,"onDeleteItem"),true),_bb8.after(_bba,"onSet",lang.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_bbb,_bbc){if(this.root){_bbb(this.root);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_bbd){if(_bbd.length!=1){throw new Error("dijit.tree.TreeStoreModel: root query returned "+_bbd.length+" items, but must return exactly one");}this.root=_bbd[0];_bbb(this.root);}),onError:_bbc});}},mayHaveChildren:function(item){return _bb7.some(this.childrenAttrs,function(attr){return this.store.hasAttribute(item,attr);},this);},getChildren:function(_bbe,_bbf,_bc0){var _bc1=this.store;if(!_bc1.isItemLoaded(_bbe)){var _bc2=lang.hitch(this,arguments.callee);_bc1.loadItem({item:_bbe,onItem:function(_bc3){_bc2(_bc3,_bbf,_bc0);},onError:_bc0});return;}var _bc4=[];for(var i=0;i<this.childrenAttrs.length;i++){var vals=_bc1.getValues(_bbe,this.childrenAttrs[i]);_bc4=_bc4.concat(vals);}var _bc5=0;if(!this.deferItemLoadingUntilExpand){_bb7.forEach(_bc4,function(item){if(!_bc1.isItemLoaded(item)){_bc5++;}});}if(_bc5==0){_bbf(_bc4);}else{_bb7.forEach(_bc4,function(item,idx){if(!_bc1.isItemLoaded(item)){_bc1.loadItem({item:item,onItem:function(item){_bc4[idx]=item;if(--_bc5==0){_bbf(_bc4);}},onError:_bc0});}});}},isItem:function(_bc6){return this.store.isItem(_bc6);},fetchItemByIdentity:function(_bc7){this.store.fetchItemByIdentity(_bc7);},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,_bc8,_bc9){var _bca={parent:_bc8,attribute:this.childrenAttrs[0]},_bcb;if(this.newItemIdAttr&&args[this.newItemIdAttr]){this.fetchItemByIdentity({identity:args[this.newItemIdAttr],scope:this,onItem:function(item){if(item){this.pasteItem(item,null,_bc8,true,_bc9);}else{_bcb=this.store.newItem(args,_bca);if(_bcb&&(_bc9!=undefined)){this.pasteItem(_bcb,_bc8,_bc8,false,_bc9);}}}});}else{_bcb=this.store.newItem(args,_bca);if(_bcb&&(_bc9!=undefined)){this.pasteItem(_bcb,_bc8,_bc8,false,_bc9);}}},pasteItem:function(_bcc,_bcd,_bce,_bcf,_bd0){var _bd1=this.store,_bd2=this.childrenAttrs[0];if(_bcd){_bb7.forEach(this.childrenAttrs,function(attr){if(_bd1.containsValue(_bcd,attr,_bcc)){if(!_bcf){var _bd3=_bb7.filter(_bd1.getValues(_bcd,attr),function(x){return x!=_bcc;});_bd1.setValues(_bcd,attr,_bd3);}_bd2=attr;}});}if(_bce){if(typeof _bd0=="number"){var _bd4=_bd1.getValues(_bce,_bd2).slice();_bd4.splice(_bd0,0,_bcc);_bd1.setValues(_bce,_bd2,_bd4);}else{_bd1.setValues(_bce,_bd2,_bd1.getValues(_bce,_bd2).concat(_bcc));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_bd5){if(!_bd5){return;}this.getChildren(_bd5.item,lang.hitch(this,function(_bd6){this.onChildrenChange(_bd5.item,_bd6);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_bd7){if(_bb7.indexOf(this.childrenAttrs,_bd7)!=-1){this.getChildren(item,lang.hitch(this,function(_bd8){this.onChildrenChange(item,_bd8);}));}else{this.onChange(item);}}});});},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(_bd9,_bda,_bdb,lang,_bdc){return _bda("dijit.tree.ForestStoreModel",_bdc,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_bdd){this.root={store:this,root:true,id:_bdd.rootId,label:_bdd.rootLabel,children:_bdd.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_bde,_bdf,_be0){if(_bde===this.root){if(this.root.children){_bdf(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_be1){this.root.children=_be1;_bdf(_be1);}),onError:_be0});}}else{this.inherited(arguments);}},isItem:function(_be2){return (_be2===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_be3){if(_be3.identity==this.root.id){var _be4=_be3.scope||_bdb.global;if(_be3.onItem){_be3.onItem.call(_be4,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,_be5,_be6){if(_be5===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_be7,_be8,_be9,_bea,_beb){if(_be8===this.root){if(!_bea){this.onLeaveRoot(_be7);}}this.inherited(arguments,[_be7,_be8===this.root?null:_be8,_be9===this.root?null:_be9,_bea,_beb]);if(_be9===this.root){this.onAddToRoot(_be7);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _bec=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_bed){this.root.children=_bed;if(_bec.length!=_bed.length||_bd9.some(_bec,function(item,idx){return _bed[idx]!=item;})){this.onChildrenChange(this.root,_bed);}})});},onNewItem:function(item,_bee){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_bd9.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_bef,_bf0,_bf1){this._requeryTop();this.inherited(arguments);}});});},"dijit/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/dnd/common","dojo/dom","dojo/mouse","dojo/on","dojo/touch","../a11yclick","./_dndContainer"],function(_bf2,_bf3,_bf4,lang,_bf5,dom,_bf6,on,_bf7,_bf8,_bf9){return _bf3("dijit.tree._dndSelector",_bf9,{constructor:function(){this.selection={};this.anchor=null;this.events.push(on(this.tree.domNode,_bf7.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_bf7.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_bf7.move,lang.hitch(this,"onMouseMove")),on(this.tree.domNode,_bf8.press,lang.hitch(this,"onClickPress")),on(this.tree.domNode,_bf8.release,lang.hitch(this,"onClickRelease")));},singular:false,getSelectedTreeNodes:function(){var _bfa=[],sel=this.selection;for(var i in sel){_bfa.push(sel[i]);}return _bfa;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_bfb){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_bfb){this.anchor=node;}return node;},removeTreeNode:function(node){var _bfc=_bf2.filter(this.getSelectedTreeNodes(),function(_bfd){return !dom.isDescendant(_bfd.domNode,node.domNode);});this.setSelection(_bfc);return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_bfe){var _bff=this.getSelectedTreeNodes();_bf2.forEach(this._setDifference(_bff,_bfe),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_bf2.forEach(this._setDifference(_bfe,_bff),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_bf2.forEach(ys,function(y){y.__exclude__=true;});var ret=_bf2.filter(xs,function(x){return !x.__exclude__;});_bf2.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _c00=this.getSelectedTreeNodes();var _c01=[],_c02=[];_bf2.forEach(_c00,function(node){var ary=node.getTreePath();_c02.push(node);_c01.push(ary);},this);var _c03=_bf2.map(_c02,function(node){return node.item;});this.tree._set("paths",_c01);this.tree._set("path",_c01[0]||[]);this.tree._set("selectedNodes",_c02);this.tree._set("selectedNode",_c02[0]||null);this.tree._set("selectedItems",_c03);this.tree._set("selectedItem",_c03[0]||null);},onClickPress:function(e){if(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(e.target,this.current)){return;}if(e.type=="mousedown"&&_bf6.isLeft(e)){e.preventDefault();}var _c04=e.type=="keydown"?this.tree.focusedChild:this.current;if(!_c04){return;}var copy=_bf5.getCopyKeyState(e),id=_c04.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_c04,copy,e.shiftKey);},onClickRelease:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(e.type=="keyup"?this.tree.focusedChild:this.current,_bf5.getCopyKeyState(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},onMouseDown:function(){},onMouseUp:function(){},_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,_c05,_c06){if(this.singular){if(this.anchor==node&&_c05){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_c06&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_c07,end,_c08=this.anchor;if(cr<0){_c07=_c08;end=node;}else{_c07=node;end=_c08;}var _c09=[];while(_c07!=end){_c09.push(_c07);_c07=this.tree._getNext(_c07);}_c09.push(end);this.setSelection(_c09);}else{if(this.selection[node.id]&&_c05){this.removeTreeNode(node);}else{if(_c05){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _c0a=this.selection[key];return {data:_c0a,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||_bf4.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/on","dojo/touch"],function(_c0b,_c0c,_c0d,lang,on,_c0e){return _c0c("dijit.tree._dndContainer",null,{constructor:function(tree,_c0f){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_c0f);this.containerState="";_c0d.add(this.node,"dojoDndContainer");this.events=[on(this.node,_c0e.enter,lang.hitch(this,"onOverEvent")),on(this.node,_c0e.leave,lang.hitch(this,"onOutEvent")),_c0b.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_c0b.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart, selectstart",function(evt){evt.preventDefault();})];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_c10){this.current=_c10;},onMouseOut:function(){this.current=null;},_changeState:function(type,_c11){var _c12="dojoDnd"+type;var _c13=type.toLowerCase()+"State";_c0d.replace(this.node,_c12+_c11,_c12+this[_c13]);this[_c13]=_c11;},_addItemClass:function(node,type){_c0d.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_c0d.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dijit/tree/dndSource":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/common","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/topic","dojo/dnd/Manager","./_dndSelector"],function(_c14,_c15,_c16,_c17,_c18,lang,_c19,on,_c1a,_c1b,_c1c,_c1d){var _c1e=_c15("dijit.tree.dndSource",_c1d,{isSource:true,accept:["text","treeNode"],copyOnly:false,dragThreshold:5,betweenThreshold:0,generateText:true,constructor:function(tree,_c1f){if(!_c1f){_c1f={};}lang.mixin(this,_c1f);var type=_c1f.accept instanceof Array?_c1f.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){_c17.add(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_c17.add(this.node,"dojoDndTarget");}this.topics=[_c1b.subscribe("/dnd/source/over",lang.hitch(this,"onDndSourceOver")),_c1b.subscribe("/dnd/start",lang.hitch(this,"onDndStart")),_c1b.subscribe("/dnd/drop",lang.hitch(this,"onDndDrop")),_c1b.subscribe("/dnd/cancel",lang.hitch(this,"onDndCancel"))];},checkAcceptance:function(){return true;},copyState:function(_c20){return this.copyOnly||_c20;},destroy:function(){this.inherited(arguments);var h;while(h=this.topics.pop()){h.remove();}this.targetAnchor=null;},_onDragMouse:function(e,_c21){var m=_c1c.manager(),_c22=this.targetAnchor,_c23=this.current,_c24=this.dropPosition;var _c25="Over";if(_c23&&this.betweenThreshold>0){if(!this.targetBox||_c22!=_c23){this.targetBox=_c18.position(_c23.rowNode,true);}if((e.pageY-this.targetBox.y)<=this.betweenThreshold){_c25="Before";}else{if((e.pageY-this.targetBox.y)>=(this.targetBox.h-this.betweenThreshold)){_c25="After";}}}if(_c21||_c23!=_c22||_c25!=_c24){if(_c22){this._removeItemClass(_c22.rowNode,_c24);}if(_c23){this._addItemClass(_c23.rowNode,_c25);}if(!_c23){m.canDrop(false);}else{if(_c23==this.tree.rootNode&&_c25!="Over"){m.canDrop(false);}else{var _c26=false,_c27=false;if(m.source==this){_c27=(_c25==="Over");for(var _c28 in this.selection){var _c29=this.selection[_c28];if(_c29.item===_c23.item){_c26=true;break;}if(_c29.getParent().id!==_c23.id){_c27=false;}}}m.canDrop(!_c26&&!_c27&&!this._isParentChildDrop(m.source,_c23.rowNode)&&this.checkItemAcceptance(_c23.rowNode,m.source,_c25.toLowerCase()));}}this.targetAnchor=_c23;this.dropPosition=_c25;}},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}this.inherited(arguments);var m=_c1c.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 _c2a=this.getSelectedTreeNodes();if(_c2a.length){if(_c2a.length>1){var seen=this.selection,i=0,r=[],n,p;nextitem:while((n=_c2a[i++])){for(p=n.getParent();p&&p!==this.tree;p=p.getParent()){if(seen[p.id]){continue nextitem;}}r.push(n);}_c2a=r;}_c2a=_c14.map(_c2a,function(n){return n.domNode;});m.startDrag(this,_c2a,this.copyState(_c16.getCopyKeyState(e)));this._onDragMouse(e,true);}}}},onMouseDown:function(e){if(e.type=="touchstart"||_c19.isLeft(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(_c2b){if(this!=_c2b){this.mouseDown=false;this._unmarkTargetAnchor();}else{if(this.isDragging){var m=_c1c.manager();m.canDrop(false);}}},onDndStart:function(_c2c,_c2d,copy){if(this.isSource){this._changeState("Source",this==_c2c?(copy?"Copied":"Moved"):"");}var _c2e=this.checkAcceptance(_c2c,_c2d);this._changeState("Target",_c2e?"":"Disabled");if(this==_c2c){_c1c.manager().overSource(this);}this.isDragging=true;},itemCreator:function(_c2f){return _c14.map(_c2f,function(node){return {"id":node.id,"name":node.textContent||node.innerText||""};});},onDndDrop:function(_c30,_c31,copy){if(this.containerState=="Over"){var tree=this.tree,_c32=tree.model,_c33=this.targetAnchor,_c34=false;this.isDragging=false;var _c35;var _c36;var _c37;_c35=(_c33&&_c33.item)||tree.item;if(this.dropPosition=="Before"||this.dropPosition=="After"){_c35=(_c33.getParent()&&_c33.getParent().item)||tree.item;_c36=_c33.getIndexInParent();if(this.dropPosition=="After"){_c36=_c33.getIndexInParent()+1;_c37=_c33.getNextSibling()&&_c33.getNextSibling().item;}else{_c37=_c33.item;}}else{_c35=(_c33&&_c33.item)||tree.item;_c34=true;}var _c38;_c14.forEach(_c31,function(node,idx){var _c39=_c30.getItem(node.id);if(_c14.indexOf(_c39.type,"treeNode")!=-1){var _c3a=_c39.data,_c3b=_c3a.item,_c3c=_c3a.getParent().item;}if(_c30==this){if(typeof _c36=="number"){if(_c35==_c3c&&_c3a.getIndexInParent()<_c36){_c36-=1;}}_c32.pasteItem(_c3b,_c3c,_c35,copy,_c36,_c37);}else{if(_c32.isItem(_c3b)){_c32.pasteItem(_c3b,_c3c,_c35,copy,_c36,_c37);}else{if(!_c38){_c38=this.itemCreator(_c31,_c33.rowNode,_c30);}_c32.newItem(_c38[idx],_c35,_c36,_c37);}}},this);if(_c34){this.tree._expandNode(_c33);}}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);_c1c.manager().overSource(this);},onOutEvent:function(){this._unmarkTargetAnchor();var m=_c1c.manager();if(this.isDragging){m.canDrop(false);}m.outSource(this);this.inherited(arguments);},_isParentChildDrop:function(_c3d,_c3e){if(!_c3d.tree||_c3d.tree!=this.tree){return false;}var root=_c3d.tree.domNode;var ids=_c3d.selection;var node=_c3e.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 _c1e;});},"dojo/dnd/Manager":function(){define(["../_base/array","../_base/declare","../_base/lang","../_base/window","../dom-class","../Evented","../has","../keys","../on","../topic","../touch","./common","./autoscroll","./Avatar"],function(_c3f,_c40,lang,win,_c41,_c42,has,keys,on,_c43,_c44,dnd,_c45,_c46){var _c47=_c40("dojo.dnd.Manager",[_c42],{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")?4:16,OFFSET_Y:has("touch")?4:16,overSource:function(_c48){if(this.avatar){this.target=(_c48&&_c48.targetState!="Disabled")?_c48:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_c43.publish("/dnd/source/over",_c48);},outSource:function(_c49){if(this.avatar){if(this.target==_c49){this.target=null;this.canDropFlag=false;this.avatar.update();_c43.publish("/dnd/source/over",null);}}else{_c43.publish("/dnd/source/over",null);}},startDrag:function(_c4a,_c4b,copy){_c45.autoScrollStart(win.doc);this.source=_c4a;this.nodes=_c4b;this.copy=Boolean(copy);this.avatar=this.makeAvatar();win.body().appendChild(this.avatar.node);_c43.publish("/dnd/start",_c4a,_c4b,this.copy);function _c4c(e){e.preventDefault();e.stopPropagation();};this.events=[on(win.doc,_c44.move,lang.hitch(this,"onMouseMove")),on(win.doc,_c44.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",_c4c),on(win.body(),"selectstart",_c4c)];var c="dojoDnd"+(copy?"Copy":"Move");_c41.add(win.body(),c);},canDrop:function(flag){var _c4d=Boolean(this.target&&flag);if(this.canDropFlag!=_c4d){this.canDropFlag=_c4d;this.avatar.update();}},stopDrag:function(){_c41.remove(win.body(),["dojoDndCopy","dojoDndMove"]);_c3f.forEach(this.events,function(_c4e){_c4e.remove();});this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _c46(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_c45.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)));_c43.publish("/dnd/drop/before",this.source,this.nodes,copy,this.target,e);_c43.publish("/dnd/drop",this.source,this.nodes,copy,this.target,e);}else{_c43.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:_c43.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();_c41.replace(win.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});dnd._manager=null;_c47.manager=dnd.manager=function(){if(!dnd._manager){dnd._manager=new _c47();}return dnd._manager;};return _c47;});},"dojo/dnd/Avatar":function(){define(["../_base/declare","../_base/window","../dom","../dom-attr","../dom-class","../dom-construct","../hccss","../query"],function(_c4f,win,dom,_c50,_c51,_c52,has,_c53){return _c4f("dojo.dnd.Avatar",null,{constructor:function(_c54){this.manager=_c54;this.construct();},construct:function(){var a=_c52.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_c55=this.manager.source,node,b=_c52.create("tbody",null,a),tr=_c52.create("tr",null,b),td=_c52.create("td",null,tr),k=Math.min(5,this.manager.nodes.length),i=0;if(has("highcontrast")){_c52.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td);}_c52.create("span",{innerHTML:_c55.generateText?this._generateText():""},td);_c50.set(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_c55.creator){node=_c55._normalizedCreator(_c55.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{node=this.manager.nodes[i].cloneNode(true);if(node.tagName.toLowerCase()=="tr"){var _c56=_c52.create("table"),_c57=_c52.create("tbody",null,_c56);_c57.appendChild(node);node=_c56;}}node.id="";tr=_c52.create("tr",null,b);td=_c52.create("td",null,tr);td.appendChild(node);_c50.set(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_c52.destroy(this.node);this.node=false;},update:function(){_c51.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;}_c53(("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();}});});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\" role=\"grid\">\n\t<table data-dojo-attach-point=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"presentation\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","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\t${!actionBarTemplate}\n</div>\n\n","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\">●</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\tdata-dojo-attach-event=\"onclick:_onClick\"\n\t\ttabIndex=\"-1\" aria-hidden=\"true\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","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=\"ondijitclick:_onClick\"\n/></div>\n","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,_popupStateNode\"\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\"\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\">▼</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-event=\"onclick:_onClick\" data-dojo-attach-point=\"valueNode\" aria-hidden=\"true\"\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,onkeydown:_onButtonKeyDown\"\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=\"onkeydown:_onArrowKeyDown\"\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\">▼</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\"\n\t\t\t\tclass=\"dijitOffScreen\" aria-hidden=\"true\" data-dojo-attach-event=\"onclick:_onClick\"\n\t\t/></td></tr></tbody\n></table>\n","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","url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></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=\"Χ \" 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","url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\taria-haspopup=\"true\"\n\tdata-dojo-attach-point=\"_popupStateNode\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"▼ \" 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=\"Χ \" 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=\"${type}\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\"\n\t/></div\n></div>\n","url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\"\n\t cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,textDirNode\"\n\t\trole=\"presentation\"></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<span data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<span class=\"dijitInline dijitIcon dijitMenuExpand\"></span>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</span>\n\t</td>\n</tr>\n","url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\" role=\"separator\">\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>\n","url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode,_popupStateNode\" 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,textDirNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitValidationContainer\"\n\t\t\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"Χ \" 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=\"▼ \" 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","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" class=\"dijitReset dijitInline dijitOffScreen\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"./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=\"./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","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset\" data-dojo-attach-point=\"focusNode\" role=\"${role}\" tabIndex=\"-1\" aria-checked=\"${checked}\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<span class=\"dijitInline dijitIcon dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span class=\"dijitMenuItemIconChar dijitCheckedMenuItemIconChar\">${!checkedChar}</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode,textDirNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\"> </td>\n</tr>\n","url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\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><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","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","url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode,innerDiv,tabContent\" class=\"dijitTabInner dijitTabContent\">\n\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTabButtonIcon\" data-dojo-attach-point=\"iconNode\"></span>\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","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 class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_menuBtn\"\n\t\t data-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t data-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">▼</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_leftBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">◀</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t class=\"tabStripButton-${tabPosition}\"\n\t\t id=\"${id}_rightBtn\"\n\t\t data-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t data-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">▶</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeydown:onkeydown'\n\t\t\t data-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"ondijitclick:_onClick\" class=\"dijitTabInnerDiv dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"focusNode\" role=\"button\">\n\t<span role=\"presentation\" class=\"dijitInline dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n</div>","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\"> </span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><span data-dojo-attach-point=\"indeterminateHighContrastImage\"\n\t\t class=\"dijitInline dijitProgressBarIndeterminateHighContrastImage\"></span\n></div>\n","url:dijit/templates/TooltipDialog.html":"<div role=\"alertdialog\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"contentsNode\" class=\"dijitTooltipContents dijitTooltipFocusNode\">\n\t\t\t<div data-dojo-attach-point=\"containerNode\"></div>\n\t\t\t${!actionBarTemplate}\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\" data-dojo-attach-point=\"connectorNode\"></div>\n</div>\n","url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\"\n\t\t><span data-dojo-attach-point=\"expandoNode\" class=\"dijitInline dijitTreeExpando\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<span role=\"presentation\" class=\"dijitInline dijitIcon dijitTreeIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span data-dojo-attach-point=\"labelNode,focusNode\" class=\"dijitTreeLabel\" role=\"treeitem\"\n\t\t\t\t tabindex=\"-1\" aria-selected=\"false\" id=\"${id}_label\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeNodeContainer\" role=\"presentation\"\n\t\t style=\"display: none;\" aria-labelledby=\"${id}_label\"></div>\n</div>\n","url:dijit/templates/Tree.html":"<div role=\"tree\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n\t<div class=\"dijitTreeExpando dijitTreeExpandoLoading\" data-dojo-attach-point=\"rootLoadingIndicator\"></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\">\n\t</div>\n</div>\n","*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); |