// 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 _q45(div, _13m, _b6k){this._eqn=div;this._frl=_13m;this._vij=_b6k;};_q45.prototype._eqn=null;_q45.prototype._frl=null;_q45.prototype._vij=null;_q45.prototype._cej=false;_q45.prototype._lpk=false;_q45.prototype._trk=undefined;_q45.prototype._5ca=null;_q45.prototype._44n=null;_q45.prototype._xng=null;_q45.prototype._co5=false;_q45.prototype._8im=false;_q45.prototype._fdm=function(){this._cej=true;if(this._trk){if(this._trk.destroy){this._trk.destroy(this._shb());}this._trk=null;}this._frl=null;this._5ca=null;this._eqn.innerHTML="";this._eqn=null;};_q45.prototype._ij7=function(){if(!this._5ca){var _7en=this._frl.getAttribute("roid");this._5ca=_7en?_erh._9kl(_7en):null;}return this._5ca;};_q45.prototype._lkl=function(){return this._44n;};_q45.prototype._2gn=function(_ven){var n=this._ij7();this._44n=_ven;var _r8m=(n||this._frl).getAttribute("height");if(_r8m){this._eqn.style.height=_r8m;}var _yxm=(n||this._frl).getAttribute("width");if(_yxm){this._eqn.style.width=_yxm;}var _9bm=(n||this._frl).getAttribute("uiType");if(_9bm!="withEventPropagation"){this._eqn.onmousedown=_4qn._mde;this._eqn.onmouseup=_4qn._mde;this._eqn.onclick=_4qn._mde;}this._8im=_9bm!="none";this._lpk=true;this._xng=(n||this._frl).getAttribute("path");if(this._xng){this._03n._nf4(this._xng);requirejs([this._xng], this._5e6.bind(this), this._jh7.bind(this));}else{this._vij._c76(this._44n, false);}};_q45.prototype._gtc=function(){return this._xng;};_q45.prototype._6ph=function(){return this._cej;};_q45.prototype._47j=function(){return this._lpk;};_q45.prototype._9bb=function(s){_4qn._1je(this._eqn, s);this._u8a=true;};_q45.prototype._ff8=function(){if(this._3tb===undefined){var _q8c=(this._ij7()||this._frl).selectSingleNode("configuration");if(_q8c){var s=_8qn._w2g(_q8c);try{this._3tb=s?JSON.parse(s):null;}catch(e){this._3tb=null;}}else{this._3tb=null;}}return this._3tb;};_q45.prototype._p3d=function(){if(this._gfg===undefined){var nl=this._frl.selectNodes("dataStores/dataStore");var _tzl=nl.length;this._gfg=_tzl?[]:null;this._x7a=_tzl?[]:null;for(var i=0;i<_tzl;i++){var n=nl.item(i);var s=n.text;this._x7a[i]=n.getAttribute( "name" )||"";var _bti;try{_bti=s?JSON.parse(s):null;}catch(e){_bti=null; }this._gfg.push(_bti);}}return this._gfg;};_q45.prototype._mll=function(_ibn){this._03n=_ibn;};_q45.prototype._akl=function(){return this._03n;};_q45.prototype._qp9=function(){return this._eqn;};_q45.prototype._p2g=function(){return this._vij;};_q45.prototype._u46=function(_pen){this._7l1(_pen);};_q45.prototype._a61=function(fn){this._7l1=fn;};_q45.prototype._jh7=function(err){this._eqn.innerHTML="[" + _cgm._qoh( err.requireType ) + ": " + _cgm._qoh( err.requireModules[0] ) + "]";this._vij._c76(this._44n, false);throw new _bm9( this._xng, null, _frh._c6j( "IDS_CCHL_SCRIPTING_ERR_MOD_LOAD" ) + "\r\n" + err.requireType + "\r\n" + err.requireModules[0] );};_q45.prototype._5e6=function(_6cf){this._co5=true;if(this._cej){return;}this._trk=new _6cf();if(!this._lpk){if(this._trk.hide){this._trk.hide(this._shb());}}if(this._trk.initialize){this._trk.initialize(this._shb(), this._5p8.bind(this));}else{this._5p8();}};_q45.prototype._5p8=function(){if(this._cej){return;}if(this._trk.setData){var _3of=this._shb();var a=this._oh2();for(var i=0;i