PageSourceSearch

https://www.uu.se/sitevision/system-resource/706c47851a9c6e84fdd50…/js/tablesorter-plugins.js

js uu.se collected 2026-09-27 20:57:01 UTC 25,261 bytes, 3 lines download raw bytes

1/*! For license information please see tablesorter-plugins.js.LICENSE.txt */
2(globalThis.webpackChunk_sv_portlet=globalThis.webpackChunk_sv_portlet||[]).push([[995],{3666(e,t,r){"use strict";r.r(t);r(6061)},6061(){!function(e){"use strict";e.extend({tablesorter:new function(){var t=this;function r(){var e=arguments.length>1?Array.prototype.slice.call(arguments):arguments[0];"undefined"!=typeof console&&void 0!==console.log?console.log(e):alert(e)}function s(e,t){r(e+" ("+((new Date).getTime()-t.getTime())+"ms)")}function o(e){for(var t in e)return!1;return!0}function a(t,r,s){if(!r)return"";var o=t.config,a=o.textExtraction;return("simple"===a?o.supportsTextContent?r.textContent:e(r).text():"function"==typeof a?a(r,t,s):"object"==typeof a&&a.hasOwnProperty(s)?a[s](r,t,s):o.supportsTextContent?r.textContent:e(r).text()).trim()}function n(e,s,o,n){for(var i,c=t.parsers.length,d=!1,l="",u=!0;""===l&&u;)s[++o]?(l=a(e,d=s[o].cells[n],n),e.config.debug&&r("Checking if value was empty on row "+o+", column: "+n+': "'+l+'"')):u=!1;for(;--c>=0;)if((i=t.parsers[c])&&"text"!==i.id&&i.is&&i.is(l,e,d))return i;return t.getParserById("text")}function i(e){var o,a,i,c,d,l,u,f,p=e.config,g=p.$tbodies=p.$table.children("tbody:not(."+p.cssInfoBlock+")"),h="";if(0===g.length)return p.debug?r("*Empty table!* Not building a parser cache"):"";if(p.debug&&(f=new Date,r("Detecting parsers for each column")),(o=g[0].rows)[0])for(a=[],i=o[0].cells.length,c=0;c<i;c++)d=(d=p.$headers.filter(":not([colspan])")).add(p.$headers.filter('[colspan="1"]')).filter('[data-column="'+c+'"]:last'),l=p.headers[c],u=t.getParserById(t.getData(d,l,"sorter")),p.empties[c]=t.getData(d,l,"empty")||p.emptyTo||(p.emptyToBottom?"bottom":"top"),p.strings[c]=t.getData(d,l,"string")||p.stringTo||"max",u||(u=n(e,o,-1,c)),p.debug&&(h+="column:"+c+"; parser:"+u.id+"; string:"+p.strings[c]+";
2 empty: "+p.empties[c]+"\n"),a.push(u);p.debug&&(r(h),s("Completed detecting parsers",f)),p.parsers=a}function c(o){var n,i,c,d,l,u,f,p,g,h,m=o.tBodies,b=o.config,y=b.parsers,w=[];if(b.cache={},!y)return b.debug?r("*Empty table!* Not building a cache"):"";for(b.debug&&(h=new Date),b.showProcessing&&t.isProcessing(o,!0),f=0;f<m.length;f++)if(b.cache[f]={row:[],normalized:[]},!e(m[f]).hasClass(b.cssInfoBlock)){for(n=m[f]&&m[f].rows.length||0,i=m[f].rows[0]&&m[f].rows[0].cells.length||0,l=0;l<n;++l)if(g=[],(p=e(m[f].rows[l])).hasClass(b.cssChildRow))b.cache[f].row[b.cache[f].row.length-1]=b.cache[f].row[b.cache[f].row.length-1].add(p);else{for(b.cache[f].row.push(p),u=0;u<i;++u)c=a(o,p[0].cells[u],u),d=y[u].format(c,o,p[0].cells[u],u),g.push(d),"numeric"===(y[u].type||"").toLowerCase()&&(w[u]=Math.max(Math.abs(d)||0,w[u]||0));g.push(b.cache[f].normalized.length),b.cache[f].normalized.push(g)}b.cache[f].colMax=w}b.showProcessing&&t.isProcessing(o),b.debug&&s("Building cache for "+n+" rows",h)}function d(r,a){var n,i,c,d,l,u,f,p,g,h,m,b,y=r.config,w=y.widgetOptions,v=r.tBodies,x=[],C=y.cache;if(!o(C)){for(y.debug&&(b=new Date),g=0;g<v.length;g++)if((l=e(v[g])).length&&!l.hasClass(y.cssInfoBlock)){for(u=t.processTbody(r,l,!0),n=C[g].row,d=(c=(i=C[g].normalized).length)?i[0].length-1:0,f=0;f<c;f++)if(m=i[f][d],x.push(n[m]),!y.appender||y.pager&&(!y.pager.removeRows||!w.pager_removeRows)&&!y.pager.ajax)for(h=n[m].length,p=0;p<h;p++)u.append(n[m][p]);t.processTbody(r,u,!1)}y.appender&&y.appender(r,x),y.debug&&s("Rebuilt table",b),a||y.appender||t.applyWidget(r),e(r).trigger("sortEnd",r),e(r).trigger("updateComplete",r)}}function l(e){return/^d/i.test(e)||1===e}function u(o){var a,n,i,c,d,u,f,g=function(t){var r,s,o,a,n,i,c,d,l,u,f,p,g=[],h={},m=0,b=e(t).find("thead:eq(0), tfoot").children("tr");for(r=0;r<b.length;r++)for(i=b[r].cells,s=0;s<i.length;s++){for(d=(c=(n=i[s]).parentNode.rowIndex)+"-"+n.cellIndex,l=n.rowSpan||1,u=n.colSpan||1,void 0===g[c]&&(g[c]=[]),o=0;o<g[c].length+1;o++)if(void 0===g[c][o]){f=o;break}for(h[d]=f,m=Math.max(f,m),e(n).attr({"data-column":f}),o=c;o<c+l;o++)for(void 0===g[o]&&(g[o]=[]),p=g[o],a=f;a<f+u;a++)p[a]="x"}return t.config.columns=m+1,h}(o),h=o.config;h.headerList=[],h.headerContent=[],h.debug&&(f=new Date),c=h.cssIcon?'<i class="'+(h.cssIcon===t.css.icon?t.css.icon:h.cssIcon+" "+t.css.icon)+'"></i>':"",h.$headers=e(o).find(h.selectorHeaders).each(function(r){n=e(this),a=h.headers[r],h.headerContent[r]=e(this).html(),d=h.headerTemplate.replace(/\{content\}/g,e(this).html()).replace(/\{icon\}/g,c),h.onRenderTemplate&&(i=h.onRenderTemplate.apply(n,[r,d]))&&"string"==typeof i&&(d=i),e(this).html('<div class="tablesorter-header-inner">'+d+"</div>"),h.onRenderHeader&&h.onRenderHeader.apply(n,[r]),this.column=g[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=l(t.getData(n,a,"sortInitialOrder")||h.sortInitialOrder)?[1,0,2]:[0,1,2],this.count=-1,this.lockedOrder=!1,void 0!==(u=t.getData(n,a,"lockedOrder")||!1)&&!1!==u&&(this.order=this.lockedOrder=l(u)?[1,1,1]:[0,0,0]),n.addClass(t.css.header+" "+h.cssHeader),h.headerList[r]=this,n.parent().addClass(t.css.headerRow+" "+h.cssHeaderRow),h.tabIndex&&n.attr("tabindex",0),n.attr("aria-sort","none")}),p(o),h.debug&&(s("Built headers:",f),r(h.$headers))}function f(e,t,r){var s=e.config;s.$table.find(s.selectorRemove).remove(),i(e),c(e),y(s.$table,t,r)}function p(r){var s,o=r.config;o.$headers.each(function(r,a){s="false"===t.getData(a,o.headers[r],"sorter"),a.sortDisabled=s,e(a)[s?"addClass":"removeClass"]("sorter-false")})}function g(r){var s,o,a,n,i=r.config,c=i.sortList,d=[t.css.sortAsc+" "+i.cssAsc,t.css.sortDesc+" "+i.cssDesc],l=e(r).find("tfoot tr").children().removeClass(d.join(" "));for(i.$headers.removeClass(d.join(" ")),i.$headers.attr("aria-sort","none"),n=c.length,o=0;o<n;o++)if(2!==c[o][1]&&(s=i.$headers.not(".sorter-false").filter('[data-column="'+c[o][0]+'"]'+(1===n?":last":""))).length)for(a=0;a<s.length;a++)s[a].sortDisabled||(s.eq(a).addClass(d[c[o][1]]),0===c[o][1]?s.eq(a).attr("aria-sort","ascending"):1===c[o][1]&&s.eq(a).attr("aria-sort","descending"),l.length&&l.filter('[data-column="'+c[o][0]+'"]').eq(a).addClass(d[c[o][1]]))}function h(e,t){return e&&e[t]&&e[t].type||""}function m(e){var r,a,n,i,c,d,l,u,f,p,g,m,b=0,y=e.config,w=y.textSorter||"",v=y.sortList,x=v.length,C=e.tBodies.length;
2if(!y.serverSideSorting&&!o(y.cache)){for(y.debug&&(f=new Date),a=0;a<C;a++)c=y.cache[a].colMax,(d=y.cache[a].normalized).length,u=d&&d[0]?d[0].length-1:0,d.sort(function(s,o){for(r=0;r<x;r++){if(i=v[r][0],l=v[r][1],b=0===l,y.sortStable&&s[i]===o[i]&&1===x)return s[u]-o[u];if((n=/n/i.test(h(y.parsers,i)))&&y.strings[i]?(n="boolean"==typeof y.string[y.strings[i]]?(b?1:-1)*(y.string[y.strings[i]]?-1:1):y.strings[i]&&y.string[y.strings[i]]||0,p=y.numberSorter?y.numberSorter(g[i],m[i],b,c[i],e):t["sortNumeric"+(b?"Asc":"Desc")](s[i],o[i],n,c[i],i,e)):(g=b?s:o,m=b?o:s,p="function"==typeof w?w(g[i],m[i],b,i,e):"object"==typeof w&&w.hasOwnProperty(i)?w[i](g[i],m[i],b,i,e):t["sortNatural"+(b?"Asc":"Desc")](s[i],o[i],i,e,y)),p)return p}return s[u]-o[u]});y.debug&&s("Sorting on "+v.toString()+" and dir "+l+" time",f)}}function b(e,t){var r=e[0].config;r.pager&&!r.pager.ajax&&e.trigger("updateComplete"),"function"==typeof t&&t(e[0])}function y(e,t,r){!1===t||e[0].isProcessing?b(e,r):e.trigger("sorton",[e[0].config.sortList,function(){b(e,r)}])}function w(r){var s,n,l=r.config,h=l.$table;l.$headers.find(l.selectorSort).add(l.$headers.filter(l.selectorSort)).off("mousedown.tablesorter mouseup.tablesorter sort.tablesorter keypress.tablesorter").on("mousedown.tablesorter mouseup.tablesorter sort.tablesorter keypress.tablesorter",function(s,a){if(!(1!==(s.which||s.button)&&!/sort|keypress/.test(s.type)||"keypress"===s.type&&13!==s.which||"mouseup"===s.type&&!0!==a&&(new Date).getTime()-n>250)){if("mousedown"===s.type)return n=(new Date).getTime(),"INPUT"===s.target.tagName?"":!l.cancelSelection;l.delayInit&&o(l.cache)&&c(r);var i=(/TH|TD/.test(this.tagName)?e(this):e(this).parents("th, td").filter(":first"))[0];i.sortDisabled||function(r,s,o){var a,n,i,c,l,u=r.config,f=!o[u.sortMultiSortKey],p=e(r);if(p.trigger("sortStart",r),s.count=o[u.sortResetKey]?2:(s.count+1)%(u.sortReset?3:2),u.sortRestart&&(n=s,u.$headers.each(function(){this===n||!f&&e(this).is("."+t.css.sortDesc+",."+t.css.sortAsc)||(this.count=-1)})),n=s.column,f){if(u.sortList=[],null!==u.sortForce)for(a=u.sortForce,i=0;i<a.length;i++)a[i][0]!==n&&u.sortList.push(a[i]);if((c=s.order[s.count])<2&&(u.sortList.push([n,c]),s.colSpan>1))for(i=1;i<s.colSpan;i++)u.sortList.push([n+i,c])}else if(u.sortAppend&&u.sortList.length>1&&t.isValueInArray(u.sortAppend[0][0],u.sortList)&&u.sortList.pop(),t.isValueInArray(n,u.sortList))for(i=0;i<u.sortList.length;i++)l=u.sortList[i],c=u.$headers[l[0]],l[0]===n&&(l[1]=c.order[s.count],2===l[1]&&(u.sortList.splice(i,1),c.count=-1));else if((c=s.order[s.count])<2&&(u.sortList.push([n,c]),s.colSpan>1))for(i=1;i<s.colSpan;i++)u.sortList.push([n+i,c]);if(null!==u.sortAppend)for(a=u.sortAppend,i=0;i<a.length;i++)a[i][0]!==n&&u.sortList.push(a[i]);p.trigger("sortBegin",r),setTimeout(function(){g(r),m(r),d(r)},1)}(r,i,s)}}),l.cancelSelection&&l.$headers.attr("unselectable","on").on("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"}),h.off("sortReset update updateRows updateCell updateAll addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(".tablesorter ")).on("sortReset.tablesorter",function(e){e.stopPropagation(),l.sortList=[],g(r),m(r),d(r)}).on("updateAll.tablesorter",function(e,s,o){e.stopPropagation(),t.refreshWidgets(r,!0,!0),t.restoreHeaders(r),u(r),w(r),f(r,s,o)}).on("update.tablesorter updateRows.tablesorter",function(e,t,s){e.stopPropagation(),p(r),f(r,t,s)}).on("updateCell.tablesorter",function(t,s,o,n){t.stopPropagation(),h.find(l.selectorRemove).remove();var i,c,d,u=h.find("tbody"),f=u.index(e(s).parents("tbody").filter(":first")),p=e(s).parents("tr").filter(":first");s=e(s)[0],u.length&&f>=0&&(c=u.eq(f).find("tr").index(p),d=s.cellIndex,i=l.cache[f].normalized[c].length-1,l.cache[f].row[r.config.cache[f].normalized[c][i]]=p,l.cache[f].normalized[c][d]=l.parsers[d].format(a(r,s,d),r,s,d),y(h,o,n))}).on("addRows.tablesorter",function(e,t,o,n){e.stopPropagation();var c,d=t.filter("tr").length,u=[],f=t[0].cells.length,p=h.find("tbody").index(t.parents("tbody").filter(":first"));for(l.parsers||i(r),c=0;c<d;c++){for(s=0;s<f;s++)u[s]=l.parsers[s].format(a(r,t[c].cells[s],s),r,t[c].cells[s],s);u.push(l.cache[p].row.length),l.cache[p].row.push([t[c]]),l.cache[p].normalized.push(u),u=[]}y(h,o,n)}).on("sorton.tablesorter",function(t,s,a,n){var i=r.config;t.stopPropagation(),h.trigger("sortStart",this),function(t,r){var s,o,a,n=t.config,i=r||n.sortList;n.sortList=[],e.each(i,function(t,r){s=[parseInt(r[0],10),parseInt(r[1],10)],(a=n.$headers[s[0]])&&(n.sortList.push(s),o=e.inArray(s[1],a.order),a.count=o>=0?o:s[1]%(n.sortReset?3:2))})}(r,s),g(r),i.delayInit&&o(i.cache)&&c(r),h.trigger("sortBegin",this),m(r),d(r,n),"function"==typeof a&&a(r)}).on("appendCache.tablesorter",function(e,t,s){e.stopPropagation(),d(r,s),"function"==typeof t&&t(r)}).on("applyWidgetId.tablesorter",function(e,s){e.stopPropagation(),t.getWidgetById(s).format(r,l,l.widgetOptions)}).on("applyWidgets.tablesorter",function(e,s){e.stopPropagation(),t.applyWidget(r,s)}).on("refreshWidgets.tablesorter",function(e,s,o){e.stopPropagation(),t.refreshWidgets(r,s,o)}).on("destroy.tablesorter",function(e,s,o){e.stopPropagation(),t.destroy(r,s,o)})}t.version="2.14.3",t.parsers=[],t.widgets=[],t.defaults={theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,tabIndex:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,delayInit:!1,serverSideSorting:!1,headers:{}
2,ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortStable:!1,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",textExtraction:"simple",textSorter:null,numberSorter:null,widgets:[],widgetOptions:{zebra:["even","odd"]},initWidgets:!0,initialized:null,tableClass:"",cssAsc:"",cssDesc:"",cssHeader:"",cssHeaderRow:"",cssProcessing:"",cssChildRow:"tablesorter-childRow",cssIcon:"tablesorter-icon",cssInfoBlock:"tablesorter-infoOnly",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[]},t.css={table:"tablesorter",childRow:"tablesorter-childRow",header:"tablesorter-header",headerRow:"tablesorter-headerRow",icon:"tablesorter-icon",info:"tablesorter-infoOnly",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc"},t.log=r,t.benchmark=s,t.construct=function(r){return this.each(function(){var s=this,o=e.extend(!0,{},t.defaults,r);!s.hasInitialized&&t.buildTable&&"TABLE"!==this.tagName&&t.buildTable(s,o),t.setup(s,o)})},t.setup=function(s,o){if(!s||!s.tHead||0===s.tBodies.length||!0===s.hasInitialized)return o.debug?r("stopping initialization! No table, thead, tbody or tablesorter has already been initialized"):"";var a,n="",d=e(s),l=e.metadata;s.hasInitialized=!1,s.isProcessing=!0,s.config=o,e.data(s,"tablesorter",o),o.debug&&e.data(s,"startoveralltimer",new Date),o.supportsTextContent="x"===e("<span>x</span>")[0].textContent,o.supportsDataObject=((a=e.fn.jquery.split("."))[0]=parseInt(a[0],10),a[0]>1||1===a[0]&&parseInt(a[1],10)>=4),o.string={max:1,min:-1,"max+":1,"max-":-1,zero:0,none:0,null:0,top:!0,bottom:!1},/tablesorter\-/.test(d.attr("class"))||(n=""!==o.theme?" tablesorter-"+o.theme:""),o.$table=d.addClass(t.css.table+" "+o.tableClass+n),o.$tbodies=d.children("tbody:not(."+o.cssInfoBlock+")"),o.widgetInit={},u(s),function(t){if(t.config.widthFixed&&0===e(t).find("colgroup").length){var r=e("<colgroup>"),s=e(t).width();e(t.tBodies[0]).find("tr:first").children("td:visible").each(function(){r.append(e("<col>").css("width",parseInt(e(this).width()/s*1e3,10)/10+"%"))}),e(t).prepend(r)}}(s),i(s),o.delayInit||c(s),w(s),o.supportsDataObject&&void 0!==d.data().sortlist?o.sortList=d.data().sortlist:l&&d.metadata()&&d.metadata().sortlist&&(o.sortList=d.metadata().sortlist),t.applyWidget(s,!0),o.sortList.length>0?d.trigger("sorton",[o.sortList,{},!o.initWidgets]):o.initWidgets&&t.applyWidget(s),o.showProcessing&&d.off("sortBegin.tablesorter sortEnd.tablesorter").on("sortBegin.tablesorter sortEnd.tablesorter",function(e){t.isProcessing(s,"sortBegin"===e.type)}),s.hasInitialized=!0,s.isProcessing=!1,o.debug&&t.benchmark("Overall initialization time",e.data(s,"startoveralltimer")),d.trigger("tablesorter-initialized",s),"function"==typeof o.initialized&&o.initialized(s)},t.isProcessing=function(r,s,o){var a=(r=e(r))[0].config,n=o||r.find("."+t.css.header);s?(a.sortList.length>0&&(n=n.filter(function(){return!this.sortDisabled&&t.isValueInArray(parseFloat(e(this).attr("data-column")),a.sortList)})),n.addClass(t.css.processing+" "+a.cssProcessing)):n.removeClass(t.css.processing+" "+a.cssProcessing)},t.processTbody=function(t,r,s){var o;if(s)return t.isProcessing=!0,r.before('<span class="tablesorter-savemyplace"/>'),o=e.fn.detach?r.detach():r.remove();o=e(t).find("span.tablesorter-savemyplace"),r.insertAfter(o),o.remove(),t.isProcessing=!1},t.clearTableBody=function(t){e(t)[0].config.$tbodies.empty()},t.restoreHeaders=function(t){var r=t.config;r.$table.find(r.selectorHeaders).each(function(t){e(this).find(".tablesorter-header-inner").length&&e(this).html(r.headerContent[t])})},t.destroy=function(r,s,o){if((r=e(r)[0]).hasInitialized){t.refreshWidgets(r,!0,!0);var a=e(r),n=r.config,i=a.find("thead:first"),c=i.find("tr."+t.css.headerRow).removeClass(t.css.headerRow+" "+n.cssHeaderRow),d=a.find("tfoot:first > tr").children("th, td");i.find("tr").not(c).remove(),a.removeData("tablesorter").off("sortReset update updateAll updateRows updateCell addRows sorton appendCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd ".split(" ").join(".tablesorter ")),n.$headers.add(d).removeClass([t.css.header,n.cssHeader,n.cssAsc,n.cssDesc,t.css.sortAsc,t.css.sortDe
2sc].join(" ")).removeAttr("data-column"),c.find(n.selectorSort).off("mousedown.tablesorter mouseup.tablesorter keypress.tablesorter"),t.restoreHeaders(r),!1!==s&&a.removeClass(t.css.table+" "+n.tableClass+" tablesorter-"+n.theme),r.hasInitialized=!1,"function"==typeof o&&o(r)}},t.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,hex:/^0x[0-9a-f]+$/i},t.sortNatural=function(e,r){if(e===r)return 0;var s,o,a,n,i,c,d,l,u=t.regex;if(u.hex.test(r)){if((o=parseInt(e.match(u.hex),16))<(n=parseInt(r.match(u.hex),16)))return-1;if(o>n)return 1}for(s=e.replace(u.chunk,"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0"),a=r.replace(u.chunk,"\\0$1\\0").replace(/\\0$/,"").replace(/^\\0/,"").split("\\0"),l=Math.max(s.length,a.length),d=0;d<l;d++){if(i=isNaN(s[d])?s[d]||0:parseFloat(s[d])||0,c=isNaN(a[d])?a[d]||0:parseFloat(a[d])||0,isNaN(i)!==isNaN(c))return isNaN(i)?1:-1;if(typeof i!=typeof c&&(i+="",c+=""),i<c)return-1;if(i>c)return 1}return 0},t.sortNaturalAsc=function(e,r,s,o,a){if(e===r)return 0;var n=a.string[a.empties[s]||a.emptyTo];return""===e&&0!==n?"boolean"==typeof n?n?-1:1:-n||-1:""===r&&0!==n?"boolean"==typeof n?n?1:-1:n||1:t.sortNatural(e,r)},t.sortNaturalDesc=function(e,r,s,o,a){if(e===r)return 0;var n=a.string[a.empties[s]||a.emptyTo];return""===e&&0!==n?"boolean"==typeof n?n?-1:1:n||1:""===r&&0!==n?"boolean"==typeof n?n?1:-1:-n||-1:t.sortNatural(r,e)},t.sortText=function(e,t){return e>t?1:e<t?-1:0},t.getTextValue=function(e,t,r){if(r){var s,o=e?e.length:0,a=r+t;for(s=0;s<o;s++)a+=e.charCodeAt(s);return t*a}return 0},t.sortNumericAsc=function(e,r,s,o,a,n){if(e===r)return 0;var i=n.config,c=i.string[i.empties[a]||i.emptyTo];return""===e&&0!==c?"boolean"==typeof c?c?-1:1:-c||-1:""===r&&0!==c?"boolean"==typeof c?c?1:-1:c||1:(isNaN(e)&&(e=t.getTextValue(e,s,o)),isNaN(r)&&(r=t.getTextValue(r,s,o)),e-r)},t.sortNumericDesc=function(e,r,s,o,a,n){if(e===r)return 0;var i=n.config,c=i.string[i.empties[a]||i.emptyTo];return""===e&&0!==c?"boolean"==typeof c?c?-1:1:c||1:""===r&&0!==c?"boolean"==typeof c?c?1:-1:-c||-1:(isNaN(e)&&(e=t.getTextValue(e,s,o)),isNaN(r)&&(r=t.getTextValue(r,s,o)),r-e)},t.sortNumeric=function(e,t){return e-t},t.characterEquivalents={a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõö",O:"ÓÒÔÕÖ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},t.replaceAccents=function(e){var r,s="[",o=t.characterEquivalents;if(!t.characterRegex){for(r in t.characterRegexArray={},o)"string"==typeof r&&(s+=o[r],t.characterRegexArray[r]=new RegExp("["+o[r]+"]","g"));t.characterRegex=new RegExp(s+"]")}if(t.characterRegex.test(e))for(r in o)"string"==typeof r&&(e=e.replace(t.characterRegexArray[r],r));return e},t.isValueInArray=function(e,t){var r,s=t.length;for(r=0;r<s;r++)if(t[r][0]===e)return!0;return!1},t.addParser=function(e){var r,s=t.parsers.length,o=!0;for(r=0;r<s;r++)t.parsers[r].id.toLowerCase()===e.id.toLowerCase()&&(o=!1);o&&t.parsers.push(e)},t.getParserById=function(e){var r,s=t.parsers.length;for(r=0;r<s;r++)if(t.parsers[r].id.toLowerCase()===e.toString().toLowerCase())return t.parsers[r];return!1},t.addWidget=function(e){t.widgets.push(e)},t.getWidgetById=function(e){var r,s,o=t.widgets.length;for(r=0;r<o;r++)if((s=t.widgets[r])&&s.hasOwnProperty("id")&&s.id.toLowerCase()===e.toLowerCase())return s},t.applyWidget=function(r,o){var a,n,i,c=(r=e(r)[0]).config,d=c.widgetOptions,l=[];c.debug&&(a=new Date),c.widgets.length&&(c.widgets=e.grep(c.widgets,function(t,r){return e.inArray(t,c.widgets)===r}),e.each(c.widgets||[],function(e,r){(i=t.getWidgetById(r))&&i.id&&(i.priority||(i.priority=10),l[e]=i)}),l.sort(function(e,t){return e.priority<t.priority?-1:e.priority===t.priority?0:1}),e.each(l,function(t,s){s&&(!o&&c.widgetInit[s.id]||(s.hasOwnProperty("options")&&(
2d=r.config.widgetOptions=e.extend(!0,{},s.options,d)),s.hasOwnProperty("init")&&s.init(r,s,c,d),c.widgetInit[s.id]=!0),!o&&s.hasOwnProperty("format")&&s.format(r,c,d,!1))})),c.debug&&(n=c.widgets.length,s("Completed "+(!0===o?"initializing ":"applying ")+n+" widget"+(1!==n?"s":""),a))},t.refreshWidgets=function(s,o,a){var n,i=(s=e(s)[0]).config,c=i.widgets,d=t.widgets,l=d.length;for(n=0;n<l;n++)d[n]&&d[n].id&&(o||e.inArray(d[n].id,c)<0)&&(i.debug&&r("Refeshing widgets: Removing "+d[n].id),d[n].hasOwnProperty("remove")&&i.widgetInit[d[n].id]&&(d[n].remove(s,i,i.widgetOptions),i.widgetInit[d[n].id]=!1));!0!==a&&t.applyWidget(s,o)},t.getData=function(t,r,s){var o,a,n="",i=e(t);return i.length?(o=!!e.metadata&&i.metadata(),a=" "+(i.attr("class")||""),void 0!==i.data(s)||void 0!==i.data(s.toLowerCase())?n+=i.data(s)||i.data(s.toLowerCase()):o&&void 0!==o[s]?n+=o[s]:r&&void 0!==r[s]?n+=r[s]:" "!==a&&a.match(" "+s+"-")&&(n=a.match(new RegExp("\\s"+s+"-([\\w-]+)"))[1]||""),n.trim()):""},t.formatFloat=function(e,t){return"string"!=typeof e||""===e?e:(e=(t&&t.config?!1!==t.config.usNumberFormat:void 0===t||t)?e.replace(/,/g,""):e.replace(/[\s|\.]/g,"").replace(/,/g,"."),/^\s*\([.\d]+\)/.test(e)&&(e=e.replace(/^\s*\(([.\d]+)\)/,"-$1")),r=parseFloat(e),isNaN(r)?e.trim():r);var r},t.isDigit=function(e){return!isNaN(e)||/^[\-+(]?\d+[)]?$/.test(e.toString().replace(/[,.'"\s]/g,""))}}});var t=e.tablesorter;e.fn.extend({tablesorter:t.construct}),t.addParser({id:"text",is:function(){return!0},format:function(e,r){var s=r.config;return e&&(e=s.ignoreCase?e.toLocaleLowerCase().trim():e.trim(),e=s.sortLocaleCompare?t.replaceAccents(e):e),e},type:"text"}),t.addParser({id:"digit",is:function(e){return t.isDigit(e)},format:function(r,s){var o=t.formatFloat((r||"").replace(/[^\w,. \-()]/g,""),s);return r&&"number"==typeof o?o:r?e.trim(r&&s.config.ignoreCase?r.toLocaleLowerCase():r):r},type:"numeric"}),t.addParser({id:"currency",is:function(e){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((e||"").replace(/[,. ]/g,""))},format:function(r,s){var o=t.formatFloat((r||"").replace(/[^\w,. \-()]/g,""),s);return r&&"number"==typeof o?o:r?e.trim(r&&s.config.ignoreCase?r.toLocaleLowerCase():r):r},type:"numeric"}),t.addParser({id:"ipAddress",is:function(e){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(e)},format:function(e,r){var s,o=e?e.split("."):"",a="",n=o.length;for(s=0;s<n;s++)a+=("00"+o[s]).slice(-3);return e?t.formatFloat(a,r):e},type:"numeric"}),t.addParser({id:"url",is:function(e){return/^(https?|ftp|file):\/\//.test(e)},format:function(t){return t?e.trim(t.replace(/(https?|ftp|file):\/\//,"")):t},type:"text"}),t.addParser({id:"isoDate",is:function(e){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(e)},format:function(e,r){return e?t.formatFloat(""!==e&&new Date(e.replace(/-/g,"/")).getTime()||"",r):e},type:"numeric"}),t.addParser({id:"percent",is:function(e){return/(\d\s*?%|%\s*?\d)/.test(e)&&e.length<15},format:function(e,r){return e?t.formatFloat(e.replace(/%/g,""),r):e},type:"numeric"}),t.addParser({id:"usLongDate",is:function(e){return/^[A-Z]{3,10}\.?\s+\d{1,2},?\s+(\d{4})(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?$/i.test(e)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(e)},format:function(e,r){return e?t.formatFloat(new Date(e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||"",r):e},type:"numeric"}),t.addParser({id:"shortDate",is:function(e){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((e||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(e,r,s,o){if(e){var a=r.config,n=a.headerList[o],i=n.dateFormat||t.getData(n,a.headers[o],"dateFormat")||a.dateFormat;e=e.replace(/\s+/g," ").replace(/[\-.,]/g,"/"),"mmddyyyy"===i?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):"ddmmyyyy"===i?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===i&&(e=e.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return e?t.formatFloat(new Date(e).getTime()||"",r):e},type:"numeric"}),t.addParser({id:"time",is:function(e){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(e)},format:function(e,r){return e?t.formatFloat(new Date("2000/01/01 "+e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||"",r):e},type:"numeric"}),t.addParser({id:"metadata",is:function(){return!1},format:function(t,r,s){var o=r.config,a=o.parserMetadataName?o.parserMetadataName:"sortValue";return e(s).metadata()[a]},type:"numeric"}),t.addWidget({id:"zebra",priority:90,format:function(r,s,o){var a,n,i,c,d,l,u=new RegExp(s.cssChildRow,"i"),f=s.$tbodies;for(s.debug&&(d=new Date),l=0;l<f.length;l++)(a=f.eq(l)).children("tr").length>1&&(i=0,a.children("tr:visible").not(s.selectorRemove).each(function(){n=e(this),u.test(this.className)||i++,c=i%2==0,n.removeClass(o.zebra[c?1:0]).addClass(o.zebra[c?0:1])}));s.debug&&t.benchmark("Applying Zebra widget",d)},remove:function(t,r,s){var o,a,n=r.$tbodies,i=(s.zebra||["even","odd"]).join(" ");for(o=0;o<n.length;o++)(a=e.tablesorter.processTbody(t,n.eq(o),!0)).children().removeClass(i),e.tablesorter.processTbody(t,a,!1)}})}(window.$svjq||jQuery)}}]);
3//# sourceMappingURL=tablesorter-plugins.js.map

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.