1function sort(n,t,i){var r=!0;n.ctrlKey&&(r=!1);__doPostBack(t,"Sort,"+i+","+r)}function gridTab(n,t){var i=tabWithEnterGridControl.find(".cell input:text, .cell input:checkbox").filter(function(){return $(this).attr("tabindex")!="-1"}),u,r;if(tabWithEnterGridControl.is("[data-vertical-tab=true]")&&(i=i.sort(function(n,t){var i=parseInt($(n).data("c").split(",")[0]),r=parseInt($(n).data("c").split(",")[1]),u=parseInt($(t).data("c").split(",")[0]),f=parseInt($(t).data("c").split(",")[1]);return r<f?-1:r>f?1:i<u?-1:i>u?1:0})),i.filter(function(){return $(this).attr("disabled")!="disabled"}),u=i.index($(document.activeElement)),r=1,t&&(r=-1),i[u+r]===undefined){tabWithEnterGridControl.select();n();return}$(i[u+r]).is(":checkbox")?$(i[u+r]).focus():($(i[u+r]).focus(),$(i[u+r]).select())}var gridPagingCallCount=0,gridDubbelClick=!1,gridClickCount=0,previousCell=null,preventCellOnFocus=!1,gridChangeRowTimer=null,gridFilterTimer=null,gridId=null;$.fn.keyEventGrid=function(n,t,i,r,u,f,e){var h=n.keyCode,s,o,c;if(h==13){if(n.ctrlKey){tabWithEnterFlag=!0;return}if(e&&document.activeElement.tagName&&(document.activeElement.type=="text"||document.activeElement.type=="checkbox")){tabWithEnterFlag=!0;tabWithEnterGridControl=this;return}r&&(o=this.getArrowSelectedRowIndex(),isNaN(o)&&(o=-1),o==-1&&(o=this.getSelectedRowIndex()),gridChangeRowTimer&&(clearTimeout(gridChangeRowTimer),gridChangeRowTimer=null),__doPostBack(i,"EnterPress,"+o))}else if(h==38){if($(document.activeElement).is("textarea"))return;if(stopDefault(n),f==1||f==2)this.changeGridCell(-1,0,f);else if(s=$(document.activeElement),s.is("[data-c]")){var s=$(document.activeElement),l=s.data("c").split(",")[0],v=s.data("c").split(",")[1],a=this.getGridCell(l-1,v);a.length>0&&(this.scrollToRow($("#"+this.attr("id")+"_scrollableData"),l-1,!1),a.selectAllText(),setTimeout(function(){clearTimeout(gridChangeRowTimer)},600))}else this.changeGridRow(-1,!0,i,!1)}else if(h==40){if($(document.activeElement).is("textarea"))return;if(stopDefault(n),f==1||f==2)this.changeGridCell(1,0,f);else if(s=$(document.activeElement),s.is("[data-c]")){var s=$(document.activeElement),l=parseInt(s.data("c").split(",")[0]),v=parseInt(s.data("c").split(",")[1]),a=this.getGridCell(l+1,v);a.length>0&&(this.scrollToRow($("#"+this.attr("id")+"_scrollableData"),l+1,!0),a.selectAllText(),setTimeout(function(){clearTimeout(gridChangeRowTimer)},600))}else this.changeGridRow(1,!0,i,!0)}else if(h==37)(f==1||f==2)&&(stopDefault(n),this.changeGridCell(0,-1,f));else if(h==39)(f==1||f==2)&&(stopDefault(n),this.changeGridCell(0,1,f));else if(h==46&&u){if(document.activeElement.tagName&&document.activeElement.type=="text")return;o=this.getArrowSelectedRowIndex();isNaN(o)&&(o=-1);gridChangeRowTimer&&(clearTimeout(gridChangeRowTimer),gridChangeRowTimer=null);__doPostBack(i,"DeletePress,"+o)}else h==32&&document.activeElement.id==this.attr("id")&&(c=this.getArrowSelectedRow().find('input[type="checkbox"]').first(),c.length&&(c.is(":checked")?c.click():c.click()))};$.fn.getGridRow=function(n){return this.find('*[data-r="'+n+'"]')};$.fn.getGridCell=function(n,t){return this.find('*[data-c="'+n+","+t+'"]')};$.fn.getSelectedRow=function(){var n=this.find(".selected");return n.hasClass("row")?n:n.parent()};$.fn.getArrowSelectedRow=function(){var n=this.find(".arrowSelected");return n.length>0?n:this.getSelectedRow()};$.fn.getSelectedRowIndex=function(){var n=this.getSelectedRow();return n.length==0?-1:parseInt(n.data("r"))};$.fn.getArrowSelectedRowIndex=function(){var n=this.getArrowSelectedRow();return n.length==0?-1:parseInt(n.data("r"))};$.fn.changeGridRow=function(n,t,i,r){var e=this.getArrowSelectedRow(),f=this.getArrowSelectedRowIndex(),o=parseInt(this.find(".row").parent().find(".row:last-child").data("r")),u=0;u=f+n<0?0:f+n>o?o:f+n;e.length&&e.removeClass("arrowSelected");this.getGridRow(u).addClass("arrowSelected");this.scrollToRow($("#"+this.attr("id")+"_scrollableData"),u,r);t&&(gridChangeRowTimer&&(clearTimeout(gridChangeRowTimer),gridChangeRowTimer=null),gridChangeRowTimer=setTimeout(function(){__doPostBack(i,"RowChangeWithArrowKey,"+u)},600))};$.fn.changeGridCell=function(n,t,i){var e;try{var u=parseInt(this.find(".selected > *").data("c").split(",")[0]),f=parseInt(this.find(".selected > *").data("c").split(",")[1]),r=this.getGridCell(u+n,f+t);if(r.length===0)return;if(r.parent().css("display")=="none"){n>0?n+=1:n<0&&(n-=1);t>0?t+=1:t<0&&(t-=1);this.changeGridCell(n,t,i);return}r.length>0&&(i==1||i==2&&r.is("input"))&&($(".selected").removeClass("selected"),r.parent().addClass("selected"),e=$("#"+this.attr("id")+"_selectedCell"),previousCell=e.val(),e.val(u+n+","+(f+t)),this.scrollToRow($("#"+this.attr("id")+"_scrollableData"),u+n,n>0),this.scrollToColumn($("#"+this.attr("id")+"_scrollableData"),f+t,t>0),r.is("input")&&r.attr("type")=="text"&&(r.attr("readonly")?(r.focus(),r.val(r.val())):r.selectAllText()))}catch(o){this.getGridCell(0,0).parent().addClass("selected");$("#"+this.attr("id")+"_selectedCell").val("0,0");this.scrollToRow($("#"+this.attr("id")+"_scrollableData"),0,!0)}};$(document).ready(function(){scrollEvent=function(){if(gridId){var n=$("#"+gridId+"_scrollableData").css("margin-left");$("#"+gridId+"_header").css("margin-left",n)}}});$.fn.ajaxGridCellOnFocus=function(n,t){var i="WebLibAsync=true";i+=postDataElements();i+="&"+this.prop("id")+"_ajaxGridCellOnFocus=true";i+="&"+this.prop("id")+"_parameters="+encodeURIComponent(t);i+="&__EVENTTARGET="+encodeURIComponent(this.prop("id"))+"&__VIEWSTATE="+encodeURIComponent($("#__VIEWSTATE").val());$("#ajaxPostData").length&&(i+=$("#ajaxPostData").val());$.ajax({url:n,data:i,type:"POST",async:!1,success:function(n){var t=getStatusAndDecodedData(n),i=t[0],r=t[1];i==STATUS_OK?updatePage(r):i==STATUS_ERROR?showAjaxErrorPage(n):showAjaxErrorPage(n)},error:function(){consoleWrite("Serverfel vid ajax")}})};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.