// 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 _rfn=new _lcm("_rfn");_rfn._jgn=function(_7ac,_6en){this._yrb=_6en?_erh._9kl(_6en):_7ac;this._eo6=this._yrb.getAttribute("iid");this._thm=_4hn._ht9(this._yrb);if(this._thm){this._4le();return;}delete this._yrb;this._4hb();};_rfn._4hb=function(){var _7ac=_erh._9kl(this._eo6);_5ml._jll( ["haljs!PropertyActions.js"],function(){ (new _1a4(_7ac.selectSingleNode( "joinFilter/filterExpression" )))._ujl(); }.bind( this ) );};_rfn._nem=function(){this._6ll();setTimeout(this._4hb.bind(this), 0);this._1gn();};_rfn._src=function(){this._6qk=this._2oh("divLinks");this._aql=this._2oh("divLeft");this._8qk=this._2oh("divRight");this._y1n=this._6qk.appendChild( document.createElementNS( "http://www.w3.org/2000/svg", "svg" ) );this._y1n.style.height="270px";this._y1n.style.width="160px";};_rfn._5z2=function(){var tbl=this._2oh("cboLeftCardinality");this._5n6=new _jgk(tbl, null, _frh._53g('cardinality'), this);tbl.classList.add("clsRightAlignedTable");var tbl=this._2oh("cboRightCardinality");this._cp5=new _jgk(tbl, null, _frh._53g('cardinality'), this);var tbl=this._2oh("cboOperator");this._jhg=new _jgk(tbl, this._53g('JoinOperator'), null, this);tbl.classList.add("clsCenteredTable");var _hc9=this._yrb.selectSingleNode("joinOperands/joinOperand[1]");var _cvd=_hc9.selectSingleNode("queryRef");var _dni=_cvd?_enl._765(_cvd):null;var _658=this._yrb.selectSingleNode("joinOperands/joinOperand[2]");var _3cc=_658.selectSingleNode("queryRef");var _27h=_3cc?_enl._765(_3cc):null;this._5n6._hwc(_hc9.getAttribute("cardinality"));this._cp5._hwc(_658.getAttribute("cardinality"));this._16i=_cvd?_cvd.getAttribute( "refQuery" ):"";this._eog=_3cc?_3cc.getAttribute( "refQuery" ):"";_4qn._1je( this._2oh( "spanLeft" ), this._16i||" " );_4qn._1je( this._2oh( "spanRight" ), this._eog||" " );this._kse();this._rr5=new _pgk(this._8qk, null, this);this._bp6=new _pgk(this._aql, null, this);this._5ed=this._bp6._eq9();this._gsb=this._rr5._eq9();this._i43(_27h, this._rr5);this._i43(_dni, this._bp6);_u0n._3a6(this._8qk);_u0n._3a6(this._aql);};_rfn._wl3=function(){this._5a1();this._pj8( "btnNewLink", this._5ed.selectSingleNode( "listItems/listItem" )&&this._gsb.selectSingleNode( "listItems/listItem" ) );this._rr5._wfn();this._bp6._wfn();this._qeg();this._tu8();this._2oh("btnOK").focus();};_rfn._o46=function(){delete this._5ed;delete this._gsb;this._cp5._fdm();delete this._cp5;this._5n6._fdm();delete this._5n6;this._jhg._fdm();delete this._jhg;delete this._yrb;_4qn._vb7(this._y1n);};_rfn._6ll=function(){_6aj._ybb();this._yrb.selectSingleNode( "joinOperands/joinOperand[1]" ).setAttribute( "cardinality", this._5n6._qik() );this._yrb.selectSingleNode( "joinOperands/joinOperand[2]" ).setAttribute( "cardinality", this._cp5._qik() );var a=[];for(var i=0;i(this._aql.offsetTop+this._aql.offsetHeight)){_brn=this._aql.offsetTop+this._aql.offsetHeight+_8gh;}_brn-= this._6qk.offsetTop;var _crn=this._8qk.offsetTop+_ab8+_8gh-this._8qk.scrollTop;if(_crn(this._8qk.offsetTop+this._8qk.offsetHeight)){_crn=this._8qk.offsetTop+this._8qk.offsetHeight+_8gh;}_crn-= this._6qk.offsetTop;if(!_abn._fsh){var fn=this._5xh.bind(this, i);_abn._fsh=this._y1n.appendChild( d.createElementNS( "http://www.w3.org/2000/svg", "polyline" ) );_abn._fsh.setAttribute( "points", "0,0 10,10 20,20 30,30" );_abn._fsh.setAttribute( "fill", "none" );_abn._fsh.setAttribute( "stroke", "black" );_abn._fsh.setAttribute( "stroke-width", "2px" );_abn._fsh.onmousedown=fn;_abn._esh=this._y1n.appendChild( d.createElementNS( "http://www.w3.org/2000/svg", "rect" ) );_abn._esh.setAttribute( "stroke", "black" );_abn._esh.setAttribute( "stroke-width", "0px" );_abn._esh.setAttribute( "fill", "black" );_abn._esh.setAttribute( "width", "8px" );_abn._esh.setAttribute( "height", "8px" );_abn._esh.setAttribute( "y", "0" );_abn._esh.setAttribute( "x", "0" );_abn._esh.onmousedown=fn;_abn._w8g=this._y1n.appendChild( d.createElementNS( "http://www.w3.org/2000/svg", "rect" ) );_abn._w8g.setAttribute( "stroke", "black" );_abn._w8g.setAttribute( "stroke-width", "0px" );_abn._w8g.setAttribute( "fill", "black" );_abn._w8g.setAttribute( "width", "8px" );_abn._w8g.setAttribute( "height", "8px" );_abn._w8g.setAttribute( "y", "0" );_abn._w8g.setAttribute("x",(_10h-8).toString());_abn._w8g.onmousedown=fn;}_abn._fsh.setAttribute( "points", "0," + _brn + " " + "16," + _brn + " " + ( _10h - 16 ) + "," + _crn + " " + _10h + "," + _crn );_abn._esh.setAttribute("y",(_brn-4).toString());_abn._w8g.setAttribute("y",(_crn-4).toString());};_rfn._5xh=function(i){this._ndd=i;this._tu8();};_rfn._2ol=function(_37e,_wmc){for(var i=0;i1){if(i==0){_gnn+= "]";}else if(i==(_tzl-1)){_gnn="["+_gnn;}else{_gnn="[" + _gnn + "]";}}if(!_gnn.match(/(<>|<=|>=|=|>|<)/)){return null;}var _abn=_4hn._ea5(_gnn, _bg9, _h88);if(_abn &&_abn._z9j!="<>"&&_abn._z9j != "<=" &&_abn._z9j!=">="&&_abn._z9j != "=" &&_abn._z9j!=">"&&_abn._z9j != "<" ){return null;}if(!(_abn &&_abn._f0d &&_abn._ceb &&_dni &&_27h &&_bg9[_abn._f0d] &&_h88[_abn._ceb])){return null;}a.push(_abn);}}return a;};_4hn._sfe=function(_7ac){var _b1k=_7ac.selectSingleNode("joinOperands/joinOperand[1]/queryRef");return _b1k?_enl._765(_b1k):null;};_4hn._ztc=function(_7ac){var _b1k=_7ac.selectSingleNode("joinOperands/joinOperand[2]/queryRef");return _b1k?_enl._765(_b1k):null;};_4hn._s7b=function(_fsm){if(!_fsm){return null;}var _r0j="[" + _6aj._422( _fsm.getAttribute( "name" ) ) + "].[";var o={};var nl=_fsm.selectNodes("selection/*/@name");var _tzl=nl.length;for(var i=0;i<_tzl;i++){o[_r0j+_6aj._422(nl.item(i).value)+ "]"]=true;}return o;};_4hn._ea5=function(_mfh,_bg9,_h88){var _abn={};_abn._z9j=null; _abn._f0d=null;_abn._ceb=null;for(var _gon in _bg9){if(_mfh.indexOf(_gon)!=-1){_abn._f0d=_gon;_mfh=_mfh.replace(_gon, "");break;}}for(var _gon in _h88){if(_mfh.indexOf(_gon)!=-1){_abn._ceb=_gon;_mfh=_mfh.replace(_gon, "");break;}}if(_abn._f0d&&_abn._ceb){_abn._z9j=_mfh.trim();return _abn;} else{return null;}};