// Licensed Materials - Property of IBM // IBM Cognos Products: irot // (C) Copyright IBM Corp. 2003, 2022. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. _1u5._509="text";_1u5._ua8="number";_1u5._y87="currency";_1u5._dt7="integer";_1u5._xz2="positive integer";_1u5._ey5="percentage";function _1u5(_7t8, _tp7, _d78, _tx, _t76){if(typeof _d78=="undefined"){_d78=_1u5._509;}this._4x7=_d78;this._tw=_tx;_1u5.baseConstructor.call(this, _7t8, _t76);if(!_7t8||_d78!=_1u5._509){this._5x5(_tp7);}};_9t7._v88(_1u5, _qx3);_1u5.prototype._3w=function(_hi4){_1u5.superClass._3w.call(this, _hi4, "simpleValue");};_1u5.prototype._2j3=function(_hy8){if(_hy8===null||_hy8===undefined){return _hy8;}var _vb3;switch(this._4x7){case "text":_vb3=_hy8;break;case "number":_vb3=_4k2._dc5(_hy8, false, this._tw);break;case "currency":_vb3=_4k2._a34(_hy8, this._tw);break;case "integer":case "positive integer":case "natural":case "whole":_vb3=_4k2._op4(_hy8);break;case "percentage":_vb3=_4k2._4u1(_hy8);break;default:alert( "Invalid numeric value subtype supplied." );}return _vb3;};_1u5.prototype._fr4=function(_hy8){if(_hy8==null||_hy8==undefined){return _hy8;}var _hh6;switch(this._4x7){case "text":_hh6=_hy8;break;case "number":case "currency":case "percentage":var _dg8=parseFloat(_hy8);_hh6=isNaN(_dg8)?undefined:_hy8;break;case "integer":var _bh8=parseInt(_hy8);_hh6=isNaN(_bh8)?undefined:_hy8;break;case "positive integer":var _bh8=parseInt(_hy8);_hh6=(!isNaN(_bh8)&&(_bh8>=0))?_hy8:_bh8.toString();break;default:alert( "Invalid numeric value subtype supplied." );}return _hh6;};_1u5.prototype._5x5=function(_tp7,_yx4){if(this._j98()&&(this._4x7==_1u5._509)&&(typeof _yx4=="undefined")){alert( "Do not attempt to set a text use value for a range with a single value input. Unable to parse if the input contains multiple colons." );return;}_1u5.superClass._5x5.call(this, _tp7, _yx4);};_1u5.prototype._dh1=function(_d78,_tx){this._4x7=_d78;this._tw=_tx;this._7m();};