/* Licensed Internal Code - Property of IBM */ /* 3931 3932 Licensed Internal Code */ /* (C) Copyright IBM Corp. 2000, 2022 All Rights Reserved. */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ //>>built require({cache:{"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(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,on,_c,_d,_e,_f){ function _10(){ if(this._popupWrapper){ _6.destroy(this._popupWrapper); delete this._popupWrapper; } }; var _11=_3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){ if(this._firstAroundNode){ var _12=this._firstAroundPosition,_13=_7.position(this._firstAroundNode,true),dx=_13.x-_12.x,dy=_13.y-_12.y; if(dx||dy){ this._firstAroundPosition=_13; for(var i=0;i0&&_1e[pi].parent===_1e[pi-1].widget;pi--){ } return _1e[pi]; },open:function(_1f){ var _20=this._stack,_21=_1f.popup,_22=_21.domNode,_23=_1f.orient||["below","below-alt","above","above-alt"],ltr=_1f.parent?_1f.parent.isLeftToRight():_7.isBodyLtr(_21.ownerDocument),_24=_1f.around,id=(_1f.around&&_1f.around.id)?(_1f.around.id+"_dropdown"):("popup_"+this._idGen++); while(_20.length&&(!_1f.parent||!_4.isDescendant(_1f.parent.domNode,_20[_20.length-1].widget.domNode))){ this.close(_20[_20.length-1].widget); } var _25=this.moveOffScreen(_21); if(_21.startup&&!_21._started){ _21.startup(); } var _26,_27=_7.position(_22); if("maxHeight" in _1f&&_1f.maxHeight!=-1){ _26=_1f.maxHeight||Infinity; }else{ var _28=_e.getEffectiveBox(this.ownerDocument),_29=_24?_7.position(_24,false):{y:_1f.y-(_1f.padding||0),h:(_1f.padding||0)*2}; _26=Math.floor(Math.max(_29.y,_28.h-(_29.y+_29.h))); } if(_27.h>_26){ var cs=_8.getComputedStyle(_22),_2a=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor; _8.set(_25,{overflowY:"scroll",height:_26+"px",border:_2a}); _22._originalStyle=_22.style.cssText; _22.style.border="none"; } _5.set(_25,{id:id,style:{zIndex:this._beginZIndex+_20.length},"class":"dijitPopup "+(_21.baseClass||_21["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1f.parent?_1f.parent.id:""}); if(_20.length==0&&_24){ this._firstAroundNode=_24; this._firstAroundPosition=_7.position(_24,true); this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),50); } if(_9("config-bgIframe")&&!_21.bgIframe){ _21.bgIframe=new _d(_25); } var _2b=_21.orient?_b.hitch(_21,"orient"):null,_2c=_24?_c.around(_25,_24,_23,ltr,_2b):_c.at(_25,_1f,_23=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1f.padding,_2b); _25.style.visibility="visible"; _22.style.visibility="visible"; var _2d=[]; _2d.push(on(_25,"keydown",_b.hitch(this,function(evt){ if(evt.keyCode==_a.ESCAPE&&_1f.onCancel){ evt.stopPropagation(); evt.preventDefault(); _1f.onCancel(); }else{ if(evt.keyCode==_a.TAB){ evt.stopPropagation(); evt.preventDefault(); var _2e=this.getTopPopup(); if(_2e&&_2e.onCancel){ _2e.onCancel(); } } } }))); if(_21.onCancel&&_1f.onCancel){ _2d.push(_21.on("cancel",_1f.onCancel)); } _2d.push(_21.on(_21.onExecute?"execute":"change",_b.hitch(this,function(){ var _2f=this.getTopPopup(); if(_2f&&_2f.onExecute){ _2f.onExecute(); } }))); _20.push({widget:_21,wrapper:_25,parent:_1f.parent,onExecute:_1f.onExecute,onCancel:_1f.onCancel,onClose:_1f.onClose,handlers:_2d}); if(_21.onOpen){ _21.onOpen(_2c); } return _2c; },close:function(_30){ var _31=this._stack; while((_30&&_1.some(_31,function(_32){ return _32.widget==_30; }))||(!_30&&_31.length)){ var top=_31.pop(),_33=top.widget,_34=top.onClose; if(_33.bgIframe){ _33.bgIframe.destroy(); delete _33.bgIframe; } if(_33.onClose){ _33.onClose(); } var h; while(h=top.handlers.pop()){ h.remove(); } if(_33&&_33.domNode){ this.hide(_33); } if(_34){ _34(); } } if(_31.length==0&&this._aroundMoveListener){ clearTimeout(this._aroundMoveListener); this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null; } }}); return (_f.popup=new _11()); }); },"dojo/string":function(){ define(["./_base/kernel","./_base/lang"],function(_35,_36){ var _37=/[&<>'"\/]/g; var _38={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"}; var _39={}; _36.setObject("dojo.string",_39); _39.escape=function(str){ if(!str){ return ""; } return str.replace(_37,function(c){ return _38[c]; }); }; _39.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(""); }; _39.pad=function(_3a,_3b,ch,end){ if(!ch){ ch="0"; } var out=String(_3a),pad=_39.rep(ch,Math.ceil((_3b-out.length)/ch.length)); return end?out+pad:pad+out; }; _39.substitute=function(_3c,map,_3d,_3e){ _3e=_3e||_35.global; _3d=_3d?_36.hitch(_3e,_3d):function(v){ return v; }; return _3c.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_3f,key,_40){ if(key==""){ return "$"; } var _41=_36.getObject(key,false,map); if(_40){ _41=_36.getObject(_40,false,_3e).call(_3e,_41,key); } var _42=_3d(_41,key); if(typeof _42==="undefined"){ throw new Error("string.substitute could not find key \""+key+"\" in template"); } return _42.toString(); }); }; _39.trim=String.prototype.trim?_36.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 _39; }); },"dijit/a11y":function(){ define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","dojo/sniff","./main"],function(_43,dom,_44,_45,_46,_47,_48,win,has,_49){ var _4a; var _4b={_isElementShown:function(_4c){ var s=_46.get(_4c); return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_44.get(_4c,"type")!="hidden"); },hasDefaultTabStop:function(_4d){ switch(_4d.nodeName.toLowerCase()){ case "a": return _44.has(_4d,"href"); case "area": case "button": case "input": case "object": case "select": case "textarea": return true; case "iframe": var _4e; try{ var _4f=_4d.contentDocument; if("designMode" in _4f&&_4f.designMode=="on"){ return true; } _4e=_4f.body; } catch(e1){ try{ _4e=_4d.contentWindow.document.body; } catch(e2){ return false; } } return _4e&&(_4e.contentEditable=="true"||(_4e.firstChild&&_4e.firstChild.contentEditable=="true")); default: return _4d.contentEditable=="true"; } },effectiveTabIndex:function(_50){ if(_44.get(_50,"disabled")){ return _4a; }else{ if(_44.has(_50,"tabIndex")){ return +_44.get(_50,"tabIndex"); }else{ return _4b.hasDefaultTabStop(_50)?0:_4a; } } },isTabNavigable:function(_51){ return _4b.effectiveTabIndex(_51)>=0; },isFocusable:function(_52){ return _4b.effectiveTabIndex(_52)>=-1; },_getTabNavigable:function(_53){ var _54,_55,_56,_57,_58,_59,_5a={}; function _5b(_5c){ return _5c&&_5c.tagName.toLowerCase()=="input"&&_5c.type&&_5c.type.toLowerCase()=="radio"&&_5c.name&&_5c.name.toLowerCase(); }; var _5d=_4b._isElementShown,_5e=_4b.effectiveTabIndex; var _5f=function(_60){ for(var _61=_60.firstChild;_61;_61=_61.nextSibling){ if(_61.nodeType!=1||(has("ie")<=9&&_61.scopeName!=="HTML")||!_5d(_61)){ continue; } var _62=_5e(_61); if(_62>=0){ if(_62===0){ if(!_54){ _54=_61; } _55=_61; }else{ if(_62>0){ if(!_56||_62<_57){ _57=_62; _56=_61; } if(!_58||_62>=_59){ _59=_62; _58=_61; } } } var rn=_5b(_61); if(_44.get(_61,"checked")&&rn){ _5a[rn]=_61; } } if(_61.nodeName.toUpperCase()!="SELECT"){ _5f(_61); } } }; if(_5d(_53)){ _5f(_53); } function rs(_63){ return _5a[_5b(_63)]||_63; }; return {first:rs(_54),last:rs(_55),lowest:rs(_56),highest:rs(_58)}; },getFirstInTabbingOrder:function(_64,doc){ var _65=_4b._getTabNavigable(dom.byId(_64,doc)); return _65.lowest?_65.lowest:_65.first; },getLastInTabbingOrder:function(_66,doc){ var _67=_4b._getTabNavigable(dom.byId(_66,doc)); return _67.last?_67.last:_67.highest; },violationDetected:function(_68){ var dev=(_47.version.flag==="dev"),id="a11y_"+_68.id,_69=_68.message,_6a=_68.widget; if(_6a){ _69=_69+" Failing widget: id ["+_6a.id+"] name ["+_6a.name+"] declaredClass ["+_6a.declaredClass+"]."; } console[dev?"error":"warn"](_69); if(dev&&window[id]!==true){ window[id]=true; alert(_69+"\n\nMultiple widgets may have failed this check, but only one alert is "+"displayed. Close this alert and then check the developer console for "+"errors to get a full list of failing widgets."); } },alert:function(_6b,_6c){ var _6d=_45.create("div",{role:"alert","aria-live":_6c?"polite":"assertive",tabindex:"-1","aria-label":_6b},win.body()); setTimeout(function(){ _45.destroy(_6d); },5000); }}; 1&&_48.mixin(_49,_4b); return _4b; }); },"dijit/WidgetSet":function(){ define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_6e,_6f,_70,_71){ var _72=_6f("dijit.WidgetSet",null,{constructor:function(){ this._hash={}; this.length=0; },add:function(_73){ if(this._hash[_73.id]){ throw new Error("Tried to register widget with id=="+_73.id+" but that id is already registered"); } this._hash[_73.id]=_73; this.length++; },remove:function(id){ if(this._hash[id]){ delete this._hash[id]; this.length--; } },forEach:function(_74,_75){ _75=_75||_70.global; var i=0,id; for(id in this._hash){ _74.call(_75,this._hash[id],i++,this._hash); } return this; },filter:function(_76,_77){ _77=_77||_70.global; var res=new _72(),i=0,id; for(id in this._hash){ var w=this._hash[id]; if(_76.call(_77,w,i++,this._hash)){ res.add(w); } } return res; },byId:function(id){ return this._hash[id]; },byClass:function(cls){ var res=new _72(),id,_78; for(id in this._hash){ _78=this._hash[id]; if(_78.declaredClass==cls){ res.add(_78); } } return res; },toArray:function(){ var ar=[]; for(var id in this._hash){ ar.push(this._hash[id]); } return ar; },map:function(_79,_7a){ return _6e.map(this.toArray(),_79,_7a); },every:function(_7b,_7c){ _7c=_7c||_70.global; var x=0,i; for(i in this._hash){ if(!_7b.call(_7c,this._hash[i],x++,this._hash)){ return false; } } return true; },some:function(_7d,_7e){ _7e=_7e||_70.global; var x=0,i; for(i in this._hash){ if(_7d.call(_7e,this._hash[i],x++,this._hash)){ return true; } } return false; }}); _6e.forEach(["forEach","filter","byClass","map","every","some"],function(_7f){ _71[_7f]=_72.prototype[_7f]; }); return _72; }); },"dijit/_base/wai":function(){ define(["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],function(_80,_81,_82){ var _83={hasWaiRole:function(_84,_85){ var _86=this.getWaiRole(_84); return _85?(_86.indexOf(_85)>-1):(_86.length>0); },getWaiRole:function(_87){ return _81.trim((_80.get(_87,"role")||"").replace("wairole:","")); },setWaiRole:function(_88,_89){ _80.set(_88,"role",_89); },removeWaiRole:function(_8a,_8b){ var _8c=_80.get(_8a,"role"); if(!_8c){ return; } if(_8b){ var t=_81.trim((" "+_8c+" ").replace(" "+_8b+" "," ")); _80.set(_8a,"role",t); }else{ _8a.removeAttribute("role"); } },hasWaiState:function(_8d,_8e){ return _8d.hasAttribute?_8d.hasAttribute("aria-"+_8e):!!_8d.getAttribute("aria-"+_8e); },getWaiState:function(_8f,_90){ return _8f.getAttribute("aria-"+_90)||""; },setWaiState:function(_91,_92,_93){ _91.setAttribute("aria-"+_92,_93); },removeWaiState:function(_94,_95){ _94.removeAttribute("aria-"+_95); }}; _81.mixin(_82,_83); return _82; }); },"dijit/Viewport":function(){ define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_96,on,_97,has,_98){ var _99=new _96(); var _9a; _97(function(){ var _9b=_98.getBox(); _99._rlh=on(window,"resize",function(){ var _9c=_98.getBox(); if(_9b.h==_9c.h&&_9b.w==_9c.w){ return; } _9b=_9c; _99.emit("resize"); }); if(has("ie")==8){ var _9d=screen.deviceXDPI; setInterval(function(){ if(screen.deviceXDPI!=_9d){ _9d=screen.deviceXDPI; _99.emit("resize"); } },500); } if(has("ios")){ on(document,"focusin",function(evt){ _9a=evt.target; }); on(document,"focusout",function(evt){ _9a=null; }); } }); _99.getEffectiveBox=function(doc){ var box=_98.getBox(doc); var tag=_9a&&_9a.tagName&&_9a.tagName.toLowerCase(); if(has("ios")&&_9a&&!_9a.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_9a.type)))){ box.h*=(orientation==0||orientation==180?0.66:0.4); var _9e=_9a.getBoundingClientRect(); box.h=Math.max(box.h,_9e.top+_9e.height); } return box; }; return _99; }); },"dojo/hccss":function(){ define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_9f,_a0,_a1,_a2,has,_a3,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(\""+(_a0.blankGif||_9f.toUrl("./resources/blank.gif"))+"\");"; win.body().appendChild(div); var cs=_a2.getComputedStyle(div),_a4=cs.backgroundImage; return cs.borderTopColor==cs.borderRightColor||(_a4&&(_a4=="none"||_a4=="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); } } }); _a3(function(){ if(has("highcontrast")){ _a1.add(win.body(),"dj_a11y"); } }); return has; }); },"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(_a5,_a6,_a7,_a8,_a9,_aa,dom,_ab,_ac,_ad,_ae,_af,has,_b0,_b1,on,_b2,_b3,_b4,win,_b5,_b6,_b7){ has.add("dijit-legacy-requires",!_b0.isAsync); has.add("dojo-bidi",false); if(has("dijit-legacy-requires")){ _b2(0,function(){ var _b8=["dijit/_base/manager"]; _a5(_b8); }); } var _b9={}; function _ba(obj){ var ret={}; for(var _bb in obj){ ret[_bb.toLowerCase()]=true; } return ret; }; function _bc(_bd){ return function(val){ _ab[val?"set":"remove"](this.domNode,_bd,val); this._set(_bd,val); }; }; function _be(a,b){ return a===b||(a!==a&&b!==b); }; var _bf=_aa("dijit._WidgetBase",[_b3,_b5],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_bc("lang"),dir:"",_setDirAttr:_bc("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:_a8.blankGif||_a5.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){ var _c0=this.constructor; if(!_c0._setterAttrs){ var _c1=_c0.prototype,_c2=_c0._setterAttrs=[],_c3=(_c0._onMap={}); for(var _c4 in _c1.attributeMap){ _c2.push(_c4); } for(_c4 in _c1){ if(/^on/.test(_c4)){ _c3[_c4.substring(2).toLowerCase()]=_c4; } if(/^_set[A-Z](.*)Attr$/.test(_c4)){ _c4=_c4.charAt(4).toLowerCase()+_c4.substr(5,_c4.length-9); if(!_c1.attributeMap||!(_c4 in _c1.attributeMap)){ _c2.push(_c4); } } } } },postscript:function(_c5,_c6){ this.create(_c5,_c6); },create:function(_c7,_c8){ this._introspect(); this.srcNodeRef=dom.byId(_c8); this._connects=[]; this._supportingWidgets=[]; if(this.srcNodeRef&&this.srcNodeRef.id&&(typeof this.srcNodeRef.id=="string")){ this.id=this.srcNodeRef.id; } if(_c7){ this.params=_c7; _b1.mixin(this,_c7); } this.postMixInProperties(); if(!this.id){ this.id=_b7.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); _b7.add(this); this.buildRendering(); var _c9; if(this.domNode){ this._applyAttributes(); var _ca=this.srcNodeRef; if(_ca&&_ca.parentNode&&this.domNode!==_ca){ _ca.parentNode.replaceChild(this.domNode,_ca); _c9=true; } this.domNode.setAttribute("widgetId",this.id); } this.postCreate(); if(_c9){ delete this.srcNodeRef; } this._created=true; },_applyAttributes:function(){ var _cb={}; for(var key in this.params||{}){ _cb[key]=this._get(key); } _a6.forEach(this.constructor._setterAttrs,function(key){ if(!(key in _cb)){ var val=this._get(key); if(val){ this.set(key,val); } } },this); for(key in _cb){ this.set(key,_cb[key]); } },postMixInProperties:function(){ },buildRendering:function(){ if(!this.domNode){ this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div"); } if(this.baseClass){ var _cc=this.baseClass.split(" "); if(!this.isLeftToRight()){ _cc=_cc.concat(_a6.map(_cc,function(_cd){ return _cd+"Rtl"; })); } _ac.add(this.domNode,_cc); } },postCreate:function(){ },startup:function(){ if(this._started){ return; } this._started=true; _a6.forEach(this.getChildren(),function(obj){ if(!obj._started&&!obj._destroyed&&_b1.isFunction(obj.startup)){ obj.startup(); obj._started=true; } }); },destroyRecursive:function(_ce){ this._beingDestroyed=true; this.destroyDescendants(_ce); this.destroy(_ce); },destroy:function(_cf){ this._beingDestroyed=true; this.uninitialize(); function _d0(w){ if(w.destroyRecursive){ w.destroyRecursive(_cf); }else{ if(w.destroy){ w.destroy(_cf); } } }; _a6.forEach(this._connects,_b1.hitch(this,"disconnect")); _a6.forEach(this._supportingWidgets,_d0); if(this.domNode){ _a6.forEach(_b7.findWidgets(this.domNode,this.containerNode),_d0); } this.destroyRendering(_cf); _b7.remove(this.id); this._destroyed=true; },destroyRendering:function(_d1){ if(this.bgIframe){ this.bgIframe.destroy(_d1); delete this.bgIframe; } if(this.domNode){ if(_d1){ _ab.remove(this.domNode,"widgetId"); }else{ _ad.destroy(this.domNode); } delete this.domNode; } if(this.srcNodeRef){ if(!_d1){ _ad.destroy(this.srcNodeRef); } delete this.srcNodeRef; } },destroyDescendants:function(_d2){ _a6.forEach(this.getChildren(),function(_d3){ if(_d3.destroyRecursive){ _d3.destroyRecursive(_d2); } }); },uninitialize:function(){ return false; },_setStyleAttr:function(_d4){ var _d5=this.domNode; if(_b1.isObject(_d4)){ _af.set(_d5,_d4); }else{ if(_d5.style.cssText){ _d5.style.cssText+="; "+_d4; }else{ _d5.style.cssText=_d4; } } this._set("style",_d4); },_attrToDom:function(_d6,_d7,_d8){ _d8=arguments.length>=3?_d8:this.attributeMap[_d6]; _a6.forEach(_b1.isArray(_d8)?_d8:[_d8],function(_d9){ var _da=this[_d9.node||_d9||"domNode"]; var _db=_d9.type||"attribute"; switch(_db){ case "attribute": if(_b1.isFunction(_d7)){ _d7=_b1.hitch(this,_d7); } var _dc=_d9.attribute?_d9.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_d6)?_d6.toLowerCase():_d6); if(_da.tagName){ _ab.set(_da,_dc,_d7); }else{ _da.set(_dc,_d7); } break; case "innerText": _da.innerHTML=""; _da.appendChild(this.ownerDocument.createTextNode(_d7)); break; case "textContent": _da.textContent=_d7; break; case "innerHTML": _da.innerHTML=_d7; break; case "class": _ac.replace(_da,_d7,this[_d6]); break; case "toggleClass": _ac.toggle(_da,_d9.className||_d6,_d7); break; } },this); },get:function(_dd){ var _de=this._getAttrNames(_dd); return this[_de.g]?this[_de.g]():this._get(_dd); },set:function(_df,_e0){ if(typeof _df==="object"){ for(var x in _df){ this.set(x,_df[x]); } return this; } var _e1=this._getAttrNames(_df),_e2=this[_e1.s]; if(_b1.isFunction(_e2)){ var _e3=_e2.apply(this,Array.prototype.slice.call(arguments,1)); }else{ var _e4=this.focusNode&&!_b1.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_e4]&&this[_e4].tagName,_e5=tag&&(_b9[tag]||(_b9[tag]=_ba(this[_e4]))),map=_df in this.attributeMap?this.attributeMap[_df]:_e1.s in this?this[_e1.s]:((_e5&&_e1.l in _e5&&typeof _e0!="function")||/^aria-|^data-|^role$/.test(_df))?_e4:null; if(map!=null){ this._attrToDom(_df,_e0,map); } this._set(_df,_e0); } return _e3||this; },_attrPairNames:{},_getAttrNames:function(_e6){ var apn=this._attrPairNames; if(apn[_e6]){ return apn[_e6]; } var uc=_e6.replace(/^[a-z]|-[a-zA-Z]/g,function(c){ return c.charAt(c.length-1).toUpperCase(); }); return (apn[_e6]={n:_e6+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()}); },_set:function(_e7,_e8){ var _e9=this[_e7]; this[_e7]=_e8; if(this._created&&!_be(_e9,_e8)){ if(this._watchCallbacks){ this._watchCallbacks(_e7,_e9,_e8); } this.emit("attrmodified-"+_e7,{detail:{prevValue:_e9,newValue:_e8}}); } },_get:function(_ea){ return this[_ea]; },emit:function(_eb,_ec,_ed){ _ec=_ec||{}; if(_ec.bubbles===undefined){ _ec.bubbles=true; } if(_ec.cancelable===undefined){ _ec.cancelable=true; } if(!_ec.detail){ _ec.detail={}; } _ec.detail.widget=this; var ret,_ee=this["on"+_eb]; if(_ee){ ret=_ee.apply(this,_ed?_ed:[_ec]); } if(this._started&&!this._beingDestroyed){ on.emit(this.domNode,_eb.toLowerCase(),_ec); } return ret; },on:function(_ef,_f0){ var _f1=this._onMap(_ef); if(_f1){ return _a7.after(this,_f1,_f0,true); } return this.own(on(this.domNode,_ef,_f0))[0]; },_onMap:function(_f2){ var _f3=this.constructor,map=_f3._onMap; if(!map){ map=(_f3._onMap={}); for(var _f4 in _f3.prototype){ if(/^on/.test(_f4)){ map[_f4.replace(/^on/,"").toLowerCase()]=_f4; } } } return map[typeof _f2=="string"&&_f2.toLowerCase()]; },toString:function(){ return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"; },getChildren:function(){ return this.containerNode?_b7.findWidgets(this.containerNode):[]; },getParent:function(){ return _b7.getEnclosingWidget(this.domNode.parentNode); },connect:function(obj,_f5,_f6){ return this.own(_a9.connect(obj,_f5,this,_f6))[0]; },disconnect:function(_f7){ _f7.remove(); },subscribe:function(t,_f8){ return this.own(_b4.subscribe(t,_b1.hitch(this,_f8)))[0]; },unsubscribe:function(_f9){ _f9.remove(); },isLeftToRight:function(){ return this.dir?(this.dir.toLowerCase()=="ltr"):_ae.isBodyLtr(this.ownerDocument); },isFocusable:function(){ return this.focus&&(_af.get(this.domNode,"display")!="none"); },placeAt:function(_fa,_fb){ var _fc=!_fa.tagName&&_b7.byId(_fa); if(_fc&&_fc.addChild&&(!_fb||typeof _fb==="number")){ _fc.addChild(this,_fb); }else{ var ref=_fc&&("domNode" in _fc)?(_fc.containerNode&&!/after|before|replace/.test(_fb||"")?_fc.containerNode:_fc.domNode):dom.byId(_fa,this.ownerDocument); _ad.place(this.domNode,ref,_fb); if(!this._started&&(this.getParent()||{})._started){ this.startup(); } } return this; },defer:function(fcn,_fd){ var _fe=setTimeout(_b1.hitch(this,function(){ if(!_fe){ return; } _fe=null; if(!this._destroyed){ _b1.hitch(this,fcn)(); } }),_fd||0); return {remove:function(){ if(_fe){ clearTimeout(_fe); _fe=null; } return null; }}; }}); if(has("dojo-bidi")){ _bf.extend(_b6); } return _bf; }); },"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(_ff){ return _ff._base; }); },"dojo/touch":function(){ define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_100,dom,_101,lang,on,has,_102,_103,win){ var ios4=has("ios")<5; var _104=has("pointer-events")||has("MSPointer"),_105=(function(){ var _106={}; for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){ _106[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type; } return _106; })(); var _107=has("touch-events"); var _108,_109,_10a=false,_10b,_10c,_10d,_10e,_10f,_110; var _111; function _112(_113,_114,_115){ if(_104&&_115){ return function(node,_116){ return on(node,_115,_116); }; }else{ if(_107){ return function(node,_117){ var _118=on(node,_114,function(evt){ _117.call(this,evt); _111=(new Date()).getTime(); }),_119=on(node,_113,function(evt){ if(!_111||(new Date()).getTime()>_111+1000){ _117.call(this,evt); } }); return {remove:function(){ _118.remove(); _119.remove(); }}; }; }else{ return function(node,_11a){ return on(node,_113,_11a); }; } } }; function _11b(node){ do{ if(node.dojoClick!==undefined){ return node; } }while(node=node.parentNode); }; function _11c(e,_11d,_11e){ if(_102.isRight(e)){ return; } var _11f=_11b(e.target); _109=!e.target.disabled&&_11f&&_11f.dojoClick; if(_109){ _10a=(_109=="useTarget"); _10b=(_10a?_11f:e.target); if(_10a){ e.preventDefault(); } _10c=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX; _10d=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY; _10e=(typeof _109=="object"?_109.x:(typeof _109=="number"?_109:0))||4; _10f=(typeof _109=="object"?_109.y:(typeof _109=="number"?_109:0))||4; if(!_108){ _108=true; function _120(e){ if(_10a){ _109=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)),_10b); }else{ _109=_109&&(e.changedTouches?e.changedTouches[0].target:e.target)==_10b&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_10c)<=_10e&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_10d)<=_10f; } }; win.doc.addEventListener(_11d,function(e){ if(_102.isRight(e)){ return; } _120(e); if(_10a){ e.preventDefault(); } },true); win.doc.addEventListener(_11e,function(e){ if(_102.isRight(e)){ return; } _120(e); if(_109){ _110=(new Date()).getTime(); var _121=(_10a?_10b:e.target); if(_121.tagName==="LABEL"){ _121=dom.byId(_121.getAttribute("for"))||_121; } var src=(e.changedTouches)?e.changedTouches[0]:e; function _122(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 _123=_122("mousedown"); var _124=_122("mouseup"); var _125=_122("click"); setTimeout(function(){ on.emit(_121,"mousedown",_123); on.emit(_121,"mouseup",_124); on.emit(_121,"click",_125); _110=(new Date()).getTime(); },0); } },true); function _126(type){ win.doc.addEventListener(type,function(e){ var _127=e.target; if(_109&&!e._dojo_click&&(new Date()).getTime()<=_110+1000&&!(_127.tagName=="INPUT"&&_101.contains(_127,"dijitOffScreen"))){ e.stopPropagation(); e.stopImmediatePropagation&&e.stopImmediatePropagation(); if(type=="click"&&(_127.tagName!="INPUT"||(_127.type=="radio"&&(_101.contains(_127,"dijitCheckBoxInput")||_101.contains(_127,"mblRadioButton")))||(_127.type=="checkbox"&&(_101.contains(_127,"dijitCheckBoxInput")||_101.contains(_127,"mblCheckBox"))))&&_127.tagName!="TEXTAREA"&&_127.tagName!="AUDIO"&&_127.tagName!="VIDEO"){ e.preventDefault(); } } },true); }; _126("click"); _126("mousedown"); _126("mouseup"); } } }; var _128; if(has("touch")){ if(_104){ _103(function(){ win.doc.addEventListener(_105.down,function(evt){ _11c(evt,_105.move,_105.up); },true); }); }else{ _103(function(){ _128=win.body(); win.doc.addEventListener("touchstart",function(evt){ _111=(new Date()).getTime(); var _129=_128; _128=evt.target; on.emit(_129,"dojotouchout",{relatedTarget:_128,bubbles:true}); on.emit(_128,"dojotouchover",{relatedTarget:_129,bubbles:true}); _11c(evt,"touchmove","touchend"); },true); function _12a(evt){ var _12b=lang.delegate(evt,{bubbles:true}); if(has("ios")>=6){ _12b.touches=evt.touches; _12b.altKey=evt.altKey; _12b.changedTouches=evt.changedTouches; _12b.ctrlKey=evt.ctrlKey; _12b.metaKey=evt.metaKey; _12b.shiftKey=evt.shiftKey; _12b.targetTouches=evt.targetTouches; } return _12b; }; on(win.doc,"touchmove",function(evt){ _111=(new Date()).getTime(); var _12c=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset)); if(_12c){ if(_128!==_12c){ on.emit(_128,"dojotouchout",{relatedTarget:_12c,bubbles:true}); on.emit(_12c,"dojotouchover",{relatedTarget:_128,bubbles:true}); _128=_12c; } if(!on.emit(_12c,"dojotouchmove",_12a(evt))){ evt.preventDefault(); } } }); on(win.doc,"touchend",function(evt){ _111=(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",_12a(evt)); }); }); } } var _12d={press:_112("mousedown","touchstart",_105.down),move:_112("mousemove","dojotouchmove",_105.move),release:_112("mouseup","dojotouchend",_105.up),cancel:_112(_102.leave,"touchcancel",_104?_105.cancel:null),over:_112("mouseover","dojotouchover",_105.over),out:_112("mouseout","dojotouchout",_105.out),enter:_102._eventHandler(_112("mouseover","dojotouchover",_105.over)),leave:_102._eventHandler(_112("mouseout","dojotouchout",_105.out))}; 1&&(dojo.touch=_12d); return _12d; }); },"dijit/form/_FormValueMixin":function(){ define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],function(_12e,_12f,keys,lang,on,has,_130){ return _12e("dijit.form._FormValueMixin",_130,{readOnly:false,_setReadOnlyAttr:function(_131){ if(/^(input|textarea)$/i.test(this.focusNode.tagName)){ if(has("trident")&&"disabled" in this){ _12f.set(this.focusNode,"readOnly",_131||this.disabled); }else{ _12f.set(this.focusNode,"readOnly",_131); } }else{ this.focusNode.setAttribute("aria-readonly",_131); } this._set("readOnly",_131); },postCreate:function(){ this.inherited(arguments); if(this._resetValue===undefined){ this._lastValueReported=this._resetValue=this.value; } },_setValueAttr:function(_132,_133){ this._handleOnChange(_132,_133); },_handleOnChange:function(_134,_135){ this._set("value",_134); this.inherited(arguments); },undo:function(){ this._setValueAttr(this._lastValueReported,false); },reset:function(){ this._hasBeenBlurred=false; this._setValueAttr(this._resetValue,true); }}); }); },"dojo/Stateful":function(){ define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_136,lang,_137,when){ return _136("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(_138){ if(_138){ this.set(_138); } },_get:function(name,_139){ return typeof this[_139.g]==="function"?this[_139.g]():this[name]; },get:function(name){ return this._get(name,this._getAttrNames(name)); },set:function(name,_13a){ if(typeof name==="object"){ for(var x in name){ if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){ this.set(x,name[x]); } } return this; } var _13b=this._getAttrNames(name),_13c=this._get(name,_13b),_13d=this[_13b.s],_13e; if(typeof _13d==="function"){ _13e=_13d.apply(this,Array.prototype.slice.call(arguments,1)); }else{ this[name]=_13a; } if(this._watchCallbacks){ var self=this; when(_13e,function(){ self._watchCallbacks(name,_13c,_13a); }); } return this; },_changeAttrValue:function(name,_13f){ var _140=this.get(name); this[name]=_13f; if(this._watchCallbacks){ this._watchCallbacks(name,_140,_13f); } return this; },watch:function(name,_141){ var _142=this._watchCallbacks; if(!_142){ var self=this; _142=this._watchCallbacks=function(name,_143,_144,_145){ var _146=function(_147){ if(_147){ _147=_147.slice(); for(var i=0,l=_147.length;i-1){ _148.splice(_14a,1); } }; return _149; }}); }); },"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(_14b,_14c,dom,_14d,has,lang,on,_14e,_14f,win,_150,_151){ var _152=_14c("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){ this.inherited(arguments); _14b.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(_153){ if(!this.disabled){ switch(_153.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 _154=this.baseClass.split(" "); function _155(_156){ _154=_154.concat(_14b.map(_154,function(c){ return c+_156; }),"dijit"+_156); }; if(!this.isLeftToRight()){ _155("Rtl"); } var _157=this.checked=="mixed"?"Mixed":(this.checked?"Checked":""); if(this.checked){ _155(_157); } if(this.state){ _155(this.state); } if(this.selected){ _155("Selected"); } if(this._opened){ _155("Opened"); } if(this.disabled){ _155("Disabled"); }else{ if(this.readOnly){ _155("ReadOnly"); }else{ if(this.active){ _155("Active"); }else{ if(this.hovering){ _155("Hover"); } } } } if(this.focused){ _155("Focused"); } var tn=this.stateNode||this.domNode,_158={}; _14b.forEach(tn.className.split(" "),function(c){ _158[c]=true; }); if("_stateClasses" in this){ _14b.forEach(this._stateClasses,function(c){ delete _158[c]; }); } _14b.forEach(_154,function(c){ _158[c]=true; }); var _159=[]; for(var c in _158){ _159.push(c); } tn.className=_159.join(" "); this._stateClasses=_154; },_subnodeCssMouseEvent:function(node,_15a,evt){ if(this.disabled||this.readOnly){ return; } function _15b(_15c){ _14d.toggle(node,_15a+"Hover",_15c); }; function _15d(_15e){ _14d.toggle(node,_15a+"Active",_15e); }; function _15f(_160){ _14d.toggle(node,_15a+"Focused",_160); }; switch(evt.type){ case "mouseover": case "MSPointerOver": case "pointerover": _15b(true); break; case "mouseout": case "MSPointerOut": case "pointerout": _15b(false); _15d(false); break; case "mousedown": case "touchstart": case "MSPointerDown": case "pointerdown": case "keydown": _15d(true); break; case "mouseup": case "MSPointerUp": case "pointerup": case "dojotouchend": case "keyup": _15d(false); break; case "focus": case "focusin": _15f(true); break; case "blur": case "focusout": _15f(false); break; } },_trackMouseState:function(node,_161){ node._cssState=_161; }}); _14e(function(){ function _162(evt,_163,_164){ if(_164&&dom.isDescendant(_164,_163)){ return; } for(var node=_163;node&&node!=_164;node=node.parentNode){ if(node._cssState){ var _165=_151.getEnclosingWidget(node); if(_165){ if(node==_165.domNode){ _165._cssMouseEvent(evt); }else{ _165._subnodeCssMouseEvent(node,node._cssState,evt); } } } } }; var body=win.body(),_166; on(body,_14f.over,function(evt){ _162(evt,evt.target,evt.relatedTarget); }); on(body,_14f.out,function(evt){ _162(evt,evt.target,evt.relatedTarget); }); on(body,_150.press,function(evt){ _166=evt.target; _162(evt,_166); }); on(body,_150.release,function(evt){ _162(evt,_166); _166=null; }); on(body,"focusin, focusout",function(evt){ var node=evt.target; if(node._cssState&&!node.getAttribute("widgetId")){ var _167=_151.getEnclosingWidget(node); if(_167){ _167._subnodeCssMouseEvent(node,node._cssState,evt); } } }); }); return _152; }); },"dijit/_base/manager":function(){ define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_168,_169,lang,_16a,_16b){ var _16c={}; _168.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){ _16c[name]=_16a[name]; }); lang.mixin(_16c,{defaultDuration:_169["defaultDuration"]||200}); lang.mixin(_16b,_16c); return _16b; }); },"dijit/_base/sniff":function(){ define(["dojo/uacss"],function(){ }); },"dijit/BackgroundIframe":function(){ define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_16d,_16e,_16f,_170,_171,lang,on,has){ has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent)); var _172=new function(){ var _173=[]; this.pop=function(){ var _174; if(_173.length){ _174=_173.pop(); _174.style.display=""; }else{ if(has("ie")<9){ var burl=_16f["dojoBlankHtmlUrl"]||_16d.toUrl("dojo/resources/blank.html")||"javascript:\"\""; var html="