123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: irot
- // (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 _1g2(_zc2, _pe4, _vl7){_be9._452("_1k4");_be9._452("_jq7");_be9._452("_lq7");_be9._452("_1u5");if(_kx5._uz8){_zc2.setAttribute("_w69", "true");}_1g2.baseConstructor.call(this, _pe4, _vl7);this._2d8=_ie9._py3();this._ew7=document;this._yk2();this._ba2=_zc2;this._qv7=0;this._hh5=_fe9._9h2(this._ba2);if(this._3f5===true){if(this._gq8===true){this._h94=_pe4.getAttributeNode("choicesSelectAllText")?_pe4.getAttribute("choicesSelectAllText"):this._ol2("PMT_UIM_SELECTALL", "IDS_CCHL_PRMT_SELECTALL");this._573=_pe4.getAttributeNode("choicesDeselectAllText")?_pe4.getAttribute("choicesDeselectAllText"):this._ol2("PMT_UIM_DESELECTALL", "IDS_CCHL_PRMT_DESELECTALL");this._eh5=_pe4.getAttributeNode("choicesText")?_pe4.getAttribute("choicesText"):this._ol2("PMT_UIM_CHOICES", "IDS_CCHL_PRMT_CHOICES");this._994=_pe4.getAttributeNode("insertText")?_pe4.getAttribute("insertText"):this._ol2("PMT_UIM_INSERTTIP", "IDS_CCHL_PRMT_INSERTTIP");this._g94=_pe4.getAttributeNode("removeText")?_pe4.getAttribute("removeText"):this._ol2("PMT_UIM_REMOVETIP", "IDS_CCHL_PRMT_REMOVETIP");}else{this._h94=_pe4.getAttributeNode("resultsSelectAllText")?_pe4.getAttribute("resultsSelectAllText"):this._ol2("PMT_UIM_SELECTALL", "IDS_CCHL_PRMT_SELECTALL");this._573=_pe4.getAttributeNode("resultsDeselectAllText")?_pe4.getAttribute("resultsDeselectAllText"):this._ol2("PMT_UIM_DESELECTALL", "IDS_CCHL_PRMT_DESELECTALL");}}else{if(this._j94==="checkboxGroup"||this._j94=="radioGroup"){this._573=_pe4.getAttributeNode("deselectText")?_pe4.getAttribute("deselectText"):this._ol2("PMT_UIM_DESELECTALL", "IDS_CCHL_PRMT_DESELECTALL");}}if(this._gq8===true){this._iq2=_pe4.getAttributeNode("highestValueText")?_pe4.getAttribute("highestValueText"):this._ol2("PMT_RNG_HIGHEST_VALUE", "IDS_CCHL_PRMT_HIGHEST_VALUE");this._773=_pe4.getAttributeNode("lowestValueText")?_pe4.getAttribute("lowestValueText"):this._ol2("PMT_RNG_LOWEST_VALUE", "IDS_CCHL_PRMT_LOWEST_VALUE");this._f94=_pe4.getAttributeNode("fromText")?_pe4.getAttribute("fromText"):this._ol2("PMT_RNG_FROM", "IDS_CCHL_PRMT_FROM");this._yh5=_pe4.getAttributeNode("toText")?_pe4.getAttribute("toText"):this._ol2("PMT_RNG_TO", "IDS_CCHL_PRMT_TO");}this._t92=(_vl7&&_vl7._198&&_vl7._198()._4l4)?_vl7._198()._4l4("allowEmptyStringTextHeader"):true;this._sa7=[];this._5p3=new Map();this._a99();if(this._1n3!=true){this._252(_zc2, this._7i1());}if(this._ds4){this._uo(_zc2, ["pt", "pv"]);var _7l7=this._lc7||this._jq6||this._8w7||null;if(_7l7&&!_7l7._6o4){this._uo(_7l7._9v5()._v75().parentNode, ["pt", "pv"]);}}else{this._252(_zc2, "display: inline-block");}this._fu7();};_9t7._v88(_1g2, _1k4);_1g2._o5=-1;_1g2.prototype._3l4=function(){return(this._j74.getAttribute( "autoSubmit" )=="true" );};_1g2.prototype._xm4=function(_l66){this._j74.setAttribute("autoSubmit", _l66);};_1g2.prototype._7i1=function(){var _gv8=(this._k53>=11.5)?250:200;var _xg8=_kx5._y14?40:32;var _hx6=0;if(!this._gq8&&this._j94!=="dropdown"){_xg8=(this._k53>=11.5)?220:200;_hx6=80;}if(this._gq8&&this._3f5){_gv8=(this._k53>=11.5)?520:420;_xg8=(this._k53>=11.5)?220:200;_hx6=(this._k53>=11.5)?200:160;}return "width:" + _gv8 + "px;height:" + _xg8 + "px" + (_hx6 != 0?(";min-height:" + _hx6 + "px"):"");};_1g2.prototype._yk2=function(){_1g2.superClass._yk2.call(this);this._j94=this._j74.getAttribute("selectValueUI")||"comboBox";this._h46=this._j74.getAttribute("columnName")||"";if(this._3f5===false&&this._j94==="checkboxGroup"){this._j94="radioGroup";}};_1g2.prototype._1o8=function(){while(this._sa7.length>0){this._sa7.pop()._xp8();}if(this._jq6){this._jq6._1o8();this._jq6=null;}if(this._8w7){this._8w7._1o8();this._8w7=null;}if(this._j63){this._5p3=null;this._j63._1o8();this._j63=null;}if(this._lc7){this._lc7._1o8();this._lc7=null;}if(this._zc7){this._zc7._1o8();this._zc7=null;}while(this._ba2.hasChildNodes()){this._ba2.removeChild(this._ba2.firstChild);}};_1g2.prototype._dm6=function(_ba9){if(this._gq8===true&&this._3f5===true){this._ba2.innerHTML='<div style="display: table-cell; height: 100%; vertical-align: top">' +'<div class="clsPromptSelectValue" style="display: table; height: 100%; width: 100%">' +'<div class="clsInputArea" style="display: table-cell; height: 100%; width: 50%; min-width: 150px; vertical-align: top"></div>' +'<div class="clsPromptButtonsContainer" style="display: table-cell; height: 100%; vertical-align: top' + (this._ds4?'; margin: 0 8px"':'"') + '>' +'<div class="clsPromptButtonContainer" style="width:40px; height:40px; line-height:40px; text-align:center">' +'<button name="add" class="clsSvgButton16x16 clsPromptInsertButton" title="' + this._994 + '">' +'<svg><use xlink:href="#' + (_ba9?'def_hal_move_left_16x16':'def_hal_move_right_16x16') + '"/></svg>' +'</button>'+'</div>'+'<div class="clsPromptButtonContainer" style="width:40px; height:40px; line-height:40px; text-align:center">' +'<button name="remove" class="clsSvgButton16x16 clsPromptRemoveButton" title="' + this._g94 + '">' +'<svg><use xlink:href="#' + (_ba9?'def_hal_move_right_16x16':'def_hal_move_left_16x16') + '"/></svg>' +'</button>'+'</div>'+'</div>'+'<div style="display: table-cell; height: 100%; width: 50%; min-width: 150px; vertical-align: top">' +'<div style="display: flex; flex-direction: column; height: 100%">' +((this._gb7===true&&this._qm3===false)?'<div class="clsAdornmentsArea"></div>':'') +'<div' + this._f34("pc") + ' style="padding-bottom:' + ( ( this._k53 >= 11.5 )?'2px':'3px' ) + '">' + this._eh5 + '</div>' +'<div class="clsOutputArea' + this._f34("pv", true) + '" style="flex: 1 0 auto; position: relative"></div>' +'<div class="clsPromptHyperlinksContainer" style="' + ( ( this._k53 >= 11.5 )?'':'display:table;' ) + 'align-self:flex-end; padding-top:8px">' +'<div style="display: table-cell"><a _cmd="_cmdSelectAll" class="clsHyperlink' + this._f34("pl", true) + '" style="margin-' + (_ba9?'left':'right') + ': 8px" href="#">' + this._h94 + '</a></div>' +'<div style="display: table-cell"><a _cmd="_cmdDeselectAll" class="clsHyperlink' + this._f34("pl", true) + '" href="#">' + this._573 + '</a></div>' +'</div>'+'</div>'+'</div>'+'</div></div>';}else{if(this._j94==="checkboxGroup"){var _1u3=this._j74.selectNodes("selectOptions/selectOption");if(_1u3.length==1){this._1n3=true;}}if(this._1n3===true){var _g76=(this._j94==="comboBox"||this._j94==="dropdown");this._ba2.innerHTML='<div style="display: table-cell; height: 100%; vertical-align: top">' +'<div class="clsPromptSelectValue" style="' + (_g76?'display: flex; flex-direction: row;':'display: table;') + ' height: 100%; width: 100%">' +((this._gb7===true&&this._qm3===false)?('<div class="clsAdornmentsArea" style="' + (_g76?'':'display: table-cell; height: 100%; vertical-align: top; ') + 'padding-right: 3px"></div>'):'') +(_g76 ?'<div style="display: flex; flex-direction: column; flex: 1">':'<div style="display: table-cell; vertical-align: top; width: 100%; height: 100%"><div style="display: flex; flex-direction: column; height: 100%">')+(_g76?'<div class="clsInputArea"></div>':'<div class="clsInputArea" style="flex: 1 0 auto; position: relative"></div>')+'</div>' + (_g76?'':'</div>') +'</div></div>';}else{var _g76=(this._j94==="comboBox"||this._j94==="dropdown");this._ba2.innerHTML='<div style="display: table-cell; height: 100%; vertical-align: top">' +'<div class="clsPromptSelectValue" style="' + (_g76?'display: flex; flex-direction: row;':'display: table;') + ' height: 100%; width: 100%">' +((this._gb7===true&&this._qm3===false)?('<div class="clsAdornmentsArea" style="' + (_g76?'':'display: table-cell; height: 100%; vertical-align: top; ') + 'padding-right: 3px"></div>'):'') +(_g76 ?'<div style="display: flex; flex-direction: column; flex: 1">':'<div style="display: table-cell; vertical-align: top; width: 100%; height: 100%"><div style="display: flex; flex-direction: column; height: 100%">')+(_g76?'<div class="clsInputArea"></div>':'<div class="clsInputArea" style="flex: 1 0 auto; position: relative"></div>')+'<div style="display:table; align-self:flex-end; padding-top:8px">' +((this._3f5===true)?'<div class="clsPromptHyperlinksContainer" style="display: table-cell">' +'<a _cmd="_cmdSelectAll" class="clsHyperlink' + this._f34("pl", true) + '" style="margin-' + (_ba9?'left':'right') + ': 8px" href="#">' + this._h94 + '</a>' +'</div>':'')+((this._3f5===true||(this._gb7===false&&(this._j94==="checkboxGroup"||this._j94=="radioGroup")))?'<div class="clsPromptHyperlinksContainer" style="display: table-cell">' +'<a _cmd="_cmdDeselectAll" class="clsHyperlink' + this._f34("pl", true) + '" href="#">' + this._573 + '</a>' +'</div>':'')+'</div>'+'</div>' + (_g76?'':'</div>') +'</div></div>';}}this._ba2.style.display="inline-table";};_1g2.prototype._ku=function(_6z6){var _xj7=_6z6.appendChild(_6z6.ownerDocument.createElement("listItem"));_xj7.setAttribute("label", this._h46);_xj7=_6z6.appendChild(_6z6.ownerDocument.createElement("listItem"));_xj7.setAttribute("label", "------------------------------");};_1g2.prototype._h03=function(_jy4,_us8){var _yz7, _2c9=this._ew7, _108=_2c9.createElement("select");var _1u3=this._j74.selectNodes("selectOptions/selectOption");_108.className="clsComboBox pv " + (_jy4.className||"");_108.style.width="100%";_108.id=_jy4.id;var _zz7=_jy4.parentNode;_zz7.removeChild(_jy4);_zz7.appendChild(_108);if(_1u3&&_1u3.length>0){var _0b9, _ei8, _xj7;if(this._h46){_yz7=_108.appendChild(_2c9.createElement("option"));_yz7.innerHTML=_jp8._hj6(this._h46).replace(/\s/g, " ");_yz7=_108.appendChild(_2c9.createElement("option"));_yz7.text="------------------------------";}for(_0b9=0; _0b9<_1u3.length; _0b9++){_ei8=_1u3.item(_0b9);_yz7=_108.appendChild(_2c9.createElement("option"));var _hy8=_ei8.getAttribute("useValue");if(_ei8.getAttributeNode("nullUse")){_yz7.setAttribute("nullUse", "1");_hy8=null;}else{_yz7.setAttribute("value", _hy8);}var _c45=_ei8.getAttribute("displayValue");if(_ei8.getAttributeNode("nullDisplay")){_yz7.setAttribute("nullDisplay", "1");_c45=null;}else{_yz7.setAttribute("displayValue", _c45);}var _ng4=_c45;if(_ng4===null||_ng4==""){_ng4=_hy8?_hy8:"";}_yz7.innerHTML=_jp8._hj6(_ng4).replace(/\s/g, " ");}}var _7l7={_6o4: true,_jv7: _108,_9o4:(this._h46||(!this._h46&&!this._t92)||this._3f5)?0:_1g2._o5,_v75: function(){return this._jv7;},_jr7: function(){if(this._jv7.options.length>0){var _yz7=this._jv7.options[this._jv7.selectedIndex];if(_yz7){if(_yz7.hasAttribute("nullUse")){return null;}if(_yz7.hasAttribute("value")){return _yz7.getAttribute("value");}}}return undefined;},_je3: function(){if(this._jv7.options.length>0){var _yz7=this._jv7.options[this._jv7.selectedIndex];if(_yz7){if(_yz7.hasAttribute("nullDisplay")){return null;}if(_yz7.hasAttribute("displayValue")){return _yz7.getAttribute("displayValue");}}}return undefined;},_598: function(){if(this._jv7.options.length>0){return this._jv7.options[this._jv7.selectedIndex].text;}return "";},_o24: function(_qj8){var _xj7=_ie9._py3().createElement("listItem");_xj7.setAttribute("label", _qj8.text);if(_qj8.hasAttribute("nullUse")){_xj7.setAttribute("nullUse", "1");}if(_qj8.hasAttribute("value")){_xj7.setAttribute("value", _qj8.getAttribute("value"));}if(_qj8.hasAttribute("nullDisplay")){_xj7.setAttribute("nullDisplay", "1");}if(_qj8.hasAttribute("displayValue")){_xj7.setAttribute("displayValue", _qj8.getAttribute("displayValue"));}return _xj7;},_lg1: function(){var _xj7=this._o24(this._jv7.options[this._jv7.selectedIndex]);_xj7.setAttribute("selected", true);return [_xj7];},_zk4: function(){var i, _np5, _fe8=[], _yz7, _ux7=this._jv7.options, _t47;for(i=0; i<_ux7.length; i++){_yz7=_ux7[i];_t47=_1u5._509;var _hy8=_yz7.hasAttribute("nullUse")?null:(_yz7.hasAttribute("value")?_yz7.getAttribute("value"):undefined);var _c45=_yz7.hasAttribute("nullDisplay")?null:(_yz7.hasAttribute("displayValue")?_yz7.getAttribute("displayValue"):undefined);_np5=new _1u5(false, _hy8, _t47, undefined);_np5._gv4=_c45;_fe8.push(_np5);}return _fe8;},_qm4: function(_0b9){this._jv7.selectedIndex=_0b9;},_rm4: function(_hy8){var _969;if(_hy8===null){_969="nullUse";_hy8="1";}else if(_hy8||_hy8===""){_969="value";}if(_969){var _ux7=this._jv7.options;var _zg8=_ux7.length;for(var i=0; i<_zg8; i++){var _yz7=_ux7[i];if(_yz7.getAttribute(_969)==_hy8){_yz7.selected=true;break;}}}},_1o8: function(){this._jv7.parentNode.removeChild(this._jv7);this._jv7=null;}};this._uh3(_108, "dblclick",function(e){this._fu7();}.bind(this));this._uh3(_108, "change",function(e){_fe9._a75(e);var _kc6=_7l7._lg1();if(_kc6&&_kc6.length>0){this._lg2(_7l7, _kc6[0]);}setTimeout(function(){e.target.focus();}, 0);}.bind(this));this._uh3(_108, "click",function(e){_fe9._a75(e);this._qs(_7l7);}.bind(this));this._uh3(_108, "keydown",function(e){_fe9._a75(e);this._qs(_7l7);}.bind(this));return _7l7;};_1g2.prototype._p24=function(_m79,_9k5,_us8){var _zj7=this._2d8.createElement("listView");var _6z6=_zj7.appendChild(_zj7.ownerDocument.createElement("listItems"));if(_m79==="radioGroup"){_zj7.setAttribute("view", "radio");}else if(_m79==="checkboxGroup"){_zj7.setAttribute("view", "checkbox");}if(_9k5===true){_zj7.setAttribute("multiSelect", "true");}_zj7.setAttribute("keySearch", "caseInsensitive");_zj7.setAttribute("accessible", "true");if(_us8!==true){var _1u3=this._j74.selectNodes("selectOptions/selectOption");if(this._j94==="comboBox"||this._j94==="dropdown"){this._ku(_6z6);}var d=_6z6.ownerDocument;var _zg8=_1u3.length;for(var i=0; i<_zg8; i++){var _ei8=_1u3.item(i);var _xj7=_6z6.appendChild(d.createElement("listItem"));var _hy8;if(_ei8.getAttributeNode("nullUse")){_xj7.setAttribute("nullUse", "1");_hy8=null;}else{_hy8=_ei8.getAttribute("useValue");_xj7.setAttribute("value", _hy8);}var _c45;if(_ei8.getAttributeNode("nullDisplay")){_xj7.setAttribute("nullDisplay", "1");_c45=null;}else{_c45=_ei8.getAttribute("displayValue");_xj7.setAttribute("displayValue", _c45);}var _ng4=_c45;if(_ng4===null||_ng4==""){_ng4=_hy8||"";}_xj7.setAttribute("label", _ng4);}}return _zj7;};_1g2.prototype._y91=function(_iy7){var _3a4=[];var _yt3=this._j74.selectNodes("selectChoices/*");for(var i=0; i<_yt3.length; i++){var _np5=new _1u5(_iy7);_3a4.push(_np5);var _ei8=_yt3.item(i);var _tp7=_ei8.getAttributeNode("nullUse")?null:(_ei8.getAttributeNode("useValue")?_ei8.getAttribute("useValue"):undefined);if(_iy7){if(_tp7!=null){var _fm7;try{_fm7=JSON.parse(_tp7);}catch(e){_fm7={};}if(_fm7.min!==undefined){_np5._5x5(_fm7.min, _qx3._u87);}if(_fm7.max!==undefined){_np5._5x5(_fm7.max, _qx3._bt7);}}else{switch(_ei8.tagName){case "selectBoundRange":case "selectUnboundedEndRange":case "selectUnboundedStartRange":var _f49=_ei8.selectSingleNode("start");if(_f49){_np5._5x5(_f49.getAttributeNode("nullUse")?null:_f49.getAttribute("useValue"), _qx3._u87);_np5._cd1=_f49.getAttributeNode("nullDisplay")?null:_f49.getAttribute("displayValue");}var _f49=_ei8.selectSingleNode("end");if(_f49){_np5._5x5(_f49.getAttributeNode("nullUse")?null:_f49.getAttribute("useValue"), _qx3._t87);_np5._bd1=_f49.getAttributeNode("nullDisplay")?null:_f49.getAttribute("displayValue");}break;case "selectOption":_np5._5x5(_tp7, _qx3._u87);_np5._5x5(_tp7, _qx3._t87);break;}}}else{_np5._5x5(_tp7);}}return _3a4;};_1g2.prototype._uh3=function(_m49,_t58,_3w6){var _909=_3w6.bind(this);_m49.addEventListener(_t58, _909);this._sa7.push({_xp8: function(){_m49.removeEventListener(_t58, _909);}});};_1g2.prototype._f34=function(_027,_tf7){if(this._ds4){if(_tf7){return ' ' + _027;}return ' class="' + _027 + '"';}return '';};_1g2.prototype._ti3=function(_796){var _zv3=(this._k53>11.4)?'margin-top:var(--16S);':'';var _1f1=(this._k53==11.4)?'margin-left:8px;padding-left:24px;':'';var _wf6=_zv3+_1f1;var _hw3=( this._k53>=11.5 )?'margin-top:8px':( ( this._k53==11.4 )?'margin:8px':'' );var _u69=(this._3f5===true||this._gb7===false)? '<div class="' + this._f34("pc", true) + ' clsLabel">' + this._f94 + '</div>' +'<div style="display:flex; flex-direction:row">' +'<label class="clsRadioButton" style="' + _hw3 + '">' +'<input type="radio" value="low_value"/>' +'<span></span>'+'</label>'+'<div style="flex:1' + ( ( this._k53 <= 11.4 )?';margin-left:4px':'' ) + '">' +'<table class="clsComboFrom" id="' + this._ba2.id + '_RangeComboBoxFrom" style="border-collapse:collapse; border-spacing:0; width:100%"></table>' +'</div>'+'</div>'+'<label class="clsRadioButton" style="' + _wf6 + '">' +'<input type="radio" value="lowest" checked="true"/>' +'<span' + this._f34("pe") + '>' + this._773 + '</span>' +'</label>'+'<div class="' + this._f34("pc", true) + ' clsLabel" style="margin-top:16px">' + this._yh5 + '</div>' +'<div style="display: flex; flex-direction: row">' +'<label class="clsRadioButton" style="' + _hw3 + '">' +'<input type="radio" value="high_value"/>' +'<span></span>'+'</label>'+'<div style="flex:1' + ( ( this._k53 <= 11.4 )?';margin-left:4px':'' ) + '">' +'<table class="clsComboTo" id="' + this._ba2.id + '_RangeComboBoxTo" style="border-collapse collapse; border-spacing:0; width:100%"></table>' +'</div>'+'</div>'+'<label class="clsRadioButton" style="' + _wf6 + '">' +'<input type="radio" value="highest" checked="true"/>' +'<span' + this._f34("pe") + '>' + this._iq2 + '</span>' +'</label>': '<div' + this._f34("pc") + '>' + this._f94 + '</div>' +'<div><table class="clsComboFrom" id="'+this._ba2.id+'_RangeComboBoxFrom" style="border-collapse:collapse; border-spacing:0; width:100%"></table></div>' +'<div' + this._f34("pc") + ' style="margin-top:16px">' + this._yh5 + '</div>' +'<div><table class="clsComboTo" id="' + this._ba2.id + '_RangeComboBoxTo" style="border-collapse:collapse; border-spacing:0; width:100%"></table></div>';_796.innerHTML=_3z2._3y2(_u69);this._jq6=this._h03(_796.querySelector(".clsComboFrom"));this._jq6._qm4(this._jq6._9o4);this._8w7=this._h03(_796.querySelector(".clsComboTo"));this._8w7._qm4(this._8w7._9o4);var _ba9=_fe9._a04(_796);if(this._ds4){if(!this._jq6._6o4){var div=this._jq6._9v5()._v75();this._003(div, ["clsListView_dropdown"], ["pv_clsListView_dropdown", "pv"]);if(_kx5._y14){div.classList.add(_1k4._cb5);}if(_ba9){div.classList.add("clsDirectionRtl");}}if(!this._8w7._6o4){var div=this._8w7._9v5()._v75();this._003(div, ["clsListView_dropdown"], ["pv_clsListView_dropdown", "pv"]);if(_kx5._y14){div.classList.add(_1k4._cb5);}if(_ba9){div.classList.add("clsDirectionRtl");}}var _496=this._jq6._v75().parentNode;_496.setAttribute(_1k4._m87, _1k4._m52);_496.classList.add("pv");_496=this._8w7._v75().parentNode;_496.setAttribute(_1k4._m87, _1k4._m52);_496.classList.add("pv");}if(this._3f5===true||this._gb7===false){if(this._3f5===true){var _3l5=this._ba2.querySelector(".clsOutputArea");_3l5.innerHTML='<div class="clsListView" style="position:absolute; top:0; right:0; bottom:0; left:0"></div>';this._j63=new _lq7(_3l5.firstChild, this._p24(undefined, true, true), this);if(this._ds4){_3l5.setAttribute(_1k4._m87, _1k4._m52);}}this._s74={"names": []};var _579;var _5e8=_796.getElementsByTagName("input");for(var i=0; i<_5e8.length; i++){var _3g8=_5e8[i];if(i % 2===0){_579=this._hh5+"_RadioGroup_" + this._qv7++;}_3g8.setAttribute("name", _579);var _sf9=this._hh5+"_RadioButton_" + this._qv7++;_3g8.setAttribute("id", _sf9);this._uh3(_3g8, "click", this._082);if(_3g8.checked===true){this._s74[_3g8.name]={"value": _3g8.value, "idx": this._s74["names"].length};this._s74["names"].push(_3g8.name);if(_3g8.value=="lowest"){this._2h5=_3g8;}else{this._xu4=_3g8;}}else{if(_3g8.value=="low_value"){this._g84=_3g8;}else{this._zo3=_3g8;}}}var _cx7=this._ba2.getElementsByTagName("button");for(var i=0; i<_cx7.length; i++){this._uh3(_cx7[i], "click", this._kq4);_cx7[i].setAttribute("id", this._hh5 + "_Button_" + this._qv7++);}if(this._3f5===true){this._a62(0, true);this._a62(1, true);}}};_1g2.prototype._a62=function(i,_3f7){var _cx7=this._ba2.getElementsByTagName("button");if(_cx7&&i<_cx7.length){if(this._k53>=11.5){_fe9._bf(_cx7[i], !_3f7);}else{_cx7[i].disabled=_3f7;_cx7[i].parentNode.style.opacity=_3f7?0.3:1.0;_cx7[i].style.cursor=(_3f7?"initial":"pointer");}}};_1g2.prototype._tv=function(_ul7,_ns6){for(var i=0; i<_ns6.length; i++){var _xj7=_ns6[i];var _tp7=_xj7.getAttribute("value");this._5p3.delete(_tp7);_ul7._vt(_tp7);}};_1g2.prototype._b03=function(btn){var _579=btn.name, _mm8=btn.value, _0b9=this._s74[_579]["idx"];this._s74[_579]["value"]=_mm8;_579=(_0b9===1)?this._s74["names"][0]:this._s74["names"][1];var _nm8=this._s74[_579]["value"];if(this._3f5===true){if((_mm8==="lowest"&&_nm8==="highest")||(_mm8==="highest"&&_nm8==="lowest")){this._a62(0, true);}else{var _396=this._jq6._v75().parentNode.previousSibling.firstChild;var _zg7=this._8w7._v75().parentNode.previousSibling.firstChild;this._a62(0,((_396.checked&&this._jq6._jr7()===undefined)||(_zg7.checked&&this._8w7._jr7()===undefined)));}}};_1g2.prototype._082=function(e){e.stopPropagation();this._b03(e.target);this._fu7();};_1g2.prototype._nk=function(){var _qt6=this._jq6._v75().parentNode.previousSibling.firstChild.checked;var _8y7=this._8w7._v75().parentNode.previousSibling.firstChild.checked;if(_qt6===true&&_8y7===true){return this._mk2(this._jq6._jr7(), this._jq6._je3(), this._8w7._jr7(), this._8w7._je3());}if(_qt6===true){return this._mk2(this._jq6._jr7(), this._jq6._je3(), undefined, undefined);}if(_8y7===true){return this._mk2(undefined, undefined, this._8w7._jr7(), this._8w7._je3());}return this._mk2(undefined, undefined, undefined, undefined);};_1g2.prototype._kq4=function(e){e.stopPropagation();var _579=e.currentTarget.name||"";if(_579==="add"){var _np5=this._nk();var _tp7=_np5._tv5();if(_tp7&&!this._j63._l75("value", _tp7)){var _6z6=this._j63._tw2();var _xj7=_6z6.appendChild(_6z6.ownerDocument.createElement("listItem"));_xj7.setAttribute("value", _tp7);_xj7.setAttribute("label", _np5._ej1());this._5p3.set(_tp7, _np5);this._j63._054(_xj7, false);this._j63._f89();this._a62(1, false);}}else if(_579==="remove"){this._tv(this._j63, this._j63._lg1());this._j63._f89();this._a62(1, true);}this._fu7();};_1g2.prototype._j23=function(e){e.stopPropagation();var _ul7=this._j63||this._zc7||undefined;var _sc9=e.target.getAttribute("_cmd");if(_sc9==="_cmdSelectAll"){if(_ul7){if(this._j94==="checkboxGroup"){_ul7._xq7();}else{_ul7._977();}if(_ul7===this._j63){this._a62(1, !_ul7._tw2().hasChildNodes());}}this._fu7();}else if(_sc9==="_cmdDeselectAll"){this._u21(_ul7);}};_1g2.prototype._u21=function(_ul7,_7f8){if(_ul7){if(this._j94==="checkboxGroup"){_ul7._sk6();}else{_ul7._eu5();}if(this._j63){if(_7f8){this._j63._az8();this._j63._f89();}this._a62(1, true);}this._fu7();}};_1g2.prototype._003=function(_st8,_ki5,_6e7){if(_st8){var _d07=_st8.classList;for(var i=0; i<_ki5.length; i++){_d07.remove(_ki5[i]);}for(var i=0; i<_6e7.length; i++){_d07.add(_6e7[i]);}}};_1g2.prototype._a99=function(){var _ba9=_fe9._a04(this._ba2);this._dm6(_ba9);var _796=this._ba2.querySelector(".clsInputArea");if(this._ds4){this._ba2.classList.add(_1k4._bb5);this._ba2.setAttribute("nemesis_id","PromptControl");if(_kx5._y14){this._ba2.classList.add(_1k4._cb5);}if(_ba9){this._ba2.classList.add("clsDirectionRtl");} }if(this._gq8===true){this._ti3(_796);}else if(this._gq8===false){if(this._j94==="comboBox"||this._j94==="dropdown"){_796.innerHTML='<div><table id="' + this._ba2.id + '_ValueComboBox" style="border-collapse:collapse; border-spacing:0; width:100%"></table></div>';this._lc7=this._h03(_796.firstChild.firstChild);this._lc7._qm4(this._lc7._9o4);if(this._ds4){if(!this._lc7._6o4){this._003(this._lc7._9v5()._v75(), ["clsListView_dropdown"], ["pv_clsListView_dropdown", "pv"]);if(_kx5._y14){this._lc7._9v5()._v75().classList.add(_1k4._cb5);}if(_ba9){this._lc7._9v5()._v75().classList.add("clsDirectionRtl");}}var _496=_796.firstChild;_496.setAttribute(_1k4._m87, _1k4._m52);_496.classList.add("pv");}}else{_796.innerHTML='<div class="clsListView" style="position:absolute; top:0; right:0; bottom:0; left:0" id=' + this._ba2.id + '_MultiSelectList></div>';this._zc7=new _lq7(_796.firstChild, this._p24(this._j94, this._3f5), this);if(this._ds4){_796.setAttribute(_1k4._m87, _1k4._m52);_796.classList.add("pv");}}}var _eb9=this._j74.selectSingleNode("style/CSS");if(_eb9){var _um7=_eb9.getAttribute("value");var _le8=_um7.split(";"), _hy8, _829;for(var i=0; i<_le8.length; i++){_hy8=_le8[i];_829=_hy8.split(":");if(_829[0]==="height"&&!this._zc7){continue;}_796.style[_829[0]]=_829[1];}}this._ik1();if(this._3f5===true||this._gb7===false){if(this._1n3===true){this._zc7._qj();}else{var _s56=this._ba2.querySelectorAll(".clsHyperlink");for(var i=0; i<_s56.length; i++){this._uh3(_s56[i], "click", this._j23);_s56[i].setAttribute("id", this._hh5 + "_HyperLink_" + this._qv7++);}}}if(this._gb7===true&&this._qm3===false){this._0a1(this._ba2.querySelector(".clsAdornmentsArea"));}};_1g2.prototype._ik1=function(){var _3a4=this._y91(this._gq8);if(_3a4.length==0){return;}var _yr8=[];var _xe8=false;if(this._j63){_xe8=true;_yr8.push(this._j63);this._a62(1, false);}else if(this._zc7){_yr8.push(this._zc7);}else if(this._jq6&&this._8w7){_yr8.push(this._jq6);_yr8.push(this._8w7);}else if(this._lc7){_yr8.push(this._lc7);}if(_xe8===true){var _6z6=_yr8[0]._tw2();for(var i=0; i<_3a4.length; i++){var _8x8=_3a4[i];var _tp7=_8x8._tv5();if(_tp7===undefined){continue;}var _xj7=_6z6.appendChild(_6z6.ownerDocument.createElement("listItem"));_xj7.setAttribute("value", _tp7);_xj7.setAttribute("label", _8x8._ej1());this._5p3.set(_8x8._tv5(), _8x8);_yr8[0]._054(_xj7, false);}_yr8[0]._f89();}else{if(this._3f5===true){var _ss8=(this._j94==="checkboxGroup");for(var i=0; i<_3a4.length; i++){var _8x8=_3a4[i];var _tp7=_8x8._tv5();var _xj7=_tp7?_lq7._l75(_yr8[0]._re3(), "value", _tp7):null;if(_xj7){if(_ss8===true){_xj7.setAttribute("checked", "true");_yr8[0]._bq(_xj7);}else{_yr8[0]._054(_xj7, false);}}}_yr8[0]._f89();}else{var _8x8=_3a4[_3a4.length-1];if(_yr8.length===1){var _tp7=_8x8._tv5();if(_tp7&&_tp7.length>0){_yr8[0]._rm4(_8x8._tv5());}}else{var _tp7=_8x8._tv5(_qx3._u87);if(_tp7!==undefined){_yr8[0]._rm4(_tp7);if(!this._gb7){_yr8[0]._v75().parentNode.previousSibling.firstChild.checked=true;}}_tp7=_8x8._tv5(_qx3._t87);if(_tp7!==undefined){_yr8[1]._rm4(_tp7);if(!this._gb7){_yr8[1]._v75().parentNode.previousSibling.firstChild.checked=true;}}}}}};_1g2.prototype._ql2=function(_ul7){var _fe8=[];var _kc6;if(this._k16||this._gq8){_kc6=_ul7._685();}else{_kc6=(this._j94==="checkboxGroup")?_ul7._sq1():new _nq7(_ul7._lg1());}this._k16=false;var _zg8=_kc6.length;for(var i=0; i<_zg8; i++){var _xj7=_kc6.item(i);var _tp7=_xj7.getAttributeNode("nullUse")?null:_xj7.getAttribute("value");var _np5=this._5p3.get(_tp7);if(!_np5){var _t47=_1u5._509;_np5=new _1u5(false, _tp7, _t47, undefined);if(_xj7.getAttributeNode("nullDisplay")){_np5._gv4=null;}else{_np5._gv4=_xj7.getAttribute("displayValue");}}_fe8.push(_np5);}return _fe8;};_1g2.prototype._mk2=function(_p27,_ih4,_k78,_qs5){var _np5=new _1u5(true, undefined, _1u5._509, undefined);if(_p27!==undefined){_np5._5x5(_p27, _qx3._u87);_np5._hg3(_ih4, _qx3._u87);}if(_k78!==undefined){_np5._5x5(_k78, _qx3._t87);_np5._hg3(_qs5, _qx3._t87);}return _np5;};_1g2.prototype._z22=function(){var _fe8=[];if(this._3f5===true){if(this._j63||this._zc7){_fe8=this._ql2(this._j63||this._zc7);}}else if(this._3f5===false){var _np5;if(this._gq8===true){if(this._gb7===true){_np5=this._mk2(this._jq6._jr7(), this._jq6._je3(), this._8w7._jr7(), this._8w7._je3());}else{_np5=this._nk();}_fe8.push(_np5);}else if(this._gq8===false){if(this._lc7){if(this._k16){_fe8=this._zk4(this._lc7);}else {var _t47=_1u5._509;_np5=new _1u5(false, this._lc7._jr7(), _t47, undefined);_np5._gv4=this._lc7._je3();_fe8.push(_np5);}}else if(this._zc7){_fe8=this._ql2(this._zc7);}}}return _fe8;};_1g2.prototype._zk4=function(_7l7){var _fe8=_7l7._6o4?_7l7._zk4():this._ql2(_7l7._9v5());this._k16=false;return _fe8;};_1g2.prototype._qs=function(_7l7,_cd7){if((this._3f5===true||this._gb7===false)&&(this._jq6===_7l7||this._8w7===_7l7)){var _iv6=_7l7._v75().parentNode.previousSibling.firstChild;_iv6.checked=true;this._b03(_iv6);}};_1g2.prototype._fu7=function(){var _yr8=[];if(this._j63){_yr8.push(this._j63);}else if(this._zc7){_yr8.push(this._zc7);}else if(this._jq6&&this._8w7){_yr8.push(this._jq6);_yr8.push(this._8w7);}else if(this._lc7){_yr8.push(this._lc7);}var _hy8, _fv6, _2u3;this._0a2=false;for(var i=0; i<_yr8.length; i++){var _r38=_yr8[i];var _dt8=true;if(this._gb7===true){if(_r38 instanceof _jq7||_r38._6o4){_hy8=_r38._jr7();if(this._s26){_dt8=this._s26(this._q67());}else if(_hy8===undefined){_dt8=false;}}else{if(this._s26){_dt8=this._s26(this._q67());}else{if(this._j94==="checkboxGroup"){_2u3=_r38._sq1(); }else{_2u3=this._gq8?_r38._685():new _nq7(_r38._lg1());}var _lo1=_2u3.length;if(_lo1==0){_dt8=false;}else{for(var _n39=0; _n39<_lo1; _n39++){var _9t2=_2u3.item(_n39);_hy8=_9t2.getAttribute("value");if(!_9t2.getAttributeNode("value")&&!_9t2.getAttributeNode("nullUse")){_dt8=false;break;}}}}}_fv6=_r38._v75().parentNode;}else{if(this._s26){_dt8=!!this._s26(this._q67());_fv6=_yr8[i]._v75().parentNode;}else{_fv6=null;}}if(_dt8){if(_fv6){if(this._ds4){_fv6.classList.remove(_1k4._uz2);}else{_fv6.style.outline="none";}}this._0a2=true;}else{if(_fv6){if(this._ds4){_fv6.classList.add(_1k4._uz2);}else{_fv6.style.outline="1px solid " + _3z2._fx2( "--support-01" );}}}}if(this._0a2){if(this._0d7&&this._0d7._53){this._0d7._53(this);}}else{if(this._0d7&&this._0d7._n1){this._0d7._n1(this);}}if(this._0d7&&this._0d7._gc){this._0d7._gc(this);}};_1g2.prototype._lg2=function(_7l7,_xj7){if(_7l7){if(_be9._co4&&_be9._co4._qc){_be9._co4._qc(_7l7);}}if(this._j63&&_7l7){var _0x8=(_7l7===this._jq6)?this._8w7:this._jq6;var _oj7=_0x8._v75().parentNode.previousSibling;var _l83=_xj7.getAttributeNode("value")||_xj7.getAttributeNode("nullUse");this._a62(0,(!_l83||(_oj7.checked&&_0x8._jr7()===undefined)));}else{this._fu7();}};_1g2.prototype._xg1=function(_ul7,_xj7,_am5){if(_ul7===this._j63){this._a62(1, !_ul7._tw2().hasChildNodes());}this._fu7();};_1g2.prototype._8o=function(_ul7,_xj7){this._fu7();};_1g2.prototype._um4=function(_j66){this._k16=_j66;};_1g2.prototype._rf1=function(){if(this._3f5){this._u21(this._j63||this._zc7||undefined, true);}else{if(this._gq8){this._jq6._qm4(this._jq6._9o4);this._8w7._qm4(this._8w7._9o4);if(!this._gb7){this._2h5.checked=true;this._xu4.checked=true;}this._fu7();}else{if(this._lc7){this._lc7._qm4(this._lc7._9o4);this._fu7();}else if(this._zc7){this._u21(this._zc7);}}}};_1g2.prototype._567=function(_le8){if(!_le8||_le8.length<1){this._rf1();}else{if(this._3f5){var _r38=this._j63||this._zc7;if(this._gq8){for(var i=0; i<_le8.length; i++){var _8x8=_le8[i];var _np5=this._mk2(_8x8["start"]["use"], _8x8["start"]["display"], _8x8["end"]["use"], _8x8["end"]["display"]);var _tp7=_np5._tv5();if(!_r38._l75("value", _tp7)){var _xj7=_r38._hg2();_xj7.setAttribute("value", _tp7);_xj7.setAttribute("label", _np5._ej1());_xj7.setAttribute("selected", "true");this._5p3.set(_tp7, _np5);}}_r38._f89();this._a62(1, false);}else{var _zj7=_r38._re3();var _969=this._j94=="checkboxGroup"?"checked":"selected";for(var i=0; i<_le8.length; i++){var _8x8=_le8[i];var _xj7=_lq7._l75(_zj7, "value", _8x8["use"]);if(_xj7.getAttribute(_969)!="true"){_xj7.setAttribute(_969, "true");}}_r38._f89();}}else{var _8x8=_le8[0];if(this._gq8){if(_8x8["start"]["use"]){this._jq6._rm4(_8x8["start"]["use"]);if(!this._gb7){this._g84.checked=true;}}else{this._jq6._qm4(0);if(!this._gb7){this._2h5.checked=true;}}if(_8x8["end"]["use"]){this._8w7._rm4(_8x8["end"]["use"]);if(!this._gb7){this._zo3.checked=true;}}else{this._8w7._qm4(0);if(!this._gb7){this._xu4.checked=true;}}}else{_r38=this._lc7||this._zc7;if(_8x8["use"]){_r38._rm4(_8x8["use"]);}else{_r38._qm4(0);}}}this._fu7();}};
|