PageSourceSearch

https://huecija.es/xsp/.ibmxspres/dojoroot-1.9.7/ibm/xsp/widget/layout/layers/xspClientDojo.js

js huecija.es collected 2026-09-27 21:57:42 UTC 59,662 bytes, 5 lines download raw bytes

1/* ***************************************************************** */
2/* Copyright IBM Corp. 2005, 2013  All Rights Reserved.              */
3/* ***************************************************************** */
4//>>built
5require({cache:{"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(_1,_2){var _3={};_1.setObject("dojo.date.stamp",_3);_3.fromISOString=function $DDVf_(_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 $DDVg_(_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;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_18,_19,has,_1a,_1b,_1c,xhr,_1d,_1e){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _1f=_18.i18n={},_20=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_21=function $DDaO_(_22,_23,_24,_25){for(var _26=[_24+_25],_27=_23.split("-"),_28="",i=0;i<_27.length;i++){_28+=(_28?"-":"")+_27[i];if(!_22||_22[_28]){_26.push(_24+_28+"/"+_25);_26.specificity=_28;}}return _26;},_29={},_2a=function $DDaP_(_2b,_2c,_2d){_2d=_2d?_2d.toLowerCase():_18.locale;_2b=_2b.replace(/\./g,"/");_2c=_2c.replace(/\./g,"/");return (/root/i.test(_2d))?(_2b+"/nls/"+_2c):(_2b+"/nls/"+_2d+"/"+_2c);},_2e=_18.getL10nName=function(_2f,_30,_31){return _2f=_1e.id+"!"+_2a(_2f,_30,_31);},_32=function $DDaQ_(_33,_34,_35,_36,_37,_38){_33([_34],function(_39){var _3a=_1c.clone(_39.root||_39.ROOT),_3b=_21(!_39._v1x&&_39,_37,_35,_36);_33(_3b,function(){for(var i=1;i<_3b.length;i++){_3a=_1c.mixin(_1c.clone(_3a),arguments[i]);}var _3c=_34+"/"+_37;_29[_3c]=_3a;_3a.$locale=_3b.specificity;_38();});});},_3d=function $DDaR_(id,_3e){return /^\./.test(id)?_3e(id):id;},_3f=function $DDaS_(_40){var _41=_1b.extraLocale||[];_41=_1c.isArray(_41)?_41:[_41];_41.push(_40);return _41;},_42=function $DDaT_(id,_43,_44){if(has("dojo-preload-i18n-Api")){var _45=id.split("*"),_46=_45[1]=="preload";if(_46){if(!_29[id]){_29[id]=1;_47(_45[2],_1d.parse(_45[3]),1,_43);}_44(1);}if(_46||_48(id,_43,_44)){return;}}var _49=_20.exec(id),_4a=_49[1]+"/",_4b=_49[5]||_49[4],_4c=_4a+_4b,_4d=(_49[5]&&_49[4]),_4e=_4d||_18.locale||"",_4f=_4c+"/"+_4e,_50=_4d?[_4e]:_3f(_4e),_51=_50.length,_52=function $DDaU_(){if(!--_51){_44(_1c.delegate(_29[_4f]));}};_1a.forEach(_50,function(_53){var _54=_4c+"/"+_53;if(has("dojo-preload-i18n-Api")){_55(_54);}if(!_29[_54]){_32(_43,_4c,_4a,_4b,_53,_52);}else{_52();}});};if(has("dojo-unit-tests")){var _56=_1f.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _57=_1f.normalizeLocale=function(_58){var _59=_58?_58.toLowerCase():_18.locale;return _59=="root"?"ROOT":_59;},_5a=function $DDaV_(mid,_5b){return (1&&1)?_5b.isXdUrl(_19.toUrl(mid+".js")):true;},_5c=0,_5d=[],_47=_1f._preloadLocalizations=function(_5e,_5f,_60,_61){_61=_61||_19;function _62(mid,_63){if(_5a(mid,_61)||_60){_61([mid],_63);}else{_82([mid],_63,_61);}};function _64(_65,_66){var _67=_65.split("-");while(_67.length){if(_66(_67.join("-"))){return;}_67.pop();}_66("ROOT");};function _68(){_5c++;};function _69(){--_5c;while(!_5c&&_5d.length){_42.apply(null,_5d.shift());}};function _6a(_6b,_6c,loc,_6d){return _6d.toAbsMid(_6b+_6c+"/"+loc);};function _6e(_6f){_6f=_57(_6f);_64(_6f,function(loc){if(_1a.indexOf(_5f,loc)>=0){var mid=_5e.replace(/\./g,"/")+"_"+loc;_68();_62(mid,function(_70){for(var p in _70){var _71=_70[p],_72=p.match(/(.+)\/([^\/]+)$/),_73,_74;if(!_72){continue;}_73=_72[2];_74=_72[1]+"/";_71._localized=_71._localized||{};var _75;if(loc==="ROOT"){var _76=_75=_71._localized;delete _71._localized;_76.root=_71;_29[_19.toAbsMid(p)]=_76;}else{_75=_71._localized;_29[_6a(_74,_73,loc,_19)]=_71;}if(loc!==_6f){function _77(_78,_79,_7a,_7b){var _7c=[],_7d=[];_64(_6f,function(loc){if(_7b[loc]){_7c.push(_19.toAbsMid(_78+loc+"/"+_79));_7d.push(_6a(_78,_79,loc,_19));}});if(_7c.length){_68();_61(_7c,function(){for(var i=0;i<_7c.length;i++){_7a=_1c.mixin(_1c.clone(_7a),arguments[i]);_29[_7d[i]]=_7a;}_29[_6a(_78,_79,_6f,_19)]=_1c.clone(_7a);_69();});}else{_29[_6a(_78,_79,_6f,_19)]=_7a;}};_77(_74,_73,_71,_75);}}_69();});return true;}return false;});};_6e();
5_1a.forEach(_18.config.extraLocale,_6e);},_48=function $DDaW_(id,_7e,_7f){if(_5c){_5d.push([id,_7e,_7f]);}return _5c;},_55=function $DDaX_(){};}if(1){var _80={},_81=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;"+"}"),_82=function $DDaY_(_83,_84,_85){var _86=[];_1a.forEach(_83,function(mid){var url=_85.toUrl(mid+".js");function _42(_87){var _88=_81(_87,_55,mid,_80);if(_88===_80){_86.push(_29[url]=_80.result);}else{if(_88 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_88);_88={};}_86.push(_29[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_88:{root:_88,_v1x:1}));}};if(_29[url]){_86.push(_29[url]);}else{var _89=_85.syncLoadNls(mid);if(!_89){_89=_55(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_89){_86.push(_89);}else{if(!xhr){try{_85.getText(url,true,_42);}catch(e){_86.push(_29[url]={});}}else{xhr.get({url:url,sync:true,load:_42,error:function $DDaN_(){_86.push(_29[url]={});}});}}}});_84&&_84.apply(null,_86);};_55=function $DDaZ_(_8a){for(var _8b,_8c=_8a.split("/"),_8d=_18.global[_8c[0]],i=1;_8d&&i<_8c.length-1;_8d=_8d[_8c[i++]]){}if(_8d){_8b=_8d[_8c[i]];if(!_8b){_8b=_8d[_8c[i].replace(/-/g,"_")];}if(_8b){_29[_8a]=_8b;}}return _8b;};_1f.getLocalization=function $DDaa_(_8e,_8f,_90){var _91,_92=_2a(_8e,_8f,_90);_42(_92,(!_5a(_92,_19)?function(_93,_94){_82(_93,_94,_19);}:_19),function(_95){_91=_95;});return _91;};if(has("dojo-unit-tests")){_56.push(function(doh){doh.register("tests.i18n.unit",function(t){var _96;_96=_81("{prop:1}",_55,"nonsense",_80);t.is({prop:1},_96);t.is(undefined,_96[1]);_96=_81("({prop:1})",_55,"nonsense",_80);t.is({prop:1},_96);t.is(undefined,_96[1]);_96=_81("{'prop-x':1}",_55,"nonsense",_80);t.is({"prop-x":1},_96);t.is(undefined,_96[1]);_96=_81("({'prop-x':1})",_55,"nonsense",_80);t.is({"prop-x":1},_96);t.is(undefined,_96[1]);_96=_81("define({'prop-x':1})",_55,"nonsense",_80);t.is(_80,_96);t.is({"prop-x":1},_80.result);_96=_81("define('some/module', {'prop-x':1})",_55,"nonsense",_80);t.is(_80,_96);t.is({"prop-x":1},_80.result);_96=_81("this is total nonsense and should throw an error",_55,"nonsense",_80);t.is(_96 instanceof Error,true);});});}}return _1c.mixin(_1f,{dynamic:true,normalize:_3d,load:_42,cache:_29,getL10nName:_2e});});},"dojo/require":function(){define(["./_base/loader"],function(_97){return {dynamic:0,normalize:function $DDNF_(id){return id;},load:_97.require};});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_98,_99,_9a,_9b,_9c,dom,_9d,_9e,_9f,all,_a0,_a1,has,_a2,don,_a3){new Date("X");function _a4(_a5){return eval("("+_a5+")");};var _a6=0;_9f.after(_9a,"extend",function(){_a6++;},true);function _a7(_a8){var map=_a8._nameCaseMap,_a9=_a8.prototype;if(!map||map._extendCnt<_a6){map=_a8._nameCaseMap={};for(var _aa in _a9){if(_aa.charAt(0)==="_"){continue;}map[_aa.toLowerCase()]=_aa;}map._extendCnt=_a6;}return map;};var _ab={};function _ac(_ad,_ae){var ts=_ad.join();if(!_ab[ts]){var _af=[];for(var i=0,l=_ad.length;i<l;i++){var t=_ad[i];_af[_af.length]=(_ab[t]=_ab[t]||(_9a.getObject(t)||(~t.indexOf("/")&&(_ae?_ae(t):_98(t)))));}var _b0=_af.shift();_ab[ts]=_af.length?(_b0.createSubclass?_b0.createSubclass(_af):_b0.extend.apply(_b0,_af)):_b0;}return _ab[ts];};
vendor: 5,267 bytes, line 5
5var _b1={_clearCache:function $DDSr_(){_a6++;_ab={};},_functionFromScript:function $DDSs_(_b2,_b3){var _b4="",_b5="",_b6=(_b2.getAttribute(_b3+"args")||_b2.getAttribute("args")),_b7=_b2.getAttribute("with");var _b8=(_b6||"").split(/\s*,\s*/);if(_b7&&_b7.length){_9b.forEach(_b7.split(/\s*,\s*/),function(_b9){_b4+="with("+_b9+"){";_b5+="}";});}return new Function(_b8,_b4+_b2.innerHTML+_b5);},instantiate:function $DDSt_(_ba,_bb,_bc){_bb=_bb||{};_bc=_bc||{};var _bd=(_bc.scope||_99._scopeName)+"Type",_be="data-"+(_bc.scope||_99._scopeName)+"-",_bf=_be+"type",_c0=_be+"mixins";var _c1=[];_9b.forEach(_ba,function(_c2){var _c3=_bd in _bb?_bb[_bd]:_c2.getAttribute(_bf)||_c2.getAttribute(_bd);if(_c3){var _c4=_c2.getAttribute(_c0),_c5=_c4?[_c3].concat(_c4.split(/\s*,\s*/)):[_c3];_c1.push({node:_c2,types:_c5});}});return this._instantiate(_c1,_bb,_bc);},_instantiate:function $DDSu_(_c6,_c7,_c8,_c9){var _ca=_9b.map(_c6,function(obj){var _cb=obj.ctor||_ac(obj.types,_c8.contextRequire);if(!_cb){throw new Error("Unable to resolve constructor for: '"+obj.types.join()+"'");}return this.construct(_cb,obj.node,_c7,_c8,obj.scripts,obj.inherited);},this);function _cc(_cd){if(!_c7._started&&!_c8.noStart){_9b.forEach(_cd,function(_ce){if(typeof _ce.startup==="function"&&!_ce._started){_ce.startup();}});}return _cd;};if(_c9){return all(_ca).then(_cc);}else{return _cc(_ca);}},construct:function $DDSv_(_cf,_d0,_d1,_d2,_d3,_d4){var _d5=_cf&&_cf.prototype;_d2=_d2||{};var _d6={};if(_d2.defaults){_9a.mixin(_d6,_d2.defaults);}if(_d4){_9a.mixin(_d6,_d4);}var _d7;if(has("dom-attributes-explicit")){_d7=_d0.attributes;}else{if(has("dom-attributes-specified-flag")){_d7=_9b.filter(_d0.attributes,function(a){return a.specified;});}else{var _d8=/^input$|^img$/i.test(_d0.nodeName)?_d0:_d0.cloneNode(false),_d9=_d8.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_d7=_9b.map(_d9.split(/\s+/),function(_da){var _db=_da.toLowerCase();return {name:_da,value:(_d0.nodeName=="LI"&&_da=="value")||_db=="enctype"?_d0.getAttribute(_db):_d0.getAttributeNode(_db).value};});}}var _dc=_d2.scope||_99._scopeName,_dd="data-"+_dc+"-",_de={};if(_dc!=="dojo"){_de[_dd+"props"]="data-dojo-props";_de[_dd+"type"]="data-dojo-type";_de[_dd+"mixins"]="data-dojo-mixins";_de[_dc+"type"]="dojoType";_de[_dd+"id"]="data-dojo-id";}var i=0,_df,_e0=[],_e1,_e2;while(_df=_d7[i++]){var _e3=_df.name,_e4=_e3.toLowerCase(),_e5=_df.value;switch(_de[_e4]||_e4){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_e2=_e5;break;case "data-dojo-id":case "jsid":_e1=_e5;break;case "data-dojo-attach-point":case "dojoattachpoint":_d6.dojoAttachPoint=_e5;break;case "data-dojo-attach-event":case "dojoattachevent":_d6.dojoAttachEvent=_e5;break;case "class":_d6["class"]=_d0.className;break;case "style":_d6["style"]=_d0.style&&_d0.style.cssText;break;default:if(!(_e3 in _d5)){var map=_a7(_cf);_e3=map[_e4]||_e3;}if(_e3 in _d5){switch(typeof _d5[_e3]){case "string":_d6[_e3]=_e5;break;case "number":_d6[_e3]=_e5.length?Number(_e5):NaN;break;case "boolean":_d6[_e3]=_e5.toLowerCase()!="false";break;case "function":if(_e5===""||_e5.search(/[^\w\.]+/i)!=-1){_d6[_e3]=new Function(_e5);}else{_d6[_e3]=_9a.getObject(_e5,false)||new Function(_e5);}_e0.push(_e3);break;default:var _e6=_d5[_e3];_d6[_e3]=(_e6&&"length" in _e6)?(_e5?_e5.split(/\s*,\s*/):[]):(_e6 instanceof Date)?(_e5==""?new Date(""):_e5=="now"?new Date():_a0.fromISOString(_e5)):(_e6 instanceof _9e)?(_99.baseUrl+_e5):_a4(_e5);}}else{_d6[_e3]=_e5;}}}for(var j=0;j<_e0.length;j++){var _e7=_e0[j].toLowerCase();_d0.removeAttribute(_e7);_d0[_e7]=null;}if(_e2){try{_e2=_a4.call(_d2.propsThis,"{"+_e2+"}");_9a.mixin(_d6,_e2);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_e2+"'");}}_9a.mixin(_d6,_d1);if(!_d3){_d3=(_cf&&(_cf._noScript||_d5._noScript)?[]:_a2("> script[type^='dojo/']",_d0));}var _e8=[],_e9=[],_ea=[],ons=[];if(_d3){for(i=0;i<_d3.length;i++){var _eb=_d3[i];_d0.removeChild(_eb);var _ec=(_eb.getAttribute(_dd+"event")||_eb.getAttribute("event")),_ed=_eb.getAttribute(_dd+"prop"),_ee=_eb.getAttribute(_dd+"method"),_ef=_eb.getAttribute(_dd+"advice"),_f0=_eb.getAttribute("type"),nf=this._functionFromScript(_eb,_dd);if(_ec){if(_f0=="dojo/connect"){_e8.push({method:_ec,func:nf});}else{if(_f0=="dojo/on"){ons.push({event:_ec,func:nf});}else{_d6[_ec]=nf;}}}else{if(_f0=="dojo/aspect"){_e8.push({method:_ee,advice:_ef,func:nf});}else{if(_f0=="dojo/watch"){_ea.push({prop:_ed,func:nf});}else{_e9.push(nf);}}}}}var _f1=_cf.markupFactory||_d5.markupFactory;var _f2=_f1?_f1(_d6,_d0,_cf):new _cf(_d6,_d0);function _f3(_f4){if(_e1){_9a.setObject(_e1,_f4);}for(i=0;i<_e8.length;i++){_9f[_e8[i].advice||"after"](_f4,_e8[i].method,_9a.hitch(_f4,_e8[i].func),true);}for(i=0;i<_e9.length;i++){_e9[i].call(_f4);}for(i=0;i<_ea.length;i++){_f4.watch(_ea[i].prop,_ea[i].func);}for(i=0;i<ons.length;i++){don(_f4,ons[i].event,ons[i].func);}return _f4;};if(_f2.then){return _f2.then(_f3);}else{return _f3(_f2);}},scan:function $DDSw_(_f5,_f6){var _f7=[],_f8=[],_f9={};var _fa=(_f6.scope||_99._scopeName)+"Type",_fb="data-"+(_f6.scope||_99._scopeName)+"-",_fc=_fb+"type",_fd=_fb+"textdir",_fe=_fb+"mixins";var _ff=_f5.firstChild;var _100=_f6.inherited;
5if(!_100){function _101(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node.parentNode&&_101(node.parentNode,attr));};_100={dir:_101(_f5,"dir"),lang:_101(_f5,"lang"),textDir:_101(_f5,_fd)};for(var key in _100){if(!_100[key]){delete _100[key];}}}var _102={inherited:_100};var _103;var _104;function _105(_106){if(!_106.inherited){_106.inherited={};var node=_106.node,_107=_105(_106.parent);var _108={dir:node.getAttribute("dir")||_107.dir,lang:node.getAttribute("lang")||_107.lang,textDir:node.getAttribute(_fd)||_107.textDir};for(var key in _108){if(_108[key]){_106.inherited[key]=_108[key];}}}return _106.inherited;};while(true){if(!_ff){if(!_102||!_102.node){break;}_ff=_102.node.nextSibling;_104=false;_102=_102.parent;_103=_102.scripts;continue;}if(_ff.nodeType!=1){_ff=_ff.nextSibling;continue;}if(_103&&_ff.nodeName.toLowerCase()=="script"){type=_ff.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_103.push(_ff);}_ff=_ff.nextSibling;continue;}if(_104){_ff=_ff.nextSibling;continue;}var type=_ff.getAttribute(_fc)||_ff.getAttribute(_fa);var _109=_ff.firstChild;if(!type&&(!_109||(_109.nodeType==3&&!_109.nextSibling))){_ff=_ff.nextSibling;continue;}var _10a;var ctor=null;if(type){var _10b=_ff.getAttribute(_fe),_10c=_10b?[type].concat(_10b.split(/\s*,\s*/)):[type];try{ctor=_ac(_10c,_f6.contextRequire);}catch(e){}if(!ctor){_9b.forEach(_10c,function(t){if(~t.indexOf("/")&&!_f9[t]){_f9[t]=true;_f8[_f8.length]=t;}});}var _10d=ctor&&!ctor.prototype._noScript?[]:null;_10a={types:_10c,ctor:ctor,parent:_102,node:_ff,scripts:_10d};_10a.inherited=_105(_10a);_f7.push(_10a);}else{_10a={node:_ff,scripts:_103,parent:_102};}_103=_10d;_104=_ff.stopParser||(ctor&&ctor.prototype.stopParser&&!(_f6.template));_102=_10a;_ff=_109;}var d=new _a1();if(_f8.length){if(has("dojo-debug-messages")){console.warn("WARNING: Modules being Auto-Required: "+_f8.join(", "));}var r=_f6.contextRequire||_98;r(_f8,function(){d.resolve(_9b.filter(_f7,function(_10e){if(!_10e.ctor){try{_10e.ctor=_ac(_10e.types,_f6.contextRequire);}catch(e){}}var _10f=_10e.parent;while(_10f&&!_10f.types){_10f=_10f.parent;}var _110=_10e.ctor&&_10e.ctor.prototype;_10e.instantiateChildren=!(_110&&_110.stopParser&&!(_f6.template));_10e.instantiate=!_10f||(_10f.instantiate&&_10f.instantiateChildren);return _10e.instantiate;}));});}else{d.resolve(_f7);}return d.promise;},_require:function $DDSx_(_111,_112){var hash=_a4("{"+_111.innerHTML+"}"),vars=[],mids=[],d=new _a1();var _113=(_112&&_112.contextRequire)||_98;for(var name in hash){vars.push(name);mids.push(hash[name]);}_113(mids,function(){for(var i=0;i<vars.length;i++){_9a.setObject(vars[i],arguments[i]);}d.resolve(arguments);});return d.promise;},_scanAmd:function $DDSy_(root,_114){var _115=new _a1(),_116=_115.promise;_115.resolve(true);var self=this;_a2("script[type='dojo/require']",root).forEach(function(node){_116=_116.then(function(){return self._require(node,_114);});node.parentNode.removeChild(node);});return _116;},parse:function $DDSz_(_117,_118){var root;if(!_118&&_117&&_117.rootNode){_118=_117;root=_118.rootNode;}else{if(_117&&_9a.isObject(_117)&&!("nodeType" in _117)){_118=_117;}else{root=_117;}}root=root?dom.byId(root):_9d.body();_118=_118||{};var _119=_118.template?{template:true}:{},_11a=[],self=this;var p=this._scanAmd(root,_118).then(function(){return self.scan(root,_118);}).then(function(_11b){return self._instantiate(_11b,_119,_118,true);}).then(function(_11c){return _11a=_11a.concat(_11c);}).otherwise(function(e){console.error("dojo/parser::parse() error",e);throw e;});_9a.mixin(_11a,p);return _11a;}};if(1){_99.parser=_b1;}if(_9c.parseOnLoad){_a3(100,_b1,"parse");}return _b1;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_11d=function $DDZ7_(){var n=null,_11e=arguments,uri=[_11e[0]];for(var i=1;i<_11e.length;i++){if(!_11e[i]){continue;}var _11f=new _11d(_11e[i]+""),_120=new _11d(uri[0]+"");if(_11f.path==""&&!_11f.scheme&&!_11f.authority&&!_11f.query){if(_11f.fragment!=n){_120.fragment=_11f.fragment;}_11f=_120;}else{if(!_11f.scheme){_11f.scheme=_120.scheme;if(!_11f.authority){_11f.authority=_120.authority;if(_11f.path.charAt(0)!="/"){var path=_120.path.substring(0,_120.path.lastIndexOf("/")+1)+_11f.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_11f.path=segs.join("/");}}}}uri=[];if(_11f.scheme){uri.push(_11f.scheme,":");}if(_11f.authority){uri.push("//",_11f.authority);}uri.push(_11f.path);if(_11f.query){uri.push("?",_11f.query);}if(_11f.fragment){uri.push("#",_11f.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);
5this.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(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_11d.prototype.toString=function $DDZ8_(){return this.uri;};return dojo._Url=_11d;});},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(_121,_122,when){"use strict";var some=_121.some;return function all(_123){var _124,_121;if(_123 instanceof Array){_121=_123;}else{if(_123&&typeof _123==="object"){_124=_123;}}var _125;var _126=[];if(_124){_121=[];for(var key in _124){if(Object.hasOwnProperty.call(_124,key)){_126.push(key);_121.push(_124[key]);}}_125={};}else{if(_121){_125=[];}}if(!_121||!_121.length){return new _122().resolve(_125);}var _127=new _122();_127.promise.always(function(){_125=_126=null;});var _128=_121.length;some(_121,function(_129,_12a){if(!_124){_126.push(_12a);}when(_129,function(_12b){if(!_127.isFulfilled()){_125[_126[_12a]]=_12b;if(--_128===0){_127.resolve(_125);}}},_127.reject);return _127.isFulfilled();});return _127.promise;};});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_12c,lang){var _12d={};lang.setObject("dojo.string",_12d);_12d.rep=function $DDNB_(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("");};_12d.pad=function $DDNC_(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_12d.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_12d.substitute=function $DDND_(_12e,map,_12f,_130){_130=_130||_12c.global;_12f=_12f?lang.hitch(_130,_12f):function(v){return v;};return _12e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_131,key,_132){var _133=lang.getObject(key,false,map);if(_132){_133=lang.getObject(_132,false,_130).call(_130,_133,key);}return _12f(_133,key).toString();});};_12d.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _12d;});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_134,lang,_135,_136,dom,_137,_138){var _139=0;var html={_secureForInnerHtml:function $DDYD_(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_137.empty,_setNodeContent:function $DDYE_(node,cont){_137.empty(node);if(cont){if(typeof cont=="string"){cont=_137.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _13a=cont.length,i=0;i<cont.length;i=_13a==cont.length?i+1:0){_137.place(cont[i],node,"last");}}else{_137.place(cont,node,"last");}}return node;},_ContentSetter:_136("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_134._scopeName,startup:true,constructor:function $DDYF_(_13b,node){lang.mixin(this,_13b||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_139++].join("_");}},set:function $DDYG_(cont,_13c){if(undefined!==cont){this.content=cont;}if(_13c){this._mixin(_13c);}this.onBegin();this.setContent();var ret=this.onEnd();if(ret&&ret.then){return ret;}else{return this.node;}},setContent:function $DDYH_(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=html._setNodeContent(node,this.content);}catch(e){var _13d=this.onContentError(e);try{node.innerHTML=_13d;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function $DDYI_(){if(this.parseDeferred){if(!this.parseDeferred.isResolved()){this.parseDeferred.cancel();}delete this.parseDeferred;}if(this.parseResults&&this.parseResults.length){_135.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_137.empty(this.node);},onBegin:function $DDYJ_(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=html._secureForInnerHtml(cont);}if(this.extractContent){var _13e=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_13e){cont=_13e[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function $DDYK_(){if(this.parseContent){this._parse();}return this.node;},tearDown:function $DDYL_(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;}
5,onContentError:function $DDYM_(err){return "Error occurred setting content: "+err;},onExecError:function $DDYN_(err){return "Error occurred executing scripts: "+err;},_mixin:function $DDYO_(_13f){var _140={},key;for(key in _13f){if(key in _140){continue;}this[key]=_13f[key];}},_parse:function $DDYP_(){var _141=this.node;try{var _142={};_135.forEach(["dir","lang","textDir"],function(name){if(this[name]){_142[name]=this[name];}},this);var self=this;this.parseDeferred=_138.parse({rootNode:_141,noStart:!this.startup,inherited:_142,scope:this.parserScope}).then(function(_143){return self.parseResults=_143;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function $DDYQ_(type,err,_144){var _145=this["on"+type+"Error"].call(this,err);if(_144){console.error(_144,err);}else{if(_145){html._setNodeContent(this.node,_145,true);}}}}),set:function $DDYR_(node,cont,_146){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_146){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_146,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"ibm/xsp/widget/layout/xspClientDojo":function(){define("ibm/xsp/widget/layout/xspClientDojo",["dijit","dojo","dojo/i18n!ibm/xsp/widget/layout/nls/xspClientDojo","dojo/require!dojo/i18n,dojo/string,dojo/html"],function(_147,dojo){dojo.provide("ibm.xsp.widget.layout.xspClientDojo");dojo.require("dojo.i18n");dojo.require("dojo.string");dojo.requireLocalization("ibm.xsp.widget.layout","xspClientDojo");function _148(){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(name){return dojo["require"](name);};this.getMessage=function x_gm(msg){if(!XSP.messages){XSP.messages=dojo.i18n.getLocalization("ibm.xsp.widget.layout","xspClientDojo");}return XSP.messages[msg];};this.addPreSubmitListener=function x_apsl(_149,_14a,_14b,_14c){this._pushListener(this.preSubmitListeners,_149,_14b,_14c,_14a);};this.addQuerySubmitListener=function x_aqsl(_14d,_14e,_14f,_150){this._pushListener(this.querySubmitListeners,_14d,_14f,_150,_14e);};this._pushListener=function x_pl(_151,_152,_153,_154,_155){if(!_154){this._unnamedSubmitListenerCount++;_154="script"+this._unnamedSubmitListenerCount.toString();}else{for(var i=0;i<_151.length;i++){if(_154==_151[i].scriptId){return;}}}_151.push(new this._SubmitListener(_152,_155,_153,_154));};this._SubmitListener=function x_sl(_156,_157,_158,_159){this.formId=_156;this.clientId=_158;this.scriptId=_159;this.listener=_157;this.run=function xsl_r(_15a){return this.listener(_15a);};};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(_15b){this._submitValue=_15b;this._submitValueSet=true;};this._processListeners=function x_pls(_15c,_15d,_15e){for(var i=0;i<_15c.length;i++){var _15f=_15c[i];if(_15f.formId==_15d){if(typeof _15f.clientId=="undefined"||null==_15f.clientId||_15f.clientId==_15e){var _160=_15f.run();if(_15c==this.querySubmitListeners&&_160==false){return _160;}}}}return true;};this.setFocus=function $DDMP_(_161){var _162=this.getElementById(_161);if(null!=_162){_162.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 dojo.global.confirm(s);};this.prompt=function x_pt(msg,def){return dojo.global.prompt(msg,def);};this.attachValidator=function x_av(_163,_164,_165){var _166=null;var v=null;if(arguments.length>3){for(var i=3;i<arguments.length;i++){var e=arguments[i];if(typeof e=="string"){_166=e;}else{if(!v){v=new Array();}v.push(e);}}}this.validators.push(new XSP._Validator(_163,_164,_165,v,_166));};
5this._Validator=function x_v(_167,_168,_169,_16a,_16b){this.clientId=_167;this.required=_168;this.converter=_169;this.validatorList=_16a;this.multiSep=_16b;};this.validateAll=function validateAll(_16c,_16d,_16e){var _16f=true;if(!_16d){return _16f;}if(XSP.hasDijit()){var fdj=_147.byId(_16c);if(fdj&&fdj.validate){_16f=fdj.validate();}}for(var i=0;i<this.validators.length;i++){if(!_16f&&!this.validateAllFields){return _16f;}var vc=this.validators[i];var form=this.findForm(vc.clientId);var fid=form?form.id:null;if(fid==_16c){if(_16e){if(!this.startsWith(vc.clientId,_16e)){continue;}}var _170=null;var _171=this.getElementById(vc.clientId);if(XSP.hasDijit()){var dj=_147.byId(vc.clientId);if(dj){_170=this.getDijitFieldValue(dj);}}if(_170==null&&_171&&!_171.disabled){_170=this.getFieldValue(_171);}if(_170!=null){if(_16d==2&&vc.required){if(!vc.required.validate(vc.clientId,_170)){_16f=false;continue;}}if(_170!=null&&_170!=""){var _172=[_170];if(typeof _170=="string"&&vc.multiSep){_172=_170.split(vc.multiSep);}for(var ii=0;ii<_172.length;ii++){_170=_172[ii];if(typeof _170=="string"){_170=this.trim(_170);if(vc.converter){_170=vc.converter.convert(vc.clientId,_170);if(_170==null){_16f=false;continue;}}}if(_16d==2&&vc.validatorList){for(var j=0;
5j<vc.validatorList.length;j++){if(!vc.validatorList[j].validate(vc.clientId,_170)){_16f=false;continue;}}}}}}}}return _16f;};this.getFieldValue=function getFieldValue(node){if(node){var type=(!node.type)?null:node.type.toLowerCase();if(type=="radio"||type=="checkbox"){if(node.checked){return node.value;}return "";}else{if(node.multiple){var sel="";for(var i=0;i<node.options.length;i++){if(node.options[i].selected){if(sel){sel+=",";}sel+=node.options[i].value;}}return sel;}else{if(typeof node.value!="undefined"){return node.value;}}}}return null;};this.getDijitFieldValue=function getDijitFieldValue(dj){if(dj&&dj.getValue){return dj.getValue();}return null;};this.validationError=function validationError(_173,_174){this.error(_174);var e=this.getElementById(_173);if(XSP.hasDijit()){var _175=_147.byId(_173);if(_175){e=_175;}}if(e){if(e.select){e.select();}if(e.focus){e.focus();}}};this.DateConverter=function DateConverter(_176,_177){XSP.djRequire("dojo.date.locale");this.message=_177;this.dateFormat=_176;this.convert=function xdc_c(_178,_179){var _17a=XSP.getElementById(_178);try{var _17b=dojo.date.locale.format(new Date(_179),{selector:"date",datePattern:this.dateFormat});var _17c=dojo.date.locale.parse(_179,{selector:"date",datePattern:this.dateFormat});if(null==_17c){throw "invalid";}}catch(e){_17a.setAttribute("aria-invalid","true");XSP.validationError(_178,this.message);return null;}_17a.setAttribute("aria-invalid","false");return _17c;};};this.TimeConverter=function TimeConverter(_17d,_17e){XSP.djRequire("dojo.date.locale");this.message=_17e;this.timeFormat=_17d;this.convert=function xtc_c(_17f,_180){var _181=XSP.getElementById(_17f);try{var _182=dojo.date.locale.format(new Date(_180),{selector:"time",timePattern:this.timeFormat});var _183=dojo.date.locale.parse(_180,{selector:"time",timePattern:this.timeFormat});if(null==_183){throw "invalid";}}catch(e){_181.setAttribute("aria-invalid","true");XSP.validationError(_17f,this.message);return null;}_181.setAttribute("aria-invalid","false");return _183;};};this.DateTimeConverter=function DateTimeConverter(_184,_185,_186){XSP.djRequire("dojo.date.locale");this.message=_186;this.dateFormat=_184;this.timeFormat=_185;this.convert=function xdtc_c(_187,_188){var _189=XSP.getElementById(_187);try{var fmt=dojo.i18n.getLocalization("dojo.cldr","gregorian");var _18a=fmt["dateTimeFormat-short"];var _18b=new RegExp(/\{\d\}(.*)\{\d\}/).exec(_18a),_18c=_18b&&_18b[1];var _18d=new RegExp(dojo.date.locale.regexp({datePattern:this.dateFormat,timePattern:this.timeFormat,selector:"date"})).exec(_188),_18e=new RegExp(dojo.date.locale.regexp({datePattern:this.dateFormat,timePattern:this.timeFormat,selector:"time"})).exec(_188);var _18f=_18d&&_18d[0],_190=_18e&&_18e[0];var dPos=_188.indexOf(_18f),tPos=_188.indexOf(_190);var _191="",_192="";if(dPos!=-1&&tPos!=-1){_191=_18f+_18c+_190;_192=_190+_18c+_18f;}var _193=dojo.date.locale.parse(_191,{datePattern:this.dateFormat,timePattern:this.timeFormat})||dojo.date.locale.parse(_192,{datePattern:this.dateFormat,timePattern:this.timeFormat});if(null==_193){throw "invalid";}}catch(e){_189.setAttribute("aria-invalid","true");XSP.validationError(_187,this.message);return null;}_189.setAttribute("aria-invalid","false");return _193;};};this.IntConverter=function IntConverter(_194){this.message=_194;this.convert=function xic_c(_195,_196){var _197=XSP.getElementById(_195);var _198=/^-?\d+$/;if(_198.test(_196)){_197.setAttribute("aria-invalid","false");return parseInt(_196);}_197.setAttribute("aria-invalid","true");XSP.validationError(_195,this.message);};};this.NumberConverter=function NumberConverter(dot,tho,_199){this.message=_199;this.convert=function xnc_c(_19a,_19b){var _19c=XSP.getElementById(_19a);if(-1!=_19b.indexOf(" ")&&(" "==tho||" "==dot)){_19b=_19b.replace(" "," ");}while(_19b.indexOf(tho)>=0){_19b=_19b.replace(tho,"");}_19b=_19b.replace(dot,".");var _19d=/(^-?\d+(\.\d*)?([eE][-+]?\d+)?$)|(^-?\.\d+([eE][-+]?\d+)?$)/;if(_19d.test(_19b)){_19c.setAttribute("aria-invalid","false");return parseFloat(_19b);}_19c.setAttribute("aria-invalid","true");XSP.validationError(_19a,this.message);};};this.RequiredValidator=function RequiredValidator(_19e){this.message=_19e;this.validate=function xrv_v(_19f,_1a0){var _1a1=XSP.getElementById(_19f);if(_1a1){if(!_1a0){_1a1.setAttribute("aria-required","true");XSP.validationError(_19f,this.message);return false;}}return true;};};this.DateTimeRangeValidator=function DateTimeRangeValidator(_1a2,_1a3,_1a4){XSP.djRequire("dojo.date.stamp");this.minTime=_1a2!=null?dojo.date.stamp.fromISOString(_1a2):null;this.maxTime=_1a3!=null?dojo.date.stamp.fromISOString(_1a3):null;this.message=_1a4;
5this.validate=function xdtrv_v(_1a5,_1a6){var _1a7=XSP.getElementById(_1a5);if(_1a7){if(typeof _1a6=="object"&&_1a6.getTime){var _1a8=_1a6.getTime();if((this.minTime&&_1a8<this.minTime)||(this.maxTime&&_1a8>this.maxTime)){_1a7.setAttribute("aria-invalid","true");XSP.validationError(_1a5,this.message);return false;}_1a7.setAttribute("aria-invalid","false");}}return true;};};this.LengthValidator=function LengthValidator(min,max,_1a9){this.min=min;this.max=max;this.message=_1a9;this.validate=function xlv_v(_1aa,_1ab){var _1ac=XSP.getElementById(_1aa);if(_1ac){if(typeof _1ab=="string"){var len=_1ab.length;if((this.min&&len<this.min)||(this.max&&len>this.max)){_1ac.setAttribute("aria-invalid","true");XSP.validationError(_1aa,this.message);return false;}_1ac.setAttribute("aria-invalid","false");}}return true;};};this.NumberRangeValidator=function NumberRangeValidator(min,max,_1ad){this.min=min;this.max=max;this.message=_1ad;this.validate=function xnrv_v(_1ae,_1af){var _1b0=XSP.getElementById(_1ae);if(_1b0){if(typeof _1af=="number"){if((this.min&&_1af<this.min)||(this.max&&_1af>this.max)){_1b0.setAttribute("aria-invalid","true");XSP.validationError(_1ae,this.message);return false;}_1b0.setAttribute("aria-invalid","false");}}return true;};};this.RegExpValidator=function RegExpValidator(expr,_1b1){this.expr=expr;this.message=_1b1;this.validate=function xrev_v(_1b2,_1b3){var _1b4=XSP.getElementById(_1b2);if(_1b4){if(typeof _1b3=="string"){var re=new RegExp(this.expr);if(!re.test(_1b3)){_1b4.setAttribute("aria-invalid","true");XSP.validationError(_1b2,this.message);return false;}_1b4.setAttribute("aria-invalid","false");}}return true;};};this.ExpressionValidator=function ExpressionValidator(expr,_1b5){this.expr=expr;this.message=_1b5;this.validate=function xev_v(_1b6,_1b7){var _1b8=XSP.getElementById(_1b6);if(_1b8){var _1b9=dojo.global.value;dojo.global.value=_1b7;var _1ba=eval(this.expr);dojo.global.value=_1b9;if(!_1ba){_1b8.setAttribute("aria-invalid","true");XSP.validationError(_1b6,this.message);return false;}_1b8.setAttribute("aria-invalid","false");}return true;};};this._attachEventOrPartial=function x_aep(_1bb){var _1bc=_1bb.targetId;if(_1bc==null){_1bc=_1bb.clientId;}var _1bd=dojo.byId(_1bc);var _1be=_1bb.eventName;if(XSP.hasDijit()){var _1bf=this._getEventData(_1bd,_1bc,_1be);_1bd=_1bf.targetNode;_1be=_1bf.eventName;}if(!_1bd&&_1bb.nonPartialEvent&&_1be!="onClientLoad"){return;}var _1c0=[];var _1c1=false;var _1c2=false;if(_1bd&&_1bd.nodeName&&"FIELDSET"==_1bd.nodeName&&_1bd.id){if(_1be=="onchange"&&dojo.isIE){if(dojo.isIE<=8){_1c1=true;}else{if(_1bd.getAttribute&&_1bd.getAttribute("onchangeTrigger")=="early-onclick"){_1c2=true;}}}if(_1be=="onclick"){_1c1=true;}}if(_1c1||_1c2){var _1c3=_1bd.id;dojo.query("input").forEach(function xaep_fi(_1c4){if(_1c4.name==_1c3){var _1c5=_1c4.type;_1c5=_1c5?_1c5.toLowerCase():"text";if("checkbox"==_1c5||"radio"==_1c5){_1c0.push(_1c4);}}});_1c1=_1c1&&(_1c0.length>0);_1c2=_1c2&&(_1c0.length>0);}if(dojo.isIE&&_1be=="onchange"&&_1bd.getAttribute&&_1bd.getAttribute("onchangeTrigger")=="early-onclick"){var _1c6=false;if(_1bd&&_1bd.nodeName&&_1bd.type&&_1bd.nodeName.toLowerCase()=="input"&&(_1bd.type.toLowerCase()=="radio"||_1bd.type.toLowerCase()=="checkbox")){_1c6=true;}if(_1c6||_1c1||_1c2){var _1c7=function xaep_boc(_1c8){if(document.activeElement){var _1c9=document.activeElement;_1c9.blur();_1c9.focus();}};if(_1c6){dojo.connect(_1bd,"onclick",_1c7);}else{dojo.forEach(_1c0,function xaep_fe_boc(_1ca){dojo.connect(_1ca,"onclick",_1c7);});}}}var _1cb=0;var _1cc=function xaep_fpre(_1cd){if(_1bd&&_1bd.getAttribute){var href=_1bd.getAttribute("href");if(href&&XSP.endsWith(href,"#")){_1cd.preventDefault();}}if(_1bb.partialEvent){if(!(_1cd instanceof MouseEvent)||((new Date()).getTime()>_1cb+1000)){XSP.firePartial(_1cd,_1bb.clientId,_1bc,_1bb.execId,_1bb.scriptName,_1bb.valmode,_1bb.partialRefreshId,_1bb.partialOnStart,_1bb.partialOnComplete,_1bb.partialOnError);_1cb=(new Date()).getTime();}}else{XSP.fireEvent(_1cd,_1bb.clientId,_1bc,_1bb.scriptName,_1bb.nonPartialSubmit,_1bb.valmode,_1bb.execId);}};if(_1be=="onClientLoad"){var _1ce=({type:"clientLoad",target:_1bd,cancelable:false,currentTarget:_1bd,preventDefault:function xocl_pd(){}});_1cc(_1ce);}else{if(!_1c1){dojo.connect(_1bd,_1be,_1cc);}
5else{dojo.forEach(_1c0,function xaep_fg(_1cf){dojo.connect(_1cf,_1be,_1cc);});}}};this.attachEvent=function x_ae(_1d0,_1d1,_1d2,_1d3,_1d4,_1d5,_1d6){var _1d7=({clientId:_1d0,targetId:_1d1,eventName:_1d2,scriptName:_1d3,valmode:_1d5,execId:_1d6,nonPartialEvent:true,nonPartialSubmit:_1d4,partialEvent:false,partialRefreshId:null,partialOnStart:null,partialOnComplete:null,partialOnError:null,rawArgs:arguments});return XSP._attachEventOrPartial(_1d7);};this._getEventData=function x_cfde(_1d8,_1d9,_1da){var _1db=_147.byId(_1d9);if(_1db&&_1da){if(!XSP._djEvents){XSP._djEvents=[];dojo.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 _1dc=this._djEvents[_1da]||_1da;if(dojo.isFunction(_1db[_1dc])){if(_1dc=="onFocus"&&_1db.declaredClass.indexOf("DateTextBox")!=-1){_1da="_onFocus";}else{_1da=_1dc;}_1d8=_1db;}}return {"targetNode":_1d8,"eventName":_1da};};this.fireEvent=function x_fe(evt,_1dd,_1de,_1df,_1e0,_1e1,_1e2){var form=this.findForm(_1de);if(_1e0&&(form==null||!this.canSubmit())){return false;}var _1e3=this._doFireEvent(evt,form,_1dd,_1df,_1e0,_1e1,_1e2);if(_1e0){if(_1e3){window.onbeforeunload=null;form.submit();}else{this.allowSubmit();}}};this._doFireEvent=function x_dfe(evt,form,_1e4,_1e5,_1e6,_1e7,_1e8,_1e9){var f=form;var _1ea,_1eb;this._submitValueSet=false;try{if(_1e5!=null){if(dojo.isString(_1e5)&&dojo.global[_1e5]){_1e5=dojo.global[_1e5];}if(dojo.isFunction(_1e5)){try{_1ea=_1e5(evt);}catch(err){if(dojo.global.onerror&&err&&err.message&&err.fileName&&err.lineNumber){dojo.global.onerror(err.message,err.fileName,err.lineNumber);return false;}throw err;}if(typeof _1ea=="boolean"){if(!_1ea){return false;}}else{if(!this._submitValueSet&&_1ea){this._submitValue=_1ea;}}}}_1eb=this._submitValue;if(_1eb!=undefined&&!dojo.isString(_1eb)){_1eb=dojo.isObject(_1eb)?this.toJson(_1eb):_1eb.toString();}}finally{this._submitValue=undefined;}if(_1e6){if(_1e7===true){_1e7=0;}if(_1e7){_1ea=this.validateAll(f.id,_1e7,_1e8);if(!_1ea){return false;}}var _1ec=_1e4||_1e9||null;_1ea=this._processListeners(this.querySubmitListeners,f.id,_1ec);if(!_1ea){return false;}this._processListeners(this.preSubmitListeners,f.id,_1ec);if(_1ea&&_1e6){if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=dojo.string.substitute(XSP.getMessage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _1ed=null;_1ed=f["$$xspsubmitid"];if(_1ed){_1ed.value=_1e4||"";}_1ed=f["$$xspexecid"];if(_1ed){_1ed.value=_1e8||"";}_1ed=f["$$xspsubmitvalue"];if(_1ed){_1ed.value=(_1eb!=undefined)?_1eb:"";}_1ed=f["$$xspsubmitscroll"];if(_1ed){_1ed.value=this._scrollPosition();}}return true;}return false;};this._scrollPosition=function _scrollPosition(){var _1ee=window.pageXOffset||document.documentElement.scrollLeft||0;var _1ef=window.pageYOffset||document.documentElement.scrollTop||0;return _1ee+"|"+_1ef;};this.scrollWindow=function scrollWindow(x,y){window.scrollTo(x,y);};this._setAllowDirtySubmit=function x_sads(flag){this._allowDirtySubmit=flag;};this._isAllowDirtySubmit=function x_iads(){return (this._allowDirtySubmit);};this._setDirty=function x_sd(flag,_1f0){this._dirty=flag;this._dirtyFormId=_1f0;};this._isDirty=function x_id(){return (this._dirty);};this._getDirtyFormId=function x_gdfi(){return (this._dirtyFormId);};this.attachDirtyListener=function x_adl(_1f1){var form=this.findForm(_1f1);if(form){var node=dojo.byId(_1f1);var _1f2="onchange";if(XSP.hasDijit()){var _1f3=_147.byId(_1f1);if(_1f3){if(dojo.isFunction(_1f3["onChange"])&&!dojo.isFunction(_1f3["isModifiedNotification"])){node=_1f3;_1f2="onChange";}else{if(dojo.isFunction(_1f3["enableModifiedNotification"])){_1f3.enableModifiedNotification();return;}}}}dojo.connect(node,_1f2,function xadl_sd(_1f4){XSP._setDirty(true,form.id);});}};this.attachDirtyUnloadListener=function x_adul(_1f5){window.onbeforeunload=function xadul_sd(_1f6){if(XSP._isDirty()){return _1f5;}};};this._validateDirtyForm=function x_vdf(_1f7,_1f8){var form=this.getElementById(_1f7);var _1f9=this.validateAll(form.id,2);
5if(false==_1f9){this._setAllowDirtySubmit(false);return _1f9;}_1f9=this._processListeners(this.querySubmitListeners,form.id,_1f8);if(false==_1f9){this._setAllowDirtySubmit(false);}return _1f9;};this._saveDirtyForm=function x_sdf(evt,_1fa,_1fb,_1fc,_1fd,_1fe,_1ff){var form=this.findForm(_1fb);if(_1fd&&(!form||!this.canSubmit())){return false;}var _200=this._doFireSaveEvent(evt,form,_1fa,_1fc,_1fd,_1fe,_1ff);if(_1fd){if(_200){window.onbeforeunload=null;form.submit();}else{this.allowSubmit();}}};this._doFireSaveEvent=function x_dfse(evt,form,_201,_202,_203,_204,_205){var _206=true;var _207;if(this._submitValue!=null&&typeof this._submitValue!="undefined"){_207=this._submitValue;}else{_207="";}this._submitValue=undefined;if(_202!=null){if(dojo.isString(_202)&&dojo.global[_202]){_202=dojo.global[_202];}if(dojo.isFunction(_202)){try{_206=_202(evt);}catch(err){if(dojo.global.onerror&&err&&err.message&&err.fileName&&err.lineNumber){dojo.global.onerror(err.message,err.fileName,err.lineNumber);return false;}throw err;}if(typeof _206=="boolean"){if(_206==false){return false;}}else{if(!(typeof this._submitValue=="undefined")){_207=this._submitValue;}else{if(!(typeof _206=="undefined")){_207=_206;}}}}}if(_207!=null&&typeof _207!="string"){if(typeof _207=="object"){_207=this.toJson(_207);}else{_207=_207.toString();}}if(_203){this._processListeners(this.preSubmitListeners,form.id,_201);if(_206&&_203){var f=form;if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=dojo.string.substitute(XSP.getMessage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _208=null;_208=f["$$xspsubmitid"];if(_208){_208.value=_201;}_208=f["$$xspexecid"];if(_208){_208.value=_205||"";}_208=f["$$xspsubmitvalue"];if(_208){_208.value=(_207!=undefined)?_207:"";}_208=f["$$xspsubmitscroll"];if(_208){_208.value=this._scrollPosition();}}return true;}return false;};this.attachPartial=function x_apar(_209,_20a,_20b,_20c,_20d,_20e,_20f,_210,_211,_212){var _213=({clientId:_209,targetId:_20a,eventName:_20c,scriptName:_20d,valmode:_20e,execId:_20b,nonPartialEvent:false,nonPartialSubmit:false,partialEvent:true,partialRefreshId:_20f,partialOnStart:_210,partialOnComplete:_211,partialOnError:_212,rawArgs:arguments});return XSP._attachEventOrPartial(_213);};this.firePartial=function x_fpar(evt,_214,_215,_216,_217,_218,_219,_21a,_21b,_21c){var form=XSP.findForm(_215);if(!form||!XSP.canSubmit()){return false;}if(XSP._doFireEvent(evt,form,_214,_217,true,_218,_216)){var _21d={onStart:_21a,onComplete:_21b,onError:_21c};XSP._partialRefresh("post",form,_219,_21d);}else{XSP.allowSubmit();}};this.partialRefreshGet=function x_prfsg(_21e,_21f){_21f=_21f||{};var form=XSP.findForm(_21f.formId||_21e);if(!form||!XSP.canSubmit()){return false;}this._partialRefresh("get",form,_21e,_21f);};this.partialRefreshPost=function x_prfsp(_220,_221){_221=_221||{};var form=XSP.findForm(_221.formId||_220);if(!form||!this.canSubmit()){return false;}if(_221.immediate){_221.valmode=0;}if(this._doFireEvent(null,form,_221.clientId,null,true,_221.valmode,_221.execId,_220)){this._partialRefresh("post",form,_220,_221);}else{this.allowSubmit();}};this._partialRefresh=function x_prfh(_222,form,_223,_224){var _225=form.action;var _226="/xsp/.ibmxspres/";var _227=dojo.baseUrl;if(_227.indexOf(_226)>0&&form.baseURI){_225=form.baseURI;}_225+=(_225.match(/\?/)?"&":"?")+"$$ajaxid="+encodeURIComponent(_223);if(_224.params&&_222=="get"){if(typeof _224.params=="object"){for(var key in _224.params){var _228=_224.params[key];if(_228){_225+="&"+encodeURIComponent(key)+"="+encodeURIComponent(_228);}else{if(_228!=null&&typeof _228!="undefined"){_225+="&"+encodeURIComponent(key);if(""!=_228){_225+="="+encodeURIComponent(_228);}}}}}else{if(typeof _224.params=="string"){_225+="&"+_224.params;}}}if(_224.refreshTargetId){_223=_224.refreshTargetId;}if(_224.onStart){if(typeof _224.onStart=="function"){_224.onStart();}else{eval(_224.onStart);}}var _229=(_223=="@none");var _22a=document.activeElement;if(dojo.isIE&&dojo.isIE<=8&&!_229&&_22a&&_22a.nodeName&&(_22a.nodeName.toUpperCase()=="INPUT"||_22a.nodeName.toUpperCase()=="TEXTAREA")){var _22b=false;for(var node=_22a;
5node!=null;node=node.parentNode){if(node.id==_223){_22b=true;break;}}if(_22b){_22a.blur();}}var _22c=function xfpre_l(_22d,_22e){var _22f;if(_22e.xhr&&_22e.xhr.getResponseHeader("X-XspLocation")){_22f=_22e.xhr.getResponseHeader("X-XspLocation");}else{if(_22e.xspLocation){_22f=_22e.xspLocation;}}if(_22f){window.location=_22f;return _22d;}var _230;if(_22e.xhr&&_22e.xhr.getResponseHeader("X-XspRefreshId")){_230=_22e.xhr.getResponseHeader("X-XspRefreshId");}else{if(_22e.xspRefreshId){_230=_22e.xspRefreshId;}}if(_230){_223=_230;}if(_223&&_223!="@none"){XSP._replaceNode(_223,_22d);}XSP.allowSubmit();if(_224.onComplete){if(typeof _224.onComplete=="function"){_224.onComplete();}else{eval(_224.onComplete);}}return _22d;};var _231=function xfpre_e(_232,_233){XSP.allowSubmit();if(_224.onError){if(typeof _224.onError=="function"){_224.onError();}else{eval(_224.onError);}return _232;}var _234=0;if(_233.xhr&&_233.xhr.status){_234=_233.xhr.status;}else{if(_233.xspStatus){_234=_233.xspStatus;}}var _235="";if(_233.xhr&&_233.xhr.responseText){_235=_233.xhr.responseText;}else{if(_233.xspResponseText){_235=_233.xspResponseText;}}if(_234!=200&&_234!=0&&_235){var _236=_235.search(/\<\!doctype html|\<html/i);var _237=_236<0?-1:_235.search(/\<\/html\>/i);if(_236==0&&_237>0&&"</html>"==XSP.trim(_235.substring(_237))){dojo.require("dojo.html");dojo.addOnLoad(function xfpree_l(){dojo.html.set(dojo.body(),_235);});return _232;}else{if(_232.body){dojo.require("dojo.html");dojo.addOnLoad(function(){dojo.html.set(dojo.body(),_232.body.childNodes);});return _232;}}}var txt=XSP.getMessage("updateProblem");if(_232.message){txt+="\n   "+_232.message;}XSP.error(txt);return _232;};if(_222=="get"){var vid=form["$$viewid"].value;if(vid){_225+="&"+"$$viewid="+vid;}dojo.xhrGet({url:_225,handleAs:"text",timeout:XSP.submitLatency,load:_22c,error:_231});}else{var _238=this._requireIframe(form);if(!_238){dojo.xhrPost({url:_225,handleAs:"text",form:form,timeout:XSP.submitLatency,load:_22c,error:_231,content:_224.params});}else{if(typeof _224.params=="object"){_224.params["$$ajax-iframe-envelope"]=1;}else{_224.params={"$$ajax-iframe-envelope":1};}dojo.require("dojo.io.iframe");dojo.io.iframe.send({url:_225,method:"POST",handleAs:"html",form:form,timeout:XSP.submitLatency,load:function $DDMO_(_239,_23a){try{if(_239&&_239.documentElement&&_239.documentElement.id=="$$ajax-iframe-envelope"){var json=_239.documentElement.childNodes[1].firstChild.innerHTML;dojo.require("dojo.json");json=dojo.json.parse(json,true);if(null!=json){_23a.xspStatus=json.xspStatus;_23a.xspLocation=json.xspLocation;_23a.xspRefreshId=json.xspRefreshId;dojo.require("dojox.html.entities");var _23b=dojox.html.entities.decode(json.xspData);if(json.xspStatus!=200&&json.xspStatus!=0){_23a.xspResponseText=_23b;_231(_23b,_23a);}else{_22c(_23b,_23a);}if(form.hasAttribute("target")){form.removeAttribute("target");}}}else{throw "NotAjaxIframeEnvelopeResponseError";}}catch(e){_23a.xspStatus=500;if(_239&&_239.documentElement){_23a.xspResponseText=_239.documentElement.innerHTML;}_231(_239,_23a);}return _239;},error:_231,content:_224.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(_23c,_23d){var _23e=widget=null;if(_147.byId){widget=_147.byId(_23c);if(widget){_23e=widget.domNode;var _23f=_147.byId(_23c+"_Container");if(_23f){widget=_23f;_23e=_23f.domNode;}}}_23e=_23e||dojo.byId(_23c);if(!_23e){var msg=dojo.string.substitute(XSP.getMessage("noElementId"),[_23c]);throw {message:msg,description:msg};}var _240=function xrn_e(_241,_242){var _243=_23d.indexOf(_241);if(_243>=0){var _244=_23d.lastIndexOf(_242);if(_244>=0){var _245=_23d.substring(_243+_241.length,_244);_23d=_23d.substring(0,_243)+_23d.substring(_244+_242.length);return _245;}}};var _246=_240("<!-- XSP_UPDATE_HEADER_START -->\n","<!-- XSP_UPDATE_HEADER_END -->\n");if(_246){this.execScripts(this.processScripts(_246,true));}if(widget){var _247=widget.hasChildren?widget.hasChildren():false;if(_247){widget.destroyDescendants();}widget.destroyRecursive(true);}
5else{if(_147.findWidgets){dojo.forEach(_147.findWidgets(_23e),function xrnl_fe(w){var _248=w.hasChildren?w.hasChildren():false;if(_248){w.destroyDescendants();}w.destroyRecursive(true);});}}var _249=_240("<!-- XSP_UPDATE_SCRIPT_START -->","<!-- XSP_UPDATE_SCRIPT_END -->\n");var _24a=this.processScripts(_23d,true);var dom=this.processScripts(_23d,false);if(dom){dojo.place(dom,_23e,"replace");}else{_23e.parentNode.removeChild(_23e);}if(_24a){this.execScripts(_24a);}if(_249){this.execScripts(this.processScripts(_249,true));}this.parseDojo(dojo.byId(_23c));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 _24b=scr.indexOf(">");if(scr.substring(0,_24b).indexOf("dojo/")<0){var end=scr.lastIndexOf("<");a.push(scr.substring(_24b+1,end));}});return a;}else{return s.replace(rg,function xps_rs(all,scr){var _24c=scr.indexOf(">");return scr.substring(0,_24c).indexOf("dojo/")<0?"":scr;});}};this.execScripts=function x_es(a){dojo.forEach(a,function xrnfe2_fe(sc){var _24d=sc.indexOf("<!--");if(-1!=_24d){var _24e=XSP.trim(sc);if(_24e.length>=4&&-1!=_24e.lastIndexOf("<!--",4)){sc=sc.substring(0,_24d)+"//"+sc.substring(_24d+4);}}dojo.eval(sc);});};this.parseDojo=function x_pd(node){if(node&&dojo.parser){if(node.getAttribute("dojoType")||node.getAttribute("data-dojo-type")){dojo.parser.instantiate([node]);}dojo.parser.parse(node);}};this.attachSimpleConfirmSubmit=function x_ascs(_24f,_250,_251,_252){var id=_250||_24f;var _253=dojo.byId(id);dojo.connect(_253,_251,function xascs_fscs(e){XSP._fireSimpleConfirmSubmit(_24f,id,_252);});};this._fireSimpleConfirmSubmit=function x_fscs(_254,_255,_256){if(this.canSubmit()){var f=this.findForm(_255);if(f){if(XSP.confirm(_256)){if(!f["$$viewid"]){if(XSP._submitRequiresViewIdInput){var msg=dojo.string.substitute(XSP.getMessage("formProblem"),["$$viewid"]);XSP.error(msg);return false;}}var _257=f["$$xspsubmitid"];if(_257){_257.value=_254;}_257=f["$$xspsubmitscroll"];if(_257){_257.value=this._scrollPosition();}f.submit();}}}return false;};this.attachClientFunction=function x_acf(_258,_259,_25a){var node=dojo.byId(_258);dojo.connect(node,_259,function xacf_cssn(_25b){_25a(_25b);});};this.attachClientScript=function x_acs(_25c,_25d,_25e){var node=dojo.byId(_25c);dojo.connect(node,_25d,function xacs_e(_25f){eval(_25e);});};this.tagCloudSliderOnChange=function x_tcsoc(_260,_261){try{var s=dojo.byId(_261);if(s){dojo.query("a",s).forEach(function xtcsoc_e(a){var _262=a.className.match(/(\d+)/);if(_262){a.style.display=(_262[0]>=_260)?"inline":"none";}});}}catch(e){alert(e);}};this.publishEvent=function x_pubv(_263,_264,_265){};this.dispatchEvent=function x_dspv(_266,name,_267,_268){var l=dojo.query(".XspHandler-"+name);if(l.length>0){var o={name:name,source:_266,value:_267,nativeEvent:_268};this._submitValue=_267;for(var i=0;i<l.length;i++){l[i].onclick(o);}this._submitValue=undefined;}};this.setComponentMode=function x_setp(mode,_269){};this.addOnLoad=function x_aol(_26a){if(!this._listeningForDojoOnload){this._listeningForDojoOnload=true;dojo.addOnLoad(this,"_loaded");}this._onLoadListeners.push(_26a);};this._loaded=function x_l(){dojo.forEach(this._onLoadListeners,function xl_l(_26b){_26b();});this._onLoadListeners=[];};this.attachViewColumnCheckboxToggler=function x_avcct(_26c,_26d){var _26e=_26d+":_hdrcbox";dojo.connect(dojo.byId(_26e),"onclick",function xavcct_c(){XSP._toggleViewColumnCheckBoxes(_26c,_26d);});XSP._toggleViewColumnCheckBoxes(_26c,_26d);};this._toggleViewColumnCheckBoxes=function x_tvccb(_26f,_270){var cbox=this.getElementById(_270+":_hdrcbox");if(cbox){dojo.query("input[type=checkbox]").forEach(function xtvccb_e(node){if(XSP.startsWith(node.name,_26f)&&XSP.endsWith(node.name,":_colcbox")){node.checked=cbox.checked;}});}};this.isViewPanelRowSelected=function x_ivprs(_271,ckId){var res=false;dojo.query("input[type=checkbox]:checked").forEach(function xivprs_e(node){if(XSP.startsWith(node.name,_271)&&XSP.endsWith(node.name,ckId)){res=true;}});return res;};this.initSectionScript=function x_iss(_272,_273,_274){if(_274){var _275=dojo.byId(_273+"_open");var _276=dojo.byId(_273+"_close");var _277=dojo.byId(_273+"_contents");var _278="none"!=_277.style.display;
5if(_278){_275.style.display="inline";_276.style.display="none";if(!dojo.isIE){var _279=dojo.byId(_273+"_lk_open");var _27a=dojo.byId(_273+"_lk_close");XSP._moveAttr(_27a,_279,"accesskey");XSP._moveAttr(_27a,_279,"tabindex");}}else{_275.style.display="none";_276.style.display="inline";}if(dojo.isIE){var _27a=dojo.byId(_273+"_lk_close");var _27b=_27a.getAttribute("accesskey");_27a.removeAttribute("accesskey");_27a.setAttribute("accessKey",_27b);var _27c=_27a.getAttribute("tabindex");_27a.removeAttribute("tabindex");_27a.setAttribute("tabIndex",_27c);if(_278){var _279=dojo.byId(_273+"_lk_open");XSP._moveAttr(_27a,_279,"accessKey");XSP._moveAttr(_27a,_279,"tabIndex");}}}var node=dojo.byId(_272);dojo.connect(node,"onclick",function xiss_oc(_27d){XSP.showSection(_273,_274);});dojo.connect(node,"onkeyup",function xiss_oku(_27e){if(_27e.keyCode==13||_27e.keyCode==32){XSP.showSection(_273,_274);}});};this.showSection=function x_ss(_27f,show){var _280=dojo.byId(_27f+"_open");var _281=dojo.byId(_27f+"_close");var _282=dojo.byId(_27f+"_lk_open");var _283=dojo.byId(_27f+"_lk_close");var _284=dojo.byId(_27f+"_contents");var _285=dojo.byId(_27f);var form=this.findForm(_27f);if(_280&&_281&&_282&&_283&&_284&&form){if(show){_280.style.display="inline";_281.style.display="none";_284.style.display="block";form.elements[_27f+"_closed"].value="false";_285.setAttribute("aria-expanded","true");}else{_280.style.display="none";_281.style.display="inline";_284.style.display="none";form.elements[_27f+"_closed"].value="true";_285.setAttribute("aria-expanded","false");}var _286=show?_283:_282;var _287=show?_282:_283;XSP._moveAttr(_286,_287,(dojo.isIE?"accessKey":"accesskey"));XSP._moveAttr(_286,_287,(dojo.isIE?"tabIndex":"tabindex"));if(_287.focus){_287.focus();}}};this._moveAttr=function x_ma(_288,_289,_28a){var _28b=_288.getAttribute(_28a);if(_28b){_289.setAttribute(_28a,_28b);}_288.removeAttribute(_28a);};this.findForm=function x_ff(_28c){return this.findParentByTag(_28c,"form")||dojo.doc.forms[0];};this.findParentByTag=function x_fp(_28d,tag){if(dojo.isString(_28d)){var node=dojo.byId(_28d);if(!node&&XSP.hasDijit()){node=_147.byId(_28d);if(node){node=node.domNode;}}_28d=node;}tag=tag.toLowerCase();while(_28d){var _28e=_28d.tagName.toLowerCase();if(_28e==tag){return _28d;}if(_28e=="body"){return null;}_28d=_28d.parentNode;}return null;};this.getElementById=function x_gbi(_28f){return dojo.byId(_28f);};this.hasDijit=function x_hdj(){return typeof _147!="undefined"&&typeof _147.byId!="undefined";};this.trim=function x_trim(s){return s?s.replace(/^\s+|\s+$/g,""):s;};this.startsWith=function x_sw(s,_290){return s.length>=_290.length&&s.substring(0,_290.length)==_290;};this.endsWith=function x_ew(s,_291){return s.length>=_291.length&&s.substring(s.length-_291.length)==_291;};this.serialize=function xm_ser(o){if(typeof o=="object"){return dojo.toJson(o);}return o.toString();};this.toJson=function x_tjson(o){return dojo.toJson(o);};this.fromJson=function x_fjson(s){return dojo.fromJson(s);};this.log=function x_lg(_292){XSP.djRequire("ibm.xsp.widget.layout.xspClientDebug");dojo.addOnLoad(function xlg_l(){XSP.logw(_292);});};};if(typeof dojo.global.XSP=="undefined"){dojo.global.XSP=new _148();}});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojox/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"*now":function(r){r(["dojo/i18n!*preload*ibm/xsp/widget/layout/layers/nls/xspClientDojo*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en-gb\",\"en-us\",\"es-es\",\"fi-fi\",\"fr-fr\",\"he-il\",\"hu\",\"it-it\",\"ja-jp\",\"ko-kr\",\"nl-nl\",\"nb\",\"pl\",\"pt-br\",\"pt-pt\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"zh-tw\",\"zh-cn\",\"ROOT\"]"]);}}});define("ibm/xsp/widget/layout/layers/xspClientDojo",["dijit","dojo","dojox","dojo/require!ibm/xsp/widget/layout/xspClientDojo"],function(_293,dojo,_294){dojo.provide("ibm.xsp.widget.layout.layers.xspClientDojo");dojo.require("ibm.xsp.widget.layout.xspClientDojo");});

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.