text: !function(t){"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n||(n="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){function a(e){var n,o,r={};t.each(e,(function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(o=t.replace(n[0],n[2].toLowerCase()),r[o]=t,"o"===n[1]&&a(e[t]))})),e._hungarianMap=r}function r(e,n,l){var i;e._hungarianMap||a(e),t.each(n,(function(a){(i=e._hungarianMap[a])===o||!l&&n[i]!==o||("o"===i.charAt(0)?(n[i]||(n[i]={}),t.extend(!0,n[i],n[a]),r(e[i],n[i],l)):n[i]=n[a])}))}function l(t){var e=Xt.defaults.oLanguage,n=e.sDecimal;if(n&&Mt(n),t){var o=t.sZeroRecords;!t.sEmptyTable&&o&&"No data available in table"===e.sEmptyTable&&Bt(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&o&&"Loading..."===e.sLoadingRecords&&Bt(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&n!==t&&Mt(t)}}function i(t){if(ce(t,"ordering","bSort"),ce(t,"orderMulti","bSortMulti"),ce(t,"orderClasses","bSortClasses"),ce(t,"orderCellsTop","bSortCellsTop"),ce(t,"order","aaSorting"),ce(t,"orderFixed","aaSortingFixed"),ce(t,"paging","bPaginate"),ce(t,"pagingType","sPaginationType"),ce(t,"pageLength","iDisplayLength"),ce(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":""),t=t.aoSearchCols)for(var e=0,n=t.length;e<n;e++)t[e]&&r(Xt.models.oSearch,t[e])}function s(t){ce(t,"orderable","bSortable"),ce(t,"orderData","aDataSort"),ce(t,"orderSequence","asSorting"),ce(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"==typeof e&&!Array.isArray(e)&&(t.aDataSort=[e])}function d(n){if(!Xt.__browser){var o={};Xt.__browser=o;var a=t("<div/>").css({position:"fixed",top:0,left:-1*t(e).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=a.children(),l=r.children();o.barWidth=r[0].offsetWidth-r[0].clientWidth,o.bScrollOversize=100===l[0].offsetWidth&&100!==r[0].clientWidth,o.bScrollbarLeft=1!==Math.round(l.offset().left),o.bBounding=!!a[0].getBoundingClientRect().width,a.remove()}t.extend(n.oBrowser,Xt.__browser),n.oScroll.iBarWidth=Xt.__browser.barWidth}function c(t,e,n,a,r,l){var i,s=!1;for(n!==o&&(i=n,s=!0);a!==r;)t.hasOwnProperty(a)&&(i=s?e(i,t[a],a,t):t[a],s=!0,a+=l);return i}function u(e,o){var a=Xt.defaults.column,r=e.aoColumns.length;a=t.extend({},Xt.models.oColumn,a,{nTh:o||n.createElement("th"),sTitle:a.sTitle?a.sTitle:o?o.innerHTML:"",aDataSort:a.aDataSort?a.aDataSort:[r],mData:a.mData?a.mData:r,idx:r});e.aoColumns.push(a),(a=e.aoPreSearchCols)[r]=t.extend({},Xt.models.oSearch,a[r]),f(e,r,t(o).data())}function f(e,n,a){n=e.aoColumns[n];var l=e.oClasses,i=t(n.nTh);if(!n.sWidthOrig){n.sWidthOrig=i.attr("width")||null;var d=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);d&&(n.sWidthOrig=d[1])}a!==o&&null!==a&&(s(a),r(Xt.defaults.column,a,!0),a.mDataProp!==o&&!a.mData&&(a.mData=a.mDataProp),a.sType&&(n._sManualType=a.sType),a.className&&!a.sClass&&(a.sClass=a.className),a.sClass&&i.addClass(a.sClass),t.extend(n,a),Bt(n,a,"sWidth","sWidthOrig"),a.iDataSort!==o&&(n.aDataSort=[a.iDataSort]),Bt(n,a,"aDataSort"));var c=n.mData,u=S(c),f=n.mRender?S(n.mRender):null;a=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};n._bAttrSrc=t.isPlainObject(c)&&(a(c.sort)||a(c.type)||a(c.filter)),n._setter=null,n.fnGetData=function(t,e,n){var a=u(t,e,o,n);return f&&e?f(a,e,t,n):a},n.fnSetData=function(t,e,n){return C(c)(t,e,n)},"number"!=typeof c&&(e._rowReadObject=!0),e.oFeatures.bSort||(n.bSortable=!1,i.addClass(l.sSortableNone)),e=-1!==t.inArray("asc",n.asSorting),a=-1!==t.inArray("desc",n.asSorting),n.bSortable&&(e||a)?e&&!a?(n.sSortingClass=l.sSortableAsc,n.sSortingClassJUI=l.sSortJUIAscAllowed):!e&&a?(n.sSortingClass=l.sSortableDesc,n.sSortingClassJUI=l.sSortJUIDescAllowed):(n.sSortingClass=l.sSortable,n.sSortingClassJUI=l.sSortJUI):(n.sSortingClass=l.sSortableNone,n.sSortingClassJUI="")}function p(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;mt(t);for(var n=0,o=e.length;n<o;n++)e[n].nTh.style.width=e[n].sWidth}(""!==(e=t.oScroll).sY||""!==e.sX)&&pt(t),Pt(t,null,"column-sizing",[t])}function h(t,e){var n=y(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function m(e,n){var o=y(e,"bVisible");return-1!==(o=t.inArray(n,o))?o:null}function b(e){var n=0;return t.each(e.aoColumns,(function(e,o){o.bVisible&&"none"!==t(o.nTh).css("display")&&n++})),n}function y(e,n){var o=[];return t.map(e.aoColumns,(function(t,e){t[n]&&o.push(e)})),o}function g(t){var e,n,a,r,l,i,s,d,c,u=t.aoColumns,f=t.aoData,p=Xt.ext.type.detect;for(e=0,n=u.length;e<n;e++)if(c=[],!(s=u[e]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(a=0,r=p.length;a<r;a++){for(l=0,i=f.length;l<i&&(c[l]===o&&(c[l]=w(t,l,e,"type")),(d=p[a](c[l],t))||a===p.length-1)&&"html"!==d;l++);if(d){s.sType=d;break}}s.sType||(s.sType="string")}}function v(e,n,a,r){var l,i,s,d,c,f,p=e.aoColumns;if(n)for(l=n.length-1;0<=l;l--){var h=(f=n[l]).targets!==o?f.targets:f.aTargets;for(Array.isArray(h)||(h=[h]),i=0,s=h.length;i<s;i++)if("number"==typeof h[i]&&0<=h[i]){for(;p.length<=h[i];)u(e);r(h[i],f)}else if("number"==typeof h[i]&&0>h[i])r(p.length+h[i],f);else if("string"==typeof h[i])for(d=0,c=p.length;d<c;d++)("_all"==h[i]||t(p[d].nTh).hasClass(h[i]))&&r(d,f)}if(a)for(l=0,e=a.length;l<e;l++)r(l,a[l])}function x(e,n,a,r){var l=e.aoData.length,i=t.extend(!0,{},Xt.models.oRow,{src:a?"dom":"data",idx:l});i._aData=n,e.aoData.push(i);for(var s=e.aoColumns,d=0,c=s.length;d<c;d++)s[d].sType=null;return e.aiDisplayMaster.push(l),(n=e.rowIdFn(n))!==o&&(e.aIds[n]=i),(a||!e.oFeatures.bDeferRender)&&N(e,l,a,r),l}function I(e,n){var o;return n instanceof t||(n=t(n)),n.map((function(t,n){return o=B(e,n),x(e,o.data,n,o.cells)}))}function w(t,e,n,a){var r=t.iDraw,l=t.aoColumns[n],i=t.aoData[e]._aData,s=l.sDefaultContent,d=l.fnGetData(i,a,{settings:t,row:e,col:n});if(d===o)return t.iDrawError!=r&&null===s&&(kt(t,0,"Requested unknown parameter "+("function"==typeof l.mData?"{function}":"'"+l.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=r),s;if(d!==i&&null!==d||null===s||a===o){if("function"==typeof d)return d.call(i)}else d=s;return null===d&&"display"==a?"":d}function F(t,e,n,o){t.aoColumns[n].fnSetData(t.aoData[e]._aData,o,{settings:t,row:e,col:n})}function _(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],(function(t){return t.replace(/\\\./g,".")}))}function S(e){if(t.isPlainObject(e)){var n={};return t.each(e,(function(t,e){e&&(n[t]=S(e))})),function(t,e,a,r){var l=n[e]||n._;return l!==o?l(t,e,a,r):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,n,o,a){return e(t,n,o,a)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var a=function(t,e,n){var r,l;if(""!==n)for(var i=0,s=(l=_(n)).length;i<s;i++){if(n=l[i].match(ue),r=l[i].match(fe),n){if(l[i]=l[i].replace(ue,""),""!==l[i]&&(t=t[l[i]]),r=[],l.splice(0,i+1),l=l.join("."),Array.isArray(t))for(i=0,s=t.length;i<s;i++)r.push(a(t[i],e,l));t=""===(t=n[0].substring(1,n[0].length-1))?r:r.join(t);break}if(r)l[i]=l[i].replace(fe,""),t=t[l[i]]();else{if(null===t||t[l[i]]===o)return o;t=t[l[i]]}}return t};return function(t,n){return a(t,n,e)}}return function(t){return t[e]}}function C(e){if(t.isPlainObject(e))return C(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,n,o){e(t,"set",n,o)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var n=function(t,e,a){var r;r=(a=_(a))[a.length-1];for(var l,i,s=0,d=a.length-1;s<d;s++){if("__proto__"===a[s]||"constructor"===a[s])throw Error("Cannot set prototype values");if(l=a[s].match(ue),i=a[s].match(fe),l){if(a[s]=a[s].replace(ue,""),t[a[s]]=[],(r=a.slice()).splice(0,s+1),l=r.join("."),Array.isArray(e))for(i=0,d=e.length;i<d;i++)n(r={},e[i],l),t[a[s]].push(r);else t[a[s]]=e;return}i&&(a[s]=a[s].replace(fe,""),t=t[a[s]](e)),null!==t[a[s]]&&t[a[s]]!==o||(t[a[s]]={}),t=t[a[s]]}r.match(fe)?t[r.replace(fe,"")](e):t[r.replace(ue,"")]=e};return function(t,o){return n(t,o,e)}}return function(t,n){t[e]=n}}function T(t){return ae(t.aoData,"_aData")}function D(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function A(t,e,n){for(var a=-1,r=0,l=t.length;r<l;r++)t[r]==e?a=r:t[r]>e&&t[r]--;-1!=a&&n===o&&t.splice(a,1)}function k(t,e,n,a){var r,l=t.aoData[e],i=function(n,o){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=w(t,e,o,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==l.src)){var s=l.anCells;if(s)if(a!==o)i(s[a],a);else for(n=0,r=s.length;n<r;n++)i(s[n],n)}else l._aData=B(t,l,a,a===o?o:l._aData).data;if(l._aSortData=null,l._aFilterData=null,i=t.aoColumns,a!==o)i[a].sType=null;else{for(n=0,r=i.length;n<r;n++)i[n].sType=null;L(t,l)}}function B(t,e,n,a){var r,l,i,s=[],d=e.firstChild,c=0,u=t.aoColumns,f=t._rowReadObject,p=(a=a!==o?a:f?{}:[],function(t,e){if("string"==typeof t){var n=t.indexOf("@");-1!==n&&(n=t.substring(n+1),C(t)(a,e.getAttribute(n)))}}),h=function(t){n!==o&&n!==c||(l=u[c],i=t.innerHTML.trim(),l&&l._bAttrSrc?(C(l.mData._)(a,i),p(l.mData.sort,t),p(l.mData.type,t),p(l.mData.filter,t)):f?(l._setter||(l._setter=C(l.mData)),l._setter(a,i)):a[c]=i),c++};if(d)for(;d;)"TD"!=(r=d.nodeName.toUpperCase())&&"TH"!=r||(h(d),s.push(d)),d=d.nextSibling;else for(d=0,r=(s=e.anCells).length;d<r;d++)h(s[d]);return(e=e.firstChild?e:e.nTr)&&(e=e.getAttribute("id"))&&C(t.rowId)(a,e),{data:a,cells:s}}function N(e,o,a,r){var l,i,s,d,c,u=e.aoData[o],f=u._aData,p=[];if(null===u.nTr){for(l=a||n.createElement("tr"),u.nTr=l,u.anCells=p,l._DT_RowIndex=o,L(e,u),s=0,d=e.aoColumns.length;s<d;s++)i=e.aoColumns[s],(u=(c=!a)?n.createElement(i.sCellType):r[s])._DT_CellIndex={row:o,column:s},p.push(u),!c&&(!i.mRender&&i.mData===s||t.isPlainObject(i.mData)&&i.mData._===s+".display")||(u.innerHTML=w(e,o,s,"display")),i.sClass&&(u.className+=" "+i.sClass),i.bVisible&&!a?l.appendChild(u):!i.bVisible&&a&&u.parentNode.removeChild(u),i.fnCreatedCell&&i.fnCreatedCell.call(e.oInstance,u,w(e,o,s),f,o,s);Pt(e,"aoRowCreatedCallback",null,[l,f,o,p])}}function L(e,n){var o=n.nTr,a=n._aData;if(o){var r=e.rowIdFn(a);r&&(o.id=r),a.DT_RowClass&&(r=a.DT_RowClass.split(" "),n.__rowc=n.__rowc?se(n.__rowc.concat(r)):r,t(o).removeClass(n.__rowc.join(" ")).addClass(a.DT_RowClass)),a.DT_RowAttr&&t(o).attr(a.DT_RowAttr),a.DT_RowData&&t(o).data(a.DT_RowData)}}function R(e){var n,o,a,r,l,i=e.nTHead,s=e.nTFoot,d=0===t("th, td",i).length,c=e.oClasses,u=e.aoColumns;for(d&&(r=t("<tr/>").appendTo(i)),n=0,o=u.length;n<o;n++)l=u[n],a=t(l.nTh).addClass(l.sClass),d&&a.appendTo(r),e.oFeatures.bSort&&(a.addClass(l.sSortingClass),!1!==l.bSortable&&(a.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),_t(e,l.nTh,n))),l.sTitle!=a[0].innerHTML&&a.html(l.sTitle),Ot(e,"header")(e,a,l,c);if(d&&H(e.aoHeader,i),t(i).children("tr").attr("role","row"),t(i).children("tr").children("th, td").addClass(c.sHeaderTH),t(s).children("tr").children("th, td").addClass(c.sFooterTH),null!==s)for(n=0,o=(e=e.aoFooter[0]).length;n<o;n++)(l=u[n]).nTf=e[n].cell,l.sClass&&t(l.nTf).addClass(l.sClass)}function P(e,n,a){var r,l,i,s,d=[],c=[],u=e.aoColumns.length;if(n){for(a===o&&(a=!1),r=0,l=n.length;r<l;r++){for(d[r]=n[r].slice(),d[r].nTr=n[r].nTr,i=u-1;0<=i;i--)!e.aoColumns[i].bVisible&&!a&&d[r].splice(i,1);c.push([])}for(r=0,l=d.length;r<l;r++){if(e=d[r].nTr)for(;i=e.firstChild;)e.removeChild(i);for(i=0,n=d[r].length;i<n;i++)if(s=u=1,c[r][i]===o){for(e.appendChild(d[r][i].cell),c[r][i]=1;d[r+u]!==o&&d[r][i].cell==d[r+u][i].cell;)c[r+u][i]=1,u++;for(;d[r][i+s]!==o&&d[r][i].cell==d[r][i+s].cell;){for(a=0;a<u;a++)c[r+a][i+s]=1;s++}t(d[r][i].cell).attr("rowspan",u).attr("colspan",s)}}}}function j(e){var n=Pt(e,"aoPreDrawCallback","preDraw",[e]);if(-1!==t.inArray(!1,n))ut(e,!1);else{n=[];var a=0,r=e.asStripeClasses,l=r.length,i=e.oLanguage,s=e.iInitDisplayStart,d="ssp"==Et(e),c=e.aiDisplay;e.bDrawing=!0,s!==o&&-1!==s&&(e._iDisplayStart=d?s:s>=e.fnRecordsDisplay()?0:s,e.iInitDisplayStart=-1);s=e._iDisplayStart;var u=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,ut(e,!1);else if(d){if(!e.bDestroying&&!W(e))return}else e.iDraw++;if(0!==c.length)for(i=d?e.aoData.length:u,d=d?0:s;d<i;d++){var f=c[d],p=e.aoData[f];null===p.nTr&&N(e,f);var h=p.nTr;if(0!==l){var m=r[a%l];p._sRowStripe!=m&&(t(h).removeClass(p._sRowStripe).addClass(m),p._sRowStripe=m)}Pt(e,"aoRowCallback",null,[h,p._aData,a,d,f]),n.push(h),a++}else a=i.sZeroRecords,1==e.iDraw&&"ajax"==Et(e)?a=i.sLoadingRecords:i.sEmptyTable&&0===e.fnRecordsTotal()&&(a=i.sEmptyTable),n[0]=t("<tr/>",{class:l?r[0]:""}).append(t("<td />",{valign:"top",colSpan:b(e),class:e.oClasses.sRowEmpty}).html(a))[0];Pt(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],T(e),s,u,c]),Pt(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],T(e),s,u,c]),(r=t(e.nTBody)).children().detach(),r.append(t(n)),Pt(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function O(t,e){var n=t.oFeatures,o=n.bFilter;n.bSort&&It(t),o?V(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function E(e){var n=e.oClasses,o=t(e.nTable),a=(o=t("<div/>").insertBefore(o),e.oFeatures),r=t("<div/>",{id:e.sTableId+"_wrapper",class:n.sWrapper+(e.nTFoot?"":" "+n.sNoFooter)});e.nHolding=o[0],e.nTableWrapper=r[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var l,i,s,d,c,u,f=e.sDom.split(""),p=0;p<f.length;p++){if(l=null,"<"==(i=f[p])){if(s=t("<div/>")[0],"'"==(d=f[p+1])||'"'==d){for(c="",u=2;f[p+u]!=d;)c+=f[p+u],u++;"H"==c?c=n.sJUIHeader:"F"==c&&(c=n.sJUIFooter),-1!=c.indexOf(".")?(d=c.split("."),s.id=d[0].substr(1,d[0].length-1),s.className=d[1]):"#"==c.charAt(0)?s.id=c.substr(1,c.length-1):s.className=c,p+=u}r.append(s),r=t(s)}else if(">"==i)r=r.parent();else if("l"==i&&a.bPaginate&&a.bLengthChange)l=it(e);else if("f"==i&&a.bFilter)l=X(e);else if("r"==i&&a.bProcessing)l=ct(e);else if("t"==i)l=ft(e);else if("i"==i&&a.bInfo)l=et(e);else if("p"==i&&a.bPaginate)l=st(e);else if(0!==Xt.ext.feature.length)for(u=0,d=(s=Xt.ext.feature).length;u<d;u++)if(i==s[u].cFeature){l=s[u].fnInit(e);break}l&&((s=e.aanFeatures)[i]||(s[i]=[]),s[i].push(l),r.append(l))}o.replaceWith(r),e.nHolding=null}function H(e,n){var o,a,r,l,i,s,d,c,u,f,p=t(n).children("tr");for(e.splice(0,e.length),r=0,s=p.length;r<s;r++)e.push([]);for(r=0,s=p.length;r<s;r++)for(a=(o=p[r]).firstChild;a;){if("TD"==a.nodeName.toUpperCase()||"TH"==a.nodeName.toUpperCase()){for(c=(c=1*a.getAttribute("colspan"))&&0!==c&&1!==c?c:1,u=(u=1*a.getAttribute("rowspan"))&&0!==u&&1!==u?u:1,l=0,i=e[r];i[l];)l++;for(d=l,f=1===c,i=0;i<c;i++)for(l=0;l<u;l++)e[r+l][d+i]={cell:a,unique:f},e[r+l].nTr=o}a=a.nextSibling}}function M(t,e,n){var o=[];n||(n=t.aoHeader,e&&H(n=[],e));e=0;for(var a=n.length;e<a;e++)for(var r=0,l=n[e].length;r<l;r++)!n[e][r].unique||o[r]&&t.bSortCellsTop||(o[r]=n[e][r].cell);return o}function z(e,n,o){if(Pt(e,"aoServerParams","serverParams",[n]),n&&Array.isArray(n)){var a={},r=/(.*?)\[\]$/;t.each(n,(function(t,e){var n=e.name.match(r);n?(n=n[0],a[n]||(a[n]=[]),a[n].push(e.value)):a[e.name]=e.value})),n=a}var l,i=e.ajax,s=e.oInstance,d=function(t){Pt(e,null,"xhr",[e,t,e.jqXHR]),o(t)};if(t.isPlainObject(i)&&i.data){var c="function"==typeof(l=i.data)?l(n,e):l;n="function"==typeof l&&c?c:t.extend(!0,n,c);delete i.data}c={data:n,success:function(t){var n=t.error||t.sError;n&&kt(e,0,n),e.json=t,d(t)},dataType:"json",cache:!1,type:e.sServerMethod,error:function(n,o){var a=Pt(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,a)&&("parsererror"==o?kt(e,0,"Invalid JSON response",1):4===n.readyState&&kt(e,0,"Ajax error",7)),ut(e,!1)}},e.oAjaxData=n,Pt(e,null,"preXhr",[e,n]),e.fnServerData?e.fnServerData.call(s,e.sAjaxSource,t.map(n,(function(t,e){return{name:e,value:t}})),d,e):e.sAjaxSource||"string"==typeof i?e.jqXHR=t.ajax(t.extend(c,{url:i||e.sAjaxSource})):"function"==typeof i?e.jqXHR=i.call(s,n,d,e):(e.jqXHR=t.ajax(t.extend(c,i)),i.data=l)}function W(t){return!t.bAjaxDataGet||(t.iDraw++,ut(t,!0),z(t,$(t),(function(e){U(t,e)})),!1)}function $(e){var n,o,a,r,l=e.aoColumns,i=l.length,s=e.oFeatures,d=e.oPreviousSearch,c=e.aoPreSearchCols,u=[],f=xt(e);n=e._iDisplayStart,o=!1!==s.bPaginate?e._iDisplayLength:-1;var p=function(t,e){u.push({name:t,value:e})};p("sEcho",e.iDraw),p("iColumns",i),p("sColumns",ae(l,"sName").join(",")),p("iDisplayStart",n),p("iDisplayLength",o);var h={draw:e.iDraw,columns:[],order:[],start:n,length:o,search:{value:d.sSearch,regex:d.bRegex}};for(n=0;n<i;n++)a=l[n],r=c[n],o="function"==typeof a.mData?"function":a.mData,h.columns.push({data:o,name:a.sName,searchable:a.bSearchable,orderable:a.bSortable,search:{value:r.sSearch,regex:r.bRegex}}),p("mDataProp_"+n,o),s.bFilter&&(p("sSearch_"+n,r.sSearch),p("bRegex_"+n,r.bRegex),p("bSearchable_"+n,a.bSearchable)),s.bSort&&p("bSortable_"+n,a.bSortable);return s.bFilter&&(p("sSearch",d.sSearch),p("bRegex",d.bRegex)),s.bSort&&(t.each(f,(function(t,e){h.order.push({column:e.col,dir:e.dir}),p("iSortCol_"+t,e.col),p("sSortDir_"+t,e.dir)})),p("iSortingCols",f.length)),null===(l=Xt.ext.legacy.ajax)?e.sAjaxSource?u:h:l?u:h}function U(t,e){var n=q(t,e),a=e.sEcho!==o?e.sEcho:e.draw,r=e.iTotalRecords!==o?e.iTotalRecords:e.recordsTotal,l=e.iTotalDisplayRecords!==o?e.iTotalDisplayRecords:e.recordsFiltered;if(a!==o){if(1*a<t.iDraw)return;t.iDraw=1*a}for(D(t),t._iRecordsTotal=parseInt(r,10),t._iRecordsDisplay=parseInt(l,10),a=0,r=n.length;a<r;a++)x(t,n[a]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,j(t),t._bInitComplete||rt(t,e),t.bAjaxDataGet=!0,ut(t,!1)}function q(e,n){var a=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==o?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===a?n.aaData||n[a]:""!==a?S(a)(n):n}function X(e){var o=e.oClasses,a=e.sTableId,r=e.oLanguage,l=e.oPreviousSearch,i=e.aanFeatures,s='<input type="search" class="'+o.sFilterInput+'"/>',d=(d=r.sSearch).match(/_INPUT_/)?d.replace("_INPUT_",s):d+s,c=(o=t("<div/>",{id:i.f?null:a+"_filter",class:o.sFilter}).append(t("<label/>").append(d)),function(){var t=this.value?this.value:"";t!=l.sSearch&&(V(e,{sSearch:t,bRegex:l.bRegex,bSmart:l.bSmart,bCaseInsensitive:l.bCaseInsensitive}),e._iDisplayStart=0,j(e))}),u=(i=null!==e.searchDelay?e.searchDelay:"ssp"===Et(e)?400:0,t("input",o).val(l.sSearch).attr("placeholder",r.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",i?ye(c,i):c).on("mouseup",(function(){setTimeout((function(){c.call(u[0])}),10)})).on("keypress.DT",(function(t){if(13==t.keyCode)return!1})).attr("aria-controls",a));return t(e.nTable).on("search.dt.DT",(function(t,o){if(e===o)try{u[0]!==n.activeElement&&u.val(l.sSearch)}catch(t){}})),o[0]}function V(t,e,n){var a=t.oPreviousSearch,r=t.aoPreSearchCols,l=function(t){a.sSearch=t.sSearch,a.bRegex=t.bRegex,a.bSmart=t.bSmart,a.bCaseInsensitive=t.bCaseInsensitive};if(g(t),"ssp"!=Et(t)){for(G(t,e.sSearch,n,e.bEscapeRegex!==o?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),l(e),e=0;e<r.length;e++)K(t,r[e].sSearch,e,r[e].bEscapeRegex!==o?!r[e].bEscapeRegex:r[e].bRegex,r[e].bSmart,r[e].bCaseInsensitive);J(t)}else l(e);t.bFiltered=!0,Pt(t,null,"search",[t])}function J(e){for(var n,o,a=Xt.ext.search,r=e.aiDisplay,l=0,i=a.length;l<i;l++){for(var s=[],d=0,c=r.length;d<c;d++)o=r[d],n=e.aoData[o],a[l](e,n._aFilterData,o,n._aData,d)&&s.push(o);r.length=0,t.merge(r,s)}}function K(t,e,n,o,a,r){if(""!==e){var l=[],i=t.aiDisplay;for(o=Z(e,o,a,r),a=0;a<i.length;a++)e=t.aoData[i[a]]._aFilterData[n],o.test(e)&&l.push(i[a]);t.aiDisplay=l}}function G(t,e,n,o,a,r){a=Z(e,o,a,r);var l,i=t.oPreviousSearch.sSearch,s=t.aiDisplayMaster;r=[];if(0!==Xt.ext.search.length&&(n=!0),l=Q(t),0>=e.length)t.aiDisplay=s.slice();else{for((l||n||o||i.length>e.length||0!==e.indexOf(i)||t.bSorted)&&(t.aiDisplay=s.slice()),e=t.aiDisplay,n=0;n<e.length;n++)a.test(t.aoData[e[n]]._sFilterRow)&&r.push(e[n]);t.aiDisplay=r}}function Z(e,n,o,a){return e=n?e:pe(e),o&&(e="^(?=.*?"+t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],(function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")})).join(")(?=.*?")+").*$"),RegExp(e,a?"i":"")}function Q(t){var e,n,o,a,r,l,i,s,d=t.aoColumns,c=Xt.ext.type.search;for(e=!1,n=0,a=t.aoData.length;n<a;n++)if(!(s=t.aoData[n])._aFilterData){for(l=[],o=0,r=d.length;o<r;o++)(e=d[o]).bSearchable?(i=w(t,n,o,"filter"),c[e.sType]&&(i=c[e.sType](i)),null===i&&(i=""),"string"!=typeof i&&i.toString&&(i=i.toString())):i="",i.indexOf&&-1!==i.indexOf("&")&&(he.innerHTML=i,i=me?he.textContent:he.innerText),i.replace&&(i=i.replace(/[\r\n\u2028]/g,"")),l.push(i);s._aFilterData=l,s._sFilterRow=l.join("  "),e=!0}return e}function Y(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function tt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function et(e){var n=e.sTableId,o=e.aanFeatures.i,a=t("<div/>",{class:e.oClasses.sInfo,id:o?null:n+"_info"});return o||(e.aoDrawCallback.push({fn:nt,sName:"information"}),a.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",n+"_info")),a[0]}function nt(e){var n=e.aanFeatures.i;if(0!==n.length){var o=e.oLanguage,a=e._iDisplayStart+1,r=e.fnDisplayEnd(),l=e.fnRecordsTotal(),i=e.fnRecordsDisplay(),s=i?o.sInfo:o.sInfoEmpty;i!==l&&(s+=" "+o.sInfoFiltered),s=ot(e,s+=o.sInfoPostFix),null!==(o=o.fnInfoCallback)&&(s=o.call(e.oInstance,e,a,r,l,i,s)),t(n).html(s)}}function ot(t,e){var n=t.fnFormatNumber,o=t._iDisplayStart+1,a=t._iDisplayLength,r=t.fnRecordsDisplay(),l=-1===a;return e.replace(/_START_/g,n.call(t,o)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,r)).replace(/_PAGE_/g,n.call(t,l?1:Math.ceil(o/a))).replace(/_PAGES_/g,n.call(t,l?1:Math.ceil(r/a)))}function at(t){var e,n,o,a=t.iInitDisplayStart,r=t.aoColumns;n=t.oFeatures;var l=t.bDeferLoading;if(t.bInitialised){for(E(t),R(t),P(t,t.aoHeader),P(t,t.aoFooter),ut(t,!0),n.bAutoWidth&&mt(t),e=0,n=r.length;e<n;e++)(o=r[e]).sWidth&&(o.nTh.style.width=vt(o.sWidth));Pt(t,null,"preInit",[t]),O(t),("ssp"!=(r=Et(t))||l)&&("ajax"==r?z(t,[],(function(n){var o=q(t,n);for(e=0;e<o.length;e++)x(t,o[e]);t.iInitDisplayStart=a,O(t),ut(t,!1),rt(t,n)})):(ut(t,!1),rt(t)))}else setTimeout((function(){at(t)}),200)}function rt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&p(t),Pt(t,null,"plugin-init",[t,e]),Pt(t,"aoInitComplete","init",[t,e])}function lt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,jt(t),Pt(t,null,"length",[t,n])}function it(e){for(var n=e.oClasses,o=e.sTableId,a=e.aLengthMenu,r=(l=Array.isArray(a[0]))?a[0]:a,l=(a=l?a[1]:a,t("<select/>",{name:o+"_length","aria-controls":o,class:n.sLengthSelect})),i=0,s=r.length;i<s;i++)l[0][i]=new Option("number"==typeof a[i]?e.fnFormatNumber(a[i]):a[i],r[i]);var d=t("<div><label/></div>").addClass(n.sLength);return e.aanFeatures.l||(d[0].id=o+"_length"),d.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",l[0].outerHTML)),t("select",d).val(e._iDisplayLength).on("change.DT",(function(){lt(e,t(this).val()),j(e)})),t(e.nTable).on("length.dt.DT",(function(n,o,a){e===o&&t("select",d).val(a)})),d[0]}function st(e){var n=e.sPaginationType,o=Xt.ext.pager[n],a="function"==typeof o,r=function(t){j(t)},l=(n=t("<div/>").addClass(e.oClasses.sPaging+n)[0],e.aanFeatures);return a||o.fnInit(e,n,r),l.p||(n.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(a){var e,n=t._iDisplayStart,i=t._iDisplayLength,s=t.fnRecordsDisplay(),d=(n=(d=-1===i)?0:Math.ceil(n/i),i=d?1:Math.ceil(s/i),s=o(n,i),0);for(e=l.p.length;d<e;d++)Ot(t,"pageButton")(t,l.p[d],d,s,n,i)}else o.fnUpdate(t,r)},sName:"pagination"})),n}function dt(t,e,n){var o=t._iDisplayStart,a=t._iDisplayLength,r=t.fnRecordsDisplay();return 0===r||-1===a?o=0:"number"==typeof e?(o=e*a)>r&&(o=0):"first"==e?o=0:"previous"==e?0>(o=0<=a?o-a:0)&&(o=0):"next"==e?o+a<r&&(o+=a):"last"==e?o=Math.floor((r-1)/a)*a:kt(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==o,t._iDisplayStart=o,e&&(Pt(t,null,"page",[t]),n&&j(t)),e}function ct(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function ut(e,n){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",n?"block":"none"),Pt(e,null,"processing",[e,n])}function ft(e){(u=t(e.nTable)).attr("role","grid");var n=e.oScroll;if(""===n.sX&&""===n.sY)return e.nTable;var o=n.sX,a=n.sY,r=e.oClasses,l=u.children("caption"),i=l.length?l[0]._captionSide:null,s=t(u[0].cloneNode(!1)),d=t(u[0].cloneNode(!1)),c=u.children("tfoot");c.length||(c=null),s=t("<div/>",{class:r.sScrollWrapper}).append(t("<div/>",{class:r.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:o?o?vt(o):null:"100%"}).append(t("<div/>",{class:r.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(s.removeAttr("id").css("margin-left",0).append("top"===i?l:null).append(u.children("thead"))))).append(t("<div/>",{class:r.sScrollBody}).css({position:"relative",overflow:"auto",width:o?vt(o):null}).append(u)),c&&s.append(t("<div/>",{class:r.sScrollFoot}).css({overflow:"hidden",border:0,width:o?o?vt(o):null:"100%"}).append(t("<div/>",{class:r.sScrollFootInner}).append(d.removeAttr("id").css("margin-left",0).append("bottom"===i?l:null).append(u.children("tfoot")))));var u,f=(u=s.children())[0],p=(r=u[1],c?u[2]:null);return o&&t(r).on("scroll.DT",(function(){var t=this.scrollLeft;f.scrollLeft=t,c&&(p.scrollLeft=t)})),t(r).css("max-height",a),n.bCollapse||t(r).css("height",a),e.nScrollHead=f,e.nScrollBody=r,e.nScrollFoot=p,e.aoDrawCallback.push({fn:pt,sName:"scrolling"}),s[0]}function pt(e){var n,a,r,l,i,s=(u=e.oScroll).sX,d=u.sXInner,c=u.sY,u=u.iBarWidth,f=t(e.nScrollHead),m=f[0].style,b=(g=f.children("div"))[0].style,y=g.children("table"),g=e.nScrollBody,v=t(g),x=g.style,I=t(e.nScrollFoot).children("div"),w=I.children("table"),F=t(e.nTHead),_=t(e.nTable),S=_[0],C=S.style,T=e.nTFoot?t(e.nTFoot):null,D=e.oBrowser,A=D.bScrollOversize,k=ae(e.aoColumns,"nTh"),B=[],N=[],L=[],R=[],P=function(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0};a=g.scrollHeight>g.clientHeight,e.scrollBarVis!==a&&e.scrollBarVis!==o?(e.scrollBarVis=a,p(e)):(e.scrollBarVis=a,_.children("thead, tfoot").remove(),T&&(r=T.clone().prependTo(_),n=T.find("tr"),r=r.find("tr")),l=F.clone().prependTo(_),F=F.find("tr"),a=l.find("tr"),l.find("th, td").removeAttr("tabindex"),s||(x.width="100%",f[0].style.width="100%"),t.each(M(e,l),(function(t,n){i=h(e,t),n.style.width=e.aoColumns[i].sWidth})),T&&ht((function(t){t.style.width=""}),r),f=_.outerWidth(),""===s?(C.width="100%",A&&(_.find("tbody").height()>g.offsetHeight||"scroll"==v.css("overflow-y"))&&(C.width=vt(_.outerWidth()-u)),f=_.outerWidth()):""!==d&&(C.width=vt(d),f=_.outerWidth()),ht(P,a),ht((function(e){L.push(e.innerHTML),B.push(vt(t(e).css("width")))}),a),ht((function(e,n){-1!==t.inArray(e,k)&&(e.style.width=B[n])}),F),t(a).height(0),T&&(ht(P,r),ht((function(e){R.push(e.innerHTML),N.push(vt(t(e).css("width")))}),r),ht((function(t,e){t.style.width=N[e]}),n),t(r).height(0)),ht((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+L[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=B[e]}),a),T&&ht((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+R[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=N[e]}),r),_.outerWidth()<f?(n=g.scrollHeight>g.offsetHeight||"scroll"==v.css("overflow-y")?f+u:f,A&&(g.scrollHeight>g.offsetHeight||"scroll"==v.css("overflow-y"))&&(C.width=vt(n-u)),(""===s||""!==d)&&kt(e,1,"Possible column misalignment",6)):n="100%",x.width=vt(n),m.width=vt(n),T&&(e.nScrollFoot.style.width=vt(n)),!c&&A&&(x.height=vt(S.offsetHeight+u)),s=_.outerWidth(),y[0].style.width=vt(s),b.width=vt(s),d=_.height()>g.clientHeight||"scroll"==v.css("overflow-y"),b[c="padding"+(D.bScrollbarLeft?"Left":"Right")]=d?u+"px":"0px",T&&(w[0].style.width=vt(s),I[0].style.width=vt(s),I[0].style[c]=d?u+"px":"0px"),_.children("colgroup").insertBefore(_.children("thead")),v.trigger("scroll"),!e.bSorted&&!e.bFiltered||e._drawHold||(g.scrollTop=0))}function ht(t,e,n){for(var o,a,r=0,l=0,i=e.length;l<i;){for(o=e[l].firstChild,a=n?n[l].firstChild:null;o;)1===o.nodeType&&(n?t(o,a,r):t(o,r),r++),o=o.nextSibling,a=n?a.nextSibling:null;l++}}function mt(n){var o,a,r=n.nTable,l=n.aoColumns,i=(I=n.oScroll).sY,s=I.sX,d=I.sXInner,c=l.length,u=y(n,"bVisible"),f=t("th",n.nTHead),m=r.getAttribute("width"),g=r.parentNode,v=!1,x=n.oBrowser,I=x.bScrollOversize;for((o=r.style.width)&&-1!==o.indexOf("%")&&(m=o),o=0;o<u.length;o++)null!==(a=l[u[o]]).sWidth&&(a.sWidth=bt(a.sWidthOrig,g),v=!0);if(I||!v&&!s&&!i&&c==b(n)&&c==f.length)for(o=0;o<c;o++)null!==(u=h(n,o))&&(l[u].sWidth=vt(f.eq(o).width()));else{(c=t(r).clone().css("visibility","hidden").removeAttr("id")).find("tbody tr").remove();var w=t("<tr/>").appendTo(c.find("tbody"));for(c.find("thead, tfoot").remove(),c.append(t(n.nTHead).clone()).append(t(n.nTFoot).clone()),c.find("tfoot th, tfoot td").css("width",""),f=M(n,c.find("thead")[0]),o=0;o<u.length;o++)a=l[u[o]],f[o].style.width=null!==a.sWidthOrig&&""!==a.sWidthOrig?vt(a.sWidthOrig):"",a.sWidthOrig&&s&&t(f[o]).append(t("<div/>").css({width:a.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(o=0;o<u.length;o++)a=l[v=u[o]],t(yt(n,v)).clone(!1).append(a.sContentPadding).appendTo(w);for(t("[name]",c).removeAttr("name"),a=t("<div/>").css(s||i?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(c).appendTo(g),s&&d?c.width(d):s?(c.css("width","auto"),c.removeAttr("width"),c.width()<g.clientWidth&&m&&c.width(g.clientWidth)):i?c.width(g.clientWidth):m&&c.width(m),o=i=0;o<u.length;o++)d=(g=t(f[o])).outerWidth()-g.width(),i+=g=x.bBounding?Math.ceil(f[o].getBoundingClientRect().width):g.outerWidth(),l[u[o]].sWidth=vt(g-d);r.style.width=vt(i),a.remove()}m&&(r.style.width=vt(m)),!m&&!s||n._reszEvt||(r=function(){t(e).on("resize.DT-"+n.sInstance,ye((function(){p(n)})))},I?setTimeout(r,1e3):r(),n._reszEvt=!0)}function bt(e,o){if(!e)return 0;var a=t("<div/>").css("width",vt(e)).appendTo(o||n.body),r=a[0].offsetWidth;return a.remove(),r}function yt(e,n){var o=gt(e,n);if(0>o)return null;var a=e.aoData[o];return a.nTr?a.anCells[n]:t("<td/>").html(w(e,o,n,"display"))[0]}function gt(t,e){for(var n,o=-1,a=-1,r=0,l=t.aoData.length;r<l;r++)(n=(n=(n=w(t,r,e,"display")+"").replace(be,"")).replace(/&nbsp;/g," ")).length>o&&(o=n.length,a=r);return a}function vt(t){return null===t?"0px":"number"==typeof t?0>t?"0px":t+"px":t.match(/\d$/)?t+"px":t}function xt(e){var n,a,r,l,i,s,d=[],c=e.aoColumns;n=e.aaSortingFixed,a=t.isPlainObject(n);var u=[];for(r=function(e){e.length&&!Array.isArray(e[0])?u.push(e):t.merge(u,e)},Array.isArray(n)&&r(n),a&&n.pre&&r(n.pre),r(e.aaSorting),a&&n.post&&r(n.post),e=0;e<u.length;e++)for(n=0,a=(r=c[s=u[e][0]].aDataSort).length;n<a;n++)i=c[l=r[n]].sType||"string",u[e]._idx===o&&(u[e]._idx=t.inArray(u[e][1],c[l].asSorting)),d.push({src:s,col:l,dir:u[e][1],index:u[e]._idx,type:i,formatter:Xt.ext.type.order[i+"-pre"]});return d}function It(t){var e,n,o,a,r=[],l=Xt.ext.type.order,i=t.aoData,s=0,d=t.aiDisplayMaster;for(g(t),e=0,n=(a=xt(t)).length;e<n;e++)(o=a[e]).formatter&&s++,Ct(t,o.col);if("ssp"!=Et(t)&&0!==a.length){for(e=0,n=d.length;e<n;e++)r[d[e]]=e;s===a.length?d.sort((function(t,e){var n,o,l,s,d=a.length,c=i[t]._aSortData,u=i[e]._aSortData;for(l=0;l<d;l++)if(0!==(n=(n=c[(s=a[l]).col])<(o=u[s.col])?-1:n>o?1:0))return"asc"===s.dir?n:-n;return(n=r[t])<(o=r[e])?-1:n>o?1:0})):d.sort((function(t,e){var n,o,s,d,c=a.length,u=i[t]._aSortData,f=i[e]._aSortData;for(s=0;s<c;s++)if(n=u[(d=a[s]).col],o=f[d.col],0!==(n=(d=l[d.type+"-"+d.dir]||l["string-"+d.dir])(n,o)))return n;return(n=r[t])<(o=r[e])?-1:n>o?1:0}))}t.bSorted=!0}function wt(t){for(var e,n,o=t.aoColumns,a=xt(t),r=(t=t.oLanguage.oAria,0),l=o.length;r<l;r++){var i=(n=o[r]).asSorting;e=n.sTitle.replace(/<.*?>/g,"");var s=n.nTh;s.removeAttribute("aria-sort"),n.bSortable&&(0<a.length&&a[0].col==r?(s.setAttribute("aria-sort","asc"==a[0].dir?"ascending":"descending"),n=i[a[0].index+1]||i[0]):n=i[0],e+="asc"===n?t.sSortAscending:t.sSortDescending),s.setAttribute("aria-label",e)}}function Ft(e,n,a,r){var l=e.aaSorting,i=e.aoColumns[n].asSorting,s=function(e,n){var a=e._idx;return a===o&&(a=t.inArray(e[1],i)),a+1<i.length?a+1:n?null:0};"number"==typeof l[0]&&(l=e.aaSorting=[l]),a&&e.oFeatures.bSortMulti?-1!==(a=t.inArray(n,ae(l,"0")))?(null===(n=s(l[a],!0))&&1===l.length&&(n=0),null===n?l.splice(a,1):(l[a][1]=i[n],l[a]._idx=n)):(l.push([n,i[0],0]),l[l.length-1]._idx=0):l.length&&l[0][0]==n?(n=s(l[0]),l.length=1,l[0][1]=i[n],l[0]._idx=n):(l.length=0,l.push([n,i[0]]),l[0]._idx=0),O(e),"function"==typeof r&&r(e)}function _t(t,e,n,o){var a=t.aoColumns[n];Lt(e,{},(function(e){!1!==a.bSortable&&(t.oFeatures.bProcessing?(ut(t,!0),setTimeout((function(){Ft(t,n,e.shiftKey,o),"ssp"!==Et(t)&&ut(t,!1)}),0)):Ft(t,n,e.shiftKey,o))}))}function St(e){var n,o,a=e.aLastSort,r=e.oClasses.sSortColumn,l=xt(e),i=e.oFeatures;if(i.bSort&&i.bSortClasses){for(i=0,n=a.length;i<n;i++)o=a[i].src,t(ae(e.aoData,"anCells",o)).removeClass(r+(2>i?i+1:3));for(i=0,n=l.length;i<n;i++)o=l[i].src,t(ae(e.aoData,"anCells",o)).addClass(r+(2>i?i+1:3))}e.aLastSort=l}function Ct(t,e){var n,o=t.aoColumns[e],a=Xt.ext.order[o.sSortDataType];a&&(n=a.call(t.oInstance,t,e,m(t,e)));for(var r,l=Xt.ext.type.order[o.sType+"-pre"],i=0,s=t.aoData.length;i<s;i++)(o=t.aoData[i])._aSortData||(o._aSortData=[]),(!o._aSortData[e]||a)&&(r=a?n[i]:w(t,i,e,"sort"),o._aSortData[e]=l?l(r):r)}function Tt(e){if(e.oFeatures.bStateSave&&!e.bDestroying){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:Y(e.oPreviousSearch),columns:t.map(e.aoColumns,(function(t,n){return{visible:t.bVisible,search:Y(e.aoPreSearchCols[n])}}))};Pt(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oSavedState=n,e.fnStateSaveCallback.call(e.oInstance,e,n)}}function Dt(e,n,a){var r,l,i=e.aoColumns;n=function(n){if(n&&n.time){var s=Pt(e,"aoStateLoadParams","stateLoadParams",[e,n]);if(-1===t.inArray(!1,s)&&!(0<(s=e.iStateDuration)&&n.time<+new Date-1e3*s||n.columns&&i.length!==n.columns.length)){if(e.oLoadedState=t.extend(!0,{},n),n.start!==o&&(e._iDisplayStart=n.start,e.iInitDisplayStart=n.start),n.length!==o&&(e._iDisplayLength=n.length),n.order!==o&&(e.aaSorting=[],t.each(n.order,(function(t,n){e.aaSorting.push(n[0]>=i.length?[0,n[1]]:n)}))),n.search!==o&&t.extend(e.oPreviousSearch,tt(n.search)),n.columns)for(r=0,l=n.columns.length;r<l;r++)(s=n.columns[r]).visible!==o&&(i[r].bVisible=s.visible),s.search!==o&&t.extend(e.aoPreSearchCols[r],tt(s.search));Pt(e,"aoStateLoaded","stateLoaded",[e,n])}}a()};if(e.oFeatures.bStateSave){var s=e.fnStateLoadCallback.call(e.oInstance,e,n);s!==o&&n(s)}else a()}function At(e){var n=Xt.settings;return-1!==(e=t.inArray(e,ae(n,"nTable")))?n[e]:null}function kt(t,n,o,a){if(o="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+o,a&&(o+=". For more information about this error, please see http://datatables.net/tn/"+a),n)e.console&&console.log&&console.log(o);else if(n=(n=Xt.ext).sErrMode||n.errMode,t&&Pt(t,null,"error",[t,a,o]),"alert"==n)alert(o);else{if("throw"==n)throw Error(o);"function"==typeof n&&n(t,a,o)}}function Bt(e,n,a,r){Array.isArray(a)?t.each(a,(function(t,o){Array.isArray(o)?Bt(e,n,o[0],o[1]):Bt(e,n,o)})):(r===o&&(r=a),n[a]!==o&&(e[r]=n[a]))}function Nt(e,n,o){var a,r;for(r in n)n.hasOwnProperty(r)&&(a=n[r],t.isPlainObject(a)?(t.isPlainObject(e[r])||(e[r]={}),t.extend(!0,e[r],a)):e[r]=o&&"data"!==r&&"aaData"!==r&&Array.isArray(a)?a.slice():a);return e}function Lt(e,n,o){t(e).on("click.DT",n,(function(n){t(e).trigger("blur"),o(n)})).on("keypress.DT",n,(function(t){13===t.which&&(t.preventDefault(),o(t))})).on("selectstart.DT",(function(){return!1}))}function Rt(t,e,n,o){n&&t[e].push({fn:n,sName:o})}function Pt(e,n,o,a){var r=[];return n&&(r=t.map(e[n].slice().reverse(),(function(t){return t.fn.apply(e.oInstance,a)}))),null!==o&&(n=t.Event(o+".dt"),t(e.nTable).trigger(n,a),r.push(n.result)),r}function jt(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),o=t._iDisplayLength;e>=n&&(e=n-o),e-=e%o,(-1===o||0>e)&&(e=0),t._iDisplayStart=e}function Ot(e,n){var o=e.renderer,a=Xt.ext.renderer[n];return t.isPlainObject(o)&&o[n]?a[o[n]]||a._:"string"==typeof o&&a[o]||a._}function Et(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Ht(t,e){var n=[],o=(n=ke.numbers_length,Math.floor(n/2));return e<=n?n=le(0,e):t<=o?((n=le(0,n-2)).push("ellipsis"),n.push(e-1)):(t>=e-1-o?n=le(e-(n-2),e):((n=le(t-o+2,t+o-1)).push("ellipsis"),n.push(e-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function Mt(e){t.each({num:function(t){return Be(t,e)},"num-fmt":function(t){return Be(t,e,Qt)},"html-num":function(t){return Be(t,e,Kt)},"html-num-fmt":function(t){return Be(t,e,Kt,Qt)}},(function(t,n){Wt.type.order[t+e+"-pre"]=n,t.match(/^html\-/)&&(Wt.type.search[t+e]=Wt.type.search.html)}))}function zt(t){return function(){var e=[At(this[Xt.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Xt.ext.internal[t].apply(this,e)}}var Wt,$t,Ut,qt,Xt=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new $t(t?At(this[Wt.iApiIndex]):this)},this.fnAddData=function(e,n){var a=this.api(!0),r=Array.isArray(e)&&(Array.isArray(e[0])||t.isPlainObject(e[0]))?a.rows.add(e):a.row.add(e);return(n===o||n)&&a.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],a=n.oScroll;t===o||t?e.draw(!1):(""!==a.sX||""!==a.sY)&&pt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===o||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var a=this.api(!0),r=(t=a.rows(t)).settings()[0],l=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,l),(n===o||n)&&a.draw(),l},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,a,r,l){r=this.api(!0),null===e||e===o?r.search(t,n,a,l):r.column(e).search(t,n,a,l),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t!==o){var a=t.nodeName?t.nodeName.toLowerCase():"";return e!==o||"td"==a||"th"==a?n.cell(t,e).data():n.row(t).data()||null}return n.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==o?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===o||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),(n===o||n)&&t.columns.adjust().draw()},this.fnSettings=function(){return At(this[Wt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,a,r){var l=this.api(!0);return n===o||null===n?l.row(e).data(t):l.cell(e,n).data(t),(r===o||r)&&l.columns.adjust(),(a===o||a)&&l.draw(),0},this.fnVersionCheck=Wt.fnVersionCheck;var n=this,a=e===o,c=this.length;for(var p in a&&(e={}),this.oApi=this.internal=Wt.internal,Xt.ext.internal)p&&(this[p]=zt(p));return this.each((function(){var p,h={},m=1<c?Nt(h,e,!0):e,b=0,y=(h=this.getAttribute("id"),!1),g=Xt.defaults,w=t(this);if("table"!=this.nodeName.toLowerCase())kt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{i(g),s(g.column),r(g,g,!0),r(g.column,g.column,!0),r(g,t.extend(m,w.data()),!0);var F=Xt.settings;b=0;for(p=F.length;b<p;b++){var _=F[b];if(_.nTable==this||_.nTHead&&_.nTHead.parentNode==this||_.nTFoot&&_.nTFoot.parentNode==this){var C=m.bRetrieve!==o?m.bRetrieve:g.bRetrieve;if(a||C)return _.oInstance;if(m.bDestroy!==o?m.bDestroy:g.bDestroy){_.oInstance.fnDestroy();break}return void kt(_,0,"Cannot reinitialise DataTable",3)}if(_.sTableId==this.id){F.splice(b,1);break}}null!==h&&""!==h||(this.id=h="DataTables_Table_"+Xt.ext._unique++);var T=t.extend(!0,{},Xt.models.oSettings,{sDestroyWidth:w[0].style.width,sInstance:h,sTableId:h});T.nTable=this,T.oApi=n.internal,T.oInit=m,F.push(T),T.oInstance=1===n.length?n:w.dataTable(),i(m),l(m.oLanguage),m.aLengthMenu&&!m.iDisplayLength&&(m.iDisplayLength=Array.isArray(m.aLengthMenu[0])?m.aLengthMenu[0][0]:m.aLengthMenu[0]),m=Nt(t.extend(!0,{},g),m),Bt(T.oFeatures,m,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),Bt(T,m,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Bt(T.oScroll,m,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Bt(T.oLanguage,m,"fnInfoCallback"),Rt(T,"aoDrawCallback",m.fnDrawCallback,"user"),Rt(T,"aoServerParams",m.fnServerParams,"user"),Rt(T,"aoStateSaveParams",m.fnStateSaveParams,"user"),Rt(T,"aoStateLoadParams",m.fnStateLoadParams,"user"),Rt(T,"aoStateLoaded",m.fnStateLoaded,"user"),Rt(T,"aoRowCallback",m.fnRowCallback,"user"),Rt(T,"aoRowCreatedCallback",m.fnCreatedRow,"user"),Rt(T,"aoHeaderCallback",m.fnHeaderCallback,"user"),Rt(T,"aoFooterCallback",m.fnFooterCallback,"user"),Rt(T,"aoInitComplete",m.fnInitComplete,"user"),Rt(T,"aoPreDrawCallback",m.fnPreDrawCallback,"user"),T.rowIdFn=S(m.rowId),d(T);var D=T.oClasses;t.extend(D,Xt.ext.classes,m.oClasses),w.addClass(D.sTable),T.iInitDisplayStart===o&&(T.iInitDisplayStart=m.iDisplayStart,T._iDisplayStart=m.iDisplayStart),null!==m.iDeferLoading&&(T.bDeferLoading=!0,h=Array.isArray(m.iDeferLoading),T._iRecordsDisplay=h?m.iDeferLoading[0]:m.iDeferLoading,T._iRecordsTotal=h?m.iDeferLoading[1]:m.iDeferLoading);var A=T.oLanguage;t.extend(!0,A,m.oLanguage),A.sUrl&&(t.ajax({dataType:"json",url:A.sUrl,success:function(e){l(e),r(g.oLanguage,e),t.extend(!0,A,e),at(T)},error:function(){at(T)}}),y=!0),null===m.asStripeClasses&&(T.asStripeClasses=[D.sStripeOdd,D.sStripeEven]);h=T.asStripeClasses;var k=w.children("tbody").find("tr").eq(0);if(-1!==t.inArray(!0,t.map(h,(function(t){return k.hasClass(t)})))&&(t("tbody tr",this).removeClass(h.join(" ")),T.asDestroyStripes=h.slice()),h=[],0!==(F=this.getElementsByTagName("thead")).length&&(H(T.aoHeader,F[0]),h=M(T)),null===m.aoColumns)for(F=[],b=0,p=h.length;b<p;b++)F.push(null);else F=m.aoColumns;for(b=0,p=F.length;b<p;b++)u(T,h?h[b]:null);if(v(T,m.aoColumnDefs,F,(function(t,e){f(T,t,e)})),k.length){var B=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(k[0]).children("th, td").each((function(t,e){var n=T.aoColumns[t];if(n.mData===t){var a=B(e,"sort")||B(e,"order"),r=B(e,"filter")||B(e,"search");null===a&&null===r||(n.mData={_:t+".display",sort:null!==a?t+".@data-"+a:o,type:null!==a?t+".@data-"+a:o,filter:null!==r?t+".@data-"+r:o},f(T,t))}}))}var N=T.oFeatures;h=function(){if(m.aaSorting===o){var e=T.aaSorting;for(b=0,p=e.length;b<p;b++)e[b][1]=T.aoColumns[b].asSorting[0]}St(T),N.bSort&&Rt(T,"aoDrawCallback",(function(){if(T.bSorted){var e=xt(T),n={};t.each(e,(function(t,e){n[e.src]=e.dir})),Pt(T,null,"order",[T,e,n]),wt(T)}})),Rt(T,"aoDrawCallback",(function(){(T.bSorted||"ssp"===Et(T)||N.bDeferRender)&&St(T)}),"sc");e=w.children("caption").each((function(){this._captionSide=t(this).css("caption-side")}));var n=w.children("thead");if(0===n.length&&(n=t("<thead/>").appendTo(w)),T.nTHead=n[0],0===(n=w.children("tbody")).length&&(n=t("<tbody/>").appendTo(w)),T.nTBody=n[0],0===(n=w.children("tfoot")).length&&e.length>0&&(""!==T.oScroll.sX||""!==T.oScroll.sY)&&(n=t("<tfoot/>").appendTo(w)),0===n.length||0===n.children().length?w.addClass(D.sNoFooter):n.length>0&&(T.nTFoot=n[0],H(T.aoFooter,T.nTFoot)),m.aaData)for(b=0;b<m.aaData.length;b++)x(T,m.aaData[b]);else(T.bDeferLoading||"dom"==Et(T))&&I(T,t(T.nTBody).children("tr"));T.aiDisplay=T.aiDisplayMaster.slice(),T.bInitialised=!0,!1===y&&at(T)};m.bStateSave?(N.bStateSave=!0,Rt(T,"aoDrawCallback",Tt,"state_save"),Dt(T,m,h)):h()}})),n=null,this},Vt={},Jt=/[\r\n\u2028]/g,Kt=/<.*?>/g,Gt=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Zt=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Qt=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Yt=function(t){return!t||!0===t||"-"===t},te=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},ee=function(t,e){return Vt[e]||(Vt[e]=RegExp(pe(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(Vt[e],"."):t},ne=function(t,e,n){var o="string"==typeof t;return!!Yt(t)||(e&&o&&(t=ee(t,e)),n&&o&&(t=t.replace(Qt,"")),!isNaN(parseFloat(t))&&isFinite(t))},oe=function(t,e,n){return!!Yt(t)||((Yt(t)||"string"==typeof t)&&!!ne(t.replace(Kt,""),e,n)||null)},ae=function(t,e,n){var a=[],r=0,l=t.length;if(n!==o)for(;r<l;r++)t[r]&&t[r][e]&&a.push(t[r][e][n]);else for(;r<l;r++)t[r]&&a.push(t[r][e]);return a},re=function(t,e,n,a){var r=[],l=0,i=e.length;if(a!==o)for(;l<i;l++)t[e[l]][n]&&r.push(t[e[l]][n][a]);else for(;l<i;l++)r.push(t[e[l]][n]);return r},le=function(t,e){var n,a=[];e===o?(e=0,n=t):(n=e,e=t);for(var r=e;r<n;r++)a.push(r);return a},ie=function(t){for(var e=[],n=0,o=t.length;n<o;n++)t[n]&&e.push(t[n]);return e},se=function(t){var e;t:{if(!(2>t.length))for(var n=(e=t.slice().sort())[0],o=1,a=e.length;o<a;o++){if(e[o]===n){e=!1;break t}n=e[o]}e=!0}if(e)return t.slice();e=[];a=t.length;var r,l=0;o=0;t:for(;o<a;o++){for(n=t[o],r=0;r<l;r++)if(e[r]===n)continue t;e.push(n),l++}return e},de=function(t,e){if(Array.isArray(e))for(var n=0;n<e.length;n++)de(t,e[n]);else t.push(e);return t};Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),Xt.util={throttle:function(t,e){var n,a,r=e!==o?e:200;return function(){var e=this,l=+new Date,i=arguments;n&&l<n+r?(clearTimeout(a),a=setTimeout((function(){n=o,t.apply(e,i)}),r)):(n=l,t.apply(e,i))}},escapeRegex:function(t){return t.replace(Zt,"\\$1")}};var ce=function(t,e,n){t[e]!==o&&(t[n]=t[e])},ue=/\[.*?\]$/,fe=/\(\)$/,pe=Xt.util.escapeRegex,he=t("<div>")[0],me=he.textContent!==o,be=/<.*?>/g,ye=Xt.util.throttle,ge=[],ve=Array.prototype;$t=function(e,n){if(!(this instanceof $t))return new $t(e,n);var o=[],a=function(e){(e=function(e){var n,o,a=Xt.settings,r=t.map(a,(function(t){return t.nTable}));return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=t.inArray(e,r))?[a[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?o=t(e):e instanceof t&&(o=e),o?o.map((function(){return-1!==(n=t.inArray(this,r))?a[n]:null})).toArray():void 0):[]}(e))&&o.push.apply(o,e)};if(Array.isArray(e))for(var r=0,l=e.length;r<l;r++)a(e[r]);else a(e);this.context=se(o),n&&t.merge(this,n),this.selector={rows:null,cols:null,opts:null},$t.extend(this,this,ge)},Xt.Api=$t,t.extend($t.prototype,{any:function(){return 0!==this.count()},concat:ve.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new $t(e[t],this[t]):null},filter:function(t){var e=[];if(ve.filter)e=ve.filter.call(this,t,this);else for(var n=0,o=this.length;n<o;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new $t(this.context,e)},flatten:function(){var t=[];return new $t(this.context,t.concat.apply(t,this.toArray()))},join:ve.join,indexOf:ve.indexOf||function(t,e){for(var n=e||0,o=this.length;n<o;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,a){var r,l,i,s,d,c,u,f=[],p=this.context,h=this.selector;for("string"==typeof t&&(a=n,n=e,e=t,t=!1),l=0,i=p.length;l<i;l++){var m=new $t(p[l]);if("table"===e)(r=n.call(m,p[l],l))!==o&&f.push(r);else if("columns"===e||"rows"===e)(r=n.call(m,p[l],this[l],l))!==o&&f.push(r);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(u=this[l],"column-rows"===e&&(c=Se(p[l],h.opts)),s=0,d=u.length;s<d;s++)r=u[s],(r="cell"===e?n.call(m,p[l],r.row,r.column,l,s):n.call(m,p[l],r,l,s,c))!==o&&f.push(r)}return f.length||a?((e=(t=new $t(p,t?f.concat.apply([],f):f)).selector).rows=h.rows,e.cols=h.cols,e.opts=h.opts,t):this},lastIndexOf:ve.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(ve.map)e=ve.map.call(this,t,this);else for(var n=0,o=this.length;n<o;n++)e.push(t.call(this,this[n],n));return new $t(this.context,e)},pluck:function(t){return this.map((function(e){return e[t]}))},pop:ve.pop,push:ve.push,reduce:ve.reduce||function(t,e){return c(this,t,e,0,this.length,1)},reduceRight:ve.reduceRight||function(t,e){return c(this,t,e,this.length-1,-1,-1)},reverse:ve.reverse,selector:null,shift:ve.shift,slice:function(){return new $t(this.context,this)},sort:ve.sort,splice:ve.splice,toArray:function(){return ve.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new $t(this.context,se(this))},unshift:ve.unshift}),$t.extend=function(t,e,n){if(n.length&&e&&(e instanceof $t||e.__dt_wrapper)){var o,a,r,l=function(t,e,n){return function(){var o=e.apply(t,arguments);return $t.extend(o,o,n.methodExt),o}};for(o=0,a=n.length;o<a;o++)e[(r=n[o]).name]="function"===r.type?l(t,r.val,r):"object"===r.type?{}:r.val,e[r.name].__dt_wrapper=!0,$t.extend(t,e[r.name],r.propExt)}},$t.register=Ut=function(e,n){if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)$t.register(e[o],n);else{var r,l,i=e.split("."),s=ge;for(o=0,a=i.length;o<a;o++){var d;r=(l=-1!==i[o].indexOf("()"))?i[o].replace("()",""):i[o];t:{d=0;for(var c=s.length;d<c;d++)if(s[d].name===r){d=s[d];break t}d=null}d||(d={name:r,val:{},methodExt:[],propExt:[],type:"object"},s.push(d)),o===a-1?(d.val=n,d.type="function"==typeof n?"function":t.isPlainObject(n)?"object":"other"):s=l?d.methodExt:d.propExt}}},$t.registerPlural=qt=function(t,e,n){$t.register(t,n),$t.register(e,(function(){var t=n.apply(this,arguments);return t===this?this:t instanceof $t?t.length?Array.isArray(t[0])?new $t(t.context,t[0]):t[0]:o:t}))};var xe=function(e,n){if(Array.isArray(e))return t.map(e,(function(t){return xe(t,n)}));if("number"==typeof e)return[n[e]];var o=t.map(n,(function(t){return t.nTable}));return t(o).filter(e).map((function(){var e=t.inArray(this,o);return n[e]})).toArray()};Ut("tables()",(function(t){return t!==o&&null!==t?new $t(xe(t,this.context)):this})),Ut("table()",(function(t){var e=(t=this.tables(t)).context;return e.length?new $t(e[0]):t})),qt("tables().nodes()","table().node()",(function(){return this.iterator("table",(function(t){return t.nTable}),1)})),qt("tables().body()","table().body()",(function(){return this.iterator("table",(function(t){return t.nTBody}),1)})),qt("tables().header()","table().header()",(function(){return this.iterator("table",(function(t){return t.nTHead}),1)})),qt("tables().footer()","table().footer()",(function(){return this.iterator("table",(function(t){return t.nTFoot}),1)})),qt("tables().containers()","table().container()",(function(){return this.iterator("table",(function(t){return t.nTableWrapper}),1)})),Ut("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?j(e):("string"==typeof t&&(t="full-hold"!==t),O(e,!1===t))}))})),Ut("page()",(function(t){return t===o?this.page.info().page:this.iterator("table",(function(e){dt(e,t)}))})),Ut("page.info()",(function(){if(0===this.context.length)return o;var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,a=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(a/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:a,serverSide:"ssp"===Et(t)}})),Ut("page.len()",(function(t){return t===o?0!==this.context.length?this.context[0]._iDisplayLength:o:this.iterator("table",(function(e){lt(e,t)}))}));var Ie=function(t,e,n){if(n){var o=new $t(t);o.one("draw",(function(){n(o.ajax.json())}))}if("ssp"==Et(t))O(t,e);else{ut(t,!0);var a=t.jqXHR;a&&4!==a.readyState&&a.abort(),z(t,[],(function(n){D(t);for(var o=0,a=(n=q(t,n)).length;o<a;o++)x(t,n[o]);O(t,e),ut(t,!1)}))}};Ut("ajax.json()",(function(){var t=this.context;if(t.length>0)return t[0].json})),Ut("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),Ut("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){Ie(n,!1===e,t)}))})),Ut("ajax.url()",(function(e){var n=this.context;return e===o?0===n.length?o:(n=n[0]).ajax?t.isPlainObject(n.ajax)?n.ajax.url:n.ajax:n.sAjaxSource:this.iterator("table",(function(n){t.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e}))})),Ut("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){Ie(n,!1===e,t)}))}));var we=function(t,e,n,a,r){var l,i,s,d,c,u,f=[];for(s=typeof e,e&&"string"!==s&&"function"!==s&&e.length!==o||(e=[e]),s=0,d=e.length;s<d;s++)for(c=0,u=(i=e[s]&&e[s].split&&!e[s].match(/[\[\(:]/)?e[s].split(","):[e[s]]).length;c<u;c++)(l=n("string"==typeof i[c]?i[c].trim():i[c]))&&l.length&&(f=f.concat(l));if((t=Wt.selector[t]).length)for(s=0,d=t.length;s<d;s++)f=t[s](a,r,f);return se(f)},Fe=function(e){return e||(e={}),e.filter&&e.search===o&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},_e=function(t){for(var e=0,n=t.length;e<n;e++)if(t[e].length>0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},Se=function(e,n){var o,a,r,l=[],i=e.aiDisplay;r=e.aiDisplayMaster;var s=n.search;if(o=n.order,a=n.page,"ssp"==Et(e))return"removed"===s?[]:le(0,r.length);if("current"==a)for(o=e._iDisplayStart,a=e.fnDisplayEnd();o<a;o++)l.push(i[o]);else if("current"==o||"applied"==o){if("none"==s)l=r.slice();else if("applied"==s)l=i.slice();else if("removed"==s){var d={};for(o=0,a=i.length;o<a;o++)d[i[o]]=null;l=t.map(r,(function(t){return d.hasOwnProperty(t)?null:t}))}}else if("index"==o||"original"==o)for(o=0,a=e.aoData.length;o<a;o++)("none"==s||-1===(r=t.inArray(o,i))&&"removed"==s||r>=0&&"applied"==s)&&l.push(o);return l};Ut("rows()",(function(e,n){e===o?e="":t.isPlainObject(e)&&(n=e,e="");n=Fe(n);var a=this.iterator("table",(function(a){var r,l=n;return we("row",e,(function(e){var n=te(e),i=a.aoData;if(null!==n&&!l)return[n];if(r||(r=Se(a,l)),null!==n&&-1!==t.inArray(n,r))return[n];if(null===e||e===o||""===e)return r;if("function"==typeof e)return t.map(r,(function(t){var n=i[t];return e(t,n._aData,n.nTr)?t:null}));if(e.nodeName){n=e._DT_RowIndex;var s=e._DT_CellIndex;return n!==o?i[n]&&i[n].nTr===e?[n]:[]:s?i[s.row]&&i[s.row].nTr===e.parentNode?[s.row]:[]:(n=t(e).closest("*[data-dt-row]")).length?[n.data("dt-row")]:[]}return"string"==typeof e&&"#"===e.charAt(0)&&(n=a.aIds[e.replace(/^#/,"")])!==o?[n.idx]:(n=ie(re(a.aoData,r,"nTr")),t(n).filter(e).map((function(){return this._DT_RowIndex})).toArray())}),a,l)}),1);return a.selector.rows=e,a.selector.opts=n,a})),Ut("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||o}),1)})),Ut("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return re(t.aoData,e,"_aData")}),1)})),qt("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var o=e.aoData[n];return"search"===t?o._aFilterData:o._aSortData}),1)})),qt("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){k(e,n,t)}))})),qt("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),qt("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,o=0,a=n.length;o<a;o++)for(var r=0,l=this[o].length;r<l;r++){var i=n[o].rowIdFn(n[o].aoData[this[o][r]]._aData);e.push((!0===t?"#":"")+i)}return new $t(n,e)})),qt("rows().remove()","row().remove()",(function(){var t=this;return this.iterator("row",(function(e,n,a){var r,l,i,s,d,c=e.aoData,u=c[n];for(c.splice(n,1),r=0,l=c.length;r<l;r++)if(d=(i=c[r]).anCells,null!==i.nTr&&(i.nTr._DT_RowIndex=r),null!==d)for(i=0,s=d.length;i<s;i++)d[i]._DT_CellIndex.row=r;A(e.aiDisplayMaster,n),A(e.aiDisplay,n),A(t[a],n,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,jt(e),(n=e.rowIdFn(u._aData))!==o&&delete e.aIds[n]})),this.iterator("table",(function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e})),this})),Ut("rows.add()",(function(e){var n=this.iterator("table",(function(t){var n,o,a,r=[];for(o=0,a=e.length;o<a;o++)(n=e[o]).nodeName&&"TR"===n.nodeName.toUpperCase()?r.push(I(t,n)[0]):r.push(x(t,n));return r}),1),o=this.rows(-1);return o.pop(),t.merge(o,n),o})),Ut("row()",(function(t,e){return _e(this.rows(t,e))})),Ut("row().data()",(function(t){var e=this.context;if(t===o)return e.length&&this.length?e[0].aoData[this[0]]._aData:o;var n=e[0].aoData[this[0]];return n._aData=t,Array.isArray(t)&&n.nTr&&n.nTr.id&&C(e[0].rowId)(t,n.nTr.id),k(e[0],this[0],"data"),this})),Ut("row().node()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null})),Ut("row.add()",(function(e){e instanceof t&&e.length&&(e=e[0]);var n=this.iterator("table",(function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?I(t,e)[0]:x(t,e)}));return this.row(n[0])}));var Ce=function(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==o?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=o,n._details=o)},Te=function(t,e){var n=t.context;if(n.length&&t.length){var o=n[0].aoData[t[0]];if(o._details){(o._detailsShow=e)?o._details.insertAfter(o.nTr):o._details.detach();var a=n[0],r=new $t(a),l=a.aoData;r.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),ae(l,"_details").length>0&&(r.on("draw.dt.DT_details",(function(t,e){a===e&&r.rows({page:"current"}).eq(0).each((function(t){(t=l[t])._detailsShow&&t._details.insertAfter(t.nTr)}))})),r.on("column-visibility.dt.DT_details",(function(t,e){if(a===e)for(var n,o=b(e),r=0,i=l.length;r<i;r++)(n=l[r])._details&&n._details.children("td[colspan]").attr("colspan",o)})),r.on("destroy.dt.DT_details",(function(t,e){if(a===e)for(var n=0,o=l.length;n<o;n++)l[n]._details&&Ce(r,n)})))}}};Ut("row().child()",(function(e,n){var a=this.context;if(e===o)return a.length&&this.length?a[0].aoData[this[0]]._details:o;if(!0===e)this.child.show();else if(!1===e)Ce(this);else if(a.length&&this.length){var r=a[0],l=(a=a[0].aoData[this[0]],[]),i=function(e,n){if(Array.isArray(e)||e instanceof t)for(var o=0,a=e.length;o<a;o++)i(e[o],n);else e.nodeName&&"tr"===e.nodeName.toLowerCase()?l.push(e):(o=t("<tr><td></td></tr>").addClass(n),t("td",o).addClass(n).html(e)[0].colSpan=b(r),l.push(o[0]))};i(e,n),a._details&&a._details.detach(),a._details=t(l),a._detailsShow&&a._details.insertAfter(a.nTr)}return this})),Ut(["row().child.show()","row().child().show()"],(function(){return Te(this,!0),this})),Ut(["row().child.hide()","row().child().hide()"],(function(){return Te(this,!1),this})),Ut(["row().child.remove()","row().child().remove()"],(function(){return Ce(this),this})),Ut("row().child.isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var De=/^([^:]+):(name|visIdx|visible)$/,Ae=function(t,e,n,o,a){n=[],o=0;for(var r=a.length;o<r;o++)n.push(w(t,a[o],e));return n};Ut("columns()",(function(e,n){e===o?e="":t.isPlainObject(e)&&(n=e,e="");n=Fe(n);var a=this.iterator("table",(function(o){var a=e,r=n,l=o.aoColumns,i=ae(l,"sName"),s=ae(l,"nTh");return we("column",a,(function(e){var n=te(e);if(""===e)return le(l.length);if(null!==n)return[n>=0?n:l.length+n];if("function"==typeof e){var a=Se(o,r);return t.map(l,(function(t,n){return e(n,Ae(o,n,0,0,a),s[n])?n:null}))}var d="string"==typeof e?e.match(De):"";if(d)switch(d[2]){case"visIdx":case"visible":if((n=parseInt(d[1],10))<0){var c=t.map(l,(function(t,e){return t.bVisible?e:null}));return[c[c.length+n]]}return[h(o,n)];case"name":return t.map(i,(function(t,e){return t===d[1]?e:null}));default:return[]}return e.nodeName&&e._DT_CellIndex?[e._DT_CellIndex.column]:(n=t(s).filter(e).map((function(){return t.inArray(this,s)})).toArray()).length||!e.nodeName?n:(n=t(e).closest("*[data-dt-column]")).length?[n.data("dt-column")]:[]}),o,r)}),1);return a.selector.cols=e,a.selector.opts=n,a})),qt("columns().header()","column().header()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTh}),1)})),qt("columns().footer()","column().footer()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTf}),1)})),qt("columns().data()","column().data()",(function(){return this.iterator("column-rows",Ae,1)})),qt("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),qt("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,o,a,r){return re(e.aoData,r,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),qt("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,o,a){return re(t.aoData,a,"anCells",e)}),1)})),qt("columns().visible()","column().visible()",(function(e,n){var a=this,r=this.iterator("column",(function(n,a){if(e===o)return n.aoColumns[a].bVisible;var r,l,i,s=n.aoColumns,d=s[a],c=n.aoData;if(e!==o&&d.bVisible!==e){if(e){var u=t.inArray(!0,ae(s,"bVisible"),a+1);for(r=0,l=c.length;r<l;r++)i=c[r].nTr,s=c[r].anCells,i&&i.insertBefore(s[a],s[u]||null)}else t(ae(n.aoData,"anCells",a)).detach();d.bVisible=e}}));return e!==o&&this.iterator("table",(function(r){P(r,r.aoHeader),P(r,r.aoFooter),r.aiDisplay.length||t(r.nTBody).find("td[colspan]").attr("colspan",b(r)),Tt(r),a.iterator("column",(function(t,o){Pt(t,null,"column-visibility",[t,o,e,n])})),(n===o||n)&&a.columns.adjust()})),r})),qt("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?m(e,n):n}),1)})),Ut("columns.adjust()",(function(){return this.iterator("table",(function(t){p(t)}),1)})),Ut("column.index()",(function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return h(n,e);if("fromData"===t||"toVisible"===t)return m(n,e)}})),Ut("column()",(function(t,e){return _e(this.columns(t,e))})),Ut("cells()",(function(e,n,a){if(t.isPlainObject(e)&&(e.row===o?(a=e,e=null):(a=n,n=null)),t.isPlainObject(n)&&(a=n,n=null),null===n||n===o)return this.iterator("table",(function(n){var r,l,i,s,d,c,u,f=e,p=Fe(a),h=n.aoData,m=Se(n,p),b=ie(re(h,m,"anCells")),y=t(de([],b)),g=n.aoColumns.length;return we("cell",f,(function(e){var a="function"==typeof e;if(null===e||e===o||a){for(l=[],i=0,s=m.length;i<s;i++)for(r=m[i],d=0;d<g;d++)c={row:r,column:d},a?(u=h[r],e(c,w(n,r,d),u.anCells?u.anCells[d]:null)&&l.push(c)):l.push(c);return l}return t.isPlainObject(e)?e.column!==o&&e.row!==o&&-1!==t.inArray(e.row,m)?[e]:[]:(a=y.filter(e).map((function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}})).toArray()).length||!e.nodeName?a:(u=t(e).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]}),n,p)}));var r,l,i,s,d=a?{page:a.page,order:a.order,search:a.search}:{},c=this.columns(n,d),u=this.rows(e,d);d=this.iterator("table",(function(t,e){var n=[];for(r=0,l=u[e].length;r<l;r++)for(i=0,s=c[e].length;i<s;i++)n.push({row:u[e][r],column:c[e][i]});return n}),1),d=a&&a.selected?this.cells(d,a):d;return t.extend(d.selector,{cols:n,rows:e,opts:a}),d})),qt("cells().nodes()","cell().node()",(function(){return this.iterator("cell",(function(t,e,n){return(t=t.aoData[e])&&t.anCells?t.anCells[n]:o}),1)})),Ut("cells().data()",(function(){return this.iterator("cell",(function(t,e,n){return w(t,e,n)}),1)})),qt("cells().cache()","cell().cache()",(function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",(function(e,n,o){return e.aoData[n][t][o]}),1)})),qt("cells().render()","cell().render()",(function(t){return this.iterator("cell",(function(e,n,o){return w(e,n,o,t)}),1)})),qt("cells().indexes()","cell().index()",(function(){return this.iterator("cell",(function(t,e,n){return{row:e,column:n,columnVisible:m(t,n)}}),1)})),qt("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,o){k(e,n,t,o)}))})),Ut("cell()",(function(t,e,n){return _e(this.cells(t,e,n))})),Ut("cell().data()",(function(t){var e=this.context,n=this[0];return t===o?e.length&&n.length?w(e[0],n[0].row,n[0].column):o:(F(e[0],n[0].row,n[0].column,t),k(e[0],n[0].row,"data",n[0].column),this)})),Ut("order()",(function(t,e){var n=this.context;return t===o?0!==n.length?n[0].aaSorting:o:("number"==typeof t?t=[[t,e]]:t.length&&!Array.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",(function(e){e.aaSorting=t.slice()})))})),Ut("order.listener()",(function(t,e,n){return this.iterator("table",(function(o){_t(o,t,e,n)}))})),Ut("order.fixed()",(function(e){if(!e){var n=(n=this.context).length?n[0].aaSortingFixed:o;return Array.isArray(n)?{pre:n}:n}return this.iterator("table",(function(n){n.aaSortingFixed=t.extend(!0,{},e)}))})),Ut(["columns().order()","column().order()"],(function(e){var n=this;return this.iterator("table",(function(o,a){var r=[];t.each(n[a],(function(t,n){r.push([n,e])})),o.aaSorting=r}))})),Ut("search()",(function(e,n,a,r){var l=this.context;return e===o?0!==l.length?l[0].oPreviousSearch.sSearch:o:this.iterator("table",(function(o){o.oFeatures.bFilter&&V(o,t.extend({},o.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===a||a,bCaseInsensitive:null===r||r}),1)}))})),qt("columns().search()","column().search()",(function(e,n,a,r){return this.iterator("column",(function(l,i){var s=l.aoPreSearchCols;if(e===o)return s[i].sSearch;l.oFeatures.bFilter&&(t.extend(s[i],{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===a||a,bCaseInsensitive:null===r||r}),V(l,l.oPreviousSearch,1))}))})),Ut("state()",(function(){return this.context.length?this.context[0].oSavedState:null})),Ut("state.clear()",(function(){return this.iterator("table",(function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})}))})),Ut("state.loaded()",(function(){return this.context.length?this.context[0].oLoadedState:null})),Ut("state.save()",(function(){return this.iterator("table",(function(t){Tt(t)}))})),Xt.versionCheck=Xt.fnVersionCheck=function(t){for(var e,n,o=Xt.version.split("."),a=0,r=(t=t.split(".")).length;a<r;a++)if((e=parseInt(o[a],10)||0)!==(n=parseInt(t[a],10)||0))return e>n;return!0},Xt.isDataTable=Xt.fnIsDataTable=function(e){var n=t(e).get(0),o=!1;return e instanceof Xt.Api||(t.each(Xt.settings,(function(e,a){var r=a.nScrollHead?t("table",a.nScrollHead)[0]:null,l=a.nScrollFoot?t("table",a.nScrollFoot)[0]:null;a.nTable!==n&&r!==n&&l!==n||(o=!0)})),o)},Xt.tables=Xt.fnTables=function(e){var n=!1;t.isPlainObject(e)&&(n=e.api,e=e.visible);var o=t.map(Xt.settings,(function(n){if(!e||e&&t(n.nTable).is(":visible"))return n.nTable}));return n?new $t(o):o},Xt.camelToHungarian=r,Ut("$()",(function(e,n){var o=this.rows(n).nodes();o=t(o);return t([].concat(o.filter(e).toArray(),o.find(e).toArray()))})),t.each(["on","one","off"],(function(e,n){Ut(n+"()",(function(){var e=Array.prototype.slice.call(arguments);e[0]=t.map(e[0].split(/\s/),(function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" ");var o=t(this.tables().nodes());return o[n].apply(o,e),this}))})),Ut("clear()",(function(){return this.iterator("table",(function(t){D(t)}))})),Ut("settings()",(function(){return new $t(this.context,this.context)})),Ut("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),Ut("data()",(function(){return this.iterator("table",(function(t){return ae(t.aoData,"_aData")})).flatten()})),Ut("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(o){var a,r=o.nTableWrapper.parentNode,l=o.oClasses,i=o.nTable,s=o.nTBody,d=o.nTHead,c=o.nTFoot,u=t(i),f=(s=t(s),t(o.nTableWrapper)),p=t.map(o.aoData,(function(t){return t.nTr}));o.bDestroying=!0,Pt(o,"aoDestroyCallback","destroy",[o]),n||new $t(o).columns().visible(!0),f.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+o.sInstance),i!=d.parentNode&&(u.children("thead").detach(),u.append(d)),c&&i!=c.parentNode&&(u.children("tfoot").detach(),u.append(c)),o.aaSorting=[],o.aaSortingFixed=[],St(o),t(p).removeClass(o.asStripeClasses.join(" ")),t("th, td",d).removeClass(l.sSortable+" "+l.sSortableAsc+" "+l.sSortableDesc+" "+l.sSortableNone),s.children().detach(),s.append(p),u[d=n?"remove":"detach"](),f[d](),!n&&r&&(r.insertBefore(i,o.nTableReinsertBefore),u.css("width",o.sDestroyWidth).removeClass(l.sTable),(a=o.asDestroyStripes.length)&&s.children().each((function(e){t(this).addClass(o.asDestroyStripes[e%a])}))),-1!==(r=t.inArray(o,Xt.settings))&&Xt.settings.splice(r,1)}))})),t.each(["column","row","cell"],(function(t,e){Ut(e+"s().every()",(function(t){var n=this.selector.opts,a=this;return this.iterator(e,(function(r,l,i,s,d){t.call(a[e](l,"cell"===e?i:n,"cell"===e?n:o),l,i,s,d)}))}))})),Ut("i18n()",(function(e,n,a){var r=this.context[0];return(e=S(e)(r.oLanguage))===o&&(e=n),a!==o&&t.isPlainObject(e)&&(e=e[a]!==o?e[a]:e._),e.replace("%d",a)})),Xt.version="1.10.23",Xt.settings=[],Xt.models={},Xt.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Xt.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Xt.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,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},Xt.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.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(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},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:t.extend({},Xt.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},a(Xt.defaults),Xt.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},a(Xt.defaults.column),Xt.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:!1,bScrollbarLeft:!1,bBounding:!1,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:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:o,oAjaxData:o,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Et(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Et(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,o=this.aiDisplay.length,a=this.oFeatures,r=a.bPaginate;return a.bServerSide?!1===r||-1===t?e+o:Math.min(e+t,this._iRecordsDisplay):!r||n>o||-1===t?o:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Xt.ext=Wt={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:Xt.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Xt.version},t.extend(Wt,{afnFiltering:Wt.search,aTypes:Wt.type.detect,ofnSearch:Wt.type.search,oSort:Wt.type.order,afnSortData:Wt.order,aoFeatures:Wt.feature,oApi:Wt.internal,oStdClasses:Wt.classes,oPagination:Wt.pager}),t.extend(Xt.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 ke=Xt.ext.pager;t.extend(ke,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[Ht(t,e)]},simple_numbers:function(t,e){return["previous",Ht(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Ht(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Ht(t,e),"last"]},_numbers:Ht,numbers_length:7}),t.extend(!0,Xt.ext.renderer,{pageButton:{_:function(e,a,r,l,i,s){var d,c,u,f=e.oClasses,p=e.oLanguage.oPaginate,h=e.oLanguage.oAria.paginate||{},m=0,b=function(n,o){var a,l,u,y,g=f.sPageButtonDisabled,v=function(t){dt(e,t.data.action,!0)};for(a=0,l=o.length;a<l;a++)if(y=o[a],Array.isArray(y))u=t("<"+(y.DT_el||"div")+"/>").appendTo(n),b(u,y);else{switch(d=null,c=y,u=e.iTabIndex,y){case"ellipsis":n.append('<span class="ellipsis">&#x2026;</span>');break;case"first":d=p.sFirst,0===i&&(u=-1,c=c+" "+g);break;case"previous":d=p.sPrevious,0===i&&(u=-1,c=c+" "+g);break;case"next":d=p.sNext,0!==s&&i!==s-1||(u=-1,c=c+" "+g);break;case"last":d=p.sLast,0!==s&&i!==s-1||(u=-1,c=c+" "+g);break;default:d=e.fnFormatNumber(y+1),c=i===y?f.sPageButtonActive:""}null!==d&&(Lt(u=t("<a>",{class:f.sPageButton+" "+c,"aria-controls":e.sTableId,"aria-label":h[y],"data-dt-idx":m,tabindex:u,id:0===r&&"string"==typeof y?e.sTableId+"_"+y:null}).html(d).appendTo(n),{action:y},v),m++)}};try{u=t(a).find(n.activeElement).data("dt-idx")}catch(t){}b(t(a).empty(),l),u!==o&&t(a).find("[data-dt-idx="+u+"]").trigger("focus")}}}),t.extend(Xt.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return ne(t,n)?"num"+n:null},function(t){if(t&&!(t instanceof Date)&&!Gt.test(t))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||Yt(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return ne(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return oe(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return oe(t,n,!0)?"html-num-fmt"+n:null},function(t){return Yt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(Xt.ext.type.search,{html:function(t){return Yt(t)?t:"string"==typeof t?t.replace(Jt," ").replace(Kt,""):""},string:function(t){return Yt(t)?t:"string"==typeof t?t.replace(Jt," "):t}});var Be=function(t,e,n,o){return 0===t||t&&"-"!==t?(e&&(t=ee(t,e)),t.replace&&(n&&(t=t.replace(n,"")),o&&(t=t.replace(o,""))),1*t):-1/0};t.extend(Wt.type.order,{"date-pre":function(t){return t=Date.parse(t),isNaN(t)?-1/0:t},"html-pre":function(t){return Yt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return Yt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),Mt(""),t.extend(!0,Xt.ext.renderer,{header:{_:function(e,n,o,a){t(e.nTable).on("order.dt.DT",(function(t,r,l,i){e===r&&(t=o.idx,n.removeClass(o.sSortingClass+" "+a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[t]?a.sSortAsc:"desc"==i[t]?a.sSortDesc:o.sSortingClass))}))},jqueryui:function(e,n,o,a){t("<div/>").addClass(a.sSortJUIWrapper).append(n.contents()).append(t("<span/>").addClass(a.sSortIcon+" "+o.sSortingClassJUI)).appendTo(n),t(e.nTable).on("order.dt.DT",(function(t,r,l,i){e===r&&(t=o.idx,n.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[t]?a.sSortAsc:"desc"==i[t]?a.sSortDesc:o.sSortingClass),n.find("span."+a.sSortIcon).removeClass(a.sSortJUIAsc+" "+a.sSortJUIDesc+" "+a.sSortJUI+" "+a.sSortJUIAscAllowed+" "+a.sSortJUIDescAllowed).addClass("asc"==i[t]?a.sSortJUIAsc:"desc"==i[t]?a.sSortJUIDesc:o.sSortingClassJUI))}))}}});var Ne=function(t){return"string"==typeof t?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t};return Xt.render={number:function(t,e,n,o,a){return{display:function(r){if("number"!=typeof r&&"string"!=typeof r)return r;var l=r<0?"-":"",i=parseFloat(r);return isNaN(i)?Ne(r):(i=i.toFixed(n),r=Math.abs(i),i=parseInt(r,10),r=n?e+(r-i).toFixed(n).substring(2):"",l+(o||"")+i.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+r+(a||""))}}},text:function(){return{display:Ne,filter:Ne}}},t.extend(Xt.ext.internal,{_fnExternApiFunc:zt,_fnBuildAjax:z,_fnAjaxUpdate:W,_fnAjaxParameters:$,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:q,_fnAddColumn:u,_fnColumnOptions:f,_fnAdjustColumnSizing:p,_fnVisibleToColumnIndex:h,_fnColumnIndexToVisible:m,_fnVisbleColumns:b,_fnGetColumns:y,_fnColumnTypes:g,_fnApplyColumnDefs:v,_fnHungarianMap:a,_fnCamelToHungarian:r,_fnLanguageCompat:l,_fnBrowserDetect:d,_fnAddData:x,_fnAddTr:I,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==o?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,n,o){return t.inArray(o,e.aoData[n].anCells)},_fnGetCellData:w,_fnSetCellData:F,_fnSplitObjNotation:_,_fnGetObjectDataFn:S,_fnSetObjectDataFn:C,_fnGetDataMaster:T,_fnClearTable:D,_fnDeleteIndex:A,_fnInvalidate:k,_fnGetRowElements:B,_fnCreateTr:N,_fnBuildHead:R,_fnDrawHead:P,_fnDraw:j,_fnReDraw:O,_fnAddOptionsHtml:E,_fnDetectHeader:H,_fnGetUniqueThs:M,_fnFeatureHtmlFilter:X,_fnFilterComplete:V,_fnFilterCustom:J,_fnFilterColumn:K,_fnFilter:G,_fnFilterCreateSearch:Z,_fnEscapeRegex:pe,_fnFilterData:Q,_fnFeatureHtmlInfo:et,_fnUpdateInfo:nt,_fnInfoMacros:ot,_fnInitialise:at,_fnInitComplete:rt,_fnLengthChange:lt,_fnFeatureHtmlLength:it,_fnFeatureHtmlPaginate:st,_fnPageChange:dt,_fnFeatureHtmlProcessing:ct,_fnProcessingDisplay:ut,_fnFeatureHtmlTable:ft,_fnScrollDraw:pt,_fnApplyToChildren:ht,_fnCalculateColumnWidths:mt,_fnThrottle:ye,_fnConvertToWidth:bt,_fnGetWidestNode:yt,_fnGetMaxLenString:gt,_fnStringToCss:vt,_fnSortFlatten:xt,_fnSort:It,_fnSortAria:wt,_fnSortListener:Ft,_fnSortAttachListener:_t,_fnSortingClasses:St,_fnSortData:Ct,_fnSaveState:Tt,_fnLoadState:Dt,_fnSettingsFromNode:At,_fnLog:kt,_fnMap:Bt,_fnBindAction:Lt,_fnCallbackReg:Rt,_fnCallbackFire:Pt,_fnLengthOverflow:jt,_fnRenderer:Ot,_fnDataSource:Et,_fnRowAttributes:L,_fnExtend:Nt,_fnCalculateEnd:function(){}}),t.fn.dataTable=Xt,Xt.$=t,t.fn.dataTableSettings=Xt.settings,t.fn.dataTableExt=Xt.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(Xt,(function(e,n){t.fn.DataTable[e]=n})),t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){"use strict";var a=t.fn.dataTable;return t.extend(!0,a.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),t.extend(a.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),a.ext.renderer.pageButton.bootstrap=function(e,r,l,i,s,d){var c,u,f,p=new a.Api(e),h=e.oClasses,m=e.oLanguage.oPaginate,b=e.oLanguage.oAria.paginate||{},y=0,g=function(n,o){var a,r,i,f,v=function(e){e.preventDefault(),t(e.currentTarget).hasClass("disabled")||p.page()==e.data.action||p.page(e.data.action).draw("page")};for(a=0,r=o.length;a<r;a++)if(f=o[a],Array.isArray(f))g(n,f);else{switch(c="",u="",f){case"ellipsis":c="&#x2026;",u="disabled";break;case"first":c=m.sFirst,u=f+(s>0?"":" disabled");break;case"previous":c=m.sPrevious,u=f+(s>0?"":" disabled");break;case"next":c=m.sNext,u=f+(s<d-1?"":" disabled");break;case"last":c=m.sLast,u=f+(s<d-1?"":" disabled");break;default:c=f+1,u=s===f?"active":""}c&&(i=t("<li>",{class:h.sPageButton+" "+u,id:0===l&&"string"==typeof f?e.sTableId+"_"+f:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":b[f],"data-dt-idx":y,tabindex:e.iTabIndex,class:"page-link"}).html(c)).appendTo(n),e.oApi._fnBindAction(i,{action:f},v),y++)}};try{f=t(r).find(n.activeElement).data("dt-idx")}catch(t){}g(t(r).empty().html('<ul class="pagination"/>').children("ul"),i),f!==o&&t(r).find("[data-dt-idx="+f+"]").trigger("focus")},a})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){function a(t,e,n){var a=e+"-"+n;if(i[a]){t=t.cell(e,n).node(),e=[];for(var r=0,l=(n=i[a][0].parentNode.childNodes).length;r<l;r++)e.push(n[r]);for(n=0,r=e.length;n<r;n++)t.appendChild(e[n]);i[a]=o}}var r=t.fn.dataTable,l=function(e,n){if(!r.versionCheck||!r.versionCheck("1.10.10"))throw"DataTables Responsive requires DataTables 1.10.10 or newer";this.s={dt:new r.Api(e),columns:[],current:[]},this.s.dt.settings()[0].responsive||(n&&"string"==typeof n.details?n.details={type:n.details}:n&&!1===n.details?n.details={type:!1}:n&&!0===n.details&&(n.details={type:"inline"}),this.c=t.extend(!0,{},l.defaults,r.defaults.responsive,n),e.responsive=this,this._constructor())};t.extend(l.prototype,{_constructor:function(){var n=this,o=this.s.dt,a=o.settings()[0],l=t(e).innerWidth();o.settings()[0]._responsive=this,t(e).on("resize.dtr orientationchange.dtr",r.util.throttle((function(){var o=t(e).innerWidth();o!==l&&(n._resize(),l=o)}))),a.oApi._fnCallbackReg(a,"aoRowCreatedCallback",(function(e){-1!==t.inArray(!1,n.s.current)&&t(">td, >th",e).each((function(e){e=o.column.index("toData",e),!1===n.s.current[e]&&t(this).css("display","none")}))})),o.on("destroy.dtr",(function(){o.off(".dtr"),t(o.table().body()).off(".dtr"),t(e).off("resize.dtr orientationchange.dtr"),o.cells(".dtr-control").nodes().to$().removeClass("dtr-control"),t.each(n.s.current,(function(t,e){!1===e&&n._setColumnVis(t,!0)}))})),this.c.breakpoints.sort((function(t,e){return t.width<e.width?1:t.width>e.width?-1:0})),this._classLogic(),this._resizeAuto(),!1!==(a=this.c.details).type&&(n._detailsInit(),o.on("column-visibility.dtr",(function(){n._timer&&clearTimeout(n._timer),n._timer=setTimeout((function(){n._timer=null,n._classLogic(),n._resizeAuto(),n._resize(!0),n._redrawChildren()}),100)})),o.on("draw.dtr",(function(){n._redrawChildren()})),t(o.table().node()).addClass("dtr-"+a.type)),o.on("column-reorder.dtr",(function(){n._classLogic(),n._resizeAuto(),n._resize(!0)})),o.on("column-sizing.dtr",(function(){n._resizeAuto(),n._resize()})),o.on("preXhr.dtr",(function(){var t=[];o.rows().every((function(){this.child.isShown()&&t.push(this.id(!0))})),o.one("draw.dtr",(function(){n._resizeAuto(),n._resize(),o.rows(t).every((function(){n._detailsDisplay(this,!1)}))}))})),o.on("draw.dtr",(function(){n._controlClass()})).on("init.dtr",(function(e){"dt"===e.namespace&&(n._resizeAuto(),n._resize(),t.inArray(!1,n.s.current)&&o.columns.adjust())})),this._resize()},_columnsVisiblity:function(e){var n,o,a=this.s.dt,r=this.s.columns,l=r.map((function(t,e){return{columnIdx:e,priority:t.priority}})).sort((function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx})),i=t.map(r,(function(n,o){return!1===a.column(o).visible()?"not-visible":(!n.auto||null!==n.minWidth)&&(!0===n.auto?"-":-1!==t.inArray(e,n.includeIn))})),s=0;for(n=0,o=i.length;n<o;n++)!0===i[n]&&(s+=r[n].minWidth);for(n=(n=a.settings()[0].oScroll).sY||n.sX?n.iBarWidth:0,s=a.table().container().offsetWidth-n-s,n=0,o=i.length;n<o;n++)r[n].control&&(s-=r[n].minWidth);var d=!1;for(n=0,o=l.length;n<o;n++){var c=l[n].columnIdx;"-"===i[c]&&!r[c].control&&r[c].minWidth&&(d||0>s-r[c].minWidth?(d=!0,i[c]=!1):i[c]=!0,s-=r[c].minWidth)}for(l=!1,n=0,o=r.length;n<o;n++)if(!r[n].control&&!r[n].never&&!1===i[n]){l=!0;break}for(n=0,o=r.length;n<o;n++)r[n].control&&(i[n]=l),"not-visible"===i[n]&&(i[n]=!1);return-1===t.inArray(!0,i)&&(i[0]=!0),i},_classLogic:function(){var e=this,n=this.c.breakpoints,a=this.s.dt,r=a.columns().eq(0).map((function(t){var e=(n=this.column(t)).header().className,n=(t=a.settings()[0].aoColumns[t].responsivePriority,n.header().getAttribute("data-priority"));return t===o&&(t=n===o||null===n?1e4:1*n),{className:e,includeIn:[],auto:!1,control:!1,never:!!e.match(/\bnever\b/),priority:t}})),l=function(e,n){var o=r[e].includeIn;-1===t.inArray(n,o)&&o.push(n)},i=function(t,o,a,i){if(a){if("max-"===a)for(i=e._find(o).width,o=0,a=n.length;o<a;o++)n[o].width<=i&&l(t,n[o].name);else if("min-"===a)for(i=e._find(o).width,o=0,a=n.length;o<a;o++)n[o].width>=i&&l(t,n[o].name);else if("not-"===a)for(o=0,a=n.length;o<a;o++)-1===n[o].name.indexOf(i)&&l(t,n[o].name)}else r[t].includeIn.push(o)};r.each((function(e,o){for(var a=e.className.split(" "),r=!1,l=0,s=a.length;l<s;l++){var d=a[l].trim();if("all"===d)return r=!0,void(e.includeIn=t.map(n,(function(t){return t.name})));if("none"===d||e.never)return void(r=!0);if("control"===d||"dtr-control"===d)return r=!0,void(e.control=!0);t.each(n,(function(t,e){var n=e.name.split("-"),a=d.match(RegExp("(min\\-|max\\-|not\\-)?("+n[0]+")(\\-[_a-zA-Z0-9])?"));a&&(r=!0,a[2]===n[0]&&a[3]==="-"+n[1]?i(o,e.name,a[1],a[2]+a[3]):a[2]===n[0]&&!a[3]&&i(o,e.name,a[1],a[2]))}))}r||(e.auto=!0)})),this.s.columns=r},_controlClass:function(){if("inline"===this.c.details.type){var e=this.s.dt,n=t.inArray(!0,this.s.current);e.cells(null,(function(t){return t!==n}),{page:"current"}).nodes().to$().filter(".dtr-control").removeClass("dtr-control"),e.cells(null,n,{page:"current"}).nodes().to$().addClass("dtr-control")}},_detailsDisplay:function(e,n){var o=this,a=this.s.dt,r=this.c.details;if(r&&!1!==r.type){var l=r.display(e,n,(function(){return r.renderer(a,e[0],o._detailsObj(e[0]))}));(!0===l||!1===l)&&t(a.table().node()).triggerHandler("responsive-display.dt",[a,e,l,n])}},_detailsInit:function(){var e=this,n=this.s.dt,a=this.c.details;"inline"===a.type&&(a.target="td.dtr-control, th.dtr-control"),n.on("draw.dtr",(function(){e._tabIndexes()})),e._tabIndexes(),t(n.table().body()).on("keyup.dtr","td, th",(function(e){13===e.keyCode&&t(this).data("dtr-keyboard")&&t(this).click()}));var r=a.target;r===o&&null===r||t(n.table().body()).on("click.dtr mousedown.dtr mouseup.dtr","string"==typeof r?r:"td, th",(function(o){if(t(n.table().node()).hasClass("collapsed")&&-1!==t.inArray(t(this).closest("tr").get(0),n.rows().nodes().toArray())){if("number"==typeof r){var a=r<0?n.columns().eq(0).length+r:r;if(n.cell(this).index().column!==a)return}a=n.row(t(this).closest("tr")),"click"===o.type?e._detailsDisplay(a,!1):"mousedown"===o.type?t(this).css("outline","none"):"mouseup"===o.type&&t(this).trigger("blur").css("outline","")}}))},_detailsObj:function(e){var n=this,o=this.s.dt;return t.map(this.s.columns,(function(a,r){if(!a.never&&!a.control){var l=o.settings()[0].aoColumns[r];return{className:l.sClass,columnIndex:r,data:o.cell(e,r).render(n.c.orthogonal),hidden:o.column(r).visible()&&!n.s.current[r],rowIndex:e,title:null!==l.sTitle?l.sTitle:t(o.column(r).header()).text()}}}))},_find:function(t){for(var e=this.c.breakpoints,n=0,o=e.length;n<o;n++)if(e[n].name===t)return e[n]},_redrawChildren:function(){var t=this,e=this.s.dt;e.rows({page:"current"}).iterator("row",(function(n,o){e.row(o),t._detailsDisplay(e.row(o),!0)}))},_resize:function(n){var o,a=this,r=this.s.dt,l=t(e).innerWidth(),i=this.c.breakpoints,s=i[0].name,d=this.s.columns,c=this.s.current.slice();for(o=i.length-1;0<=o;o--)if(l<=i[o].width){s=i[o].name;break}var u=this._columnsVisiblity(s);for(this.s.current=u,i=!1,o=0,l=d.length;o<l;o++)if(!1===u[o]&&!d[o].never&&!d[o].control&&!1==!r.column(o).visible()){i=!0;break}t(r.table().node()).toggleClass("collapsed",i);var f=!1,p=0;r.columns().eq(0).each((function(t,e){!0===u[e]&&p++,(n||u[e]!==c[e])&&(f=!0,a._setColumnVis(t,u[e]))})),f&&(this._redrawChildren(),t(r.table().node()).trigger("responsive-resize.dt",[r,this.s.current]),0===r.page.info().recordsDisplay&&t("td",r.table().body()).eq(0).attr("colspan",p)),a._controlClass()},_resizeAuto:function(){var e=this.s.dt,n=this.s.columns;if(this.c.auto&&-1!==t.inArray(!0,t.map(n,(function(t){return t.auto})))){t.isEmptyObject(i)||t.each(i,(function(t){t=t.split("-"),a(e,1*t[0],1*t[1])})),e.table().node();var o=e.table().node().cloneNode(!1),r=t(e.table().header().cloneNode(!1)).appendTo(o),l=t(e.table().body()).clone(!1,!1).empty().appendTo(o);o.style.width="auto";var s=e.columns().header().filter((function(t){return e.column(t).visible()})).to$().clone(!1).css("display","table-cell").css("width","auto").css("min-width",0);if(t(l).append(t(e.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display",""),l=e.table().footer()){l=t(l.cloneNode(!1)).appendTo(o);var d=e.columns().footer().filter((function(t){return e.column(t).visible()})).to$().clone(!1).css("display","table-cell");t("<tr/>").append(d).appendTo(l)}t("<tr/>").append(s).appendTo(r),"inline"===this.c.details.type&&t(o).addClass("dtr-inline collapsed"),t(o).find("[name]").removeAttr("name"),t(o).css("position","relative"),(o=t("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(o)).insertBefore(e.table().node()),s.each((function(t){t=e.column.index("fromVisible",t),n[t].minWidth=this.offsetWidth||0})),o.remove()}},_responsiveOnlyHidden:function(){var e=this.s.dt;return t.map(this.s.current,(function(t,n){return!1===e.column(n).visible()||t}))},_setColumnVis:function(e,n){var o=this.s.dt,r=n?"":"none";t(o.column(e).header()).css("display",r),t(o.column(e).footer()).css("display",r),o.column(e).nodes().to$().css("display",r),t.isEmptyObject(i)||o.cells(null,e).indexes().each((function(t){a(o,t.row,t.column)}))},_tabIndexes:function(){var e=this.s.dt,n=e.cells({page:"current"}).nodes().to$(),o=e.settings()[0],a=this.c.details.target;n.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),"number"==typeof a?e.cells(null,a,{page:"current"}).nodes().to$().attr("tabIndex",o.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===a&&(a=">td:first-child, >th:first-child"),t(a,e.rows({page:"current"}).nodes()).attr("tabIndex",o.iTabIndex).data("dtr-keyboard",1))}}),l.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}],l.display={childRow:function(e,n,o){return n?t(e.node()).hasClass("parent")?(e.child(o(),"child").show(),!0):void 0:e.child.isShown()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(o(),"child").show(),t(e.node()).addClass("parent"),!0)},childRowImmediate:function(e,n,o){return!n&&e.child.isShown()||!e.responsive.hasHidden()?(e.child(!1),t(e.node()).removeClass("parent"),!1):(e.child(o(),"child").show(),t(e.node()).addClass("parent"),!0)},modal:function(e){return function(o,a,r){if(a)t("div.dtr-modal-content").empty().append(r());else{var l=function(){i.remove(),t(n).off("keypress.dtr")},i=t('<div class="dtr-modal"/>').append(t('<div class="dtr-modal-display"/>').append(t('<div class="dtr-modal-content"/>').append(r())).append(t('<div class="dtr-modal-close">&times;</div>').click((function(){l()})))).append(t('<div class="dtr-modal-background"/>').click((function(){l()}))).appendTo("body");t(n).on("keyup.dtr",(function(t){27===t.keyCode&&(t.stopPropagation(),l())}))}e&&e.header&&t("div.dtr-modal-content").prepend("<h2>"+e.header(o)+"</h2>")}}};var i={};l.renderer={listHiddenNodes:function(){return function(e,n,o){var a=t('<ul data-dtr-index="'+n+'" class="dtr-details"/>'),r=!1;return t.each(o,(function(n,o){o.hidden&&(t("<li "+(o.className?'class="'+o.className+'"':"")+' data-dtr-index="'+o.columnIndex+'" data-dt-row="'+o.rowIndex+'" data-dt-column="'+o.columnIndex+'"><span class="dtr-title">'+o.title+"</span> </li>").append(t('<span class="dtr-data"/>').append(function(t,e,n){var o=e+"-"+n;if(i[o])return i[o];var a=[];for(t=t.cell(e,n).node().childNodes,e=0,n=t.length;e<n;e++)a.push(t[e]);return i[o]=a}(e,o.rowIndex,o.columnIndex))).appendTo(a),r=!0)})),!!r&&a}},listHidden:function(){return function(e,n,o){return!!(e=t.map(o,(function(t){var e=t.className?'class="'+t.className+'"':"";return t.hidden?"<li "+e+' data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""})).join(""))&&t('<ul data-dtr-index="'+n+'" class="dtr-details"/>').append(e)}},tableAll:function(e){return e=t.extend({tableClass:""},e),function(n,o,a){return n=t.map(a,(function(t){return"<tr "+(t.className?'class="'+t.className+'"':"")+' data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+t.title+":</td> <td>"+t.data+"</td></tr>"})).join(""),t('<table class="'+e.tableClass+' dtr-details" width="100%"/>').append(n)}}},l.defaults={breakpoints:l.breakpoints,auto:!0,details:{display:l.display.childRow,renderer:l.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var s=t.fn.dataTable.Api;return s.register("responsive()",(function(){return this})),s.register("responsive.index()",(function(e){return{column:(e=t(e)).data("dtr-index"),row:e.parent().data("dtr-index")}})),s.register("responsive.rebuild()",(function(){return this.iterator("table",(function(t){t._responsive&&t._responsive._classLogic()}))})),s.register("responsive.recalc()",(function(){return this.iterator("table",(function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())}))})),s.register("responsive.hasHidden()",(function(){var e=this.context[0];return!!e._responsive&&-1!==t.inArray(!1,e._responsive._responsiveOnlyHidden())})),s.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",(function(){return this.iterator("column",(function(t,e){return!!t._responsive&&t._responsive._responsiveOnlyHidden()[e]}),1)})),l.version="2.2.7",t.fn.dataTable.Responsive=l,t.fn.DataTable.Responsive=l,t(n).on("preInit.dt.dtr",(function(e,n){if("dt"===e.namespace&&(t(n.nTable).hasClass("responsive")||t(n.nTable).hasClass("dt-responsive")||n.oInit.responsive||r.defaults.responsive)){var o=n.oInit.responsive;!1!==o&&new l(n,t.isPlainObject(o)?o:{})}})),l})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-responsive"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.Responsive||require("datatables.net-responsive")(e,n),t(n,e.document)}:t(jQuery,window,document)}((function(t){var e=t.fn.dataTable,n=e.Responsive.display,o=n.modal,a=t('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button></div><div class="modal-body"/></div></div></div>');return n.modal=function(e){return function(n,r,l){if(t.fn.modal){if(!r){if(e&&e.header){var i=(r=a.find("div.modal-header")).find("button").detach();r.empty().append('<h4 class="modal-title">'+e.header(n)+"</h4>").append(i)}a.find("div.modal-body").empty().append(l()),a.appendTo("body").modal()}}else o(n,r,l)}},e.Responsive})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){function a(e,n,o){t.fn.animate?e.stop().fadeIn(n,o):(e.css("display","block"),o&&o.call(e))}function r(e,n,o){t.fn.animate?e.stop().fadeOut(n,o):(e.css("display","none"),o&&o.call(e))}function l(t,e){var n=new s.Api(t),o=e||(n.init().buttons||s.defaults.buttons);return new f(n,o).container()}var i,s=t.fn.dataTable,d=0,c=0,u=s.ext.buttons,f=function(e,n){if(!(this instanceof f))return function(t){return new f(t,e).container()};void 0===n&&(n={}),!0===n&&(n={}),Array.isArray(n)&&(n={buttons:n}),this.c=t.extend(!0,{},f.defaults,n),n.buttons&&(this.c.buttons=n.buttons),this.s={dt:new s.Api(e),buttons:[],listenKeys:"",namespace:"dtb"+d++},this.dom={container:t("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};t.extend(f.prototype,{action:function(t,e){var n=this._nodeToButton(t);return e===o?n.conf.action:(n.conf.action=e,this)},active:function(e,n){var a=this._nodeToButton(e),r=this.c.dom.button.active;a=t(a.node);return n===o?a.hasClass(r):(a.toggleClass(r,n===o||n),this)},add:function(t,e){var n=this.s.buttons;if("string"==typeof e){for(var a=e.split("-"),r=this.s,l=(n=0,a.length-1);n<l;n++)r=r.buttons[1*a[n]];n=r.buttons,e=1*a[a.length-1]}return this._expandButton(n,t,r!==o,e),this._draw(),this},container:function(){return this.dom.container},disable:function(e){return e=this._nodeToButton(e),t(e.node).addClass(this.c.dom.button.disabled).attr("disabled",!0),this},destroy:function(){t("body").off("keyup."+this.s.namespace);var e,n,o=this.s.buttons.slice();for(e=0,n=o.length;e<n;e++)this.remove(o[e].node);for(this.dom.container.remove(),e=0,n=(o=this.s.dt.settings()[0]).length;e<n;e++)if(o.inst===this){o.splice(e,1);break}return this},enable:function(e,n){if(!1===n)return this.disable(e);var o=this._nodeToButton(e);return t(o.node).removeClass(this.c.dom.button.disabled).removeAttr("disabled"),this},name:function(){return this.c.name},node:function(e){return e?(e=this._nodeToButton(e),t(e.node)):this.dom.container},processing:function(e,n){var a=this.s.dt,r=this._nodeToButton(e);return n===o?t(r.node).hasClass("processing"):(t(r.node).toggleClass("processing",n),t(a.table().node()).triggerHandler("buttons-processing.dt",[n,a.button(e),a,t(e),r.conf]),this)},remove:function(e){var n=this._nodeToButton(e),o=this._nodeToHost(e),a=this.s.dt;if(n.buttons.length)for(var r=n.buttons.length-1;0<=r;r--)this.remove(n.buttons[r].node);return n.conf.destroy&&n.conf.destroy.call(a.button(e),a,t(e),n.conf),this._removeKey(n.conf),t(n.node).remove(),e=t.inArray(n,o),o.splice(e,1),this},text:function(e,n){var a=this._nodeToButton(e),r=this.c.dom.collection.buttonLiner,l=(r=a.inCollection&&r&&r.tag?r.tag:this.c.dom.buttonLiner.tag,this.s.dt),i=t(a.node),s=function(t){return"function"==typeof t?t(l,i,a.conf):t};return n===o?s(a.conf.text):(a.conf.text=n,r?i.children(r).html(s(n)):i.html(s(n)),this)},_constructor:function(){var e=this,o=this.s.dt,a=o.settings()[0],r=this.c.buttons;a._buttons||(a._buttons=[]),a._buttons.push({inst:this,name:this.c.name});for(var l=0,i=r.length;l<i;l++)this.add(r[l]);o.on("destroy",(function(t,n){n===a&&e.destroy()})),t("body").on("keyup."+this.s.namespace,(function(t){if(!n.activeElement||n.activeElement===n.body){var o=String.fromCharCode(t.keyCode).toLowerCase();-1!==e.s.listenKeys.toLowerCase().indexOf(o)&&e._keypress(o,t)}}))},_addKey:function(e){e.key&&(this.s.listenKeys+=t.isPlainObject(e.key)?e.key.key:e.key)},_draw:function(t,e){t||(t=this.dom.container,e=this.s.buttons),t.children().detach();for(var n=0,o=e.length;n<o;n++)t.append(e[n].inserter),t.append(" "),e[n].buttons&&e[n].buttons.length&&this._draw(e[n].collection,e[n].buttons)},_expandButton:function(e,n,a,r){for(var l=this.s.dt,i=0,s=(n=Array.isArray(n)?n:[n]).length;i<s;i++){var d=this._resolveExtends(n[i]);if(d)if(Array.isArray(d))this._expandButton(e,d,a,r);else{var c=this._buildButton(d,a);c&&(r!==o&&null!==r?(e.splice(r,0,c),r++):e.push(c),c.conf.buttons&&(c.collection=t("<"+this.c.dom.collection.tag+"/>"),c.conf._collection=c.collection,this._expandButton(c.buttons,c.conf.buttons,!0,r)),d.init&&d.init.call(l.button(c.node),l,t(c.node),d))}}},_buildButton:function(e,n){var a=this.c.dom.button,r=this.c.dom.buttonLiner,l=this.c.dom.collection,i=this.s.dt,s=function(t){return"function"==typeof t?t(i,f,e):t};if(n&&l.button&&(a=l.button),n&&l.buttonLiner&&(r=l.buttonLiner),e.available&&!e.available(i,e))return!1;var d=function(e,n,o,a){a.action.call(n.button(o),e,n,o,a),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(o),n,o,a])},u=(l=e.tag||a.tag,e.clickBlurs===o||e.clickBlurs),f=t("<"+l+"/>").addClass(a.className).attr("tabindex",this.s.dt.settings()[0].iTabIndex).attr("aria-controls",this.s.dt.table().node().id).on("click.dtb",(function(t){t.preventDefault(),!f.hasClass(a.disabled)&&e.action&&d(t,i,f,e),u&&f.trigger("blur")})).on("keyup.dtb",(function(t){13===t.keyCode&&!f.hasClass(a.disabled)&&e.action&&d(t,i,f,e)}));return"a"===l.toLowerCase()&&f.attr("href","#"),"button"===l.toLowerCase()&&f.attr("type","button"),r.tag?(l=t("<"+r.tag+"/>").html(s(e.text)).addClass(r.className),"a"===r.tag.toLowerCase()&&l.attr("href","#"),f.append(l)):f.html(s(e.text)),!1===e.enabled&&f.addClass(a.disabled),e.className&&f.addClass(e.className),e.titleAttr&&f.attr("title",s(e.titleAttr)),e.attr&&f.attr(e.attr),e.namespace||(e.namespace=".dt-button-"+c++),r=(r=this.c.dom.buttonContainer)&&r.tag?t("<"+r.tag+"/>").addClass(r.className).append(f):f,this._addKey(e),this.c.buttonCreated&&(r=this.c.buttonCreated(e,r)),{conf:e,node:f.get(0),inserter:r,buttons:[],inCollection:n,collection:null}},_nodeToButton:function(t,e){e||(e=this.s.buttons);for(var n=0,o=e.length;n<o;n++){if(e[n].node===t)return e[n];if(e[n].buttons.length){var a=this._nodeToButton(t,e[n].buttons);if(a)return a}}},_nodeToHost:function(t,e){e||(e=this.s.buttons);for(var n=0,o=e.length;n<o;n++){if(e[n].node===t)return e;if(e[n].buttons.length){var a=this._nodeToHost(t,e[n].buttons);if(a)return a}}},_keypress:function(e,n){if(!n._buttonsHandled){var o=function(a){for(var r=0,l=a.length;r<l;r++){var i=a[r].conf,s=a[r].node;i.key&&(i.key===e?(n._buttonsHandled=!0,t(s).click()):!t.isPlainObject(i.key)||i.key.key!==e||i.key.shiftKey&&!n.shiftKey||i.key.altKey&&!n.altKey||i.key.ctrlKey&&!n.ctrlKey||i.key.metaKey&&!n.metaKey||(n._buttonsHandled=!0,t(s).click())),a[r].buttons.length&&o(a[r].buttons)}};o(this.s.buttons)}},_removeKey:function(e){if(e.key){var n=t.isPlainObject(e.key)?e.key.key:e.key;e=this.s.listenKeys.split(""),n=t.inArray(n,e);e.splice(n,1),this.s.listenKeys=e.join("")}},_resolveExtends:function(e){var n,a,r=this.s.dt,l=function(n){for(var a=0;!t.isPlainObject(n)&&!Array.isArray(n);){if(n===o)return;if("function"==typeof n){if(!(n=n(r,e)))return!1}else if("string"==typeof n){if(!u[n])throw"Unknown button type: "+n;n=u[n]}if(30<++a)throw"Buttons: Too many iterations"}return Array.isArray(n)?n:t.extend({},n)};for(e=l(e);e&&e.extend;){if(!u[e.extend])throw"Cannot extend unknown button type: "+e.extend;var i=l(u[e.extend]);if(Array.isArray(i))return i;if(!i)return!1;n=i.className,e=t.extend({},i,e),n&&e.className!==n&&(e.className=n+" "+e.className);var s=e.postfixButtons;if(s){for(e.buttons||(e.buttons=[]),n=0,a=s.length;n<a;n++)e.buttons.push(s[n]);e.postfixButtons=null}if(s=e.prefixButtons){for(e.buttons||(e.buttons=[]),n=0,a=s.length;n<a;n++)e.buttons.splice(n,0,s[n]);e.prefixButtons=null}e.extend=i.extend}return e},_popover:function(o,l,i){var s=this.c,d=t.extend({align:"button-left",autoClose:!1,background:!0,backgroundClassName:"dt-button-background",contentClassName:s.dom.collection.className,collectionLayout:"",collectionTitle:"",dropup:!1,fade:400,rightAlignClassName:"dt-button-right",tag:s.dom.collection.tag},i),c=l.node(),u=function(){r(t(".dt-button-collection"),d.fade,(function(){t(this).detach()})),t(l.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes()).attr("aria-expanded","false"),t("div.dt-button-background").off("click.dtb-collection"),f.background(!1,d.backgroundClassName,d.fade,c),t("body").off(".dtb-collection"),l.off("buttons-action.b-internal")};!1===o&&u(),(i=t(l.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes())).length&&(c=i.eq(0),u()),i=t("<div/>").addClass("dt-button-collection").addClass(d.collectionLayout).css("display","none"),o=t(o).addClass(d.contentClassName).attr("role","menu").appendTo(i),c.attr("aria-expanded","true"),c.parents("body")[0]!==n.body&&(c=n.body.lastChild),d.collectionTitle&&i.prepend('<div class="dt-button-collection-title">'+d.collectionTitle+"</div>"),a(i.insertAfter(c),d.fade);s=t(l.table().container());var p=i.css("position");if("dt-container"===d.align&&(c=c.parent(),i.css("width",s.width())),"absolute"===p&&(i.hasClass(d.rightAlignClassName)||i.hasClass(d.leftAlignClassName)||"dt-container"===d.align)){var h=c.position();i.css({top:h.top+c.outerHeight(),left:h.left});var m=i.outerHeight(),b=s.offset().top+s.height(),y=(b=(y=h.top+c.outerHeight()+m)-b,h.top-m),g=s.offset().top,v=h.top-m-5;(b>g-y||d.dropup)&&-v<g&&i.css("top",v);s=(h=s.offset().left)+(s=s.width());var x=(p=i.offset().left)+(x=i.width()),I=(w=c.offset().left)+(I=c.outerWidth()),w=0;i.hasClass(d.rightAlignClassName)?h>p+(w=I-x)&&(w=(p=h-(p+w))>(s-=x+w)?w+s:w+p):s<x+(w=h-p)&&(w=(p=h-(p+w))>(s-=x+w)?w+s:w+p),i.css("left",i.position().left+w)}else"absolute"===p?(h=c.position(),i.css({top:h.top+c.outerHeight(),left:h.left}),m=i.outerHeight(),p=c.offset().top,w=0,I=(w=c.offset().left)+(I=c.outerWidth()),x=(p=i.offset().left)+(x=o.width()),v=h.top-m-5,b=s.offset().top+s.height(),b=(y=h.top+c.outerHeight()+m)-b,y=h.top-m,(b>(g=s.offset().top)-y||d.dropup)&&-v<g&&i.css("top",v),w="button-right"===d.align?I-x:w-p,i.css("left",i.position().left+w)):((p=i.height()/2)>t(e).height()/2&&(p=t(e).height()/2),i.css("marginTop",-1*p));d.background&&f.background(!0,d.backgroundClassName,d.fade,c),t("div.dt-button-background").on("click.dtb-collection",(function(){})),t("body").on("click.dtb-collection",(function(e){var n=t.fn.addBack?"addBack":"andSelf",a=t(e.target).parent()[0];(!t(e.target).parents()[n]().filter(o).length&&!t(a).hasClass("dt-buttons")||t(e.target).hasClass("dt-button-background"))&&u()})).on("keyup.dtb-collection",(function(t){27===t.keyCode&&u()})),d.autoClose&&setTimeout((function(){l.on("buttons-action.b-internal",(function(t,e,n,o){o[0]!==c[0]&&u()}))}),0),t(i).trigger("buttons-popover.dt")}}),f.background=function(e,l,i,s){i===o&&(i=400),s||(s=n.body),e?a(t("<div/>").addClass(l).css("display","none").insertAfter(s),i):r(t("div."+l),i,(function(){t(this).removeClass(l).remove()}))},f.instanceSelector=function(e,n){if(e===o||null===e)return t.map(n,(function(t){return t.inst}));var a=[],r=t.map(n,(function(t){return t.name})),l=function(e){if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)l(e[o]);else"string"==typeof e?-1!==e.indexOf(",")?l(e.split(",")):-1!==(e=t.inArray(e.trim(),r))&&a.push(n[e].inst):"number"==typeof e&&a.push(n[e].inst)};return l(e),a},f.buttonSelector=function(e,n){for(var a=[],r=function(t,e,n){for(var a,l,i=0,s=e.length;i<s;i++)(a=e[i])&&(l=n!==o?n+i:i+"",t.push({node:a.node,name:a.conf.name,idx:l}),a.buttons&&r(t,a.buttons,l+"-"))},l=function(e,n){var i,s,d=[];if(r(d,n.s.buttons),i=t.map(d,(function(t){return t.node})),Array.isArray(e)||e instanceof t)for(i=0,s=e.length;i<s;i++)l(e[i],n);else if(null===e||e===o||"*"===e)for(i=0,s=d.length;i<s;i++)a.push({inst:n,node:d[i].node});else if("number"==typeof e)a.push({inst:n,node:n.s.buttons[e].node});else if("string"==typeof e)if(-1!==e.indexOf(","))for(i=0,s=(d=e.split(",")).length;i<s;i++)l(d[i].trim(),n);else if(e.match(/^\d+(\-\d+)*$/))i=t.map(d,(function(t){return t.idx})),a.push({inst:n,node:d[t.inArray(e,i)].node});else if(-1!==e.indexOf(":name")){var c=e.replace(":name","");for(i=0,s=d.length;i<s;i++)d[i].name===c&&a.push({inst:n,node:d[i].node})}else t(i).filter(e).each((function(){a.push({inst:n,node:this})}));else"object"==typeof e&&e.nodeName&&(-1!==(d=t.inArray(e,i))&&a.push({inst:n,node:i[d]}))},i=0,s=e.length;i<s;i++)l(n,e[i]);return a},f.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{tag:"div",className:""},button:{tag:"ActiveXObject"in e?"a":"button",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"span",className:""}}},f.version="1.6.5",t.extend(u,{collection:{text:function(t){return t.i18n("buttons.collection","Collection")},className:"buttons-collection",init:function(t,e){e.attr("aria-expanded",!1)},action:function(t,e,n,o){t.stopPropagation(),o._collection.parents("body").length?this.popover(!1,o):this.popover(o._collection,o)},attr:{"aria-haspopup":!0}},copy:function(t,e){return u.copyHtml5?"copyHtml5":u.copyFlash&&u.copyFlash.available(t,e)?"copyFlash":void 0},csv:function(t,e){return u.csvHtml5&&u.csvHtml5.available(t,e)?"csvHtml5":u.csvFlash&&u.csvFlash.available(t,e)?"csvFlash":void 0},excel:function(t,e){return u.excelHtml5&&u.excelHtml5.available(t,e)?"excelHtml5":u.excelFlash&&u.excelFlash.available(t,e)?"excelFlash":void 0},pdf:function(t,e){return u.pdfHtml5&&u.pdfHtml5.available(t,e)?"pdfHtml5":u.pdfFlash&&u.pdfFlash.available(t,e)?"pdfFlash":void 0},pageLength:function(e){e=e.settings()[0].aLengthMenu;var n=Array.isArray(e[0])?e[0]:e,o=Array.isArray(e[0])?e[1]:e;return{extend:"collection",text:function(t){return t.i18n("buttons.pageLength",{"-1":"Show all rows",_:"Show %d rows"},t.page.len())},className:"buttons-page-length",autoClose:!0,buttons:t.map(n,(function(t,e){return{text:o[e],className:"button-page-length",action:function(e,n){n.page.len(t).draw()},init:function(e,n,o){var a=this;n=function(){a.active(e.page.len()===t)};e.on("length.dt"+o.namespace,n),n()},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}})),init:function(t,e,n){var o=this;t.on("length.dt"+n.namespace,(function(){o.text(n.text)}))},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}}}),s.Api.register("buttons()",(function(t,e){e===o&&(e=t,t=o),this.selector.buttonGroup=t;var n=this.iterator(!0,"table",(function(n){if(n._buttons)return f.buttonSelector(f.instanceSelector(t,n._buttons),e)}),!0);return n._groupSelector=t,n})),s.Api.register("button()",(function(t,e){var n=this.buttons(t,e);return 1<n.length&&n.splice(1,n.length),n})),s.Api.registerPlural("buttons().active()","button().active()",(function(t){return t===o?this.map((function(t){return t.inst.active(t.node)})):this.each((function(e){e.inst.active(e.node,t)}))})),s.Api.registerPlural("buttons().action()","button().action()",(function(t){return t===o?this.map((function(t){return t.inst.action(t.node)})):this.each((function(e){e.inst.action(e.node,t)}))})),s.Api.register(["buttons().enable()","button().enable()"],(function(t){return this.each((function(e){e.inst.enable(e.node,t)}))})),s.Api.register(["buttons().disable()","button().disable()"],(function(){return this.each((function(t){t.inst.disable(t.node)}))})),s.Api.registerPlural("buttons().nodes()","button().node()",(function(){var e=t();return t(this.each((function(t){e=e.add(t.inst.node(t.node))}))),e})),s.Api.registerPlural("buttons().processing()","button().processing()",(function(t){return t===o?this.map((function(t){return t.inst.processing(t.node)})):this.each((function(e){e.inst.processing(e.node,t)}))})),s.Api.registerPlural("buttons().text()","button().text()",(function(t){return t===o?this.map((function(t){return t.inst.text(t.node)})):this.each((function(e){e.inst.text(e.node,t)}))})),s.Api.registerPlural("buttons().trigger()","button().trigger()",(function(){return this.each((function(t){t.inst.node(t.node).trigger("click")}))})),s.Api.register("button().popover()",(function(t,e){return this.map((function(n){return n.inst._popover(t,this.button(this[0].node),e)}))})),s.Api.register("buttons().containers()",(function(){var e=t(),n=this._groupSelector;return this.iterator(!0,"table",(function(t){if(t._buttons)for(var o=0,a=(t=f.instanceSelector(n,t._buttons)).length;o<a;o++)e=e.add(t[o].container())})),e})),s.Api.register("buttons().container()",(function(){return this.containers().eq(0)})),s.Api.register("button().add()",(function(t,e){var n=this.context;return n.length&&((n=f.instanceSelector(this._groupSelector,n[0]._buttons)).length&&n[0].add(e,t)),this.button(this._groupSelector,t)})),s.Api.register("buttons().destroy()",(function(){return this.pluck("inst").unique().each((function(t){t.destroy()})),this})),s.Api.registerPlural("buttons().remove()","buttons().remove()",(function(){return this.each((function(t){t.inst.remove(t.node)})),this})),s.Api.register("buttons.info()",(function(e,n,l){var s=this;return!1===e?(this.off("destroy.btn-info"),r(t("#datatables_buttons_info"),400,(function(){t(this).remove()})),clearTimeout(i),i=null,this):(i&&clearTimeout(i),t("#datatables_buttons_info").length&&t("#datatables_buttons_info").remove(),a(t('<div id="datatables_buttons_info" class="dt-button-info"/>').html(e?"<h2>"+e+"</h2>":"").append(t("<div/>")["string"==typeof n?"html":"append"](n)).css("display","none").appendTo("body")),l!==o&&0!==l&&(i=setTimeout((function(){s.buttons.info(!1)}),l)),this.on("destroy.btn-info",(function(){s.buttons.info(!1)})),this)})),s.Api.register("buttons.exportData()",(function(e){if(this.context.length){var n=new s.Api(this.context[0]),a=t.extend(!0,{},{rows:null,columns:"",modifier:{search:"applied",order:"applied"},orthogonal:"display",stripHtml:!0,stripNewlines:!0,decodeEntities:!0,trim:!0,format:{header:function(t){return r(t)},footer:function(t){return r(t)},body:function(t){return r(t)}},customizeData:null},e),r=function(t){return"string"!=typeof t||(t=(t=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")).replace(/<!\-\-.*?\-\->/g,""),a.stripHtml&&(t=t.replace(/<([^>'"]*('[^']*'|"[^"]*")?)*>/g,"")),a.trim&&(t=t.replace(/^\s+|\s+$/g,"")),a.stripNewlines&&(t=t.replace(/\n/g," ")),a.decodeEntities&&(m.innerHTML=t,t=m.value)),t},l=(e=n.columns(a.columns).indexes().map((function(t){var e=n.column(t).header();return a.format.header(e.innerHTML,t,e)})).toArray(),n.table().footer()?n.columns(a.columns).indexes().map((function(t){var e=n.column(t).footer();return a.format.footer(e?e.innerHTML:"",t,e)})).toArray():null),i=t.extend({},a.modifier);n.select&&"function"==typeof n.select.info&&i.selected===o&&n.rows(a.rows,t.extend({selected:!0},i)).any()&&t.extend(i,{selected:!0});i=n.rows(a.rows,i).indexes().toArray(),i=(d=n.cells(i,a.columns)).render(a.orthogonal).toArray();for(var d=d.nodes().toArray(),c=e.length,u=[],f=0,p=0,h=0<c?i.length/c:0;p<h;p++){for(var b=[c],y=0;y<c;y++)b[y]=a.format.body(i[f],p,y,d[f]),f++;u[p]=b}return e={header:e,footer:l,body:u},a.customizeData&&a.customizeData(e),e}})),s.Api.register("buttons.exportInfo()",(function(e){var n;e||(e={});var a=e;return"function"==typeof(n="*"===a.filename&&"*"!==a.title&&a.title!==o&&null!==a.title&&""!==a.title?a.title:a.filename)&&(n=n()),n===o||null===n?n=null:(-1!==n.indexOf("*")&&(n=n.replace("*",t("head > title").text()).trim()),n=n.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,""),(a=p(a.extension))||(a=""),n+=a),{filename:n,title:a=null===(a=p(e.title))?null:-1!==a.indexOf("*")?a.replace("*",t("head > title").text()||"Exported data"):a,messageTop:h(this,e.message||e.messageTop,"top"),messageBottom:h(this,e.messageBottom,"bottom")}}));var p=function(t){return null===t||t===o?null:"function"==typeof t?t():t},h=function(e,n,o){return null===(n=p(n))?null:(e=t("caption",e.table().container()).eq(0),"*"===n?e.css("caption-side")!==o?null:e.length?e.text():"":n)},m=t("<textarea/>")[0];return t.fn.dataTable.Buttons=f,t.fn.DataTable.Buttons=f,t(n).on("init.dt plugin-init.dt",(function(t,e){if("dt"===t.namespace){var n=e.oInit.buttons||s.defaults.buttons;n&&!e._buttons&&new f(e,n).container()}})),s.ext.feature.push({fnInit:l,cFeature:"B"}),s.ext.features&&s.ext.features.register("buttons",l),f})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs4","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net-bs4")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e.document)}:t(jQuery,window,document)}((function(t){var e=t.fn.dataTable;return t.extend(!0,e.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"},button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}}},buttonCreated:function(e,n){return e.buttons?t('<div class="btn-group"/>').append(n):n}}),e.ext.buttons.collection.className+=" dropdown-toggle",e.ext.buttons.collection.rightAlignClassName="dropdown-menu-right",e.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n,o,a){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document,o,a)}:t(jQuery,window,document)}((function(t,e,n,o,a,r){function l(t){for(var e="";0<=t;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function i(n,o){C===r&&(C=-1===T.serializeToString((new e.DOMParser).parseFromString(D["xl/worksheets/sheet1.xml"],"text/xml")).indexOf("xmlns:r")),t.each(o,(function(e,o){if(t.isPlainObject(o)){i(a=n.folder(e),o)}else{if(C){var a,r,l,s=[];for(r=(a=o.childNodes[0]).attributes.length-1;0<=r;r--){l=a.attributes[r].nodeName;var d=a.attributes[r].nodeValue;-1!==l.indexOf(":")&&(s.push({name:l,value:d}),a.removeAttribute(l))}for(r=0,l=s.length;r<l;r++)(d=o.createAttribute(s[r].name.replace(":","_dt_b_namespace_token_"))).value=s[r].value,a.setAttributeNode(d)}a=T.serializeToString(o),C&&(-1===a.indexOf("<?xml")&&(a='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+a),a=(a=a.replace(/_dt_b_namespace_token_/g,":")).replace(/xmlns:NS[\d]+="" NS[\d]+:/g,"")),a=a.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),n.file(e,a)}}))}function s(e,n,o){var a=e.createElement(n);return o&&(o.attr&&t(a).attr(o.attr),o.children&&t.each(o.children,(function(t,e){a.appendChild(e)})),null!==o.text&&o.text!==r&&a.appendChild(e.createTextNode(o.text))),a}function d(t,e){var n,o=t.header[e].length;t.footer&&t.footer[e].length>o&&(o=t.footer[e].length);for(var a=0,l=t.body.length;a<l;a++)if(-1!==(n=null!==(n=t.body[a][e])&&n!==r?n.toString():"").indexOf("\n")?((n=n.split("\n")).sort((function(t,e){return e.length-t.length})),n=n[0].length):n=n.length,n>o&&(o=n),40<o)return 54;return 6<(o*=1.35)?o:6}var c,u=t.fn.dataTable;u.Buttons.pdfMake=function(t){if(!t)return a||e.pdfMake;a=t},u.Buttons.jszip=function(t){if(!t)return o||e.JSZip;o=t};var f="undefined"!=typeof self&&self||void 0!==e&&e||this.content;if(void 0===f||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))c=void 0;else{var p=f.document.createElementNS("http://www.w3.org/1999/xhtml","a"),h="download"in p,m=/constructor/i.test(f.HTMLElement)||f.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent),y=function(t){(f.setImmediate||f.setTimeout)((function(){throw t}),0)},g=function(t){setTimeout((function(){"string"==typeof t?(f.URL||f.webkitURL||f).revokeObjectURL(t):t.remove()}),4e4)},v=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},x=function(t,e,n){n||(t=v(t));var o,a=this,r=(n="application/octet-stream"===t.type,function(){for(var t,e=(t=[].concat(t=["writestart","progress","write","writeend"])).length;e--;){var n=a["on"+t[e]];if("function"==typeof n)try{n.call(a,a)}catch(t){y(t)}}});if(a.readyState=a.INIT,h)o=(f.URL||f.webkitURL||f).createObjectURL(t),setTimeout((function(){p.href=o,p.download=e;var t=new MouseEvent("click");p.dispatchEvent(t),r(),g(o),a.readyState=a.DONE}));else if((b||n&&m)&&f.FileReader){var l=new FileReader;l.onloadend=function(){var t=b?l.result:l.result.replace(/^data:[^;]*;/,"data:attachment/file;");f.open(t,"_blank")||(f.location.href=t),a.readyState=a.DONE,r()},l.readAsDataURL(t),a.readyState=a.INIT}else o||(o=(f.URL||f.webkitURL||f).createObjectURL(t)),n?f.location.href=o:f.open(o,"_blank")||(f.location.href=o),a.readyState=a.DONE,r(),g(o)},I=x.prototype;"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?c=function(t,e,n){return e=e||t.name||"download",n||(t=v(t)),navigator.msSaveOrOpenBlob(t,e)}:(I.abort=function(){},I.readyState=I.INIT=0,I.WRITING=1,I.DONE=2,I.error=I.onwritestart=I.onprogress=I.onwrite=I.onabort=I.onerror=I.onwriteend=null,c=function(t,e,n){return new x(t,e||t.name||"download",n)})}u.fileSave=c;var w=function(t){var e="Sheet1";return t.sheetName&&(e=t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),e},F=function(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},_=function(t,e){for(var n=F(e),o=t.buttons.exportData(e.exportOptions),a=e.fieldBoundary,l=e.fieldSeparator,i=RegExp(a,"g"),s=e.escapeChar!==r?e.escapeChar:"\\",d=function(t){for(var e="",n=0,o=t.length;n<o;n++)0<n&&(e+=l),e+=a?a+(""+t[n]).replace(i,s+a)+a:t[n];return e},c=e.header?d(o.header)+n:"",u=e.footer&&o.footer?n+d(o.footer):"",f=[],p=0,h=o.body.length;p<h;p++)f.push(d(o.body[p]));return{str:c+f.join(n)+u,rows:f.length}},S=function(){if(-1===navigator.userAgent.indexOf("Safari")||-1!==navigator.userAgent.indexOf("Chrome")||-1!==navigator.userAgent.indexOf("Opera"))return!1;var t=navigator.userAgent.match(/AppleWebKit\/(\d+\.\d+)/);return!!(t&&1<t.length&&603.1>1*t[1])};try{var C,T=new XMLSerializer}catch(t){}var D={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><definedNames/></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="68"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9"   fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="1" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="2" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="14" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},A=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\-?\d+$/,style:65},{match:/^\-?\d+\.\d{2}$/,style:66},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\-?[\d,]+$/,style:63},{match:/^\-?[\d,]+\.\d{2}$/,style:64},{match:/^[\d]{4}\-[\d]{2}\-[\d]{2}$/,style:67,fmt:function(t){return Math.round(25569+Date.parse(t)/864e5)}}];return u.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(e,o,a,r){this.processing(!0);var l=this,i=(e=_(o,r),o.buttons.exportInfo(r)),s=F(r),d=e.str;a=t("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});if(i.title&&(d=i.title+s+s+d),i.messageTop&&(d=i.messageTop+s+s+d),i.messageBottom&&(d=d+s+s+i.messageBottom),r.customize&&(d=r.customize(d,r,o)),r=t("<textarea readonly/>").val(d).appendTo(a),n.queryCommandSupported("copy")){a.appendTo(o.table().container()),r[0].focus(),r[0].select();try{var c=n.execCommand("copy");if(a.remove(),c)return o.buttons.info(o.i18n("buttons.copyTitle","Copy to clipboard"),o.i18n("buttons.copySuccess",{1:"Copied one row to clipboard",_:"Copied %d rows to clipboard"},e.rows),2e3),void this.processing(!1)}catch(t){}}c=t("<span>"+o.i18n("buttons.copyKeys","Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.")+"</span>").append(a),o.buttons.info(o.i18n("buttons.copyTitle","Copy to clipboard"),c,0),r[0].focus(),r[0].select();var u=t(c).closest(".dt-button-info"),f=function(){u.off("click.buttons-copy"),t(n).off(".buttons-copy"),o.buttons.info(!1)};u.on("click.buttons-copy",f),t(n).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(f(),l.processing(!1))})).on("copy.buttons-copy cut.buttons-copy",(function(){f(),l.processing(!1)}))},exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},u.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return e.FileReader!==r&&e.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,o,a){this.processing(!0);t=_(e,a).str,o=e.buttons.exportInfo(a);var r=a.charset;a.customize&&(t=a.customize(t,a,e)),!1!==r?(r||(r=n.characterSet||n.charset),r&&(r=";charset="+r)):r="",a.bom&&(t="\ufeff"+t),c(new Blob([t],{type:"text/csv"+r}),o.filename,!0),this.processing(!1)},filename:"*",extension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},u.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return e.FileReader!==r&&(o||e.JSZip)!==r&&!S()&&T},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(n,a,u,f){this.processing(!0);var p,h,m,b=this,y=0,g=(n=function(e){return t.parseXML(D[e])})("xl/worksheets/sheet1.xml"),v=g.getElementsByTagName("sheetData")[0],x=(n={_rels:{".rels":n("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":n("xl/_rels/workbook.xml.rels")},"workbook.xml":n("xl/workbook.xml"),"styles.xml":n("xl/styles.xml"),worksheets:{"sheet1.xml":g}},"[Content_Types].xml":n("[Content_Types].xml")},a.buttons.exportData(f.exportOptions)),I=function(t){m=s(g,"row",{attr:{r:h=y+1}});for(var e=0,n=t.length;e<n;e++){var o=l(e)+""+h,a=null;if(null===t[e]||t[e]===r||""===t[e]){if(!0!==f.createEmptyCells)continue;t[e]=""}var i=t[e];t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var d=0,c=A.length;d<c;d++){var u=A[d];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(u.match)){a=t[e].replace(/[^\d\.\-]/g,""),u.fmt&&(a=u.fmt(a)),a=s(g,"c",{attr:{r:o,s:u.style},children:[s(g,"v",{text:a})]});break}}a||("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/)?a=s(g,"c",{attr:{t:"n",r:o},children:[s(g,"v",{text:t[e]})]}):(i=i.replace?i.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):i,a=s(g,"c",{attr:{t:"inlineStr",r:o},children:{row:s(g,"is",{children:{row:s(g,"t",{text:i,attr:{"xml:space":"preserve"}})}})}}))),m.appendChild(a)}v.appendChild(m),y++};f.customizeData&&f.customizeData(x);var F=function(e,n){var o=t("mergeCells",g);o[0].appendChild(s(g,"mergeCell",{attr:{ref:"A"+e+":"+l(n)+e}})),o.attr("count",parseFloat(o.attr("count"))+1),t("row:eq("+(e-1)+") c",g).attr("s","51")},_=a.buttons.exportInfo(f);_.title&&(I([_.title],y),F(y,x.header.length-1)),_.messageTop&&(I([_.messageTop],y),F(y,x.header.length-1)),f.header&&(I(x.header,y),t("row:last c",g).attr("s","2")),u=y,p=0;for(var S=x.body.length;p<S;p++)I(x.body[p],y);for(p=y,f.footer&&x.footer&&(I(x.footer,y),t("row:last c",g).attr("s","2")),_.messageBottom&&(I([_.messageBottom],y),F(y,x.header.length-1)),I=s(g,"cols"),t("worksheet",g).prepend(I),F=0,S=x.header.length;F<S;F++)I.appendChild(s(g,"col",{attr:{min:F+1,max:F+1,width:d(x,F),customWidth:1}}));I=n.xl["workbook.xml"],t("sheets sheet",I).attr("name",w(f)),f.autoFilter&&(t("mergeCells",g).before(s(g,"autoFilter",{attr:{ref:"A"+u+":"+l(x.header.length-1)+p}})),t("definedNames",I).append(s(I,"definedName",{attr:{name:"_xlnm._FilterDatabase",localSheetId:"0",hidden:1},text:w(f)+"!$A$"+u+":"+l(x.header.length-1)+p}))),f.customize&&f.customize(n,f,a),0===t("mergeCells",g).children().length&&t("mergeCells",g).remove(),u={type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},i(a=new(o||e.JSZip),n),a.generateAsync?a.generateAsync(u).then((function(t){c(t,_.filename),b.processing(!1)})):(c(a.generate(u),_.filename),this.processing(!1))},filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*",createEmptyCells:!1,autoFilter:!1,sheetName:""},u.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return e.FileReader!==r&&(a||e.pdfMake)},text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(n,o,l,i){this.processing(!0);l=o.buttons.exportData(i.exportOptions),n=o.buttons.exportInfo(i);var s=[];i.header&&s.push(t.map(l.header,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableHeader"}})));for(var d=0,c=l.body.length;d<c;d++)s.push(t.map(l.body[d],(function(t){return null!==t&&t!==r||(t=""),{text:"string"==typeof t?t:t+"",style:d%2?"tableBodyEven":"tableBodyOdd"}})));i.footer&&l.footer&&s.push(t.map(l.footer,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableFooter"}}))),l={pageSize:i.pageSize,pageOrientation:i.orientation,content:[{table:{headerRows:1,body:s},layout:"noBorders"}],styles:{tableHeader:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154",alignment:"center"},tableBodyEven:{},tableBodyOdd:{fillColor:"#f3f3f3"},tableFooter:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154"},title:{alignment:"center",fontSize:15},message:{}},defaultStyle:{fontSize:10}},n.messageTop&&l.content.unshift({text:n.messageTop,style:"message",margin:[0,0,0,12]}),n.messageBottom&&l.content.push({text:n.messageBottom,style:"message",margin:[0,0,0,12]}),n.title&&l.content.unshift({text:n.title,style:"title",margin:[0,0,0,12]}),i.customize&&i.customize(l,i,o),o=(a||e.pdfMake).createPdf(l),"open"!==i.download||S()?o.download(n.filename):o.open(),this.processing(!1)},title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"A4",header:!0,footer:!1,messageTop:"*",messageBottom:"*",customize:null,download:"download"},u.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){function a(t){for(var e="";0<=t;)e=String.fromCharCode(t%26+65)+e,t=Math.floor(t/26)-1;return e}function r(e,n,a){var r=e.createElement(n);return a&&(a.attr&&t(r).attr(a.attr),a.children&&t.each(a.children,(function(t,e){r.appendChild(e)})),null!==a.text&&a.text!==o&&r.appendChild(e.createTextNode(a.text))),r}function l(t,e){var n,a=t.header[e].length;t.footer&&t.footer[e].length>a&&(a=t.footer[e].length);for(var r=0,l=t.body.length;r<l;r++)if(-1!==(n=null!==(n=t.body[r][e])&&n!==o?n.toString():"").indexOf("\n")?((n=n.split("\n")).sort((function(t,e){return e.length-t.length})),n=n[0].length):n=n.length,n>a&&(a=n),40<a)return 52;return 6<(a*=1.3)?a:6}function i(e){c===o&&(c=-1===b.serializeToString(t.parseXML(y["xl/worksheets/sheet1.xml"])).indexOf("xmlns:r")),t.each(e,(function(n,o){if(t.isPlainObject(o))i(o);else{if(c){var a,r,l=o.childNodes[0],s=[];for(a=l.attributes.length-1;0<=a;a--){r=l.attributes[a].nodeName;var d=l.attributes[a].nodeValue;-1!==r.indexOf(":")&&(s.push({name:r,value:d}),l.removeAttribute(r))}for(a=0,r=s.length;a<r;a++)(d=o.createAttribute(s[a].name.replace(":","_dt_b_namespace_token_"))).value=s[a].value,l.setAttributeNode(d)}l=b.serializeToString(o),c&&(-1===l.indexOf("<?xml")&&(l='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+l),l=l.replace(/_dt_b_namespace_token_/g,":")),l=l.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),e[n]=l}}))}var s=t.fn.dataTable,d={version:"1.0.4-TableTools2",clients:{},moviePath:"",nextId:1,$:function(t){return"string"==typeof t&&(t=n.getElementById(t)),t.addClass||(t.hide=function(){this.style.display="none"},t.show=function(){this.style.display=""},t.addClass=function(t){this.removeClass(t),this.className+=" "+t},t.removeClass=function(t){this.className=this.className.replace(RegExp("\\s*"+t+"\\s*")," ").replace(/^\s+/,"").replace(/\s+$/,"")},t.hasClass=function(t){return!!this.className.match(RegExp("\\s*"+t+"\\s*"))}),t},setMoviePath:function(t){this.moviePath=t},dispatch:function(t,e,n){(t=this.clients[t])&&t.receiveEvent(e,n)},log:function(t){console.log("Flash: "+t)},register:function(t,e){this.clients[t]=e},getDOMObjectPosition:function(t){var e={left:0,top:0,width:t.width?t.width:t.offsetWidth,height:t.height?t.height:t.offsetHeight};for(""!==t.style.width&&(e.width=t.style.width.replace("px","")),""!==t.style.height&&(e.height=t.style.height.replace("px",""));t;)e.left+=t.offsetLeft,e.top+=t.offsetTop,t=t.offsetParent;return e},Client:function(t){this.handlers={},this.id=d.nextId++,this.movieId="ZeroClipboard_TableToolsMovie_"+this.id,d.register(this.id,this),t&&this.glue(t)}};d.Client.prototype={id:0,ready:!1,movie:null,clipText:"",fileName:"",action:"copy",handCursorEnabled:!0,cssEffects:!0,handlers:null,sized:!1,sheetName:"",glue:function(t,e){this.domElement=d.$(t);var o=99;this.domElement.style.zIndex&&(o=parseInt(this.domElement.style.zIndex,10)+1);var a=d.getDOMObjectPosition(this.domElement);this.div=n.createElement("div");var r=this.div.style;r.position="absolute",r.left="0px",r.top="0px",r.width=a.width+"px",r.height=a.height+"px",r.zIndex=o,void 0!==e&&""!==e&&(this.div.title=e),0!==a.width&&0!==a.height&&(this.sized=!0),this.domElement&&(this.domElement.appendChild(this.div),this.div.innerHTML=this.getHTML(a.width,a.height).replace(/&/g,"&amp;"))},positionElement:function(){var t=d.getDOMObjectPosition(this.domElement),e=this.div.style;e.position="absolute",e.width=t.width+"px",e.height=t.height+"px",0!==t.width&&0!==t.height&&(this.sized=!0,(e=this.div.childNodes[0]).width=t.width,e.height=t.height)},getHTML:function(t,e){var n="",o="id="+this.id+"&width="+t+"&height="+e;if(navigator.userAgent.match(/MSIE/))n=n+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+(location.href.match(/^https/i)?"https://":"http://")+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="'+t+'" height="'+e+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+d.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+o+'"/><param name="wmode" value="transparent"/></object>';else n+='<embed id="'+this.movieId+'" src="'+d.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+t+'" height="'+e+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+o+'" wmode="transparent" />';return n},hide:function(){this.div&&(this.div.style.left="-2000px")},show:function(){this.reposition()},destroy:function(){var e=this;this.domElement&&this.div&&(t(this.div).remove(),this.div=this.domElement=null,t.each(d.clients,(function(t,n){n===e&&delete d.clients[t]})))},reposition:function(t){if(t&&((this.domElement=d.$(t))||this.hide()),this.domElement&&this.div){t=d.getDOMObjectPosition(this.domElement);var e=this.div.style;e.left=t.left+"px",e.top=t.top+"px"}},clearText:function(){this.clipText="",this.ready&&this.movie.clearText()},appendText:function(t){this.clipText+=t,this.ready&&this.movie.appendText(t)},setText:function(t){this.clipText=t,this.ready&&this.movie.setText(t)},setFileName:function(t){this.fileName=t,this.ready&&this.movie.setFileName(t)},setSheetData:function(t){this.ready&&this.movie.setSheetData(JSON.stringify(t))},setAction:function(t){this.action=t,this.ready&&this.movie.setAction(t)},addEventListener:function(t,e){t=t.toString().toLowerCase().replace(/^on/,""),this.handlers[t]||(this.handlers[t]=[]),this.handlers[t].push(e)},setHandCursor:function(t){this.handCursorEnabled=t,this.ready&&this.movie.setHandCursor(t)},setCSSEffects:function(t){this.cssEffects=!!t},receiveEvent:function(t,o){var a;switch(t=t.toString().toLowerCase().replace(/^on/,"")){case"load":if(this.movie=n.getElementById(this.movieId),!this.movie)return a=this,void setTimeout((function(){a.receiveEvent("load",null)}),1);if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/))return a=this,setTimeout((function(){a.receiveEvent("load",null)}),100),void(this.ready=!0);this.ready=!0,this.movie.clearText(),this.movie.appendText(this.clipText),this.movie.setFileName(this.fileName),this.movie.setAction(this.action),this.movie.setHandCursor(this.handCursorEnabled);break;case"mouseover":this.domElement&&this.cssEffects&&this.recoverActive&&this.domElement.addClass("active");break;case"mouseout":this.domElement&&this.cssEffects&&(this.recoverActive=!1,this.domElement.hasClass("active")&&(this.domElement.removeClass("active"),this.recoverActive=!0));break;case"mousedown":this.domElement&&this.cssEffects&&this.domElement.addClass("active");break;case"mouseup":this.domElement&&this.cssEffects&&(this.domElement.removeClass("active"),this.recoverActive=!1)}if(this.handlers[t])for(var r=0,l=this.handlers[t].length;r<l;r++){var i=this.handlers[t][r];"function"==typeof i?i(this,o):"object"==typeof i&&2==i.length?i[0][i[1]](this,o):"string"==typeof i&&e[i](this,o)}}},d.hasFlash=function(){try{if(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(t){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]!==o&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return!0}return!1},e.ZeroClipboard_TableTools=d;var c,u=function(t,e){e.attr("id"),e.parents("html").length?t.glue(e[0],""):setTimeout((function(){u(t,e)}),500)},f=function(t,e){var n=e.match(/[\s\S]{1,8192}/g)||[];t.clearText();for(var o=0,a=n.length;o<a;o++)t.appendText(n[o])},p=function(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},h=function(t,e){for(var n=p(e),a=t.buttons.exportData(e.exportOptions),r=e.fieldBoundary,l=e.fieldSeparator,i=RegExp(r,"g"),s=e.escapeChar!==o?e.escapeChar:"\\",d=function(t){for(var e="",n=0,o=t.length;n<o;n++)0<n&&(e+=l),e+=r?r+(""+t[n]).replace(i,s+r)+r:t[n];return e},c=e.header?d(a.header)+n:"",u=e.footer&&a.footer?n+d(a.footer):"",f=[],h=0,m=a.body.length;h<m;h++)f.push(d(a.body[h]));return{str:c+f.join(n)+u,rows:f.length}},m={available:function(){return d.hasFlash()},init:function(t,e,n){d.moviePath=s.Buttons.swfPath;var o=new d.Client;o.setHandCursor(!0),o.addEventListener("mouseDown",(function(){n._fromFlash=!0,t.button(e[0]).trigger(),n._fromFlash=!1})),u(o,e),n._flash=o},destroy:function(t,e,n){n._flash.destroy()},fieldSeparator:",",fieldBoundary:'"',exportOptions:{},title:"*",messageTop:"*",messageBottom:"*",filename:"*",extension:".csv",header:!0,footer:!1},b="",y=(b=void 0===e.XMLSerializer?new function(){this.serializeToString=function(t){return t.xml}}:new XMLSerializer,{"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="" sheetId="1" r:id="rId1"/></sheets></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="61"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9"   fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'}),g=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^[\d,]+$/,style:63},{match:/^[\d,]+\.\d{2}$/,style:64}];return s.Buttons.swfPath="//cdn.datatables.net/buttons/"+s.Buttons.version+"/swf/flashExport.swf",s.Api.register("buttons.resize()",(function(){t.each(d.clients,(function(t,e){e.domElement!==o&&e.domElement.parentNode&&e.positionElement()}))})),s.ext.buttons.copyFlash=t.extend({},m,{className:"buttons-copy buttons-flash",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(t,e,n,o){if(o._fromFlash){this.processing(!0);t=o._flash;var a=h(e,o),r=(n=e.buttons.exportInfo(o),p(o));a=a.str;n.title&&(a=n.title+r+r+a),n.messageTop&&(a=n.messageTop+r+r+a),n.messageBottom&&(a=a+r+r+n.messageBottom),o.customize&&(a=o.customize(a,o,e)),t.setAction("copy"),f(t,a),this.processing(!1),e.buttons.info(e.i18n("buttons.copyTitle","Copy to clipboard"),e.i18n("buttons.copySuccess",{_:"Copied %d rows to clipboard",1:"Copied 1 row to clipboard"},data.rows),3e3)}},fieldSeparator:"\t",fieldBoundary:""}),s.ext.buttons.csvFlash=t.extend({},m,{className:"buttons-csv buttons-flash",text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,n,o){t=o._flash;var a=h(e,o);n=e.buttons.exportInfo(o),e=o.customize?o.customize(a.str,o,e):a.str;t.setAction("csv"),t.setFileName(n.filename),f(t,e)},escapeChar:'"'}),s.ext.buttons.excelFlash=t.extend({},m,{className:"buttons-excel buttons-flash",text:function(t){return t.i18n("buttons.excel","Excel")},action:function(e,n,s,d){this.processing(!0);e=d._flash;var c,u,p=0,h=t.parseXML(y["xl/worksheets/sheet1.xml"]),m=h.getElementsByTagName("sheetData")[0],b=(s={_rels:{".rels":t.parseXML(y["_rels/.rels"])},xl:{_rels:{"workbook.xml.rels":t.parseXML(y["xl/_rels/workbook.xml.rels"])},"workbook.xml":t.parseXML(y["xl/workbook.xml"]),"styles.xml":t.parseXML(y["xl/styles.xml"]),worksheets:{"sheet1.xml":h}},"[Content_Types].xml":t.parseXML(y["[Content_Types].xml"])},n.buttons.exportData(d.exportOptions)),v=function(t){u=r(h,"row",{attr:{r:c=p+1}});for(var e=0,n=t.length;e<n;e++){var l=a(e)+""+c,i=null;if(null===t[e]||t[e]===o||""===t[e]){if(!0!==d.createEmptyCells)continue;t[e]=""}t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var s=0,f=g.length;s<f;s++){var b=g[s];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(b.match)){i=t[e].replace(/[^\d\.\-]/g,""),b.fmt&&(i=b.fmt(i)),i=r(h,"c",{attr:{r:l,s:b.style},children:[r(h,"v",{text:i})]});break}}i||("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/)?i=r(h,"c",{attr:{t:"n",r:l},children:[r(h,"v",{text:t[e]})]}):(b=t[e].replace?t[e].replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):t[e],i=r(h,"c",{attr:{t:"inlineStr",r:l},children:{row:r(h,"is",{children:{row:r(h,"t",{text:b})}})}}))),u.appendChild(i)}m.appendChild(u),p++};t("sheets sheet",s.xl["workbook.xml"]).attr("name",function(t){var e="Sheet1";return t.sheetName&&(e=t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),e}(d)),d.customizeData&&d.customizeData(b);var x=function(e,n){var o=t("mergeCells",h);o[0].appendChild(r(h,"mergeCell",{attr:{ref:"A"+e+":"+a(n)+e}})),o.attr("count",o.attr("count")+1),t("row:eq("+(e-1)+") c",h).attr("s","51")},I=n.buttons.exportInfo(d);I.title&&(v([I.title],p),x(p,b.header.length-1)),I.messageTop&&(v([I.messageTop],p),x(p,b.header.length-1)),d.header&&(v(b.header,p),t("row:last c",h).attr("s","2"));for(var w=0,F=b.body.length;w<F;w++)v(b.body[w],p);for(d.footer&&b.footer&&(v(b.footer,p),t("row:last c",h).attr("s","2")),I.messageBottom&&(v([I.messageBottom],p),x(p,b.header.length-1)),v=r(h,"cols"),t("worksheet",h).prepend(v),x=0,w=b.header.length;x<w;x++)v.appendChild(r(h,"col",{attr:{min:x+1,max:x+1,width:l(b,x),customWidth:1}}));d.customize&&d.customize(s,d,n),i(s),e.setAction("excel"),e.setFileName(I.filename),e.setSheetData(s),f(e,""),this.processing(!1)},extension:".xlsx",createEmptyCells:!1}),s.ext.buttons.pdfFlash=t.extend({},m,{className:"buttons-pdf buttons-flash",text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(t,e,n,o){this.processing(!0);t=o._flash,n=e.buttons.exportData(o.exportOptions);var a=e.buttons.exportInfo(o),r=e.table().node().offsetWidth,l=e.columns(o.columns).indexes().map((function(t){return e.column(t).header().offsetWidth/r}));t.setAction("pdf"),t.setFileName(a.filename),f(t,JSON.stringify({title:a.title||"",messageTop:a.messageTop||"",messageBottom:a.messageBottom||"",colWidth:l.toArray(),orientation:o.orientation,size:o.pageSize,header:o.header?n.header:null,footer:o.footer?n.footer:null,body:n.body})),this.processing(!1)},extension:".pdf",orientation:"portrait",pageSize:"A4",newline:"\n"}),s.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){var a=t.fn.dataTable,r=n.createElement("a"),l=function(t){return r.href=t,-1===(t=r.host).indexOf("/")&&0!==r.pathname.indexOf("/")&&(t+="/"),r.protocol+"//"+t+r.pathname+r.search};return a.ext.buttons.print={className:"buttons-print",text:function(t){return t.i18n("buttons.print","Print")},action:function(n,a,r,i){n=a.buttons.exportData(t.extend({decodeEntities:!1},i.exportOptions)),r=a.buttons.exportInfo(i);var s=a.columns(i.exportOptions.columns).flatten().map((function(t){return a.settings()[0].aoColumns[a.column(t).index()].sClass})).toArray(),d=function(t,e){for(var n="<tr>",a=0,r=t.length;a<r;a++)n+="<"+e+" "+(s[a]?'class="'+s[a]+'"':"")+">"+(null===t[a]||t[a]===o?"":t[a])+"</"+e+">";return n+"</tr>"},c='<table class="'+a.table().node().className+'">';i.header&&(c+="<thead>"+d(n.header,"th")+"</thead>");c+="<tbody>";for(var u=0,f=n.body.length;u<f;u++)c+=d(n.body[u],"td");c+="</tbody>",i.footer&&n.footer&&(c+="<tfoot>"+d(n.footer,"th")+"</tfoot>");c+="</table>";var p=e.open("","");p.document.close();var h="<title>"+r.title+"</title>";t("style, link").each((function(){var e=h,n=t(this).clone()[0];"link"===n.nodeName.toLowerCase()&&(n.href=l(n.href)),h=e+n.outerHTML}));try{p.document.head.innerHTML=h}catch(e){t(p.document.head).html(h)}p.document.body.innerHTML="<h1>"+r.title+"</h1><div>"+(r.messageTop||"")+"</div>"+c+"<div>"+(r.messageBottom||"")+"</div>",t(p.document.body).addClass("dt-print-view"),t("img",p.document.body).each((function(t,e){e.setAttribute("src",l(e.getAttribute("src")))})),i.customize&&i.customize(p,i,a),n=function(){i.autoPrint&&(p.print(),p.close())},navigator.userAgent.match(/Trident\/\d.\d/)?n():p.setTimeout(n,1e3)},title:"*",messageTop:"*",messageBottom:"*",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null},a.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),n.fn.dataTable.Buttons||require("datatables.net-buttons")(e,n),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){return e=t.fn.dataTable,t.extend(e.ext.buttons,{colvis:function(t,e){return{extend:"collection",text:function(t){return t.i18n("buttons.colvis","Column visibility")},className:"buttons-colvis",buttons:[{extend:"columnsToggle",columns:e.columns,columnText:e.columnText}]}},columnsToggle:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnToggle",columns:t,columnText:e.columnText}})).toArray()},columnToggle:function(t,e){return{extend:"columnVisibility",columns:e.columns,columnText:e.columnText}},columnsVisibility:function(t,e){return t.columns(e.columns).indexes().map((function(t){return{extend:"columnVisibility",columns:t,visibility:e.visibility,columnText:e.columnText}})).toArray()},columnVisibility:{columns:o,text:function(t,e,n){return n._columnText(t,n)},className:"buttons-columnVisibility",action:function(t,e,n,a){t=e.columns(a.columns),e=t.visible(),t.visible(a.visibility!==o?a.visibility:!(e.length&&e[0]))},init:function(t,e,n){var o=this;e.attr("data-cv-idx",n.columns),t.on("column-visibility.dt"+n.namespace,(function(e,a){!a.bDestroying&&a.nTable==t.settings()[0].nTable&&o.active(t.column(n.columns).visible())})).on("column-reorder.dt"+n.namespace,(function(){1===t.columns(n.columns).count()&&(o.text(n._columnText(t,n)),o.active(t.column(n.columns).visible()))})),this.active(t.column(n.columns).visible())},destroy:function(t,e,n){t.off("column-visibility.dt"+n.namespace).off("column-reorder.dt"+n.namespace)},_columnText:function(t,e){var n=t.column(e.columns).index(),o=t.settings()[0].aoColumns[n].sTitle;return o||(o=t.column(n).header().innerHTML),o=o.replace(/\n/g," ").replace(/<br\s*\/?>/gi," ").replace(/<select(.*?)<\/select>/g,"").replace(/<!\-\-.*?\-\->/g,"").replace(/<.*?>/g,"").replace(/^\s+|\s+$/g,""),e.columnText?e.columnText(t,n,o):o}},colvisRestore:{className:"buttons-colvisRestore",text:function(t){return t.i18n("buttons.colvisRestore","Restore visibility")},init:function(t,e,n){n._visOriginal=t.columns().indexes().map((function(e){return t.column(e).visible()})).toArray()},action:function(t,e,n,o){e.columns().every((function(t){t=e.colReorder&&e.colReorder.transpose?e.colReorder.transpose(t,"toOriginal"):t,this.visible(o._visOriginal[t])}))}},colvisGroup:{className:"buttons-colvisGroup",action:function(t,e,n,o){e.columns(o.show).visible(!0,!1),e.columns(o.hide).visible(!1,!1),e.columns.adjust()},show:[],hide:[]}}),e.Buttons})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){var a=t.fn.dataTable,r=0,l=0,i=function(e,n){if(!a.versionCheck||!a.versionCheck("1.10.8"))throw"KeyTable requires DataTables 1.10.8 or newer";this.c=t.extend(!0,{},a.defaults.keyTable,i.defaults,n),this.s={dt:new a.Api(e),enable:!0,focusDraw:!1,waitingForDraw:!1,lastFocus:null,namespace:".keyTable-"+r++,tabInput:null},this.dom={};var o=this.s.dt.settings()[0],l=o.keytable;if(l)return l;o.keytable=this,this._constructor()};return t.extend(i.prototype,{blur:function(){this._blur()},enable:function(t){this.s.enable=t},focus:function(t,e){this._focus(this.s.dt.cell(t,e))},focused:function(t){if(!this.s.lastFocus)return!1;var e=this.s.lastFocus.cell.index();return t.row===e.row&&t.column===e.column},_constructor:function(){this._tabInput();var e=this,o=this.s.dt,a=t(o.table().node()),r=this.s.namespace,l=!1;if("static"===a.css("position")&&a.css("position","relative"),t(o.table().body()).on("click"+r,"th, td",(function(t){if(!1!==e.s.enable){var n=o.cell(this);n.any()&&e._focus(n,null,!1,t)}})),t(n).on("keydown"+r,(function(t){l||e._key(t)})),this.c.blurable&&t(n).on("mousedown"+r,(function(n){t(n.target).parents(".dataTables_filter").length&&e._blur(),t(n.target).parents().filter(o.table().container()).length||t(n.target).parents("div.DTE").length||t(n.target).parents("div.editor-datetime").length||t(n.target).parents().filter(".DTFC_Cloned").length||e._blur()})),this.c.editor){var i=this.c.editor;i.on("open.keyTableMain",(function(t,n){"inline"!==n&&e.s.enable&&(e.enable(!1),i.one("close"+r,(function(){e.enable(!0)})))})),this.c.editOnFocus&&o.on("key-focus"+r+" key-refocus"+r,(function(t,n,o,a){e._editor(null,a,!0)})),o.on("key"+r,(function(t,n,o,a,r){e._editor(o,r,!1)})),t(o.table().body()).on("dblclick"+r,"th, td",(function(t){!1!==e.s.enable&&o.cell(this).any()&&(e.s.lastFocus&&this!==e.s.lastFocus.cell.node()||e._editor(null,t,!0))})),i.on("preSubmit",(function(){l=!0})).on("preSubmitCancelled",(function(){l=!1})).on("submitComplete",(function(){l=!1}))}o.settings()[0].oFeatures.bStateSave&&o.on("stateSaveParams"+r,(function(t,n,o){o.keyTable=e.s.lastFocus?e.s.lastFocus.cell.index():null})),o.on("column-visibility"+r,(function(){e._tabInput()})),o.on("draw"+r,(function(t){if(e._tabInput(),!e.s.focusDraw&&e.s.lastFocus){var n=e.s.lastFocus.relative,a=o.page.info(),r=n.row+a.start;0!==a.recordsDisplay&&(r>=a.recordsDisplay&&(r=a.recordsDisplay-1),e._focus(r,n.column,!0,t))}})),this.c.clipboard&&this._clipboard(),o.on("destroy"+r,(function(){e._blur(!0),o.off(r),t(o.table().body()).off("click"+r,"th, td").off("dblclick"+r,"th, td"),t(n).off("mousedown"+r).off("keydown"+r).off("copy"+r).off("paste"+r)}));var s=o.state.loaded();s&&s.keyTable?o.one("init",(function(){var t=o.cell(s.keyTable);t.any()&&t.focus()})):this.c.focus&&o.cell(this.c.focus).focus()},_blur:function(e){if(this.s.enable&&this.s.lastFocus){var n=this.s.lastFocus.cell;t(n.node()).removeClass(this.c.className),this.s.lastFocus=null,e||(this._updateFixedColumns(n.index().column),this._emitEvent("key-blur",[this.s.dt,n]))}},_clipboard:function(){var o=this.s.dt,a=this,r=this.s.namespace;e.getSelection&&(t(n).on("copy"+r,(function(t){t=t.originalEvent;var n=e.getSelection().toString(),o=a.s.lastFocus;!n&&o&&(t.clipboardData.setData("text/plain",o.cell.render(a.c.clipboardOrthogonal)),t.preventDefault())})),t(n).on("paste"+r,(function(t){t=t.originalEvent;var r,l=a.s.lastFocus,i=n.activeElement,s=a.c.editor;!l||i&&"body"!==i.nodeName.toLowerCase()||(t.preventDefault(),e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("Text"):t.clipboardData&&t.clipboardData.getData&&(r=t.clipboardData.getData("text/plain")),s?s.inline(l.cell.index()).set(s.displayed()[0],r).submit():(l.cell.data(r),o.draw(!1)))})))},_columns:function(){var t=this.s.dt,e=t.columns(this.c.columns).indexes(),n=[];return t.columns(":visible").every((function(t){-1!==e.indexOf(t)&&n.push(t)})),n},_editor:function(e,o,a){if(this.s.lastFocus){var r=this,i=this.s.dt,s=this.c.editor,d=this.s.lastFocus.cell,c=this.s.namespace+"e"+l++;if(!(t("div.DTE",d.node()).length||null!==e&&(0<=e&&9>=e||11===e||12===e||14<=e&&31>=e||112<=e&&123>=e||127<=e&&159>=e))){o.stopPropagation(),13===e&&o.preventDefault();var u=function(){s.one("open"+c,(function(){s.off("cancelOpen"+c),a||t("div.DTE_Field_InputControl input, div.DTE_Field_InputControl textarea").select(),i.keys.enable(a?"tab-only":"navigation-only"),i.on("key-blur.editor",(function(t,e,n){s.displayed()&&n.node()===d.node()&&s.submit()})),a&&t(i.table().container()).addClass("dtk-focus-alt"),s.on("preSubmitCancelled"+c,(function(){setTimeout((function(){r._focus(d,null,!1)}),50)})),s.on("submitUnsuccessful"+c,(function(){r._focus(d,null,!1)})),s.one("close"+c,(function(){i.keys.enable(!0),i.off("key-blur.editor"),s.off(c),t(i.table().container()).removeClass("dtk-focus-alt")}))})).one("cancelOpen"+c,(function(){s.off(c)})).inline(d.index())};13===e?(a=!0,t(n).one("keyup",(function(){u()}))):u()}}},_emitEvent:function(e,n){this.s.dt.iterator("table",(function(o){t(o.nTable).triggerHandler(e,n)}))},_focus:function(a,r,l,i){var s=this,d=this.s.dt,c=d.page.info(),u=this.s.lastFocus;if(i||(i=null),this.s.enable){if("number"!=typeof a){if(!a.any())return;var f=a.index();r=f.column;if(0>(a=d.rows({filter:"applied",order:"applied"}).indexes().indexOf(f.row)))return;c.serverSide&&(a+=c.start)}if(-1!==c.length&&(a<c.start||a>=c.start+c.length))this.s.focusDraw=!0,this.s.waitingForDraw=!0,d.one("draw",(function(){s.s.focusDraw=!1,s.s.waitingForDraw=!1,s._focus(a,r,o,i)})).page(Math.floor(a/c.length)).draw(!1);else if(-1!==t.inArray(r,this._columns())){if(c.serverSide&&(a-=c.start),c=d.cells(null,r,{search:"applied",order:"applied"}).flatten(),c=d.cell(c[a]),u){if(u.node===c.node())return void this._emitEvent("key-refocus",[this.s.dt,c,i||null]);this._blur()}this._removeOtherFocus(),(u=t(c.node())).addClass(this.c.className),this._updateFixedColumns(r),l!==o&&!0!==l||(this._scroll(t(e),t(n.body),u,"offset"),(l=d.table().body().parentNode)!==d.table().header().parentNode&&(l=t(l.parentNode),this._scroll(l,l,u,"position"))),this.s.lastFocus={cell:c,node:c.node(),relative:{row:d.rows({page:"current"}).indexes().indexOf(c.index().row),column:c.index().column}},this._emitEvent("key-focus",[this.s.dt,c,i||null]),d.state.save()}}},_key:function(e){if(this.s.waitingForDraw)e.preventDefault();else{var n=this.s.enable,o=!0===n||"navigation-only"===n;if(n&&(!(0===e.keyCode||e.ctrlKey||e.metaKey||e.altKey)||e.ctrlKey&&e.altKey))if(a=this.s.lastFocus)if(this.s.dt.cell(a.node).any()){var a=this.s.dt,r=!!this.s.dt.settings()[0].oScroll.sY;if(!this.c.keys||-1!==t.inArray(e.keyCode,this.c.keys))switch(e.keyCode){case 9:this._shift(e,e.shiftKey?"left":"right",!0);break;case 27:this.s.blurable&&!0===n&&this._blur();break;case 33:case 34:o&&!r&&(e.preventDefault(),a.page(33===e.keyCode?"previous":"next").draw(!1));break;case 35:case 36:o&&(e.preventDefault(),n=a.cells({page:"current"}).indexes(),o=this._columns(),this._focus(a.cell(n[35===e.keyCode?n.length-1:o[0]]),null,!0,e));break;case 37:o&&this._shift(e,"left");break;case 38:o&&this._shift(e,"up");break;case 39:o&&this._shift(e,"right");break;case 40:o&&this._shift(e,"down");break;case 113:if(this.c.editor){this._editor(null,e,!0);break}default:!0===n&&this._emitEvent("key",[a,e.keyCode,this.s.lastFocus.cell,e])}}else this.s.lastFocus=null}},_removeOtherFocus:function(){var e=this.s.dt.table().node();t.fn.dataTable.tables({api:!0}).iterator("table",(function(){this.table().node()!==e&&this.cell.blur()}))},_scroll:function(t,e,n,o){var a=n[o](),r=n.outerHeight(),l=n.outerWidth(),i=e.scrollTop(),s=e.scrollLeft(),d=t.height();t=t.width();"position"===o&&(a.top+=parseInt(n.closest("table").css("top"),10)),a.top<i&&e.scrollTop(a.top),a.left<s&&e.scrollLeft(a.left),a.top+r>i+d&&r<d&&e.scrollTop(a.top+r-d),a.left+l>s+t&&l<t&&e.scrollLeft(a.left+l-t)},_shift:function(e,n,o){var a=this.s.dt,r=a.page.info(),l=r.recordsDisplay,i=this.s.lastFocus.cell,s=this._columns();if(i){var d=a.rows({filter:"applied",order:"applied"}).indexes().indexOf(i.index().row);r.serverSide&&(d+=r.start),r=s[a=a.columns(s).indexes().indexOf(i.index().column)],"right"===n?a>=s.length-1?(d++,r=s[0]):r=s[a+1]:"left"===n?0===a?(d--,r=s[s.length-1]):r=s[a-1]:"up"===n?d--:"down"===n&&d++,0<=d&&d<l&&-1!==t.inArray(r,s)?(e&&e.preventDefault(),this._focus(d,r,!0,e)):o&&this.c.blurable?this._blur():e&&e.preventDefault()}},_tabInput:function(){var e=this,n=this.s.dt,o=null!==this.c.tabIndex?this.c.tabIndex:n.settings()[0].iTabIndex;-1!=o&&(this.s.tabInput||((o=t('<div><input type="text" tabindex="'+o+'"/></div>').css({position:"absolute",height:1,width:0,overflow:"hidden"})).children().on("focus",(function(t){var o=n.cell(":eq(0)",e._columns(),{page:"current"});o.any()&&e._focus(o,null,!0,t)})),this.s.tabInput=o),(o=this.s.dt.cell(":eq(0)","0:visible",{page:"current",order:"current"}).node())&&t(o).prepend(this.s.tabInput))},_updateFixedColumns:function(t){var e=this.s.dt,n=e.settings()[0];if(n._oFixedColumns){var o=n.aoColumns.length-n._oFixedColumns.s.iRightColumns;(t<n._oFixedColumns.s.iLeftColumns||t>=o)&&e.fixedColumns().update()}}}),i.defaults={blurable:!0,className:"focus",clipboard:!0,clipboardOrthogonal:"display",columns:"",editor:null,editOnFocus:!1,focus:null,keys:null,tabIndex:null},i.version="2.5.3",t.fn.dataTable.KeyTable=i,t.fn.DataTable.KeyTable=i,a.Api.register("cell.blur()",(function(){return this.iterator("table",(function(t){t.keytable&&t.keytable.blur()}))})),a.Api.register("cell().focus()",(function(){return this.iterator("cell",(function(t,e,n){t.keytable&&t.keytable.focus(e,n)}))})),a.Api.register("keys.disable()",(function(){return this.iterator("table",(function(t){t.keytable&&t.keytable.enable(!1)}))})),a.Api.register("keys.enable()",(function(t){return this.iterator("table",(function(e){e.keytable&&e.keytable.enable(t===o||t)}))})),a.Api.register("keys.move()",(function(t){return this.iterator("table",(function(e){e.keytable&&e.keytable._shift(null,t,!1)}))})),a.ext.selector.cell.push((function(t,e,n){e=e.focused;var a=[];if(!(t=t.keytable)||e===o)return n;for(var r=0,l=n.length;r<l;r++)(!0===e&&t.focused(n[r])||!1===e&&!t.focused(n[r]))&&a.push(n[r]);return a})),t(n).on("preInit.dt.dtk",(function(e,n){if("dt"===e.namespace){var o=n.oInit.keys,r=a.defaults.keys;(o||r)&&(r=t.extend({},r,o),!1!==o&&new i(n,r))}})),i})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){function a(t,e,n){var o;o=function(e,n){if(e>n){var o=n;n=e,e=o}var a=!1;return t.columns(":visible").indexes().filter((function(t){return t===e&&(a=!0),t===n?(a=!1,!0):a}))};var a=function(e,n){var o=t.rows({search:"applied"}).indexes();if(o.indexOf(e)>o.indexOf(n)){var a=n;n=e,e=a}var r=!1;return o.filter((function(t){return t===e&&(r=!0),t===n?(r=!1,!0):r}))};t.cells({selected:!0}).any()||n?(o=o(n.column,e.column),n=a(n.row,e.row)):(o=o(0,e.column),n=a(0,e.row)),n=t.cells(n,o).flatten(),t.cells(e,{selected:!0}).any()?t.cells(n).deselect():t.cells(n).select()}function r(e){var n=e.settings()[0]._select.selector;t(e.table().container()).off("mousedown.dtSelect",n).off("mouseup.dtSelect",n).off("click.dtSelect",n),t("body").off("click.dtSelect"+f(e.table().node()))}function l(n){var o,a=t(n.table().container()),r=n.settings()[0],l=r._select.selector;a.on("mousedown.dtSelect",l,(function(t){(t.shiftKey||t.metaKey||t.ctrlKey)&&a.css("-moz-user-select","none").one("selectstart.dtSelect",l,(function(){return!1})),e.getSelection&&(o=e.getSelection())})).on("mouseup.dtSelect",l,(function(){a.css("-moz-user-select","")})).on("click.dtSelect",l,(function(a){var r=n.select.items();if(o&&((!(l=e.getSelection()).anchorNode||t(l.anchorNode).closest("table")[0]===n.table().node())&&l!==o))return;var l=n.settings()[0],s=t.trim(n.settings()[0].oClasses.sWrapper).replace(/ +/g,".");if(t(a.target).closest("div."+s)[0]==n.table().container()&&(s=n.cell(t(a.target).closest("td, th"))).any()){var d=t.Event("user-select.dt");i(n,d,[r,s,a]),d.isDefaultPrevented()||(d=s.index(),"row"===r?(r=d.row,u(a,n,l,"row",r)):"column"===r?(r=s.index().column,u(a,n,l,"column",r)):"cell"===r&&(r=s.index(),u(a,n,l,"cell",r)),l._select_lastCell=d)}})),t("body").on("click.dtSelect"+f(n.table().node()),(function(e){r._select.blurable&&!t(e.target).parents().filter(n.table().container()).length&&0!==t(e.target).parents("html").length&&!t(e.target).parents("div.DTE").length&&c(r,!0)}))}function i(e,n,o,a){a&&!e.flatten().length||("string"==typeof n&&(n+=".dt"),o.unshift(e),t(e.table().node()).trigger(n,o))}function s(e){var n=e.settings()[0];if(n._select.info&&n.aanFeatures.i&&"api"!==e.select.style()){var o=e.rows({selected:!0}).flatten().length,a=e.columns({selected:!0}).flatten().length,r=e.cells({selected:!0}).flatten().length,l=function(n,o,a){n.append(t('<span class="select-item"/>').append(e.i18n("select."+o+"s",{_:"%d "+o+"s selected",0:"",1:"1 "+o+" selected"},a)))};t.each(n.aanFeatures.i,(function(e,n){n=t(n);var i=t('<span class="select-info"/>');l(i,"row",o),l(i,"column",a),l(i,"cell",r);var s=n.children("span.select-info");s.length&&s.remove(),""!==i.text()&&n.append(i)}))}}function d(e,n,o,a){var r=e[n+"s"]({search:"applied"}).indexes(),l=(a=t.inArray(a,r),t.inArray(o,r));if(e[n+"s"]({selected:!0}).any()||-1!==a){if(a>l){var i=l;l=a,a=i}r.splice(l+1,r.length),r.splice(0,a)}else r.splice(t.inArray(o,r)+1,r.length);e[n](o,{selected:!0}).any()?(r.splice(t.inArray(o,r),1),e[n+"s"](r).deselect()):e[n+"s"](r).select()}function c(t,e){if(e||"single"===t._select.style){var n=new m.Api(t);n.rows({selected:!0}).deselect(),n.columns({selected:!0}).deselect(),n.cells({selected:!0}).deselect()}}function u(t,e,n,o,r){var l=e.select.style(),i=e.select.toggleable(),s=e[o](r,{selected:!0}).any();s&&!i||("os"===l?t.ctrlKey||t.metaKey?e[o](r).select(!s):t.shiftKey?"cell"===o?a(e,r,n._select_lastCell||null):d(e,o,r,n._select_lastCell?n._select_lastCell[o]:null):(t=e[o+"s"]({selected:!0}),s&&1===t.flatten().length?e[o](r).deselect():(t.deselect(),e[o](r).select())):"multi+shift"==l&&t.shiftKey?"cell"===o?a(e,r,n._select_lastCell||null):d(e,o,r,n._select_lastCell?n._select_lastCell[o]:null):e[o](r).select(!s))}function f(t){return t.id.replace(/[^a-zA-Z0-9\-\_]/g,"-")}function p(t,e){return function(n){return n.i18n("buttons."+t,e)}}function h(t){return"draw.dt.DT"+(t=t._eventNamespace)+" select.dt.DT"+t+" deselect.dt.DT"+t}var m=t.fn.dataTable;m.select={},m.select.version="1.3.1",m.select.init=function(e){var n=e.settings()[0],a=n.oInit.select,r=m.defaults.select,l=(a=a===o?r:a,r="row","api"),i=!1,s=!0,d=!0,c="td, th",u="selected",f=!1;n._select={},!0===a?(l="os",f=!0):"string"==typeof a?(l=a,f=!0):t.isPlainObject(a)&&(a.blurable!==o&&(i=a.blurable),a.toggleable!==o&&(s=a.toggleable),a.info!==o&&(d=a.info),a.items!==o&&(r=a.items),l=a.style!==o?a.style:"os",f=!0,a.selector!==o&&(c=a.selector),a.className!==o)&&(u=a.className),e.select.selector(c),e.select.items(r),e.select.style(l),e.select.blurable(i),e.select.toggleable(s),e.select.info(d),n._select.className=u,t.fn.dataTable.ext.order["select-checkbox"]=function(e,n){return this.api().column(n,{order:"index"}).nodes().map((function(n){return"row"===e._select.items?t(n).parent().hasClass(e._select.className):"cell"===e._select.items&&t(n).hasClass(e._select.className)}))},!f&&t(e.table().node()).hasClass("selectable")&&e.select.style("os")},t.each([{type:"row",prop:"aoData"},{type:"column",prop:"aoColumns"}],(function(t,e){m.ext.selector[e.type].push((function(t,n,o){var a,r=[];if(!0!==(n=n.selected)&&!1!==n)return o;for(var l=0,i=o.length;l<i;l++)a=t[e.prop][o[l]],(!0===n&&!0===a._select_selected||!1===n&&!a._select_selected)&&r.push(o[l]);return r}))})),m.ext.selector.cell.push((function(t,e,n){var a,r=[];if((e=e.selected)===o)return n;for(var l=0,i=n.length;l<i;l++)a=t.aoData[n[l].row],(!0===e&&a._selected_cells&&!0===a._selected_cells[n[l].column]||!1===e&&(!a._selected_cells||!a._selected_cells[n[l].column]))&&r.push(n[l]);return r}));var b=m.Api.register,y=m.Api.registerPlural;b("select()",(function(){return this.iterator("table",(function(t){m.select.init(new m.Api(t))}))})),b("select.blurable()",(function(t){return t===o?this.context[0]._select.blurable:this.iterator("table",(function(e){e._select.blurable=t}))})),b("select.toggleable()",(function(t){return t===o?this.context[0]._select.toggleable:this.iterator("table",(function(e){e._select.toggleable=t}))})),b("select.info()",(function(t){return s===o?this.context[0]._select.info:this.iterator("table",(function(e){e._select.info=t}))})),b("select.items()",(function(t){return t===o?this.context[0]._select.items:this.iterator("table",(function(e){e._select.items=t,i(new m.Api(e),"selectItems",[t])}))})),b("select.style()",(function(e){return e===o?this.context[0]._select.style:this.iterator("table",(function(n){if(n._select.style=e,!n._select_init){var a=new m.Api(n);n.aoRowCreatedCallback.push({fn:function(e,o,a){for((o=n.aoData[a])._select_selected&&t(e).addClass(n._select.className),e=0,a=n.aoColumns.length;e<a;e++)(n.aoColumns[e]._select_selected||o._selected_cells&&o._selected_cells[e])&&t(o.anCells[e]).addClass(n._select.className)},sName:"select-deferRender"}),a.on("preXhr.dt.dtSelect",(function(){var t=a.rows({selected:!0}).ids(!0).filter((function(t){return t!==o})),e=a.cells({selected:!0}).eq(0).map((function(t){var e=a.row(t.row).id(!0);return e?{row:e,column:t.column}:o})).filter((function(t){return t!==o}));a.one("draw.dt.dtSelect",(function(){a.rows(t).select(),e.any()&&e.each((function(t){a.cells(t.row,t.column).select()}))}))})),a.on("draw.dtSelect.dt select.dtSelect.dt deselect.dtSelect.dt info.dt",(function(){s(a)})),a.on("destroy.dtSelect",(function(){r(a),a.off(".dtSelect")}))}var d=new m.Api(n);r(d),"api"!==e&&l(d),i(new m.Api(n),"selectStyle",[e])}))})),b("select.selector()",(function(t){return t===o?this.context[0]._select.selector:this.iterator("table",(function(e){r(new m.Api(e)),e._select.selector=t,"api"!==e._select.style&&l(new m.Api(e))}))})),y("rows().select()","row().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("row",(function(e,n){c(e),e.aoData[n]._select_selected=!0,t(e.aoData[n].nTr).addClass(e._select.className)})),this.iterator("table",(function(t,e){i(n,"select",["row",n[e]],!0)})),this)})),y("columns().select()","column().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("column",(function(e,n){c(e),e.aoColumns[n]._select_selected=!0;var o=new m.Api(e).column(n);t(o.header()).addClass(e._select.className),t(o.footer()).addClass(e._select.className),o.nodes().to$().addClass(e._select.className)})),this.iterator("table",(function(t,e){i(n,"select",["column",n[e]],!0)})),this)})),y("cells().select()","cell().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("cell",(function(e,n,a){c(e),(n=e.aoData[n])._selected_cells===o&&(n._selected_cells=[]),n._selected_cells[a]=!0,n.anCells&&t(n.anCells[a]).addClass(e._select.className)})),this.iterator("table",(function(t,e){i(n,"select",["cell",n[e]],!0)})),this)})),y("rows().deselect()","row().deselect()",(function(){var e=this;return this.iterator("row",(function(e,n){e.aoData[n]._select_selected=!1,t(e.aoData[n].nTr).removeClass(e._select.className)})),this.iterator("table",(function(t,n){i(e,"deselect",["row",e[n]],!0)})),this})),y("columns().deselect()","column().deselect()",(function(){var e=this;return this.iterator("column",(function(e,n){e.aoColumns[n]._select_selected=!1;var o=new m.Api(e),a=o.column(n);t(a.header()).removeClass(e._select.className),t(a.footer()).removeClass(e._select.className),o.cells(null,n).indexes().each((function(n){var o=e.aoData[n.row],a=o._selected_cells;o.anCells&&(!a||!a[n.column])&&t(o.anCells[n.column]).removeClass(e._select.className)}))})),this.iterator("table",(function(t,n){i(e,"deselect",["column",e[n]],!0)})),this})),y("cells().deselect()","cell().deselect()",(function(){var e=this;return this.iterator("cell",(function(e,n,o){(n=e.aoData[n])._selected_cells[o]=!1,n.anCells&&!e.aoColumns[o]._select_selected&&t(n.anCells[o]).removeClass(e._select.className)})),this.iterator("table",(function(t,n){i(e,"deselect",["cell",e[n]],!0)})),this}));var g=0;return t.extend(m.ext.buttons,{selected:{text:p("selected","Selected"),className:"buttons-selected",limitTo:["rows","columns","cells"],init:function(e,n,o){var a=this;o._eventNamespace=".select"+g++,e.on(h(o),(function(){a.enable(!!(-1!==t.inArray("rows",o.limitTo)&&e.rows({selected:!0}).any()||-1!==t.inArray("columns",o.limitTo)&&e.columns({selected:!0}).any()||-1!==t.inArray("cells",o.limitTo)&&e.cells({selected:!0}).any()))})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectedSingle:{text:p("selectedSingle","Selected single"),className:"buttons-selected-single",init:function(t,e,n){var o=this;n._eventNamespace=".select"+g++,t.on(h(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;o.enable(1===e)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectAll:{text:p("selectAll","Select all"),className:"buttons-select-all",action:function(){this[this.select.items()+"s"]().select()}},selectNone:{text:p("selectNone","Deselect all"),className:"buttons-select-none",action:function(){c(this.settings()[0],!0)},init:function(t,e,n){var o=this;n._eventNamespace=".select"+g++,t.on(h(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;o.enable(0<e)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}}}),t.each(["Row","Column","Cell"],(function(t,e){var n=e.toLowerCase();m.ext.buttons["select"+e+"s"]={text:p("select"+e+"s","Select "+n+"s"),className:"buttons-select-"+n+"s",action:function(){this.select.items(n)},init:function(t){var e=this;t.on("selectItems.dt.DT",(function(t,o,a){e.active(a===n)}))}}})),t(n).on("preInit.dt.dtSelect",(function(t,e){"dt"===t.namespace&&m.select.init(new m.Api(e))})),m.select}));
  