_589.js 15 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  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. function _589(_of8, _vl7, _e51, _4f6, _c27){this._3c8=_of8;var _xt6=(_e51!==undefined);if(!_xt6){this._as7(0);}this._mp3=this._3c8.getAttribute("HAL_slideDirection");if(this._mp3){this._3c8.style.display="block";if(this._3c8.getAttribute( "HAL_slideAnimationEnabled" )=="false" ){this._fd1=this._mp3;this._mp3=null;}else{this._i46=_4f6||this._3c8.style.height;this._dr6=_c27||this._3c8.style.width;this._xe5=this._i46&&this._dr6;if(this._xe5){this._3c8.style.position="relative";this._3c8.style.overflow="hidden";}}}this._0d7=_vl7;if(_xt6){this._as7(_e51);}this._853=_kx5._2p8;this._7a2=(this._3c8.getAttribute( "HAL_touchSwipeEnabled" )=="true");if(_kx5._y14&&this._7a2){if(this._mp3){this._3c8[_kx5._wj2?"onpointerdown":"ontouchstart"]=this._f23.bind(this);}else{this._3c8[_kx5._wj2?"onpointerdown":"ontouchstart"]=this._j21.bind(this);this._3c8[_kx5._wj2?"onpointermove":"ontouchmove"]=this._va1.bind(this);this._3c8[_kx5._wj2?"onpointerup":"ontouchend"]=this._vj1.bind(this);}if(_kx5._wj2){this._3c8.style.msTouchAction="none";}}};_589.prototype._1o8=function(){if(this._3r8){this._3r8._xn8();}var _tr8=this._qt7();var _zg8=_tr8.length;for(var i=0;i<_zg8;i++){_tr8[i].style.display="";}if(_kx5._y14&&this._7a2){if(this._mp3){this._3c8[_kx5._wj2?"onpointerdown":"ontouchstart"]=null;}else{this._3c8[_kx5._wj2?"onpointerdown":"ontouchstart"]=null;this._3c8[_kx5._wj2?"onpointermove":"ontouchmove"]=null;this._3c8[_kx5._wj2?"onpointerup":"ontouchend"]=null;}}this._3c8=null;};_589.prototype._dz8=function(){return this._3c8.id;};_589.prototype._zw2=function(){return this._qt7().length;};_589.prototype._b98=function(){return(this._nq8>0);};_589.prototype._c98=function(){return(this._nq8<(this._qt7().length-1));};_589.prototype._dr7=function(){return this._nq8;};_589.prototype._g13=function(_nf8){var _tr8=this._qt7();return _tr8.indexOf(_nf8);};_589.prototype._as7=function(_uz1,_hb4){if(_uz1===this._nq8){return true;}var _tr8=this._qt7();var _nl5=_tr8.length;if((_uz1<0)||(_uz1>=_nl5)){return false;}if((!this._mp3&&(this._nq8!==undefined))||_hb4){_tr8[this._nq8].style.display="none";}var _4v6=_tr8[_uz1];if(this._0d7&&this._0d7._pn){this._0d7._pn(this, _4v6, this._nq8, _uz1);}_4v6.style.display="";if(this._mp3&&!this._tq6&&!_hb4){this._3r8=new _o57(this, this._3c8, this._dr6, this._i46, this._xe5, this._mp3, _tr8, this._nq8, _uz1, _4v6, this._853);this._3r8._s89();}this._tq6=null;this._nq8=_uz1;if(this._0d7&&this._0d7._ts){this._0d7._ts(this, _4v6, this._nq8, _uz1);}return true;};_589.prototype._p89=function(_5x6){return this._as7(this._nq8+(_5x6||1));};_589.prototype._c89=function(_sw6){return this._as7(this._nq8-(_sw6||1));};_589.prototype._qt7=function(){if(!this._3q8){this._3q8=[];var nl=this._3c8.childNodes;var _zg8=nl.length;for(var i=0;i<_zg8;i++){var _nf8=nl.item(i);if(_nf8.tagName=="DIV"){_nf8.style.display="none";this._3q8.push(_nf8);}}}return this._3q8;};_589.prototype._h41 ={autoHorizontal:true,leftToRight:true,rightToLeft:true};_589.prototype._xj3=function(el){while(el&&el!=this._3c8){if(el.tagName=="A"){return true;}el=el.parentNode;}return false;};_589.prototype._j21=function(e){if(_kx5._wj2){if(!e.isPrimary){return;}}else if(e.touches.length!=1){return;}if(this._xj3(e.touches[0].target)){return;}this._2o2=true;e.stopPropagation();var _6x8=_kx5._wj2?e:e.targetTouches[0];this._3g5=_6x8.clientX;this._4g5=_6x8.clientY;this._qp6=NaN;this._rp6=NaN;};_589.prototype._va1=function(e){if(!this._2o2){return;}e.preventDefault();e.stopPropagation();var _6x8=_kx5._wj2?e:e.targetTouches[0];this._qp6=_6x8.clientX;this._rp6=_6x8.clientY;};_589.prototype._vj1=function(e){if(!this._2o2){return;}e.stopPropagation();var _876=(!this._fd1||this._h41[this._fd1]);var _7v8=_876?this._3g5:this._4g5;var _xa9=_876?this._qp6:this._rp6;if(!isNaN(this._qp6)&&!isNaN(this._3g5)){if((_xa9-_7v8)>50){if(this._0d7&&this._0d7._ui){this._0d7._y7();}}else if((_7v8-_xa9)>50){if(this._0d7&&this._0d7._vi){this._0d7._vi();}}}this._2o2=false;this._qp6=NaN;this._rp6=NaN;};_589.prototype._f23=function(e){if(this._tq6&&this._tq6._w14){return;}if(_kx5._wj2){if(!e.isPrimary){return;}}else if(e.touches.length!=1){return;}if(this._xj3(e.touches[0].target)){return;}this._tq6={};var _786=(this._mp3=="leftToRight")||(this._mp3=="rightToLeft")||(this._mp3=="autoHorizontal");this._tq6._8o4=true;this._tq6._3b5=((_kx5._y14&&!_kx5._wj2)?e.targetTouches[0]:e).clientX;this._tq6._4b5=((_kx5._y14&&!_kx5._wj2)?e.targetTouches[0]:e).clientY;var _tr8=this._qt7();this._tq6._024=_tr8[this._nq8];var _md4=null;if(this._0d7&&this._0d7._ui){_md4=this._0d7._ui();}else if(this._b98()){_md4=this._nq8-1;}this._tq6._jh3=(_md4!=null)?_tr8[_md4]:null;var _rx6=null;if(this._0d7&&this._0d7._s61){_rx6=this._0d7._s61();}else if(this._c98()){_rx6=this._nq8+1;}this._tq6._1y5=(_rx6!=null)?_tr8[_rx6]:null;var _c27=this._3c8.offsetWidth+"px";var _4f6=this._3c8.offsetHeight+"px";this._3c8.style.width=_c27;this._3c8.style.height=_4f6;this._3c8.style.position="relative";this._3c8.style.overflow="hidden";var _tb4=this._tq6._024;_tb4.style.position="absolute";_tb4.style.width=_c27;_tb4.style.height=_4f6;_tb4.style[_fe9._at1]="all 0s";var _ar3=this._tq6._jh3;if(_ar3){if(this._0d7&&this._0d7._pn){this._0d7._pn(this, _ar3, undefined, _md4);}_ar3.style[_fe9._at1]="all 0s";_ar3.style.display="";_ar3.style.position="absolute";_ar3.style.width=_c27;_ar3.style.height=_4f6;_ar3.style.top=_786?"0px":("-"+_4f6);_ar3.style.left=_786?("-" + _c27):"0px";if(this._0d7&&this._0d7._ts){this._0d7._ts(this, _ar3, _md4, _md4);}}var _q86=this._tq6._1y5;if(_q86){if(this._0d7&&this._0d7._pn){this._0d7._pn(this, _q86, undefined, _rx6);}_q86.style[_fe9._at1]="all 0s";_q86.style.display="";_q86.style.position="absolute";_q86.style.width=_c27;_q86.style.height=_4f6;_q86.style.top=_786?"0px":_4f6;_q86.style.left=_786?_c27:"0px";if(this._0d7&&this._0d7._ts){this._0d7._ts(this, _q86, _rx6, _rx6);}}this._tq6._ao4=parseInt(_786?_c27:_4f6);this._tq6._yh1=Math.floor(this._tq6._ao4 / 2);this._tq6._yj2=50;this._tq6._ml6=_c27;this._tq6._5y5=_4f6;this._tq6._zx5=_786;if(_kx5._el6){_tb4.style.webkitTransform="translate3d(0,0,0)";if(_q86){_q86.style.webkitTransform="translate3d(0,0,0)";}if(_ar3){_ar3.style.webkitTransform="translate3d(0,0,0)";}}_ps7._mz8(null, this, _tb4, _ps7.eEffectMove, e.button, null, null, null, null);e.stopPropagation();};_589.prototype._aw5=function(_tb4,_vx,_z93){if(this._0d7&&this._0d7._zb){this._0d7._zb();}return true;};_589.prototype._2k6=function(e,_tb4,_vx,_jt8,_z93){if(!this._tq6||this._tq6._w14||!this._tq6._8o4){return;}var _vt6=((_kx5._y14&&!_kx5._wj2)?e.targetTouches[0]:e).clientX;var _wt6=((_kx5._y14&&!_kx5._wj2)?e.targetTouches[0]:e).clientY;var _tb4=this._tq6._024;var _ar3=this._tq6._jh3;var _q86=this._tq6._1y5;var _c27=this._tq6._ml6;var _4f6=this._tq6._5y5;var _786=this._tq6._zx5;var _5b6=_786?(_vt6-this._tq6._3b5):(_wt6-this._tq6._4b5);var _t83=(_5b6<0);var _fw6=_5b6;if((!_t83&&!_ar3)||(_t83&&!_q86)){_fw6=Math.ceil(_fw6 / 2);}var _fw6=(_t83?-1:1)*Math.min(Math.abs(_fw6), this._tq6._ao4);_tb4.style.top=_786?"0px":(_fw6 + "px");_tb4.style.left=_786?(_fw6+"px"):"0px";if(_ar3){_ar3.style.top=_786?"0px":(-1 * parseInt(_4f6) + _fw6 + "px");_ar3.style.left=_786?(-1*parseInt(_c27)+_fw6+"px"):"0px";}if(_q86){_q86.style.top=_786?"0px":(parseInt(_4f6) + _fw6 + "px");_q86.style.left=_786?(parseInt(_c27)+_fw6+"px"):"0px";}var _7a3=_5b6-(this._tq6._2y5||0);var _8e=(Math.abs(_5b6)>this._tq6._yj2);var _g9=(Math.abs(_fw6)>this._tq6._yh1);if(_8e&&!_t83&&_ar3&&((_7a3>=0)||_g9)){this._tq6._j87="previous";}else if(_8e&&_t83&&_q86&&((_7a3<=0)||_g9)){this._tq6._j87="next";}else{this._tq6._j87="current";}this._tq6._pz2=_7a3;this._tq6._2y5=_5b6;};_589.prototype._1k6=function(e,_tb4,_xf8){this._yz5(e);};_589.prototype._yz5=function(e){if(!this._tq6||!this._tq6._8o4){return;}if(this._0d7&&this._0d7._e6){this._0d7._e6();}this._tq6._8o4=false;this._tq6._w14=true;var _tb4=this._tq6._024;var _ar3=this._tq6._jh3;var _q86=this._tq6._1y5;var _c27=this._tq6._ml6;var _4f6=this._tq6._5y5;var _786=this._tq6._zx5;if(_kx5._el6){_tb4.style.webkitTransform="";if(_q86){_q86.style.webkitTransform="";}if(_ar3){_ar3.style.webkitTransform="";}}var _g51;switch(this._tq6._j87){case "previous":_g51=_786?_c27:_4f6;break;case "next":_g51="-"+(_786?_c27:_4f6);break;default:_g51="0px";}var _bz1=(_tb4.style[_786?"left":"top"]!=_g51);if(_bz1){_tb4.style[_786?"left":"top"]=_g51;if(this._853){_tb4.style[_fe9._at1]="all 0.2s ease-out";if(!this._79){this._79=_9t7._ti(this._7w1, this);}_tb4.addEventListener("transitionend", this._79);}}this._tq6._0y5=_tb4;this._tq6._h87=_tb4;if(_ar3){_ar3.style.top=(this._tq6._j87=="previous")?"0px":(_786?"0px":("-"+_4f6));_ar3.style.left=(this._tq6._j87=="previous")?"0px":(_786?("-" + _c27):"0px");if(this._tq6._j87=="previous"){this._tq6._h87=_ar3;}if(this._853){_ar3.style[_fe9._at1]="all 0.2s ease-out";}}if(_q86){_q86.style.top=(this._tq6._j87=="next")?"0px":(_786?"0px":_4f6);_q86.style.left=(this._tq6._j87=="next")?"0px":(_786?_c27:"0px");if(this._tq6._j87=="next"){this._tq6._h87=_q86;}if(this._853){_q86.style[_fe9._at1]="all 0.2s ease-out";}}if(!_bz1||!this._853){this._kk3();}};_589.prototype._7w1=function(e,_6u8){_6u8.removeEventListener("transitionend", this._79);this._kk3();};_589.prototype._kk3=function(){if(this._0d7&&this._0d7._x7){this._0d7._x7();}var _m86=this._tq6._0y5;var _pg7=this._tq6._h87;var _tb4=this._tq6._024;var _ar3=this._tq6._jh3;var _q86=this._tq6._1y5;if(this._853){_tb4.style[_fe9._at1]="all 0s";}if(_ar3){if(this._853){_ar3.style[_fe9._at1]="all 0s";}if(_ar3!=_pg7){_ar3.style.display="none";_ar3.style.top="0px";_ar3.style.left="0px";if(this._0d7&&this._0d7._sd3){this._0d7._sd3(this, _ar3, this._g13(_ar3));}}if(!this._xe5){_ar3.style.position="static";}}if(_q86){if(this._853){_q86.style[_fe9._at1]="all 0s";}if(_q86!=_pg7){_q86.style.display="none";_q86.style.top="0px";_q86.style.left="0px";if(this._0d7&&this._0d7._sd3){this._0d7._sd3(this, _q86, this._g13(_q86));}}_q86.style.display="none";if(!this._xe5){_q86.style.position="static";}}if(_tb4!=_pg7){_tb4.style.display="none";_tb4.style.top="0px";_tb4.style.left="0px";if(this._0d7&&this._0d7._sd3){this._0d7._sd3(this, _tb4, this._g13(_tb4));}}if(!this._xe5){_tb4.style.position="static";}this._3c8.style.position=this._xe5?"relative":"static";this._3c8.style.overflow=this._xe5?"hidden":"visible";this._3c8.style.width=this._dr6||"auto";this._3c8.style.height=this._i46||"auto";_m86.style.width=this._dr6||"auto";_m86.style.height=this._i46||"auto";_pg7.style.width=this._dr6||"auto";_pg7.style.height=this._i46||"auto";if(this._tq6._j87=="previous"){if(this._0d7&&this._0d7._y7){this._0d7._y7();}}else if(this._tq6._j87=="next"){if(this._0d7&&this._0d7._vi){this._0d7._vi();}}else{this._tq6=null;}if(this._79){this._79=null;}var _li7=this._g13(_pg7);this._as7(_li7, true);if(this._0d7&&this._0d7._ge){this._0d7._ge();}};_589.prototype._995=function(_tb4){this._tq6._j87="current";this._yz5();};function _o57(_659, _of8, _c27, _4f6, _0k5, _qw3, _tr8, _xu8, _uz1, _4v6, _w83){_o57.baseConstructor.call(this, null);this._w09=_659;this._3c8=_of8;this._dr6=_c27;this._i46=_4f6;this._xe5=_0k5;this._mp3=_qw3;this._3q8=_tr8;this._nq8=_xu8;this._ox1=_uz1;this._8p6=_4v6;this._853=_w83;};_9t7._v88(_o57, _h57);_o57.prototype._s89=function(){this._c26=(this._nq8===undefined)?null:this._3q8[this._nq8];if(this._c26&&this._w09._0d7&&this._w09._0d7._zb){this._w09._0d7._zb(this);}_o57.superClass._s89.call(this);if(this._c26&&!this._c26._wj5){this._c26._wj5=true;this._c26.style.top="0px";this._c26.style.left="0px";if(this._xe5){this._c26.style.position="absolute";this._c26.style.width=this._dr6;this._c26.style.height=this._i46;}}if(!this._8p6._wj5){this._8p6._wj5=true;this._8p6.style.top="0px";this._8p6.style.left="0px";if(this._xe5){this._8p6.style.position="absolute";this._8p6.style.width=this._dr6;this._8p6.style.height=this._i46;}}if(!this._c26){this._y89();_fj2._qo8(this);return;}if(!this._xe5){this._8p6.style.position="absolute";var _ob3=this._3c8.offsetWidth+"px";var _9u2=this._3c8.offsetHeight+"px";this._c26.style.position="absolute";this._3c8.style.position="relative";this._3c8.style.overflow="hidden";if(!this._dr6){this._3c8.style.width=_9u2;if(this._c26){this._c26.style.width=_ob3;this._c26.style.height=this._i46;}this._8p6.style.width=_ob3;this._8p6.style.height=this._i46;}if(!this._i46){this._3c8.style.height=_9u2;if(this._c26){this._c26.style.width=this._dr6;this._c26.style.height=_9u2;}this._8p6.style.width=this._dr6;this._8p6.style.height=_9u2;}}this._ac8=this._7a1(this._nq8, this._ox1);this._k94=this._o84[this._mp3];this._8p6.style[this._k94]=-this._ac8+"px";if(this._853){if(!this._2p2){this._2p2=this._el3.bind(this);}this._c26.style[_fe9._at1]="all 0s";this._8p6.style[_fe9._at1]="all 0s";setTimeout(this._2p2, 0);}else{var _8i7=500;var _808=_fp8.Sine._967;this._8p6.style[this._k94]=-this._ac8+"px";var _956=[];_956.push(new _zj4(this._c26, this._k94, 0, this._ac8, "px", null, _8i7, _808));_956.push(new _zj4(this._8p6, this._k94,-this._ac8, 0, "px", null, _8i7, _808));if(this._3r8){this._3r8._xn8();}this._3r8=new _j12(_956, this._kk3.bind(this));this._3r8._s89();}};_o57.prototype._xn8=function(){if(this._3r8){this._3r8._xn8();}_o57.superClass._xn8.call(this);};_o57.prototype._y89=function(){if(this._3r8){this._3r8._y89();}_o57.superClass._y89.call(this);};_o57.prototype._el3=function(){if(this._8p6.style[this._k94]=="0px"){this._kk3();return;}this._c26.style[_fe9._6d]=this._k94;this._8p6.style[_fe9._6d]=this._k94;this._c26.style[_fe9._5d]="0.5s";this._8p6.style[_fe9._5d]="0.5s";this._c26.style[_fe9._j3]="ease-out";this._8p6.style[_fe9._j3]="ease-out";if(!this._79){this._79=_9t7._ti(this._7w1, this);}this._8p6.addEventListener("transitionend", this._79);this._c26.style[this._k94]=this._ac8+"px";this._8p6.style[this._k94]="0px";};_o57.prototype._7w1=function(e,_6u8){_6u8.removeEventListener("transitionend", this._79);this._kk3();};_o57.prototype._kk3=function(){this._c26.style.display="none";this._c26.style.top="0px";this._c26.style.left="0px";if(!this._xe5){if(!this._dr6){this._3c8.style.width="auto";this._c26.style.width="auto";this._8p6.style.width="auto";}if(!this._i46){this._3c8.style.height="auto";this._c26.style.height="auto";this._8p6.style.height="auto";}this._c26.style.position="static";this._8p6.style.position="static";this._3c8.style.position="static";this._3c8.style.overflow="visible";}_fj2._qo8(this);if(this._w09._0d7&&this._w09._0d7._ge){this._w09._0d7._ge();}};_o57.prototype._7a1=function(_0x6,_r18){var _zg8=this._3c8[this._4h5[this._mp3]];switch(this._mp3){case "topToBottom":case "leftToRight":return _zg8;case "rightToLeft":case "bottomToTop":return-_zg8;case "autoVertical":case "autoHorizontal":return(_r18>_0x6)?-_zg8:_zg8;}};_o57.prototype._4h5 ={topToBottom:"offsetHeight",rightToLeft:"offsetWidth",bottomToTop:"offsetHeight",leftToRight:"offsetWidth",autoVertical:"offsetHeight",autoHorizontal:"offsetWidth"};_o57.prototype._o84 ={topToBottom:"top",rightToLeft:"left",bottomToTop:"top",leftToRight:"left",autoVertical:"top",autoHorizontal:"left"};