1/* XPages Aggregated JavaScript */ 2require({cache:{ 3'dojo/i18n':function(){ 4//>>built 5define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){_3.add("dojo-preload-i18n-Api",1);1||_3.add("dojo-v1x-i18n-Api",1);var _a=_1.i18n={},_b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_c=function $DDaM_(_d,_e,_f,_10){for(var _11=[_f+_10],_12=_e.split("-"),_13="",i=0;i<_12.length;i++){_13+=(_13?"-":"")+_12[i];if(!_d||_d[_13]){_11.push(_f+_13+"/"+_10);_11.specificity=_13;}}return _11;},_14={},_15=function $DDaN_(_16,_17,_18){_18=_18?_18.toLowerCase():_1.locale;_16=_16.replace(/\./g,"/");_17=_17.replace(/\./g,"/");return (/root/i.test(_18))?(_16+"/nls/"+_17):(_16+"/nls/"+_18+"/"+_17);},_19=_1.getL10nName=function(_1a,_1b,_1c){return _1a=_9.id+"!"+_15(_1a,_1b,_1c);},_1d=function $DDaO_(_1e,_1f,_20,_21,_22,_23){_1e([_1f],function(_24){var _25=_6.clone(_24.root||_24.ROOT),_26=_c(!_24._v1x&&_24,_22,_20,_21);_1e(_26,function(){for(var i=1;i<_26.length;i++){_25=_6.mixin(_6.clone(_25),arguments[i]);}var _27=_1f+"/"+_22;_14[_27]=_25;_25.$locale=_26.specificity;_23();});});},_28=function $DDaP_(id,_29){return /^\./.test(id)?_29(id):id;},_2a=function $DDaQ_(_2b){var _2c=_5.extraLocale||[];_2c=_6.isArray(_2c)?_2c:[_2c];_2c.push(_2b);return _2c;},_2d=function $DDaR_(id,_2e,_2f){if(_3("dojo-preload-i18n-Api")){var _30=id.split("*"),_31=_30[1]=="preload";if(_31){if(!_14[id]){_14[id]=1;_32(_30[2],_8.parse(_30[3]),1,_2e);}_2f(1);}if(_31||_33(id,_2e,_2f)){return;}}var _34=_b.exec(id),_35=_34[1]+"/",_36=_34[5]||_34[4],_37=_35+_36,_38=(_34[5]&&_34[4]),_39=_38||_1.locale||"",_3a=_37+"/"+_39,_3b=_38?[_39]:_2a(_39),_3c=_3b.length,_3d=function $DDaS_(){if(!--_3c){_2f(_6.delegate(_14[_3a]));}};_4.forEach(_3b,function(_3e){var _3f=_37+"/"+_3e;if(_3("dojo-preload-i18n-Api")){_40(_3f);}if(!_14[_3f]){_1d(_2e,_37,_35,_36,_3e,_3d);}else{_3d();}});};if(_3("dojo-unit-tests")){var _41=_a.unitTests=[];}if(_3("dojo-preload-i18n-Api")||1){var _42=_a.normalizeLocale=function(_43){var _44=_43?_43.toLowerCase():_1.locale;return _44=="root"?"ROOT":_44;},_45=function $DDaT_(mid,_46){return (1&&1)?_46.isXdUrl(_2.toUrl(mid+".js")):true;},_47=0,_48=[],_32=_a._preloadLocalizations=function(_49,_4a,_4b,_4c){_4c=_4c||_2;function _4d(mid,_4e){if(_45(mid,_4c)||_4b){_4c([mid],_4e);}else{_6d([mid],_4e,_4c);}};function _4f(_50,_51){var _52=_50.split("-");while(_52.length){if(_51(_52.join("-"))){return;}_52.pop();}_51("ROOT");};function _53(){_47++;};function _54(){--_47;while(!_47&&_48.length){_2d.apply(null,_48.shift());}};function _55(_56,_57,loc,_58){return _58.toAbsMid(_56+_57+"/"+loc);};function _59(_5a){_5a=_42(_5a);_4f(_5a,function(loc){if(_4.indexOf(_4a,loc)>=0){var mid=_49.replace(/\./g,"/")+"_"+loc;_53();_4d(mid,function(_5b){for(var p in _5b){var _5c=_5b[p],_5d=p.match(/(.+)\/([^\/]+)$/),_5e,_5f;if(!_5d){continue;}_5e=_5d[2];_5f=_5d[1]+"/";_5c._localized=_5c._localized||{};var _60;if(loc==="ROOT"){var _61=_60=_5c._localized;delete _5c._localized;_61.root=_5c;_14[_2.toAbsMid(p)]=_61;}else{_60=_5c._localized;_14[_55(_5f,_5e,loc,_2)]=_5c;}if(loc!==_5a){function _62(_63,_64,_65,_66){var _67=[],_68=[];_4f(_5a,function(loc){if(_66[loc]){_67.push(_2.toAbsMid(_63+loc+"/"+_64));_68.push(_55(_63,_64,loc,_2));}});if(_67.length){_53();_4c(_67,function(){for(var i=0;i<_67.length;i++){_65=_6.mixin(_6.clone(_65),arguments[i]);_14[_68[i]]=_65;}_14[_55(_63,_64,_5a,_2)]=_6.clone(_65);_54();});}else{_14[_55(_63,_64,_5a,_2)]=_65;}};_62(_5f,_5e,_5c,_60);}}_54();});return true;}return false;});};_59();_4.forEach(_1.config.extraLocale,_59);},_33=function $DDaU_(id,_69,_6a){if(_47){_48.push([id,_69,_6a]);}return _47;},_40=function $DDaV_(){};}if(1){var _6b={},_6c=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_6d=function $DDaW_(_6e,_6f,_70){var _71=[];_4.forEach(_6e,function(mid){var url=_70.toUrl(mid+".js");function _2d(_72){var _73=_6c(_72,_40,mid,_6b);if(_73===_6b){_71.push(_14[url]=_6b.result);}else{if(_73 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_73);_73={};}_71.push(_14[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_73:{root:_73,_v1x:1}));}};if(_14[url]){_71.push(_14[url]);}else{var _74=_70.syncLoadNls(mid);if(!_74){_74=_40(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_74){_71.push(_74);}else{if(!_7){try{_70.getText(url,true,_2d);}catch(e){_71.push(_14[url]={});}}else{_7.get({url:url,sync:true,load:_2d,error:function $DDaL_(){_71.push(_14[url]={});}});}}}});_6f&&_6f.apply(null,_71);};
5_40=function $DDaX_(_75){for(var _76,_77=_75.split("/"),_78=_1.global[_77[0]],i=1;_78&&i<_77.length-1;_78=_78[_77[i++]]){}if(_78){_76=_78[_77[i]];if(!_76){_76=_78[_77[i].replace(/-/g,"_")];}if(_76){_14[_75]=_76;}}return _76;};_a.getLocalization=function $DDaY_(_79,_7a,_7b){var _7c,_7d=_15(_79,_7a,_7b);_2d(_7d,(!_45(_7d,_2)?function(_7e,_7f){_6d(_7e,_7f,_2);}:_2),function(_80){_7c=_80;});return _7c;};if(_3("dojo-unit-tests")){_41.push(function(doh){doh.register("tests.i18n.unit",function(t){var _81;_81=_6c("{prop:1}",_40,"nonsense",_6b);t.is({prop:1},_81);t.is(undefined,_81[1]);_81=_6c("({prop:1})",_40,"nonsense",_6b);t.is({prop:1},_81);t.is(undefined,_81[1]);_81=_6c("{'prop-x':1}",_40,"nonsense",_6b);t.is({"prop-x":1},_81);t.is(undefined,_81[1]);_81=_6c("({'prop-x':1})",_40,"nonsense",_6b);t.is({"prop-x":1},_81);t.is(undefined,_81[1]);_81=_6c("define({'prop-x':1})",_40,"nonsense",_6b);t.is(_6b,_81);t.is({"prop-x":1},_6b.result);_81=_6c("define('some/module', {'prop-x':1})",_40,"nonsense",_6b);t.is(_6b,_81);t.is({"prop-x":1},_6b.result);_81=_6c("this is total nonsense and should throw an error",_40,"nonsense",_6b);t.is(_81 instanceof Error,true);});});}}return _6.mixin(_a,{dynamic:true,normalize:_28,load:_2d,cache:_14,getL10nName:_19});});} 6 7, 8'dojo/string':function(){ 9//>>built 10define("dojo/string",["./_base/kernel","./_base/lang"],function(_1,_2){var _3={};_2.setObject("dojo.string",_3);_3.rep=function $DDM9_(_4,_5){if(_5<=0||!_4){return "";}var _6=[];for(;;){if(_5&1){_6.push(_4);}if(!(_5>>=1)){break;}_4+=_4;}return _6.join("");};_3.pad=function $DDNA_(_7,_8,ch,_9){if(!ch){ch="0";}var _a=String(_7),_b=_3.rep(ch,Math.ceil((_8-_a.length)/ch.length));return _9?_a+_b:_b+_a;};_3.substitute=function $DDNB_(_c,_d,_e,_f){_f=_f||_1.global;_e=_e?_2.hitch(_f,_e):function(v){return v;};return _c.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_10,key,_11){var _12=_2.getObject(key,false,_d);if(_11){_12=_2.getObject(_11,false,_f).call(_f,_12,key);}return _e(_12,key).toString();});};_3.trim=String.prototype.trim?_2.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 _3;});} 11 12, 13'dojo/_base/url':function(){ 14//>>built 15define("dojo/_base/url",["./kernel"],function(_1){var _2=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),_3=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4=function $DDZ5_(){var n=null,_5=arguments,_6=[_5[0]];for(var i=1;i<_5.length;i++){if(!_5[i]){continue;}var _7=new _4(_5[i]+""),_8=new _4(_6[0]+"");if(_7.path==""&&!_7.scheme&&!_7.authority&&!_7.query){if(_7.fragment!=n){_8.fragment=_7.fragment;}_7=_8;}else{if(!_7.scheme){_7.scheme=_8.scheme;if(!_7.authority){_7.authority=_8.authority;if(_7.path.charAt(0)!="/"){var _9=_8.path.substring(0,_8.path.lastIndexOf("/")+1)+_7.path;var _a=_9.split("/");for(var j=0;j<_a.length;j++){if(_a[j]=="."){if(j==_a.length-1){_a[j]="";}else{_a.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_a[0]=="")&&_a[j]==".."&&_a[j-1]!=".."){if(j==(_a.length-1)){_a.splice(j,1);_a[j-1]="";}else{_a.splice(j-1,2);j-=2;}}}}_7.path=_a.join("/");}}}}_6=[];if(_7.scheme){_6.push(_7.scheme,":");}if(_7.authority){_6.push("//",_7.authority);}_6.push(_7.path);if(_7.query){_6.push("?",_7.query);}if(_7.fragment){_6.push("#",_7.fragment);}}this.uri=_6.join("");var r=this.uri.match(_2);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(_3);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4.prototype.toString=function $DDZ6_(){return this.uri;};return _1._Url=_4;});} 16 17, 18'dojo/promise/all':function(){ 19//>>built 20define("dojo/promise/all",["../_base/array","../Deferred","../when"],function(_1,_2,_3){"use strict";var _4=_1.some;return function all(_5){var _6,_1;if(_5 instanceof Array){_1=_5;}else{if(_5&&typeof _5==="object"){_6=_5;}}var _7;var _8=[];if(_6){_1=[];for(var _9 in _6){if(Object.hasOwnProperty.call(_6,_9)){_8.push(_9);_1.push(_6[_9]);}}_7={};}else{if(_1){_7=[];}}if(!_1||!_1.length){return new _2().resolve(_7);}var _a=new _2();_a.promise.always(function(){_7=_8=null;});var _b=_1.length;_4(_1,function(_c,_d){if(!_6){_8.push(_d);}_3(_c,function(_e){if(!_a.isFulfilled()){_7[_8[_d]]=_e;if(--_b===0){_a.resolve(_7);}}},_a.reject);return _a.isFulfilled();});return _a.promise;};});} 21 22, 23'dojo/date/stamp':function(){ 24//>>built 25define("dojo/date/stamp",["../_base/lang","../_base/array"],function(_1,_2){var _3={};_1.setObject("dojo.date.stamp",_3);
25_3.fromISOString=function $DDVd_(_4,_5){if(!_3._isoRegExp){_3._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _6=_3._isoRegExp.exec(_4),_7=null;if(_6){_6.shift();if(_6[1]){_6[1]--;}if(_6[6]){_6[6]*=1000;}if(_5){_5=new Date(_5);_2.forEach(_2.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_8){return _5["get"+_8]();}),function(_9,_a){_6[_a]=_6[_a]||_9;});}_7=new Date(_6[0]||1970,_6[1]||0,_6[2]||1,_6[3]||0,_6[4]||0,_6[5]||0,_6[6]||0);if(_6[0]<100){_7.setFullYear(_6[0]||1970);}var _b=0,_c=_6[7]&&_6[7].charAt(0);if(_c!="Z"){_b=((_6[8]||0)*60)+(Number(_6[9])||0);if(_c!="-"){_b*=-1;}}if(_c){_b-=_7.getTimezoneOffset();}if(_b){_7.setTime(_7.getTime()+_b*60000);}}return _7;};_3.toISOString=function $DDVe_(_d,_e){var _f=function(n){return (n<10)?"0"+n:n;};_e=_e||{};var _10=[],_11=_e.zulu?"getUTC":"get",_12="";if(_e.selector!="time"){var _13=_d[_11+"FullYear"]();_12=["0000".substr((_13+"").length)+_13,_f(_d[_11+"Month"]()+1),_f(_d[_11+"Date"]())].join("-");}_10.push(_12);if(_e.selector!="date"){var _14=[_f(_d[_11+"Hours"]()),_f(_d[_11+"Minutes"]()),_f(_d[_11+"Seconds"]())].join(":");var _15=_d[_11+"Milliseconds"]();if(_e.milliseconds){_14+="."+(_15<100?"0":"")+_f(_15);}if(_e.zulu){_14+="Z";}else{if(_e.selector!="time"){var _16=_d.getTimezoneOffset();var _17=Math.abs(_16);_14+=(_16>0?"-":"+")+_f(Math.floor(_17/60))+":"+_f(_17%60);}}_10.push(_14);}return _10.join("T");};return _3;});} 26 27, 28'dojo/parser':function(){ 29//>>built 30define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10){new Date("X");function _11(_12){return eval("("+_12+")");};var _13=0;_9.after(_3,"extend",function(){_13++;},true);function _14(_15){var map=_15._nameCaseMap,_16=_15.prototype;if(!map||map._extendCnt<_13){map=_15._nameCaseMap={};for(var _17 in _16){if(_17.charAt(0)==="_"){continue;}map[_17.toLowerCase()]=_17;}map._extendCnt=_13;}return map;};var _18={};function _19(_1a,_1b){var ts=_1a.join();if(!_18[ts]){var _1c=[];for(var i=0,l=_1a.length;i<l;i++){var t=_1a[i];_1c[_1c.length]=(_18[t]=_18[t]||(_3.getObject(t)||(~t.indexOf("/")&&(_1b?_1b(t):_1(t)))));}var _1d=_1c.shift();_18[ts]=_1c.length?(_1d.createSubclass?_1d.createSubclass(_1c):_1d.extend.apply(_1d,_1c)):_1d;}return _18[ts];};var _1e={_clearCache:function $DDSp_(){_13++;_18={};},_functionFromScript:function $DDSq_(_1f,_20){var _21="",_22="",_23=(_1f.getAttribute(_20+"args")||_1f.getAttribute("args")),_24=_1f.getAttribute("with");var _25=(_23||"").split(/\s*,\s*/);if(_24&&_24.length){_4.forEach(_24.split(/\s*,\s*/),function(_26){_21+="with("+_26+"){";_22+="}";});}return new Function(_25,_21+_1f.innerHTML+_22);},instantiate:function $DDSr_(_27,_28,_29){_28=_28||{};_29=_29||{};var _2a=(_29.scope||_2._scopeName)+"Type",_2b="data-"+(_29.scope||_2._scopeName)+"-",_2c=_2b+"type",_2d=_2b+"mixins";var _2e=[];_4.forEach(_27,function(_2f){var _30=_2a in _28?_28[_2a]:_2f.getAttribute(_2c)||_2f.getAttribute(_2a);if(_30){var _31=_2f.getAttribute(_2d),_32=_31?[_30].concat(_31.split(/\s*,\s*/)):[_30];_2e.push({node:_2f,types:_32});}});return this._instantiate(_2e,_28,_29);},_instantiate:function $DDSs_(_33,_34,_35,_36){var _37=_4.map(_33,function(obj){var _38=obj.ctor||_19(obj.types,_35.contextRequire);if(!_38){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_38,obj.node,_34,_35,obj.scripts,obj.inherited);},this);function _39(_3a){if(!_34._started&&!_35.noStart){_4.forEach(_3a,function(_3b){if(typeof _3b.startup==="function"&&!_3b._started){_3b.startup();}});}return _3a;};if(_36){return _a(_37).then(_39);}else{return _39(_37);}},construct:function $DDSt_(_3c,_3d,_3e,_3f,_40,_41){var _42=_3c&&_3c.prototype;_3f=_3f||{};var _43={};if(_3f.defaults){_3.mixin(_43,_3f.defaults);}if(_41){_3.mixin(_43,_41);}var _44;if(_d("dom-attributes-explicit")){_44=_3d.attributes;}else{if(_d("dom-attributes-specified-flag")){_44=_4.filter(_3d.attributes,function(a){return a.specified;});}else{var _45=/^input$|^img$/i.test(_3d.nodeName)?_3d:_3d.cloneNode(false),_46=_45.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_44=_4.map(_46.split(/\s+/),function(_47){var _48=_47.toLowerCase();return {name:_47,value:(_3d.nodeName=="LI"&&_47=="value")||_48=="enctype"?_3d.getAttribute(_48):_3d.getAttributeNode(_48).value};});}}var _49=_3f.scope||_2._scopeName,_4a="data-"+_49+"-",_4b={};if(_49!=="dojo"){_4b[_4a+"props"]="data-dojo-props";_4b[_4a+"type"]="data-dojo-type";_4b[_4a+"mixins"]="data-dojo-mixins";_4b[_49+"type"]="dojoType";_4b[_4a+"id"]="data-dojo-id";}var i=0,_4c,_4d=[],_4e,_4f;while(_4c=_44[i++]){var _50=_4c.name,_51=_50.toLowerCase(),_52=_4c.value;switch(_4b[_51]||_51){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_4f=_52;break;case "data-dojo-id":case "jsid":_4e=_52;break;case "data-dojo-attach-point":case "dojoattachpoint":_43.dojoAttachPoint=_52;break;case "data-dojo-attach-event":case "dojoattachevent":_43.dojoAttachEvent=_52;break;case "class":_43["class"]=_3d.className;break;case "style":_43["style"]=_3d.style&&_3d.style.cssText;break;default:if(!(_50 in _42)){var map=_14(_3c);_50=map[_51]||_50;}
30if(_50 in _42){switch(typeof _42[_50]){case "string":_43[_50]=_52;break;case "number":_43[_50]=_52.length?Number(_52):NaN;break;case "boolean":_43[_50]=_52.toLowerCase()!="false";break;case "function":if(_52===""||_52.search(/[^\w\.]+/i)!=-1){_43[_50]=new Function(_52);}else{_43[_50]=_3.getObject(_52,false)||new Function(_52);}_4d.push(_50);break;default:var _53=_42[_50];_43[_50]=(_53&&"length" in _53)?(_52?_52.split(/\s*,\s*/):[]):(_53 instanceof Date)?(_52==""?new Date(""):_52=="now"?new Date():_b.fromISOString(_52)):(_53 instanceof _8)?(_2.baseUrl+_52):_11(_52);}}else{_43[_50]=_52;}}}for(var j=0;j<_4d.length;j++){var _54=_4d[j].toLowerCase();_3d.removeAttribute(_54);_3d[_54]=null;}if(_4f){try{_4f=_11.call(_3f.propsThis,"{"+_4f+"}");_3.mixin(_43,_4f);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_4f+"'");}}_3.mixin(_43,_3e);if(!_40){_40=(_3c&&(_3c._noScript||_42._noScript)?[]:_e("> script[type^='dojo/']",_3d));}var _55=[],_56=[],_57=[],ons=[];if(_40){for(i=0;i<_40.length;i++){var _58=_40[i];_3d.removeChild(_58);var _59=(_58.getAttribute(_4a+"event")||_58.getAttribute("event")),_5a=_58.getAttribute(_4a+"prop"),_5b=_58.getAttribute(_4a+"method"),_5c=_58.getAttribute(_4a+"advice"),_5d=_58.getAttribute("type"),nf=this._functionFromScript(_58,_4a);if(_59){if(_5d=="dojo/connect"){_55.push({method:_59,func:nf});}else{if(_5d=="dojo/on"){ons.push({event:_59,func:nf});}else{_43[_59]=nf;}}}else{if(_5d=="dojo/aspect"){_55.push({method:_5b,advice:_5c,func:nf});}else{if(_5d=="dojo/watch"){_57.push({prop:_5a,func:nf});}else{_56.push(nf);}}}}}var _5e=_3c.markupFactory||_42.markupFactory;var _5f=_5e?_5e(_43,_3d,_3c):new _3c(_43,_3d);function _60(_61){if(_4e){_3.setObject(_4e,_61);}for(i=0;i<_55.length;i++){_9[_55[i].advice||"after"](_61,_55[i].method,_3.hitch(_61,_55[i].func),true);}for(i=0;i<_56.length;i++){_56[i].call(_61);}for(i=0;i<_57.length;i++){_61.watch(_57[i].prop,_57[i].func);}for(i=0;i<ons.length;i++){_f(_61,ons[i].event,ons[i].func);}return _61;};if(_5f.then){return _5f.then(_60);}else{return _60(_5f);}},scan:function $DDSu_(_62,_63){var _64=[],_65=[],_66={};var _67=(_63.scope||_2._scopeName)+"Type",_68="data-"+(_63.scope||_2._scopeName)+"-",_69=_68+"type",_6a=_68+"textdir",_6b=_68+"mixins";var _6c=_62.firstChild;var _6d=_63.inherited;if(!_6d){function _6e(_6f,_70){return (_6f.getAttribute&&_6f.getAttribute(_70))||
30(_6f.parentNode&&_6e(_6f.parentNode,_70));};_6d={dir:_6e(_62,"dir"),lang:_6e(_62,"lang"),textDir:_6e(_62,_6a)};for(var key in _6d){if(!_6d[key]){delete _6d[key];}}}var _71={inherited:_6d};var _72;var _73;function _74(_75){if(!_75.inherited){_75.inherited={};var _76=_75.node,_77=_74(_75.parent);var _78={dir:_76.getAttribute("dir")||_77.dir,lang:_76.getAttribute("lang")||_77.lang,textDir:_76.getAttribute(_6a)||_77.textDir};for(var key in _78){if(_78[key]){_75.inherited[key]=_78[key];}}}return _75.inherited;};while(true){if(!_6c){if(!_71||!_71.node){break;}_6c=_71.node.nextSibling;_73=false;_71=_71.parent;_72=_71.scripts;continue;}if(_6c.nodeType!=1){_6c=_6c.nextSibling;continue;}if(_72&&_6c.nodeName.toLowerCase()=="script"){_79=_6c.getAttribute("type");if(_79&&/^dojo\/\w/i.test(_79)){_72.push(_6c);}_6c=_6c.nextSibling;continue;}if(_73){_6c=_6c.nextSibling;continue;}var _79=_6c.getAttribute(_69)||_6c.getAttribute(_67);var _7a=_6c.firstChild;if(!_79&&(!_7a||(_7a.nodeType==3&&!_7a.nextSibling))){_6c=_6c.nextSibling;continue;}var _7b;var _7c=null;if(_79){var _7d=_6c.getAttribute(_6b),_7e=_7d?[_79].concat(_7d.split(/\s*,\s*/)):[_79];try{_7c=_19(_7e,_63.contextRequire);}catch(e){}if(!_7c){_4.forEach(_7e,function(t){if(~t.indexOf("/")&&!_66[t]){_66[t]=true;_65[_65.length]=t;}});}var _7f=_7c&&!_7c.prototype._noScript?[]:null;_7b={types:_7e,ctor:_7c,parent:_71,node:_6c,scripts:_7f};_7b.inherited=_74(_7b);_64.push(_7b);}else{_7b={node:_6c,scripts:_72,parent:_71};}_72=_7f;_73=_6c.stopParser||(_7c&&_7c.prototype.stopParser&&!(_63.template));_71=_7b;_6c=_7a;}var d=new _c();if(_65.length){if(_d("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_65.join(", "));}var r=_63.contextRequire||_1;r(_65,function(){d.resolve(_4.filter(_64,function(_80){if(!_80.ctor){try{_80.ctor=_19(_80.types,_63.contextRequire);}catch(e){}}var _81=_80.parent;while(_81&&!_81.types){_81=_81.parent;}var _82=_80.ctor&&_80.ctor.prototype;_80.instantiateChildren=!(_82&&_82.stopParser&&!(_63.template));_80.instantiate=!_81||(_81.instantiate&&_81.instantiateChildren);return _80.instantiate;}));});}else{d.resolve(_64);}return d.promise;},_require:function $DDSv_(_83,_84){var _85=_11("{"+_83.innerHTML+"}"),_86=[],_87=[],d=new _c();var _88=(_84&&_84.contextRequire)||_1;for(var _89 in _85){_86.push(_89);_87.push(_85[_89]);}_88(_87,function(){for(var i=0;i<_86.length;i++){_3.setObject(_86[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function $DDSw_(_8a,_8b){var _8c=new _c(),_8d=_8c.promise;_8c.resolve(true);var _8e=this;_e("script[type='dojo/require']",_8a).forEach(function(_8f){_8d=_8d.then(function(){return _8e._require(_8f,_8b);});_8f.parentNode.removeChild(_8f);});return _8d;},parse:function $DDSx_(_90,_91){var _92;if(!_91&&_90&&_90.rootNode){_91=_90;_92=_91.rootNode;}else{if(_90&&_3.isObject(_90)&&!("nodeType" in _90)){_91=_90;}else{_92=_90;}}_92=_92?_6.byId(_92):_7.body();_91=_91||{};var _93=_91.template?{template:true}:{},_94=[],_95=this;var p=this._scanAmd(_92,_91).then(function(){return _95.scan(_92,_91);}).then(function(_96){return _95._instantiate(_96,_93,_91,true);}).then(function(_97){return _94=_94.concat(_97);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_3.mixin(_94,p);return _94;}};if(1){_2.parser=_1e;}if(_5.parseOnLoad){_10(100,_1e,"parse");}return _1e;});} 31 32, 33'dojo/html':function(){ 34//>>built 35define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_1,_2,_3,_4,_5,_6,_7){var _8=0;var _9={_secureForInnerHtml:function $DDYB_(_a){return _a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_6.empty,_setNodeContent:function $DDYC_(_b,_c){_6.empty(_b);if(_c){if(typeof _c=="string"){_c=_6.toDom(_c,_b.ownerDocument);}if(!_c.nodeType&&_2.isArrayLike(_c)){for(var _d=_c.length,i=0;i<_c.length;i=_d==_c.length?i+1:0){_6.place(_c[i],_b,"last");}}else{_6.place(_c,_b,"last");}}return _b;},_ContentSetter:_4("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_1._scopeName,startup:true,constructor:function $DDYD_(_e,_f){_2.mixin(this,_e||{});_f=this.node=_5.byId(this.node||_f);if(!this.id){this.id=["Setter",(_f)?_f.id||_f.tagName:"",_8++].join("_");}},set:function $DDYE_(_10,_11){if(undefined!==_10){this.content=_10;}if(_11){this._mixin(_11);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function $DDYF_(){var _12=this.node;if(!_12){throw new Error(this.declaredClass+": setContent given no node");}try{_12=_9._setNodeContent(_12,this.content);}catch(e){var _13=this.onContentError(e);try{_12.innerHTML=_13;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=_12;},empty:function $DDYG_(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_3.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_6.empty(this.node);},onBegin:function $DDYH_(){var _14=this.content;if(_2.isString(_14)){if(this.cleanContent){_14=_9._secureForInnerHtml(_14);}if(this.extractContent){var _15=_14.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_15){_14=_15[1];}}}this.empty();this.content=_14;return this.node;},onEnd:function $DDYI_(){if(this.parseContent){this._parse();}return this.node;},tearDown:function $DDYJ_(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;}
35,onContentError:function $DDYK_(err){return "Error occurred setting content: "+err;},onExecError:function $DDYL_(err){return "Error occurred executing scripts: "+err;},_mixin:function $DDYM_(_16){var _17={},key;for(key in _16){if(key in _17){continue;}this[key]=_16[key];}},_parse:function $DDYN_(){var _18=this.node;try{var _19={};_3.forEach(["dir","lang","textDir"],function(_1a){if(this[_1a]){_19[_1a]=this[_1a];}},this);var _1b=this;this.parseDeferred=_7.parse({rootNode:_18,noStart:!this.startup,inherited:_19,scope:this.parserScope}).then(function(_1c){return _1b.parseResults=_1c;},function(e){_1b._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function $DDYO_(_1d,err,_1e){var _1f=this["on"+_1d+"Error"].call(this,err);if(_1e){console.error(_1e,err);}else{if(_1f){_9._setNodeContent(this.node,_1f,true);}}}}),set:function $DDYP_(_20,_21,_22){if(undefined==_21){console.warn("dojo.html.set: no cont argument provided, using empty string");_21="";}if(!_22){return _9._setNodeContent(_20,_21,true);}else{var op=new _9._ContentSetter(_2.mixin(_22,{content:_21,node:_20}));return op.set();}}};_2.setObject("dojo.html",_9);return _9;});} 36 37, 38'dojo/require':function(){ 39//>>built 40define("dojo/require",["./_base/loader"],function(_1){return {dynamic:0,normalize:function $DDND_(id){return id;},load:_1.require};});} 41 42, 43'ibm/xsp/widget/layout/xspClientDojo':function(){ 44//>>built 45define("ibm/xsp/widget/layout/xspClientDojo",["dijit","dojo","dojo/i18n!ibm/xsp/widget/layout/nls/xspClientDojo","dojo/require!dojo/i18n,dojo/string,dojo/html"],function(_1,_2){_2.provide("ibm.xsp.widget.layout.xspClientDojo");_2.require("dojo.i18n");_2.require("dojo.string");_2.requireLocalization("ibm.xsp.widget.layout","xspClientDojo");function _3(){this.validateAllFields=false;this.validators=[];this.preSubmitListeners=[];this.querySubmitListeners=[];this._onLoadListeners=[];this._listeningForDojo=false;this._unnamedSubmitListenerCount=0;this._eventNameHtmlToWidget=null;this._submitValue=undefined;this.messages=null;this.lastSubmit=0;this.submitLatency=20*1000;this._allowDirtySubmit=true;this._dirty=false;this._dirtyFormId=null;this._submitRequiresViewIdInput=true;this.djRequire=function x_djreq(_4){return _2["require"](_4);};this.getMessage=function x_gm(_5){if(!XSP.messages){XSP.messages=_2.i18n.getLocalization("ibm.xsp.widget.layout","xspClientDojo");}return XSP.messages[_5];};this.addPreSubmitListener=function x_apsl(_6,_7,_8,_9){this._pushListener(this.preSubmitListeners,_6,_8,_9,_7);};this.addQuerySubmitListener=function x_aqsl(_a,_b,_c,_d){this._pushListener(this.querySubmitListeners,_a,_c,_d,_b);};this._pushListener=function x_pl(_e,_f,_10,_11,_12){if(!_11){this._unnamedSubmitListenerCount++;_11="script"+this._unnamedSubmitListenerCount.toString();}else{for(var i=0;i<_e.length;i++){if(_11==_e[i].scriptId){return;}}}_e.push(new this._SubmitListener(_f,_12,_10,_11));};this._SubmitListener=function x_sl(_13,_14,_15,_16){this.formId=_13;this.clientId=_15;this.scriptId=_16;this.listener=_14;this.run=function xsl_r(_17){return this.listener(_17);};};this.canSubmit=function x_cs(){if(this.lastSubmit>0){var now=(new Date()).getTime();if(now<(this.lastSubmit+this.submitLatency)){return false;}}this.lastSubmit=(new Date()).getTime();return true;};this.allowSubmit=function x_as(){this.lastSubmit=0;};this.getSubmitValue=function x_gbv(){return this._submitValue;};this.setSubmitValue=function x_sbv(_18){this._submitValue=_18;this._submitValueSet=true;};this._processListeners=function x_pls(_19,_1a,_1b){for(var i=0;i<_19.length;i++){var _1c=_19[i];if(_1c.formId==_1a){if(typeof _1c.clientId=="undefined"||null==_1c.clientId||_1c.clientId==_1b){var _1d=_1c.run();if(_19==this.querySubmitListeners&&_1d==false){return _1d;}}}}return true;};this.setFocus=function $DDMQ_(_1e){var _1f=this.getElementById(_1e);if(null!=_1f){_1f.focus();}};this.alert=function x_al(s){alert(s);};this.error=function x_er(s){this.alert(s);};this.confirm=function x_cf(s){return _2.global.confirm(s);};this.prompt=function x_pt(msg,def){return _2.global.prompt(msg,def);};this.attachValidator=function x_av(_20,_21,_22){var _23=null;var v=null;if(arguments.length>3){for(var i=3;i<arguments.length;i++){var e=arguments[i];if(typeof e=="string"){_23=e;}else{if(!v){v=new Array();}v.push(e);}}}this.validators.push(new XSP._Validator(_20,_21,_22,v,_23));};
45this._Validator=function x_v(_24,_25,_26,_27,_28){this.clientId=_24;this.required=_25;this.converter=_26;this.validatorList=_27;this.multiSep=_28;};this.validateAll=function validateAll(_29,_2a,_2b){var _2c=true;if(!_2a){return _2c;}if(XSP.hasDijit()){var fdj=_1.byId(_29);if(fdj&&fdj.validate){_2c=fdj.validate();}}for(var i=0;i<this.validators.length;i++){if(!_2c&&!this.validateAllFields){return _2c;}var vc=this.validators[i];var _2d=this.findForm(vc.clientId);var fid=_2d?_2d.id:null;if(fid==_29){if(_2b){if(!this.startsWith(vc.clientId,_2b)){continue;}}var _2e=null;var _2f=this.getElementById(vc.clientId);if(XSP.hasDijit()){var dj=_1.byId(vc.clientId);if(dj){_2e=this.getDijitFieldValue(dj);}}if(_2e==null&&_2f&&!_2f.disabled){_2e=this.getFieldValue(_2f);}if(_2e!=null){if(_2a==2&&vc.required){if(!vc.required.validate(vc.clientId,_2e)){_2c=false;continue;}}if(_2e!=null&&_2e!=""){var _30=[_2e];if(typeof _2e=="string"&&vc.multiSep){_30=_2e.split(vc.multiSep);}for(var ii=0;ii<_30.length;ii++){_2e=_30[ii];if(typeof _2e=="string"){_2e=this.trim(_2e);if(vc.converter){_2e=vc.converter.convert(vc.clientId,_2e);if(_2e==null){_2c=false;continue;}}}if(_2a==2&&vc.validatorList){for(var j=0;
45j<vc.validatorList.length;j++){if(!vc.validatorList[j].validate(vc.clientId,_2e)){_2c=false;continue;}}}}}}}}return _2c;};this.getFieldValue=function getFieldValue(_31){if(_31){var _32=(!_31.type)?null:_31.type.toLowerCase();if(_32=="radio"||_32=="checkbox"){if(_31.checked){return _31.value;}return "";}else{if(_31.multiple){var sel="";for(var i=0;i<_31.options.length;i++){if(_31.options[i].selected){if(sel){sel+=",";}sel+=_31.options[i].value;}}return sel;}else{if(typeof _31.value!="undefined"){return _31.value;}}}}return null;};this.getDijitFieldValue=function getDijitFieldValue(dj){if(dj&&dj.getValue){return dj.getValue();}return null;};this.validationError=function validationError(_33,_34){this.error(_34);var e=this.getElementById(_33);if(XSP.hasDijit()){var _35=_1.byId(_33);if(_35){e=_35;}}if(e){if(e.select){e.select();}if(e.focus){e.focus();}}};this.DateConverter=function DateConverter(_36,_37){XSP.djRequire("dojo.date.locale");this.message=_37;this.dateFormat=_36;this.convert=function xdc_c(_38,_39){var _3a=XSP.getElementById(_38);try{var _3b=_2.date.locale.format(new Date(_39),{selector:"date",datePattern:this.dateFormat});var _3c=_2.date.locale.parse(_39,{selector:"date",datePattern:this.dateFormat});if(null==_3c){throw "invalid";}}catch(e){_3a.setAttribute("aria-invalid","true");XSP.validationError(_38,this.message);return null;}_3a.setAttribute("aria-invalid","false");return _3c;};};this.TimeConverter=function TimeConverter(_3d,_3e){XSP.djRequire("dojo.date.locale");this.message=_3e;this.timeFormat=_3d;this.convert=function xtc_c(_3f,_40){var _41=XSP.getElementById(_3f);try{var _42=_2.date.locale.format(new Date(_40),{selector:"time",timePattern:this.timeFormat});var _43=_2.date.locale.parse(_40,{selector:"time",timePattern:this.timeFormat});if(null==_43){throw "invalid";}}catch(e){_41.setAttribute("aria-invalid","true");XSP.validationError(_3f,this.message);return null;}_41.setAttribute("aria-invalid","false");return _43;};};this.DateTimeConverter=function DateTimeConverter(_44,_45,_46){XSP.djRequire("dojo.date.locale");this.message=_46;this.dateFormat=_44;this.timeFormat=_45;this.convert=function xdtc_c(_47,_48){var _49=XSP.getElementById(_47);try{var fmt=_2.i18n.getLocalization("dojo.cldr","gregorian");var _4a=fmt["dateTimeFormat-short"];var _4b=new RegExp(/\{\d\}(.*)\{\d\}/).exec(_4a),_4c=_4b&&_4b[1];var _4d=new RegExp(_2.date.locale.regexp({datePattern:this.dateFormat,timePattern:this.timeFormat,selector:"date"})).exec(_48),_4e=new RegExp(_2.date.locale.regexp({datePattern:this.dateFormat,timePattern:this.timeFormat,selector:"time"})).exec(_48);var _4f=_4d&&_4d[0],_50=_4e&&_4e[0];var _51=_48.indexOf(_4f),_52=_48.indexOf(_50);var _53="",_54="";if(_51!=-1&&_52!=-1){_53=_4f+_4c+_50;_54=_50+_4c+_4f;}var _55=_2.date.locale.parse(_53,{datePattern:this.dateFormat,timePattern:this.timeFormat})||_2.date.locale.parse(_54,{datePattern:this.dateFormat,timePattern:this.timeFormat});if(null==_55){throw "invalid";}}catch(e){_49.setAttribute("aria-invalid","true");XSP.validationError(_47,this.message);return null;}_49.setAttribute("aria-invalid","false");return _55;};};this.IntConverter=function IntConverter(_56){this.message=_56;this.convert=function xic_c(_57,_58){var _59=XSP.getElementById(_57);var _5a=/^-?\d+$/;if(_5a.test(_58)){_59.setAttribute("aria-invalid","false");return parseInt(_58);}_59.setAttribute("aria-invalid","true");XSP.validationError(_57,this.message);};};this.NumberConverter=function NumberConverter(dot,tho,_5b){this.message=_5b;this.convert=function xnc_c(_5c,_5d){var _5e=XSP.getElementById(_5c);if(-1!=_5d.indexOf(" ")&&("Â "==tho||"Â "==dot)){_5d=_5d.replace(" ","Â ");}while(_5d.indexOf(tho)>=0){_5d=_5d.replace(tho,"");}_5d=_5d.replace(dot,".");var _5f=/(^-?\d+(\.\d*)?([eE][-+]?\d+)?$)|(^-?\.\d+([eE][-+]?\d+)?$)/;if(_5f.test(_5d)){_5e.setAttribute("aria-invalid","false");return parseFloat(_5d);}_5e.setAttribute("aria-invalid","true");XSP.validationError(_5c,this.message);};};this.RequiredValidator=function RequiredValidator(_60){this.message=_60;this.validate=function xrv_v(_61,_62){var _63=XSP.getElementById(_61);if(_63){if(!_62){_63.setAttribute("aria-required","true");XSP.validationError(_61,this.message);return false;}}return true;};};this.DateTimeRangeValidator=function DateTimeRangeValidator(_64,_65,_66){XSP.djRequire("dojo.date.stamp");this.minTime=_64!=null?_2.date.stamp.fromISOString(_64):null;this.maxTime=_65!=null?_2.date.stamp.fromISOString(_65):null;this.message=_66;this.validate=function xdtrv_v(_67,_68){var _69=XSP.getElementById(_67);if(_69){if(typeof _68=="object"&&_68.getTime){var _6a=_68.getTime();if((this.minTime&&_6a<this.minTime)||(this.maxTime&&_6a>this.maxTime)){_69.setAttribute("aria-invalid","true");XSP.validationError(_67,this.message);return false;}_69.setAttribute("aria-invalid","false");}}return true;};};this.LengthValidator=function LengthValidator(min,max,_6b){this.min=min;this.max=max;this.message=_6b;this.validate=function xlv_v(_6c,_6d){var _6e=XSP.getElementById(_6c);if(_6e){if(typeof _6d=="string"){var len=_6d.length;if((this.min&&len<this.min)||(this.max&&len>this.max)){_6e.setAttribute("aria-invalid","true");XSP.validationError(_6c,this.message);return false;}_6e.setAttribute("aria-invalid","false");}}return true;};};this.NumberRangeValidator=function NumberRangeValidator(min,max,_6f){this.min=min;this.max=max;this.message=_6f;this.validate=function xnrv_v(_70,_71){var _72=XSP.getElementById(_70);if(_72){if(typeof _71=="number"){if((this.min&&_71<this.min)||(this.max&&_71>this.max)){_72.setAttribute("aria-invalid","true");XSP.validationError(_70,this.message);return false;}_72.setAttribute("aria-invalid","false");}}return true;};};this.RegExpValidator=function RegExpValidator(_73,_74){this.expr=_73;this.message=_74;this.validate=function xrev_v(_75,_76){var _77=XSP.getElementById(_75);
45if(_77){if(typeof _76=="string"){var re=new RegExp(this.expr);if(!re.test(_76)){_77.setAttribute("aria-invalid","true");XSP.validationError(_75,this.message);return false;}_77.setAttribute("aria-invalid","false");}}return true;};};this.ExpressionValidator=function ExpressionValidator(_78,_79){this.expr=_78;this.message=_79;this.validate=function xev_v(_7a,_7b){var _7c=XSP.getElementById(_7a);if(_7c){var _7d=_2.global.value;_2.global.value=_7b;var _7e=eval(this.expr);_2.global.value=_7d;if(!_7e){_7c.setAttribute("aria-invalid","true");XSP.validationError(_7a,this.message);return false;}_7c.setAttribute("aria-invalid","false");}return true;};};this._attachEventOrPartial=function x_aep(_7f){var _80=_7f.targetId;if(_80==null){_80=_7f.clientId;}var _81=_2.byId(_80);var _82=_7f.eventName;if(XSP.hasDijit()){var _83=this._getEventData(_81,_80,_82);_81=_83.targetNode;_82=_83.eventName;}if(!_81&&_7f.nonPartialEvent&&_82!="onClientLoad"){return;}var _84=[];var _85=false;var _86=false;if(_81&&_81.nodeName&&"FIELDSET"==_81.nodeName&&_81.id){if(_82=="onchange"&&_2.isIE){if(_2.isIE<=8){_85=true;}else{if(_81.getAttribute&&_81.getAttribute("onchangeTrigger")=="early-onclick"){_86=true;}}}if(_82=="onclick"){_85=true;}}if(_85||_86){var _87=_81.id;_2.query("input").forEach(function xaep_fi(_88){if(_88.name==_87){var _89=_88.type;_89=_89?_89.toLowerCase():"text";if("checkbox"==_89||"radio"==_89){_84.push(_88);}}});_85=_85&&(_84.length>0);_86=_86&&(_84.length>0);}if(_2.isIE&&_82=="onchange"&&_81.getAttribute&&_81.getAttribute("onchangeTrigger")=="early-onclick"){var _8a=false;if(_81&&_81.nodeName&&_81.type&&_81.nodeName.toLowerCase()=="input"&&(_81.type.toLowerCase()=="radio"||_81.type.toLowerCase()=="checkbox")){_8a=true;}if(_8a||_85||_86){var _8b=function xaep_boc(_8c){if(document.activeElement){var _8d=document.activeElement;_8d.blur();_8d.focus();}};if(_8a){_2.connect(_81,"onclick",_8b);}else{_2.forEach(_84,function xaep_fe_boc(_8e){_2.connect(_8e,"onclick",_8b);});}}}var _8f=0;var _90=function xaep_fpre(_91){if(_81&&_81.getAttribute){var _92=_81.getAttribute("href");if(_92&&XSP.endsWith(_92,"#")){_91.preventDefault();}}if(_7f.partialEvent){if(!(_91 instanceof MouseEvent)||((new Date()).getTime()>_8f+1000)){XSP.firePartial(_91,_7f.clientId,_80,_7f.execId,_7f.scriptName,_7f.valmode,_7f.partialRefreshId,_7f.partialOnStart,_7f.partialOnComplete,_7f.partialOnError);_8f=(new Date()).getTime();}}else{XSP.fireEvent(_91,_7f.clientId,_80,_7f.scriptName,_7f.nonPartialSubmit,_7f.valmode,_7f.execId);}};if(_82=="onClientLoad"){var _93=({type:"clientLoad",target:_81,cancelable:false,currentTarget:_81,preventDefault:function xocl_pd(){}});_90(_93);}else{if(!_85){_2.connect(_81,_82,_90);}else{_2.forEach(_84,function xaep_fg(_94){_2.connect(_94,_82,_90);});}}};this.attachEvent=function x_ae(_95,_96,_97,_98,_99,_9a,_9b){var _9c=({clientId:_95,targetId:_96,eventName:_97,scriptName:_98,valmode:_9a,execId:_9b,nonPartialEvent:true,nonPartialSubmit:_99,partialEvent:false,partialRefreshId:null,partialOnStart:null,partialOnComplete:null,partialOnError:null,rawArgs:arguments});return XSP._attachEventOrPartial(_9c);};this._getEventData=function x_cfde(_9d,_9e,_9f){var _a0=_1.byId(_9e);if(_a0&&_9f){if(!XSP._djEvents){XSP._djEvents=[];_2.forEach(["onLoad","onUnload","onChange","onSubmit","onReset","onSelect","onBlur","onFocus","onKeyDown","onKeyPress","onKeyUp","onClick","onDblClick","onMouseDown","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],function xcfde_m(e){XSP._djEvents[e.toLowerCase()]=e;});}var _a1=this._djEvents[_9f]||_9f;if(_2.isFunction(_a0[_a1])){if(_a1=="onFocus"&&_a0.declaredClass.indexOf("DateTextBox")!=-1){_9f="_onFocus";}else{_9f=_a1;}_9d=_a0;}}return {"targetNode":_9d,"eventName":_9f};};this.fireEvent=function x_fe(evt,_a2,_a3,_a4,_a5,_a6,_a7){var _a8=this.findForm(_a3);if(_a5&&(_a8==null||!this.canSubmit())){return false;}var _a9=this._doFireEvent(evt,_a8,_a2,_a4,_a5,_a6,_a7);if(_a5){if(_a9){window.onbeforeunload=null;_a8.submit();}else{this.allowSubmit();}}};this._doFireEvent=function x_dfe(evt,_aa,_ab,_ac,_ad,_ae,_af,_b0){var f=_aa;var _b1,_b2;this._submitValueSet=false;try{if(_ac!=null){if(_2.isString(_ac)&&_2.global[_ac]){_ac=_2.global[_ac];}if(_2.isFunction(_ac)){try{_b1=_ac(evt);}catch(err){if(_2.global.onerror&&err&&err.message&&err.fileName&&err.lineNumber){_2.global.onerror(err.message,err.fileName,err.lineNumber);return false;}throw err;}if(typeof _b1=="boolean"){if(!_b1){return false;}}else{if(!this._submitValueSet&&_b1){this._submitValue=_b1;}}}}_b2=this._submitValue;
45if(_b2!=undefined&&!_2.isString(_b2)){_b2=_2.isObject(_b2)?this.toJson(_b2):_b2.toString();}}finally{this._submitValue=undefined;}if(_ad){if(_ae===true){_ae=0;}if(_ae){_b1=this.validateAll(f.id,_ae,_af);if(!_b1){return false;}}var _b3=_ab||_b0||null;_b1=this._processListeners(this.querySubmitListeners,f.id,_b3);if(!_b1){return false;}this._processListeners(this.preSubmitListeners,f.id,_b3);if(_b1&&_ad){if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=_2.string.substitute(XSP.getMessage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _b4=null;_b4=f["$$xspsubmitid"];if(_b4){_b4.value=_ab||"";}_b4=f["$$xspexecid"];if(_b4){_b4.value=_af||"";}_b4=f["$$xspsubmitvalue"];if(_b4){_b4.value=(_b2!=undefined)?_b2:"";}_b4=f["$$xspsubmitscroll"];if(_b4){_b4.value=this._scrollPosition();}}return true;}return false;};this._scrollPosition=function _scrollPosition(){var _b5=window.pageXOffset||document.documentElement.scrollLeft||0;var _b6=window.pageYOffset||document.documentElement.scrollTop||0;return _b5+"|"+_b6;};this.scrollWindow=function scrollWindow(x,y){window.scrollTo(x,y);};this._setAllowDirtySubmit=function x_sads(_b7){this._allowDirtySubmit=_b7;};this._isAllowDirtySubmit=function x_iads(){return (this._allowDirtySubmit);};this._setDirty=function x_sd(_b8,_b9){this._dirty=_b8;this._dirtyFormId=_b9;};this._isDirty=function x_id(){return (this._dirty);};this._getDirtyFormId=function x_gdfi(){return (this._dirtyFormId);};this.attachDirtyListener=function x_adl(_ba){var _bb=this.findForm(_ba);if(_bb){var _bc=_2.byId(_ba);var _bd="onchange";if(XSP.hasDijit()){var _be=_1.byId(_ba);if(_be){if(_2.isFunction(_be["onChange"])&&!_2.isFunction(_be["isModifiedNotification"])){_bc=_be;_bd="onChange";}else{if(_2.isFunction(_be["enableModifiedNotification"])){_be.enableModifiedNotification();return;}}}}_2.connect(_bc,_bd,function xadl_sd(_bf){XSP._setDirty(true,_bb.id);});}};this.attachDirtyUnloadListener=function x_adul(_c0){window.onbeforeunload=function xadul_sd(_c1){if(XSP._isDirty()){return _c0;}};};this._validateDirtyForm=function x_vdf(_c2,_c3){var _c4=this.getElementById(_c2);var _c5=this.validateAll(_c4.id,2);
45if(false==_c5){this._setAllowDirtySubmit(false);return _c5;}_c5=this._processListeners(this.querySubmitListeners,_c4.id,_c3);if(false==_c5){this._setAllowDirtySubmit(false);}return _c5;};this._saveDirtyForm=function x_sdf(evt,_c6,_c7,_c8,_c9,_ca,_cb){var _cc=this.findForm(_c7);if(_c9&&(!_cc||!this.canSubmit())){return false;}var _cd=this._doFireSaveEvent(evt,_cc,_c6,_c8,_c9,_ca,_cb);if(_c9){if(_cd){window.onbeforeunload=null;_cc.submit();}else{this.allowSubmit();}}};this._doFireSaveEvent=function x_dfse(evt,_ce,_cf,_d0,_d1,_d2,_d3){var _d4=true;var _d5;if(this._submitValue!=null&&typeof this._submitValue!="undefined"){_d5=this._submitValue;}else{_d5="";}this._submitValue=undefined;if(_d0!=null){if(_2.isString(_d0)&&_2.global[_d0]){_d0=_2.global[_d0];}if(_2.isFunction(_d0)){try{_d4=_d0(evt);}catch(err){if(_2.global.onerror&&err&&err.message&&err.fileName&&err.lineNumber){_2.global.onerror(err.message,err.fileName,err.lineNumber);return false;}throw err;}if(typeof _d4=="boolean"){if(_d4==false){return false;}}else{if(!(typeof this._submitValue=="undefined")){_d5=this._submitValue;}else{if(!(typeof _d4=="undefined")){_d5=_d4;}}}}}if(_d5!=null&&typeof _d5!="string"){if(typeof _d5=="object"){_d5=this.toJson(_d5);}else{_d5=_d5.toString();}}if(_d1){this._processListeners(this.preSubmitListeners,_ce.id,_cf);if(_d4&&_d1){var f=_ce;if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=_2.string.substitute(XSP.getMessage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _d6=null;_d6=f["$$xspsubmitid"];if(_d6){_d6.value=_cf;}_d6=f["$$xspexecid"];if(_d6){_d6.value=_d3||"";}_d6=f["$$xspsubmitvalue"];if(_d6){_d6.value=(_d5!=undefined)?_d5:"";}_d6=f["$$xspsubmitscroll"];if(_d6){_d6.value=this._scrollPosition();}}return true;}return false;};this.attachPartial=function x_apar(_d7,_d8,_d9,_da,_db,_dc,_dd,_de,_df,_e0){var _e1=({clientId:_d7,targetId:_d8,eventName:_da,scriptName:_db,valmode:_dc,execId:_d9,nonPartialEvent:false,nonPartialSubmit:false,partialEvent:true,partialRefreshId:_dd,partialOnStart:_de,partialOnComplete:_df,partialOnError:_e0,rawArgs:arguments});return XSP._attachEventOrPartial(_e1);};this.firePartial=function x_fpar(evt,_e2,_e3,_e4,_e5,_e6,_e7,_e8,_e9,_ea){var _eb=XSP.findForm(_e3);if(!_eb||!XSP.canSubmit()){return false;}if(XSP._doFireEvent(evt,_eb,_e2,_e5,true,_e6,_e4)){var _ec={onStart:_e8,onComplete:_e9,onError:_ea};XSP._partialRefresh("post",_eb,_e7,_ec);}else{XSP.allowSubmit();}};this.partialRefreshGet=function x_prfsg(_ed,_ee){_ee=_ee||{};var _ef=XSP.findForm(_ee.formId||_ed);if(!_ef||!XSP.canSubmit()){return false;}this._partialRefresh("get",_ef,_ed,_ee);};this.partialRefreshPost=function x_prfsp(_f0,_f1){_f1=_f1||{};var _f2=XSP.findForm(_f1.formId||_f0);if(!_f2||!this.canSubmit()){return false;}if(_f1.immediate){_f1.valmode=0;}if(this._doFireEvent(null,_f2,_f1.clientId,null,true,_f1.valmode,_f1.execId,_f0)){this._partialRefresh("post",_f2,_f0,_f1);}else{this.allowSubmit();}};this._partialRefresh=function x_prfh(_f3,_f4,_f5,_f6){var _f7=_f4.action;var _f8="/xsp/.ibmxspres/";var _f9=_2.baseUrl;if(_f9.indexOf(_f8)>0&&_f4.baseURI){_f7=_f4.baseURI;}_f7+=(_f7.match(/\?/)?"&":"?")+"$$ajaxid="+encodeURIComponent(_f5);if(_f6.params&&_f3=="get"){if(typeof _f6.params=="object"){for(var key in _f6.params){var _fa=_f6.params[key];if(_fa){_f7+="&"+encodeURIComponent(key)+"="+encodeURIComponent(_fa);}else{if(_fa!=null&&typeof _fa!="undefined"){_f7+="&"+encodeURIComponent(key);if(""!=_fa){_f7+="="+encodeURIComponent(_fa);}}}}}else{if(typeof _f6.params=="string"){_f7+="&"+_f6.params;}}}if(_f6.refreshTargetId){_f5=_f6.refreshTargetId;}if(_f6.onStart){if(typeof _f6.onStart=="function"){_f6.onStart();}else{eval(_f6.onStart);}}var _fb=(_f5=="@none");var _fc=document.activeElement;if(_2.isIE&&_2.isIE<=8&&!_fb&&_fc&&_fc.nodeName&&(_fc.nodeName.toUpperCase()=="INPUT"||_fc.nodeName.toUpperCase()=="TEXTAREA")){var _fd=false;for(var _fe=_fc;_fe!=null;_fe=_fe.parentNode){if(_fe.id==_f5){_fd=true;break;}}if(_fd){_fc.blur();}}var _ff=function xfpre_l(_100,_101){var _102;if(_101.xhr&&_101.xhr.getResponseHeader("X-XspLocation")){_102=_101.xhr.getResponseHeader("X-XspLocation");}else{if(_101.xspLocation){_102=_101.xspLocation;}}if(_102){window.location=_102;return _100;}var _103;if(_101.xhr&&_101.xhr.getResponseHeader("X-XspRefreshId")){_103=_101.xhr.getResponseHeader("X-XspRefreshId");}else{if(_101.xspRefreshId){_103=_101.xspRefreshId;}}if(_103){_f5=_103;}if(_f5&&_f5!="@none"){XSP._replaceNode(_f5,_100);}XSP.allowSubmit();if(_f6.onComplete){if(typeof _f6.onComplete=="function"){_f6.onComplete();}else{eval(_f6.onComplete);}}return _100;};var _104=function xfpre_e(_105,_106){XSP.allowSubmit();if(_f6.onError){if(typeof _f6.onError=="function"){_f6.onError();}else{eval(_f6.onError);}return _105;}var _107=0;if(_106.xhr&&_106.xhr.status){_107=_106.xhr.status;}else{if(_106.xspStatus){_107=_106.xspStatus;}}var _108="";if(_106.xhr&&_106.xhr.responseText){_108=_106.xhr.responseText;}else{if(_106.xspResponseText){_108=_106.xspResponseText;}}if(_107!=200&&_107!=0&&_108){var _109=_108.search(/\<\!doctype html|\<html/i);var _10a=_109<0?-1:_108.search(/\<\/html\>/i);if(_109==0&&_10a>0&&"</html>"==XSP.trim(_108.substring(_10a))){_2.require("dojo.html");_2.addOnLoad(function xfpree_l(){_2.html.set(_2.body(),_108);});return _105;}else{if(_105.body){_2.require("dojo.html");_2.addOnLoad(function(){_2.html.set(_2.body(),_105.body.childNodes);});return _105;}}}
45var txt=XSP.getMessage("updateProblem");if(_105.message){txt+="\n "+_105.message;}XSP.error(txt);return _105;};if(_f3=="get"){var vid=_f4["$$viewid"].value;if(vid){_f7+="&"+"$$viewid="+vid;}_2.xhrGet({url:_f7,handleAs:"text",timeout:XSP.submitLatency,load:_ff,error:_104});}else{var _10b=this._requireIframe(_f4);if(!_10b){_2.xhrPost({url:_f7,handleAs:"text",form:_f4,timeout:XSP.submitLatency,load:_ff,error:_104,content:_f6.params});}else{if(typeof _f6.params=="object"){_f6.params["$$ajax-iframe-envelope"]=1;}else{_f6.params={"$$ajax-iframe-envelope":1};}_2.require("dojo.io.iframe");_2.io.iframe.send({url:_f7,method:"POST",handleAs:"html",form:_f4,timeout:XSP.submitLatency,load:function $DDMP_(_10c,_10d){try{if(_10c&&_10c.documentElement&&_10c.documentElement.id=="$$ajax-iframe-envelope"){var json=_10c.documentElement.childNodes[1].firstChild.innerHTML;_2.require("dojo.json");json=_2.json.parse(json,true);if(null!=json){_10d.xspStatus=json.xspStatus;_10d.xspLocation=json.xspLocation;_10d.xspRefreshId=json.xspRefreshId;_2.require("dojox.html.entities");var _10e=dojox.html.entities.decode(json.xspData);if(json.xspStatus!=200&&json.xspStatus!=0){_10d.xspResponseText=_10e;_104(_10e,_10d);}else{_ff(_10e,_10d);}if(_f4.hasAttribute("target")){_f4.removeAttribute("target");}}}else{throw "NotAjaxIframeEnvelopeResponseError";}}catch(e){_10d.xspStatus=500;if(_10c&&_10c.documentElement){_10d.xspResponseText=_10c.documentElement.innerHTML;}_104(_10c,_10d);}return _10c;},error:_104,content:_f6.params});}}};this._requireIframe=function x_ri(form){var elt=form.elements;for(var i=0;i<elt.length;i++){if(elt[i].type=="file"&&elt[i].files&&elt[i].files.length&&elt[i].files.length>0){return true;}}return false;};this._replaceNode=function x_rn(_10f,_110){var _111=widget=null;if(_1.byId){widget=_1.byId(_10f);if(widget){_111=widget.domNode;var _112=_1.byId(_10f+"_Container");if(_112){widget=_112;_111=_112.domNode;}}}_111=_111||_2.byId(_10f);if(!_111){var msg=_2.string.substitute(XSP.getMessage("noElementId"),[_10f]);throw {message:msg,description:msg};}var _113=function xrn_e(_114,_115){var _116=_110.indexOf(_114);if(_116>=0){var _117=_110.lastIndexOf(_115);if(_117>=0){var _118=_110.substring(_116+_114.length,_117);_110=_110.substring(0,_116)+_110.substring(_117+_115.length);return _118;}}};var _119=_113("<!-- XSP_UPDATE_HEADER_START -->\n","<!-- XSP_UPDATE_HEADER_END -->\n");if(_119){this.execScripts(this.processScripts(_119,true));}if(widget){var _11a=widget.hasChildren?widget.hasChildren():false;if(_11a){widget.destroyDescendants();}widget.destroyRecursive(true);}else{if(_1.findWidgets){_2.forEach(_1.findWidgets(_111),function xrnl_fe(w){var _11b=w.hasChildren?w.hasChildren():false;if(_11b){w.destroyDescendants();}w.destroyRecursive(true);});}}var _11c=_113("<!-- XSP_UPDATE_SCRIPT_START -->","<!-- XSP_UPDATE_SCRIPT_END -->\n");var _11d=this.processScripts(_110,true);var dom=this.processScripts(_110,false);if(dom){_2.place(dom,_111,"replace");}else{_111.parentNode.removeChild(_111);}if(_11d){this.execScripts(_11d);}if(_11c){this.execScripts(this.processScripts(_11c,true));}this.parseDojo(_2.byId(_10f));this._loaded();};this.processScripts=function x_ps(s,ex){var rg=new RegExp("(<script[^>]*>[\\S\\s]*?</script>)","img");if(ex){var a=[];s.replace(rg,function xps_fs(all,scr){var _11e=scr.indexOf(">");if(scr.substring(0,_11e).indexOf("dojo/")<0){var end=scr.lastIndexOf("<");a.push(scr.substring(_11e+1,end));}});return a;}else{return s.replace(rg,function xps_rs(all,scr){var _11f=scr.indexOf(">");return scr.substring(0,_11f).indexOf("dojo/")<0?"":scr;});}};this.execScripts=function x_es(a){_2.forEach(a,function xrnfe2_fe(sc){var _120=sc.indexOf("<!--");if(-1!=_120){var _121=XSP.trim(sc);if(_121.length>=4&&-1!=_121.lastIndexOf("<!--",4)){sc=sc.substring(0,_120)+"//"+sc.substring(_120+4);}}_2.eval(sc);});};this.parseDojo=function x_pd(node){if(node&&_2.parser){if(node.getAttribute("dojoType")||node.getAttribute("data-dojo-type")){_2.parser.instantiate([node]);}_2.parser.parse(node);}};this.attachSimpleConfirmSubmit=function x_ascs(_122,_123,_124,_125){var id=_123||_122;var _126=_2.byId(id);_2.connect(_126,_124,function xascs_fscs(e){XSP._fireSimpleConfirmSubmit(_122,id,_125);});};this._fireSimpleConfirmSubmit=function x_fscs(_127,_128,_129){if(this.canSubmit()){var f=this.findForm(_128);if(f){if(XSP.confirm(_129)){if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=_2.string.substitute(XSP.getMe
45ssage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _12a=f["$$xspsubmitid"];if(_12a){_12a.value=_127;}_12a=f["$$xspsubmitscroll"];if(_12a){_12a.value=this._scrollPosition();}f.submit();}}}return false;};this.attachClientFunction=function x_acf(_12b,_12c,_12d){var node=_2.byId(_12b);_2.connect(node,_12c,function xacf_cssn(_12e){_12d(_12e);});};this.attachClientScript=function x_acs(_12f,_130,_131){var node=_2.byId(_12f);_2.connect(node,_130,function xacs_e(_132){eval(_131);});};this.tagCloudSliderOnChange=function x_tcsoc(_133,_134){try{var s=_2.byId(_134);if(s){_2.query("a",s).forEach(function xtcsoc_e(a){var _135=a.className.match(/(\d+)/);if(_135){a.style.display=(_135[0]>=_133)?"inline":"none";}});}}catch(e){alert(e);}};this.publishEvent=function x_pubv(_136,_137,_138){};this.dispatchEvent=function x_dspv(_139,name,_13a,_13b){var l=_2.query(".XspHandler-"+name);if(l.length>0){var o={name:name,source:_139,value:_13a,nativeEvent:_13b};this._submitValue=_13a;for(var i=0;i<l.length;i++){l[i].onclick(o);}this._submitValue=undefined;}};this.setComponentMode=function x_setp(mode,_13c){};this.addOnLoad=function x_aol(_13d){if(!this._listeningForDojoOnload){this._listeningForDojoOnload=true;_2.addOnLoad(this,"_loaded");}this._onLoadListeners.push(_13d);};this._loaded=function x_l(){_2.forEach(this._onLoadListeners,function xl_l(_13e){_13e();});this._onLoadListeners=[];};this.attachViewColumnCheckboxToggler=function x_avcct(_13f,_140){var _141=_140+":_hdrcbox";
45_2.connect(_2.byId(_141),"onclick",function xavcct_c(){XSP._toggleViewColumnCheckBoxes(_13f,_140);});XSP._toggleViewColumnCheckBoxes(_13f,_140);};this._toggleViewColumnCheckBoxes=function x_tvccb(_142,_143){var cbox=this.getElementById(_143+":_hdrcbox");if(cbox){_2.query("input[type=checkbox]").forEach(function xtvccb_e(node){if(XSP.startsWith(node.name,_142)&&XSP.endsWith(node.name,":_colcbox")){node.checked=cbox.checked;}});}};this.isViewPanelRowSelected=function x_ivprs(_144,ckId){var res=false;_2.query("input[type=checkbox]:checked").forEach(function xivprs_e(node){if(XSP.startsWith(node.name,_144)&&XSP.endsWith(node.name,ckId)){res=true;}});return res;};this.initSectionScript=function x_iss(_145,_146,_147){if(_147){var _148=_2.byId(_146+"_open");var _149=_2.byId(_146+"_close");var _14a=_2.byId(_146+"_contents");var _14b="none"!=_14a.style.display;if(_14b){_148.style.display="inline";_149.style.display="none";if(!_2.isIE){var _14c=_2.byId(_146+"_lk_open");var _14d=_2.byId(_146+"_lk_close");XSP._moveAttr(_14d,_14c,"accesskey");XSP._moveAttr(_14d,_14c,"tabindex");}}else{_148.style.display="none";_149.style.display="inline";}if(_2.isIE){var _14d=_2.byId(_146+"_lk_close");var _14e=_14d.getAttribute("accesskey");_14d.removeAttribute("accesskey");_14d.setAttribute("accessKey",_14e);var _14f=_14d.getAttribute("tabindex");_14d.removeAttribute("tabindex");_14d.setAttribute("tabIndex",_14f);if(_14b){var _14c=_2.byId(_146+"_lk_open");XSP._moveAttr(_14d,_14c,"accessKey");XSP._moveAttr(_14d,_14c,"tabIndex");}}}var node=_2.byId(_145);_2.connect(node,"onclick",function xiss_oc(_150){XSP.showSection(_146,_147);});_2.connect(node,"onkeyup",function xiss_oku(_151){if(_151.keyCode==13||_151.keyCode==32){XSP.showSection(_146,_147);}});};this.showSection=function x_ss(_152,show){var _153=_2.byId(_152+"_open");var _154=_2.byId(_152+"_close");var _155=_2.byId(_152+"_lk_open");var _156=_2.byId(_152+"_lk_close");var _157=_2.byId(_152+"_contents");var _158=_2.byId(_152);var form=this.findForm(_152);if(_153&&_154&&_155&&_156&&_157&&form){if(show){_153.style.display="inline";_154.style.display="none";_157.style.display="block";form.elements[_152+"_closed"].value="false";_158.setAttribute("aria-expanded","true");}else{_153.style.display="none";_154.style.display="inline";_157.style.display="none";form.elements[_152+"_closed"].value="true";_158.setAttribute("aria-expanded","false");}var _159=show?_156:_155;var _15a=show?_155:_156;XSP._moveAttr(_159,_15a,(_2.isIE?"accessKey":"accesskey"));XSP._moveAttr(_159,_15a,(_2.isIE?"tabIndex":"tabindex"));if(_15a.focus){_15a.focus();}}};this._moveAttr=function x_ma(_15b,_15c,_15d){var _15e=_15b.getAttribute(_15d);if(_15e){_15c.setAttribute(_15d,_15e);}_15b.removeAttribute(_15d);};this.findForm=function x_ff(_15f){return this.findParentByTag(_15f,"form")||_2.doc.forms[0];};this.findParentByTag=function x_fp(_160,tag){if(_2.isString(_160)){var node=_2.byId(_160);if(!node&&XSP.hasDijit()){node=_1.byId(_160);if(node){node=node.domNode;}}_160=node;}tag=tag.toLowerCase();while(_160){var _161=_160.tagName.toLowerCase();if(_161==tag){return _160;}if(_161=="body"){return null;}_160=_160.parentNode;}return null;};this.getElementById=function x_gbi(_162){return _2.byId(_162);};this.hasDijit=function x_hdj(){return typeof _1!="undefined"&&typeof _1.byId!="undefined";};this.trim=function x_trim(s){return s?s.replace(/^\s+|\s+$/g,""):s;};this.startsWith=function x_sw(s,_163){return s.length>=_163.length&&s.substring(0,_163.length)==_163;};this.endsWith=function x_ew(s,_164){return s.length>=_164.length&&s.substring(s.length-_164.length)==_164;};this.serialize=function xm_ser(o){if(typeof o=="object"){return _2.toJson(o);}return o.toString();};this.toJson=function x_tjson(o){return _2.toJson(o);};this.fromJson=function x_fjson(s){return _2.fromJson(s);};this.log=function x_lg(_165){XSP.djRequire("ibm.xsp.widget.layout.xspClientDebug");_2.addOnLoad(function xlg_l(){XSP.logw(_165);});};};if(typeof _2.global.XSP=="undefined"){_2.global.XSP=new _3();}});} 46 47}}); 48require({cache:{}}); 49
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.