// 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 _ylh(_b6k, _djh, _0gl){var _apn=_qgn._a9g;var _sla=window["_qkk"]?_qkk._qik("UseReportService"):_ylh._hg1;var _5n1=_sla&&(_djh.indexOf(_ylh._7r3)==0);if(_5n1){_apn+= "/../reports";}_ylh.baseConstructor.call(this, _b6k, _apn, _djh);if(_5n1&&_f8j._ss){this._ck8( "X-UseRsConsumerMode", "true" );}if(_5aj._w5j("XSRF-TOKEN")){this._ck8( "X-XSRF-TOKEN", _5aj._w5j( "XSRF-TOKEN" ) );}if(_grh.IncludePerformance=="true"){this._ck8( "X-CA-IPA", "1" );}this._gtk=_0gl;this._rq6=_djh;this._aij={};this._lfg=[];this._9de(_ylh._ln5);this._9de(_ylh._1b3);};_olk._vjl(_ylh, _10g);_ylh.prototype._ymg=/multipart.*boundary="([^"]*)"/;_ylh.prototype._xmg=/content-id:\s*([A-Za-z0-9_-]+)\r\n/i;_ylh.prototype._a3n=/cid:([^<]*)<\/href>/;_ylh.prototype._7ig=null;_ylh.prototype._dx1=null;_ylh.prototype._zl1=null;_ylh.prototype._ou4=null;_ylh.prototype._hx8=true;_ylh.prototype._zk1=false;_ylh.prototype._jhd="";_ylh.prototype._ss5=null;_ylh.prototype._que=false;_ylh.prototype._uue=false;_ylh._hg1=false;_ylh._1r3=5;_ylh._ok2=30;_ylh._72f="";_ylh._ahd="";_ylh._qk2='mainReport';_ylh._6r3='metadata';_ylh._6s1='selectValues';_ylh.prototype._7u9=function(_z0e){_vzm._6dm(!this._zed);this._zed=_z0e;};_ylh.prototype._cq3=function(_p94){this._l34=_p94;};_ylh._i7b=function(){return this._72f;};_ylh._cq9=function(){return this._ahd;};_ylh._z86=function(){var _nnj=_tl9._9e1();if(_nnj.length){var _h2e=new _4ce(null, _nnj);_h2e._ign();}};_ylh.prototype._63g=function(){return this._7ig;};_ylh.prototype._m6b=function(){return this._aij;};_ylh._gm3=function(){return _qkk._qik("UseMIMEAttachments")?"MIME":"base64";};_ylh.prototype._72g=function(_1xi){return _1xi?this._aij[_1xi]:null;};_ylh._zz2=function(_7ma){var _gvf=null;if(_7ma){var n=_7hn._ij8(_7ma, "/SOAP-ENV:Envelope/SOAP-ENV:Body/*//bus:outputPages/item");if(n){_gvf=_8qn._w2g(n);}}return _gvf;};_ylh.prototype._m7b=function(_7ma){var _gvf=_ylh._zz2(_7ma);if(_gvf){var _2vk=this._a3n.exec(_gvf);if(_2vk){var _qnn=_2vk[1];_gvf=this._72g(_qnn);}}return _gvf;};_ylh.prototype._p1d=function(){this._7ig=null;this._aij={};};_ylh.prototype._d4g=function(){return this._uue;};_ylh.prototype._b4g=function(){return this._que;};_ylh.prototype._u7j=function(_7mc,_bjc){this._fwb=_7mc;this._nvb=_bjc;};_ylh.prototype._vj2=function(){this._hx8=false;};_ylh.prototype._9y=function(){this._zk1=true;};_ylh.prototype._aq3=function(_a26){this._ss5=_a26;};_ylh.prototype._dk8=function(_u35,_bya,_cjc){this._vv4=_u35;this._me3=_bya;this._k34=_cjc;};_ylh.prototype._iu9=function(_l8e){this._jhd=_l8e;};_ylh._brc=function(_p6n){return { _u1n:_p6n };};_ylh._5zc="202004";_ylh._7r3="http://www.ibm.com/xmlns/prod/cognos/reportService/";_ylh._4s1=_ylh._7r3+_ylh._5zc+"/";_ylh._ln=_ylh._7r3+_ylh._5zc+"/.high";_ylh._y9=_ylh._7r3+_ylh._5zc+"/.absolute";_ylh._oc=_ylh._7r3+_ylh._5zc+"/.session";_ylh._nc=_ylh._7r3+_ylh._5zc+"/.session";_ylh._mc="http://www.ibm.com/xmlns/prod/cognos/contentManagerService/" + _ylh._5zc + "/";_ylh._5s1="http://www.ibm.com/xmlns/prod/cognos/systemService/" + _ylh._5zc + "/";_ylh._y42="com.cognos.rspecupgrade.rsupgrade.targetNamespace=";_ylh._l7a="http://developer.cognos.com/schemas/bibus/3";_ylh._ln5="xmlns:bus='" + _ylh._l7a + "/'";_ylh._1b3="xmlns:rns1='http://developer.cognos.com/schemas/reportService/1'";_ylh._kk1="xmlns:rns1='http://developer.cognos.com/schemas/reportservice/upgrade/1/'";_ylh._cg1=_10g._2r3+' ' + _ylh._ln5;_ylh.prototype._vv4="rns1:";_ylh.prototype._me3=_ylh._y9;_ylh.prototype._k34=_ylh._nc;_ylh.prototype._9de=function(_szi){this._lfg.push(_szi);};_ylh.prototype._ign=function(){if(!this._zed){this._zed=_tl9._555(this._l34);}this._zed._dk8(this._vv4, this._me3, this._k34);this._t5a(this._ch7(this._gtk, this._fwb, this._nvb),this._rq6);};_ylh.prototype._t5a=function(_6xf,_ujh){if(_vzm._49b()){_ylh._72f=_6xf;}_ylh._ahd="";this._bxc(_ujh);this._kbb(_6xf);_ylh.superClass._ign.call(this);};_ylh.prototype._nmk=function(_nzi,_c8k){var _wlm=[];var _icf=_nzi.indexOf(_c8k);var _c0m=0;while(_icf>=0){if(_nzi.substr(_icf+_c8k.length, 2)=="--"){break;}var _6a9=_nzi.indexOf(_c8k, _icf+_c8k.length+2);_wlm[_c0m]=_nzi.slice(_icf+_c8k.length+2, _6a9);_icf=_6a9;_c0m++;}return _wlm;};_ylh.prototype._xh8=function(){if(!_ylh.superClass._xh8.call(this)){return false;}if(([401, 441].indexOf(this._b6j())!==-1)&&!this._xad){this._tjk(null);return this._x0n();} if(this._8ik()){return !this._xad;}var _79e=this._0r9();var _4xg=null;var _ix7=this._ymg.exec(this._q97("Content-Type"));if(_ix7){var _c8k="\r\n--"+_ix7[1];var _wlm=this._nmk(_79e, _c8k);var _phl=_wlm[0];var i=_phl.indexOf("\r\n\r\n");_phl=_phl.substr(i+4);_4xg=_8qn._kph(null, _phl, false, true);for(var _c0m=1; _c0m<_wlm.length;++_c0m){var _99k=_wlm[_c0m];i=_99k.indexOf("\r\n\r\n");var _vdl=_99k.substr(0, i);var _0x7=this._xmg.exec(_vdl);_99k=_99k.substr(i+4);this._aij[_0x7[1]]=_99k;}}else{_4xg=_8qn._kph(null, _79e, false, true);}this._7ig=_4xg;if(!_4xg||!_4xg.documentElement){return !this._xad;}_8qn._833( this._7ig, _10g._2r3+' ' + this._lfg.join( " " ) );this._zed._6fm(_4xg);if(_vzm._49b()){_ylh._ahd=_7hn._3em(_4xg);}var _lrm=_7hn._ij8(_4xg, '/SOAP-ENV:Envelope/SOAP-ENV:Body/SOAP-ENV:Fault');if(_lrm&&!this._xad){if(this._vij){var _6td=_f8j._ay2(_4xg);if(_6td!=null){return this._x0n(_6td);}}return true;}var _1gf=_7hn._ij8(_4xg, '/SOAP-ENV:Envelope/SOAP-ENV:Header/bus:biBusHeader/bus:tracking');if(_1gf){if(this._xad){this._xad=false;this._7zm();return false;}if(_7hn._ij8(_4xg, "/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result[bus:status='complete'][bus:details/item/bus:status='responseReady']")){this._p1d();this._gl5(this._vv4+"getOutput", _4xg);return false;}else if(_7hn._ij8( _4xg, "/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result[bus:status='working' or bus:status='stillWorking']" ) ){this._p1d();this._gl5(this._vv4+"wait", _4xg);return false;}}if(this._xad){this._st1();return false;}if(!this._zk1&&this._vij&&_f8j._qj2(_4xg)){this._uue=true;if(_f8j._k1g(this, _4xg, this._jhd)){this._p1d();return false;}this._uue=false;this._bbb("IDS_CCHL_INITIATE_SERVERPROMTING_FAILED");return true;}return true;};_ylh.prototype._x23=function(){if(this._7ig){var _76h=_7hn._ij8(this._7ig, "/SOAP-ENV:Envelope/SOAP-ENV:Body//bus:details/*[@xsi:type='bus:asynchDetailParameterValues']/bus:parameters");return _f8j._633(_76h);}return false;};_ylh.prototype._kt9=function(){_ylh.superClass._kt9.call(this);if(this._zed){this._zed._ill();}this._zed=null;if(this._8ik()){this._p1d();return;}if(this._7ig&&this._7ig.documentElement){var _lrm=_7hn._ij8(this._7ig, '/SOAP-ENV:Envelope/SOAP-ENV:Body/SOAP-ENV:Fault');if(_lrm){this._tjk(new _ybe(this._7ig));this._p1d();}}else{var _pin=[];var _79e=this._0r9();if(_79e){_pin.push(_79e);}else{_pin.push(_frh._c6j("IDS_CCHL_HTTP_UNKNOWN_RESPONSE"));_pin.push("\r\n");_pin.push("Gateway URL: " + _qgn._a9g);_pin.push("Document URL: " + document.URL);var _5kh=this._9uc();if(_5kh){_pin.push("HTTP Status Text: " + _5kh);}}this._p1d();this._bbb( "IDS_CCHL_XMLHTTPERROR", _pin.join( "\r\n" ) );}};_ylh.prototype._x0n=function(_6td){this._yzh=true;if(_f8j._kzm(this, _6td)){this._p1d();return false;}this._yzh=false;this._bbb("IDS_CCHL_INITIATE_LOGON_FAILED");return true; };_ylh.prototype._gl5=function(_h9m,_4xg){var _55e=this._zn2(_4xg);var _0gl ="<" + _h9m + ">" +'' +_55e+''+'' +'' +"";var _6xf=this._ch7(_0gl, this._fwb, this._nvb);this._t5a(_6xf, this._me3);if(this._vij&&this._vij._as){this._vij._as(this); }};_ylh.prototype._7zm=function(){if(this._zed&&this._zed._hzm()){this._xad=true;setTimeout(this._st1.bind(this), 10000);if(this._vij&&this._vij._2c7){this._vij._2c7(this);}this._zed._ill(true);return;}_ylh.superClass._7zm.call(this);};_ylh.prototype._st1=function(){if(this._xad){this._9zh=true;this._xad=false;_ylh.superClass._7zm.call(this);}};_ylh.prototype._zn2=function(_4xg){var _sid=[];var nl=_7hn._x5g(_4xg, "/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/bus:primaryRequest/*");for(var i=0;i|/, _f8j._d66()); this._ign();return;}if(this._ou4){this._b6g(this._ou4._3q9(), this._ou4._2q9(), this._ou4._cfe());}else{this._bbb("IDS_CCHL_REQUEST_CANCELLED_PROMPTING");}this._p1d();if(this._vij&&this._vij._996){this._vij._996(this);}};_ylh.prototype._2q3=function(_cbh){this._dlg=_cbh;};_ylh.prototype._yk3=function(_cbh){if(!this._dlg){this._dlg=_cbh;return;}for(var s in _cbh){this._dlg[s]=_cbh[s];}};_ylh.prototype._f62=function(){if(!this._dlg){return "";}var a=[''];for(var _vdn in this._dlg){a.push( '' );a.push( '' + _vdn + '' );a.push( '' + this._dlg[_vdn] + '' );a.push('');}a.push('');return a.join("");};_ylh.prototype._1w8 ='' +'promptFormat' +'XHTMLFRGMT' +''+'' +'http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl' +'V5html_viewer.xsl' +'';_ylh.prototype._ch7=function(_0gl,_7mc,_bjc){var _x17=_f8j._fc4();if(this._ss5===null){this._ss5=_f8j._e9(); }var _k4e=_f8j._ip9();var _nrf=this._zed._i3g();var _mwf ='' +''+'' +(_x17 ?('' +'' +_f8j._fc4()+''+''):'')+(_k4e ?('' +'' +_k4e+''+''):'')+this._f62()+'' +''+'productLocale' +'' +(_7mc||_qgn._9eb)+''+''+''+'contentLocale' +'' +(_bjc||_qgn._5eb)+''+''+''+'' +'' +'rs' +'true' +''+''+_nrf+(this._ss5 ?('' +'' +_cgm._e8j(this._ss5)+''+''):'')+''+''+''+_0gl+''+'';return _mwf;};function _ybe(_7ma){_8qn._833( _7ma, _10g._pke+" " + _ylh._ln5 );var _lrm=_7hn._ij8(_7ma, '//SOAP-ENV:Fault');var nl=_7hn._x5g( _lrm, ".//bus:messageString | .//messageString | .//bus:message[not(*)] | .//message[not(*)]" );if(nl.length>0){var _oon=nl.item(0).text;var i=_oon.indexOf(" ");this._5hd=(i>0)?_oon.substring(i+1):_oon;this._m5i=(i>0)?_oon.substring(0, i):"";var _ouk=[];for(var j=1; j