123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function _0jl(_mei, _v7l, _b6k){this._21i=_mei;this._21i._gbl=this;this._lrk=_v7l;this._vij=_b6k;this._ykg={};this._vq7=_v7l.getAttribute( "useSuperTooltips" )=="true";this._6w1();if(!_mei.className){_mei.className="clsToolbar";}_mei.setAttribute("_m2j", _mei.id||_4qn._a87(_mei));this._mqh(true);this._gw1();this._8hn();this._wib();this._9o8();if(window["_lcm"]){_lcm._4l3(this);}};_0jl.prototype._3pk=true;_0jl.prototype._fdm=function(){this._3xb=null;if(window["_lcm"]){_lcm._442(this);}for(var _ksn in this._ykg){this._ykg[_ksn]._fdm();}this._ykg=null;for(var _g8k in this._3ub){this._3ub[_g8k]._fdm();}this._3ub=null;this._bu7=null;this._lrk=null;this._vij=null;this._mqh(false);this._21i._gbl=null;this._21i.removeAttribute("_m2j");_4qn._knh(this._21i);this._4d6();this._rp();this._21i.innerHTML="";this._21i=null;};_0jl.prototype._ezm=function(){return this._21i.id;};_0jl.prototype._3fe=function(){return this._21i;};_0jl.prototype._d8b=function(){return this._lrk;};_0jl.prototype._42g=function(_meh){return this._ykg[_meh];};_0jl.prototype._hq9=function(_g8k){return this._c2a(_g8k);};_0jl.prototype._c2a=function(_g8k){var _52e=this._3ub[_g8k];if(!_52e){_52e=new _3ce(this._bu7[_g8k], this);this._3ub[_g8k]=_52e;}return _52e;};_0jl.prototype._4oh=function(){return this._3pk;};_0jl.prototype._mqh=function(_zwk){this._3pk=_zwk;this._21i[_o7g._ze7?"onpointerdown":"onmousedown"]=_zwk?Toolbar_onMouseDown:null;this._21i[_o7g._ze7?"onpointerover":"onmouseover"]=_zwk?Toolbar_onMouseOver:null;this._21i[_o7g._ze7?"onpointerout":"onmouseout"]=_zwk?Toolbar_onMouseOut:null;};_0jl.prototype._oj8=function(_g8k,_wwk){var _wia=_0jl._2u8(_g8k, _wwk);if(_wia){this._ql2();this._de5(_g8k, _wwk);}};_0jl.prototype._zp3=function(_sdl,_wwk){var _g8k="";var nl=_7hn._x5g( this._lrk, "*[@groupId='" + _sdl + "']" );for(var i=0; i<nl.length; i++){_g8k=nl.item(i).getAttribute("id");var _wia=_0jl._2u8(_g8k, _wwk);if(_wia){this._de5(_g8k, _wwk);} }this._ql2();};_0jl.prototype._vh5=function(){var _atn=this._21i;while(_atn&&_atn.tagName!="TD"){_atn=_atn.firstChild;}return _atn;};_0jl.prototype._ql2=function(){var _uzk=this._vh5();var _3zk=false;while(_uzk){if(_uzk.className=="clsToolbarSeparator"){_uzk.style.display=_3zk?"":"none";_3zk=false;}else{var _atn=_uzk;if(_uzk.className=="clsToolbarComboBox"){_atn=_uzk.firstChild;}_3zk=_3zk||_atn.style.display!="none";}_uzk=_uzk.nextSibling;}};_0jl._2u8=function(_g8k,_wwk){var el=document.getElementById(_g8k);if(el){if(_wwk){var _ydl=el.getAttribute("icon_src");if(_ydl){el.querySelector("IMG").src=_ydl;el.removeAttribute("icon_src");}}var _sj9=el.style.display; el.style.display=(_wwk?"":"none");if(el.getAttribute( "_5eh" )=="tblDropdown" ){el.nextSibling.style.display=(_wwk?"":"none");}if(el.className=="clsComboBox"){el.parentNode.style.display=(_wwk?"":"none");}return el.style.display!=_sj9;}return false;};_0jl.prototype._nwc=function(_g8k,_ygl){document.getElementById( _g8k ).querySelector( "svg").firstElementChild.setAttribute( "xlink:href", "#" + _ygl );_7hn._ij8( this._lrk, "*[@id='" + _g8k + "']" ).setAttribute( "smallSvgIcon", _ygl );};_0jl.prototype._qj8=function(_g8k,_9hl){var el=document.getElementById(_g8k);if(el){if(this._vq7){var n=_7hn._ij8( this._lrk, "*[@id='" + _g8k + "']" );if(n){n.setAttribute("tooltip", _9hl);}}else{el.title=_9hl;}if(_zpn._qsh["hal"]["enableAccessibility"]){el.setAttribute("aria-label", _9hl);}}};_0jl.prototype._661=function(_g8k,_6tf){var el=document.getElementById(_g8k);if(el&&this._vq7){var n=_7hn._ij8( this._lrk, "*[@id='" + _g8k + "']" );if(n){n.setAttribute("description", _6tf);}}};_0jl.prototype._pj8=function(_g8k,_zwk,_9wm){_0jl._3u8(this._lrk, _g8k, _zwk, _9wm);};_0jl._3u8=function(_v7l,_g8k,_zwk,_9wm){var n=_7hn._ij8( _v7l, "*[@id='" + _g8k + "']" );if(!n){return;}if(!_9wm){var _q1j=n.getAttribute("smallIcon");if(_q1j){_9wm=_q1j.substr(0, _q1j.length-".gif".length);}}switch(n.nodeName){case "toolbarColorButtonDropDown":case "toolbarColorButton":_0jl._wy3(_g8k, _zwk);}_4qn._pj8(_g8k, _zwk, _9wm);};_0jl.prototype._rje=function(_g8k,_r5n){var btn=document.getElementById(_g8k);if(!btn){return;}if(_r5n){if(btn.className!="clsToolbarButton_stuck"){btn.className="clsToolbarButton_stuck";}}else{switch(btn.className){case "clsToolbarButton_stuck":case "clsToolbarButton_down":btn.className="clsToolbarButton";break;}}this._z92(btn);};_0jl.prototype._yab=function(_g8k,_pvm){_0jl._7lb(_g8k, _pvm);};_0jl._7lb=function(_g8k,_pvm,_zvg){var div=document.getElementById(_g8k+"_ColorButtonDIV");if(div){if(_zvg!==false){div._pvm=_pvm||"";}div.style.backgroundColor=_pvm||"";div.style.border=_pvm?"none":"1px solid " + _9l8._9h8( "--text-03" );}};_0jl._wy3=function(_g8k,_zwk){_0jl._7lb(_g8k, _zwk?this._lhb(_g8k):_9l8._9h8("--text-03"), _zwk);};_0jl.prototype._o6b=function(_g8k){return _0jl._lhb(_g8k);};_0jl._lhb=function(_g8k){var div=document.getElementById(_g8k+"_ColorButtonDIV");if(div){return div._pvm||"";}};_0jl._47b=function(_g8k,_zqn){var btn=document.getElementById(_g8k);var _ymn=_4qn._m97(btn, document.body);if(!_zqn){_ymn.top=_ymn.top+btn.offsetHeight;}return _ymn;};_0jl.prototype._6w1=function(){var nl=_7hn._x5g(this._lrk, "toolbarSeparator");var a=[];var _d2m=nl.length;for(var i=0;i<_d2m;i++){for(var n=_8qn._dn3(nl.item(i)); n&&(n.nodeName=="toolbarSeparator"); n=_8qn._dn3(n)){a.push(n);}}_8qn._496(a);_8qn._k5g( this._lrk, "toolbarSeparator[not(following-sibling::*) or not(preceding-sibling::*)]" );};_0jl.prototype._wib=function(){var nl=_7hn._x5g( this._lrk, "*/menuPopup | */menuPopupRef" );var _tzl=nl.length;if(_tzl>0){_zpn._la6("_3ce");}this._bu7={};this._3ub={};for(var i=0;i<_tzl;i++){var _uni=nl.item(i);var _g8k=_uni.parentNode.getAttribute("id");if(_uni.nodeName=="menuPopupRef"){var _zon=_uni.getAttribute("ref");_uni=_frh._53g(_zon);_uni.setAttribute("id", _zon);}else{_uni=_uni.cloneNode(true);}var d=_uni.ownerDocument;var _pvd=d.createElement("menuPopupSet");_pvd.appendChild(_uni);this._bu7[_g8k]=_pvd;}};_0jl.prototype._j7d=function(_g8k,_luf,_v7n,_kkn){this._c2a(_g8k)._pxc(_luf, _v7n, _kkn);};_0jl.prototype._qx=function(_52e,_uni){if(this._vij&&this._vij._v7){this._vij._v7(this, _52e, _uni);}};_0jl.prototype._li=function(_52e,_uni){if(this._vij&&this._vij._d4){return this._vij._d4(this, _52e, _uni);}};_0jl.prototype._h32=function(_52e,_uni){if(this._vij&&this._vij._zi){this._vij._zi(this, _52e, _uni);}};_0jl.prototype._mi=function(_52e,_sf3){if(this._vij&&this._vij._e4){this._vij._e4(this, _52e, _sf3);}if(!_sf3){this._w93();}};_0jl.prototype._rx=function(_52e,_phh){if(this._vij&&this._vij._w7){this._vij._w7(this, _52e, _phh);}};_0jl.prototype._c65=function(_hvi,_yxk,_w1e){if(_hvi){if(!this._3xb){return;}if(!_4qn._ihk(_hvi._n75(), this._3xb)){return;}}this._w93();};_0jl.prototype._w93=function(){if(this._3xb){this._3xb.className="clsToolbarButton";this._3xb=null;}if(_zpn._qsh["hal"]["enableAccessibility"]&&this._2s2){this._2s2.focus();}};_0jl.prototype._9o8=function(){var nl=_7hn._x5g( this._lrk, "toolbarComboBox[not(@display or @display='false')]" );var _tzl=nl.length;if(_tzl>0){_zpn._la6("_jgk");}for(var i=0;i<_tzl;i++){var _ee9=nl.item(i);var _fxj=_7hn._ij8(_ee9, "comboBox");if(!_fxj){var _ekf=_7hn._ij8(_ee9, "comboBoxRef/@ref");if(_ekf){_fxj=_frh._53g(_ekf.value);}}var _ozj=_7hn._ij8(_ee9, "listView");if(!_ozj){var _gkf=_7hn._ij8(_ee9, "listViewRef/@ref");if(_gkf){_ozj=_frh._53g(_gkf.value);}}if(_fxj||_ozj){var _ksn=_ee9.getAttribute("id");var _35k=new _jgk(document.getElementById(_ksn), _fxj, _ozj, this);if(this._vq7&&!_zpn._qsh["hal"]["enableAccessibility"]){_35k._dde(false);}this._ykg[_ksn]=_35k;}}};_0jl.prototype._a1a=function(_yvm,_g8k,_vqj){if(this._vij&&this._vij[_yvm]){this._vij[_yvm](this, _g8k, _vqj);}};_0jl.prototype._kg2=function(_35k,_a6k){if(this._vij&&this._vij._cn){this._vij._cn(this, _35k, _a6k);}};_0jl.prototype._tw=function(_35k,_a6k){if(this._vij&&this._vij._u7){this._vij._u7(this, _35k, _a6k);}};_0jl.prototype._jg2=function(_35k,_a6k){if(this._vij&&this._vij._bn){this._vij._bn(this, _35k, _a6k);}};_0jl.prototype._g67=function(_35k,_mzj){if(this._vij&&this._vij._g42){this._vij._g42(this, _35k, _mzj);}};_0jl.prototype._8hn=function(){this._v5i=_zpn._1th;this._4d6();var _lul=[];_lul.push( '<div class="clsToolbarLeft"><div class="clsToolbarRight"><div class="clsToolbarInner">' );var _pk9=this._lrk.getAttribute( "smallIconHeight" )||"16px";var _52b=this._lrk.getAttribute( "smallIconWidth" )||"16px";_lul.push( '<table role="presentation" cellspacing="0" cellpadding="0"' );_lul.push( ' style="border-collapse:separate"' );var _a9e=this._lrk.getAttribute("rightAligned");if(_a9e=="true"){_lul.push( ' class="clsRightAlignedTable"' );}_lul.push('><tr>');var _m4f=[];var _qmj=[];var nl=_7hn._x5g(this._lrk, "*");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var n=nl.item(i);var _ick=n.nodeName;var _wwk=( n.getAttribute( "display" ) != "false" );if(!_wwk&&( _ick!="toolbarButton" )&&( _ick != "toolbarColorButton" ) ){_m4f.push(n.getAttribute("id"));}var _roj=( n.getAttribute( "enabled" )=="false" );if(_roj){_qmj.push(n.getAttribute("id"));}switch(_ick){case "toolbarButton":this._juh(_lul, n, _pk9, _52b, _wwk);break;case "toolbarTextButton":this._0hb(_lul, n);break;case "toolbarButtonDropDown":this._je6(_lul, n, _pk9, _52b);break;case "toolbarColorButton":this._juh(_lul, n,(parseInt(_pk9, 10)-4)+"px", _52b, _wwk);break;case "toolbarColorButtonDropDown":this._je6(_lul, n,(parseInt(_pk9, 10)-4)+"px", _52b);break;case "toolbarComboBox":this._lne(_lul, n);break;case "toolbarSeparator":if(_wwk||n.getAttribute("id")){this._03d(_lul, n);}break;}if(this._lrk.getAttribute("orientation")=="vertical"){_lul.push('</tr><tr>');}}_lul.push('</tr></table>');_lul.push('</div></div></div>');this._21i.innerHTML=_lul.join("");if(_zpn._qsh["hal"]["enableAccessibility"]){var nl=this._21i.getElementsByTagName("IMG");for(var i=0;i<nl.length;i++){var n=nl.item(i);if(n.parentNode){var _lsn=n.parentNode.getAttribute("id"); n.alt=_lsn?document.getElementById( _lsn.replace( "_dropdown", "" ) ).getAttribute( "aria-label" ):""; }}} var _tzl=_m4f.length;for(var i=0;i<_tzl;i++){_0jl._2u8(_m4f[i], false);}var _tzl=_qmj.length;for(var i=0;i<_tzl;i++){_0jl._3u8(this._lrk, _qmj[i], false);}};_0jl.prototype._lmk=function(n){var _33l=n.getAttribute("idsLabel");return _33l?_frh._c6j(_33l):n.getAttribute("label");};_0jl.prototype._8bg=function(_lul,n){if(this._vq7&&!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _9hl="";var _7ki=n.getAttribute("idsTooltip");if(_7ki){_9hl=_frh._c6j(_7ki);}else{_9hl=n.getAttribute("tooltip");}if(_9hl){if(!this._vq7){_lul.push( ' title="' + _cgm._qoh( _9hl ) + '"' );}if(_zpn._qsh["hal"]["enableAccessibility"]){_lul.push( ' aria-label="' + _cgm._qoh( _9hl ) + '"' );}}};_0jl.prototype._juh=function(_lul,_i1m,_pk9,_52b,_wwk){var _ksn=_i1m.getAttribute("id");var _9pj=_i1m.getAttribute( "label" )||_i1m.getAttribute( "idsLabel" );var _lxf=_i1m.getAttribute("smallSvgIcon");var _fon=_i1m.getAttribute("smallIcon");var _hoj=_i1m.getAttribute( "boldText" )=="true";var _80j=_i1m.getAttribute("onCommand");_lul.push( '<td class="clsToolbarButton" id="' + _ksn + '"' );if(_fon&&!_wwk){_lul.push( ' icon_src="' + _zpn._m2g( _fon ) + '"' );}if(_hoj||!_wwk){_lul.push( ' style="' + ( _hoj?'font-weight:bold;':'' ) + ( _wwk?'':'display:none;' ) + '"' );}if(_80j){_lul.push( ' _80j="' + _cgm._qoh( _80j ) + '"' );}var _3xf=_i1m.getAttribute("showsDialog");if(_3xf){_lul.push( ' bShowsDialog="' + _3xf + '"' );}var _rjh=_i1m.getAttribute("showsPopup");var attr=_7hn._ij8( _i1m, "menuPopup/@id | menuPopupRef/@ref" );if(attr){_rjh="true";_lul.push( ' _luf="' + attr.value + '"' );}if(_rjh){_lul.push( ' bShowsPopup="' + _rjh + '"' );}this._8bg(_lul, _i1m);this._hk(_lul, _i1m);_lul.push('>');if(_rjh){_lul.push( '<div style="display:flex;align-items:center">' );}_pk9=_i1m.getAttribute("smallIconHeight")||_pk9;_52b=_i1m.getAttribute("smallIconWidth")||_52b;if(_lxf){_lul.push( '<svg class="clsToolbarSvgIcon" height="' + _pk9 + '" width="' + _52b + '" style="' + ( ( !_9pj&&!_rjh )?'display:block;':'vertical-align:middle;' ) + ( _9pj?'margin-right:4px;':'' ) + '"><use xlink:href="#' + _lxf + '"/></svg>' );}else if(_fon){_lul.push( '<img src="' );_lul.push(_wwk?_zpn._m2g(_fon):_zpn._m2g("hal/images/blank.gif"));_lul.push( '" style="height:' + _pk9 + '; width:' + _52b + ';' + ( ( !_9pj&&!_rjh )?'display:block;':'vertical-align:middle;' ) + ( _9pj?'margin-right:4px;':'' ) + '"/>' );}var _1la=_rjh&&(_i1m.getAttribute("showPopupArrow") != "false");if(_9pj){_lul.push('<span>');_lul.push(_cgm._qoh(this._lmk(_i1m)));_lul.push('</span>');}if(_1la){_lul.push( '<svg class="clsToolbarSvgDropdownArrow" style="margin-left:4px;"><use xlink:href="#def_hal_dropdown_arrow_16x16"/></svg>' );}if(_rjh){_lul.push('</div>');}if(_i1m.nodeName=="toolbarColorButton"){_lul.push( '<div id="' + _ksn + '_ColorButtonDIV" style="height:4px; font-size:2pt; overflow:hidden; ' + 'width:' + _52b + '"></div>' );}_lul.push('</td>');};_0jl.prototype._0hb=function(_lul,_i1m){var _ksn=_i1m.getAttribute("id");var _men=this._lmk(_i1m);var _80j=_i1m.getAttribute("onCommand");_lul.push( '<td class="clsToolbarTextButton" id="' + _ksn + '"' );if(_i1m.getAttribute( "boldText" )=="true" ){_lul.push( ' style="font-weight:bold;"' );}if(_80j){_lul.push( ' _80j="' + _cgm._qoh( _80j ) + '"' );}this._8bg(_lul, _i1m);this._hk(_lul, _i1m);_lul.push('>');if(_men){_lul.push( '<span>' + _men + '</span>' ); }_lul.push('</td>');};_0jl.prototype._je6=function(_lul,_lpa,_pk9,_52b){var _ksn=_lpa.getAttribute("id");var _fon=_lpa.getAttribute("smallIcon");var _lxf=_lpa.getAttribute("smallSvgIcon");var _80j=_lpa.getAttribute("onCommand");var _537=_lpa.getAttribute("onDropDownCommand");_lul.push( '<td _5eh="tblDropdown" class="clsToolbarButton" id="' + _ksn + '"' );if(_80j){_lul.push( ' _80j="' + _cgm._qoh( _80j ) + '"' );}_lul.push( ' bShowsDialog="' + _lpa.getAttribute( "showsDialog" ) + '"' );this._8bg(_lul, _lpa);var _5j3=_lpa.getAttribute("smallIconHeight");if(_5j3){_pk9=_5j3;}var _n84=_lpa.getAttribute("smallIconWidth");if(_n84){_52b=_n84;}this._hk(_lul, _lpa);if(_lxf){_lul.push( '><svg class="clsToolbarSvgIcon" height="' + _pk9 + '" width="' + _52b + '" style="display:block"><use xlink:href="#' + _lxf + '"/></svg>' );}else if(_fon){_lul.push( '><img src="' + _zpn._m2g( _fon ) + '" style="height:' + _pk9 + '; width:' + _52b + '; vertical-align:middle"/>' );}if(_lpa.nodeName=="toolbarColorButtonDropDown"){_lul.push( '<div id="' + _ksn + '_ColorButtonDIV" style="height:4px; font-size:2pt; overflow:hidden"></div>' );}_lul.push('</td>');_lul.push( '<td class="clsToolbarButton" id="' + _ksn + '_dropdown" _r9k="1"' );var _9hl=_lpa.getAttribute("idsDropDownTooltip");if(_9hl){if(!this._vq7){_lul.push( ' title="' + _cgm._qoh( _frh._c6j( _9hl ) ) + '"' );}if(_zpn._qsh["hal"]["enableAccessibility"]){_lul.push( ' aria-label="' + _cgm._qoh( _frh._c6j( _9hl ) ) + '"' );}}if(_537){_lul.push( ' _80j="' + _cgm._qoh( _537 ) + '"' );}var _rjh=_lpa.getAttribute("showsPopup");var attr=_7hn._ij8( _lpa, "menuPopup/@id | menuPopupRef/@ref" );if(attr){_rjh="true";_lul.push( ' _luf="' + attr.value + '"' );}if(_rjh){_lul.push( ' bShowsPopup="' + _rjh + '"' );}this._hk(_lul, _lpa, true);var _3xf=_lpa.getAttribute("showsDialog");if(_3xf){_lul.push( ' bShowsDialog="' + _3xf + '"' );}_lul.push( ' bShowsDialog="true"><svg class="clsToolbarSvgDropdownArrow" style="margin-right:4px;"><use xlink:href="#def_hal_dropdown_arrow_16x16"/></svg></td>' );};_0jl.prototype._lne=function(_lul,_fxj){var _yxm=_fxj.getAttribute("width");_lul.push( '<td class="clsToolbarComboBox"><table role="presentation" id="' + _fxj.getAttribute( "id" ) + '" style="width:' + ( _yxm||"60px" ) + '"' );this._8bg(_lul, _fxj);this._hk(_lul, _fxj);_lul.push('></table></td>');};_0jl.prototype._03d=function(_lul,_0qi){var _uvl=( _0qi.getAttribute( "visible" )=="false" );_lul.push( '<td class="clsToolbarSeparator' );if(_uvl){_lul.push('_hidden');}_lul.push('"');var _yxm=_0qi.getAttribute("width");if(_yxm){_lul.push( ' style="width:' + _yxm + '"' );}var _ksn=_0qi.getAttribute("id");if(_ksn){_lul.push( ' id="' + _ksn + '"' );}this._hk(_lul, _0qi);_lul.push( '><div class="clsToolbarSeparator' );if(_uvl){_lul.push('_hidden');}_lul.push('"></div></td>');};_0jl.prototype._jr1=function(_vma){var _a9l=null;var _atj=_0jl._y73(_vma);var _gbl=_atj._gbl;var _g8k=_vma.id;_g8k=_g8k.replace( "_dropdown", "" );var _xcc=_7hn._ij8( _gbl._lrk, "*[@id=" + _cgm._zxc( _g8k ) + "]" );if(this._vij&&this._vij._ir1&&_xcc){_a9l=this._vij._ir1(this, _xcc);}if(!_a9l&&_xcc){_a9l={};_a9l._cdn=_xcc.getAttribute("smallIcon");_a9l._9hl=_xcc.getAttribute("tooltip");_a9l._7ki=_xcc.getAttribute("idsTooltip");_a9l._6tf=_xcc.getAttribute("description");_a9l._d7c=_xcc.getAttribute("idsDescription");}return _a9l;};_0jl.prototype._js=function(_70l){var _u6k={};var _u4c=null;var _76m=null;if(this._vij&&this._vij._f42){_u4c=_70l;_76m=this._vij._f42(_70l);}else if(this._vij&&this._vij._an){_u4c=this._vij._an(_70l);var _fvi=_4qn._m97(_70l, _u4c);_76m=new _l4j(_fvi.left-3, 4, _fvi.left, 4);}if(!_76m){_u4c=_70l;_76m=new _l4j(0, 10, 0, 0);}_u6k._u4c=_u4c;_u6k._76m=_76m;return _u6k;};_0jl._y73=function(el){el=_4qn._n22(el);for(;el;el=el.parentNode){if(el.getAttribute&&el.getAttribute("_m2j")){return el;}}return null;};_0jl._ji5=function(el){return this._y73(el)._gbl;};_0jl._1r8=function(e){var _70l=e.target; while(_70l){var _lvm=_70l.className;if(_lvm=="clsToolbarButton"|| _lvm=="clsToolbarButton_up"|| _lvm=="clsToolbarButton_down"|| _lvm=="clsToolbarButton_stuck"|| _lvm=="clsToolbarTextButton"|| _lvm=="clsComboBox"|| _70l.classList.contains("clsToolbar")|| _70l.classList.contains("clsDlgToolbar")){break;}_70l=_70l.parentNode;}return _70l;};_0jl._obj=function(e){var _70l=e.target;switch(_70l.parentNode.className){case "clsToolbarButton":case "clsToolbarButton_up":case "clsToolbarButton_down":case "clsToolbarButton_stuck":case "clsToolbarTextButton":_70l=_70l.parentNode;}return _70l;};function Toolbar_onMouseDown(e){if(_zpn._70d&&_zpn._70d._xi){_zpn._70d._xi(e, _0jl);}var _70l=_0jl._obj(e);if(e.button==_4qn._ll8){if((_70l.className=="clsToolbarButton_up")&&!_70l.disabled){_0jl._wth(_70l, e);_4qn._w0g(e);}else if((_70l.className=="clsToolbarButton_stuck")&&!_70l.disabled){_0jl._1v8(_70l, e);_4qn._w0g(e);}else if((_70l.className=="clsToolbarTextButton")&&!_70l.disabled){_0jl._6mb(_70l, e);_4qn._w0g(e);}}var _atj=_0jl._y73(e.target);var _gbl=_atj._gbl;if(_gbl._vq7){_ucb._qe8();}};function Toolbar_onMouseOver(e){var _70l=_0jl._obj(e);if((_70l.className=="clsToolbarButton")&&!_70l.disabled){_70l.className="clsToolbarButton_up";_0jl._tc6(_70l, "clsToolbarButton_up");}else if((_70l.className=="clsToolbarTextButton")&&!_70l.disabled){_70l=_70l.firstChild;}var _atj=_0jl._y73(e.target);var _gbl=_atj._gbl;var _aaf=(_zpn._qsh["hal"]["enableAccessibility"]&&_lcm._cm3());if(_gbl._vq7&&!_aaf){var _vma=_0jl._1r8(e);var _g8k=_vma.id;_g8k=_g8k.replace( "_dropdown", "" );var _xcc=_7hn._ij8( _gbl._lrk, "*[@id=" + _cgm._zxc( _g8k ) + "]" );if(_xcc){var _hbl=null;if(_gbl._vij&&_gbl._vij._fa6){_hbl=_gbl._vij._fa6(_gbl, _g8k);}_ucb._u4b(_gbl, _vma, null,(_hbl||_ucb._zg8()));}_gbl._gc6(_70l, _vma);}if(_zpn._qsh["hal"]["enableAccessibility"] &&( _70l.getAttribute( "role" )=="combobox"||_70l.getAttribute( "role" )=="button" ) ){if(_gbl._ic3){_gbl._ic3.setAttribute( "tabIndex", "-1" );}_70l.setAttribute( "tabIndex", "0" );_gbl._ic3=_70l;}};function Toolbar_onMouseOut(e){var _70l=_0jl._obj(e);if(_70l.className=="clsToolbarButton_up"){_70l.className="clsToolbarButton";_0jl._tc6(_70l, "clsToolbarButton");}else if(_70l.className=="clsToolbarTextButton"){_70l=_70l.firstChild;}var _atj=_0jl._y73(e.target);var _gbl=_atj._gbl;if(_gbl._vq7){_ucb._741(e.relatedTarget);}_gbl._0j4(_70l);};_0jl._tc6=function(el,_lvm){if(el.getAttribute( "_5eh" )=="tblDropdown" ){el.nextSibling.className=_lvm;}};function ToolbarButton_onStopCapture(){this.className="clsToolbarButton";_0jl._tc6(this, "clsToolbarButton");};_0jl._wth=function(btn,e){btn.className="clsToolbarButton_down";var _p5k={};_p5k[_o7g._ze7?"onpointerover":"onmouseover"]=ToolbarButton_onMouseOver.bind(btn);_p5k[_o7g._ze7?"onpointerout":"onmouseout"]=ToolbarButton_onMouseOut.bind(btn);_p5k[_o7g._ze7?"onpointerup":"onmouseup"]=ToolbarButton_onMouseUp.bind(btn);_p5k["onStopCapture"]=ToolbarButton_onStopCapture.bind(btn);_icb._oje(_p5k);};function ToolbarButton_onMouseOver(e){var _70l=_0jl._obj(e);if(_70l==this){_70l.className="clsToolbarButton_down";}_4qn._w0g(e);};function ToolbarButton_onMouseOut(e){var _70l=_0jl._obj(e);if(_70l==this){_70l.className="clsToolbarButton_up";_0jl._tc6(_70l, "clsToolbarButton_up");}_4qn._w0g(e);};_0jl._lm5=function(e,_70l){var _atj=_0jl._y73(e.target);try{var el=_4qn._8f8();if(el&&(el.tagName=="INPUT")){el.blur();}}catch(e){}var _g8k=_70l.id;_g8k=_g8k.replace( "_dropdown", "" );var _m2j=_atj.getAttribute("_m2j");var _5z7=!!_70l.getAttribute("_r9k");var _gbl=_atj._gbl;_gbl._a1a(_5z7?"_t7":"_j61", _g8k, e.shiftKey);_gbl._a1a(_5z7?"_is":"_kq3", _g8k, e.shiftKey);var _80j=_70l.getAttribute("_80j");if(_80j){var _pyg=new Function( "_vqj", "_m2j", "_g8k", _80j );_pyg(e.shiftKey, _m2j, _g8k);}var _luf=_70l.getAttribute("_luf");if(_luf){var _ymn=_0jl._47b(_g8k.replace(/_dropdown$/, ""));_gbl._j7d(_g8k, _luf, _ymn.left, _ymn.top);}if ((_70l.getAttribute( "bShowsDialog" )=="true" ) ||( _70l.getAttribute( "bShowsPopup" )=="true" ) ){_0jl._ji5(_70l)._3xb=_70l;_70l.className="clsToolbarButton_down";}else if(_70l.className!="clsToolbarButton_stuck"){_70l.className="clsToolbarButton_up";_0jl._tc6(_70l, "clsToolbarButton_up");}};function ToolbarButton_onMouseUp(e){var _70l=_0jl._obj(e);_4qn._w0g(e);_icb._47g();if(_70l==this){_0jl._lm5(e, _70l);}else if(_70l.className=="clsToolbarButton"){_70l.className="clsToolbarButton_up";}};_0jl._hq2=function(_70l){var _pyg=new Function(_70l.getAttribute("_80j"));_pyg();};function _1k1(e){var _70l=_0jl._obj(e);_4qn._w0g(e);_icb._47g();if(_70l==this){_0jl._hq2(_70l);}};_0jl._6mb=function(btn,e){var _p5k={};_p5k[_o7g._ze7?"onpointerover":"onmouseover"]=_4qn._w0g;_p5k[_o7g._ze7?"onpointerup":"onmouseup"]=_1k1.bind(btn);_p5k[_o7g._ze7?"onpointerout":"onmouseout"]=_4qn._w0g;_icb._oje(_p5k);};_0jl._1v8=function(btn,e){btn.className="clsToolbarButton_down";var _p5k={};_p5k[_o7g._ze7?"onpointerover":"onmouseover"]=ToolbarToggle_onMouseOver.bind(btn);_p5k[_o7g._ze7?"onpointerout":"onmouseout"]=ToolbarToggle_onMouseOut.bind(btn);_p5k[_o7g._ze7?"onpointerup":"onmouseup"]=ToolbarToggle_onMouseUp.bind(btn);_icb._oje(_p5k);};function ToolbarToggle_onMouseOver(e){var _70l=_0jl._obj(e);if(_70l==this){_70l.className="clsToolbarButton_down";}_4qn._w0g(e);};function ToolbarToggle_onMouseOut(e){var _70l=_0jl._obj(e);if(_70l==this){_70l.className="clsToolbarButton_stuck";}_4qn._w0g(e);};_0jl._nw1=function(_70l){var _pyg=new Function(_70l.getAttribute("_80j"));_pyg();};function ToolbarToggle_onMouseUp(e){var _70l=_0jl._obj(e);_4qn._w0g(e);_icb._47g();if(_70l==this){var _atj=_0jl._y73(_70l);_atj._gbl._a1a("_kq3", _70l.id, e.shiftKey);_0jl._nw1(_70l);}if(_70l.className=="clsToolbarButton"){_70l.className="clsToolbarButton_up";}};_0jl.prototype._gw1=function(){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}this._21i.setAttribute( "role", "toolbar" );var _yvi=this._21i.getAttribute("HAL_idsAriaLabel");if(_yvi){this._21i.setAttribute("aria-label", _frh._c6j(_yvi)); } this._rp(true);};_0jl.prototype._4d6=function(){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}this._2s2=null;this._ic3=null;};_0jl.prototype._rp=function(_vin){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}if(_vin){_k0d._mw(this._21i, Toolbar_onMouseOver, Toolbar_onMouseOut);this._21i.onkeydown=this._xs8.bind(this);}else{_k0d._oi(this._21i, Toolbar_onMouseOver, Toolbar_onMouseOut);this._21i.onkeydown=null;}};_0jl.prototype._hk=function(_lul,n,_uoj){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _wwk=( n.getAttribute( "display" ) != "false" );var _mek="-1";if(!this._w8a&&_wwk&&n.nodeName!="toolbarSeparator"){this._w8a=true;_mek="0";}var _rjh=n.getAttribute("showsPopup");if(_7hn._ij8( n, "menuPopup/@id | menuPopupRef/@ref" ) ){_rjh="true";}var _8en;var _yvi;switch(n.nodeName){case "toolbarButton":case "toolbarTextButton":case "toolbarColorButton":_8en="button";var _hff=n.getAttribute("idsAriaLabel");_yvi=_hff?_frh._c6j(_hff):this._lmk(n);break;case "toolbarButtonDropDown":case "toolbarColorButtonDropDown":_8en="button";_rjh=_uoj?_rjh:"";break;case "toolbarComboBox":_8en="combobox";break;case "toolbarSeparator":_8en="separator";break;}_lul.push( ' role="' + _8en + '" tabIndex="' + _mek + '"' );if(_yvi){_lul.push( ' aria-label="' + _cgm._qoh( _yvi ) + '"' );}if(_rjh=="true"){_lul.push( ' aria-haspopup="true"' );}};_0jl._0g=function(el){el=_4qn._n22(el);for(;el&&el.nodeName!="DIV";el=el.parentNode){if(el.nodeName=="TABLE"){return el;}}return null;};_0jl._j83=function(_tma){return(_tma.style.display!="none"&&_tma.getAttribute( "role" ) != "separator" );};_0jl._xf6=function(_2qd){var _tma=( _2qd.getAttribute( "role" )=="combobox" )?_2qd.parentNode:_2qd;var _s4c=_0jl._0g(_tma);var _xld=false;var _dyl;var _g7n=_s4c.rows[0].cells.length;for(var i=0;i<_g7n;i++){var _gjn=_s4c.rows[0].cells.item(i);if(_0jl._j83(_gjn)){if(_xld){_dyl=_gjn;break;}else if(!_dyl){_dyl=_gjn;}}if(!_xld&&_gjn==_tma){_xld=true;}}return(_dyl.className=="clsToolbarComboBox")?_dyl.firstChild:_dyl;};_0jl._k73=function(_2qd){var _tma=( _2qd.getAttribute( "role" )=="combobox" )?_2qd.parentNode:_2qd;var _s4c=_0jl._0g(_tma);var _xld=false;var _dyl;var _g7n=_s4c.rows[0].cells.length;for(var i=_g7n-1;i>=0;i--){var _gjn=_s4c.rows[0].cells.item(i);if(_0jl._j83(_gjn)){if(_xld){_dyl=_gjn;break;}else if(!_dyl){_dyl=_gjn;}}if(!_xld&&_gjn==_tma){_xld=true;}}return(_dyl.className=="clsToolbarComboBox")?_dyl.firstChild:_dyl;};_0jl._3l4=function(_muf){if(!_zpn._qsh["hal"]["enableAccessibility"]||!_muf){return;}var _yi9=_u7g._366(_muf);var _lma=_u7g._kq9(document.getElementById(_yi9));if(_lma){_lma.focus();}};_0jl.prototype._xs8=function(e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var el=_0jl._obj(e);switch(e.keyCode){case _4qn._x8j:case _4qn._09j:if(!el.disabled){if(this._vq7){_ucb._qe8();}if(el.className=="clsToolbarButton_up"||el.className=="clsToolbarButton"){_0jl._lm5(e, el);var _muf=el.getAttribute("_luf");if(_muf){_0jl._3l4(_muf);}}else if(el.className=="clsToolbarButton_stuck"){_0jl._nw1(el);if(el.className=="clsToolbarButton"){el.className="clsToolbarButton_up";}}this._2s2=el;}_4qn._w0g(e);break;case _4qn._b8g:case _4qn._wyc:if(!el.disabled){if(this._vq7){_ucb._qe8();}var _muf=el.getAttribute("_luf");if(_muf){this._0k1(e);_0jl._3l4(_muf);this._2s2=el;}}_4qn._w0g(e);break;case _4qn._1db:var _3qd=_0jl._xf6(el);if(_3qd){_3qd.focus();}_4qn._w0g(e);break;case _4qn._xyc:var _3qd=_0jl._k73(el);if(_3qd){_3qd.focus();}_4qn._w0g(e);break;case _4qn._gml:this._2s2=null;break;}};_0jl.prototype._0k1=function(e){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _70l=_0jl._obj(e);var _luf=_70l.getAttribute("_luf");if(_luf){var _g8k=_70l.id;_g8k=_g8k.replace( "_dropdown", "" );var _ymn=_0jl._47b(_g8k.replace(/_dropdown$/, ""));this._j7d(_g8k, _luf, _ymn.left, _ymn.top);}};_0jl.prototype._gc6=function(_atn,_vma){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var _a9l=this._jr1(_vma);if(_atn.getAttribute("role")&&_a9l){var _6tf=_a9l._6tf||(_a9l._d7c?_frh._c6j(_a9l._d7c):"");if(_6tf){_k0d._z57(_atn, "aria-describedby", _6tf);}}};_0jl.prototype._0j4=function(_atn){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}_k0d._l55(_atn, "aria-describedby");};_0jl.prototype._z92=function(btn){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}_k0d._sj2( btn, "aria-pressed", ( btn.className=="clsToolbarButton_stuck" ) );};_0jl.prototype._de5=function(_g8k,_wwk){if(!_zpn._qsh["hal"]["enableAccessibility"]){return;}var el=document.getElementById(_g8k);if(el){if(el.tabIndex==0&&!_wwk){el.tabIndex=-1;var _pom=el.nextSibling;while(_pom){if(_pom.style.display!="none"&&_pom.getAttribute( "role" ) != "separator"){_pom.tabIndex=0;break;}_pom=_pom.nextSibling;}}else if(el.tabIndex==-1&&_wwk){var _pom=el.nextSibling;while(_pom){if(_pom.tabIndex==0){_pom.tabIndex=-1;el.tabIndex=0;break;}_pom=_pom.nextSibling;}if(el.tabIndex==-1){var _tom=el.previousSibling;while(_tom){if(_tom.tabIndex==0){break;}_tom=_tom.previousSibling;}if(!_tom){el.tabIndex=0;}}}}};
|