// 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. var _lmh=new _lcm("_lmh");_lmh._jgn=function(_q9n){this._g2n=_q9n;this._4le();};_lmh._bgn=function(){this._ggm();};_lmh._ggm=function(){var _3en=this._d0n._vtl.value;_erh._ybb();if(_3en){var n=this._g2n;if(this._nad){n=_erh._h56(this._g2n, "pageModule");}n.setAttribute("path", _3en);}else{if(this._nad){_8qn._cqh(this._g2n, "pageModule");}else{this._g2n.removeAttribute("path");}}if(this._4ye){var a=["description", "uiType", "configuration", "height", "width"];var _tzl=a.length;for(var i=0;i<_tzl;i++){var _1wi=a[i];if(this._4ye.getAttribute(_1wi)&&!this._g2n.getAttribute(_1wi)){this._g2n.setAttribute(_1wi, this._4ye.getAttribute(_1wi));}}_dth._ru9(this._g2n, "description", this._dfa);_8qn._cqh(this._g2n, "description");_agm._r9(this._g2n);}_erh._iee(true);this._3le();};_lmh._5z2=function(){this._nad=(this._g2n.nodeName!="customControl");this._d0n._vtl=this._2oh("txtPath");var _v9n=this._g2n.selectSingleNode(this._nad?"pageModule/@path":"@path");this._42f=_8qn._w2g(_v9n);this._d0n._vtl.value=this._42f;this._2oh( "divDescription" ).style.display = "none";this._2oh("chkDescription").checked=!this._nad;};_lmh._wl3=function(){this._d0n._vtl.focus();};_lmh._o46=function(){this._g2n=null;this._4ye=null;this._dfa=null;};_lmh._y3a=function(){var _3en=this._d0n._vtl.value;var i=_3en.lastIndexOf("/");var _9i9="text!" + ( _3en.match( /\.js$/i )?_3en.slice( 0, -".js".length ):_3en ) + ".description.xml";_5ml._jll([_9i9], this._kh7.bind(this), this._vj4.bind(this, _3en));};_lmh._kh7=function(_hza){this._dfa=_hza;var d=_8qn._kph(null, _hza, false, true);this._4ye=d?d.documentElement:null;this._ggm();};_lmh._vj4=function(_3en){requirejs.undef(_3en);_gem( "Description load error" );};