/*
	Copyright (c) 2004-2007, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.global;var _2=dojo.doc;if(_2.selection){return !_2.selection.createRange().text;}else{if(_1.getSelection){var _3=_1.getSelection();if(dojo.isString(_3)){return !_3;}else{return _3.isCollapsed||!_3.toString();}}}},getBookmark:function(){var _4,_5=dojo.doc.selection;if(_5){var _6=_5.createRange();if(_5.type.toUpperCase()=="CONTROL"){_4=_6.length?dojo._toArray(_6):null;}else{_4=_6.getBookmark();}}else{if(dojo.global.getSelection){_5=dojo.global.getSelection();if(_5){var _6=_5.getRangeAt(0);_4=_6.cloneRange();}}else{console.debug("No idea how to store the current selection for this browser!");}}return _4;},moveToBookmark:function(_7){var _8=dojo.doc;if(_8.selection){var _9;if(dojo.isArray(_7)){_9=_8.body.createControlRange();dojo.forEach(_7,_9.addElement);}else{_9=_8.selection.createRange();_9.moveToBookmark(_7);}_9.select();}else{var _a=dojo.global.getSelection&&dojo.global.getSelection();if(_a&&_a.removeAllRanges){_a.removeAllRanges();_a.addRange(_7);}else{console.debug("No idea how to restore selection for this browser!");}}},getFocus:function(_b,_c){return {node:_b&&dojo.isDescendant(dijit._curFocus,_b.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_c||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_c||dojo.global,dijit.getBookmark):null,openedForWindow:_c};},focus:function(_d){if(!_d){return;}var _e="node" in _d?_d.node:_d,_f=_d.bookmark,_10=_d.openedForWindow;if(_e){var _11=(_e.tagName.toLowerCase()=="iframe")?_e.contentWindow:_e;if(_11&&_11.focus){try{_11.focus();}catch(e){}}dijit._onFocusNode(_e);}if(_f&&dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)){if(_10){_10.focus();}try{dojo.withGlobal(_10||dojo.global,moveToBookmark,null,[_f]);}catch(e){}}},_activeStack:[],registerWin:function(_12){if(!_12){_12=window;}dojo.connect(_12.document,"onmousedown",null,function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _14=_12.document.body||_12.document.getElementsByTagName("body")[0];if(_14){if(dojo.isIE){_14.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_14.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_14.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_14.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_14=null;},_onBlurNode:function(_19){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;var w=dijit.getEnclosingWidget(_19);if(w&&w._setStateClass){w._focused=false;w._setStateClass();}if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);},100);},_onTouchNode:function(_1b){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1c=[];try{while(_1b){if(_1b.dijitPopupParent){_1b=dijit.byId(_1b.dijitPopupParent).domNode;}else{if(_1b.tagName&&_1b.tagName.toLowerCase()=="body"){if(_1b===dojo.body()){break;}_1b=dojo.query("iframe").filter(function(_1d){return _1d.contentDocument.body===_1b;})[0];}else{var id=_1b.getAttribute&&_1b.getAttribute("widgetId");if(id){_1c.unshift(id);}_1b=_1b.parentNode;}}}}catch(e){}dijit._setStack(_1c);},_onFocusNode:function(_1f){if(_1f&&_1f.tagName&&_1f.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_1f);if(_1f==dijit._curFocus){return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=_1f;dojo.publish("focusNode",[_1f]);var w=dijit.getEnclosingWidget(_1f);if(w&&w._setStateClass){w._focused=true;w._setStateClass();}},_setStack:function(_21){var _22=dijit._activeStack;dijit._activeStack=_21;for(var _23=0;_23<Math.min(_22.length,_21.length);_23++){if(_22[_23]!=_21[_23]){break;}}for(var i=_22.length-1;i>=_23;i--){var _25=dijit.byId(_22[i]);if(_25){dojo.publish("widgetBlur",[_25]);if(_25._onBlur){_25._onBlur();}}}for(var i=_23;i<_21.length;i++){var _25=dijit.byId(_21[i]);if(_25){dojo.publish("widgetFocus",[_25]);if(_25._onFocus){_25._onFocus();}}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_26){if(this._hash[_26.id]){throw new Error("Tried to register widget with id=="+_26.id+" but that id is already registered");}this._hash[_26.id]=_26;},remove:function(id){delete this._hash[id];},forEach:function(_28){for(var id in this._hash){_28(this._hash[id]);}},filter:function(_2a){var res=new dijit.WidgetSet();this.forEach(function(_2c){if(_2a(_2c)){res.add(_2c);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_2f){return _2f.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_30){var id;do{id=_30+"_"+(dijit._widgetTypeCtr[_30]!==undefined?++dijit._widgetTypeCtr[_30]:dijit._widgetTypeCtr[_30]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_32){_32.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_34){return dijit.registry.byId(_34.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_35){while(_35){if(_35.getAttribute&&_35.getAttribute("widgetId")){return dijit.registry.byId(_35.getAttribute("widgetId"));}_35=_35.parentNode;}return null;};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _36=dojo.global;var _37=dojo.doc;var w=0,h=0;if(dojo.isMozilla){var _3a,_3b,_3c,_3d;if(_37.body.clientWidth>_37.documentElement.clientWidth){_3a=_37.documentElement.clientWidth;_3c=_37.body.clientWidth;}else{_3c=_37.documentElement.clientWidth;_3a=_37.body.clientWidth;}if(_37.body.clientHeight>_37.documentElement.clientHeight){_3b=_37.documentElement.clientHeight;_3d=_37.body.clientHeight;}else{_3d=_37.documentElement.clientHeight;_3b=_37.body.clientHeight;}w=(_3c>_36.innerWidth)?_3a:_3c;h=(_3d>_36.innerHeight)?_3b:_3d;}else{if(!dojo.isOpera&&_36.innerWidth){w=_36.innerWidth;h=_36.innerHeight;}else{if(dojo.isIE&&_37.documentElement&&_37.documentElement.clientHeight){w=_37.documentElement.clientWidth;h=_37.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _3e=dojo._docScroll();return {w:w,h:h,l:_3e.x,t:_3e.y};};dijit.placeOnScreen=function(_3f,pos,_41,_42){var _43=dojo.map(_41,function(_44){return {corner:_44,pos:pos};});return dijit._place(_3f,_43);};dijit._place=function(_45,_46,_47){var _48=dijit.getViewport();if(!_45.parentNode||String(_45.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_45);}var _49=null;for(var i=0;i<_46.length;i++){var _4b=_46[i].corner;var pos=_46[i].pos;if(_47){_47(_4b);}var _4d=_45.style.display;var _4e=_45.style.visibility;_45.style.visibility="hidden";_45.style.display="";var mb=dojo.marginBox(_45);_45.style.display=_4d;_45.style.visibility=_4e;var _50=(_4b.charAt(1)=="L"?pos.x:Math.max(_48.l,pos.x-mb.w)),_51=(_4b.charAt(0)=="T"?pos.y:Math.max(_48.t,pos.y-mb.h)),_52=(_4b.charAt(1)=="L"?Math.min(_48.l+_48.w,_50+mb.w):pos.x),_53=(_4b.charAt(0)=="T"?Math.min(_48.t+_48.h,_51+mb.h):pos.y),_54=_52-_50,_55=_53-_51,_56=(mb.w-_54)+(mb.h-_55);if(_49==null||_56<_49.overflow){_49={corner:_4b,aroundCorner:_46[i].aroundCorner,x:_50,y:_51,w:_54,h:_55,overflow:_56};}if(_56==0){break;}}_45.style.left=_49.x+"px";_45.style.top=_49.y+"px";return _49;};dijit.placeOnScreenAroundElement=function(_57,_58,_59,_5a){_58=dojo.byId(_58);var _5b=_58.style.display;_58.style.display="";var _5c=_58.offsetWidth;var _5d=_58.offsetHeight;var _5e=dojo.coords(_58,true);_58.style.display=_5b;var _5f=[];for(var _60 in _59){_5f.push({aroundCorner:_60,corner:_59[_60],pos:{x:_5e.x+(_60.charAt(1)=="L"?0:_5c),y:_5e.y+(_60.charAt(0)=="T"?0:_5d)}});}return dijit._place(_57,_5f,_5a);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isSafari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i<win.frames.length;i++){fix(win.frames[i]);}};fix(window.top);}if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _66=[],_67=1000,_68=1;this.open=function(_69){var _6a=_69.popup,_6b=_69.orient||{"BL":"TL","TL":"BL"},_6c=_69.around,id=(_69.around&&_69.around.id)?(_69.around.id+"_dropdown"):("popup_"+_68++);var _6e=dojo.doc.createElement("div");_6e.id=id;_6e.className="dijitPopup";_6e.style.zIndex=_67+_66.length;_6e.style.visibility="hidden";if(_69.parent){_6e.dijitPopupParent=_69.parent.id;}dojo.body().appendChild(_6e);_6a.domNode.style.display="";_6e.appendChild(_6a.domNode);var _6f=new dijit.BackgroundIframe(_6e);var _70=_6c?dijit.placeOnScreenAroundElement(_6e,_6c,_6b,_6a.orient?dojo.hitch(_6a,"orient"):null):dijit.placeOnScreen(_6e,_69,_6b=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_6e.style.visibility="visible";var _71=[];function getTopPopup(){for(var pi=_66.length-1;pi>0&&_66[pi].parent===_66[pi-1].widget;pi--){}return _66[pi];};_71.push(dojo.connect(_6e,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&_69.onCancel){_69.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _74=getTopPopup();if(_74&&_74.onCancel){_74.onCancel();}}}}));if(_6a.onCancel){_71.push(dojo.connect(_6a,"onCancel",null,_69.onCancel));}_71.push(dojo.connect(_6a,_6a.onExecute?"onExecute":"onChange",null,function(){var _75=getTopPopup();if(_75&&_75.onExecute){_75.onExecute();}}));_66.push({wrapper:_6e,iframe:_6f,widget:_6a,parent:_69.parent,onExecute:_69.onExecute,onCancel:_69.onCancel,onClose:_69.onClose,handlers:_71});if(_6a.onOpen){_6a.onOpen(_70);}return _70;};this.close=function(_76){while(dojo.some(_66,function(_77){return _77.widget==_76;})){var top=_66.pop(),_79=top.wrapper,_7a=top.iframe,_7b=top.widget,_7c=top.onClose;if(_7b.onClose){_7b.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_7b||!_7b.domNode){return;}dojo.style(_7b.domNode,"display","none");dojo.body().appendChild(_7b.domNode);_7a.destroy();dojo._destroyElement(_79);if(_7c){_7c();}}};}();dijit._frames=new function(){var _7d=[];this.pop=function(){var _7e;if(_7d.length){_7e=_7d.pop();_7e.style.display="";}else{if(dojo.isIE){var _7f="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_7e=dojo.doc.createElement(_7f);}else{var _7e=dojo.doc.createElement("iframe");_7e.src="javascript:\"\"";_7e.className="dijitBackgroundIframe";}_7e.tabIndex=-1;dojo.body().appendChild(_7e);}return _7e;};this.push=function(_80){_80.style.display="";if(dojo.isIE){_80.style.removeExpression("width");_80.style.removeExpression("height");}_7d.push(_80);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_82){if(!_82.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _83=dijit._frames.pop();_82.appendChild(_83);if(dojo.isIE){_83.style.setExpression("width","document.getElementById('"+_82.id+"').offsetWidth");_83.style.setExpression("height","document.getElementById('"+_82.id+"').offsetHeight");}this.iframe=_83;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(_84){if(dojo.isIE){if(dojo.marginBox(_84.parentNode).h<=_84.parentNode.scrollHeight){_84.scrollIntoView(false);}}else{if(dojo.isMozilla){_84.scrollIntoView(false);}else{var _85=_84.parentNode;var _86=_85.scrollTop+dojo.marginBox(_85).h;var _87=_84.offsetTop+dojo.marginBox(_84).h;if(_86<_87){_85.scrollTop+=(_87-_86);}else{if(_85.scrollTop>_84.offsetTop){_85.scrollTop-=(_85.scrollTop-_84.offsetTop);}}}}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _8a=d.isOpera;var maj=Math.floor;var _8c={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_8a,dj_opera8:maj(_8a)==8,dj_opera9:maj(_8a)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla};for(var p in _8c){if(_8c[p]){var _8e=dojo.doc.documentElement;if(_8e.className){_8e.className+=" "+p;}else{_8e.className=p;}}}})();}if(!dojo._hasResource["dijit._base.bidi"]){dojo._hasResource["dijit._base.bidi"]=true;dojo.provide("dijit._base.bidi");dojo.addOnLoad(function(){if(!dojo._isBodyLtr()){dojo.addClass(dojo.body(),"dijitRtl");}});}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_90,_91,_92,obj,_94,_95){if(obj!=this._obj){this.stop();this._initialDelay=_95||500;this._subsequentDelay=_94||0.9;this._obj=obj;this._evt=evt;this._node=_91;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_90,_92);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(_96,_97,_98,_99,_9a,_9b){return [dojo.connect(_96,"onkeypress",this,function(evt){if(evt.keyCode==_97.keyCode&&(!_97.charCode||_97.charCode==evt.charCode)&&(_97.ctrlKey===undefined||_97.ctrlKey==evt.ctrlKey)&&(_97.altKey===undefined||_97.altKey==evt.ctrlKey)&&(_97.shiftKey===undefined||_97.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_97,_98,_96,_99,_97,_9a,_9b);}else{if(dijit.typematic._obj==_97){dijit.typematic.stop();}}}),dojo.connect(_96,"onkeyup",this,function(evt){if(dijit.typematic._obj==_97){dijit.typematic.stop();}})];},addMouseListener:function(_9e,_9f,_a0,_a1,_a2){var dc=dojo.connect;return [dc(_9e,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_9f,_9e,_a0,_9e,_a1,_a2);}),dc(_9e,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_9e,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_9e,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_9e,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_9f,_9e,_a0,_9e,_a1,_a2);setTimeout(dijit.typematic.stop,50);}})];},addListener:function(_a9,_aa,_ab,_ac,_ad,_ae,_af){return this.addKeyListener(_aa,_ab,_ac,_ad,_ae,_af).concat(this.addMouseListener(_a9,_ac,_ad,_ae,_af));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=document.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dijit","form/templates/blank.gif")+"\");";dojo.body().appendChild(div);function check(){var cs=dojo.getComputedStyle(div);if(cs){var _b2=cs.backgroundImage;var _b3=(cs.borderTopColor==cs.borderRightColor)||(_b2!=null&&(_b2=="none"||_b2=="url(invalid-url:)"));dojo[_b3?"addClass":"removeClass"](dojo.body(),"dijit_a11y");}};check();if(dojo.isIE){setInterval(check,4000);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(_b4){if(_b4.hasAttribute){return _b4.hasAttribute("role");}else{return _b4.getAttribute("role")?true:false;}},getWaiRole:function(_b5){var _b6=_b5.getAttribute("role");if(_b6){var _b7=_b6.indexOf(":");return _b7==-1?_b6:_b6.substring(_b7+1);}else{return "";}},setWaiRole:function(_b8,_b9){if(dojo.isFF&&dojo.isFF<3){_b8.setAttribute("role","wairole:"+_b9);}else{_b8.setAttribute("role",_b9);}},removeWaiRole:function(_ba){_ba.removeAttribute("role");},hasWaiState:function(_bb,_bc){if(dojo.isFF&&dojo.isFF<3){return _bb.hasAttributeNS("http://www.w3.org/2005/07/aaa",_bc);}else{if(_bb.hasAttribute){return _bb.hasAttribute("aria-"+_bc);}else{return _bb.getAttribute("aria-"+_bc)?true:false;}}},getWaiState:function(_bd,_be){if(dojo.isFF&&dojo.isFF<3){return _bd.getAttributeNS("http://www.w3.org/2005/07/aaa",_be);}else{var _bf=_bd.getAttribute("aria-"+_be);return _bf?_bf:"";}},setWaiState:function(_c0,_c1,_c2){if(dojo.isFF&&dojo.isFF<3){_c0.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_c1,_c2);}else{_c0.setAttribute("aria-"+_c1,_c2);}},removeWaiState:function(_c3,_c4){if(dojo.isFF&&dojo.isFF<3){_c3.removeAttributeNS("http://www.w3.org/2005/07/aaa",_c4);}else{_c3.removeAttribute("aria-"+_c4);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_c5,_c6){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _c7=dojo.date.stamp._isoRegExp.exec(_c5);var _c8=null;if(_c7){_c7.shift();_c7[1]&&_c7[1]--;_c7[6]&&(_c7[6]*=1000);if(_c6){_c6=new Date(_c6);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_c9){return _c6["get"+_c9]();}).forEach(function(_ca,_cb){if(_c7[_cb]===undefined){_c7[_cb]=_ca;}});}_c8=new Date(_c7[0]||1970,_c7[1]||0,_c7[2]||0,_c7[3]||0,_c7[4]||0,_c7[5]||0,_c7[6]||0);var _cc=0;var _cd=_c7[7]&&_c7[7].charAt(0);if(_cd!="Z"){_cc=((_c7[8]||0)*60)+(Number(_c7[9])||0);if(_cd!="-"){_cc*=-1;}}if(_cd){_cc-=_c8.getTimezoneOffset();}if(_cc){_c8.setTime(_c8.getTime()+_cc*60000);}}return _c8;};dojo.date.stamp.toISOString=function(_ce,_cf){var _=function(n){return (n<10)?"0"+n:n;};_cf=_cf||{};var _d2=[];var _d3=_cf.zulu?"getUTC":"get";var _d4="";if(_cf.selector!="time"){_d4=[_ce[_d3+"FullYear"](),_(_ce[_d3+"Month"]()+1),_(_ce[_d3+"Date"]())].join("-");}_d2.push(_d4);if(_cf.selector!="date"){var _d5=[_(_ce[_d3+"Hours"]()),_(_ce[_d3+"Minutes"]()),_(_ce[_d3+"Seconds"]())].join(":");var _d6=_ce[_d3+"Milliseconds"]();if(_cf.milliseconds){_d5+="."+(_d6<100?"0":"")+_(_d6);}if(_cf.zulu){_d5+="Z";}else{if(_cf.selector!="time"){var _d7=_ce.getTimezoneOffset();var _d8=Math.abs(_d7);_d5+=(_d7>0?"-":"+")+_(Math.floor(_d8/60))+":"+_(_d8%60);}}_d2.push(_d5);}return _d2.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;function val2type(_da){if(d.isString(_da)){return "string";}if(typeof _da=="number"){return "number";}if(typeof _da=="boolean"){return "boolean";}if(d.isFunction(_da)){return "function";}if(d.isArray(_da)){return "array";}if(_da instanceof Date){return "date";}if(_da instanceof d._Url){return "url";}return "object";};function str2obj(_db,_dc){switch(_dc){case "string":return _db;case "number":return _db.length?Number(_db):NaN;case "boolean":return typeof _db=="boolean"?_db:!(_db.toLowerCase()=="false");case "function":if(d.isFunction(_db)){_db=_db.toString();_db=d.trim(_db.substring(_db.indexOf("{")+1,_db.length-1));}try{if(_db.search(/[^\w\.]+/i)!=-1){_db=d.parser._nameAnonFunc(new Function(_db),this);}return d.getObject(_db,false);}catch(e){return new Function();}case "array":return _db.split(/\s*,\s*/);case "date":switch(_db){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_db);}case "url":return d.baseUrl+_db;default:return d.fromJson(_db);}};var _dd={};function getClassInfo(_de){if(!_dd[_de]){var cls=d.getObject(_de);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_de+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _e0=cls.prototype;var _e1={};for(var _e2 in _e0){if(_e2.charAt(0)=="_"){continue;}var _e3=_e0[_e2];_e1[_e2]=val2type(_e3);}_dd[_de]={cls:cls,params:_e1};}return _dd[_de];};this._functionFromScript=function(_e4){var _e5="";var _e6="";var _e7=_e4.getAttribute("args");if(_e7){d.forEach(_e7.split(/\s*,\s*/),function(_e8,idx){_e5+="var "+_e8+" = arguments["+idx+"]; ";});}var _ea=_e4.getAttribute("with");if(_ea&&_ea.length){d.forEach(_ea.split(/\s*,\s*/),function(_eb){_e5+="with("+_eb+"){";_e6+="}";});}return new Function(_e5+_e4.innerHTML+_e6);};this.instantiate=function(_ec){var _ed=[];d.forEach(_ec,function(_ee){if(!_ee){return;}var _ef=_ee.getAttribute("dojoType");if((!_ef)||(!_ef.length)){return;}var _f0=getClassInfo(_ef);var _f1=_f0.cls;var ps=_f1._noScript||_f1.prototype._noScript;var _f3={};var _f4=_ee.attributes;for(var _f5 in _f0.params){var _f6=_f4.getNamedItem(_f5);if(!_f6||(!_f6.specified&&(!dojo.isIE||_f5.toLowerCase()!="value"))){continue;}var _f7=_f6.value;switch(_f5){case "class":_f7=_ee.className;break;case "style":_f7=_ee.style&&_ee.style.cssText;}var _f8=_f0.params[_f5];_f3[_f5]=str2obj(_f7,_f8);}if(!ps){var _f9=[],_fa=[];d.query("> script[type^='dojo/']",_ee).orphan().forEach(function(_fb){var _fc=_fb.getAttribute("event"),_ef=_fb.getAttribute("type"),nf=d.parser._functionFromScript(_fb);if(_fc){if(_ef=="dojo/connect"){_f9.push({event:_fc,func:nf});}else{_f3[_fc]=nf;}}else{_fa.push(nf);}});}var _fe=_f1["markupFactory"];if(!_fe&&_f1["prototype"]){_fe=_f1.prototype["markupFactory"];}var _ff=_fe?_fe(_f3,_ee,_f1):new _f1(_f3,_ee);_ed.push(_ff);var _100=_ee.getAttribute("jsId");if(_100){d.setObject(_100,_ff);}if(!ps){dojo.forEach(_f9,function(_101){dojo.connect(_ff,_101.event,null,_101.func);});dojo.forEach(_fa,function(func){func.call(_ff);});}});d.forEach(_ed,function(_103){if(_103&&(_103.startup)&&((!_103.getParent)||(!_103.getParent()))){_103.startup();}});return _ed;};this.parse=function(_104){var list=d.query("[dojoType]",_104);var _106=this.instantiate(list);return _106;};}();(function(){var _107=function(){if(djConfig["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_107);}else{dojo._loaders.unshift(_107);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_108,_109){var jpn="$joinpoint";var nso=(_109||dojo.parser._anon);if(dojo.isIE){var cn=_108["__dojoNameCache"];if(cn&&nso[cn]===_108){return _108["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_108;return ret;};}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_10e,_10f){this.create(_10e,_10f);},create:function(_110,_111){this.srcNodeRef=dojo.byId(_111);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_110){dojo.mixin(this,_110);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var attr in this.attributeMap){var _113=this[this.attributeMap[attr]||"domNode"];var _114=this[attr];if(typeof _114!="object"&&(_114!==""||(_110&&_110[attr]))){switch(attr){case "class":dojo.addClass(_113,_114);break;case "style":if(_113.style.cssText){_113.style.cssText+="; "+_114;}else{_113.style.cssText=_114;}break;default:_113.setAttribute(attr,_114);}}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){},destroyRecursive:function(_115){this.destroyDescendants();this.destroy();},destroy:function(_116){this.uninitialize();dojo.forEach(this._connects,function(_117){dojo.forEach(_117,dojo.disconnect);});this.destroyRendering(_116);dijit.registry.remove(this.id);},destroyRendering:function(_118){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_119){_119.destroy();});},uninitialize:function(){return false;},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){var list=dojo.query("[widgetId]",this.domNode);return list.map(dijit.byNode);},nodesWithKeyClick:["input","button"],connect:function(obj,_11c,_11d){var _11e=[];if(_11c=="ondijitclick"){var w=this;if(!this.nodesWithKeyClick[obj.nodeName]){_11e.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_11d))?w[_11d](e):_11d.call(w,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_11e.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_11d)?w[_11d](e):_11d.call(w,e);}}));}_11c="onclick";}_11e.push(dojo.connect(obj,_11c,this,_11d));this._connects.push(_11e);return _11e;},disconnect:function(_122){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_122){dojo.forEach(_122,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(typeof this._ltr=="undefined"){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.pad=function(text,size,ch,end){var out=String(text);if(!ch){ch="0";}while(out.length<size){if(end){out+=ch;}else{out=ch+out;}}return out;};dojo.string.substitute=function(_129,map,_12b,_12c){return _129.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_12d,key,_12f){var _130=dojo.getObject(key,false,map);if(_12f){_130=dojo.getObject(_12f,false,_12c)(_130);}if(_12b){_130=_12b(_130,key);}return _130.toString();});};dojo.string.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;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,buildRendering:function(){var _133=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_133)){var _135=this.declaredClass,_136=this;var tstr=dojo.string.substitute(_133,this,function(_138,key){if(key.charAt(0)=="!"){_138=_136[key.substr(1)];}if(typeof _138=="undefined"){throw new Error(_135+" template:"+key);}if(!_138){return "";}return key.charAt(0)=="!"?_138:_138.toString().replace(/"/g,"&quot;");},this);node=dijit._Templated._createNodesFromText(tstr)[0];}else{node=_133.cloneNode(true);}this._attachTemplateNodes(node);var _13a=this.srcNodeRef;if(_13a&&_13a.parentNode){_13a.parentNode.replaceChild(node,_13a);}this.domNode=node;if(this.widgetsInTemplate){var _13b=dojo.parser.parse(node);this._attachTemplateNodes(_13b,function(n,p){return n[p];});}this._fillContent(_13a);},_fillContent:function(_13e){var dest=this.containerNode;if(_13e&&dest){while(_13e.hasChildNodes()){dest.appendChild(_13e.firstChild);}}},_attachTemplateNodes:function(_140,_141){_141=_141||function(n,p){return n.getAttribute(p);};var _144=dojo.isArray(_140)?_140:(_140.all||_140.getElementsByTagName("*"));var x=dojo.isArray(_140)?0:-1;for(;x<_144.length;x++){var _146=(x==-1)?_140:_144[x];if(this.widgetsInTemplate&&_141(_146,"dojoType")){continue;}var _147=_141(_146,"dojoAttachPoint");if(_147){var _148,_149=_147.split(/\s*,\s*/);while(_148=_149.shift()){if(dojo.isArray(this[_148])){this[_148].push(_146);}else{this[_148]=_146;}}}var _14a=_141(_146,"dojoAttachEvent");if(_14a){var _14b,_14c=_14a.split(/\s*,\s*/);var trim=dojo.trim;while(_14b=_14c.shift()){if(_14b){var _14e=null;if(_14b.indexOf(":")!=-1){var _14f=_14b.split(":");_14b=trim(_14f[0]);_14e=trim(_14f[1]);}else{_14b=trim(_14b);}if(!_14e){_14e=_14b;}this.connect(_146,_14b,_14e);}}}var role=_141(_146,"waiRole");if(role){dijit.setWaiRole(_146,role);}var _151=_141(_146,"waiState");if(_151){dojo.forEach(_151.split(/\s*,\s*/),function(_152){if(_152.indexOf("-")!=-1){var pair=_152.split("-");dijit.setWaiState(_146,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_154,_155,_156){var _157=dijit._Templated._templateCache;var key=_155||_154;var _159=_157[key];if(_159){return _159;}if(!_155){_155=dijit._Templated._sanitizeTemplateString(dojo._getText(_154));}_155=dojo.string.trim(_155);if(_155.match(/\$\{([^\}]+)\}/g)||_156){return (_157[key]=_155);}else{return (_157[key]=dijit._Templated._createNodesFromText(_155)[0]);}};dijit._Templated._sanitizeTemplateString=function(_15a){if(_15a){_15a=_15a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _15b=_15a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_15b){_15a=_15b[1];}}else{_15a="";}return _15a;};if(dojo.isIE){dojo.addOnUnload(function(){var _15c=dijit._Templated._templateCache;for(var key in _15c){var _15e=_15c[key];if(!isNaN(_15e.nodeType)){dojo._destroyElement(_15e);}delete _15c[key];}});}(function(){var _15f={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(text){if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _162="none";var _163=text.replace(/^\s+/,"");for(var type in _15f){var map=_15f[type];if(map.re.test(_163)){_162=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_162];var _167=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _168=[];while(_167.firstChild){_168.push(_167.removeChild(_167.firstChild));}tn.innerHTML="";return _168;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _16b=dijit.byId(id);return _16b.isContainer?_16b:null;}}return null;},_getSibling:function(_16c){var node=this.domNode;do{node=node[_16c+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_16f,_170){if(_170===undefined){_170="last";}var _171=this.containerNode||this.domNode;if(_170&&typeof _170=="number"){var _172=dojo.query("> [widgetid]",_171);if(_172&&_172.length>=_170){_171=_172[_170-1];_170="after";}}dojo.place(_16f.domNode,_171,_170);if(this._started&&!_16f._started){_16f.startup();}},removeChild:function(_173){var node=_173.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_178,dir){var node=_178.domNode;var _17b=(dir>0?"nextSibling":"previousSibling");do{node=node[_17b];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_17c,_17d){var _17e=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_17c,function(code){_17e[code]=prev;});dojo.forEach(_17d,function(code){_17e[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");if(dojo.isIE){this.connect(this.domNode,"onactivate","_onContainerFocus");this.connect(this.domNode,"ondeactivate","_onContainerBlur");}else{this.connect(this.domNode,"onfocus","_onContainerFocus");this.connect(this.domNode,"onblur","_onContainerBlur");}},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_setTabIndexMinusOne"));},addChild:function(_183,_184){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._setTabIndexMinusOne(_183);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _185=this._getNextFocusableChild(this.focusedChild,1);if(_185.getFocalNodes){this.focusChild(_185,_185.getFocalNodes()[0]);}else{this.focusChild(_185);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _186=this._getNextFocusableChild(this.focusedChild,-1);if(_186.getFocalNodes){var _187=_186.getFocalNodes();this.focusChild(_186,_187[_187.length-1]);}else{this.focusChild(_186);}},focusChild:function(_188,node){if(_188){if(this.focusedChild&&_188!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_188;if(node&&_188.focusFocalNode){_188.focusFocalNode(node);}else{_188.focus();}}},_setTabIndexMinusOne:function(_18a){if(_18a.getFocalNodes){dojo.forEach(_18a.getFocalNodes(),function(node){node.setAttribute("tabIndex",-1);});}else{(_18a.focusNode||_18a.domNode).setAttribute("tabIndex",-1);}},_onContainerFocus:function(evt){this.domNode.setAttribute("tabIndex",-1);if(evt.target===this.domNode){this.focusFirstChild();}else{var _18d=dijit.getEnclosingWidget(evt.target);if(_18d&&_18d.isFocusable()){this.focusedChild=_18d;}}},_onContainerBlur:function(evt){if(this.tabIndex){this.domNode.setAttribute("tabIndex",this.tabIndex);}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.keyCode];if(func){func();dojo.stopEvent(evt);}},_onChildBlur:function(_191){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_192,dir){if(_192){_192=this._getSiblingOfChild(_192,dir);}var _194=this.getChildren();for(var i=0;i<_194.length;i++){if(!_192){_192=_194[(dir>0)?0:(_194.length-1)];}if(_192.isFocusable()){return _192;}_192=this._getSiblingOfChild(_192,dir);}}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this._started=true;if(this.getChildren){dojo.forEach(this.getChildren(),function(_196){_196.startup();});}if(!this.getParent||!this.getParent()){this.resize();this.connect(window,"onresize",function(){this.resize();});}},resize:function(args){var node=this.domNode;if(args){dojo.marginBox(node,args);if(args.t){node.style.top=args.t+"px";}if(args.l){node.style.left=args.l+"px";}}var mb=dojo.mixin(dojo.marginBox(node),args||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);this.layout();},layout:function(){}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _19f=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_1a2,dim){_1a2.resize?_1a2.resize(dim):dojo.marginBox(_1a2.domNode,dim);dojo.mixin(_1a2,dojo.marginBox(_1a2.domNode));dojo.mixin(_1a2,dim);};dijit.layout.layoutChildren=function(_1a4,dim,_1a6){dim=dojo.mixin({},dim);dojo.addClass(_1a4,"dijitLayoutContainer");_1a6=dojo.filter(_1a6,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_1a6,function(item){return item.layoutAlign=="client";}));dojo.forEach(_1a6,function(_1a9){var elm=_1a9.domNode,pos=_1a9.layoutAlign;var _1ac=elm.style;_1ac.left=dim.l+"px";_1ac.top=dim.t+"px";_1ac.bottom=_1ac.right="auto";dojo.addClass(elm,"dijitAlign"+_19f(pos));if(pos=="top"||pos=="bottom"){size(_1a9,{w:dim.w});dim.h-=_1a9.h;if(pos=="top"){dim.t+=_1a9.h;}else{_1ac.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_1a9,{h:dim.h});dim.w-=_1a9.w;if(pos=="left"){dim.l+=_1a9.w;}else{_1ac.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_1a9,dim);}}}});};})();}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",value:"",name:"",id:"",alt:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setDisabled:function(_1ad){this.domNode.disabled=this.disabled=_1ad;if(this.focusNode){this.focusNode.disabled=_1ad;}if(_1ad){this._hovering=false;this._active=false;}dijit.setWaiState(this.focusNode||this.domNode,"disabled",_1ad);this._setStateClass();},_onMouse:function(_1ae){var _1af=_1ae.target;if(_1af&&_1af.getAttribute){this.stateModifier=_1af.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_1ae.type){case "mouseenter":case "mouseover":this._hovering=true;break;case "mouseout":case "mouseleave":this._hovering=false;break;case "mousedown":this._active=true;var self=this;var _1b1=this.connect(dojo.body(),"onmouseup",function(){self._active=false;self._setStateClass();self.disconnect(_1b1);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},_setStateClass:function(){if(!("staticClass" in this)){this.staticClass=(this.stateNode||this.domNode).className;}var _1b2=[this.baseClass];function multiply(_1b3){_1b2=_1b2.concat(dojo.map(_1b2,function(c){return c+_1b3;}));};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if((this.stateModifier||!this._focused)&&this._hovering){multiply(this.stateModifier+"Hover");}}}(this.stateNode||this.domNode).className=this.staticClass+" "+_1b2.join(" ");},onChange:function(_1b5){},postCreate:function(){this.setValue(this.value,null);this.setDisabled(this.disabled);this._setStateClass();},setValue:function(_1b6,_1b7){this._lastValue=_1b6;dijit.setWaiState(this.focusNode||this.domNode,"valuenow",this.forWaiValuenow());if(_1b7===undefined){_1b7=true;}if(this._lastValueReported==undefined&&_1b7===null){this._lastValueReported=_1b6;}if((this.intermediateChanges||_1b7)&&((_1b6&&_1b6.toString)?_1b6.toString():_1b6)!==((this._lastValueReported&&this._lastValueReported.toString)?this._lastValueReported.toString():this._lastValueReported)){this._lastValueReported=_1b6;this.onChange(_1b6);}},getValue:function(){return this._lastValue;},undo:function(){this.setValue(this._lastValueReported,false);},_onKeyPress:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.shiftKey&&!e.ctrlKey&&!e.altKey){var v=this.getValue();var lv=this._lastValueReported;if((typeof lv!="undefined")&&((v!==null&&v.toString)?v.toString():null)!==lv.toString()){this.undo();dojo.stopEvent(e);return false;}}return true;},forWaiValuenow:function(){return this.getValue();}});}if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_1bb,_1bc,_1bd){_1bd=dojo.i18n.normalizeLocale(_1bd);var _1be=_1bd.split("-");var _1bf=[_1bb,"nls",_1bc].join(".");var _1c0=dojo._loadedModules[_1bf];if(_1c0){var _1c1;for(var i=_1be.length;i>0;i--){var loc=_1be.slice(0,i).join("_");if(_1c0[loc]){_1c1=_1c0[loc];break;}}if(!_1c1){_1c1=_1c0.ROOT;}if(_1c1){var _1c4=function(){};_1c4.prototype=_1c1;return new _1c4();}}throw new Error("Bundle not found: "+_1bc+" in "+_1bb+" , locale="+_1bd);};dojo.i18n.normalizeLocale=function(_1c5){var _1c6=_1c5?_1c5.toLowerCase():dojo.locale;if(_1c6=="root"){_1c6="ROOT";}return _1c6;};dojo.i18n._requireLocalization=function(_1c7,_1c8,_1c9,_1ca){var _1cb=dojo.i18n.normalizeLocale(_1c9);var _1cc=[_1c7,"nls",_1c8].join(".");var _1cd="";if(_1ca){var _1ce=_1ca.split(",");for(var i=0;i<_1ce.length;i++){if(_1cb.indexOf(_1ce[i])==0){if(_1ce[i].length>_1cd.length){_1cd=_1ce[i];}}}if(!_1cd){_1cd="ROOT";}}var _1d0=_1ca?_1cd:_1cb;var _1d1=dojo._loadedModules[_1cc];var _1d2=null;if(_1d1){if(djConfig.localizationComplete&&_1d1._built){return;}var _1d3=_1d0.replace(/-/g,"_");var _1d4=_1cc+"."+_1d3;_1d2=dojo._loadedModules[_1d4];}if(!_1d2){_1d1=dojo["provide"](_1cc);var syms=dojo._getModuleSymbols(_1c7);var _1d6=syms.concat("nls").join("/");var _1d7;dojo.i18n._searchLocalePath(_1d0,_1ca,function(loc){var _1d9=loc.replace(/-/g,"_");var _1da=_1cc+"."+_1d9;var _1db=false;if(!dojo._loadedModules[_1da]){dojo["provide"](_1da);var _1dc=[_1d6];if(loc!="ROOT"){_1dc.push(loc);}_1dc.push(_1c8);var _1dd=_1dc.join("/")+".js";_1db=dojo._loadPath(_1dd,null,function(hash){var _1df=function(){};_1df.prototype=_1d7;_1d1[_1d9]=new _1df();for(var j in hash){_1d1[_1d9][j]=hash[j];}});}else{_1db=true;}if(_1db&&_1d1[_1d9]){_1d7=_1d1[_1d9];}else{_1d1[_1d9]=_1d7;}if(_1ca){return true;}});}if(_1ca&&_1cb!=_1cd){_1d1[_1cb.replace(/-/g,"_")]=_1d1[_1cd.replace(/-/g,"_")];}};(function(){var _1e1=djConfig.extraLocale;if(_1e1){if(!_1e1 instanceof Array){_1e1=[_1e1];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_1e5,_1e6){req(m,b,_1e5,_1e6);if(_1e5){return;}for(var i=0;i<_1e1.length;i++){req(m,b,_1e1[i],_1e6);}};}})();dojo.i18n._searchLocalePath=function(_1e8,down,_1ea){_1e8=dojo.i18n.normalizeLocale(_1e8);var _1eb=_1e8.split("-");var _1ec=[];for(var i=_1eb.length;i>0;i--){_1ec.push(_1eb.slice(0,i).join("-"));}_1ec.push(false);if(down){_1ec.reverse();}for(var j=_1ec.length-1;j>=0;j--){var loc=_1ec[j]||"ROOT";var stop=_1ea(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_1f1,_1f2){function preload(_1f3){_1f3=dojo.i18n.normalizeLocale(_1f3);dojo.i18n._searchLocalePath(_1f3,true,function(loc){for(var i=0;i<_1f2.length;i++){if(_1f2[i]==loc){dojo["require"](_1f1+"_"+loc);return true;}}return false;});};preload();var _1f6=djConfig.extraLocale||[];for(var i=0;i<_1f6.length;i++){preload(_1f6[i]);}};}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_1f8){var _1f9={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};var _1fa=dojo.cldr.supplemental._region(_1f8);var dow=_1f9[_1fa];return (typeof dow=="undefined")?1:dow;};dojo.cldr.supplemental._region=function(_1fc){_1fc=dojo.i18n.normalizeLocale(_1fc);var tags=_1fc.split("-");var _1fe=tags[1];if(!_1fe){_1fe={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_1fe.length==4){_1fe=tags[2];}}return _1fe;};dojo.cldr.supplemental.getWeekend=function(_1ff){var _200={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _201={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _202=dojo.cldr.supplemental._region(_1ff);var _203=_200[_202];var end=_201[_202];if(typeof _203=="undefined"){_203=6;}if(typeof end=="undefined"){end=0;}return {start:_203,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_205){var _206=_205.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_206==1&&dojo.date.isLeapYear(_205)){return 29;}return days[_206];};dojo.date.isLeapYear=function(_208){var year=_208.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_20a){var str=_20a.toString();var tz="";var _20d;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_20d=str.match(pat))){tz=_20d[1];}else{str=_20a.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_20d=str.match(pat))){tz=_20d[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_210,_211,_212){_210=new Date(Number(_210));_211=new Date(Number(_211||new Date()));if(typeof _212!=="undefined"){if(_212=="date"){_210.setHours(0,0,0,0);_211.setHours(0,0,0,0);}else{if(_212=="time"){_210.setFullYear(0,0,0);_211.setFullYear(0,0,0);}}}if(_210>_211){return 1;}if(_210<_211){return -1;}return 0;};dojo.date.add=function(date,_214,_215){var sum=new Date(Number(date));var _217=false;var _218="Date";switch(_214){case "day":break;case "weekday":var days,_21a;var adj=0;var mod=_215%5;if(!mod){days=(_215>0)?5:-5;_21a=(_215>0)?((_215-5)/5):((_215+5)/5);}else{days=mod;_21a=parseInt(_215/5);}var strt=date.getDay();if(strt==6&&_215>0){adj=1;}else{if(strt==0&&_215<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_215>0)?2:-2;}_215=7*_21a+days+adj;break;case "year":_218="FullYear";_217=true;break;case "week":_215*=7;break;case "quarter":_215*=3;case "month":_217=true;_218="Month";break;case "hour":case "minute":case "second":case "millisecond":_218=_214.charAt(0).toUpperCase()+_214.substring(1)+"s";}if(_218){sum["setUTC"+_218](sum["getUTC"+_218]()+_215);}if(_217&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_21f,_220,_221){_220=_220||new Date();_221=_221||"day";var _222=_220.getFullYear()-_21f.getFullYear();var _223=1;switch(_221){case "quarter":var m1=_21f.getMonth();var m2=_220.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_222*4);_223=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_21f,_220,"day"));var _229=parseInt(dojo.date.difference(_21f,_220,"week"));var mod=days%7;if(mod==0){days=_229*5;}else{var adj=0;var aDay=_21f.getDay();var bDay=_220.getDay();_229=parseInt(days/7);mod=days%7;var _22e=new Date(_21f);_22e.setDate(_22e.getDate()+(_229*7));var _22f=_22e.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_22f+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_22f+mod)<0:adj=2;}}}days+=adj;days-=(_229*2);}_223=days;break;case "year":_223=_222;break;case "month":_223=(_220.getMonth()-_21f.getMonth())+(_222*12);break;case "week":_223=parseInt(dojo.date.difference(_21f,_220,"day")/7);break;case "day":_223/=24;case "hour":_223/=60;case "minute":_223/=60;case "second":_223/=1000;case "millisecond":_223*=_220.getTime()-_21f.getTime();}return Math.round(_223);};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_231){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_231&&_231.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_235){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_235);};dojo.regexp.group=function(_238,_239){return "("+(_239?"?:":"")+_238+")";};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_23a,_23b,_23c){return _23c.replace(/([a-z])\1*/ig,function(_23d){var s;var c=_23d.charAt(0);var l=_23d.length;var pad;var _242=["abbr","wide","narrow"];switch(c){case "G":s=_23b[(l<4)?"eraAbbr":"eraNames"][_23a.getFullYear()<0?0:1];break;case "y":s=_23a.getFullYear();switch(l){case 1:break;case 2:s=String(s);s=s.substr(s.length-2);break;default:pad=true;}break;case "Q":case "q":s=Math.ceil((_23a.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_23a.getMonth();var _244;switch(l){case 1:case 2:s=m+1;pad=true;break;case 3:case 4:case 5:_244=_242[l-3];break;}if(_244){var type=(c=="L")?"standalone":"format";var prop=["months",type,_244].join("-");s=_23b[prop][m];}break;case "w":var _247=0;s=dojo.date.locale._getWeekOfYear(_23a,_247);pad=true;break;case "d":s=_23a.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_23a);pad=true;break;case "E":case "e":case "c":var d=_23a.getDay();var _244;switch(l){case 1:case 2:if(c=="e"){var _249=dojo.cldr.supplemental.getFirstDayOfWeek(options.locale);d=(d-_249+7)%7;}if(c!="c"){s=d+1;pad=true;break;}case 3:case 4:case 5:_244=_242[l-3];break;}if(_244){var type=(c=="c")?"standalone":"format";var prop=["days",type,_244].join("-");s=_23b[prop][d];}break;case "a":var _24a=(_23a.getHours()<12)?"am":"pm";s=_23b[_24a];break;case "h":case "H":case "K":case "k":var h=_23a.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_23a.getMinutes();pad=true;break;case "s":s=_23a.getSeconds();pad=true;break;case "S":s=Math.round(_23a.getMilliseconds()*Math.pow(10,l-3));break;case "v":case "z":s=dojo.date.getTimezoneName(_23a);if(s){break;}l=4;case "Z":var _24c=_23a.getTimezoneOffset();var tz=[(_24c<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_24c)/60),2),dojo.string.pad(Math.abs(_24c)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_23c);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_24e,_24f){_24f=_24f||{};var _250=dojo.i18n.normalizeLocale(_24f.locale);var _251=_24f.formatLength||"short";var _252=dojo.date.locale._getGregorianBundle(_250);var str=[];var _254=dojo.hitch(this,formatPattern,_24e,_252);if(_24f.selector=="year"){var year=_24e.getFullYear();if(_250.match(/^zh|^ja/)){year+="年";}return year;}if(_24f.selector!="time"){var _256=_24f.datePattern||_252["dateFormat-"+_251];if(_256){str.push(_processPattern(_256,_254));}}if(_24f.selector!="date"){var _257=_24f.timePattern||_252["timeFormat-"+_251];if(_257){str.push(_processPattern(_257,_254));}}var _258=str.join(" ");return _258;};dojo.date.locale.regexp=function(_259){return dojo.date.locale._parseInfo(_259).regexp;};dojo.date.locale._parseInfo=function(_25a){_25a=_25a||{};var _25b=dojo.i18n.normalizeLocale(_25a.locale);var _25c=dojo.date.locale._getGregorianBundle(_25b);var _25d=_25a.formatLength||"short";var _25e=_25a.datePattern||_25c["dateFormat-"+_25d];var _25f=_25a.timePattern||_25c["timeFormat-"+_25d];var _260;if(_25a.selector=="date"){_260=_25e;}else{if(_25a.selector=="time"){_260=_25f;}else{_260=_25e+" "+_25f;}}var _261=[];var re=_processPattern(_260,dojo.hitch(this,_buildDateTimeRE,_261,_25c,_25a));return {regexp:re,tokens:_261,bundle:_25c};};dojo.date.locale.parse=function(_263,_264){var info=dojo.date.locale._parseInfo(_264);var _266=info.tokens,_267=info.bundle;var re=new RegExp("^"+info.regexp+"$");var _269=re.exec(_263);if(!_269){return null;}var _26a=["abbr","wide","narrow"];var _26b=new Date(1972,0);var _26c={};var amPm="";dojo.forEach(_269,function(v,i){if(!i){return;}var _270=_266[i-1];var l=_270.length;switch(_270.charAt(0)){case "y":if(l!=2){_26b.setFullYear(v);_26c.year=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _273=year.substring(0,2)*100;var _274=Number(year.substring(2,4));var _275=Math.min(_274+20,99);var num=(v<_275)?_273+v:_273-100+v;_26b.setFullYear(num);_26c.year=num;}else{if(_264.strict){return null;}_26b.setFullYear(v);_26c.year=v;}}break;case "M":if(l>2){var _277=_267["months-format-"+_26a[l-3]].concat();if(!_264.strict){v=v.replace(".","").toLowerCase();_277=dojo.map(_277,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_277,v);if(v==-1){return null;}}else{v--;}_26b.setMonth(v);_26c.month=v;break;case "E":case "e":var days=_267["days-format-"+_26a[l-3]].concat();if(!_264.strict){v=v.toLowerCase();days=dojo.map(days,"".toLowerCase);}v=dojo.indexOf(days,v);if(v==-1){return null;}break;case "d":_26b.setDate(v);_26c.date=v;break;case "D":_26b.setMonth(0);_26b.setDate(v);break;case "a":var am=_264.am||_267.am;var pm=_264.pm||_267.pm;if(!_264.strict){var _27c=/\./g;v=v.replace(_27c,"").toLowerCase();am=am.replace(_27c,"").toLowerCase();pm=pm.replace(_27c,"").toLowerCase();}if(_264.strict&&v!=am&&v!=pm){return null;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return null;}_26b.setHours(v);break;case "m":_26b.setMinutes(v);break;case "s":_26b.setSeconds(v);break;case "S":_26b.setMilliseconds(v);}});var _27d=_26b.getHours();if(amPm==="p"&&_27d<12){_26b.setHours(_27d+12);}else{if(amPm==="a"&&_27d==12){_26b.setHours(0);}}if(_26c.year&&_26b.getFullYear()!=_26c.year){return null;}if(_26c.month&&_26b.getMonth()!=_26c.month){return null;}if(_26c.date&&_26b.getDate()!=_26c.date){return null;}return _26b;};function _processPattern(_27e,_27f,_280,_281){var _282=function(x){return x;};_27f=_27f||_282;_280=_280||_282;_281=_281||_282;var _284=_27e.match(/(''|[^'])+/g);var _285=false;dojo.forEach(_284,function(_286,i){if(!_286){_284[i]="";}else{_284[i]=(_285?_280:_27f)(_286);_285=!_285;}});return _281(_284.join(""));};function _buildDateTimeRE(_288,_289,_28a,_28b){_28b=dojo.regexp.escapeString(_28b);if(!_28a.strict){_28b=_28b.replace(" a"," ?a");}return _28b.replace(/([a-z])\1*/ig,function(_28c){var s;var c=_28c.charAt(0);var l=_28c.length;var p2="",p3="";if(_28a.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s=p2+"[1-9]|[12]\\d|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_28a.am||_289.am||"AM";var pm=_28a.pm||_289.pm||"PM";if(_28a.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}}break;default:s=".*";}if(_288){_288.push(_28c);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _294=[];dojo.date.locale.addCustomFormats=function(_295,_296){_294.push({pkg:_295,name:_296});};dojo.date.locale._getGregorianBundle=function(_297){var _298={};dojo.forEach(_294,function(desc){var _29a=dojo.i18n.getLocalization(desc.pkg,desc.name,_297);_298=dojo.mixin(_298,_29a);},this);return _298;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_29e){var _29f;var _2a0=dojo.date.locale._getGregorianBundle(_29e);var _2a1=[item,use,type];if(use=="standAlone"){_29f=_2a0[_2a1.join("-")];}_2a1[1]="format";return (_29f||_2a0[_2a1.join("-")]).concat();};dojo.date.locale.isWeekend=function(_2a2,_2a3){var _2a4=dojo.cldr.supplemental.getWeekend(_2a3);var day=(_2a2||new Date()).getDay();if(_2a4.end<_2a4.start){_2a4.end+=7;if(day<_2a4.start){day+=7;}}return day>=_2a4.start&&day<=_2a4.end;};dojo.date.locale._getDayOfYear=function(_2a6){return dojo.date.difference(new Date(_2a6.getFullYear(),0,1),_2a6)+1;};dojo.date.locale._getWeekOfYear=function(_2a7,_2a8){if(arguments.length==1){_2a8=0;}var _2a9=new Date(_2a7.getFullYear(),0,1).getDay();var adj=(_2a9-_2a8+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_2a7)+adj-1)/7);if(_2a9==_2a8){week++;}return week;};}if(!dojo._hasResource["dijit._Calendar"]){dojo._hasResource["dijit._Calendar"]=true;dojo.provide("dijit._Calendar");dojo.declare("dijit._Calendar",[dijit._Widget,dijit._Templated],{templatePath:dojo.moduleUrl("dijit","templates/Calendar.html"),value:new Date(),dayWidth:"narrow",setValue:function(_2ac){if(!this.value||dojo.date.compare(_2ac,this.value)){_2ac=new Date(_2ac);this.displayMonth=new Date(_2ac);if(!this.isDisabledDate(_2ac,this.lang)){this.value=_2ac;this.value.setHours(0,0,0,0);this.onChange(this.value);}this._populateGrid();}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(document.createTextNode(text));},_populateGrid:function(){var _2af=this.displayMonth;_2af.setDate(1);var _2b0=_2af.getDay();var _2b1=dojo.date.getDaysInMonth(_2af);var _2b2=dojo.date.getDaysInMonth(dojo.date.add(_2af,"month",-1));var _2b3=new Date();var _2b4=this.value;var _2b5=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_2b5>_2b0){_2b5-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_2b6,i){i+=_2b5;var date=new Date(_2af);var _2b9,_2ba="dijitCalendar",adj=0;if(i<_2b0){_2b9=_2b2-_2b0+i+1;adj=-1;_2ba+="Previous";}else{if(i>=(_2b0+_2b1)){_2b9=i-_2b0-_2b1+1;adj=1;_2ba+="Next";}else{_2b9=i-_2b0+1;_2ba+="Current";}}if(adj){date=dojo.date.add(date,"month",adj);}date.setDate(_2b9);if(!dojo.date.compare(date,_2b3,"date")){_2ba="dijitCalendarCurrentDate "+_2ba;}if(!dojo.date.compare(date,_2b4,"date")){_2ba="dijitCalendarSelectedDate "+_2ba;}if(this.isDisabledDate(date,this.lang)){_2ba="dijitCalendarDisabledDate "+_2ba;}_2b6.className=_2ba+"Month dijitCalendarDateTemplate";_2b6.dijitDateValue=date.valueOf();var _2bc=dojo.query(".dijitCalendarDateLabel",_2b6)[0];this._setText(_2bc,date.getDate());},this);var _2bd=dojo.date.locale.getNames("months","wide","standAlone",this.lang);this._setText(this.monthLabelNode,_2bd[_2af.getMonth()]);var y=_2af.getFullYear()-1;dojo.forEach(["previous","current","next"],function(name){this._setText(this[name+"YearLabelNode"],dojo.date.locale.format(new Date(y++,0),{selector:"year",locale:this.lang}));},this);var _2c0=this;var _2c1=function(_2c2,_2c3,adj){dijit.typematic.addMouseListener(_2c0[_2c2],_2c0,function(_2c5){if(_2c5>=0){_2c0._adjustDisplay(_2c3,adj);}},0.8,500);};_2c1("incrementMonth","month",1);_2c1("decrementMonth","month",-1);_2c1("nextYearLabelNode","year",1);_2c1("previousYearLabelNode","year",-1);},postCreate:function(){dijit._Calendar.superclass.postCreate.apply(this);var _2c6=dojo.hitch(this,function(_2c7,n){var _2c9=dojo.query(_2c7,this.domNode)[0];for(var i=0;i<n;i++){_2c9.parentNode.appendChild(_2c9.cloneNode(true));}});_2c6(".dijitCalendarDayLabelTemplate",6);_2c6(".dijitCalendarDateTemplate",6);_2c6(".dijitCalendarWeekTemplate",5);var _2cb=dojo.date.locale.getNames("days",this.dayWidth,"standAlone",this.lang);var _2cc=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_2cd,i){this._setText(_2cd,_2cb[(i+_2cc)%7]);},this);var _2cf=dojo.date.locale.getNames("months","wide","standAlone",this.lang);dojo.forEach(_2cf,function(name){var _2d1=dojo.doc.createElement("div");this._setText(_2d1,name);this.monthLabelSpacer.appendChild(_2d1);},this);this.value=null;this.setValue(new Date());},_adjustDisplay:function(part,_2d3){this.displayMonth=dojo.date.add(this.displayMonth,part,_2d3);this._populateGrid();},_onDayClick:function(evt){var node=evt.target;dojo.stopEvent(evt);while(!node.dijitDateValue){node=node.parentNode;}if(!dojo.hasClass(node,"dijitCalendarDisabledDate")){this.setValue(node.dijitDateValue);this.onValueSelected(this.value);}},onValueSelected:function(date){},onChange:function(date){},isDisabledDate:function(_2d8,_2d9){return false;}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id="dojoUnique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);console.debug(b.l,b.t,t.x,t.y,n.scrollLeft,n.scrollTop);b.l+=t.x+n.scrollLeft;b.t+=t.y+n.scrollTop;var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-b.l,ry=e.pageY-b.t,dx=0,dy=0;if(rx>0&&rx<b.w){if(rx<w){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(rx>b.w-w){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(ry>b.h-h){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}}var _2f1=n.scrollLeft,_2f2=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(dx||dy){console.debug(_2f1+", "+_2f2+"\n"+dx+", "+dy+"\n"+n.scrollLeft+", "+n.scrollTop);}if(_2f1!=n.scrollLeft||_2f2!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=host,d=node.ownerDocument,_2f8=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_2f8];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});},onMouseUp:function(e){if(this.mouseButton==e.button){this.destroy();}},onFirstMove:function(){this.node.style.position="absolute";var m=dojo.marginBox(this.node);m.l-=this.marginBox.l;m.t-=this.marginBox.t;this.marginBox=m;this.host.onFirstMove(this);dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_2ff){this.node=dojo.byId(node);if(!_2ff){_2ff={};}this.handle=_2ff.handle?dojo.byId(_2ff.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_2ff.delay>0?_2ff.delay:0;this.skip=_2ff.skip;this.mover=_2ff.mover?_2ff.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_300,node){return new dojo.dnd.Moveable(node,_300);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onMoveStart:function(_306){dojo.publish("/dnd/move/start",[_306]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_307){dojo.publish("/dnd/move/stop",[_307]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_308){},onMove:function(_309,_30a){this.onMoving(_309,_30a);dojo.marginBox(_309.node,_30a);this.onMoved(_309,_30a);},onMoving:function(_30b,_30c){},onMoved:function(_30d,_30e){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_30f,node){return new dojo.dnd.move.constrainedMoveable(node,_30f);},constructor:function(node,_312){if(!_312){_312={};}this.constraints=_312.constraints;this.within=_312.within;},onFirstMove:function(_313){var c=this.constraintBox=this.constraints.call(this,_313),m=_313.marginBox;c.r=c.l+c.w-(this.within?m.w:0);c.b=c.t+c.h-(this.within?m.h:0);},onMove:function(_316,_317){var c=this.constraintBox;_317.l=_317.l<c.l?c.l:c.r<_317.l?c.r:_317.l;_317.t=_317.t<c.t?c.t:c.b<_317.t?c.b:_317.t;dojo.marginBox(_316.node,_317);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_319,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_319);},constructor:function(node,_31c){var box=_31c&&_31c.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_31e,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_31e);},constructor:function(node,_321){var area=_321&&_321.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._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=dojo._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=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_328){var _329=function(node,e,_32c){dojo.dnd.Mover.call(this,node,e,_32c);};dojo.extend(_329,dojo.dnd.Mover.prototype);dojo.extend(_329,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this),m=this.marginBox;c.r=c.l+c.w-(_328?m.w:0);c.b=c.t+c.h-(_328?m.h:0);}});return _329;};dojo.dnd.move.boxConstrainedMover=function(box,_335){return dojo.dnd.move.constrainedMover(function(){return box;},_335);};dojo.dnd.move.parentConstrainedMover=function(area,_337){var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._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=dojo._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=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_337);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");dojo.fx.chain=function(_33d){var _33e=_33d.shift();var _33f=_33e;dojo.forEach(_33d,function(_340){dojo.connect(_33f,"onEnd",_340,"play");_33f=_340;});return _33e;};dojo.fx.combine=function(_341){var ctr=new dojo._Animation({curve:[0,1]});if(!_341.length){return ctr;}ctr.duration=_341[0].duration;dojo.forEach(_341,function(_343){dojo.forEach(["play","pause","stop"],function(e){if(_343[e]){dojo.connect(ctr,e,_343,e);}});});return ctr;};dojo.declare("dojo.fx.Toggler",null,{constructor:function(args){var _t=this;dojo.mixin(_t,args);_t.node=args.node;_t._showArgs=dojo.mixin({},args);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},args);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_347){return this.showAnim.play(_347||0);},hide:function(_348){return this.hideAnim.play(_348||0);}});dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _34d=dojo.style(node,"height");return Math.max(_34d,1);}},end:function(){return node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=dojo.byId(args.node);var s=node.style;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},args));dojo.connect(anim,"beforeBegin",function(){s.overflow="hidden";s.display="";});dojo.connect(anim,"onEnd",function(){s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=(args.node=dojo.byId(args.node));var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.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=dojo.coords(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=dojo.animateProperty(dojo.mixin({properties:{top:{end:args.top||0},left:{end:args.left||0}}},args));dojo.connect(anim,"beforeBegin",anim,init);return anim;};}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,"class":"dijitContentPane",postCreate:function(){this.domNode.title="";if(this.preload){this._loadCheck();}var _35c=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_35c);this.errorMessage=dojo.string.substitute(this.errorMessage,_35c);dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}this._loadCheck();this._started=true;},_checkIfSingleChild:function(){var _35d=dojo.query(">",this.containerNode||this.domNode),_35e=_35d.filter("[widgetId]");if(_35d.length==1&&_35e.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_35e[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited("destroy",arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode||this.domNode,mb=dojo.mixin(dojo.marginBox(node),size||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}},_prepareLoad:function(_364){this.cancel();this.isLoaded=false;this._loadCheck(_364);},_loadCheck:function(_365){var _366=((this.open!==false)&&(this.domNode.style.display!="none"));if(this.href&&(_365||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_366&&!this._xhrDfd)||(!this.isLoaded&&_366&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _368={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_368,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_368);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){match=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(match){cont=match[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _36f=this.onContentError(e);try{node.innerHTML=_36f;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_372){var _373=this["on"+type+"Error"].call(this,err);if(_372){console.error(_372,err);}else{if(_373){this._setContent.call(this,_373);}}},_createSubWidgets:function(){var _374=this.containerNode||this.domNode;try{dojo.parser.parse(_374,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_377){},onDownloadError:function(_378){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{action:"",method:"",enctype:"",name:"","accept-charset":"",accept:"",target:"",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",enctype:"","accept-charset":"",accept:"",target:""}),execute:function(_379){},onCancel:function(){},onExecute:function(){},templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onsubmit:_onSubmit' name='${name}' enctype='multipart/form-data'></form>",_onSubmit:function(e){dojo.stopEvent(e);this.onExecute();this.execute(this.getValues());},submit:function(){this.containerNode.submit();},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_37d){if(!_37d.name){return;}var _37e=map[_37d.name]||(map[_37d.name]=[]);_37e.push(_37d);});for(var name in map){var _380=map[name],_381=dojo.getObject(name,false,obj);if(!dojo.isArray(_381)){_381=[_381];}if(_380[0].setChecked){dojo.forEach(_380,function(w,i){w.setChecked(dojo.indexOf(_381,w.value)!=-1);});}else{dojo.forEach(_380,function(w,i){w.setValue(_381[i]);});}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_387){var _388=_387.getValue?_387.getValue():_387.value;var name=_387.name;if(!name){return;}if(_387.setChecked){if(/Radio/.test(_387.declaredClass)){if(_387.checked){dojo.setObject(name,_388,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_387.checked){ary.push(_388);}}}else{dojo.setObject(name,_388,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_38b){return !_38b.isValid||_38b.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],null);}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class=dijitDialogUnderlayWrapper id='${id}_underlay'><div class=dijitDialogUnderlay dojoAttachPoint='node'></div></div>",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _38c=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_38c.t+"px";os.left=_38c.l+"px";is.width=_38c.w+"px";is.height=_38c.h+"px";var _38f=dijit.getViewport();if(_38c.w!=_38f.w){is.width=_38f.w+"px";}if(_38c.h!=_38f.h){is.height=_38f.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}this._resizeHandler=this.connect(window,"onresize","layout");},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}this.disconnect(this._resizeHandler);},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{templateString:null,templatePath:dojo.moduleUrl("dijit","templates/Dialog.html"),open:false,duration:400,_lastFocusItem:null,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited("postCreate",arguments);this.domNode.style.display="none";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");},onLoad:function(){this._position();this.inherited("onLoad",arguments);},_setup:function(){this._modalconnects=[];if(this.titleBar){this._moveable=new dojo.dnd.Moveable(this.domNode,{handle:this.titleBar});}this._underlay=new dijit.DialogUnderlay();var node=this.domNode;this._fadeIn=dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay,"show")})]);this._fadeOut=dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.display="none";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _391=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _393=this.domNode.style;_393.left=Math.floor((_391.l+(_391.w-mb.w)/2))+"px";_393.top=Math.floor((_391.t+(_391.h-mb.h)/2))+"px";},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.titleBar.focus();},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(node==this.titleBar&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}node=node.parentNode;}if(evt.keyCode!=dojo.keys.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this.titleBar.focus();}catch(e){}}}}}},show:function(){if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(document.documentElement,"onkeypress",this,"_onKey"));var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this._modalconnects.push(dojo.connect(this.containerNode,ev,this,"_findLastFocus"));dojo.style(this.domNode,"opacity",0);this.domNode.style.display="block";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);setTimeout(dojo.hitch(this,function(){dijit.focus(this.titleBar);}),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];this.connect(this._fadeOut,"onEnd",dojo.hitch(this,function(){dijit.focus(this._savedFocus);}));this.open=false;},layout:function(){if(this.domNode.style.display=="block"){this._underlay.layout();this._position();}}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{title:"",_lastFocusItem:null,templateString:null,templatePath:dojo.moduleUrl("dijit.layout","templates/TooltipDialog.html"),postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.containerNode,"onkeypress","_onKey");var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this.connect(this.containerNode,ev,"_findLastFocus");this.containerNode.title=this.title;},orient:function(_39a){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_39a.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_39a.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this.orient(pos.corner);this._loadCheck();this.containerNode.focus();},_onKey:function(evt){if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(evt.target==this.containerNode&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.containerNode.focus();}});}dojo.i18n._preloadLocalizations("lucoz.nls.dijit-lucoz",["es-es","es","hu","it-it","de","pt-br","pl","fr-fr","zh-cn","pt","en-us","zh","ru","xx","fr","zh-tw","it","cs","en-gb","de-de","ja-jp","ko-kr","ko","en","ROOT","ja"]);
