_opc.js 31 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. _opc._19j=1;_opc._hke=2;_opc._2w9=3;function _opc(_d89, _pbc, _b6k, _bma, _sh9){this._ggg=!_d89;if(!this._ggg){_zpn._la6("_pgk");}this._gqn=document;this._vij=_b6k;this._wea="";this._lub={};this._2ea={};this._bsb=_pbc;this._tg=new Set();this._vk=( this._bsb.getAttribute( "showBooleanListViewsAsBooleans" )=="true" );var s=this._bsb.getAttribute("showBooleansAs");this._vb3=(s=="strings");this._wb3=(s=="toggles");this._q09={};if(!this._ggg){this._mag(_d89);this._60a();}this._edd=parseInt(this._bsb.getAttribute("indentLength"));this._8m1=this._bsb.getAttribute("highlightNonDefaultValues");this.Groups=[];this._ku7={};this._719={};this._or5={};this._xub={};this._ht2={};this._1sl={};this._0km={};this._cu4={};this._93n={};this._mkb(_8qn._6l3(null, _7hn._x5g(this._bsb, "properties/group")));this.Objects={};this._jdg(_8qn._6l3(null, _7hn._x5g(this._bsb, "objects/object")));if(!this._ggg){this._od6(_bma, _sh9);}};_opc.prototype._fdm=function(){this._rp();if(!this._ggg){this._nqn.h_oPropertySheet=null;this._nqn.parentNode.removeChild(this._nqn);this._64n=null;this._nqn=null;}};_opc.prototype._wi2=function(_s8i,_rqg){this._mkb(_s8i);this._jdg(_rqg);};_opc.prototype._1j2=function(_2ha,_i49){this._so8(_2ha);this._c2d(_i49);};_opc.prototype._md4=function(){return this._bsb;};_opc.prototype._so8=function(_aul){var _dwa={};var _4rd=_aul.length;for(var _3qm=0;_3qm<_4rd;_3qm++){var _qrm=_aul[_3qm];var _dyi=_qrm.getAttribute("name");_dwa[_dyi]=true;delete this._1sl[_dyi];delete this._719[_dyi];}var _644=[];for(var i=0; i<this.Groups.length; i++){if(_dwa[this.Groups[i].Name]){_644.push(i);for(var _28n=0; _28n<this.Groups[i].Properties.length; _28n++){var _n8e=this.Groups[i].Properties[_28n];delete this._93n[_n8e];delete this._0km[_n8e];delete this._1sl[_n8e];delete this._or5[_n8e];delete this._cu4[_n8e];for(var _hkn=0; this._xub[_n8e]&&_hkn<this._xub[_n8e].length; _hkn++){var _5pn=this._xub[_n8e];delete this._or5[_5pn];}delete this._xub[_n8e];}}}for(var i=_644.length-1; i>=0; i--){this.Groups.splice(_644[i], 1);}};_opc.prototype._mkb=function(_aul){var _4rd=_aul.length;for(var _3qm=0;_3qm<_4rd;_3qm++){var _qrm=_aul[_3qm];var _cum={};_cum.Name=_qrm.getAttribute("name");_vzm._6dm(this._1sl[_cum.Name]===undefined);this._lkb(_qrm, this._719, _cum.Name);this._1sl[_cum.Name]=this._yhb(_qrm);_cum.Properties=[];this.Groups.push(_cum);var _1nf=_7hn._x5g(_qrm, "property");var _928=_1nf.length;for(var _28n=0;_28n<_928;_28n++){var _a1k=_1nf.item(_28n);var _n8e=_a1k.getAttribute("name");var _pen=_a1k.getAttribute("type");_vzm._6dm(this._93n[_n8e]===undefined);this._93n[_n8e]=_pen;switch(_pen){case "dropDownList":case "dropDown":case null:if(_7hn._ij8(_a1k, "listView")!=null){this._cu4[_n8e]=true;if(!_a1k.getAttribute("isFinite")){_a1k.setAttribute( "isFinite", "true" );}}}if(!_pen&&(this._cu4[_n8e]||_a1k.getAttribute("listView"))){_pen="dropDownList";}if(this._vk&&( _pen=="dropDownList" )&&( _a1k.getAttribute( "listView" )=="Boolean" ) ){this._tg.add(_n8e);_pen="boolean";}this._0km[_n8e]=_pen;this._1sl[_n8e]=this._yhb(_a1k);_cum.Properties.push(_n8e);this._lkb(_a1k, this._or5, _n8e);var _hva=_7hn._x5g(_a1k, "property");var _iz4=_hva.length;if(_iz4>0){this._xub[_n8e]=[];}for(var _m2l=0;_m2l<_iz4;_m2l++){var _8lf=_hva.item(_m2l);var _gxf=_8lf.getAttribute("name");this._xub[_n8e].push(_gxf);this._lkb(_8lf, this._or5, _gxf);}}}};_opc.prototype._yhb=function(n){var _2bk=n.getAttribute("idsLabel");if(_2bk){return _frh._997(_2bk);}return n.getAttribute("label");};_opc.prototype._lkb=function(n,_9ah,_vdn){_9ah[_vdn]={};var o=_9ah[_vdn];var nl=n.attributes;var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _f8n=nl.item(i);o[_f8n.name]=_f8n.value;}};_opc.prototype._jdg=function(_8vk){var _tzl=_8vk.length;for(var i=0;i<_tzl;i++){var o={};var _u2m=_8vk[i];var _8ih=_u2m.getAttribute("name");this._lkb(_u2m, this._ku7, _8ih);this._ht2[_8ih]={};this._hnk(_8ih, _u2m, o);_vzm._6dm(this.Objects[_8ih]===undefined);this.Objects[_8ih]=o;}};_opc.prototype._c2d=function(_8vk){var _tzl=_8vk.length;for(var i=0;i<_tzl;i++){var _u2m=_8vk[i];var _8ih=_u2m.getAttribute("name");delete this._ku7[_8ih];delete this._ht2[_8ih];delete this.Objects[_8ih];}};_opc.prototype._hnk=function(_8ih,n,_4ch){var nl=_7hn._x5g( n, "propertyRef | namedSetRef" );var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _vln=nl.item(i);var _zon=_vln.getAttribute("ref");switch(_vln.nodeName){case "propertyRef":_4ch[_zon]=true;if(this._xub[_zon]){var _hva=_7hn._x5g(_vln, "propertyRef");var _iz4=_hva.length;if(_iz4>0){this._ht2[_8ih][_zon]={};for(var _m2l=0;_m2l<_iz4;_m2l++){var _gxf=_hva.item(_m2l).getAttribute("ref");this._ht2[_8ih][_zon][_gxf]=true;}}else{this._ht2[_8ih][_zon]=_m0n._je8(this._xub[_zon]);}}break;case "namedSetRef":var _50k=_7hn._ij8( this._bsb, "namedSets/namedSet[@name='" + _zon + "']" );this._hnk(_8ih, _50k, _4ch);break;}}};_opc.prototype._zb=function(_n8e,_uk9){var a=[];for(var _8ih in this.Objects){if(_uk9){if(this._mq1(_8ih, _n8e, _uk9)){a.push(_8ih);}}else{if(this._623(_8ih, _n8e)){a.push(_8ih);}}}return a;};_opc.prototype._623=function(_8ih,_n8e){var o=this.Objects[_8ih];return Boolean(o&&o[_n8e]);};_opc.prototype._mq1=function(_8ih,_n8e,_uk9){return !!this._ht2[_8ih][_n8e][_uk9];};_opc.prototype._1o3=function(_vdn){return this._xub[_vdn];};_opc.prototype._w87=function(_dyi,_9ic){var o=this._719[_dyi];if(o){return o[_9ic];}};_opc.prototype._ld4=function(_n8e,_9ic){var o=this._or5[_n8e];if(o){return o[_9ic];}};_opc.prototype._866=function(_8ih,_9ic){var o=this._ku7[_8ih];if(o){return o[_9ic];}};_opc.prototype._jd8=function(_vdn){if(this._795(_vdn)){this._8n8(this._cib(_vdn));}};_opc.prototype._795=function(_vdn){return !isNaN(this._lub[_vdn]);};_opc.prototype._no3=function(_vdn){return(this._ld4( _vdn, "isMultiSelect" )=="true" );};_opc.prototype._t77=function(){return this._wea;};_opc.prototype._eik=function(_vdn){return this._1sl[_vdn];};_opc.prototype._w7j=function(b){this._rpl=b;if(!b){this._bzm();}};_opc.prototype._e6j=function(){return this._rpl;};_opc.prototype._qg8=function(_vdn){return this._2ea[_vdn];};_opc.prototype._u7j=function(_vdn,_99m){if(_99m){this._ti7(_vdn).setAttribute("lang", _99m);}};_opc.prototype._jje=function(_vdn,_uxm){this._2ea[_vdn]=_uxm;if(this._ld4( _vdn, "hide" )=="true" ){return;}switch(this._0km[_vdn]){case "info":this._lu8(_vdn, _uxm);break;case "text":this._uu8(_vdn, _uxm);break;case "boolean":this._3m5( _vdn,(typeof _uxm=="boolean" )?( _uxm?"true":"false" ):_uxm );break;case "dropDownList":this._s92(_vdn, _uxm);break;case "dropDown":this._4q4(_vdn, _uxm);break;case "action":this._cj6(_vdn, _uxm);break;case "colorAction":this._aq2(_vdn, _uxm);break;case "colorPalette":this._cj6(_vdn, _uxm);break;default:_zpn._zmh( "Unrecognized property type '" + this._0km[_vdn] + "' for property '" + _vdn + "'." );break;}if(_zpn._qsh["hal"]["enableAccessibility"]){if(!this._0q7){var _5qm=this._nqn.rows.item(0).cells.length-1; var _wbm=this._nqn.rows.item(0).cells.item(_5qm);_wbm.setAttribute( "tabIndex", "0" );this._0q7=true;}this._bj6();}};_opc.prototype._lu8=function(_vdn,_uxm){if(this._rpl){this._6k6(_vdn, _uxm);}else{this._gy9(_vdn, _uxm);}};_opc.prototype._uu8=function(_vdn,_uxm){if(this._rpl){this._ek6(_vdn, _uxm);}else{this._my9(_vdn, _uxm);}};_opc.prototype._3m5=function(_vdn,_uxm){if(this._rpl){this._mz3(_vdn, _uxm);}else{this._hc6(_vdn, _uxm);}};_opc.prototype._4q4=function(_vdn,_uxm){if(this._rpl){this._la3(_vdn, _uxm);}else{this._5e5(_vdn, _uxm);}};_opc.prototype._9i5=function(_vdn,_uxm,_lqj){if(this._93n[_vdn]=="boolean"){var _ozj=_frh._53g("HAL_BOOLEAN_LISTVIEW");if(_ozj){return _ozj;}var d=_frh._yq9();_ozj=d.documentElement.appendChild(d.createElement("listView"));_ozj.setAttribute( "id", "HAL_BOOLEAN_LISTVIEW" );var _ini=_ozj.appendChild(d.createElement("listItems"));var _mzj=_ini.appendChild(d.createElement("listItem"));_mzj.setAttribute( "value", "false" );_mzj.setAttribute( "idsLabel", "IDS_HAL_PROPVAL_FALSE" );var _mzj=_ini.appendChild(d.createElement("listItem"));_mzj.setAttribute( "value", "true" );_mzj.setAttribute( "idsLabel", "IDS_HAL_PROPVAL_TRUE" );return _frh._53g("HAL_BOOLEAN_LISTVIEW");}if(!this._cu4[_vdn]){var _ahh=this._ld4(_vdn, "listView");return this._vij._ac(this, _ahh||_vdn, _vdn, _uxm, _lqj);}var _ozj=_7hn._ij8( this._bsb, "properties/group/property[@name=" + _cgm._zxc( _vdn ) + "]/listView" );return _ozj?_ozj.cloneNode(true):null;};_opc.prototype._s92=function(_vdn,_uxm){var _x5e=_uxm;if(_uxm||( this._ld4( _vdn, "showEmptyValueLabel" )=="true" ) ){var _ozj=this._9i5(_vdn, _uxm);if(_ozj){var _669=( this._ld4( _vdn, "ignoreValueCase" )=="true" );var _mzj=_pgk._lee(_ozj, "value", _uxm, _669);if(_mzj){_x5e=_pgk._4g8(_mzj);}}}if(this._rpl){this._4k1(_vdn, _uxm, _x5e);}else{this._ll2(_vdn, _uxm, _x5e);}};_opc.prototype._cj6=function(_vdn,_uxm){if(this._rpl){this._jq4(_vdn, _uxm);}else{this._zf7(_vdn, _uxm);}};_opc.prototype._aq2=function(_vdn,_pvm){var _x5e=this._vij._z51?this._vij._z51(this, _pvm):_pvm;if(this._rpl){this._pw1(_vdn, _pvm, _x5e);}else{this._h43(_vdn, _pvm, _x5e);}};_opc.prototype._gy9=function(_vdn,_uxm){this._7g7("info", _vdn);this._6k6(_vdn, _uxm);};_opc.prototype._6k6=function(_vdn,_uxm){var td=this._ti7(_vdn);td.textContent=_uxm;this._d82(_vdn, _uxm, td);this._tq2(_vdn, _uxm);};_opc.prototype._my9=function(_vdn,_uxm){var tr=this._7g7("text", _vdn);var txt=this._ti7(_vdn).firstChild;txt.onblur=_opc._1dg;txt.onfocus=_opc._eqe;txt.onchange=_opc._x5d;this._ek6(_vdn, _uxm);};_opc.prototype._ek6=function(_vdn,_uxm){var txt=this._ti7(_vdn).firstChild;txt._u5e=_uxm;txt.value=_uxm;this._d82(_vdn, _uxm, txt);this._tq2(_vdn, _uxm);};_opc.prototype._5e5=function(_vdn,_uxm){this._7g7("dropDown", _vdn);var txt=this._ti7(_vdn).firstChild;txt.onchange=_opc._x5d;txt.onfocus=_opc._eqe;txt.onblur=_opc._1dg;this._la3(_vdn, _uxm);};_opc.prototype._la3=function(_vdn,_uxm){var td=this._ti7(_vdn);td._dmc=_uxm;td.firstChild.value=_uxm;td.firstChild._u5e=_uxm;this._d82(_vdn, _uxm, td.firstChild);this._tq2(_vdn, _uxm);};_opc.prototype._hc6=function(_vdn,_uxm){var tr=this._7g7("boolean", _vdn);this._mz3(_vdn, _uxm);if(!this._vb3){this._ti7(_vdn).firstChild.onchange=_opc._es8;}};_opc.prototype._mz3=function(_vdn,_uxm){var td=this._ti7(_vdn);td._dmc=_uxm;if(this._vb3){td.textContent=_frh._c6j((_uxm=="true" )?"IDS_HAL_PROPVAL_TRUE":"IDS_HAL_PROPVAL_FALSE" );this._d82(_vdn, _uxm, td);this._tq2(_vdn, _4qn._ofe(td));}else{var _hyl=this._ti7(_vdn).firstChild.firstChild;if(this._tg.has(_vdn)){_hyl.disabled=!_7hn._ij8(this._9i5(_vdn, _uxm, true), "listItems/listItem[2]");}_hyl.checked=(_uxm=="true");}};_opc.prototype._ll2=function(_vdn,_uxm,_x5e){var tr=this._7g7("dropDownList", _vdn);this._4k1(_vdn, _uxm, _x5e);};_opc.prototype._4k1=function(_vdn,_uxm,_x5e){var td=this._ti7(_vdn);td._dmc=_uxm;td.textContent=_x5e;this._d82(_vdn, _uxm, td);this._tq2(_vdn, _x5e);};_opc.prototype._zf7=function(_vdn,_uxm){var tr=this._7g7("action", _vdn);this._jq4(_vdn, _uxm);};_opc.prototype._jq4=function(_vdn,_uxm){var td=this._ti7(_vdn);td.textContent=_uxm;this._d82(_vdn, _uxm, td);this._tq2(_vdn, _uxm);};_opc.prototype._h43=function(_vdn,_pvm,_x5e){var tr=this._7g7("colorAction", _vdn);this._pw1(_vdn, _pvm, _x5e);};_opc.prototype._pw1=function(_vdn,_pvm,_x5e){var td=this._ti7(_vdn);var _93l=td.firstChild;_93l.nextSibling.textContent=" " + _x5e;this._d82(_vdn, _pvm, td);this._tq2(_vdn, _x5e);if(_pvm){try{_93l.style.display="";_93l.style.backgroundColor=_pvm;return;}catch(e){}}_93l.style.display="none";};_opc.prototype._d82=function(_vdn,_uxm,el){if(this._8m1){var n=_7hn._ij8( this._bsb, ".//property[@name=" + _cgm._zxc( _vdn ) + "]" );var _u5e=n.getAttribute("defaultValue");if(_u5e!==null){el.style.fontWeight=(_u5e==_uxm)?"normal":"bold";}}};_opc.prototype._ba6=function(_vdn){if(this._rpl){return;}if(this._w87( _vdn, "hide" )=="true" ){return;}this._bb3=this._q09[_vdn];var tr=this._7g7("Group", _vdn);if(this._bb3){tr.style.display="";}this._0rb=tr.rowIndex;if(_zpn._qsh["hal"]["enableAccessibility"]){_k0d._sj2(tr, "aria-expanded", !this._bb3);}};_opc.prototype._1f8=function(){if(this._rpl){return;}if(this._0rb==(this._nqn.rows.length-1)){this._nqn.deleteRow(this._0rb);}this._0rb=NaN;};_opc.prototype._5c4=function(){if(this._rpl){return;}if(!this._rpl){this._7g7("Last");}};_opc.prototype._og8=function(){var _tzl=this._nqn?this._nqn.rows.length:0;return _tzl?(_tzl-1):_tzl;};_opc.prototype._bzm=function(){this._lub={};this._2ea={};this._wea="";_4qn._eo9(this._nqn);if(_zpn._qsh["hal"]["enableAccessibility"]){this._0q7=false;}};_opc.prototype._mag=function(_gxg){this._nqn=_gxg.appendChild(this._gqn.createElement("TABLE"));this._nqn.cellPadding=0;this._nqn.cellSpacing=0;this._nqn.className="clsPropertySheet";this._nqn.h_oPropertySheet=this;_k0d._9q3(this._nqn);this._oe5();this._64n=this._nqn.appendChild(this._gqn.createElement("TBODY"));this._bj6();};_opc.prototype._oe5=function(){this._nqn[_o7g._ze7?"onpointerdown":"onmousedown"]=this._4dg.bind(this);this._nqn.ondblclick=this._jwh.bind(this);this._nqn.onclick=this._eol.bind(this);this._rp(true);};_opc.prototype._60a=function(){this._w4i={};var _cil=this._gqn.createElement("TR");_cil.className="clsPropertyRow";var _wbm=_cil.appendChild(this._gqn.createElement("TD"));_wbm.style.whiteSpace="nowrap";_wbm.className="clsPropertySheetLabel_inactive";var _2cm=_cil.appendChild(this._gqn.createElement("TD"));_2cm.style.whiteSpace="nowrap";_2cm.className="clsPropertySheetValue";var _koc=this._gqn.createElement("TABLE");_koc.className="clsDialogText";_koc.cellPadding=0;_koc.cellSpacing=0;_koc.style.tableLayout="fixed";_koc.style.overflow="hidden";_koc.style.width="100%";_koc.style.height="100%";_k0d._9q3(_koc);var tr=_koc.appendChild( this._gqn.createElement( "TBODY" ) ).appendChild( this._gqn.createElement( "TR" ) );var td=tr.appendChild(this._gqn.createElement("TD"));td.style.whiteSpace="nowrap";td.style.overflow="hidden";td.style.textOverflow="ellipsis";td.style.width="100%";var _445=this._gqn.createElement("TD");_445.style.display="none";_445.style.width="22px";var _paf=_445.appendChild(this._gqn.createElement("BUTTON"));_paf.hideFocus=true;_paf.className="clsDotDotDotPropertyButton";_paf.innerHTML='<svg class="clsDotDotDotButtonSvg"><use xlink:href="#def_hal_property_dotdotdot"/></svg>';if(_zpn._qsh["hal"]["enableAccessibility"]){var _74e=_frh._c6j("IDS_HAL_AC_DOTDOTDOT");_cil.setAttribute( "role", "row" );_wbm.setAttribute( "tabIndex", "-1" );_wbm.setAttribute( "role", "gridcell" );_2cm.setAttribute( "role", "gridcell" );td.setAttribute( "tabIndex", "-1" );_paf.setAttribute( "tabIndex", "-1" );_paf.setAttribute("aria-label", _74e);}var tr=_cil.cloneNode(true);this._w4i["Group"]=tr;tr.className="clsGroupHeader";tr.firstChild.style.fontWeight="bold";var tr=_cil.cloneNode(true);tr.firstChild.style.borderRight="none";tr.firstChild.style.borderLeft="none";tr.firstChild.style.borderBottom="none";tr.firstChild.style.borderRight="none";tr.firstChild.nextSibling.style.borderLeft="none";tr.firstChild.nextSibling.style.borderRight="none";tr.firstChild.nextSibling.style.borderBottom="none";this._w4i["Last"]=tr;var tr=_cil.cloneNode(true);this._w4i["info"]=tr;tr.firstChild.nextSibling.appendChild(_koc.cloneNode(true));var tr=this._w4i["info"].cloneNode(true);this._w4i["text"]=tr;var _hyl=tr.firstChild.nextSibling.firstChild.firstChild.firstChild.firstChild.appendChild(this._gqn.createElement("INPUT"));_hyl.className="clsPropertySheetValueInput";_hyl.type="text";_hyl.style.height="22px";_hyl.style.width="100%";_hyl.style.borderWidth="1px";_hyl.style.borderStyle="solid";_hyl.style.position="relative";if(_zpn._qsh["hal"]["enableAccessibility"]){_hyl.setAttribute( "tabIndex", "-1" );}var tr=_cil.cloneNode(true);this._w4i["colorAction"]=tr;var _plh=tr.firstChild.nextSibling;var tbl=_plh.appendChild(_koc.cloneNode(true));var tr=tbl.firstChild.firstChild;var img=tr.firstChild.appendChild(this._gqn.createElement("IMG"));img.src=_zpn._1th+"blank.gif";img.style.verticalAlign="middle";img.style.height="18px";img.style.width="18px";img.style.border="1px solid #393939";tr.firstChild.appendChild( this._gqn.createElement( "SPAN" ) ).style.verticalAlign = "middle";tr.appendChild(_445.cloneNode(true));var tr=this._w4i["info"].cloneNode(true);this._w4i["action"]=tr;tr.firstChild.nextSibling.firstChild.firstChild.firstChild.appendChild(_445.cloneNode(true));var tr=this._w4i["info"].cloneNode(true);this._w4i["dropDownList"]=tr;var _poc=tr.firstChild.nextSibling.firstChild.firstChild.firstChild.appendChild(_445.cloneNode(true));_poc.firstChild.innerHTML='<svg height="12" width="12" style="margin-top:4px"><use xlink:href="#def_hal_dropdown_arrow"/></svg>';if(_zpn._qsh["hal"]["enableAccessibility"]){var _f27=_frh._c6j("IDS_HAL_AC_DROPDOWN");_poc.firstChild.setAttribute("aria-label", _f27);_poc.firstChild.firstChild.setAttribute("alt", _f27);}if(this._vb3){var tr=this._w4i["dropDownList"].cloneNode(true);}else{var tr=this._w4i["info"].cloneNode(true);var td=tr.firstChild.nextSibling.firstChild.firstChild.firstChild.firstChild;td.style.paddingTop="3px";td.style.paddingLeft="3px";var _iyl=td.appendChild(this._gqn.createElement("LABEL"));_iyl.className=this._wb3?"clsToggle":"clsCheckbox";_iyl.style.marginBottom="16px";_iyl.style.display="inline";var _hyl=_iyl.appendChild(this._gqn.createElement("INPUT"));_hyl.type="checkbox";var _wom=_iyl.appendChild(this._gqn.createElement("SPAN"));if(_zpn._qsh["hal"]["enableAccessibility"]){_hyl.setAttribute( "tabIndex", "-1" );}}this._w4i["boolean"]=tr;var tr=this._w4i["dropDownList"].cloneNode(true);this._w4i["dropDown"]=tr;var _hyl=tr.firstChild.nextSibling.firstChild.firstChild.firstChild.firstChild.appendChild(this._gqn.createElement("INPUT"));_hyl.className="clsPropertySheetValueInput";_hyl.type="text";_hyl.style.height="22px";_hyl.style.width="100%";_hyl.style.border="none";_hyl.style.position="relative";if(_zpn._qsh["hal"]["enableAccessibility"]){_hyl.setAttribute( "tabIndex", "-1" );}};_opc.prototype._7g7=function(_pen,_vdn){var tr=this._64n.appendChild(this._w4i[_pen].cloneNode(true));tr.setAttribute("_o8e", _pen);tr._72c=true;if(_pen!="Last"){tr._n8e=_vdn;var _wbm=tr.cells.item(0);_wbm.textContent=this._1sl[_vdn];if(this._edd){var _ztf=this._ld4(_vdn, "indentLevel");if(_ztf){_wbm.style.paddingLeft=(parseInt(_ztf, 10)*this._edd)+"px";}}this._lub[_vdn]=tr.rowIndex;if(this._bb3){tr.style.display="none";}}if(_zpn._qsh["hal"]["enableAccessibility"]){var nl=tr.getElementsByTagName("TD");for(var i=0;i<nl.length;i++){var _2sn=nl.item(i);if(_2sn.getAttribute("role")){_2sn.setAttribute("aria-label", this._1sl[_vdn]||_vdn);}}}return tr;};_opc.prototype._cib=function(_vdn){return this._nqn.rows.item(this._lub[_vdn]);};_opc.prototype._uoe=function(_vdn){return this._nqn.rows.item(this._lub[_vdn]).cells.item(0);};_opc.prototype._9pe=function(_vdn){return this._nqn.rows.item(this._lub[_vdn]).cells.item(1);};_opc.prototype._ti7=function(_vdn){return this._9pe(_vdn).firstChild.rows.item(0).cells.item(0);};_opc._tu1=function(el){var _rbe=el;while(!_rbe._72c){_rbe=_rbe.parentNode;}return _rbe.parentNode.parentNode.h_oPropertySheet;};_opc.prototype._od6=function(_bma,_sh9){this._daa=_bma.appendChild(document.createElement("DIV"));this._daa.className="clsBlocker" + ( _sh9?( " " + _sh9 ):"" );this._daa[_o7g._ze7?"onpointerdown":"onmousedown"]=_opc._wc6;this._daa.style.visibility="hidden";this._daa._h94=_4qn._a87(this._nqn);};_opc.prototype._4dj=function(){this._daa.style.visibility="";};_opc._wc6=function(e){e.stopPropagation();var _xgc=document.getElementById(this._h94).h_oPropertySheet;var _b6k=_xgc._vij;if(_b6k._b5){_b6k._b5(_xgc);}if(!_o7g._60n){window.getSelection().focusNode.blur();}e.target.style.visibility="hidden";};_opc.prototype._xnl=function(){this._daa.style.visibility="hidden";};_opc._eqe=function(e){var _uaf=this;var _xgc=_opc._tu1(_uaf);_xgc._8ue=true;_xgc._4dj();};_opc._1dg=function(e){var _uaf=this;var _xgc=_opc._tu1(_uaf);_xgc._8ue=false;_xgc._xnl();if(!_o7g._60n){_h8j._2wc(e);}};_opc._x5d=function(){if(this.value!=this._u5e){this._u5e=this.value;var _rbe=this;while(!_rbe._72c){_rbe=_rbe.parentNode;}var _xgc=_rbe.parentNode.parentNode.h_oPropertySheet;_xgc._yqe(_rbe._n8e, this.value);}};_opc._es8=function(){var _rbe=this;while(!_rbe._72c){_rbe=_rbe.parentNode;}var _xgc=_rbe.parentNode.parentNode.h_oPropertySheet;_xgc._vij._xm(_xgc, _rbe._n8e, this.firstChild.checked?"true":"false");};_opc.prototype._e32=function(_3zk){var btn=this._ti7(this._wea).nextSibling.querySelector("BUTTON.clsDotDotDotPropertyButton");if(_3zk){btn.classList.add("clsDotDotDotPropertyButtonOpen");}else{btn.classList.remove("clsDotDotDotPropertyButtonOpen");}};_opc.prototype._eol=function(e){var _07n=e.target;if(_07n.tagName=="BUTTON"||(_07n.tagName=="IMG"&&_07n.parentNode.tagName=="BUTTON")){var _rbe=this._vn2(_07n, e);switch(_rbe.getAttribute("_o8e")){case "dropDown":case "dropDownList":case "boolean":var _vdn=_rbe._n8e;var _plh=this._9pe(_vdn);var _ml9=this._ti7(_vdn);var _uxm=_ml9._dmc;var _ozj=this._9i5(_vdn, _uxm);this._vij._0y(this, _vdn, _uxm, _ozj, _plh);break;case "action":case "colorAction":case "colorPalette":this._vij._wm(this, _rbe._n8e, null, false);break;}}};_opc.prototype._4dg=function(e){if(_zpn._70d&&_zpn._70d._l5){_zpn._70d._l5(e, this);}var _07n=e.target;var _rbe=this._vn2(_07n, e);switch(_rbe.getAttribute("_o8e")){case "Group":if((_07n.tagName=="IMG")&&(_07n.parentNode.cellIndex==0)){this._jm5(_rbe);}break;}this._8n8(_rbe);};_opc.prototype._jwh=function(e){if(_zpn._70d&&_zpn._70d._i6){_zpn._70d._i6(e, this);}var _07n=e.target;var _rbe=this._vn2(_07n, e);if ((_rbe.getAttribute( "_o8e" )=="Group" )&&( _07n.tagName=="IMG" ) ){return;}if(_07n.tagName=="BUTTON"){switch(_rbe.getAttribute("_o8e")){case "action":case "colorAction":return;}}this._duh(_rbe);};_opc.prototype._duh=function(_rbe){this._8n8(_rbe);var _pen=_rbe.getAttribute("_o8e");switch(_pen){case "Group":this._jm5(_rbe);break;case "action":case "colorAction":this._vij._wm(this, _rbe._n8e, null, false);break;case "dropDownList":case "boolean":if(this._vij._bc){var _vdn=_rbe._n8e;if(this._ld4( _vdn, "disableCycle" ) != "true" ){var _2cm=this._ti7(_vdn);var _uxm=_2cm._dmc;if ((_pen=="dropDownList" )||( this._vk&&( _pen=="boolean" )&&this._tg.has( _vdn ) ) ){var _ozj=this._9i5(_vdn, _uxm);this._vij._bc(this, _vdn, _uxm, _ozj);}else{if(!_2cm.querySelector("INPUT").disabled){this._vij._xm( this, _vdn,(_uxm=="true" )?"false":"true" );}}}}break;}};_opc.prototype._a7j=function(e){if(_zpn._qsh["hal"]["enableAccessibility"]){this._xi1(e);return;}switch(e.keyCode){case _4qn._gml:_4qn._w0g(e);break;case _4qn._qrh:if(!this._8ue&&this._wea){this._vij._ym(this, this._wea);}break;}};_opc.prototype._wph=function(e){if(_zpn._qsh["hal"]["enableAccessibility"]){return;}switch(e.keyCode){case _4qn._x8j:if(this._wea){var _rbe=this._cib(this._wea);switch(_rbe.getAttribute("_o8e")){case "text":case "dropDown":this._2e6();break;default:this._duh(_rbe);}}break;case _4qn._rrh:this._2e6();break;}};_opc.prototype._8n8=function(_rbe){if(_rbe.getAttribute( "_o8e" )=="Last" ){return;}if(this._wea!=_rbe._n8e){this._2e6();this._wea=_rbe._n8e;this._uoe(this._wea).className="clsPropertySheetLabel_active";switch(_rbe.getAttribute("_o8e")){case "text":if(!_zpn._qsh["hal"]["enableAccessibility"]){this._ti7(this._wea).firstChild.focus();}break;case "dropDown":if(!_zpn._qsh["hal"]["enableAccessibility"]){this._ti7(this._wea).firstChild.focus();}case "action":case "colorAction":case "dropDownList":this._ti7(this._wea).nextSibling.style.display="";if(_zpn._qsh["hal"]["enableAccessibility"]){this._uoe(this._wea).focus();}break;case "boolean":if(this._vb3){this._ti7(this._wea).nextSibling.style.display="";}if(_zpn._qsh["hal"]["enableAccessibility"]){this._uoe(this._wea).focus();}break;}if(this._vij._cc){this._vij._cc(this, this._wea);}}};_opc.prototype._2e6=function(){if(this._wea){this._uoe(this._wea).className="clsPropertySheetLabel_inactive";var _rbe=this._cib(this._wea);switch(_rbe.getAttribute("_o8e")){case "text":var txt=this._ti7(this._wea).firstChild;if(txt.value!=txt._u5e){txt._u5e=txt.value;this._yqe(this._wea, txt.value);}txt.blur();break;case "dropDown":this._ti7(this._wea).firstChild.blur();case "action":case "colorAction":case "dropDownList":this._ti7(this._wea).nextSibling.style.display="none";break;}if(this._vij._j7){this._vij._j7(this, this._wea);}this._wea="";}};_opc.prototype._vn2=function(el,e){if(el==this._nqn){var _hcf=1;var _ssj=this._gqn.elementFromPoint(e.clientX+_hcf, e.clientY+_hcf);if(_4qn._ihk(this._nqn, _ssj)){el=_ssj;}else{_ssj=this._gqn.elementFromPoint(e.clientX-_hcf, e.clientY-_hcf);if(_4qn._ihk(this._nqn, _ssj)){el=_ssj;}}}el=_4qn._n22(el);for(;el&&(el!=this._nqn);el=el.parentNode){if((el.tagName=="TR")&&el._72c){return el;}}};_opc.prototype._jm5=function(_rbe){var _lai=this._q09[_rbe._n8e];var rows=this._nqn.rows;var _qrd=rows.length;var _6dl=_lai?"":"none";for(var i=_rbe.rowIndex+1;i<_qrd;i++){var _6gk=rows.item(i);if ((_6gk.getAttribute( "_o8e" )=="Group" )||( _6gk.getAttribute( "_o8e" )=="Last" ) ){break;}_6gk.style.display=_6dl;}var img=_rbe.cells.item(0).firstChild;img.src=_zpn._1th+(_lai?"minus.gif":"plus.gif");if(_lai){delete this._q09[_rbe._n8e];}else{this._q09[_rbe._n8e]=true;}if(_zpn._qsh["hal"]["enableAccessibility"]){_k0d._sj2(_rbe, "aria-expanded", _lai);img.alt=_lai?"-":"+";}};_opc.prototype._yqe=function(_5en,_uxm){var _a9k=this._ld4(_5en, "dataType");if ( this._vij._h2&&_a9k&&!((_uxm==="" )&&this._ld4( _5en, "defaultDelete" ) ) ){var _non=this._ld4(_5en, "min");var _mon=this._ld4(_5en, "max");switch(_a9k){case "integer":if(!_uxm.match(/^-?\d+$/)){this._vij._h2(this, _opc._19j, _5en, _uxm, parseInt(_non), parseInt(_mon));return;}if(this._xk5(_5en, _uxm, parseInt(_uxm, 10), parseInt(_non), parseInt(_mon))){this._vij._xm(this, _5en, _uxm);}return;case "float":var _8pm=_cgm._6qh(_uxm);if(this._xk5(_5en, _uxm, _8pm, parseFloat(_non), parseFloat(_mon))){this._vij._xm(this, _5en, String(_8pm));}return;case "decimal":var _g9l=new _ril(_uxm);var _8pm=_g9l._1ml();if(this._xk5(_5en, _uxm, _8pm, parseFloat(_non), parseFloat(_mon))){this._vij._xm(this, _5en, _g9l._fkk());}return;}}this._vij._xm(this, _5en, _uxm);};_opc.prototype._xk5=function(_5en,_uxm,_vym,_npn,_mpn){if(isNaN(_vym)){this._vij._h2(this, _opc._19j, _5en, _uxm, _npn, _mpn);return false;}if(!isNaN(_npn)&&(_vym<_npn)){this._vij._h2(this, _opc._hke, _5en, _uxm, _npn, _mpn);return false;}if(!isNaN(_mpn)&&(_vym>_mpn)){this._vij._h2(this, _opc._2w9, _5en, _uxm, _npn, _mpn);return false;}return true;};_opc.prototype._gje=function(_vdn,_uxm,_ozj,_mzl,_xqm,_7ai){var td=this._9pe(_vdn);_rk3._jgn(this, td, _vdn, _uxm, _ozj, _mzl, _xqm, _7ai);};_opc.prototype._bj6=function(){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}this._nqn.setAttribute( "role", "treegrid" );this._nqn.setAttribute( "aria-label", _frh._c6j( "IDS_HAL_AC_PROPERTYSHEET_TABLE" ) );};_opc.prototype._tq2=function(_vdn,_x5e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _2cm=this._ti7(_vdn);switch(this._0km[_vdn]){case "text":case "dropDown":var _yvi=( this._0km[_vdn]=="text" )?"IDS_HAL_AC_PROPERTY_TEXT":"IDS_HAL_AC_PROPERTY_DROPDOWN";_x5e=_x5e||_frh._c6j(_yvi);_2cm.firstChild.setAttribute("aria-label", _x5e);break;case "boolean":case "dropDownList":case "colorAction":case "action":case "info":_2cm.setAttribute("aria-label", _x5e);break;}};_opc.prototype._rp=function(_vin){if(!_zpn._qsh["hal"]["enableAccessibility"]||!this._nqn){return;}if(!this._2s7){this._2s7=this._gol.bind(this);}if(_vin){_k0d._mw(this._nqn, this._2s7, null);}else{_k0d._oi(this._nqn, this._2s7, null);}};_opc.prototype._gol=function(e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _07n=e.target;var _rbe=this._vn2(_07n, e);this._8n8(_rbe);if(this._hig){this._hig.setAttribute( "tabIndex", "-1" );}_07n.setAttribute( "tabIndex", "0" );this._hig=_07n;};_opc.prototype._4d6=function(){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}this._hig=null;};_opc.prototype._l1a=function(_vdn){var _5fi;var _599=this._9pe(_vdn).firstChild;if(_599){_5fi=_599.rows.item(0).cells.item(1);}return _5fi?_5fi.firstChild:null;};_opc.prototype._zc4=function(_n8e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return null;}var _hlm=[];_hlm.push(this._uoe(_n8e));var _qyl;var _rbe=this._cib(_n8e);switch(_rbe.getAttribute("_o8e")){case "text":case "dropDown":_qyl=this._ti7(_n8e).firstChild;break;case "action":case "colorAction":case "dropDownList":case "boolean":_qyl=this._ti7(_n8e);break;}if(_qyl){_hlm.push(_qyl);}var _uzk=this._l1a(_n8e);if(_uzk){_hlm.push(_uzk);}return _hlm;};_opc.prototype._xi1=function(e){if(!_zpn._qsh["hal"]["enableAccessibility"]||!this._wea){return;}var _7ym=e.target;switch(e.keyCode){case _4qn._b8g:_4qn._w0g(e);var _ekn=this._lub[this._wea];var _qrd=this._nqn.rows.length;for(var i=_ekn-1;i>=0;i--){var _ypd=this._nqn.rows.item(i);if(_ypd&&_ypd.style.display!="none"){var _hlm=this._zc4(_ypd._n8e);if(_hlm&&_hlm.length>0){_hlm[0].focus();return;}}}break;case _4qn._wyc:_4qn._w0g(e);var _ekn=this._lub[this._wea];var _qrd=this._nqn.rows.length;for(var i=_ekn+1;i<_qrd;i++){var _ysj=this._nqn.rows.item(i);if(_ysj&&_ysj.style.display!="none"){var _hlm=this._zc4(_ysj._n8e);if(_hlm&&_hlm.length>0){_hlm[0].focus();return;}}}break;case _4qn._xyc:_4qn._w0g(e);var _hlm=this._zc4(this._wea);for(var i=_hlm.length-1;i>=0;i--){if(_hlm[i]==_7ym&&_hlm[i-1]){_hlm[i-1].focus();return;}}break;case _4qn._1db:_4qn._w0g(e);var _hlm=this._zc4(this._wea);for(var i=0;i<_hlm.length;i++){if(_hlm[i]==_7ym&&_hlm[i+1]){_hlm[i+1].focus();return;}}break;case _4qn._09j:if(this._8ue){break;}case _4qn._x8j:if(_7ym.nodeName!="BUTTON"){var _rbe=this._cib(this._wea);this._duh(_rbe);_4qn._w0g(e);}break;case _4qn._qrh:if(!this._8ue){this._vij._ym(this, this._wea);_4qn._w0g(e);}break;}};_zpn._la6("_lcm");var _rk3=new _lcm("_rk3");_rk3._s82=function(_3zk){if(this._kub._e32){this._kub._e32(_3zk);}};_rk3._jgn=function(_xgc, td, _vdn, _uxm, _ozj, _mzl, _xqm, _7ai){if(!this._vhg){this._vhg=this._2oh("divListView");}this._kub=_xgc;this._s82(true);this._khd=_vdn;var _r8d="192px";var _r8m=isNaN( _mzl )?((_7hn._x5g( _ozj, "listItems/listItem" ).length > 6 )?_r8d:"" ):( _mzl + "px" );this._vhg.style.height=_r8m;if(isNaN(_xqm)){_xqm=td.offsetWidth-1;}var _yxm=(Math.max(60, _xqm)+"px");this._vhg.style.width="auto";this._vhg.style.minWidth=_yxm;this._vhg.style.paddingRight=(_7ai&&_r8m)?"16px":"";this._vhg.style.overflowX=_7ai?( _r8m?"hidden":"visible" ):"";this._vhg.style.overflowY=_7ai?"auto":"";_ozj.setAttribute( "allowCtrlDeselect", "false" );this._uij=new _pgk(this._vhg, _ozj, this);if(_uxm==null){this._uij._rn9(true);}this._4le(td);if(_uxm!=null){this._uij._hwc(_uxm, true, false);}};_rk3._wl3=function(){if(_o7g._60n&&( this._uij._eq9().getAttribute( "view" )=="report" ) ){this._vhg.style.paddingBottom=((this._vhg.scrollWidth-this._vhg.offsetWidth)>1)?"16px":"";}this._3m3();this._vhg.focus();};_rk3._o46=function(){this._s82(false);if(this._uij){this._uij._fdm();this._uij=null;}this._kub=null;};_rk3._pe4=function(_a6k,_mzj,_zdf){if(_mzj.getAttribute("selectable")=="false"){return;}setTimeout(this._1gn.bind(this), 0);var _uxm=_mzj.getAttribute("value");if(_uxm==null){_uxm=_pgk._4g8(_mzj);}var _b6k=this._kub._vij;setTimeout(_b6k._xm.bind(_b6k, this._kub, this._khd, _uxm), 0);};_rk3._pk7=function(){var d=document;d.body.appendChild(d.createElement("DIV")).innerHTML='<div id="_rk3" class="clsDialog" HAL_visualParentRelation="bottom" HAL_visualParentOffsetTop="1" HAL_borderStyle="none" onkeypress="_rk3._wph(event)" role="dialog"' +( _zpn._qsh["hal"]["enableAccessibility"]?' aria-label="' + _cgm._t85( _frh._c6j( "IDS_HAL_AC_DIALOG_PROPERTYSHEETLISTVIEW" ) ) + '">':'>' ) +'<div id="_rk3_divListView" class="clsListView_dropdown"></div>' +'</div>';};_rk3._pk7();