// 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 _157(_b6k, _3en, _qgl){this._s3n=_3en;var _8jh;var _cwf;if(_qgl){_8jh="v1/reports/"+_qgl;var _sla=window["_qkk"]?_qkk._qik("UseReportService"):_ylh._hg1;if(_f8j._ss&&_sla){_8jh+= "/stubbed";}}else{_8jh="v1/reports/properties";_cwf="path="+encodeURIComponent(this._s3n);}_157.baseConstructor.call(this, _b6k, "GET", _8jh, _cwf);}_olk._vjl(_157, _yzf);_157.prototype._su7=null;_157.prototype._a6i="";_157.prototype._j03=function(){return this._s3n;};_157.prototype._jm3=function(){return this._su7;};_157.prototype._1ge=function(){return this._a6i;};_157.prototype._0o3=function(){return this._su7.specification;};_157.prototype._k75=function(){return this._su7.defaultName;};_157.prototype._n66=function(){return this._su7.searchPath;};_157.prototype._s22=function(){return this._su7.modificationTime;};_157.prototype._ar9=function(){return this._su7.id;};_157.prototype._l75=function(){return this._su7.defaultDescription;};_157.prototype._le4=function(){if(this._su7&&this._su7.objectClass){var _lvm=this._su7.objectClass;return Boolean(_lvm=='report'||_lvm =='reportTemplate'||_lvm =='interactiveReport'||_lvm=='dataSet2');}return false;};_157.prototype._bs9=function(){if(this._su7&&this._su7.parent&&this._su7.parent.length){return Boolean(this._su7.parent[0].objectClass =='session');}return false;};_157.prototype._qtc=function(){if(this._su7&&this._su7.parent&&this._su7.parent.length){return this._su7.parent[0].searchPath;}return null;};_157.prototype._ed4=function(){if(this._su7&&this._su7.metadataModelPackage.length){return this._su7.metadataModelPackage[0].searchPath;}return null;};_157.prototype._566=function(){if(this._su7&&this._su7.metadataModel.length){return this._su7.metadataModel[0].searchPath;}return null;};_157.prototype._y75=function(){var _sa8=null;if(this._su7&&this._su7.module&&this._su7.module.length){_sa8=this._su7.module[0].searchPath;}return _sa8; };_157.prototype._dg8=function(){var _7lc=null;if(this._su7&&this._su7.module&&this._su7.module.length){_7lc=this._su7.module[0].id;}return _7lc;};_157.prototype._451=function(){return !!this._su7.runInAdvancedViewer;};_157.prototype._n1d=function(_53e){var _s3c=false;if(_53e&&_53e.data&&typeof _53e.data[0].report=='object'){_s3c=true;}return _s3c;};_157.prototype._kt9=function(){_157.superClass._kt9.call(this);var _5um=this._8ik();if(_5um){return;}var _53e=this._yfd;if(!_53e){this._b6g(_frh._c6j("IDS_CCHL_BAD_REPORT_RESPONSE", this._s3n));return;}var _qfc=_53e.messages;if(_qfc){var i=_qfc[0].indexOf(" ");var _66e=(i>0)?_qfc[0].substring(i+1):_qfc[0];var _sxi=(i>0)?_qfc[0].substring(0, i):"";var _ouk=[];for(var i=1;i<_qfc.length;i++){if(_qfc[i].length){_ouk.push(_qfc[i]);}}this._b6g(_66e, _ouk.join("\r\n"), _sxi);return;}var _s3c=false;if(_53e.data&&typeof _53e.data[0].report=='object'){_s3c=true;}var _f88=this._su7=_53e.data[0].report;if(_s3c&&_f88 &&_f88.hasOwnProperty('metadataModel')&&_f88.hasOwnProperty('metadataModelPackage')){this._a6i=_f88._meta&&_f88._meta.links.self.url||"";var _ywf=this._1in.getResponseHeader("X-CA-Routing");var _6am="servergroup=";if(_ywf&&_ywf.substr(0, _6am.length)===_6am){this._ss5=_ywf.substr(_6am.length);}}else{this._b6g(_frh._c6j("IDS_CCHL_BAD_REPORT_RESPONSE", this._s3n), JSON.stringify(_53e));}};