_f36.js 2.0 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  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. function _f36(n){this._l2n=n;};_f36.prototype._fkk=function(_gqj){this._kgm=_gqj ?function(s){ return s; }:function(s){ return _cgm._e8j(s); };this._agd=new _ece();var _q9n=this._l2n;if(_q9n.nodeType==_8qn._2db){for(var _9rm=_q9n.firstChild; _9rm&&_9rm.nodeType==_8qn._0zc; _9rm=_9rm.nextSibling){this._yt8(_9rm);}_q9n=this._l2n.documentElement;}this._xcj(_q9n, 0);return this._agd._fkk();};_f36.prototype._yt8=function(_z3l){this._agd._uzm( this._kgm("<!-- ") );this._agd._uzm(this._kgm(_z3l.nodeValue));this._agd._uzm( this._kgm(" --> ") );};_f36.prototype._xcj=function(n,_ikn){var _cdl=n.nodeName;var _k99=_7hn._x5g(n, "*").length;if(n==n.ownerDocument.documentElement&&n.ownerDocument.doctype){this._agd._uzm(_7hn._3em(n.ownerDocument.doctype));this._agd._uzm("\n");}this._agd._uzm(_cgm._jjk("", "\t", _ikn));this._agd._uzm("<");this._agd._uzm(_cdl);var nl=n.attributes;var _tzl=nl.length;for(var i=0;i<_tzl;i++){var _f8n=nl.item(i);var _1wi=_f8n.name;var _uxm=_f8n.value;if(!_8qn._ge4(n, _f8n)){continue;}this._agd._uzm(" ");this._agd._uzm(_1wi);this._agd._uzm('="');this._agd._uzm(_cgm._e8j(_uxm));this._agd._uzm('"');}var nl=_7hn._x5g( n, "* | text() | comment()" );var _tzl=nl.length;if(_tzl==0){this._agd._uzm("/>\n");return;}this._agd._uzm(">");var _r2c=n.getAttribute("xml:space")=="preserve";if(!_r2c){this._agd._uzm("\n");}for(var i=0;i<_tzl;i++){var _9rm=nl.item(i);switch(_9rm.nodeType){case _8qn._urh:this._agd._uzm(_cgm._e8j(_9rm.nodeValue));break;case _8qn._0zc:this._yt8(_9rm);break;case _8qn._cc5:this._agd._uzm("<![CDATA[");this._agd._uzm(_9rm.nodeValue);this._agd._uzm("]]>");break;default:if(_r2c){this._xcj(_9rm, 0);}else{this._xcj(_9rm, _ikn+1);}}}this._agd._uzm(_cgm._jjk("", "\t", _r2c?0:_ikn));this._agd._uzm("</");this._agd._uzm(_cdl);this._agd._uzm(">\n");};