!function(e,s){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["dc","jquery"],function(A,t){return e.tableview=s(A,t)}):"object"==typeof module&&module.exports?module.exports=s(require("dc"),require("jquery")):e.tableview=s(e.dc,e.$)}(this,function(M,L){var e,s,i,n,r,B,o,E,a,w,g,c;!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(A){return e(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(A)),e(t,A,A.document)}:e(jQuery,window,document)}(function(j,m,I,N){"use strict";function i(A){return!A||!0===A||"-"===A}function c(A){var t=parseInt(A,10);return!isNaN(t)&&isFinite(A)?t:null}function n(A,t){return e[t]||(e[t]=new RegExp(DA(t),"g")),"string"==typeof A&&"."!==t?A.replace(/\./g,"").replace(e[t],"."):A}function s(A,t,e){var s="string"==typeof A;return!!i(A)||(t&&s&&(A=n(A,t)),e&&s&&(A=A.replace(w,"")),!isNaN(parseFloat(A))&&isFinite(A))}function r(A,t,e){return!!i(A)||(function(A){return i(A)||"string"==typeof A}(A)&&!!s(g(A),t,e)||null)}function Q(A,t,e,s){var i=[],n=0,r=t.length;if(s!==N)for(;n").appendTo(E)),w.nTHead=e[0];var s=E.children("tbody");0===s.length&&(s=j("").appendTo(E)),w.nTBody=s[0];var i=E.children("tfoot");if(0===i.length&&0").appendTo(E)),0===i.length||0===i.children().length?E.addClass(g.sNoFooter):0/g,E=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,a=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),w=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,V=function(A,t,e){var s=[],i=0,n=A.length;if(e!==N)for(;i").css({position:"fixed",top:0,left:-1*j(m).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(j("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(j("
").css({width:"100%",height:10}))).appendTo("body"),s=e.children(),i=s.children();t.barWidth=s[0].offsetWidth-s[0].clientWidth,t.bScrollOversize=100===i[0].offsetWidth&&100!==s[0].clientWidth,t.bScrollbarLeft=1!==Math.round(i.offset().left),t.bBounding=!!e[0].getBoundingClientRect().width,e.remove()}j.extend(A.oBrowser,x.__browser),A.oScroll.iBarWidth=x.__browser.barWidth}function D(A,t,e,s,i,n){var r,B=s,o=!1;for(e!==N&&(r=e,o=!0);B!==i;)A.hasOwnProperty(B)&&(r=o?t(r,A[B],B,A):A[B],o=!0,B+=n);return r}function G(A,t){var e=x.defaults.column,s=A.aoColumns.length,i=j.extend({},x.models.oColumn,e,{nTh:t||I.createElement("th"),sTitle:e.sTitle?e.sTitle:t?t.innerHTML:"",aDataSort:e.aDataSort?e.aDataSort:[s],mData:e.mData?e.mData:s,idx:s});A.aoColumns.push(i);var n=A.aoPreSearchCols;n[s]=j.extend({},x.models.oSearch,n[s]),W(A,s,j(t).data())}function W(A,t,e){var s=A.aoColumns[t],i=A.oClasses,n=j(s.nTh);if(!s.sWidthOrig){s.sWidthOrig=n.attr("width")||null;var r=(n.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);r&&(s.sWidthOrig=r[1])}e!==N&&null!==e&&(p(e),M(x.defaults.column,e,!0),e.mDataProp===N||e.mData||(e.mData=e.mDataProp),e.sType&&(s._sManualType=e.sType),e.className&&!e.sClass&&(e.sClass=e.className),e.sClass&&n.addClass(e.sClass),j.extend(s,e),Bt(s,e,"sWidth","sWidthOrig"),e.iDataSort!==N&&(s.aDataSort=[e.iDataSort]),Bt(s,e,"aDataSort"));function B(A){return"string"==typeof A&&-1!==A.indexOf("@")}var o=s.mData,E=X(o),a=s.mRender?X(s.mRender):null;s._bAttrSrc=j.isPlainObject(o)&&(B(o.sort)||B(o.type)||B(o.filter)),s._setter=null,s.fnGetData=function(A,t,e){var s=E(A,t,N,e);return a&&t?a(s,t,A,e):s},s.fnSetData=function(A,t,e){return _(o)(A,t,e)},"number"!=typeof o&&(A._rowReadObject=!0),A.oFeatures.bSort||(s.bSortable=!1,n.addClass(i.sSortableNone));var w=-1!==j.inArray("asc",s.asSorting),g=-1!==j.inArray("desc",s.asSorting);s.bSortable&&(w||g)?w&&!g?(s.sSortingClass=i.sSortableAsc,s.sSortingClassJUI=i.sSortJUIAscAllowed):!w&&g?(s.sSortingClass=i.sSortableDesc,s.sSortingClassJUI=i.sSortJUIDescAllowed):(s.sSortingClass=i.sSortable,s.sSortingClassJUI=i.sSortJUI):(s.sSortingClass=i.sSortableNone,s.sSortingClassJUI="")}function K(A){if(!1!==A.oFeatures.bAutoWidth){var t=A.aoColumns;VA(A);for(var e=0,s=t.length;et&&A[i]--;-1!=s&&e===N&&A.splice(s,1)}function tA(e,s,A,t){function i(A,t){for(;A.childNodes.length;)A.removeChild(A.firstChild);A.innerHTML=Y(e,s,t,"display")}var n,r,B=e.aoData[s];if("dom"!==A&&(A&&"auto"!==A||"dom"!==B.src)){var o=B.anCells;if(o)if(t!==N)i(o[t],t);else for(n=0,r=o.length;n").appendTo(r)),t=0,e=a.length;ttr").attr("role","row"),j(r).find(">tr>th, >tr>td").addClass(E.sHeaderTH),j(B).find(">tr>th, >tr>td").addClass(E.sFooterTH),null!==B){var w=A.aoFooter[0];for(t=0,e=w.length;t=A.fnRecordsDisplay()?0:B,A.iInitDisplayStart=-1);var a=A._iDisplayStart,w=A.fnDisplayEnd();if(A.bDeferLoading)A.bDeferLoading=!1,A.iDraw++,TA(A,!1);else if(o){if(!A.bDestroying&&!cA(A))return}else A.iDraw++;if(0!==E.length)for(var g=o?0:a,c=o?A.aoData.length:w,l=g;l",{class:n?i[0]:""}).append(j("",{valign:"top",colSpan:S(A),class:A.oClasses.sRowEmpty}).html(f))[0]}wt(A,"aoHeaderCallback","header",[j(A.nTHead).children("tr")[0],q(A),a,w,E]),wt(A,"aoFooterCallback","footer",[j(A.nTFoot).children("tr")[0],q(A),a,w,E]);var I=j(A.nTBody);I.children().detach(),I.append(j(e)),wt(A,"aoDrawCallback","draw",[A]),A.bSorted=!1,A.bFiltered=!1,A.bDrawing=!1}else TA(A,!1)}function oA(A,t){var e=A.oFeatures,s=e.bSort,i=e.bFilter;s&&_A(A),i?uA(A,A.oPreviousSearch):A.aiDisplay=A.aiDisplayMaster.slice(),!0!==t&&(A._iDisplayStart=0),A._drawHold=t,BA(A),A._drawHold=!1}function EA(A){var t=A.oClasses,e=j(A.nTable),s=j("
").insertBefore(e),i=A.oFeatures,n=j("
",{id:A.sTableId+"_wrapper",class:t.sWrapper+(A.nTFoot?"":" "+t.sNoFooter)});A.nHolding=s[0],A.nTableWrapper=n[0],A.nTableReinsertBefore=A.nTable.nextSibling;for(var r,B,o,E,a,w,g=A.sDom.split(""),c=0;c")[0],"'"==(E=g[c+1])||'"'==E){for(a="",w=2;g[c+w]!=E;)a+=g[c+w],w++;if("H"==a?a=t.sJUIHeader:"F"==a&&(a=t.sJUIFooter),-1!=a.indexOf(".")){var l=a.split(".");o.id=l[0].substr(1,l[0].length-1),o.className=l[1]}else"#"==a.charAt(0)?o.id=a.substr(1,a.length-1):o.className=a;c+=w}n.append(o),n=j(o)}else if(">"==B)n=n.parent();else if("l"==B&&i.bPaginate&&i.bLengthChange)r=WA(A);else if("f"==B&&i.bFilter)r=hA(A);else if("r"==B&&i.bProcessing)r=HA(A);else if("t"==B)r=UA(A);else if("i"==B&&i.bInfo)r=MA(A);else if("p"==B&&i.bPaginate)r=SA(A);else if(0!==x.ext.feature.length)for(var Q=x.ext.feature,C=0,h=Q.length;C',B=s.sSearch;B=B.match(/_INPUT_/)?B.replace("_INPUT_",r):B+r;function o(){n.f;var A=this.value?this.value:"";A!=i.sSearch&&(uA(e,{sSearch:A,bRegex:i.bRegex,bSmart:i.bSmart,bCaseInsensitive:i.bCaseInsensitive}),e._iDisplayStart=0,BA(e))}var E=j("
",{id:n.f?null:t+"_filter",class:A.sFilter}).append(j("
").addClass(A.sLength);return s.aanFeatures.l||(a[0].id=t+"_length"),a.children().append(s.oLanguage.sLengthMenu.replace("_MENU_",B[0].outerHTML)),j("select",a).val(s._iDisplayLength).on("change.DT",function(A){GA(s,j(this).val()),BA(s)}),j(s.nTable).on("length.dt.DT",function(A,t,e){s===t&&j("select",a).val(e)}),a[0]}function SA(A){function a(A){BA(A)}var t=A.sPaginationType,w=x.ext.pager[t],g="function"==typeof w,e=j("
").addClass(A.oClasses.sPaging+t)[0],c=A.aanFeatures;return g||w.fnInit(A,e,a),c.p||(e.id=A.sTableId+"_paginate",A.aoDrawCallback.push({fn:function(A){if(g){var t,e,s=A._iDisplayStart,i=A._iDisplayLength,n=A.fnRecordsDisplay(),r=-1===i,B=r?0:Math.ceil(s/i),o=r?1:Math.ceil(n/i),E=w(B,o);for(t=0,e=c.p.length;t",{id:A.aanFeatures.r?null:A.sTableId+"_processing",class:A.oClasses.sProcessing}).html(A.oLanguage.sProcessing).insertBefore(A.nTable)[0]}function TA(A,t){A.oFeatures.bProcessing&&j(A.aanFeatures.r).css("display",t?"block":"none"),wt(A,null,"processing",[A,t])}function UA(A){var t=j(A.nTable);t.attr("role","grid");var e=A.oScroll;if(""===e.sX&&""===e.sY)return A.nTable;function s(A){return A?ZA(A):null}var i=e.sX,n=e.sY,r=A.oClasses,B=t.children("caption"),o=B.length?B[0]._captionSide:null,E=j(t[0].cloneNode(!1)),a=j(t[0].cloneNode(!1)),w=t.children("tfoot"),g="
";w.length||(w=null);var c=j(g,{class:r.sScrollWrapper}).append(j(g,{class:r.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:i?s(i):"100%"}).append(j(g,{class:r.sScrollHeadInner}).css({"box-sizing":"content-box",width:e.sXInner||"100%"}).append(E.removeAttr("id").css("margin-left",0).append("top"===o?B:null).append(t.children("thead"))))).append(j(g,{class:r.sScrollBody}).css({position:"relative",overflow:"auto",width:s(i)}).append(t));w&&c.append(j(g,{class:r.sScrollFoot}).css({overflow:"hidden",border:0,width:i?s(i):"100%"}).append(j(g,{class:r.sScrollFootInner}).append(a.removeAttr("id").css("margin-left",0).append("bottom"===o?B:null).append(t.children("tfoot")))));var l=c.children(),Q=l[0],C=l[1],h=w?l[2]:null;return i&&j(C).on("scroll.DT",function(A){var t=this.scrollLeft;Q.scrollLeft=t,w&&(h.scrollLeft=t)}),j(C).css(n&&e.bCollapse?"max-height":"height",n),A.nScrollHead=Q,A.nScrollBody=C,A.nScrollFoot=h,A.aoDrawCallback.push({fn:kA,sName:"scrolling"}),c[0]}function kA(e){function A(A){var t=A.style;t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var t,s,i,n,r,B,o,E,a,w=e.oScroll,g=w.sX,c=w.sXInner,l=w.sY,Q=w.iBarWidth,C=j(e.nScrollHead),h=C[0].style,u=C.children("div"),f=u[0].style,I=u.children("table"),d=e.nScrollBody,b=j(d),D=d.style,v=j(e.nScrollFoot).children("div"),F=v.children("table"),Y=j(e.nTHead),x=j(e.nTable),m=x[0],M=m.style,L=e.nTFoot?j(e.nTFoot):null,R=e.oBrowser,p=R.bScrollOversize,y=V(e.aoColumns,"nTh"),G=[],W=[],S=[],P=[],H=d.scrollHeight>d.clientHeight;if(e.scrollBarVis!==H&&e.scrollBarVis!==N)return e.scrollBarVis=H,void K(e);e.scrollBarVis=H,x.children("thead, tfoot").remove(),L&&(B=L.clone().prependTo(x),s=L.find("tr"),n=B.find("tr")),r=Y.clone().prependTo(x),t=Y.find("tr"),i=r.find("tr"),r.find("th, td").removeAttr("tabindex"),g||(D.width="100%",C[0].style.width="100%"),j.each(wA(e,r),function(A,t){o=J(e,A),t.style.width=e.aoColumns[o].sWidth}),L&&jA(function(A){A.style.width=""},n),a=x.outerWidth(),""===g?(M.width="100%",p&&(x.find("tbody").height()>d.offsetHeight||"scroll"==b.css("overflow-y"))&&(M.width=ZA(x.outerWidth()-Q)),a=x.outerWidth()):""!==c&&(M.width=ZA(c),a=x.outerWidth()),jA(A,i),jA(function(A){S.push(A.innerHTML),G.push(ZA(j(A).css("width")))},i),jA(function(A,t){-1!==j.inArray(A,y)&&(A.style.width=G[t])},t),j(i).height(0),L&&(jA(A,n),jA(function(A){P.push(A.innerHTML),W.push(ZA(j(A).css("width")))},n),jA(function(A,t){A.style.width=W[t]},s),j(n).height(0)),jA(function(A,t){A.innerHTML='
'+S[t]+"
",A.childNodes[0].style.height="0",A.childNodes[0].style.overflow="hidden",A.style.width=G[t]},i),L&&jA(function(A,t){A.innerHTML='
'+P[t]+"
",A.childNodes[0].style.height="0",A.childNodes[0].style.overflow="hidden",A.style.width=W[t]},n),x.outerWidth()d.offsetHeight||"scroll"==b.css("overflow-y")?a+Q:a,p&&(d.scrollHeight>d.offsetHeight||"scroll"==b.css("overflow-y"))&&(M.width=ZA(E-Q)),""!==g&&""===c||rt(e,1,"Possible column misalignment",6)):E="100%",D.width=ZA(E),h.width=ZA(E),L&&(e.nScrollFoot.style.width=ZA(E)),l||p&&(D.height=ZA(m.offsetHeight+Q));var T=x.outerWidth();I[0].style.width=ZA(T),f.width=ZA(T);var U=x.height()>d.clientHeight||"scroll"==b.css("overflow-y"),k="padding"+(R.bScrollbarLeft?"Left":"Right");f[k]=U?Q+"px":"0px",L&&(F[0].style.width=ZA(T),v[0].style.width=ZA(T),v[0].style[k]=U?Q+"px":"0px"),x.children("colgroup").insertBefore(x.children("thead")),b.trigger("scroll"),!e.bSorted&&!e.bFiltered||e._drawHold||(d.scrollTop=0)}function jA(A,t,e){for(var s,i,n=0,r=0,B=t.length;r/g;function VA(A){var t,e,s,i=A.nTable,n=A.aoColumns,r=A.oScroll,B=r.sY,o=r.sX,E=r.sXInner,a=n.length,w=P(A,"bVisible"),g=j("th",A.nTHead),c=i.getAttribute("width"),l=i.parentNode,Q=!1,C=A.oBrowser,h=C.bScrollOversize,u=i.style.width;for(u&&-1!==u.indexOf("%")&&(c=u),t=0;t").appendTo(I.find("tbody"));for(I.find("thead, tfoot").remove(),I.append(j(A.nTHead).clone()).append(j(A.nTFoot).clone()),I.find("tfoot th, tfoot td").css("width",""),g=wA(A,I.find("thead")[0]),t=0;t").css({width:e.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(A.aoData.length)for(t=0;t").css(o||B?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(I).appendTo(l);o&&E?I.width(E):o?(I.css("width","auto"),I.removeAttr("width"),I.width()").css("width",ZA(A)).appendTo(t||I.body),s=e[0].offsetWidth;return e.remove(),s}function OA(A,t){var e=zA(A,t);if(e<0)return null;var s=A.aoData[e];return s.nTr?s.anCells[t]:j("").html(Y(A,e,t,"display"))[0]}function zA(A,t){for(var e,s=-1,i=-1,n=0,r=A.aoData.length;ns&&(s=e.length,i=n);return i}function ZA(A){return null===A?"0px":"number"==typeof A?A<0?"0px":A+"px":A.match(/\d$/)?A+"px":A}function XA(A){function t(A){A.length&&!j.isArray(A[0])?c.push(A):j.merge(c,A)}var e,s,i,n,r,B,o,E=[],a=A.aoColumns,w=A.aaSortingFixed,g=j.isPlainObject(w),c=[];for(j.isArray(w)&&t(w),g&&w.pre&&t(w.pre),t(A.aaSorting),g&&w.post&&t(w.post),e=0;e/g,""),a=B.nTh;a.removeAttribute("aria-sort"),t=B.bSortable?E+("asc"===(0=o.length?[0,t[1]]:t)})),A.search!==N&&j.extend(i.oPreviousSearch,mA(A.search)),A.columns)for(r=0,B=A.columns.length;rA?new u(t[A],this[A]):null},filter:function(A){var t=[];if(Ct.filter)t=Ct.filter.call(this,A,this);else for(var e=0,s=this.length;e").addClass(t);j("td",i).addClass(t).html(A)[0].colSpan=S(n),r.push(i[0])}};B(t,e),A._details&&A._details.detach(),A._details=j(r),A._detailsShow&&A._details.insertAfter(A.nTr)}(e[0],e[0].aoData[this[0]],A,t),this)}),t([Ft+".show()",Yt+".show()"],function(A){return Dt(this,!0),this}),t([Ft+".hide()",Yt+".hide()"],function(){return Dt(this,!1),this}),t([Ft+".remove()",Yt+".remove()"],function(){return bt(this),this}),t(Ft+".isShown()",function(){var A=this.context;return A.length&&this.length&&A[0].aoData[this[0]]._detailsShow||!1});function xt(A,t,e,s,i){for(var n=[],r=0,B=i.length;r").appendTo(A);f(o,n)}else{switch(c=null,l=n,r=E.iTabIndex,n){case"ellipsis":A.append('');break;case"first":c=C.sFirst,0===w&&(r=-1,l+=" "+B);break;case"previous":c=C.sPrevious,0===w&&(r=-1,l+=" "+B);break;case"next":c=C.sNext,w===g-1&&(r=-1,l+=" "+B);break;case"last":c=C.sLast,w===g-1&&(r=-1,l+=" "+B);break;default:c=n+1,l=w===n?Q.sPageButtonActive:""}null!==c&&(Et(j("",{class:Q.sPageButton+" "+l,"aria-controls":E.sTableId,"aria-label":h[n],"data-dt-idx":u,tabindex:r,id:0===a&&"string"==typeof n?E.sTableId+"_"+n:null}).html(c).appendTo(A),{action:n},e),u++)}};try{e=j(A).find(I.activeElement).data("dt-idx")}catch(A){}f(j(A).empty(),t),e!==N&&j(A).find("[data-dt-idx="+e+"]").focus()}}}),j.extend(x.ext.type.detect,[function(A,t){var e=t.oLanguage.sDecimal;return s(A,e)?"num"+e:null},function(A,t){if(A&&!(A instanceof Date)&&!E.test(A))return null;var e=Date.parse(A);return null!==e&&!isNaN(e)||i(A)?"date":null},function(A,t){var e=t.oLanguage.sDecimal;return s(A,e,!0)?"num-fmt"+e:null},function(A,t){var e=t.oLanguage.sDecimal;return r(A,e)?"html-num"+e:null},function(A,t){var e=t.oLanguage.sDecimal;return r(A,e,!0)?"html-num-fmt"+e:null},function(A,t){return i(A)||"string"==typeof A&&-1!==A.indexOf("<")?"html":null}]),j.extend(x.ext.type.search,{html:function(A){return i(A)?A:"string"==typeof A?A.replace(B," ").replace(o,""):""},string:function(A){return i(A)?A:"string"==typeof A?A.replace(B," "):A}});var Rt=function(A,t,e,s){return 0===A||A&&"-"!==A?(t&&(A=n(A,t)),A.replace&&(e&&(A=A.replace(e,"")),s&&(A=A.replace(s,""))),1*A):-1/0};function pt(e){j.each({num:function(A){return Rt(A,e)},"num-fmt":function(A){return Rt(A,e,w)},"html-num":function(A){return Rt(A,e,o)},"html-num-fmt":function(A){return Rt(A,e,o,w)}},function(A,t){h.type.order[A+e+"-pre"]=t,A.match(/^html\-/)&&(h.type.search[A+e]=h.type.search.html)})}j.extend(h.type.order,{"date-pre":function(A){var t=Date.parse(A);return isNaN(t)?-1/0:t},"html-pre":function(A){return i(A)?"":A.replace?A.replace(/<.*?>/g,"").toLowerCase():A+""},"string-pre":function(A){return i(A)?"":"string"==typeof A?A.toLowerCase():A.toString?A.toString():""},"string-asc":function(A,t){return A").addClass(o.sSortJUIWrapper).append(r.contents()).append(j("").addClass(o.sSortIcon+" "+B.sSortingClassJUI)).appendTo(r),j(n.nTable).on("order.dt.DT",function(A,t,e,s){if(n===t){var i=B.idx;r.removeClass(o.sSortAsc+" "+o.sSortDesc).addClass("asc"==s[i]?o.sSortAsc:"desc"==s[i]?o.sSortDesc:B.sSortingClass),r.find("span."+o.sSortIcon).removeClass(o.sSortJUIAsc+" "+o.sSortJUIDesc+" "+o.sSortJUI+" "+o.sSortJUIAscAllowed+" "+o.sSortJUIDescAllowed).addClass("asc"==s[i]?o.sSortJUIAsc:"desc"==s[i]?o.sSortJUIDesc:B.sSortingClassJUI)}})}}});function yt(A){return"string"==typeof A?A.replace(//g,">").replace(/"/g,"""):A}function Gt(t){return function(){var A=[nt(this[x.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return x.ext.internal[t].apply(this,A)}}return x.render={number:function(n,r,B,o,E){return{display:function(A){if("number"!=typeof A&&"string"!=typeof A)return A;var t=A<0?"-":"",e=parseFloat(A);if(isNaN(e))return yt(A);e=e.toFixed(B),A=Math.abs(e);var s=parseInt(A,10),i=B?r+(A-s).toFixed(B).substring(2):"";return t+(o||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,n)+i+(E||"")}}},text:function(){return{display:yt,filter:yt}}},j.extend(x.ext.internal,{_fnExternApiFunc:Gt,_fnBuildAjax:gA,_fnAjaxUpdate:cA,_fnAjaxParameters:lA,_fnAjaxUpdateDraw:QA,_fnAjaxDataSrc:CA,_fnAddColumn:G,_fnColumnOptions:W,_fnAdjustColumnSizing:K,_fnVisibleToColumnIndex:J,_fnColumnIndexToVisible:v,_fnVisbleColumns:S,_fnGetColumns:P,_fnColumnTypes:F,_fnApplyColumnDefs:H,_fnHungarianMap:d,_fnCamelToHungarian:M,_fnLanguageCompat:L,_fnBrowserDetect:y,_fnAddData:T,_fnAddTr:U,_fnNodeToDataIndex:function(A,t){return t._DT_RowIndex!==N?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(A,t,e){return j.inArray(e,A.aoData[t].anCells)},_fnGetCellData:Y,_fnSetCellData:k,_fnSplitObjNotation:Z,_fnGetObjectDataFn:X,_fnSetObjectDataFn:_,_fnGetDataMaster:q,_fnClearTable:$,_fnDeleteIndex:AA,_fnInvalidate:tA,_fnGetRowElements:eA,_fnCreateTr:sA,_fnBuildHead:nA,_fnDrawHead:rA,_fnDraw:BA,_fnReDraw:oA,_fnAddOptionsHtml:EA,_fnDetectHeader:aA,_fnGetUniqueThs:wA,_fnFeatureHtmlFilter:hA,_fnFilterComplete:uA,_fnFilterCustom:fA,_fnFilterColumn:IA,_fnFilter:dA,_fnFilterCreateSearch:bA,_fnEscapeRegex:DA,_fnFilterData:YA,_fnFeatureHtmlInfo:MA,_fnUpdateInfo:LA,_fnInfoMacros:RA,_fnInitialise:pA,_fnInitComplete:yA,_fnLengthChange:GA,_fnFeatureHtmlLength:WA,_fnFeatureHtmlPaginate:SA,_fnPageChange:PA,_fnFeatureHtmlProcessing:HA,_fnProcessingDisplay:TA,_fnFeatureHtmlTable:UA,_fnScrollDraw:kA,_fnApplyToChildren:jA,_fnCalculateColumnWidths:VA,_fnThrottle:KA,_fnConvertToWidth:JA,_fnGetWidestNode:OA,_fnGetMaxLenString:zA,_fnStringToCss:ZA,_fnSortFlatten:XA,_fnSort:_A,_fnSortAria:qA,_fnSortListener:$A,_fnSortAttachListener:At,_fnSortingClasses:tt,_fnSortData:et,_fnSaveState:st,_fnLoadState:it,_fnSettingsFromNode:nt,_fnLog:rt,_fnMap:Bt,_fnBindAction:Et,_fnCallbackReg:at,_fnCallbackFire:wt,_fnLengthOverflow:gt,_fnRenderer:ct,_fnDataSource:lt,_fnRowAttributes:iA,_fnExtend:ot,_fnCalculateEnd:function(){}}),((j.fn.dataTable=x).$=j).fn.dataTableSettings=x.settings,j.fn.dataTableExt=x.ext,j.fn.DataTable=function(A){return j(this).dataTable(A).api()},j.each(x,function(A,t){j.fn.DataTable[A]=t}),j.fn.dataTable}),e=function(w,A,t,g){"use strict";var c=w.fn.dataTable,r=function(A,t){if(!c.versionCheck||!c.versionCheck("1.10.8"))throw"RowGroup requires DataTables 1.10.8 or newer";this.c=w.extend(!0,{},c.defaults.rowGroup,r.defaults,t),this.s={dt:new c.Api(A)},this.dom={};var e=this.s.dt.settings()[0],s=e.rowGroup;if(s)return s;(e.rowGroup=this)._constructor()};return w.extend(r.prototype,{dataSrc:function(A){if(A===g)return this.c.dataSrc;var t=this.s.dt;return this.c.dataSrc=A,w(t.table().node()).triggerHandler("rowgroup-datasrc.dt",[t,A]),this},disable:function(){return this.c.enable=!1,this},enable:function(A){return!1===A?this.disable():(this.c.enable=!0,this)},_constructor:function(){var A=this,t=this.s.dt;t.on("draw.dtrg",function(){A.c.enable&&A._draw()}),t.on("column-visibility.dt.dtrg responsive-resize.dt.dtrg",function(){A._adjustColspan()}),t.on("destroy",function(){t.off(".dtrg")}),t.on("responsive-resize.dt",function(){A._adjustColspan()})},_adjustColspan:function(){w("tr."+this.c.className,this.s.dt.table().body()).find("td").attr("colspan",this._colspan())},_colspan:function(){return this.s.dt.columns().visible().reduce(function(A,t){return A+t},0)},_draw:function(){var A=this.s.dt,t=this._group(0,A.rows({page:"current"}).indexes());this._groupDisplay(0,t)},_group:function(A,t){for(var e,s=w.isArray(this.c.dataSrc)?this.c.dataSrc:[this.c.dataSrc],i=c.ext.oApi._fnGetObjectDataFn(s[A]),n=this.s.dt,r=[],B=0,o=t.length;B").append(w("").attr("colspan",this._colspan()).append(A))).addClass(this.c.className).addClass(t).addClass("dtrg-level-"+e)}}),r.defaults={className:"dtrg-group",dataSrc:0,emptyDataGroup:"No group",enable:!0,endClassName:"dtrg-end",endRender:null,startClassName:"dtrg-start",startRender:function(A,t){return t}},r.version="1.1.1",w.fn.dataTable.RowGroup=r,w.fn.DataTable.RowGroup=r,c.Api.register("rowGroup()",function(){return this}),c.Api.register("rowGroup().disable()",function(){return this.iterator("table",function(A){A.rowGroup&&A.rowGroup.enable(!1)})}),c.Api.register("rowGroup().enable()",function(t){return this.iterator("table",function(A){A.rowGroup&&A.rowGroup.enable(t===g||t)})}),c.Api.register("rowGroup().dataSrc()",function(t){return t===g?this.context[0].rowGroup.dataSrc():this.iterator("table",function(A){A.rowGroup&&A.rowGroup.dataSrc(t)})}),w(t).on("preInit.dt.dtrg",function(A,t,e){if("dt"===A.namespace){var s=t.oInit.rowGroup,i=c.defaults.rowGroup;if(s||i){var n=w.extend({},i,s);!1!==s&&new r(t,n)}}}),r},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(A){return e(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net")(A,t).$),e(t,0,A.document)}:e(jQuery,window,document),s=function(B,i,o,n){"use strict";var r=B.fn.dataTable,s=0,E=function(A,t){if(!(this instanceof E))throw"FixedHeader must be initialised with the 'new' keyword.";!0===t&&(t={}),A=new r.Api(A),this.c=B.extend(!0,{},E.defaults,t),this.s={dt:A,position:{theadTop:0,tbodyTop:0,tfootTop:0,tfootBottom:0,width:0,left:0,tfootHeight:0,theadHeight:0,windowHeight:B(i).height(),visible:!0},headerMode:null,footerMode:null,autoWidth:A.settings()[0].oFeatures.bAutoWidth,namespace:".dtfc"+s++,scrollLeft:{header:-1,footer:-1},enable:!0},this.dom={floatingHeader:null,thead:B(A.table().header()),tbody:B(A.table().body()),tfoot:B(A.table().footer()),header:{host:null,floating:null,placeholder:null},footer:{host:null,floating:null,placeholder:null}},this.dom.header.host=this.dom.thead.parent(),this.dom.footer.host=this.dom.tfoot.parent();var e=A.settings()[0];if(e._fixedHeader)throw"FixedHeader already initialised on table "+e.nTable.id;(e._fixedHeader=this)._constructor()};return B.extend(E.prototype,{destroy:function(){this.s.dt.off(".dtfc"),B(i).off(this.s.namespace),this.c.header&&this._modeChange("in-place","header",!0),this.c.footer&&this.dom.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(A,t){this.s.enable=A,!t&&t!==n||(this._positions(),this._scroll(!0))},enabled:function(){return this.s.enable},headerOffset:function(A){return A!==n&&(this.c.headerOffset=A,this.update()),this.c.headerOffset},footerOffset:function(A){return A!==n&&(this.c.footerOffset=A,this.update()),this.c.footerOffset},update:function(){var A=this.s.dt.table().node();B(A).is(":visible")?this.enable(!0,!1):this.enable(!1,!1),this._positions(),this._scroll(!0)},_constructor:function(){var A=this,t=this.s.dt;B(i).on("scroll"+this.s.namespace,function(){A._scroll()}).on("resize"+this.s.namespace,r.util.throttle(function(){A.s.position.windowHeight=B(i).height(),A.update()},50));var e=B(".fh-fixedHeader");!this.c.headerOffset&&e.length&&(this.c.headerOffset=e.outerHeight());var s=B(".fh-fixedFooter");!this.c.footerOffset&&s.length&&(this.c.footerOffset=s.outerHeight()),t.on("column-reorder.dt.dtfc column-visibility.dt.dtfc draw.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc",function(){A.update()}),t.on("destroy.dtfc",function(){A.destroy()}),this._positions(),this._scroll()},_clone:function(A,t){var e=this.s.dt,s=this.dom[A],i="header"===A?this.dom.thead:this.dom.tfoot;!t&&s.floating?s.floating.removeClass("fixedHeader-floating fixedHeader-locked"):(s.floating&&(s.placeholder.remove(),this._unsize(A),s.floating.children().detach(),s.floating.remove()),s.floating=B(e.table().node().cloneNode(!1)).css("table-layout","fixed").attr("aria-hidden","true").removeAttr("id").append(i).appendTo("body"),s.placeholder=i.clone(!1),s.placeholder.find("*[id]").removeAttr("id"),s.host.prepend(s.placeholder),this._matchWidths(s.placeholder,s.floating))},_matchWidths:function(t,e){function A(A){return B(A,t).map(function(){return B(this).width()}).toArray()}function s(A,t){B(A,e).each(function(A){B(this).css({width:t[A],minWidth:t[A]})})}var i=A("th"),n=A("td");s("th",i),s("td",n)},_unsize:function(A){var t=this.dom[A].floating;t&&("footer"===A||"header"===A&&!this.s.autoWidth)?B("th, td",t).css({width:"",minWidth:""}):t&&"header"===A&&B("th, td",t).css("min-width","")},_horizontal:function(A,t){var e=this.dom[A],s=this.s.position,i=this.s.scrollLeft;e.floating&&i[A]!==t&&(e.floating.css("left",s.left-t),i[A]=t)},_modeChange:function(A,t,e){this.s.dt;var s=this.dom[t],i=this.s.position,n=this.dom["footer"===t?"tfoot":"thead"],r=B.contains(n[0],o.activeElement)?o.activeElement:null;r&&r.blur(),"in-place"===A?(s.placeholder&&(s.placeholder.remove(),s.placeholder=null),this._unsize(t),"header"===t?s.host.prepend(n):s.host.append(n),s.floating&&(s.floating.remove(),s.floating=null)):"in"===A?(this._clone(t,e),s.floating.addClass("fixedHeader-floating").css("header"===t?"top":"bottom",this.c[t+"Offset"]).css("left",i.left+"px").css("width",i.width+"px"),"footer"===t&&s.floating.css("top","")):"below"===A?(this._clone(t,e),s.floating.addClass("fixedHeader-locked").css("top",i.tfootTop-i.theadHeight).css("left",i.left+"px").css("width",i.width+"px")):"above"===A&&(this._clone(t,e),s.floating.addClass("fixedHeader-locked").css("top",i.tbodyTop).css("left",i.left+"px").css("width",i.width+"px")),r&&r!==o.activeElement&&setTimeout(function(){r.focus()},10),this.s.scrollLeft.header=-1,this.s.scrollLeft.footer=-1,this.s[t+"Mode"]=A},_positions:function(){var A=this.s.dt.table(),t=this.s.position,e=this.dom,s=B(A.node()),i=s.children("thead"),n=s.children("tfoot"),r=e.tbody;t.visible=s.is(":visible"),t.width=s.outerWidth(),t.left=s.offset().left,t.theadTop=i.offset().top,t.tbodyTop=r.offset().top,t.tbodyHeight=r.outerHeight(),t.theadHeight=t.tbodyTop-t.theadTop,n.length?(t.tfootTop=n.offset().top,t.tfootBottom=t.tfootTop+n.outerHeight(),t.tfootHeight=t.tfootBottom-t.tfootTop):(t.tfootTop=t.tbodyTop+r.outerHeight(),t.tfootBottom=t.tfootTop,t.tfootHeight=t.tfootTop)},_scroll:function(A){var t,e,s=B(o).scrollTop(),i=B(o).scrollLeft(),n=this.s.position;this.c.header&&(t=this.s.enable?!n.visible||s<=n.theadTop-this.c.headerOffset?"in-place":s<=n.tfootTop-n.theadHeight-this.c.headerOffset?"in":"below":"in-place",!A&&t===this.s.headerMode||this._modeChange(t,"header",A),this._horizontal("header",i)),this.c.footer&&this.dom.tfoot.length&&(this.s.enable?e=!n.visible||s+n.windowHeight>=n.tfootBottom+this.c.footerOffset?"in-place":n.windowHeight+s>n.tbodyTop+n.tfootHeight+this.c.footerOffset?"in":"above":t="in-place",!A&&e===this.s.footerMode||this._modeChange(e,"footer",A),this._horizontal("footer",i))}}),E.version="3.1.6-dev",E.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0},B.fn.dataTable.FixedHeader=E,B.fn.DataTable.FixedHeader=E,B(o).on("init.dt.dtfh",function(A,t,e){if("dt"===A.namespace){var s=t.oInit.fixedHeader,i=r.defaults.fixedHeader;if((s||i)&&!t._fixedHeader){var n=B.extend({},i,s);!1!==s&&new E(t,n)}}}),r.Api.register("fixedHeader()",function(){}),r.Api.register("fixedHeader.adjust()",function(){return this.iterator("table",function(A){var t=A._fixedHeader;t&&t.update()})}),r.Api.register("fixedHeader.enable()",function(e){return this.iterator("table",function(A){var t=A._fixedHeader;e=e===n||e,t&&e!==t.enabled()&&t.enable(e)})}),r.Api.register("fixedHeader.enabled()",function(){if(this.context.length){this.content[0]._fixedHeader;if(fh)return fh.enabled()}return!1}),r.Api.register("fixedHeader.disable()",function(){return this.iterator("table",function(A){var t=A._fixedHeader;t&&t.enabled()&&t.enable(!1)})}),B.each(["header","footer"],function(A,s){r.Api.register("fixedHeader."+s+"Offset()",function(e){var A=this.context;return e===n?A.length&&A[0]._fixedHeader?A[0]._fixedHeader[s+"Offset"]():n:this.iterator("table",function(A){var t=A._fixedHeader;t&&t[s+"Offset"](e)})})}),E},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(A){return s(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net")(A,t).$),s(t,A,A.document)}:s(jQuery,window,document),i=function(I,A,n,d){"use strict";var r=I.fn.dataTable;function b(A){for(var t=[],e=0,s=A.length;ethis.s.fixed-1&&A
").addClass("DTCR_pointer").css({position:"absolute",top:A?I("div.dataTables_scroll",this.s.dt.nTableWrapper).offset().top:I(this.s.dt.nTable).offset().top,height:A?I("div.dataTables_scroll",this.s.dt.nTableWrapper).height():I(this.s.dt.nTable).height()}).appendTo("body")},_fnSetColumnIndexes:function(){I.each(this.s.dt.aoColumns,function(A,t){I(t.nTh).attr("data-column-index",A)})},_fnCursorPosition:function(A,t){return-1!==A.type.indexOf("touch")?A.originalEvent.touches[0][t]:A[t]},_fnIsLtr:function(){return"rtl"!==I(this.s.dt.nTable).css("direction")}}),B.defaults={aiOrder:null,bEnable:!0,bRealtime:!0,iFixedColumnsLeft:0,iFixedColumnsRight:0,fnReorderCallback:null},B.version="1.5.2",I.fn.dataTable.ColReorder=B,I.fn.DataTable.ColReorder=B,"function"==typeof I.fn.dataTable&&"function"==typeof I.fn.dataTableExt.fnVersionCheck&&I.fn.dataTableExt.fnVersionCheck("1.10.8")?I.fn.dataTableExt.aoFeatures.push({fnInit:function(A){var t=A.oInstance;if(A._colReorder)t.oApi._fnLog(A,1,"ColReorder attempted to initialise twice. Ignoring second");else{var e=A.oInit,s=e.colReorder||e.oColReorder||{};new B(A,s)}return null},cFeature:"R",sFeature:"ColReorder"}):alert("Warning: ColReorder requires DataTables 1.10.8 or greater - www.datatables.net/download"),I(n).on("preInit.dt.colReorder",function(A,t){if("dt"===A.namespace){var e=t.oInit.colReorder,s=r.defaults.colReorder;if(e||s){var i=I.extend({},e,s);!1!==e&&new B(t,i)}}}),I.fn.dataTable.Api.register("colReorder.reset()",function(){return this.iterator("table",function(A){A._colReorder.fnReset()})}),I.fn.dataTable.Api.register("colReorder.order()",function(t,e){return t?this.iterator("table",function(A){A._colReorder.fnOrder(t,e)}):this.context.length?this.context[0]._colReorder.fnOrder():null}),I.fn.dataTable.Api.register("colReorder.transpose()",function(A,t){return this.context.length&&this.context[0]._colReorder?this.context[0]._colReorder.fnTranspose(A,t):A}),I.fn.dataTable.Api.register("colReorder.move()",function(A,t,e,s){return this.context.length&&(this.context[0]._colReorder.s.dt.oInstance.fnColReorder(A,t,e,s),this.context[0]._colReorder._fnSetColumnIndexes()),this}),I.fn.dataTable.Api.register("colReorder.enable()",function(t){return this.iterator("table",function(A){A._colReorder&&A._colReorder.fnEnable(t)})}),I.fn.dataTable.Api.register("colReorder.disable()",function(){return this.iterator("table",function(A){A._colReorder&&A._colReorder.fnDisable()})}),B},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(A){return i(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net")(A,t).$),i(t,0,A.document)}:i(jQuery,window,document),n=function(h,r,s,B){"use strict";var n=h.fn.dataTable,o=function(A,t){if(this instanceof o){t===B&&(t={});var e=h.fn.dataTable.Api(A);this.s={dt:e.settings()[0],dtApi:e,tableTop:0,tableBottom:0,redrawTop:0,redrawBottom:0,autoHeight:!0,viewportRows:0,stateTO:null,drawTO:null,heights:{jump:null,page:null,virtual:null,scroll:null,row:null,viewport:null,labelFactor:1},topRowFloat:0,scrollDrawDiff:null,loaderVisible:!1,forceReposition:!1,baseRowTop:0,baseScrollTop:0,mousedown:!1,lastScrollTop:0},this.s=h.extend(this.s,o.oDefaults,t),this.s.heights.row=this.s.rowHeight,this.dom={force:s.createElement("div"),label:h('
0
'),scroller:null,table:null,loader:null},this.s.dt.oScroller||(this.s.dt.oScroller=this).construct()}else alert("Scroller warning: Scroller must be initialised with the 'new' keyword.")};h.extend(o.prototype,{measure:function(A){this.s.autoHeight&&this._calcRowHeight();var t=this.s.heights;t.row&&(t.viewport=h.contains(s,this.dom.scroller)?this.dom.scroller.clientHeight:this._parseHeight(h(this.dom.scroller).css("height")),t.viewport||(t.viewport=this._parseHeight(h(this.dom.scroller).css("max-height"))),this.s.viewportRows=parseInt(t.viewport/t.row,10)+1,this.s.dt._iDisplayLength=this.s.viewportRows*this.s.displayBuffer);var e=this.dom.label.outerHeight();t.labelFactor=(t.viewport-e)/t.scroll,A!==B&&!A||this.s.dt.oInstance.fnDraw(!1)},pageInfo:function(){var A=this.s.dt,t=this.dom.scroller.scrollTop,e=A.fnRecordsDisplay(),s=Math.ceil(this.pixelsToRow(t+this.s.heights.viewport,!1,this.s.ani));return{start:Math.floor(this.pixelsToRow(t,!1,this.s.ani)),end:ethis.s.redrawBottom||itable",this.dom.scroller)[0],this.dom.table.style.position="absolute",this.dom.table.style.top="0px",this.dom.table.style.left="0px",h(A.table().container()).addClass("dts DTS"),this.s.loadingIndicator&&(this.dom.loader=h('
'+this.s.dt.oLanguage.sLoadingRecords+"
").css("display","none"),h(this.dom.scroller.parentNode).css("position","relative").append(this.dom.loader)),this.dom.label.appendTo(this.dom.scroller),this.s.heights.row&&"auto"!=this.s.heights.row&&(this.s.autoHeight=!1),this.measure(!1),this.s.ingnoreScroll=!0,this.s.stateSaveThrottle=this.s.dt.oApi._fnThrottle(function(){s.s.dtApi.state.save()},500),h(this.dom.scroller).on("scroll.dt-scroller",function(A){s._scroll.call(s)}),h(this.dom.scroller).on("touchstart.dt-scroller",function(){s._scroll.call(s)}),h(this.dom.scroller).on("mousedown.dt-scroller",function(){s.s.mousedown=!0}).on("mouseup.dt-scroller",function(){s.s.mouseup=!1,s.dom.label.css("display","none")}),h(r).on("resize.dt-scroller",function(){s.measure(!1),s._info()});var i=!0,n=A.state.loaded();A.on("stateSaveParams.scroller",function(A,t,e){e.scroller={topRow:i&&n&&n.scroller?n.scroller.topRow:s.s.topRowFloat,baseScrollTop:s.s.baseScrollTop,baseRowTop:s.s.baseRowTop},i=!1}),n&&n.scroller&&(this.s.topRowFloat=n.scroller.topRow,this.s.baseScrollTop=n.scroller.baseScrollTop,this.s.baseRowTop=n.scroller.baseRowTop),A.on("init.scroller",function(){s.measure(!1),s.s.scrollType="jump",s._draw(),A.on("draw.scroller",function(){s._draw()})}),A.on("preDraw.dt.scroller",function(){s._scrollForce()}),A.on("destroy.scroller",function(){h(r).off("resize.dt-scroller"),h(s.dom.scroller).off(".dt-scroller"),h(s.s.dt.nTable).off(".scroller"),h(s.s.dt.nTableWrapper).removeClass("DTS"),h("div.DTS_Loading",s.dom.scroller.parentNode).remove(),s.dom.table.style.position="",s.dom.table.style.top="",s.dom.table.style.left=""})}else this.s.dt.oApi._fnLog(this.s.dt,0,"Pagination must be enabled for Scroller")},_calcRowHeight:function(){var A=this.s.dt,t=A.nTable,e=t.cloneNode(!1),s=h("").appendTo(e),i=h('
');h("tbody tr:lt(4)",t).clone().appendTo(s);var n=h("tr",s).length;if(1===n)s.prepend(" "),s.append(" ");else for(;n<3;n++)s.append(" ");h("div."+A.oClasses.sScrollBody,i).append(e);var r=this.s.dt.nHolding||t.parentNode;h(r).is(":visible")||(r="body"),i.appendTo(r),this.s.heights.row=h("tr",s).eq(1).outerHeight(),i.remove()},_draw:function(){var A=this,t=this.s.heights,e=this.dom.scroller.scrollTop,s=h(this.s.dt.nTable).height(),i=this.s.dt._iDisplayStart,n=this.s.dt._iDisplayLength,r=this.s.dt.fnRecordsDisplay();this.s.skip=!0,!this.s.dt.bSorted&&!this.s.dt.bFiltered||0!==i||this.s.dt._drawHold||(this.s.topRowFloat=0),e="jump"===this.s.scrollType?this._domain("virtualToPhysical",this.s.topRowFloat*t.row):e,this.s.baseScrollTop=e,this.s.baseRowTop=this.s.topRowFloat;var B=e-(this.s.topRowFloat-i)*t.row;0===i?B=0:r<=i+n&&(B=t.scroll-s),this.dom.table.style.top=B+"px",this.s.tableTop=B,this.s.tableBottom=s+this.s.tableTop;var o=(e-this.s.tableTop)*this.s.boundaryScale;if(this.s.redrawTop=e-o,this.s.redrawBottom=e+o>t.scroll-t.viewport-t.row?t.scroll-t.viewport-t.row:e+o,this.s.skip=!1,this.s.dt.oFeatures.bStateSave&&null!==this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.iScroller){var E=!(!this.s.dt.sAjaxSource&&!A.s.dt.ajax||this.s.dt.oFeatures.bServerSide);(E&&2==this.s.dt.iDraw||!E&&1==this.s.dt.iDraw)&&setTimeout(function(){h(A.dom.scroller).scrollTop(A.s.dt.oLoadedState.iScroller),A.s.redrawTop=A.s.dt.oLoadedState.iScroller-t.viewport/2,setTimeout(function(){A.s.ingnoreScroll=!1},0)},0)}else A.s.ingnoreScroll=!1;this.s.dt.oFeatures.bInfo&&setTimeout(function(){A._info.call(A)},0),this.dom.loader&&this.s.loaderVisible&&(this.dom.loader.css("display","none"),this.s.loaderVisible=!1)},_domain:function(A,t){var e,s=this.s.heights,i=1e4;if(s.virtual===s.scroll)return t;if(t=s.virtual-i)return e=s.virtual-t,s.scroll-e;if("physicalToVirtual"===A&&t>=s.scroll-i)return e=s.scroll-t,s.virtual-e;var n=(s.virtual-i-i)/(s.scroll-i-i),r=i-n*i;return"virtualToPhysical"===A?(t-r)/n:n*t+r},_info:function(){if(this.s.dt.oFeatures.bInfo){var A,t=this.s.dt,e=t.oLanguage,s=this.dom.scroller.scrollTop,i=Math.floor(this.pixelsToRow(s,!1,this.s.ani)+1),n=t.fnRecordsTotal(),r=t.fnRecordsDisplay(),B=Math.ceil(this.pixelsToRow(s+this.s.heights.viewport,!1,this.s.ani)),o=re.viewport?"jump":"cont",this.s.topRowFloat="cont"===this.s.scrollType?this.pixelsToRow(s,!1,!1):this._domain("physicalToVirtual",s)/e.row,this.s.topRowFloat<0&&(this.s.topRowFloat=0),this.s.forceReposition||sthis.s.redrawBottom){var i=Math.ceil((this.s.displayBuffer-1)/2*this.s.viewportRows);if(A=parseInt(this.s.topRowFloat,10)-i,this.s.forceReposition=!1,A<=0?A=0:A+this.s.dt._iDisplayLength>this.s.dt.fnRecordsDisplay()?(A=this.s.dt.fnRecordsDisplay()-this.s.dt._iDisplayLength)<0&&(A=0):A%2!=0&&A++,A!=this.s.dt._iDisplayStart){this.s.tableTop=h(this.s.dt.nTable).offset().top,this.s.tableBottom=h(this.s.dt.nTable).height()+this.s.tableTop;var n=function(){null===t.s.scrollDrawReq&&(t.s.scrollDrawReq=s),t.s.dt._iDisplayStart=A,t.s.dt.oApi._fnDraw(t.s.dt)};this.s.dt.oFeatures.bServerSide?(clearTimeout(this.s.drawTO),this.s.drawTO=setTimeout(n,this.s.serverWait)):n(),this.dom.loader&&!this.s.loaderVisible&&(this.dom.loader.css("display","block"),this.s.loaderVisible=!0)}}else this.s.topRowFloat=this.pixelsToRow(s,!1,!0);this.s.lastScrollTop=s,this.s.stateSaveThrottle(),"jump"===this.s.scrollType&&this.s.mousedown&&this.dom.label.html(this.s.dt.fnFormatNumber(parseInt(this.s.topRowFloat,10)+1)).css("top",s+s*e.labelFactor).css("display","block")}},_scrollForce:function(){var A=this.s.heights;A.virtual=A.row*this.s.dt.fnRecordsDisplay(),A.scroll=A.virtual,1e6this.s.heights.row?A.scroll+"px":this.s.heights.row+"px"}}),o.defaults={boundaryScale:.5,displayBuffer:9,loadingIndicator:!1,rowHeight:"auto",serverWait:200},o.oDefaults=o.defaults,o.version="2.0.1",h(s).on("preInit.dt.dtscroller",function(A,t){if("dt"===A.namespace){var e=t.oInit.scroller,s=n.defaults.scroller;if(e||s){var i=h.extend({},e,s);!1!==e&&new o(t,i)}}}),h.fn.dataTable.Scroller=o,h.fn.DataTable.Scroller=o;var A=h.fn.dataTable.Api;return A.register("scroller()",function(){return this}),A.register("scroller().rowToPixels()",function(A,t,e){var s=this.context;if(s.length&&s[0].oScroller)return s[0].oScroller.rowToPixels(A,t,e)}),A.register("scroller().pixelsToRow()",function(A,t,e){var s=this.context;if(s.length&&s[0].oScroller)return s[0].oScroller.pixelsToRow(A,t,e)}),A.register(["scroller().scrollToRow()","scroller.toPosition()"],function(t,e){return this.iterator("table",function(A){A.oScroller&&A.oScroller.scrollToRow(t,e)}),this}),A.register("row().scrollTo()",function(s){var i=this;return this.iterator("row",function(A,t){if(A.oScroller){var e=i.rows({order:"applied",search:"applied"}).indexes().indexOf(t);A.oScroller.scrollToRow(e,s)}}),this}),A.register("scroller.measure()",function(t){return this.iterator("table",function(A){A.oScroller&&A.oScroller.measure(t)}),this}),A.register("scroller.page()",function(){var A=this.context;if(A.length&&A[0].oScroller)return A[0].oScroller.pageInfo()}),o},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(A){return n(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net")(A,t).$),n(t,A,A.document)}:n(jQuery,window,document),r=function(c,w,A,l){"use strict";var Q=c.fn.dataTable;function E(n,A,t){function e(t,e){if(eA.indexOf(e)){var s=e;e=t,t=s}var i=!1;return A.filter(function(A){return A===t&&(i=!0),A===e?!(i=!1):i})}var i,r,B;B=n.cells({selected:!0}).any()||t?(r=e(t.column,A.column),s(t.row,A.row)):(r=e(0,A.column),s(0,A.row)),i=n.cells(B,r).flatten(),n.cells(A,{selected:!0}).any()?n.cells(i).deselect():n.cells(i).select()}function s(A){var t=A.settings()[0]._select.selector;c(A.table().container()).off("mousedown.dtSelect",t).off("mouseup.dtSelect",t).off("click.dtSelect",t),c("body").off("click.dtSelect"+B(A.table().node()))}function i(E){var a,t=c(E.table().container()),e=E.settings()[0],s=e._select.selector;t.on("mousedown.dtSelect",s,function(A){(A.shiftKey||A.metaKey||A.ctrlKey)&&t.css("-moz-user-select","none").one("selectstart.dtSelect",s,function(){return!1}),w.getSelection&&(a=w.getSelection())}).on("mouseup.dtSelect",s,function(){t.css("-moz-user-select","")}).on("click.dtSelect",s,function(A){var t,e=E.select.items();if(a){var s=w.getSelection();if((!s.anchorNode||c(s.anchorNode).closest("table")[0]===E.table().node())&&s!==a)return}var i=E.settings()[0],n=c.trim(E.settings()[0].oClasses.sWrapper).replace(/ +/g,".");if(c(A.target).closest("div."+n)[0]==E.table().container()){var r=E.cell(c(A.target).closest("td, th"));if(r.any()){var B=c.Event("user-select.dt");if(g(E,B,[e,r,A]),!B.isDefaultPrevented()){var o=r.index();"row"===e?(t=o.row,C(A,E,i,"row",t)):"column"===e?(t=r.index().column,C(A,E,i,"column",t)):"cell"===e&&(t=r.index(),C(A,E,i,"cell",t)),i._select_lastCell=o}}}}),c("body").on("click.dtSelect"+B(E.table().node()),function(A){if(e._select.blurable){if(c(A.target).parents().filter(E.table().container()).length)return;if(0===c(A.target).parents("html").length)return;if(c(A.target).parents("div.DTE").length)return;r(e,!0)}})}function g(A,t,e,s){s&&!A.flatten().length||("string"==typeof t&&(t+=".dt"),e.unshift(A),c(A.table().node()).trigger(t,e))}function n(s){var A=s.settings()[0];if(A._select.info&&A.aanFeatures.i&&"api"!==s.select.style()){var i=s.rows({selected:!0}).flatten().length,n=s.columns({selected:!0}).flatten().length,r=s.cells({selected:!0}).flatten().length,B=function(A,t,e){A.append(c('').append(s.i18n("select."+t+"s",{_:"%d "+t+"s selected",0:"",1:"1 "+t+" selected"},e)))};c.each(A.aanFeatures.i,function(A,t){t=c(t);var e=c('');B(e,"row",i),B(e,"column",n),B(e,"cell",r);var s=t.children("span.select-info");s.length&&s.remove(),""!==e.text()&&t.append(e)})}}function a(A,t,e,s){var i=A[t+"s"]({search:"applied"}).indexes(),n=c.inArray(s,i),r=c.inArray(e,i);if(A[t+"s"]({selected:!0}).any()||-1!==n){if(rtd, >th",A).each(function(A){var t=i.column.index("toData",A);!1===s.s.current[t]&&l(this).css("display","none")})}),i.on("destroy.dtr",function(){i.off(".dtr"),l(i.table().body()).off(".dtr"),l(c).off("resize.dtr orientationchange.dtr"),l.each(s.s.current,function(A,t){!1===t&&s._setColumnVis(A,!0)})}),this.c.breakpoints.sort(function(A,t){return A.widtht.width?-1:0}),this._classLogic(),this._resizeAuto();var e=this.c.details;!1!==e.type&&(s._detailsInit(),i.on("column-visibility.dtr",function(){s._timer&&clearTimeout(s._timer),s._timer=setTimeout(function(){s._timer=null,s._classLogic(),s._resizeAuto(),s._resize(),s._redrawChildren()},100)}),i.on("draw.dtr",function(){s._redrawChildren()}),l(i.table().node()).addClass("dtr-"+e.type)),i.on("column-reorder.dtr",function(A,t,e){s._classLogic(),s._resizeAuto(),s._resize()}),i.on("column-sizing.dtr",function(){s._resizeAuto(),s._resize()}),i.on("preXhr.dtr",function(){var A=[];i.rows().every(function(){this.child.isShown()&&A.push(this.id(!0))}),i.one("draw.dtr",function(){s._resizeAuto(),s._resize(),i.rows(A).every(function(){s._detailsDisplay(this,!1)})})}),i.on("init.dtr",function(A,t,e){s._resizeAuto(),s._resize(),l.inArray(!1,s.s.current)&&i.columns.adjust()}),this._resize()},_columnsVisiblity:function(e){var A,t,s=this.s.dt,i=this.s.columns,n=i.map(function(A,t){return{columnIdx:t,priority:A.priority}}).sort(function(A,t){return A.priority!==t.priority?A.priority-t.priority:A.columnIdx-t.columnIdx}),r=l.map(i,function(A,t){return!1===s.column(t).visible()?"not-visible":(!A.auto||null!==A.minWidth)&&(!0===A.auto?"-":-1!==l.inArray(e,A.includeIn))}),B=0;for(A=0,t=r.length;A=i&&B(A,a[n].name);else if("not-"===e)for(n=0,r=a.length;n").append(o).appendTo(B)}l("").append(n).appendTo(t),"inline"===this.c.details.type&&l(A).addClass("dtr-inline collapsed"),l(A).find("[name]").removeAttr("name"),l(A).css("position","relative");var E=l("
").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(A);E.insertBefore(e.table().node()),n.each(function(A){var t=e.column.index("fromVisible",A);s[t].minWidth=this.offsetWidth||0}),E.remove()}},_setColumnVis:function(A,t){var e=this.s.dt,s=t?"":"none";l(e.column(A).header()).css("display",s),l(e.column(A).footer()).css("display",s),e.column(A).nodes().to$().css("display",s),l.isEmptyObject(w)||e.cells(null,A).indexes().each(function(A){a(e,A.row,A.column)})},_tabIndexes:function(){var A=this.s.dt,t=A.cells({page:"current"}).nodes().to$(),e=A.settings()[0],s=this.c.details.target;t.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),"number"==typeof s?A.cells(null,s,{page:"current"}).nodes().to$().attr("tabIndex",e.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===s&&(s=">td:first-child, >th:first-child"),l(s,A.rows({page:"current"}).nodes()).attr("tabIndex",e.iTabIndex).data("dtr-keyboard",1))}}),i.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],i.display={childRow:function(A,t,e){return t?l(A.node()).hasClass("parent")?(A.child(e(),"child").show(),!0):void 0:A.child.isShown()?(A.child(!1),l(A.node()).removeClass("parent"),!1):(A.child(e(),"child").show(),l(A.node()).addClass("parent"),!0)},childRowImmediate:function(A,t,e){return!t&&A.child.isShown()||!A.responsive.hasHidden()?(A.child(!1),l(A.node()).removeClass("parent"),!1):(A.child(e(),"child").show(),l(A.node()).addClass("parent"),!0)},modal:function(n){return function(A,t,e){if(t)l("div.dtr-modal-content").empty().append(e());else{var s=function(){i.remove(),l(r).off("keypress.dtr")},i=l('
').append(l('
').append(l('
').append(e())).append(l('
×
').click(function(){s()}))).append(l('
').click(function(){s()})).appendTo("body");l(r).on("keyup.dtr",function(A){27===A.keyCode&&(A.stopPropagation(),s())})}n&&n.header&&l("div.dtr-modal-content").prepend("

"+n.header(A)+"

")}}};var w={};function a(A,t,e){var s=t+"-"+e;if(w[s]){for(var i=A.cell(t,e).node(),n=w[s][0].parentNode.childNodes,r=[],B=0,o=n.length;B'),i=!1;l.each(t,function(A,t){t.hidden&&(l('
  • '+t.title+"
  • ").append(l('').append(function(A,t,e){var s=t+"-"+e;if(w[s])return w[s];for(var i=[],n=A.cell(t,e).node().childNodes,r=0,B=n.length;r'+A.title+' '+A.data+"":""}).join("");return!!s&&l('
      ').append(s)}},tableAll:function(i){return i=l.extend({tableClass:""},i),function(A,t,e){var s=l.map(e,function(A){return''+A.title+": "+A.data+""}).join("");return l('').append(s)}}},i.defaults={breakpoints:i.breakpoints,auto:!0,details:{display:i.display.childRow,renderer:i.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var A=l.fn.dataTable.Api;return A.register("responsive()",function(){return this}),A.register("responsive.index()",function(A){return{column:(A=l(A)).data("dtr-index"),row:A.parent().data("dtr-index")}}),A.register("responsive.rebuild()",function(){return this.iterator("table",function(A){A._responsive&&A._responsive._classLogic()})}),A.register("responsive.recalc()",function(){return this.iterator("table",function(A){A._responsive&&(A._responsive._resizeAuto(),A._responsive._resize())})}),A.register("responsive.hasHidden()",function(){var A=this.context[0];return!!A._responsive&&-1!==l.inArray(!1,A._responsive.s.current)}),A.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",function(){return this.iterator("column",function(A,t){return!!A._responsive&&A._responsive.s.current[t]},1)}),i.version="2.2.3",l.fn.dataTable.Responsive=i,l.fn.DataTable.Responsive=i,l(r).on("preInit.dt.dtr",function(A,t,e){if("dt"===A.namespace&&(l(t.nTable).hasClass("responsive")||l(t.nTable).hasClass("dt-responsive")||t.oInit.responsive||n.defaults.responsive)){var s=t.oInit.responsive;!1!==s&&new i(t,l.isPlainObject(s)?s:{})}}),i},"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(A){return B(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net")(A,t).$),B(t,A,A.document)}:B(jQuery,window,document),o=function(A,t,e,s){return A.fn.dataTable},"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-responsive"],function(A){return o(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net-dt")(A,t).$),t.fn.dataTable.Responsive||require("datatables.net-responsive")(A,t),o(t,0,A.document)}:o(jQuery,window,document),E=function(A,t,e,s){return A.fn.dataTable},"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-scroller"],function(A){return E(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net-dt")(A,t).$),t.fn.dataTable.Scroller||require("datatables.net-scroller")(A,t),E(t,0,A.document)}:E(jQuery,window,document),a=function(A,t,e,s){return A.fn.dataTable},"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-select"],function(A){return a(A,window,document)}):"object"==typeof exports?module.exports=function(A,t){return A=A||window,t&&t.fn.dataTable||(t=require("datatables.net-dt")(A,t).$),t.fn.dataTable.select||require("datatables.net-select")(A,t),a(t,0,A.document)}:a(jQuery,window,document),w=function(F,Y,x,f){"use strict";var i,s=F.fn.dataTable,e=0,l=0,E=s.ext.buttons,m=function(t,A){if(!(this instanceof m))return function(A){return new m(A,t).container()};void 0===A&&(A={}),!0===A&&(A={}),F.isArray(A)&&(A={buttons:A}),this.c=F.extend(!0,{},m.defaults,A),A.buttons&&(this.c.buttons=A.buttons),this.s={dt:new s.Api(t),buttons:[],listenKeys:"",namespace:"dtb"+e++},this.dom={container:F("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};F.extend(m.prototype,{action:function(A,t){var e=this._nodeToButton(A);return t===f?e.conf.action:(e.conf.action=t,this)},active:function(A,t){var e=this._nodeToButton(A),s=this.c.dom.button.active,i=F(e.node);return t===f?i.hasClass(s):(i.toggleClass(s,t===f||t),this)},add:function(A,t){var e=this.s.buttons;if("string"==typeof t){for(var s=t.split("-"),i=this.s,n=0,r=s.length-1;n"),E.conf._collection=E.collection,this._expandButton(E.buttons,E.conf.buttons,!0,s)),o.init&&o.init.call(i.button(E.node),i,F(E.node),o),0)}}},_buildButton:function(t,A){function e(A){return"function"==typeof A?A(r,a,t):A}var s=this.c.dom.button,i=this.c.dom.buttonLiner,n=this.c.dom.collection,r=this.s.dt;if(A&&n.button&&(s=n.button),A&&n.buttonLiner&&(i=n.buttonLiner),t.available&&!t.available(r,t))return!1;function B(A,t,e,s){s.action.call(t.button(e),A,t,e,s),F(t.table().node()).triggerHandler("buttons-action.dt",[t.button(e),t,e,s])}var o=t.tag||s.tag,E=t.clickBlurs===f||t.clickBlurs,a=F("<"+o+"/>").addClass(s.className).attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",function(A){A.preventDefault(),!a.hasClass(s.disabled)&&t.action&&B(A,r,a,t),E&&a.blur()}).on("keyup.dtb",function(A){13===A.keyCode&&!a.hasClass(s.disabled)&&t.action&&B(A,r,a,t)});if("a"===o.toLowerCase()&&a.attr("href","#"),"button"===o.toLowerCase()&&a.attr("type","button"),i.tag){var w=F("<"+i.tag+"/>").html(e(t.text)).addClass(i.className);"a"===i.tag.toLowerCase()&&w.attr("href","#"),a.append(w)}else a.html(e(t.text));!1===t.enabled&&a.addClass(s.disabled),t.className&&a.addClass(t.className),t.titleAttr&&a.attr("title",e(t.titleAttr)),t.attr&&a.attr(t.attr),t.namespace||(t.namespace=".dt-button-"+l++);var g,c=this.c.dom.buttonContainer;return g=c&&c.tag?F("<"+c.tag+"/>").addClass(c.className).append(a):a,this._addKey(t),this.c.buttonCreated&&(g=this.c.buttonCreated(t,g)),{conf:t,node:a.get(0),inserter:g,buttons:[],inCollection:A,collection:null}},_nodeToButton:function(A,t){for(var e=0,s=(t=t||this.s.buttons).length;e").addClass("dt-button-collection").addClass(r.collectionLayout).css("display","none");e=F(e).addClass(r.contentClassName).attr("role","menu").appendTo(E),B.attr("aria-expanded","true"),B.parents("body")[0]!==x.body&&(B=x.body.lastChild),r.collectionTitle&&E.prepend('
      '+r.collectionTitle+"
      "),E.insertAfter(B).fadeIn(r.fade);var a=F(A.table().container()),w=E.css("position");if("dt-container"===r.align&&(B=B.parent(),E.css("width",a.width())),"absolute"===w){var g=B.position();E.css({top:g.top+B.outerHeight(),left:g.left});var c=E.outerHeight(),l=E.outerWidth(),Q=a.offset().top+a.height(),C=g.top+B.outerHeight()+c-Q,h=g.top-c,u=a.offset().top,f=u-h,I=g.top-c-5;(fF(Y).width()&&E.css("left",g.left-(D-F(Y).width()))}else{var v=E.height()/2;v>F(Y).height()/2&&(v=F(Y).height()/2),E.css("marginTop",-1*v)}r.background&&m.background(!0,r.backgroundClassName,r.fade,B),F("div.dt-button-background").on("click.dtb-collection",function(){}),F("body").on("click.dtb-collection",function(A){var t=F.fn.addBack?"addBack":"andSelf";F(A.target).parents()[t]().filter(e).length||i()}).on("keyup.dtb-collection",function(A){27===A.keyCode&&i()}),r.autoClose&&setTimeout(function(){s.on("buttons-action.b-internal",function(A,t,e,s){s[0]!==B[0]&&i()})},0)}}),m.background=function(A,t,e,s){e===f&&(e=400),s=s||x.body,A?F("
      ").addClass(t).css("display","none").insertAfter(s).stop().fadeIn(e):F("div."+t).stop().fadeOut(e,function(){F(this).removeClass(t).remove()})},m.instanceSelector=function(A,i){if(A===f||null===A)return F.map(i,function(A){return A.inst});var n=[],r=F.map(i,function(A){return A.name}),B=function(A){if(F.isArray(A))for(var t=0,e=A.length;t"+A+"":"",F('
      ').html(A).append(F("
      ")["string"==typeof t?"html":"append"](t)).css("display","none").appendTo("body").fadeIn(),e!==f&&0!==e&&(i=setTimeout(function(){s.buttons.info(!1)},e)),this.on("destroy.btn-info",function(){s.buttons.info(!1)})),this}),s.Api.register("buttons.exportData()",function(A){if(this.context.length)return o(new s.Api(this.context[0]),A)}),s.Api.register("buttons.exportInfo()",function(A){return{filename:t(A=A||{}),title:r(A),messageTop:B(this,A.message||A.messageTop,"top"),messageBottom:B(this,A.messageBottom,"bottom")}});var t=function(A){var t="*"===A.filename&&"*"!==A.title&&A.title!==f&&null!==A.title&&""!==A.title?A.title:A.filename;if("function"==typeof t&&(t=t()),t===f||null===t)return null;-1!==t.indexOf("*")&&(t=F.trim(t.replace("*",F("head > title").text()))),t=t.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,"");var e=n(A.extension);return t+(e=e||"")},n=function(A){return null===A||A===f?null:"function"==typeof A?A():A},r=function(A){var t=n(A.title);return null===t?null:-1!==t.indexOf("*")?t.replace("*",F("head > title").text()||"Exported data"):t},B=function(A,t,e){var s=n(t);if(null===s)return null;var i=F("caption",A.table().container()).eq(0);return"*"!==s?s:i.css("caption-side")!==e?null:i.length?i.text():""},I=F("