All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.datatables.net.js.jquery.dataTables.min.js Maven / Gradle / Ivy

/*! DataTables 1.10.19
 * ©2008-2018 SpryMedia Ltd - datatables.net/license
 */
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],function(b){return a(b,window,document)})}else{if(typeof exports==="object"){module.exports=function(b,c){if(!b){b=window}if(!c){c=typeof window!=="undefined"?require("jquery"):require("jquery")(b)}return a(c,b,b.document)}}else{a(jQuery,window,document)}}}(function(bE,a5,v,aG){var L=function(bS){this.$=function(bW,bV){return this.api(true).$(bW,bV)};this._=function(bW,bV){return this.api(true).rows(bW,bV).data()};this.api=function(bV){return bV?new H(ak(this[G.iApiIndex])):new H(this)};this.fnAddData=function(bX,bY){var bV=this.api(true);var bW=bE.isArray(bX)&&(bE.isArray(bX[0])||bE.isPlainObject(bX[0]))?bV.rows.add(bX):bV.row.add(bX);if(bY===aG||bY){bV.draw()}return bW.flatten().toArray()};this.fnAdjustColumnSizing=function(bY){var bX=this.api(true).columns.adjust();var bW=bX.settings()[0];var bV=bW.oScroll;if(bY===aG||bY){bX.draw(false)}else{if(bV.sX!==""||bV.sY!==""){i(bW)}}};this.fnClearTable=function(bW){var bV=this.api(true).clear();if(bW===aG||bW){bV.draw()}};this.fnClose=function(bV){this.api(true).row(bV).child.hide()};this.fnDeleteRow=function(bZ,b1,b0){var bW=this.api(true);var bY=bW.rows(bZ);var bV=bY.settings()[0];var bX=bV.aoData[bY[0][0]];bY.remove();if(b1){b1.call(this,bV,bX)}if(b0===aG||b0){bW.draw()}return bX};this.fnDestroy=function(bV){this.api(true).destroy(bV)};this.fnDraw=function(bV){this.api(true).draw(bV)};this.fnFilter=function(bZ,bW,bX,b1,b0,bV){var bY=this.api(true);if(bW===null||bW===aG){bY.search(bZ,bX,b1,bV)}else{bY.column(bW).search(bZ,bX,b1,bV)}bY.draw()};this.fnGetData=function(bY,bV){var bX=this.api(true);if(bY!==aG){var bW=bY.nodeName?bY.nodeName.toLowerCase():"";return bV!==aG||bW=="td"||bW=="th"?bX.cell(bY,bV).data():bX.row(bY).data()||null}return bX.data().toArray()};this.fnGetNodes=function(bW){var bV=this.api(true);return bW!==aG?bV.row(bW).node():bV.rows().nodes().flatten().toArray()};this.fnGetPosition=function(bX){var bW=this.api(true);var bY=bX.nodeName.toUpperCase();if(bY=="TR"){return bW.row(bX).index()}else{if(bY=="TD"||bY=="TH"){var bV=bW.cell(bX).index();return[bV.row,bV.columnVisible,bV.column]}}return null};this.fnIsOpen=function(bV){return this.api(true).row(bV).child.isShown()};this.fnOpen=function(bW,bV,bX){return this.api(true).row(bW).child(bV,bX).show().child()[0]};this.fnPageChange=function(bV,bX){var bW=this.api(true).page(bV);if(bX===aG||bX){bW.draw(false)}};this.fnSetColumnVis=function(bW,bV,bY){var bX=this.api(true).column(bW).visible(bV);if(bY===aG||bY){bX.columns.adjust().draw()}};this.fnSettings=function(){return ak(this[G.iApiIndex])};this.fnSort=function(bV){this.api(true).order(bV).draw()};this.fnSortListener=function(bW,bV,bX){this.api(true).order.listener(bW,bV,bX)};this.fnUpdate=function(bZ,bY,bV,b0,bX){var bW=this.api(true);if(bV===aG||bV===null){bW.row(bY).data(bZ)}else{bW.cell(bY,bV).data(bZ)}if(bX===aG||bX){bW.columns.adjust()}if(b0===aG||b0){bW.draw()}return 0};this.fnVersionCheck=G.fnVersionCheck;var bT=this;var bR=bS===aG;var bQ=this.length;if(bR){bS={}}this.oApi=this.internal=G.internal;for(var bU in L.ext.internal){if(bU){this[bU]=af(bU)}}this.each(function(){var cc={};var b8=bQ>1?aU(cc,bS,true):bS;var ci=0,cg,ch,ck,cf,bV;var b4=this.getAttribute("id");var b2=false;var b7=L.defaults;var b3=bE(this);if(this.nodeName.toLowerCase()!="table"){aK(null,0,"Non-table node initialisation ("+this.nodeName+")",2);return}a1(b7);V(b7.column);Y(b7,b7,true);Y(b7.column,b7.column,true);Y(b7,bE.extend(b8,b3.data()));var bZ=L.settings;for(ci=0,cg=bZ.length;ci").appendTo(b3)}b0.nTHead=cq[0];var co=b3.children("tbody");if(co.length===0){co=bE("").appendTo(b3)}b0.nTBody=co[0];var cp=b3.children("tfoot");if(cp.length===0&&cn.length>0&&(b0.oScroll.sX!==""||b0.oScroll.sY!=="")){cp=bE("").appendTo(b3)}if(cp.length===0||cp.children().length===0){b3.addClass(b5.sNoFooter)}else{if(cp.length>0){b0.nTFoot=cp[0];at(b0.aoFooter,b0.nTFoot)}}if(b8.aaData){for(ci=0;ci/g;var bz=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/;var az=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g");var bF=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi;var by=function(bQ){return !bQ||bQ===true||bQ==="-"?true:false};var D=function(bR){var bQ=parseInt(bR,10);return !isNaN(bQ)&&isFinite(bR)?bQ:null};var bC=function(bR,bQ){if(!a6[bQ]){a6[bQ]=new RegExp(j(bQ),"g")}return typeof bR==="string"&&bQ!=="."?bR.replace(/\./g,"").replace(a6[bQ],"."):bR};var ah=function(bT,bQ,bS){var bR=typeof bT==="string";if(by(bT)){return true}if(bQ&&bR){bT=bC(bT,bQ)}if(bS&&bR){bT=bT.replace(bF,"")}return !isNaN(parseFloat(bT))&&isFinite(bT)};var bL=function(bQ){return by(bQ)||typeof bQ==="string"};var g=function(bT,bQ,bS){if(by(bT)){return true}var bR=bL(bT);return !bR?null:ah(B(bT),bQ,bS)?true:null};var aq=function(bR,bV,bU){var bS=[];var bT=0,bQ=bR.length;if(bU!==aG){for(;bT").css({position:"fixed",top:0,left:bE(a5).scrollLeft()*-1,height:1,width:1,overflow:"hidden"}).append(bE("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(bE("
").css({width:"100%",height:10}))).appendTo("body");var bS=bU.children();var bQ=bS.children();bR.barWidth=bS[0].offsetWidth-bS[0].clientWidth;bR.bScrollOversize=bQ[0].offsetWidth===100&&bS[0].clientWidth!==100;bR.bScrollbarLeft=Math.round(bQ.offset().left)!==1;bR.bBounding=bU[0].getBoundingClientRect().width?true:false;bU.remove()}bE.extend(bT.oBrowser,L.__browser);bT.oScroll.iBarWidth=L.__browser.barWidth}function aS(bU,bW,bY,bQ,bS,bR){var bT=bQ,bX,bV=false;if(bY!==aG){bX=bY;bV=true}while(bT!==bS){if(!bU.hasOwnProperty(bT)){continue}bX=bV?bW(bX,bU[bT],bT,bU):bU[bT];bV=true;bT+=bR}return bX}function M(bU,bT){var bV=L.defaults.column;var bQ=bU.aoColumns.length;var bS=bE.extend({},L.models.oColumn,bV,{nTh:bT?bT:v.createElement("th"),sTitle:bV.sTitle?bV.sTitle:bT?bT.innerHTML:"",aDataSort:bV.aDataSort?bV.aDataSort:[bQ],mData:bV.mData?bV.mData:bQ,idx:bQ});bU.aoColumns.push(bS);var bR=bU.aoPreSearchCols;bR[bQ]=bE.extend({},L.models.oSearch,bR[bQ]);aZ(bU,bQ,bE(bT).data())}function aZ(bS,b1,b0){var bW=bS.aoColumns[b1];var bQ=bS.oClasses;var bR=bE(bW.nTh);if(!bW.sWidthOrig){bW.sWidthOrig=bR.attr("width")||null;var b2=(bR.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);if(b2){bW.sWidthOrig=b2[1]}}if(b0!==aG&&b0!==null){V(b0);Y(L.defaults.column,b0);if(b0.mDataProp!==aG&&!b0.mData){b0.mData=b0.mDataProp}if(b0.sType){bW._sManualType=b0.sType}if(b0.className&&!b0.sClass){b0.sClass=b0.className}if(b0.sClass){bR.addClass(b0.sClass)}bE.extend(bW,b0);P(bW,b0,"sWidth","sWidthOrig");if(b0.iDataSort!==aG){bW.aDataSort=[b0.iDataSort]}P(bW,b0,"aDataSort")}var bZ=bW.mData;var bV=al(bZ);var bY=bW.mRender?al(bW.mRender):null;var bU=function(b3){return typeof b3==="string"&&b3.indexOf("@")!==-1};bW._bAttrSrc=bE.isPlainObject(bZ)&&(bU(bZ.sort)||bU(bZ.type)||bU(bZ.filter));bW._setter=null;bW.fnGetData=function(b5,b4,b6){var b3=bV(b5,b4,aG,b6);return bY&&b4?bY(b3,b4,b5,b6):b3};bW.fnSetData=function(b3,b5,b4){return au(bZ)(b3,b5,b4)};if(typeof bZ!=="number"){bS._rowReadObject=true}if(!bS.oFeatures.bSort){bW.bSortable=false;bR.addClass(bQ.sSortableNone)}var bT=bE.inArray("asc",bW.asSorting)!==-1;var bX=bE.inArray("desc",bW.asSorting)!==-1;if(!bW.bSortable||(!bT&&!bX)){bW.sSortingClass=bQ.sSortableNone;bW.sSortingClassJUI=""}else{if(bT&&!bX){bW.sSortingClass=bQ.sSortableAsc;bW.sSortingClassJUI=bQ.sSortJUIAscAllowed}else{if(!bT&&bX){bW.sSortingClass=bQ.sSortableDesc;bW.sSortingClassJUI=bQ.sSortJUIDescAllowed}else{bW.sSortingClass=bQ.sSortable;bW.sSortingClassJUI=bQ.sSortJUI}}}}function aF(bU){if(bU.oFeatures.bAutoWidth!==false){var bT=bU.aoColumns;bt(bU);for(var bS=0,bR=bT.length;bS=0;bX--){bQ=b1[bX];var bY=bQ.targets!==aG?bQ.targets:bQ.aTargets;if(!bE.isArray(bY)){bY=[bY]}for(bW=0,b2=bY.length;bW=0){while(bU.length<=bY[bW]){M(bR)}b0(bY[bW],bQ)}else{if(typeof bY[bW]==="number"&&bY[bW]<0){b0(bU.length+bY[bW],bQ)}else{if(typeof bY[bW]==="string"){for(bV=0,bZ=bU.length;bVbT){bR[bS]--}}}if(bU!=-1&&bV===aG){bR.splice(bU,1)}}function z(bT,bR,bQ,bU){var bZ=bT.aoData[bR];var bV,bX;var bS=function(b0,b1){while(b0.childNodes.length){b0.removeChild(b0.firstChild)}b0.innerHTML=bs(bT,bR,b1,"display")};if(bQ==="dom"||((!bQ||bQ==="auto")&&bZ.src==="dom")){bZ._aData=bd(bT,bZ,bU,bU===aG?aG:bZ._aData).data}else{var bY=bZ.anCells;if(bY){if(bU!==aG){bS(bY[bU],bU)}else{for(bV=0,bX=bY.length;bV").appendTo(bV)}for(bU=0,bZ=bR.length;bUtr").attr("role","row");bE(bV).find(">tr>th, >tr>td").addClass(bS.sHeaderTH);bE(bW).find(">tr>th, >tr>td").addClass(bS.sFooterTH);if(bW!==null){var b0=bQ.aoFooter[0];for(bU=0,bZ=b0.length;bU=0;bX--){if(!bT.aoColumns[bX].bVisible&&!b5){bS[bY].splice(bX,1)}}b0.push([])}for(bY=0,bV=bS.length;bY=bS.fnRecordsDisplay()?0:b2;bS.iInitDisplayStart=-1}var bR=bS._iDisplayStart;var bT=bS.fnDisplayEnd();if(bS.bDeferLoading){bS.bDeferLoading=false;bS.iDraw++;t(bS,false)}else{if(!ca){bS.iDraw++}else{if(!bS.bDestroying&&!ad(bS)){return}}}if(bV.length!==0){var bU=ca?0:bR;var bQ=ca?bS.aoData.length:bT;for(var b8=bU;b8",{"class":b5?b0[0]:""}).append(bE("",{valign:"top",colSpan:aN(bS),"class":bS.oClasses.sRowEmpty}).html(b4))[0]}J(bS,"aoHeaderCallback","header",[bE(bS.nTHead).children("tr")[0],bG(bS),bR,bT,bV]);J(bS,"aoFooterCallback","footer",[bE(bS.nTFoot).children("tr")[0],bG(bS),bR,bT,bV]);var bX=bE(bS.nTBody);bX.children().detach();bX.append(bE(bW));J(bS,"aoDrawCallback","draw",[bS]);bS.bSorted=false;bS.bFiltered=false;bS.bDrawing=false}function ag(bU,bR){var bT=bU.oFeatures,bQ=bT.bSort,bS=bT.bFilter;if(bQ){u(bU)}if(bS){r(bU,bU.oPreviousSearch)}else{bU.aiDisplay=bU.aiDisplayMaster.slice()}if(bR!==true){bU._iDisplayStart=0}bU._drawHold=bR;a0(bU);bU._drawHold=false}function f(bU){var b7=bU.oClasses;var b4=bE(bU.nTable);var bW=bE("
").insertBefore(b4);var bV=bU.oFeatures;var bR=bE("
",{id:bU.sTableId+"_wrapper","class":b7.sWrapper+(bU.nTFoot?"":" "+b7.sNoFooter)});bU.nHolding=bW[0];bU.nTableWrapper=bR[0];bU.nTableReinsertBefore=bU.nTable.nextSibling;var bX=bU.sDom.split("");var b2,bY,bT,b8,b6,b0;for(var b3=0;b3")[0];b8=bX[b3+1];if(b8=="'"||b8=='"'){b6="";b0=2;while(bX[b3+b0]!=b8){b6+=bX[b3+b0];b0++}if(b6=="H"){b6=b7.sJUIHeader}else{if(b6=="F"){b6=b7.sJUIFooter}}if(b6.indexOf(".")!=-1){var b1=b6.split(".");bT.id=b1[0].substr(1,b1[0].length-1);bT.className=b1[1]}else{if(b6.charAt(0)=="#"){bT.id=b6.substr(1,b6.length-1)}else{bT.className=b6}}b3+=b0}bR.append(bT);bR=bE(bT)}else{if(bY==">"){bR=bR.parent()}else{if(bY=="l"&&bV.bPaginate&&bV.bLengthChange){b2=aO(bU)}else{if(bY=="f"&&bV.bFilter){b2=n(bU)}else{if(bY=="r"&&bV.bProcessing){b2=bx(bU)}else{if(bY=="t"){b2=bw(bU)}else{if(bY=="i"&&bV.bInfo){b2=d(bU)}else{if(bY=="p"&&bV.bPaginate){b2=aw(bU)}else{if(L.ext.feature.length!==0){var b5=L.ext.feature;for(var bZ=0,bQ=b5.length;bZ';var b0=bW.sSearch;b0=b0.match(/_INPUT_/)?b0.replace("_INPUT_",b1):b0+b1;var bQ=bE("
",{id:!bR.f?bS+"_filter":null,"class":bU.sFilter}).append(bE("
").addClass(bW.sLength);if(!bV.aanFeatures.l){bR[0].id=bT+"_length"}bR.children().append(bV.oLanguage.sLengthMenu.replace("_MENU_",bZ[0].outerHTML));bE("select",bR).val(bV._iDisplayLength).on("change.DT",function(b1){aQ(bV,bE(this).val());a0(bV)});bE(bV.nTable).on("length.dt.DT",function(b3,b2,b1){if(bV===b2){bE("select",bR).val(b1)}});return bR[0]}function aw(bT){var bS=bT.sPaginationType,bV=L.ext.pager[bS],bR=typeof bV==="function",bW=function(bX){a0(bX)},bU=bE("
").addClass(bT.oClasses.sPaging+bS)[0],bQ=bT.aanFeatures;if(!bR){bV.fnInit(bT,bU,bW)}if(!bQ.p){bU.id=bT.sTableId+"_paginate";bT.aoDrawCallback.push({fn:function(b0){if(bR){var bX=b0._iDisplayStart,b2=b0._iDisplayLength,bY=b0.fnRecordsDisplay(),b5=b2===-1,b3=b5?0:Math.ceil(bX/b2),bZ=b5?1:Math.ceil(bY/b2),b4=bV(b3,bZ),b1,b6;for(b1=0,b6=bQ.p.length;b1bR){bV=0}}else{if(bT=="first"){bV=0}else{if(bT=="previous"){bV=bQ>=0?bV-bQ:0;if(bV<0){bV=0}}else{if(bT=="next"){if(bV+bQ",{id:!bQ.aanFeatures.r?bQ.sTableId+"_processing":null,"class":bQ.oClasses.sProcessing}).html(bQ.oLanguage.sProcessing).insertBefore(bQ.nTable)[0]}function t(bR,bQ){if(bR.oFeatures.bProcessing){bE(bR.aanFeatures.r).css("display",bQ?"block":"none")}J(bR,null,"processing",[bR,bQ])}function bw(b4){var b3=bE(b4.nTable);b3.attr("role","grid");var bQ=b4.oScroll;if(bQ.sX===""&&bQ.sY===""){return b4.nTable}var bY=bQ.sX;var bX=bQ.sY;var b5=b4.oClasses;var b2=b3.children("caption");var bR=b2.length?b2[0]._captionSide:null;var bU=bE(b3[0].cloneNode(false));var b7=bE(b3[0].cloneNode(false));var bW=b3.children("tfoot");var bZ="
";var bV=function(b8){return !b8?null:bJ(b8)};if(!bW.length){bW=null}var b1=bE(bZ,{"class":b5.sScrollWrapper}).append(bE(bZ,{"class":b5.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:bY?bV(bY):"100%"}).append(bE(bZ,{"class":b5.sScrollHeadInner}).css({"box-sizing":"content-box",width:bQ.sXInner||"100%"}).append(bU.removeAttr("id").css("margin-left",0).append(bR==="top"?b2:null).append(b3.children("thead"))))).append(bE(bZ,{"class":b5.sScrollBody}).css({position:"relative",overflow:"auto",width:bV(bY)}).append(b3));if(bW){b1.append(bE(bZ,{"class":b5.sScrollFoot}).css({overflow:"hidden",border:0,width:bY?bV(bY):"100%"}).append(bE(bZ,{"class":b5.sScrollFootInner}).append(b7.removeAttr("id").css("margin-left",0).append(bR==="bottom"?b2:null).append(b3.children("tfoot")))))}var bS=b1.children();var b0=bS[0];var b6=bS[1];var bT=bW?bS[2]:null;if(bY){bE(b6).on("scroll.DT",function(b8){var b9=this.scrollLeft;b0.scrollLeft=b9;if(bW){bT.scrollLeft=b9}})}bE(b6).css(bX&&bQ.bCollapse?"max-height":"height",bX);b4.nScrollHead=b0;b4.nScrollBody=b6;b4.nScrollFoot=bT;b4.aoDrawCallback.push({fn:i,sName:"scrolling"});return b1[0]}function i(cr){var cn=cr.oScroll,bV=cn.sX,ch=cn.sXInner,bS=cn.sY,cf=cn.iBarWidth,ck=bE(cr.nScrollHead),b8=ck[0].style,bU=ck.children("div"),bR=bU[0].style,cu=bU.children("table"),b1=cr.nScrollBody,cd=bE(b1),b7=b1.style,co=bE(cr.nScrollFoot),cc=co.children("div"),b9=cc.children("table"),bZ=bE(cr.nTHead),cb=bE(cr.nTable),ce=cb[0],bX=ce.style,b6=cr.nTFoot?bE(cr.nTFoot):null,bY=cr.oBrowser,b3=bY.bScrollOversize,ca=aq(cr.aoColumns,"nTh"),bT,bW,cq,cs,b4,b2,cj=[],cl=[],cg=[],cv=[],ct,b0,cw,b5=function(cx){var cy=cx.style;cy.paddingTop="0";cy.paddingBottom="0";cy.borderTopWidth="0";cy.borderBottomWidth="0";cy.height=0};var cm=b1.scrollHeight>b1.clientHeight;if(cr.scrollBarVis!==cm&&cr.scrollBarVis!==aG){cr.scrollBarVis=cm;aF(cr);return}else{cr.scrollBarVis=cm}cb.children("thead, tfoot").remove();if(b6){b2=b6.clone().prependTo(cb);bW=b6.find("tr");cs=b2.find("tr")}b4=bZ.clone().prependTo(cb);bT=bZ.find("tr");cq=b4.find("tr");b4.find("th, td").removeAttr("tabindex");if(!bV){b7.width="100%";ck[0].style.width="100%"}bE.each(bf(cr,b4),function(cx,cy){ct=o(cr,cx);cy.style.width=cr.aoColumns[ct].sWidth});if(b6){a7(function(cx){cx.style.width=""},cs)}cw=cb.outerWidth();if(bV===""){bX.width="100%";if(b3&&(cb.find("tbody").height()>b1.offsetHeight||cd.css("overflow-y")=="scroll")){bX.width=bJ(cb.outerWidth()-cf)}cw=cb.outerWidth()}else{if(ch!==""){bX.width=bJ(ch);cw=cb.outerWidth()}}a7(b5,cq);a7(function(cx){cg.push(cx.innerHTML);cj.push(bJ(bE(cx).css("width")))},cq);a7(function(cy,cx){if(bE.inArray(cy,ca)!==-1){cy.style.width=cj[cx]}},bT);bE(cq).height(0);if(b6){a7(b5,cs);a7(function(cx){cv.push(cx.innerHTML);cl.push(bJ(bE(cx).css("width")))},cs);a7(function(cy,cx){cy.style.width=cl[cx]},bW);bE(cs).height(0)}a7(function(cy,cx){cy.innerHTML='
'+cg[cx]+"
";cy.childNodes[0].style.height="0";cy.childNodes[0].style.overflow="hidden";cy.style.width=cj[cx]},cq);if(b6){a7(function(cy,cx){cy.innerHTML='
'+cv[cx]+"
";cy.childNodes[0].style.height="0";cy.childNodes[0].style.overflow="hidden";cy.style.width=cl[cx]},cs)}if(cb.outerWidth()b1.offsetHeight||cd.css("overflow-y")=="scroll"))?cw+cf:cw;if(b3&&(b1.scrollHeight>b1.offsetHeight||cd.css("overflow-y")=="scroll")){bX.width=bJ(b0-cf)}if(bV===""||ch!==""){aK(cr,1,"Possible column misalignment",6)}}else{b0="100%"}b7.width=bJ(b0);b8.width=bJ(b0);if(b6){cr.nScrollFoot.style.width=bJ(b0)}if(!bS){if(b3){b7.height=bJ(ce.offsetHeight+cf)}}var bQ=cb.outerWidth();cu[0].style.width=bJ(bQ);bR.width=bJ(bQ);var ci=cb.height()>b1.clientHeight||cd.css("overflow-y")=="scroll";var cp="padding"+(bY.bScrollbarLeft?"Left":"Right");bR[cp]=ci?cf+"px":"0px";if(b6){b9[0].style.width=bJ(bQ);cc[0].style.width=bJ(bQ);cc[0].style[cp]=ci?cf+"px":"0px"}cb.children("colgroup").insertBefore(cb.children("thead"));cd.scroll();if((cr.bSorted||cr.bFiltered)&&!cr._drawHold){b1.scrollTop=0}}function a7(bV,bS,bR){var bT=0,bU=0,bQ=bS.length;var bX,bW;while(bU/g;function bt(bY){var cb=bY.nTable,bU=bY.aoColumns,bS=bY.oScroll,b6=bS.sY,b8=bS.sX,bX=bS.sXInner,cg=bU.length,cd=m(bY,"bVisible"),cc=bE("th",bY.nTHead),b3=cb.getAttribute("width"),b0=cb.parentNode,ce=false,ca,bV,ci,b5,bQ,ch=bY.oBrowser,b9=ch.bScrollOversize;var b2=cb.style.width;if(b2&&b2.indexOf("%")!==-1){b3=b2}for(ca=0;ca").appendTo(bZ.find("tbody"));bZ.find("thead, tfoot").remove();bZ.append(bE(bY.nTHead).clone()).append(bE(bY.nTFoot).clone());bZ.find("tfoot th, tfoot td").css("width","");cc=bf(bY,bZ.find("thead")[0]);for(ca=0;ca").css({width:bV.sWidthOrig,margin:0,padding:0,border:0,height:1}))}}if(bY.aoData.length){for(ca=0;ca").css(b8||b6?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(bZ).appendTo(b0);if(b8&&bX){bZ.width(bX)}else{if(b8){bZ.css("width","auto");bZ.removeAttr("width");if(bZ.width()").css("width",bJ(bR)).appendTo(bQ||v.body);var bS=bT[0].offsetWidth;bT.remove();return bS}function aH(bR,bT){var bQ=Z(bR,bT);if(bQ<0){return null}var bS=bR.aoData[bQ];return !bS.nTr?bE("").html(bs(bR,bQ,bT,"display"))[0]:bS.anCells[bT]}function Z(bV,bW){var bU,bQ=-1,bS=-1;for(var bT=0,bR=bV.aoData.length;bTbQ){bQ=bU.length;bS=bT}}return bS}function bJ(bQ){if(bQ===null){return"0px"}if(typeof bQ=="number"){return bQ<0?"0px":bQ+"px"}return bQ.match(/\d$/)?bQ+"px":bQ}function aE(bT){var bY,bS,bV,bZ,bW=[],b1=[],b3=bT.aoColumns,bX,b2,bQ,b0,bU=bT.aaSortingFixed,b5=bE.isPlainObject(bU),bR=[],b4=function(b6){if(b6.length&&!bE.isArray(b6[0])){bR.push(b6)}else{bE.merge(bR,b6)}};if(bE.isArray(bU)){b4(bU)}if(b5&&bU.pre){b4(bU.pre)}b4(bT.aaSorting);if(b5&&bU.post){b4(bU.post)}for(bY=0;bYcj?1:0;if(ci!==0){return ce.dir==="asc"?ci:-ci}}cm=cc[cl];cj=cc[ck];return cmcj?1:0})}else{bS.sort(function(cn,cm){var co,cl,ce,cd,cj,cf,ck,cg=ca.length,ci=b1[cn]._aSortData,ch=b1[cm]._aSortData;for(ce=0;cecl?1:0})}}bV.bSorted=true}function bb(bU){var b0;var bZ;var bV=bU.aoColumns;var bW=aE(bU);var bX=bU.oLanguage.oAria;for(var bY=0,bS=bV.length;bY/g,"");var bQ=bR.nTh;bQ.removeAttribute("aria-sort");if(bR.bSortable){if(bW.length>0&&bW[0].col==bY){bQ.setAttribute("aria-sort",bW[0].dir=="asc"?"ascending":"descending");bZ=bT[bW[0].index+1]||bT[0]}else{bZ=bT[0]}b0=b1+(bZ==="asc"?bX.sSortAscending:bX.sSortDescending)}else{b0=b1}bQ.setAttribute("aria-label",b0)}}function bh(bT,bV,bQ,bZ){var bR=bT.aoColumns[bV];var bX=bT.aaSorting;var bU=bR.asSorting;var bY;var bW=function(b1,b2){var b0=b1._idx;if(b0===aG){b0=bE.inArray(b1[1],bU)}return b0+10&&b0.time<+new Date()-(b1*1000)){bX();return}if(b0.columns&&bT.length!==b0.columns.length){bX();return}bV.oLoadedState=bE.extend(true,{},b0);if(b0.start!==aG){bV._iDisplayStart=b0.start;bV.iInitDisplayStart=b0.start}if(b0.length!==aG){bV._iDisplayLength=b0.length}if(b0.order!==aG){bV.aaSorting=[];bE.each(b0.order,function(b3,b2){bV.aaSorting.push(b2[0]>=bT.length?[0,b2[1]]:b2)})}if(b0.search!==aG){bE.extend(bV.oPreviousSearch,aB(b0.search))}if(b0.columns){for(bU=0,bQ=b0.columns.length;bU=bR){bT=bR-bQ}bT-=(bT%bQ);if(bQ===-1||bT<0){bT=0}bS._iDisplayStart=bT}function Q(bR,bQ){var bT=bR.renderer;var bS=L.ext.renderer[bQ];if(bE.isPlainObject(bT)&&bT[bQ]){return bS[bT[bQ]]||bS._}else{if(typeof bT==="string"){return bS[bT]||bS._}}return bS._}function w(bQ){if(bQ.oFeatures.bServerSide){return"ssp"}else{if(bQ.ajax||bQ.sAjaxSource){return"ajax"}}return"dom"}var S=[];var l=Array.prototype;var bO=function(bS){var bQ,bU;var bT=L.settings;var bR=bE.map(bT,function(bW,bV){return bW.nTable});if(!bS){return[]}else{if(bS.nTable&&bS.oApi){return[bS]}else{if(bS.nodeName&&bS.nodeName.toLowerCase()==="table"){bQ=bE.inArray(bS,bR);return bQ!==-1?[bT[bQ]]:null}else{if(bS&&typeof bS.settings==="function"){return bS.settings().toArray()}else{if(typeof bS==="string"){bU=bE(bS)}else{if(bS instanceof bE){bU=bS}}}}}}if(bU){return bU.map(function(bV){bQ=bE.inArray(this,bR);return bQ!==-1?bT[bQ]:null}).toArray()}};H=function(bS,bU){if(!(this instanceof H)){return new H(bS,bU)}var bT=[];var bV=function(bX){var bW=bO(bX);if(bW){bT=bT.concat(bW)}};if(bE.isArray(bS)){for(var bR=0,bQ=bS.length;bRbQ?new H(bR[bQ],this[bQ]):null},filter:function(bT){var bR=[];if(l.filter){bR=l.filter.call(this,bT,this)}else{for(var bS=0,bQ=this.length;bS0){return bQ[0].json}});bi("ajax.params()",function(){var bQ=this.context;if(bQ.length>0){return bQ[0].oAjaxData}});bi("ajax.reload()",function(bR,bQ){return this.iterator("table",function(bS){F(bS,bQ===false,bR)})});bi("ajax.url()",function(bR){var bQ=this.context;if(bR===aG){if(bQ.length===0){return aG}bQ=bQ[0];return bQ.ajax?bE.isPlainObject(bQ.ajax)?bQ.ajax.url:bQ.ajax:bQ.sAjaxSource}return this.iterator("table",function(bS){if(bE.isPlainObject(bS.ajax)){bS.ajax.url=bR}else{bS.ajax=bR}})});bi("ajax.url().load()",function(bR,bQ){return this.iterator("table",function(bS){F(bS,bQ===false,bR)})});var am=function(bZ,bU,b0,bT,bQ){var bW=[],bY,b1,bX,b3,bV,bR,b2=typeof bU;if(!bU||b2==="string"||b2==="function"||bU.length===aG){bU=[bU]}for(bX=0,b3=bU.length;bX0){bS[0]=bS[bR];bS[0].length=1;bS.length=1;bS.context=[bS.context[bR]];return bS}}bS.length=0;return bS};var aM=function(bS,bQ){var bT,bZ,bU,bX=[],bY=bS.aiDisplay,bV=bS.aiDisplayMaster;var b1=bQ.search,bR=bQ.order,bW=bQ.page;if(w(bS)=="ssp"){return b1==="removed"?[]:be(0,bV.length)}else{if(bW=="current"){for(bT=bS._iDisplayStart,bZ=bS.fnDisplayEnd();bT=0&&b1=="applied")){bX.push(bT)}}}}}}}return bX};var C=function(bR,bQ,bS){var bT;var bU=function(bY){var b1=D(bY);var bZ,b3;var b2=bR.aoData;if(b1!==null&&!bS){return[b1]}if(!bT){bT=aM(bR,bS)}if(b1!==null&&bE.inArray(b1,bT)!==-1){return[b1]}else{if(bY===null||bY===aG||bY===""){return bT}}if(typeof bY==="function"){return bE.map(bT,function(b5){var b6=b2[b5];return bY(b5,b6._aData,b6.nTr)?b5:null})}if(bY.nodeName){var bX=bY._DT_RowIndex;var bV=bY._DT_CellIndex;if(bX!==aG){return b2[bX]&&b2[bX].nTr===bY?[bX]:[]}else{if(bV){return b2[bV.row]&&b2[bV.row].nTr===bY?[bV.row]:[]}else{var b4=bE(bY).closest("*[data-dt-row]");return b4.length?[b4.data("dt-row")]:[]}}}if(typeof bY==="string"&&bY.charAt(0)==="#"){var b0=bR.aIds[bY.replace(/^#/,"")];if(b0!==aG){return[b0.idx]}}var bW=ab(q(bR.aoData,bT,"nTr"));return bE(bW).filter(bY).map(function(){return this._DT_RowIndex}).toArray()};return am("row",bQ,bU,bR,bS)};bi("rows()",function(bQ,bR){if(bQ===aG){bQ=""}else{if(bE.isPlainObject(bQ)){bR=bQ;bQ=""}}bR=bD(bR);var bS=this.iterator("table",function(bT){return C(bT,bQ,bR)},1);bS.selector.rows=bQ;bS.selector.opts=bR;return bS});bi("rows().nodes()",function(){return this.iterator("row",function(bQ,bR){return bQ.aoData[bR].nTr||aG},1)});bi("rows().data()",function(){return this.iterator(true,"rows",function(bQ,bR){return q(bQ.aoData,bR,"_aData")},1)});ax("rows().cache()","row().cache()",function(bQ){return this.iterator("row",function(bR,bT){var bS=bR.aoData[bT];return bQ==="search"?bS._aFilterData:bS._aSortData},1)});ax("rows().invalidate()","row().invalidate()",function(bQ){return this.iterator("row",function(bR,bS){z(bR,bS,bQ)})});ax("rows().indexes()","row().index()",function(){return this.iterator("row",function(bQ,bR){return bR},1)});ax("rows().ids()","row().id()",function(bW){var bR=[];var bU=this.context;for(var bT=0,bQ=bU.length;bT0){bW._iRecordsDisplay--}bj(bW);var bT=bW.rowIdFn(bV._aData);if(bT!==aG){delete bW.aIds[bT]}});this.iterator("table",function(bT){for(var bS=0,bR=bT.aoData.length;bS").addClass(bX);bE("td",b0).addClass(bX).html(bZ)[0].colSpan=aN(bS);bT.push(b0[0])}};bR(bU,bQ);if(bV._details){bV._details.detach()}bV._details=bE(bT);if(bV._detailsShow){bV._details.insertAfter(bV.nTr)}};var y=function(bS,bQ){var bR=bS.context;if(bR.length){var bT=bR[0].aoData[bQ!==aG?bQ:bS[0]];if(bT&&bT._details){bT._details.remove();bT._detailsShow=aG;bT._details=aG}}};var a9=function(bS,bR){var bQ=bS.context;if(bQ.length&&bS.length){var bT=bQ[0].aoData[bS[0]];if(bT._details){bT._detailsShow=bR;if(bR){bT._details.insertAfter(bT.nTr)}else{bT._details.detach()}bu(bQ[0])}}};var bu=function(bV){var bU=new H(bV);var bT=".dt.DT_details";var bS="draw"+bT;var bQ="column-visibility"+bT;var bR="destroy"+bT;var bW=bV.aoData;bU.off(bS+" "+bQ+" "+bR);if(aq(bW,"_details").length>0){bU.on(bS,function(bY,bX){if(bV!==bX){return}bU.rows({page:"current"}).eq(0).each(function(bZ){var b0=bW[bZ];if(b0._detailsShow){b0._details.insertAfter(b0.nTr)}})});bU.on(bQ,function(b2,bZ,bX,b1){if(bV!==bZ){return}var b4,b3=aN(bZ);for(var b0=0,bY=bW.length;b0=0?bZ:bS.length+bZ]}if(typeof b2==="function"){var b4=aM(bT,bU);return bE.map(bS,function(b6,b5){return b2(b5,aW(bT,b5,0,0,b4),bR[b5])?b5:null})}var b0=typeof b2==="string"?b2.match(a8):"";if(b0){switch(b0[2]){case"visIdx":case"visible":var bX=parseInt(b0[1],10);if(bX<0){var b1=bE.map(bS,function(b5,b6){return b5.bVisible?b6:null});return[b1[b1.length+bX]]}return[o(bT,bX)];case"name":return bE.map(bW,function(b5,b6){return b5===b0[1]?b6:null});default:return[]}}if(b2.nodeName&&b2._DT_CellIndex){return[b2._DT_CellIndex.column]}var bY=bE(bR).filter(b2).map(function(){return bE.inArray(this,bR)}).toArray();if(bY.length||!b2.nodeName){return bY}var b3=bE(b2).closest("*[data-dt-column]");return b3.length?[b3.data("dt-column")]:[]};return am("column",bQ,bV,bT,bU)};var K=function(bS,bT,bQ){var bY=bS.aoColumns,bR=bY[bT],bV=bS.aoData,b1,b0,bU,bZ,bX;if(bQ===aG){return bR.bVisible}if(bR.bVisible===bQ){return}if(bQ){var bW=bE.inArray(true,aq(bY,"bVisible"),bT+1);for(bU=0,bZ=bV.length;bUbV}return true};L.isDataTable=L.fnIsDataTable=function(bS){var bQ=bE(bS).get(0);var bR=false;if(bS instanceof L.Api){return true}bE.each(L.settings,function(bV,bW){var bU=bW.nScrollHead?bE("table",bW.nScrollHead)[0]:null;var bT=bW.nScrollFoot?bE("table",bW.nScrollFoot)[0]:null;if(bW.nTable===bQ||bU===bQ||bT===bQ){bR=true}});return bR};L.tables=L.fnTables=function(bS){var bR=false;if(bE.isPlainObject(bS)){bR=bS.api;bS=bS.visible}var bQ=bE.map(L.settings,function(bT){if(!bS||(bS&&bE(bT.nTable).is(":visible"))){return bT.nTable}});return bR?new H(bQ):bQ};L.camelToHungarian=Y;bi("$()",function(bQ,bS){var bT=this.rows(bS).nodes(),bR=bE(bT);return bE([].concat(bR.filter(bQ).toArray(),bR.find(bQ).toArray()))});bE.each(["on","one","off"],function(bR,bQ){bi(bQ+"()",function(){var bS=Array.prototype.slice.call(arguments);bS[0]=bE.map(bS[0].split(/\s/),function(bU){return !bU.match(/\.dt\b/)?bU+".dt":bU}).join(" ");var bT=bE(this.tables().nodes());bT[bQ].apply(bT,bS);return this})});bi("clear()",function(){return this.iterator("table",function(bQ){bg(bQ)})});bi("settings()",function(){return new H(this.context,this.context)});bi("init()",function(){var bQ=this.context;return bQ.length?bQ[0].oInit:null});bi("data()",function(){return this.iterator("table",function(bQ){return aq(bQ.aoData,"_aData")}).flatten()});bi("destroy()",function(bQ){bQ=bQ||false;return this.iterator("table",function(bR){var b1=bR.nTableWrapper.parentNode;var bS=bR.oClasses;var b3=bR.nTable;var bW=bR.nTBody;var bY=bR.nTHead;var bZ=bR.nTFoot;var b4=bE(b3);var bV=bE(bW);var bX=bE(bR.nTableWrapper);var b5=bE.map(bR.aoData,function(b6){return b6.nTr});var bU,b2;bR.bDestroying=true;J(bR,"aoDestroyCallback","destroy",[bR]);if(!bQ){new H(bR).columns().visible(true)}bX.off(".DT").find(":not(tbody *)").off(".DT");bE(a5).off(".DT-"+bR.sInstance);if(b3!=bY.parentNode){b4.children("thead").detach();b4.append(bY)}if(bZ&&b3!=bZ.parentNode){b4.children("tfoot").detach();b4.append(bZ)}bR.aaSorting=[];bR.aaSortingFixed=[];ac(bR);bE(b5).removeClass(bR.asStripeClasses.join(" "));bE("th, td",bY).removeClass(bS.sSortable+" "+bS.sSortableAsc+" "+bS.sSortableDesc+" "+bS.sSortableNone);bV.children().detach();bV.append(b5);var bT=bQ?"remove":"detach";b4[bT]();bX[bT]();if(!bQ&&b1){b1.insertBefore(b3,bR.nTableReinsertBefore);b4.css("width",bR.sDestroyWidth).removeClass(bS.sTable);b2=bR.asDestroyStripes.length;if(b2){bV.children().each(function(b6){bE(this).addClass(bR.asDestroyStripes[b6%b2])})}}var b0=bE.inArray(bR,L.settings);if(b0!==-1){L.settings.splice(b0,1)}})});bE.each(["column","row","cell"],function(bQ,bR){bi(bR+"s().every()",function(bT){var bU=this.selector.opts;var bS=this;return this.iterator(bR,function(bZ,bY,bX,bW,bV){bT.call(bS[bR](bY,bR==="cell"?bX:bU,bR==="cell"?bU:aG),bY,bX,bW,bV)})})});bi("i18n()",function(bT,bU,bS){var bR=this.context[0];var bQ=al(bT)(bR.oLanguage);if(bQ===aG){bQ=bU}if(bS!==aG&&bE.isPlainObject(bQ)){bQ=bQ[bS]!==aG?bQ[bS]:bQ._}return bQ.replace("%d",bS)});L.version="1.10.19";L.settings=[];L.models={};L.models.oSearch={bCaseInsensitive:true,sSearch:"",bRegex:false,bSmart:true};L.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1};L.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:false,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};L.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:true,bDeferRender:false,bDestroy:false,bFilter:true,bInfo:true,bLengthChange:true,bPaginate:true,bProcessing:false,bRetrieve:false,bScrollCollapse:false,bServerSide:false,bSort:true,bSortMulti:true,bSortCellsTop:false,bSortClasses:true,bStateSave:false,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(bQ){return bQ.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(bQ){try{return JSON.parse((bQ.iStateDuration===-1?sessionStorage:localStorage).getItem("DataTables_"+bQ.sInstance+"_"+location.pathname))}catch(bR){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(bQ,bR){try{(bQ.iStateDuration===-1?sessionStorage:localStorage).setItem("DataTables_"+bQ.sInstance+"_"+location.pathname,JSON.stringify(bR))}catch(bS){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:bE.extend({},L.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"};R(L.defaults);L.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:true,bSortable:true,bVisible:true,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};R(L.defaults.column);L.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:false,bScrollbarLeft:false,bBounding:false,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:false,bInitialised:false,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:true,jqXHR:null,json:aG,oAjaxData:aG,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:false,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:false,bSorted:false,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return w(this)=="ssp"?this._iRecordsTotal*1:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return w(this)=="ssp"?this._iRecordsDisplay*1:this.aiDisplay.length},fnDisplayEnd:function(){var bQ=this._iDisplayLength,bV=this._iDisplayStart,bS=bV+bQ,bR=this.aiDisplay.length,bT=this.oFeatures,bU=bT.bPaginate;if(bT.bServerSide){return bU===false||bQ===-1?bV+bR:Math.min(bV+bQ,this._iRecordsDisplay)}else{return !bU||bS>bR||bQ===-1?bR:bS}},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null};L.ext=G={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:L.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:L.version};bE.extend(G,{afnFiltering:G.search,aTypes:G.type.detect,ofnSearch:G.type.search,oSort:G.type.order,afnSortData:G.order,aoFeatures:G.feature,oApi:G.internal,oStdClasses:G.classes,oPagination:G.pager});bE.extend(L.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var bH=L.ext.pager;function bl(bV,bQ){var bR=[],bT=bH.numbers_length,bU=Math.floor(bT/2),bS=1;if(bQ<=bT){bR=be(0,bQ)}else{if(bV<=bU){bR=be(0,bT-2);bR.push("ellipsis");bR.push(bQ-1)}else{if(bV>=bQ-1-bU){bR=be(bQ-(bT-2),bQ);bR.splice(0,0,"ellipsis");bR.splice(0,0,0)}else{bR=be(bV-bU+2,bV+bU-1);bR.push("ellipsis");bR.push(bQ-1);bR.splice(0,0,"ellipsis");bR.splice(0,0,0)}}}bR.DT_el="span";return bR}bE.extend(bH,{simple:function(bR,bQ){return["previous","next"]},full:function(bR,bQ){return["first","previous","next","last"]},numbers:function(bR,bQ){return[bl(bR,bQ)]},simple_numbers:function(bR,bQ){return["previous",bl(bR,bQ),"next"]},full_numbers:function(bR,bQ){return["first","previous",bl(bR,bQ),"next","last"]},first_last_numbers:function(bR,bQ){return["first",bl(bR,bQ),"last"]},_numbers:bl,numbers_length:7});bE.extend(true,L.ext.renderer,{pageButton:{_:function(bW,b4,b3,b1,b0,bU){var bX=bW.oClasses;var bT=bW.oLanguage.oPaginate;var b2=bW.oLanguage.oAria.paginate||{};var bS,bR,bQ=0;var bY=function(b6,cb){var b9,b5,ca,b8;var cc=function(cd){aC(bW,cd.data.action,true)};for(b9=0,b5=cb.length;b9").appendTo(b6);bY(b7,b8)}else{bS=null;bR="";switch(b8){case"ellipsis":b6.append('');break;case"first":bS=bT.sFirst;bR=b8+(b0>0?"":" "+bX.sPageButtonDisabled);break;case"previous":bS=bT.sPrevious;bR=b8+(b0>0?"":" "+bX.sPageButtonDisabled);break;case"next":bS=bT.sNext;bR=b8+(b0",{"class":bX.sPageButton+" "+bR,"aria-controls":bW.sTableId,"aria-label":b2[b8],"data-dt-idx":bQ,tabindex:bW.iTabIndex,id:b3===0&&typeof b8==="string"?bW.sTableId+"_"+b8:null}).html(bS).appendTo(b6);ba(ca,{action:b8},cc);bQ++}}}};var bV;try{bV=bE(b4).find(v.activeElement).data("dt-idx")}catch(bZ){}bY(bE(b4).empty(),b1);if(bV!==aG){bE(b4).find("[data-dt-idx="+bV+"]").focus()}}}});bE.extend(L.ext.type.detect,[function(bS,bR){var bQ=bR.oLanguage.sDecimal;return ah(bS,bQ)?"num"+bQ:null},function(bS,bR){if(bS&&!(bS instanceof Date)&&!bz.test(bS)){return null}var bQ=Date.parse(bS);return(bQ!==null&&!isNaN(bQ))||by(bS)?"date":null},function(bS,bR){var bQ=bR.oLanguage.sDecimal;return ah(bS,bQ,true)?"num-fmt"+bQ:null},function(bS,bR){var bQ=bR.oLanguage.sDecimal;return g(bS,bQ)?"html-num"+bQ:null},function(bS,bR){var bQ=bR.oLanguage.sDecimal;return g(bS,bQ,true)?"html-num-fmt"+bQ:null},function(bR,bQ){return by(bR)||(typeof bR==="string"&&bR.indexOf("<")!==-1)?"html":null}]);bE.extend(L.ext.type.search,{html:function(bQ){return by(bQ)?bQ:typeof bQ==="string"?bQ.replace(U," ").replace(aR,""):""},string:function(bQ){return by(bQ)?bQ:typeof bQ==="string"?bQ.replace(U," "):bQ}});var O=function(bT,bQ,bS,bR){if(bT!==0&&(!bT||bT==="-")){return -Infinity}if(bQ){bT=bC(bT,bQ)}if(bT.replace){if(bS){bT=bT.replace(bS,"")}if(bR){bT=bT.replace(bR,"")}}return bT*1};function bp(bQ){bE.each({num:function(bR){return O(bR,bQ)},"num-fmt":function(bR){return O(bR,bQ,bF)},"html-num":function(bR){return O(bR,bQ,aR)},"html-num-fmt":function(bR){return O(bR,bQ,aR,bF)}},function(bR,bS){G.type.order[bR+bQ+"-pre"]=bS;if(bR.match(/^html\-/)){G.type.search[bR+bQ]=G.type.search.html}})}bE.extend(G.type.order,{"date-pre":function(bR){var bQ=Date.parse(bR);return isNaN(bQ)?-Infinity:bQ},"html-pre":function(bQ){return by(bQ)?"":bQ.replace?bQ.replace(/<.*?>/g,"").toLowerCase():bQ+""},"string-pre":function(bQ){return by(bQ)?"":typeof bQ==="string"?bQ.toLowerCase():!bQ.toString?"":bQ.toString()},"string-asc":function(bQ,bR){return((bQbR)?1:0))},"string-desc":function(bQ,bR){return((bQbR)?-1:0))}});bp("");bE.extend(true,L.ext.renderer,{header:{_:function(bT,bQ,bS,bR){bE(bT.nTable).on("order.dt.DT",function(bX,bU,bW,bV){if(bT!==bU){return}var bY=bS.idx;bQ.removeClass(bS.sSortingClass+" "+bR.sSortAsc+" "+bR.sSortDesc).addClass(bV[bY]=="asc"?bR.sSortAsc:bV[bY]=="desc"?bR.sSortDesc:bS.sSortingClass)})},jqueryui:function(bT,bQ,bS,bR){bE("
").addClass(bR.sSortJUIWrapper).append(bQ.contents()).append(bE("").addClass(bR.sSortIcon+" "+bS.sSortingClassJUI)).appendTo(bQ);bE(bT.nTable).on("order.dt.DT",function(bX,bU,bW,bV){if(bT!==bU){return}var bY=bS.idx;bQ.removeClass(bR.sSortAsc+" "+bR.sSortDesc).addClass(bV[bY]=="asc"?bR.sSortAsc:bV[bY]=="desc"?bR.sSortDesc:bS.sSortingClass);bQ.find("span."+bR.sSortIcon).removeClass(bR.sSortJUIAsc+" "+bR.sSortJUIDesc+" "+bR.sSortJUI+" "+bR.sSortJUIAscAllowed+" "+bR.sSortJUIDescAllowed).addClass(bV[bY]=="asc"?bR.sSortJUIAsc:bV[bY]=="desc"?bR.sSortJUIDesc:bS.sSortingClassJUI)})}}});var a2=function(bQ){return typeof bQ==="string"?bQ.replace(//g,">").replace(/"/g,"""):bQ};L.render={number:function(bS,bR,bQ,bT,bU){return{display:function(bZ){if(typeof bZ!=="number"&&typeof bZ!=="string"){return bZ}var bW=bZ<0?"-":"";var bY=parseFloat(bZ);if(isNaN(bY)){return a2(bZ)}bY=bY.toFixed(bQ);bZ=Math.abs(bY);var bX=parseInt(bZ,10);var bV=bQ?bR+(bZ-bX).toFixed(bQ).substring(2):"";return bW+(bT||"")+bX.toString().replace(/\B(?=(\d{3})+(?!\d))/g,bS)+bV+(bU||"")}}},text:function(){return{display:a2,filter:a2}}};function af(bQ){return function(){var bR=[ak(this[L.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return L.ext.internal[bQ].apply(this,bR)}}bE.extend(L.ext.internal,{_fnExternApiFunc:af,_fnBuildAjax:ar,_fnAjaxUpdate:ad,_fnAjaxParameters:bK,_fnAjaxUpdateDraw:T,_fnAjaxDataSrc:br,_fnAddColumn:M,_fnColumnOptions:aZ,_fnAdjustColumnSizing:aF,_fnVisibleToColumnIndex:o,_fnColumnIndexToVisible:bI,_fnVisbleColumns:aN,_fnGetColumns:m,_fnColumnTypes:s,_fnApplyColumnDefs:h,_fnHungarianMap:R,_fnCamelToHungarian:Y,_fnLanguageCompat:aP,_fnBrowserDetect:bc,_fnAddData:aL,_fnAddTr:bP,_fnNodeToDataIndex:bq,_fnNodeToColumnIndex:aX,_fnGetCellData:bs,_fnSetCellData:bk,_fnSplitObjNotation:ai,_fnGetObjectDataFn:al,_fnSetObjectDataFn:au,_fnGetDataMaster:bG,_fnClearTable:bg,_fnDeleteIndex:a3,_fnInvalidate:z,_fnGetRowElements:bd,_fnCreateTr:N,_fnBuildHead:aI,_fnDrawHead:a4,_fnDraw:a0,_fnReDraw:ag,_fnAddOptionsHtml:f,_fnDetectHeader:at,_fnGetUniqueThs:bf,_fnFeatureHtmlFilter:n,_fnFilterComplete:r,_fnFilterCustom:ao,_fnFilterColumn:W,_fnFilter:av,_fnFilterCreateSearch:aT,_fnEscapeRegex:j,_fnFilterData:aA,_fnFeatureHtmlInfo:d,_fnUpdateInfo:ap,_fnInfoMacros:bn,_fnInitialise:e,_fnInitComplete:ay,_fnLengthChange:aQ,_fnFeatureHtmlLength:aO,_fnFeatureHtmlPaginate:aw,_fnPageChange:aC,_fnFeatureHtmlProcessing:bx,_fnProcessingDisplay:t,_fnFeatureHtmlTable:bw,_fnScrollDraw:i,_fnApplyToChildren:a7,_fnCalculateColumnWidths:bt,_fnThrottle:aj,_fnConvertToWidth:ae,_fnGetWidestNode:aH,_fnGetMaxLenString:Z,_fnStringToCss:bJ,_fnSortFlatten:aE,_fnSort:u,_fnSortAria:bb,_fnSortListener:bh,_fnSortAttachListener:A,_fnSortingClasses:ac,_fnSortData:E,_fnSaveState:bm,_fnLoadState:bN,_fnSettingsFromNode:ak,_fnLog:aK,_fnMap:P,_fnBindAction:ba,_fnCallbackReg:bM,_fnCallbackFire:J,_fnLengthOverflow:bj,_fnRenderer:Q,_fnDataSource:w,_fnRowAttributes:aa,_fnExtend:aU,_fnCalculateEnd:function(){}});bE.fn.dataTable=L;L.$=bE;bE.fn.dataTableSettings=L.settings;bE.fn.dataTableExt=L.ext;bE.fn.DataTable=function(bQ){return bE(this).dataTable(bQ).api()};bE.each(L,function(bR,bQ){bE.fn.DataTable[bR]=bQ});return bE.fn.dataTable}));




© 2015 - 2025 Weber Informatics LLC | Privacy Policy