// 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 _g36=new _lcm( "_g36", "dlgAppConnectControls" );_g36._jgn=function(_k1h,_s8f,_b6k,_u4c){this._tue=(_s8f!==false);var _arg=_8l8._4uc();var _h58=this._tue?(_k1h||_arg[0]):_k1h;var _l58=this._tue?(_arg[1]||_arg[0]||_k1h):_k1h;var _83m=_dth._ug8(_h58);this._wdd=_83m.cloneNode(true);this._4t7=_dth._l7b(this._wdd, _h58);this._5t7=_dth._l7b(this._wdd, _l58);if(!_8aj._ow(this._wdd)){_67j("IDS_MSG_MISSING_CONTAINER_NAME");return;}this._ls2=_8aj._rd1(this._wdd, true);if(!_4ke._ue4(this._4t7, "appOnSelectSetVariableValues")){this._4t7=null;for(var i=0; i0){var _tzl=_cz5.length;for(var i=0; i<_j7n; i++){var _838=_cz5.item(_tzl-i-1);_sv2.removeChild(_838);}}}}else{var _1lf=_ath._tq9(_h58);var _gta=_r0n._62g(_1lf, _82b);var _elf=_ath._tq9(_l58);var _tta=_r0n._s8b(_elf.selectSingleNode("selection"), _erh._e5j(_gta, true));_e2b=_tta.getAttribute("name");if(_j9g._9l2[_l58.nodeName]){var _gki=_l58.selectSingleNode(_j9g._9x9[_l58.nodeName]+"/" + _j9g._59g[_l58.nodeName]);var _uwj=_erh._woh(d.createElement(_j9g._xsh[_l58.nodeName]));_uwj.setAttribute("refDataItem", _e2b);var _7vd=_l58.selectSingleNode(_j9g._ysh[_l58.nodeName]+"[position()=last()]");_gki.insertBefore(_uwj, _7vd);}else if(_l58.nodeName=="list"||_l58.nodeName=="vizDataSet"){var d=_frh._yq9();var _san={};var _h4n=[];_h4n.push(d.createElement("dataItemRef"));_h4n[0].setAttribute("name", _e2b);var _rxf=_elf.getAttribute("name");_h4n[0].setAttribute("query", _rxf);_h4n[0].setAttribute("expression", "[" + _rxf + "].[" + _e2b + "]");_san["_50n"]=_h4n;var _fsj=_ath._r9g;if(_l58.nodeName=="list"){ var _q3m=_l58.selectSingleNode("listColumns/listColumn[position()=last()]/listColumnBody");if(!_q3m){_q3m=_l58;_fsj=_ath._6me;}_5hn._vge(_l58, _san, _q3m, _fsj, false);var _0bc=_l58.selectSingleNode("listColumns/listColumn[position()=last()]");var _xd2=_erh._u0g(_0bc, "appListColumnProperties");_xd2.setAttribute("visible", "false");}else if(_l58.nodeName=="vizDataSet"){_7qn._k76(_l58, _san, null, false, true);}}}}if (!_l58.selectSingleNode(_b4e+"//appConditionDataItemComparison[@refDataItem=" + _cgm._zxc( _e2b ) + "][@refAppVariable=" + _cgm._zxc( _k7k["_vdn"] ) + "][@operator='in']")){var _en1=_erh._h56(_l58, _b4e);var _q64=_en1.selectSingleNode("appCondition/*");if(!_q64){_erh._u0g(_en1, "appCondition");}var _kl=_erh._cnh("appConditionDataItemComparison");_kl.setAttribute("refDataItem", _e2b);_kl.setAttribute("refAppVariable", _k7k["_vdn"]);_kl.setAttribute("operator", _vu2?this._fp5._qik():"in");var _usd=_en1.selectSingleNode("appCondition");var _9bh=new _h47(_usd, "appConditionAnd", "appConditionOr", "appConditionNot");_9bh._7de(_kl);if(_vu2&&_0yk){var _lb=_erh._cnh("appConditionDataItemComparison");_lb.setAttribute("refDataItem", _e2b);_lb.setAttribute("refAppVariable", _apf["_vdn"]);_lb.setAttribute("operator", this._9c3._qik());_9bh._7de(_lb);_9bh._dhk([_kl, _lb]);}}if(_4ke._ue4(_h58, "appContainerSelect")&&!_h58.selectSingleNode("appContainerSelect//appConditionDataItemComparison[@refDataItem=" + _cgm._zxc( _82b ) + "][@refAppVariable=" + _cgm._zxc( _k7k["_vdn"] ) + "][@operator='in']")){var _en1=_erh._h56(_h58, "appContainerSelect");var _q64=_en1.selectSingleNode("appCondition/*");if(!_q64){_erh._u0g(_en1, "appCondition");}var _kl=_erh._cnh("appConditionDataItemComparison");_kl.setAttribute("refDataItem", _82b);_kl.setAttribute("refAppVariable", _k7k["_vdn"]);_kl.setAttribute("operator", "in");var _usd=_en1.selectSingleNode("appCondition");var _9bh=new _h47(_usd, "appConditionAnd", "appConditionOr", "appConditionNot");_9bh._7de(_kl);}};_g36._cw3=function(_83m,_w2b){var _vae=_w2b;for (var i=2; _83m.selectSingleNode("appProperties/appVariables/appVariable[@name=" + _cgm._zxc( _vae ) + "]"); i++){_vae=_w2b+" " + i;}return _vae;};_g36._v91=function(_b08){var _2x5=_frh._53g("EmptyList");_2x5.setAttribute("indentLength", "10");var _lz4=_2x5.selectSingleNode("listItems");for(var i=0; i