_qx3.js 4.6 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. _qx3._u87=true;_qx3._t87=false;_qx3._ul6=0;_qx3._w87=1;function _qx3(_7t8, _t76){this._0v7=_7t8;if(_t76){this._v16=_t76;}};_qx3.prototype._td7=undefined;_qx3.prototype._oq2=undefined;_qx3.prototype._nq2=undefined;_qx3.prototype._gv4=undefined;_qx3.prototype._cd1=undefined;_qx3.prototype._bd1=undefined;_qx3.prototype._v16=false;_qx3.prototype._w34=function(_yx4){return this._tv5(_yx4);};_qx3.prototype._tv5=function(_yx4){if(!this._j98()||(this._j98()&&(typeof _yx4=="undefined"))){return this._td7;}return(_yx4==_qx3._u87)?this._oq2:this._nq2;};_qx3.prototype._5x5=function(_tp7,_yx4){if(!this._j98()){this._td7=this._fr4(_tp7);}else if(this._j98()&&(typeof _yx4=="undefined")){this._3w(_tp7);}else if(_yx4==_qx3._u87){this._oq2=this._fr4(_tp7);}else{this._nq2=this._fr4(_tp7);}if(this._j98()){this._td7=this._ro4(this._oq2, this._nq2);}this._5w1();};_qx3.prototype._hg3=function(_c45,_yx4){if(!this._j98()){this._gv4=_c45;}else {if(_yx4==_qx3._u87){this._cd1=_c45;}else{this._bd1=_c45;}this._gv4=this._ej1();}};_qx3.prototype._ro4=function(_cd9,_bd9){var _hc9={};if(_cd9!==undefined){_hc9.min=_cd9;}if(_bd9!==undefined){_hc9.max=_bd9;}return JSON.stringify(_hc9);};_qx3.prototype._je3=function(_yx4){if(!this._j98()||(this._j98()&&(typeof _yx4=="undefined"))){return this._gv4;}return(_yx4==_qx3._u87)?this._cd1:this._bd1;};_qx3.prototype._ej1=function(){var _c45=null;if(this._cd1!==undefined&&this._bd1!==undefined){if(this._cd1==this._bd1){_c45=this._cd1||"";}else{_c45=_4l6._m67( "IDS_CCHL_PRMT_RANGE", this._cd1||"", this._bd1||"");}}else if(this._cd1===undefined&&this._bd1!==undefined){_c45=_4l6._m67( "IDS_CCHL_PRMT_RANGE_MAX", this._bd1||"");}else if(this._cd1!==undefined&&this._bd1===undefined){_c45=_4l6._m67( "IDS_CCHL_PRMT_RANGE_MIN", this._cd1||"" );}return _c45;};_qx3.prototype._5w1=function(){if(this._j98()){if(!this._cd1){if(this._oq2!=null){this._cd1=this._2j3(this._oq2);if(this._cd1==null){this._cd1=this._oq2;}}else{this._cd1=this._oq2;}}if(!this._bd1){if(this._nq2!=null){this._bd1=this._2j3(this._nq2);if(this._bd1==null){this._bd1=this._nq2;}}else{this._bd1=this._nq2;}}this._gv4=this._ej1();}else{this._gv4=this._td7?this._2j3(this._td7):null;}};_qx3.prototype._3w=function(_hi4,_m79){var _4a4=_4k2._x42(_hi4, _m79);this._oq2=((_4a4&&_4a4[ 0 ])?this._fr4(_4a4[ 0 ]):null);this._nq2=((_4a4&&_4a4[ 1 ])?this._fr4(_4a4[ 1 ]):null);};_qx3.prototype._j98=function(){return this._0v7;};_qx3.prototype._7m=function(){if(this._j98()){this._5x5(this._tv5(_qx3._u87), _qx3._u87);this._5x5(this._tv5(_qx3._t87), _qx3._t87);}else{this._5x5(this._tv5());}};_qx3.prototype._bj2=function(){if(this._j98()){return new _t7(this._tv5(_qx3._u87), this._je3(_qx3._u87), this._tv5(_qx3._t87), this._je3(_qx3._t87));}return new _an(this._tv5(), this._je3()); };_qx3.prototype._fx5=function(){var a=[];if(this._j98()){var _9y8=this._w34(_qx3._u87);var _zc9=this._w34(_qx3._t87);if(_9y8!==undefined||_zc9!==undefined){var _m79=(_9y8!==undefined&&_zc9===undefined)?'unboundedEndRangeParmValueItem':((_9y8===undefined&&_zc9!==undefined)?'unboundedStartRangeParmValueItem':'boundRangeParmValueItem');a.push( '<item xsi:type="bus:' + _m79 + '">' );a.push( '<bus:inclusive xsi:type="xs:boolean">true</bus:inclusive>' );if(_9y8!==undefined){var _c45=this._je3(_qx3._u87);a.push( '<bus:start xsi:type="bus:simpleParmValueItem">');a.push( '<bus:inclusive xsi:type="xs:boolean">true</bus:inclusive>' );if(_c45!=null){a.push( '<bus:display xsi:type="xs:string">' + _jp8._s77( _c45 ) + '</bus:display>' );}if(_9y8!=null){a.push( '<bus:use xsi:type="xs:string">' + _jp8._s77( _9y8 ) + '</bus:use>' );}a.push('</bus:start>');}if(_zc9!==undefined){var _c45=this._je3(_qx3._t87);a.push( '<bus:end xsi:type="bus:simpleParmValueItem">' );a.push( '<bus:inclusive xsi:type="xs:boolean">true</bus:inclusive>' );if(_c45!=null){a.push( '<bus:display xsi:type="xs:string">' + _jp8._s77( _c45 ) + '</bus:display>' );}if(_zc9!=null){a.push( '<bus:use xsi:type="xs:string">' + _jp8._s77( _zc9 ) + '</bus:use>' );}a.push('</bus:end>');}a.push('</item>');}}else{var _tp7=this._w34();if(_tp7!==undefined&&(_tp7||!this._v16)){var _c45=this._je3();a.push( '<item xsi:type="bus:simpleParmValueItem">' );a.push( '<bus:inclusive xsi:type="xsd:boolean">true</bus:inclusive>' );if(_tp7!=null){a.push( '<bus:use xsi:type="xsd:string">' + _jp8._s77( _tp7 ) + '</bus:use>' );}if(_c45!=null){a.push( '<bus:display xsi:type="xsd:string">' + _jp8._s77( _c45 ) + '</bus:display>' );}a.push('</item>');}}return a.join("");};