2 lines
158 KiB
JavaScript
2 lines
158 KiB
JavaScript
!function(t){"use strict";"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)}:window.DataTable=t(jQuery,window,document)}((function(t,e,n,r){"use strict";var a,o,l,i,s=function(e,n){if(this instanceof s)return t(e).DataTable(n);n=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 o(t?se(this[a.iApiIndex]):this)},this.fnAddData=function(e,n){var a=this.api(!0),o=Array.isArray(e)&&(Array.isArray(e[0])||t.isPlainObject(e[0]))?a.rows.add(e):a.row.add(e);return(n===r||n)&&a.draw(),o.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],a=n.oScroll;t===r||t?e.draw(!1):""===a.sX&&""===a.sY||Ut(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===r||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),o=a.rows(t),l=o.settings()[0],i=l.aoData[o[0][0]];return o.remove(),e&&e.call(this,l,i),(n===r||n)&&a.draw(),i},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,o,l){var i=this.api(!0);null===e||e===r?i.search(t,n,a,l):i.column(e).search(t,n,a,l),i.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t!==r){var a=t.nodeName?t.nodeName.toLowerCase():"";return e!==r||"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!==r?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();if("TR"==n)return e.row(t).index();if("TD"==n||"TH"==n){var r=e.cell(t).index();return[r.row,r.columnVisible,r.column]}return 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===r||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){var a=this.api(!0).column(t).visible(e);(n===r||n)&&a.columns.adjust().draw()},this.fnSettings=function(){return se(this[a.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,o){var l=this.api(!0);return n===r||null===n?l.row(e).data(t):l.cell(e,n).data(t),(o===r||o)&&l.columns.adjust(),(a===r||a)&&l.draw(),0},this.fnVersionCheck=a.fnVersionCheck;var l=this,i=n===r,d=this.length;for(var u in i&&(n={}),this.oApi=this.internal=a.internal,s.ext.internal)u&&(this[u]=qe(u));return this.each((function(){var e,a=d>1?ce({},n,!0):n,o=0,u=this.getAttribute("id"),c=!1,f=s.defaults,p=t(this);if("table"==this.nodeName.toLowerCase()){N(f),L(f.column),A(f,f,!0),A(f.column,f.column,!0),A(f,t.extend(a,p.data()),!0);var h=s.settings;for(o=0,e=h.length;o<e;o++){var m=h[o];if(m.nTable==this||m.nTHead&&m.nTHead.parentNode==this||m.nTFoot&&m.nTFoot.parentNode==this){var b=a.bRetrieve!==r?a.bRetrieve:f.bRetrieve,g=a.bDestroy!==r?a.bDestroy:f.bDestroy;if(i||b)return m.oInstance;if(g){m.oInstance.fnDestroy();break}return void de(m,0,"Cannot reinitialise DataTable",3)}if(m.sTableId==this.id){h.splice(o,1);break}}null!==u&&""!==u||(u="DataTables_Table_"+s.ext._unique++,this.id=u);var y=t.extend(!0,{},s.models.oSettings,{sDestroyWidth:p[0].style.width,sInstance:u,sTableId:u});y.nTable=this,y.oApi=l.internal,y.oInit=a,h.push(y),y.oInstance=1===l.length?l:p.dataTable(),N(a),B(a.oLanguage),a.aLengthMenu&&!a.iDisplayLength&&(a.iDisplayLength=Array.isArray(a.aLengthMenu[0])?a.aLengthMenu[0][0]:a.aLengthMenu[0]),a=ce(t.extend(!0,{},f),a),ue(y.oFeatures,a,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),ue(y,a,["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"]]),ue(y.oScroll,a,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),ue(y.oLanguage,a,"fnInfoCallback"),pe(y,"aoDrawCallback",a.fnDrawCallback,"user"),pe(y,"aoServerParams",a.fnServerParams,"user"),pe(y,"aoStateSaveParams",a.fnStateSaveParams,"user"),pe(y,"aoStateLoadParams",a.fnStateLoadParams,"user"),pe(y,"aoStateLoaded",a.fnStateLoaded,"user"),pe(y,"aoRowCallback",a.fnRowCallback,"user"),pe(y,"aoRowCreatedCallback",a.fnCreatedRow,"user"),pe(y,"aoHeaderCallback",a.fnHeaderCallback,"user"),pe(y,"aoFooterCallback",a.fnFooterCallback,"user"),pe(y,"aoInitComplete",a.fnInitComplete,"user"),pe(y,"aoPreDrawCallback",a.fnPreDrawCallback,"user"),y.rowIdFn=Y(a.rowId),P(y);var v=y.oClasses;if(t.extend(v,s.ext.classes,a.oClasses),p.addClass(v.sTable),y.iInitDisplayStart===r&&(y.iInitDisplayStart=a.iDisplayStart,y._iDisplayStart=a.iDisplayStart),null!==a.iDeferLoading){y.bDeferLoading=!0;var x=Array.isArray(a.iDeferLoading);y._iRecordsDisplay=x?a.iDeferLoading[0]:a.iDeferLoading,y._iRecordsTotal=x?a.iDeferLoading[1]:a.iDeferLoading}var I=y.oLanguage;t.extend(!0,I,a.oLanguage),I.sUrl?(t.ajax({dataType:"json",url:I.sUrl,success:function(e){A(f.oLanguage,e),B(e),t.extend(!0,I,e,y.oInit.oLanguage),he(y,null,"i18n",[y]),Pt(y)},error:function(){Pt(y)}}),c=!0):he(y,null,"i18n",[y]),null===a.asStripeClasses&&(y.asStripeClasses=[v.sStripeOdd,v.sStripeEven]);var F=y.asStripeClasses,S=p.children("tbody").find("tr").eq(0);-1!==t.inArray(!0,t.map(F,(function(t,e){return S.hasClass(t)})))&&(t("tbody tr",this).removeClass(F.join(" ")),y.asDestroyStripes=F.slice());var w,C=[],D=this.getElementsByTagName("thead");if(0!==D.length&&(ft(y.aoHeader,D[0]),C=pt(y)),null===a.aoColumns)for(w=[],o=0,e=C.length;o<e;o++)w.push(null);else w=a.aoColumns;for(o=0,e=w.length;o<e;o++)j(y,C?C[o]:null);if($(y,a.aoColumnDefs,w,(function(t,e){O(y,t,e)})),S.length){var T=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(S[0]).children("th, td").each((function(t,e){var n=y.aoColumns[t];if(n.mData===t){var a=T(e,"sort")||T(e,"order"),o=T(e,"filter")||T(e,"search");null===a&&null===o||(n.mData={_:t+".display",sort:null!==a?t+".@data-"+a:r,type:null!==a?t+".@data-"+a:r,filter:null!==o?t+".@data-"+o:r},O(y,t))}}))}var _=y.oFeatures,k=function(){if(a.aaSorting===r){var n=y.aaSorting;for(o=0,e=n.length;o<e;o++)n[o][1]=y.aoColumns[o].asSorting[0]}re(y),_.bSort&&pe(y,"aoDrawCallback",(function(){if(y.bSorted){var e=Yt(y),n={};t.each(e,(function(t,e){n[e.src]=e.dir})),he(y,null,"order",[y,e,n]),te(y)}})),pe(y,"aoDrawCallback",(function(){(y.bSorted||"ssp"===ge(y)||_.bDeferRender)&&re(y)}),"sc");var l=p.children("caption").each((function(){this._captionSide=t(this).css("caption-side")})),i=p.children("thead");0===i.length&&(i=t("<thead/>").appendTo(p)),y.nTHead=i[0];var s=p.children("tbody");0===s.length&&(s=t("<tbody/>").insertAfter(i)),y.nTBody=s[0];var d=p.children("tfoot");if(0===d.length&&l.length>0&&(""!==y.oScroll.sX||""!==y.oScroll.sY)&&(d=t("<tfoot/>").appendTo(p)),0===d.length||0===d.children().length?p.addClass(v.sNoFooter):d.length>0&&(y.nTFoot=d[0],ft(y.aoFooter,y.nTFoot)),a.aaData)for(o=0;o<a.aaData.length;o++)X(y,a.aaData[o]);else(y.bDeferLoading||"dom"==ge(y))&&q(y,t(y.nTBody).children("tr"));y.aiDisplay=y.aiDisplayMaster.slice(),y.bInitialised=!0,!1===c&&Pt(y)};pe(y,"aoDrawCallback",oe,"state_save"),a.bStateSave?(_.bStateSave=!0,le(y,a,k)):k()}else de(null,0,"Non-table node initialisation ("+this.nodeName+")",2)})),l=null,this},d={},u=/[\r\n\u2028]/g,c=/<.*?>/g,f=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,p=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),h=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,m=function(t){return!t||!0===t||"-"===t},b=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},g=function(t,e){return d[e]||(d[e]=new RegExp(Ct(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(d[e],"."):t},y=function(t,e,n){var r="string"==typeof t;return!!m(t)||(e&&r&&(t=g(t,e)),n&&r&&(t=t.replace(h,"")),!isNaN(parseFloat(t))&&isFinite(t))},v=function(t,e,n){if(m(t))return!0;var r=function(t){return m(t)||"string"==typeof t}(t);return r&&!!y(w(t),e,n)||null},x=function(t,e,n){var a=[],o=0,l=t.length;if(n!==r)for(;o<l;o++)t[o]&&t[o][e]&&a.push(t[o][e][n]);else for(;o<l;o++)t[o]&&a.push(t[o][e]);return a},I=function(t,e,n,a){var o=[],l=0,i=e.length;if(a!==r)for(;l<i;l++)t[e[l]][n]&&o.push(t[e[l]][n][a]);else for(;l<i;l++)o.push(t[e[l]][n]);return o},F=function(t,e){var n,a=[];e===r?(e=0,n=t):(n=e,e=t);for(var o=e;o<n;o++)a.push(o);return a},S=function(t){for(var e=[],n=0,r=t.length;n<r;n++)t[n]&&e.push(t[n]);return e},w=function(t){return t.replace(c,"")},C=function(t){if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),n=e[0],r=1,a=e.length;r<a;r++){if(e[r]===n)return!1;n=e[r]}return!0}(t))return t.slice();var e,n,r,a=[],o=t.length,l=0;t:for(n=0;n<o;n++){for(e=t[n],r=0;r<l;r++)if(a[r]===e)continue t;a.push(e),l++}return a},D=function(t,e){if(Array.isArray(e))for(var n=0;n<e.length;n++)D(t,e[n]);else t.push(e);return t},T=function(t,e){return e===r&&(e=0),-1!==this.indexOf(t,e)};function _(e){var n,r,a={};t.each(e,(function(t,o){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(r=t.replace(n[0],n[2].toLowerCase()),a[r]=t,"o"===n[1]&&_(e[t]))})),e._hungarianMap=a}function A(e,n,a){var o;e._hungarianMap||_(e),t.each(n,(function(l,i){(o=e._hungarianMap[l])===r||!a&&n[o]!==r||("o"===o.charAt(0)?(n[o]||(n[o]={}),t.extend(!0,n[o],n[l]),A(e[o],n[o],a)):n[o]=n[l])}))}function B(t){var e=s.defaults.oLanguage,n=e.sDecimal;if(n&&je(n),t){var r=t.sZeroRecords;!t.sEmptyTable&&r&&"No data available in table"===e.sEmptyTable&&ue(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&r&&"Loading..."===e.sLoadingRecords&&ue(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var a=t.sDecimal;a&&n!==a&&je(a)}}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.prototype.includes||(Array.prototype.includes=T),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),String.prototype.includes||(String.prototype.includes=T),s.util={throttle:function(t,e){var n,a,o=e!==r?e:200;return function(){var e=this,l=+new Date,i=arguments;n&&l<n+o?(clearTimeout(a),a=setTimeout((function(){n=r,t.apply(e,i)}),o)):(n=l,t.apply(e,i))}},escapeRegex:function(t){return t.replace(p,"\\$1")},set:function(e){if(t.isPlainObject(e))return s.util.set(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,n,r){e(t,"set",n,r)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,n){t[e]=n};var n=function(t,e,a){for(var o,l,i,s,d,u=Z(a),c=u[u.length-1],f=0,p=u.length-1;f<p;f++){if("__proto__"===u[f]||"constructor"===u[f])throw new Error("Cannot set prototype values");if(l=u[f].match(K),i=u[f].match(G),l){if(u[f]=u[f].replace(K,""),t[u[f]]=[],(o=u.slice()).splice(0,f+1),d=o.join("."),Array.isArray(e))for(var h=0,m=e.length;h<m;h++)n(s={},e[h],d),t[u[f]].push(s);else t[u[f]]=e;return}i&&(u[f]=u[f].replace(G,""),t=t[u[f]](e)),null!==t[u[f]]&&t[u[f]]!==r||(t[u[f]]={}),t=t[u[f]]}c.match(G)?t=t[c.replace(G,"")](e):t[c.replace(K,"")]=e};return function(t,r){return n(t,r,e)}},get:function(e){if(t.isPlainObject(e)){var n={};return t.each(e,(function(t,e){e&&(n[t]=s.util.get(e))})),function(t,e,a,o){var l=n[e]||n._;return l!==r?l(t,e,a,o):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,n,r,a){return e(t,n,r,a)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t,n){return t[e]};var a=function(t,e,n){var o,l,i,s;if(""!==n)for(var d=Z(n),u=0,c=d.length;u<c;u++){if(o=d[u].match(K),l=d[u].match(G),o){if(d[u]=d[u].replace(K,""),""!==d[u]&&(t=t[d[u]]),i=[],d.splice(0,u+1),s=d.join("."),Array.isArray(t))for(var f=0,p=t.length;f<p;f++)i.push(a(t[f],e,s));var h=o[0].substring(1,o[0].length-1);t=""===h?i:i.join(h);break}if(l)d[u]=d[u].replace(G,""),t=t[d[u]]();else{if(null===t||t[d[u]]===r)return r;t=t[d[u]]}}return t};return function(t,n){return a(t,n,e)}}};var k=function(t,e,n){t[e]!==r&&(t[n]=t[e])};function N(t){k(t,"ordering","bSort"),k(t,"orderMulti","bSortMulti"),k(t,"orderClasses","bSortClasses"),k(t,"orderCellsTop","bSortCellsTop"),k(t,"order","aaSorting"),k(t,"orderFixed","aaSortingFixed"),k(t,"paging","bPaginate"),k(t,"pagingType","sPaginationType"),k(t,"pageLength","iDisplayLength"),k(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,r=e.length;n<r;n++)e[n]&&A(s.models.oSearch,e[n])}function L(t){k(t,"orderable","bSortable"),k(t,"orderData","aDataSort"),k(t,"orderSequence","asSorting"),k(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function P(n){if(!s.__browser){var r={};s.__browser=r;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"),o=a.children(),l=o.children();r.barWidth=o[0].offsetWidth-o[0].clientWidth,r.bScrollOversize=100===l[0].offsetWidth&&100!==o[0].clientWidth,r.bScrollbarLeft=1!==Math.round(l.offset().left),r.bBounding=!!a[0].getBoundingClientRect().width,a.remove()}t.extend(n.oBrowser,s.__browser),n.oScroll.iBarWidth=s.__browser.barWidth}function R(t,e,n,a,o,l){var i,s=a,d=!1;for(n!==r&&(i=n,d=!0);s!==o;)t.hasOwnProperty(s)&&(i=d?e(i,t[s],s,t):t[s],d=!0,s+=l);return i}function j(e,r){var a=s.defaults.column,o=e.aoColumns.length,l=t.extend({},s.models.oColumn,a,{nTh:r||n.createElement("th"),sTitle:a.sTitle?a.sTitle:r?r.innerHTML:"",aDataSort:a.aDataSort?a.aDataSort:[o],mData:a.mData?a.mData:o,idx:o});e.aoColumns.push(l);var i=e.aoPreSearchCols;i[o]=t.extend({},s.models.oSearch,i[o]),O(e,o,t(r).data())}function O(e,n,a){var o=e.aoColumns[n],l=e.oClasses,i=t(o.nTh);if(!o.sWidthOrig){o.sWidthOrig=i.attr("width")||null;var d=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);d&&(o.sWidthOrig=d[1])}if(a!==r&&null!==a){L(a),A(s.defaults.column,a,!0),a.mDataProp===r||a.mData||(a.mData=a.mDataProp),a.sType&&(o._sManualType=a.sType),a.className&&!a.sClass&&(a.sClass=a.className),a.sClass&&i.addClass(a.sClass);var u=o.sClass;t.extend(o,a),ue(o,a,"sWidth","sWidthOrig"),u!==o.sClass&&(o.sClass=u+" "+o.sClass),a.iDataSort!==r&&(o.aDataSort=[a.iDataSort]),ue(o,a,"aDataSort")}var c=o.mData,f=Y(c),p=o.mRender?Y(o.mRender):null,h=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};o._bAttrSrc=t.isPlainObject(c)&&(h(c.sort)||h(c.type)||h(c.filter)),o._setter=null,o.fnGetData=function(t,e,n){var a=f(t,e,r,n);return p&&e?p(a,e,t,n):a},o.fnSetData=function(t,e,n){return Q(c)(t,e,n)},"number"!=typeof c&&(e._rowReadObject=!0),e.oFeatures.bSort||(o.bSortable=!1,i.addClass(l.sSortableNone));var m=-1!==t.inArray("asc",o.asSorting),b=-1!==t.inArray("desc",o.asSorting);o.bSortable&&(m||b)?m&&!b?(o.sSortingClass=l.sSortableAsc,o.sSortingClassJUI=l.sSortJUIAscAllowed):!m&&b?(o.sSortingClass=l.sSortableDesc,o.sSortingClassJUI=l.sSortJUIDescAllowed):(o.sSortingClass=l.sSortable,o.sSortingClassJUI=l.sSortJUI):(o.sSortingClass=l.sSortableNone,o.sSortingClassJUI="")}function E(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;qt(t);for(var n=0,r=e.length;n<r;n++)e[n].nTh.style.width=e[n].sWidth}var a=t.oScroll;""===a.sY&&""===a.sX||Ut(t),he(t,null,"column-sizing",[t])}function H(t,e){var n=z(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function M(e,n){var r=z(e,"bVisible"),a=t.inArray(n,r);return-1!==a?a:null}function W(e){var n=0;return t.each(e.aoColumns,(function(e,r){r.bVisible&&"none"!==t(r.nTh).css("display")&&n++})),n}function z(e,n){var r=[];return t.map(e.aoColumns,(function(t,e){t[n]&&r.push(e)})),r}function U(t){var e,n,a,o,l,i,d,u,c,f=t.aoColumns,p=t.aoData,h=s.ext.type.detect;for(e=0,n=f.length;e<n;e++)if(c=[],!(d=f[e]).sType&&d._sManualType)d.sType=d._sManualType;else if(!d.sType){for(a=0,o=h.length;a<o;a++){for(l=0,i=p.length;l<i&&(c[l]===r&&(c[l]=V(t,l,e,"type")),(u=h[a](c[l],t))||a===h.length-1)&&("html"!==u||m(c[l]));l++);if(u){d.sType=u;break}}d.sType||(d.sType="string")}}function $(e,n,a,o){var l,i,s,d,u,c,f,p=e.aoColumns;if(n)for(l=n.length-1;l>=0;l--){var h=(f=n[l]).target!==r?f.target:f.targets!==r?f.targets:f.aTargets;for(Array.isArray(h)||(h=[h]),s=0,d=h.length;s<d;s++)if("number"==typeof h[s]&&h[s]>=0){for(;p.length<=h[s];)j(e);o(h[s],f)}else if("number"==typeof h[s]&&h[s]<0)o(p.length+h[s],f);else if("string"==typeof h[s])for(u=0,c=p.length;u<c;u++)("_all"==h[s]||t(p[u].nTh).hasClass(h[s]))&&o(u,f)}if(a)for(l=0,i=a.length;l<i;l++)o(l,a[l])}function X(e,n,a,o){var l=e.aoData.length,i=t.extend(!0,{},s.models.oRow,{src:a?"dom":"data",idx:l});i._aData=n,e.aoData.push(i);for(var d=e.aoColumns,u=0,c=d.length;u<c;u++)d[u].sType=null;e.aiDisplayMaster.push(l);var f=e.rowIdFn(n);return f!==r&&(e.aIds[f]=i),!a&&e.oFeatures.bDeferRender||ot(e,l,a,o),l}function q(e,n){var r;return n instanceof t||(n=t(n)),n.map((function(t,n){return r=at(e,n),X(e,r.data,n,r.cells)}))}function V(t,e,n,a){"search"===a?a="filter":"order"===a&&(a="sort");var o=t.iDraw,l=t.aoColumns[n],i=t.aoData[e]._aData,d=l.sDefaultContent,u=l.fnGetData(i,a,{settings:t,row:e,col:n});if(u===r)return t.iDrawError!=o&&null===d&&(de(t,0,"Requested unknown parameter "+("function"==typeof l.mData?"{function}":"'"+l.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=o),d;if(u!==i&&null!==u||null===d||a===r){if("function"==typeof u)return u.call(i)}else u=d;if(null===u&&"display"===a)return"";if("filter"===a){var c=s.ext.type.search;c[l.sType]&&(u=c[l.sType](u))}return u}function J(t,e,n,r){var a=t.aoColumns[n],o=t.aoData[e]._aData;a.fnSetData(o,r,{settings:t,row:e,col:n})}var K=/\[.*?\]$/,G=/\(\)$/;function Z(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],(function(t){return t.replace(/\\\./g,".")}))}var Y=s.util.get,Q=s.util.set;function tt(t){return x(t.aoData,"_aData")}function et(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function nt(t,e,n){for(var a=-1,o=0,l=t.length;o<l;o++)t[o]==e?a=o:t[o]>e&&t[o]--;-1!=a&&n===r&&t.splice(a,1)}function rt(t,e,n,a){var o,l,i=t.aoData[e],s=function(n,r){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=V(t,e,r,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==i.src)){var d=i.anCells;if(d)if(a!==r)s(d[a],a);else for(o=0,l=d.length;o<l;o++)s(d[o],o)}else i._aData=at(t,i,a,a===r?r:i._aData).data;i._aSortData=null,i._aFilterData=null;var u=t.aoColumns;if(a!==r)u[a].sType=null;else{for(o=0,l=u.length;o<l;o++)u[o].sType=null;lt(t,i)}}function at(t,e,n,a){var o,l,i,s=[],d=e.firstChild,u=0,c=t.aoColumns,f=t._rowReadObject;a=a!==r?a:f?{}:[];var p=function(t,e){if("string"==typeof t){var n=t.indexOf("@");if(-1!==n){var r=t.substring(n+1);Q(t)(a,e.getAttribute(r))}}},h=function(t){n!==r&&n!==u||(l=c[u],i=t.innerHTML.trim(),l&&l._bAttrSrc?(Q(l.mData._)(a,i),p(l.mData.sort,t),p(l.mData.type,t),p(l.mData.filter,t)):f?(l._setter||(l._setter=Q(l.mData)),l._setter(a,i)):a[u]=i);u++};if(d)for(;d;)"TD"!=(o=d.nodeName.toUpperCase())&&"TH"!=o||(h(d),s.push(d)),d=d.nextSibling;else for(var m=0,b=(s=e.anCells).length;m<b;m++)h(s[m]);var g=e.firstChild?e:e.nTr;if(g){var y=g.getAttribute("id");y&&Q(t.rowId)(a,y)}return{data:a,cells:s}}function ot(e,r,a,o){var l,i,s,d,u,c,f=e.aoData[r],p=f._aData,h=[];if(null===f.nTr){for(l=a||n.createElement("tr"),f.nTr=l,f.anCells=h,l._DT_RowIndex=r,lt(e,f),d=0,u=e.aoColumns.length;d<u;d++)s=e.aoColumns[d],(i=(c=!a)?n.createElement(s.sCellType):o[d])._DT_CellIndex={row:r,column:d},h.push(i),!c&&(!s.mRender&&s.mData===d||t.isPlainObject(s.mData)&&s.mData._===d+".display")||(i.innerHTML=V(e,r,d,"display")),s.sClass&&(i.className+=" "+s.sClass),s.bVisible&&!a?l.appendChild(i):!s.bVisible&&a&&i.parentNode.removeChild(i),s.fnCreatedCell&&s.fnCreatedCell.call(e.oInstance,i,V(e,r,d),p,r,d);he(e,"aoRowCreatedCallback",null,[l,p,r,h])}}function lt(e,n){var r=n.nTr,a=n._aData;if(r){var o=e.rowIdFn(a);if(o&&(r.id=o),a.DT_RowClass){var l=a.DT_RowClass.split(" ");n.__rowc=n.__rowc?C(n.__rowc.concat(l)):l,t(r).removeClass(n.__rowc.join(" ")).addClass(a.DT_RowClass)}a.DT_RowAttr&&t(r).attr(a.DT_RowAttr),a.DT_RowData&&t(r).data(a.DT_RowData)}}function it(e){var n,r,a,o,l,i=e.nTHead,s=e.nTFoot,d=0===t("th, td",i).length,u=e.oClasses,c=e.aoColumns;for(d&&(o=t("<tr/>").appendTo(i)),n=0,r=c.length;n<r;n++)l=c[n],a=t(l.nTh).addClass(l.sClass),d&&a.appendTo(o),e.oFeatures.bSort&&(a.addClass(l.sSortingClass),!1!==l.bSortable&&(a.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),ne(e,l.nTh,n))),l.sTitle!=a[0].innerHTML&&a.html(l.sTitle),be(e,"header")(e,a,l,u);if(d&&ft(e.aoHeader,i),t(i).children("tr").children("th, td").addClass(u.sHeaderTH),t(s).children("tr").children("th, td").addClass(u.sFooterTH),null!==s){var f=e.aoFooter[0];for(n=0,r=f.length;n<r;n++)(l=c[n]).nTf=f[n].cell,l.sClass&&t(l.nTf).addClass(l.sClass)}}function st(e,n,a){var o,l,i,s,d,u,c,f,p,h=[],m=[],b=e.aoColumns.length;if(n){for(a===r&&(a=!1),o=0,l=n.length;o<l;o++){for(h[o]=n[o].slice(),h[o].nTr=n[o].nTr,i=b-1;i>=0;i--)e.aoColumns[i].bVisible||a||h[o].splice(i,1);m.push([])}for(o=0,l=h.length;o<l;o++){if(c=h[o].nTr)for(;u=c.firstChild;)c.removeChild(u);for(i=0,s=h[o].length;i<s;i++)if(f=1,p=1,m[o][i]===r){for(c.appendChild(h[o][i].cell),m[o][i]=1;h[o+f]!==r&&h[o][i].cell==h[o+f][i].cell;)m[o+f][i]=1,f++;for(;h[o][i+p]!==r&&h[o][i].cell==h[o][i+p].cell;){for(d=0;d<f;d++)m[o+d][i+p]=1;p++}t(h[o][i].cell).attr("rowspan",f).attr("colspan",p)}}}}function dt(e,n){!function(t){var e="ssp"==ge(t),n=t.iInitDisplayStart;n!==r&&-1!==n&&(t._iDisplayStart=e?n:n>=t.fnRecordsDisplay()?0:n,t.iInitDisplayStart=-1)}(e);var a=he(e,"aoPreDrawCallback","preDraw",[e]);if(-1===t.inArray(!1,a)){var o=[],l=0,i=e.asStripeClasses,s=i.length,d=e.oLanguage,u="ssp"==ge(e),c=e.aiDisplay,f=e._iDisplayStart,p=e.fnDisplayEnd();if(e.bDrawing=!0,e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,Wt(e,!1);else if(u){if(!e.bDestroying&&!n)return void mt(e)}else e.iDraw++;if(0!==c.length)for(var h=u?0:f,m=u?e.aoData.length:p,b=h;b<m;b++){var g=c[b],y=e.aoData[g];null===y.nTr&&ot(e,g);var v=y.nTr;if(0!==s){var x=i[l%s];y._sRowStripe!=x&&(t(v).removeClass(y._sRowStripe).addClass(x),y._sRowStripe=x)}he(e,"aoRowCallback",null,[v,y._aData,l,b,g]),o.push(v),l++}else{var I=d.sZeroRecords;1==e.iDraw&&"ajax"==ge(e)?I=d.sLoadingRecords:d.sEmptyTable&&0===e.fnRecordsTotal()&&(I=d.sEmptyTable),o[0]=t("<tr/>",{class:s?i[0]:""}).append(t("<td />",{valign:"top",colSpan:W(e),class:e.oClasses.sRowEmpty}).html(I))[0]}he(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],tt(e),f,p,c]),he(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],tt(e),f,p,c]);var F=t(e.nTBody);F.children().detach(),F.append(t(o)),he(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Wt(e,!1)}function ut(t,e){var n=t.oFeatures,r=n.bSort,a=n.bFilter;r&&Qt(t),a?xt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,dt(t),t._drawHold=!1}function ct(e){var n=e.oClasses,r=t(e.nTable),a=t("<div/>").insertBefore(r),o=e.oFeatures,l=t("<div/>",{id:e.sTableId+"_wrapper",class:n.sWrapper+(e.nTFoot?"":" "+n.sNoFooter)});e.nHolding=a[0],e.nTableWrapper=l[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var i,d,u,c,f,p,h=e.sDom.split(""),m=0;m<h.length;m++){if(i=null,"<"==(d=h[m])){if(u=t("<div/>")[0],"'"==(c=h[m+1])||'"'==c){for(f="",p=2;h[m+p]!=c;)f+=h[m+p],p++;if("H"==f?f=n.sJUIHeader:"F"==f&&(f=n.sJUIFooter),-1!=f.indexOf(".")){var b=f.split(".");u.id=b[0].substr(1,b[0].length-1),u.className=b[1]}else"#"==f.charAt(0)?u.id=f.substr(1,f.length-1):u.className=f;m+=p}l.append(u),l=t(u)}else if(">"==d)l=l.parent();else if("l"==d&&o.bPaginate&&o.bLengthChange)i=Ot(e);else if("f"==d&&o.bFilter)i=vt(e);else if("r"==d&&o.bProcessing)i=Mt(e);else if("t"==d)i=zt(e);else if("i"==d&&o.bInfo)i=kt(e);else if("p"==d&&o.bPaginate)i=Et(e);else if(0!==s.ext.feature.length)for(var g=s.ext.feature,y=0,v=g.length;y<v;y++)if(d==g[y].cFeature){i=g[y].fnInit(e);break}if(i){var x=e.aanFeatures;x[d]||(x[d]=[]),x[d].push(i),l.append(i)}}a.replaceWith(l),e.nHolding=null}function ft(e,n){var r,a,o,l,i,s,d,u,c,f,p=t(n).children("tr"),h=function(t,e,n){for(var r=t[e];r[n];)n++;return n};for(e.splice(0,e.length),o=0,s=p.length;o<s;o++)e.push([]);for(o=0,s=p.length;o<s;o++)for(0,a=(r=p[o]).firstChild;a;){if("TD"==a.nodeName.toUpperCase()||"TH"==a.nodeName.toUpperCase())for(u=(u=1*a.getAttribute("colspan"))&&0!==u&&1!==u?u:1,c=(c=1*a.getAttribute("rowspan"))&&0!==c&&1!==c?c:1,d=h(e,o,0),f=1===u,i=0;i<u;i++)for(l=0;l<c;l++)e[o+l][d+i]={cell:a,unique:f},e[o+l].nTr=r;a=a.nextSibling}}function pt(t,e,n){var r=[];n||(n=t.aoHeader,e&&ft(n=[],e));for(var a=0,o=n.length;a<o;a++)for(var l=0,i=n[a].length;l<i;l++)!n[a][l].unique||r[l]&&t.bSortCellsTop||(r[l]=n[a][l].cell);return r}function ht(e,n,r){if(he(e,"aoServerParams","serverParams",[n]),n&&Array.isArray(n)){var a={},o=/(.*?)\[\]$/;t.each(n,(function(t,e){var n=e.name.match(o);if(n){var r=n[0];a[r]||(a[r]=[]),a[r].push(e.value)}else a[e.name]=e.value})),n=a}var l,i=e.ajax,s=e.oInstance,d=function(t){var n=e.jqXHR?e.jqXHR.status:null;(null===t||"number"==typeof n&&204==n)&&yt(e,t={},[]);var a=t.error||t.sError;a&&de(e,0,a),e.json=t,he(e,null,"xhr",[e,t,e.jqXHR]),r(t)};if(t.isPlainObject(i)&&i.data){var u="function"==typeof(l=i.data)?l(n,e):l;n="function"==typeof l&&u?u:t.extend(!0,n,u),delete i.data}var c={data:n,success:d,dataType:"json",cache:!1,type:e.sServerMethod,error:function(n,r,a){var o=he(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,o)&&("parsererror"==r?de(e,0,"Invalid JSON response",1):4===n.readyState&&de(e,0,"Ajax error",7)),Wt(e,!1)}};e.oAjaxData=n,he(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 mt(t){t.iDraw++,Wt(t,!0),ht(t,bt(t),(function(e){gt(t,e)}))}function bt(e){var n,r,a,o,l=e.aoColumns,i=l.length,d=e.oFeatures,u=e.oPreviousSearch,c=e.aoPreSearchCols,f=[],p=Yt(e),h=e._iDisplayStart,m=!1!==d.bPaginate?e._iDisplayLength:-1,b=function(t,e){f.push({name:t,value:e})};b("sEcho",e.iDraw),b("iColumns",i),b("sColumns",x(l,"sName").join(",")),b("iDisplayStart",h),b("iDisplayLength",m);var g={draw:e.iDraw,columns:[],order:[],start:h,length:m,search:{value:u.sSearch,regex:u.bRegex}};for(n=0;n<i;n++)a=l[n],o=c[n],r="function"==typeof a.mData?"function":a.mData,g.columns.push({data:r,name:a.sName,searchable:a.bSearchable,orderable:a.bSortable,search:{value:o.sSearch,regex:o.bRegex}}),b("mDataProp_"+n,r),d.bFilter&&(b("sSearch_"+n,o.sSearch),b("bRegex_"+n,o.bRegex),b("bSearchable_"+n,a.bSearchable)),d.bSort&&b("bSortable_"+n,a.bSortable);d.bFilter&&(b("sSearch",u.sSearch),b("bRegex",u.bRegex)),d.bSort&&(t.each(p,(function(t,e){g.order.push({column:e.col,dir:e.dir}),b("iSortCol_"+t,e.col),b("sSortDir_"+t,e.dir)})),b("iSortingCols",p.length));var y=s.ext.legacy.ajax;return null===y?e.sAjaxSource?f:g:y?f:g}function gt(t,e){var n=function(t,n){return e[t]!==r?e[t]:e[n]},a=yt(t,e),o=n("sEcho","draw"),l=n("iTotalRecords","recordsTotal"),i=n("iTotalDisplayRecords","recordsFiltered");if(o!==r){if(1*o<t.iDraw)return;t.iDraw=1*o}a||(a=[]),et(t),t._iRecordsTotal=parseInt(l,10),t._iRecordsDisplay=parseInt(i,10);for(var s=0,d=a.length;s<d;s++)X(t,a[s]);t.aiDisplay=t.aiDisplayMaster.slice(),dt(t,!0),t._bInitComplete||Rt(t,e),Wt(t,!1)}function yt(e,n,a){var o=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==r?e.ajax.dataSrc:e.sAjaxDataProp;if(!a)return"data"===o?n.aaData||n[o]:""!==o?Y(o)(n):n;Q(o)(n,a)}function vt(e){var r=e.oClasses,a=e.sTableId,o=e.oLanguage,l=e.oPreviousSearch,i=e.aanFeatures,s='<input type="search" class="'+r.sFilterInput+'"/>',d=o.sSearch;d=d.match(/_INPUT_/)?d.replace("_INPUT_",s):d+s;var u=t("<div/>",{id:i.f?null:a+"_filter",class:r.sFilter}).append(t("<label/>").append(d)),c=function(t){i.f;var n=this.value?this.value:"";l.return&&"Enter"!==t.key||n!=l.sSearch&&(xt(e,{sSearch:n,bRegex:l.bRegex,bSmart:l.bSmart,bCaseInsensitive:l.bCaseInsensitive,return:l.return}),e._iDisplayStart=0,dt(e))},f=null!==e.searchDelay?e.searchDelay:"ssp"===ge(e)?400:0,p=t("input",u).val(l.sSearch).attr("placeholder",o.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",f?Vt(c,f):c).on("mouseup",(function(t){setTimeout((function(){c.call(p[0],t)}),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,r){if(e===r)try{p[0]!==n.activeElement&&p.val(l.sSearch)}catch(t){}})),u[0]}function xt(t,e,n){var a=t.oPreviousSearch,o=t.aoPreSearchCols,l=function(t){a.sSearch=t.sSearch,a.bRegex=t.bRegex,a.bSmart=t.bSmart,a.bCaseInsensitive=t.bCaseInsensitive,a.return=t.return},i=function(t){return t.bEscapeRegex!==r?!t.bEscapeRegex:t.bRegex};if(U(t),"ssp"!=ge(t)){St(t,e.sSearch,n,i(e),e.bSmart,e.bCaseInsensitive,e.return),l(e);for(var s=0;s<o.length;s++)Ft(t,o[s].sSearch,s,i(o[s]),o[s].bSmart,o[s].bCaseInsensitive);It(t)}else l(e);t.bFiltered=!0,he(t,null,"search",[t])}function It(e){for(var n,r,a=s.ext.search,o=e.aiDisplay,l=0,i=a.length;l<i;l++){for(var d=[],u=0,c=o.length;u<c;u++)r=o[u],n=e.aoData[r],a[l](e,n._aFilterData,r,n._aData,u)&&d.push(r);o.length=0,t.merge(o,d)}}function Ft(t,e,n,r,a,o){if(""!==e){for(var l,i=[],s=t.aiDisplay,d=wt(e,r,a,o),u=0;u<s.length;u++)l=t.aoData[s[u]]._aFilterData[n],d.test(l)&&i.push(s[u]);t.aiDisplay=i}}function St(t,e,n,r,a,o){var l,i,d,u=wt(e,r,a,o),c=t.oPreviousSearch.sSearch,f=t.aiDisplayMaster,p=[];if(0!==s.ext.search.length&&(n=!0),i=_t(t),e.length<=0)t.aiDisplay=f.slice();else{for((i||n||r||c.length>e.length||0!==e.indexOf(c)||t.bSorted)&&(t.aiDisplay=f.slice()),l=t.aiDisplay,d=0;d<l.length;d++)u.test(t.aoData[l[d]]._sFilterRow)&&p.push(l[d]);t.aiDisplay=p}}function wt(e,n,r,a){if(e=n?e:Ct(e),r){var o=t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],(function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")}));e="^(?=.*?"+o.join(")(?=.*?")+").*$"}return new RegExp(e,a?"i":"")}var Ct=s.util.escapeRegex,Dt=t("<div>")[0],Tt=Dt.textContent!==r;function _t(t){var e,n,r,a,o,l,i,s=t.aoColumns,d=!1;for(e=0,r=t.aoData.length;e<r;e++)if(!(i=t.aoData[e])._aFilterData){for(o=[],n=0,a=s.length;n<a;n++)s[n].bSearchable?(null===(l=V(t,e,n,"filter"))&&(l=""),"string"!=typeof l&&l.toString&&(l=l.toString())):l="",l.indexOf&&-1!==l.indexOf("&")&&(Dt.innerHTML=l,l=Tt?Dt.textContent:Dt.innerText),l.replace&&(l=l.replace(/[\r\n\u2028]/g,"")),o.push(l);i._aFilterData=o,i._sFilterRow=o.join(" "),d=!0}return d}function At(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function Bt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function kt(e){var n=e.sTableId,r=e.aanFeatures.i,a=t("<div/>",{class:e.oClasses.sInfo,id:r?null:n+"_info"});return r||(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 r=e.oLanguage,a=e._iDisplayStart+1,o=e.fnDisplayEnd(),l=e.fnRecordsTotal(),i=e.fnRecordsDisplay(),s=i?r.sInfo:r.sInfoEmpty;i!==l&&(s+=" "+r.sInfoFiltered),s=Lt(e,s+=r.sInfoPostFix);var d=r.fnInfoCallback;null!==d&&(s=d.call(e.oInstance,e,a,o,l,i,s)),t(n).html(s)}}function Lt(t,e){var n=t.fnFormatNumber,r=t._iDisplayStart+1,a=t._iDisplayLength,o=t.fnRecordsDisplay(),l=-1===a;return e.replace(/_START_/g,n.call(t,r)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,o)).replace(/_PAGE_/g,n.call(t,l?1:Math.ceil(r/a))).replace(/_PAGES_/g,n.call(t,l?1:Math.ceil(o/a)))}function Pt(t){var e,n,r,a=t.iInitDisplayStart,o=t.aoColumns,l=t.oFeatures,i=t.bDeferLoading;if(t.bInitialised){for(ct(t),it(t),st(t,t.aoHeader),st(t,t.aoFooter),Wt(t,!0),l.bAutoWidth&&qt(t),e=0,n=o.length;e<n;e++)(r=o[e]).sWidth&&(r.nTh.style.width=Zt(r.sWidth));he(t,null,"preInit",[t]),ut(t);var s=ge(t);("ssp"!=s||i)&&("ajax"==s?ht(t,[],(function(n){var r=yt(t,n);for(e=0;e<r.length;e++)X(t,r[e]);t.iInitDisplayStart=a,ut(t),Wt(t,!1),Rt(t,n)})):(Wt(t,!1),Rt(t)))}else setTimeout((function(){Pt(t)}),200)}function Rt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&E(t),he(t,null,"plugin-init",[t,e]),he(t,"aoInitComplete","init",[t,e])}function jt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,me(t),he(t,null,"length",[t,n])}function Ot(e){for(var n=e.oClasses,r=e.sTableId,a=e.aLengthMenu,o=Array.isArray(a[0]),l=o?a[0]:a,i=o?a[1]:a,s=t("<select/>",{name:r+"_length","aria-controls":r,class:n.sLengthSelect}),d=0,u=l.length;d<u;d++)s[0][d]=new Option("number"==typeof i[d]?e.fnFormatNumber(i[d]):i[d],l[d]);var c=t("<div><label/></div>").addClass(n.sLength);return e.aanFeatures.l||(c[0].id=r+"_length"),c.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",s[0].outerHTML)),t("select",c).val(e._iDisplayLength).on("change.DT",(function(n){jt(e,t(this).val()),dt(e)})),t(e.nTable).on("length.dt.DT",(function(n,r,a){e===r&&t("select",c).val(a)})),c[0]}function Et(e){var n=e.sPaginationType,r=s.ext.pager[n],a="function"==typeof r,o=function(t){dt(t)},l=t("<div/>").addClass(e.oClasses.sPaging+n)[0],i=e.aanFeatures;return a||r.fnInit(e,l,o),i.p||(l.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(a){var e,n,l=t._iDisplayStart,s=t._iDisplayLength,d=t.fnRecordsDisplay(),u=-1===s,c=u?0:Math.ceil(l/s),f=u?1:Math.ceil(d/s),p=r(c,f);for(e=0,n=i.p.length;e<n;e++)be(t,"pageButton")(t,i.p[e],e,p,c,f)}else r.fnUpdate(t,o)},sName:"pagination"})),l}function Ht(t,e,n){var r=t._iDisplayStart,a=t._iDisplayLength,o=t.fnRecordsDisplay();0===o||-1===a?r=0:"number"==typeof e?(r=e*a)>o&&(r=0):"first"==e?r=0:"previous"==e?(r=a>=0?r-a:0)<0&&(r=0):"next"==e?r+a<o&&(r+=a):"last"==e?r=Math.floor((o-1)/a)*a:de(t,0,"Unknown paging action: "+e,5);var l=t._iDisplayStart!==r;return t._iDisplayStart=r,l&&(he(t,null,"page",[t]),n&&dt(t)),l}function Mt(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).append("<div><div></div><div></div><div></div><div></div></div>").insertBefore(e.nTable)[0]}function Wt(e,n){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",n?"block":"none"),he(e,null,"processing",[e,n])}function zt(e){var n=t(e.nTable),r=e.oScroll;if(""===r.sX&&""===r.sY)return e.nTable;var a=r.sX,o=r.sY,l=e.oClasses,i=n.children("caption"),s=i.length?i[0]._captionSide:null,d=t(n[0].cloneNode(!1)),u=t(n[0].cloneNode(!1)),c=n.children("tfoot"),f="<div/>",p=function(t){return t?Zt(t):null};c.length||(c=null);var h=t(f,{class:l.sScrollWrapper}).append(t(f,{class:l.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:a?p(a):"100%"}).append(t(f,{class:l.sScrollHeadInner}).css({"box-sizing":"content-box",width:r.sXInner||"100%"}).append(d.removeAttr("id").css("margin-left",0).append("top"===s?i:null).append(n.children("thead"))))).append(t(f,{class:l.sScrollBody}).css({position:"relative",overflow:"auto",width:p(a)}).append(n));c&&h.append(t(f,{class:l.sScrollFoot}).css({overflow:"hidden",border:0,width:a?p(a):"100%"}).append(t(f,{class:l.sScrollFootInner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===s?i:null).append(n.children("tfoot")))));var m=h.children(),b=m[0],g=m[1],y=c?m[2]:null;return a&&t(g).on("scroll.DT",(function(t){var e=this.scrollLeft;b.scrollLeft=e,c&&(y.scrollLeft=e)})),t(g).css("max-height",o),r.bCollapse||t(g).css("height",o),e.nScrollHead=b,e.nScrollBody=g,e.nScrollFoot=y,e.aoDrawCallback.push({fn:Ut,sName:"scrolling"}),h[0]}function Ut(n){var a,o,l,i,s,d,u,c,f,p=n.oScroll,h=p.sX,m=p.sXInner,b=p.sY,g=p.iBarWidth,y=t(n.nScrollHead),v=y[0].style,I=y.children("div"),F=I[0].style,S=I.children("table"),w=n.nScrollBody,C=t(w),D=w.style,T=t(n.nScrollFoot).children("div"),_=T.children("table"),A=t(n.nTHead),B=t(n.nTable),k=B[0],N=k.style,L=n.nTFoot?t(n.nTFoot):null,P=n.oBrowser,R=P.bScrollOversize,j=(x(n.aoColumns,"nTh"),[]),O=[],M=[],W=[],z=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0},U=w.scrollHeight>w.clientHeight;if(n.scrollBarVis!==U&&n.scrollBarVis!==r)return n.scrollBarVis=U,void E(n);n.scrollBarVis=U,B.children("thead, tfoot").remove(),L&&(d=L.clone().prependTo(B),o=L.find("tr"),i=d.find("tr"),d.find("[id]").removeAttr("id")),s=A.clone().prependTo(B),a=A.find("tr"),l=s.find("tr"),s.find("th, td").removeAttr("tabindex"),s.find("[id]").removeAttr("id"),h||(D.width="100%",y[0].style.width="100%"),t.each(pt(n,s),(function(t,e){u=H(n,t),e.style.width=n.aoColumns[u].sWidth})),L&&$t((function(t){t.style.width=""}),i),f=B.outerWidth(),""===h?(N.width="100%",R&&(B.find("tbody").height()>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(N.width=Zt(B.outerWidth()-g)),f=B.outerWidth()):""!==m&&(N.width=Zt(m),f=B.outerWidth()),$t(z,l),$t((function(n){var r=e.getComputedStyle?e.getComputedStyle(n).width:Zt(t(n).width());M.push(n.innerHTML),j.push(r)}),l),$t((function(t,e){t.style.width=j[e]}),a),t(l).css("height",0),L&&($t(z,i),$t((function(e){W.push(e.innerHTML),O.push(Zt(t(e).css("width")))}),i),$t((function(t,e){t.style.width=O[e]}),o),t(i).height(0)),$t((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+M[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=j[e]}),l),L&&$t((function(t,e){t.innerHTML='<div class="dataTables_sizing">'+W[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=O[e]}),i),Math.round(B.outerWidth())<Math.round(f)?(c=w.scrollHeight>w.offsetHeight||"scroll"==C.css("overflow-y")?f+g:f,R&&(w.scrollHeight>w.offsetHeight||"scroll"==C.css("overflow-y"))&&(N.width=Zt(c-g)),""!==h&&""===m||de(n,1,"Possible column misalignment",6)):c="100%",D.width=Zt(c),v.width=Zt(c),L&&(n.nScrollFoot.style.width=Zt(c)),b||R&&(D.height=Zt(k.offsetHeight+g));var $=B.outerWidth();S[0].style.width=Zt($),F.width=Zt($);var X=B.height()>w.clientHeight||"scroll"==C.css("overflow-y"),q="padding"+(P.bScrollbarLeft?"Left":"Right");F[q]=X?g+"px":"0px",L&&(_[0].style.width=Zt($),T[0].style.width=Zt($),T[0].style[q]=X?g+"px":"0px"),B.children("colgroup").insertBefore(B.children("thead")),C.trigger("scroll"),!n.bSorted&&!n.bFiltered||n._drawHold||(w.scrollTop=0)}function $t(t,e,n){for(var r,a,o=0,l=0,i=e.length;l<i;){for(r=e[l].firstChild,a=n?n[l].firstChild:null;r;)1===r.nodeType&&(n?t(r,a,o):t(r,o),o++),r=r.nextSibling,a=n?a.nextSibling:null;l++}}var Xt=/<.*?>/g;function qt(n){var r,a,o,l=n.nTable,i=n.aoColumns,s=n.oScroll,d=s.sY,u=s.sX,c=s.sXInner,f=i.length,p=z(n,"bVisible"),h=t("th",n.nTHead),m=l.getAttribute("width"),b=l.parentNode,g=!1,y=n.oBrowser,v=y.bScrollOversize,x=l.style.width;for(x&&-1!==x.indexOf("%")&&(m=x),r=0;r<p.length;r++)null!==(a=i[p[r]]).sWidth&&(a.sWidth=Jt(a.sWidthOrig,b),g=!0);if(v||!g&&!u&&!d&&f==W(n)&&f==h.length)for(r=0;r<f;r++){var I=H(n,r);null!==I&&(i[I].sWidth=Zt(h.eq(r).width()))}else{var F=t(l).clone().css("visibility","hidden").removeAttr("id");F.find("tbody tr").remove();var S=t("<tr/>").appendTo(F.find("tbody"));for(F.find("thead, tfoot").remove(),F.append(t(n.nTHead).clone()).append(t(n.nTFoot).clone()),F.find("tfoot th, tfoot td").css("width",""),h=pt(n,F.find("thead")[0]),r=0;r<p.length;r++)a=i[p[r]],h[r].style.width=null!==a.sWidthOrig&&""!==a.sWidthOrig?Zt(a.sWidthOrig):"",a.sWidthOrig&&u&&t(h[r]).append(t("<div/>").css({width:a.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(r=0;r<p.length;r++)a=i[o=p[r]],t(Kt(n,o)).clone(!1).append(a.sContentPadding).appendTo(S);t("[name]",F).removeAttr("name");var w=t("<div/>").css(u||d?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(F).appendTo(b);u&&c?F.width(c):u?(F.css("width","auto"),F.removeAttr("width"),F.width()<b.clientWidth&&m&&F.width(b.clientWidth)):d?F.width(b.clientWidth):m&&F.width(m);var C=0;for(r=0;r<p.length;r++){var D=t(h[r]),T=D.outerWidth()-D.width(),_=y.bBounding?Math.ceil(h[r].getBoundingClientRect().width):D.outerWidth();C+=_,i[p[r]].sWidth=Zt(_-T)}l.style.width=Zt(C),w.remove()}if(m&&(l.style.width=Zt(m)),(m||u)&&!n._reszEvt){var A=function(){t(e).on("resize.DT-"+n.sInstance,Vt((function(){E(n)})))};v?setTimeout(A,1e3):A(),n._reszEvt=!0}}var Vt=s.util.throttle;function Jt(e,r){if(!e)return 0;var a=t("<div/>").css("width",Zt(e)).appendTo(r||n.body),o=a[0].offsetWidth;return a.remove(),o}function Kt(e,n){var r=Gt(e,n);if(r<0)return null;var a=e.aoData[r];return a.nTr?a.anCells[n]:t("<td/>").html(V(e,r,n,"display"))[0]}function Gt(t,e){for(var n,r=-1,a=-1,o=0,l=t.aoData.length;o<l;o++)(n=(n=(n=V(t,o,e,"display")+"").replace(Xt,"")).replace(/ /g," ")).length>r&&(r=n.length,a=o);return a}function Zt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Yt(e){var n,a,o,l,i,d,u,c=[],f=e.aoColumns,p=e.aaSortingFixed,h=t.isPlainObject(p),m=[],b=function(e){e.length&&!Array.isArray(e[0])?m.push(e):t.merge(m,e)};for(Array.isArray(p)&&b(p),h&&p.pre&&b(p.pre),b(e.aaSorting),h&&p.post&&b(p.post),n=0;n<m.length;n++)for(a=0,o=(l=f[u=m[n][0]].aDataSort).length;a<o;a++)d=f[i=l[a]].sType||"string",m[n]._idx===r&&(m[n]._idx=t.inArray(m[n][1],f[i].asSorting)),c.push({src:u,col:i,dir:m[n][1],index:m[n]._idx,type:d,formatter:s.ext.type.order[d+"-pre"]});return c}function Qt(t){var e,n,r,a,o,l=[],i=s.ext.type.order,d=t.aoData,u=(t.aoColumns,0),c=t.aiDisplayMaster;for(U(t),e=0,n=(o=Yt(t)).length;e<n;e++)(a=o[e]).formatter&&u++,ae(t,a.col);if("ssp"!=ge(t)&&0!==o.length){for(e=0,r=c.length;e<r;e++)l[c[e]]=e;u===o.length?c.sort((function(t,e){var n,r,a,i,s,u=o.length,c=d[t]._aSortData,f=d[e]._aSortData;for(a=0;a<u;a++)if(0!==(i=(n=c[(s=o[a]).col])<(r=f[s.col])?-1:n>r?1:0))return"asc"===s.dir?i:-i;return(n=l[t])<(r=l[e])?-1:n>r?1:0})):c.sort((function(t,e){var n,r,a,s,u,c=o.length,f=d[t]._aSortData,p=d[e]._aSortData;for(a=0;a<c;a++)if(n=f[(u=o[a]).col],r=p[u.col],0!==(s=(i[u.type+"-"+u.dir]||i["string-"+u.dir])(n,r)))return s;return(n=l[t])<(r=l[e])?-1:n>r?1:0}))}t.bSorted=!0}function te(t){for(var e,n,r=t.aoColumns,a=Yt(t),o=t.oLanguage.oAria,l=0,i=r.length;l<i;l++){var s=r[l],d=s.asSorting,u=s.ariaTitle||s.sTitle.replace(/<.*?>/g,""),c=s.nTh;c.removeAttribute("aria-sort"),s.bSortable?(a.length>0&&a[0].col==l?(c.setAttribute("aria-sort","asc"==a[0].dir?"ascending":"descending"),n=d[a[0].index+1]||d[0]):n=d[0],e=u+("asc"===n?o.sSortAscending:o.sSortDescending)):e=u,c.setAttribute("aria-label",e)}}function ee(e,n,a,o){var l,i=e.aoColumns[n],s=e.aaSorting,d=i.asSorting,u=function(e,n){var a=e._idx;return a===r&&(a=t.inArray(e[1],d)),a+1<d.length?a+1:n?null:0};if("number"==typeof s[0]&&(s=e.aaSorting=[s]),a&&e.oFeatures.bSortMulti){var c=t.inArray(n,x(s,"0"));-1!==c?(null===(l=u(s[c],!0))&&1===s.length&&(l=0),null===l?s.splice(c,1):(s[c][1]=d[l],s[c]._idx=l)):(s.push([n,d[0],0]),s[s.length-1]._idx=0)}else s.length&&s[0][0]==n?(l=u(s[0]),s.length=1,s[0][1]=d[l],s[0]._idx=l):(s.length=0,s.push([n,d[0]]),s[0]._idx=0);ut(e),"function"==typeof o&&o(e)}function ne(t,e,n,r){var a=t.aoColumns[n];fe(e,{},(function(e){!1!==a.bSortable&&(t.oFeatures.bProcessing?(Wt(t,!0),setTimeout((function(){ee(t,n,e.shiftKey,r),"ssp"!==ge(t)&&Wt(t,!1)}),0)):ee(t,n,e.shiftKey,r))}))}function re(e){var n,r,a,o=e.aLastSort,l=e.oClasses.sSortColumn,i=Yt(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(n=0,r=o.length;n<r;n++)a=o[n].src,t(x(e.aoData,"anCells",a)).removeClass(l+(n<2?n+1:3));for(n=0,r=i.length;n<r;n++)a=i[n].src,t(x(e.aoData,"anCells",a)).addClass(l+(n<2?n+1:3))}e.aLastSort=i}function ae(t,e){var n,r,a,o=t.aoColumns[e],l=s.ext.order[o.sSortDataType];l&&(n=l.call(t.oInstance,t,e,M(t,e)));for(var i=s.ext.type.order[o.sType+"-pre"],d=0,u=t.aoData.length;d<u;d++)(r=t.aoData[d])._aSortData||(r._aSortData=[]),r._aSortData[e]&&!l||(a=l?n[d]:V(t,d,e,"sort"),r._aSortData[e]=i?i(a):a)}function oe(e){if(!e._bLoadingState){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:At(e.oPreviousSearch),columns:t.map(e.aoColumns,(function(t,n){return{visible:t.bVisible,search:At(e.aoPreSearchCols[n])}}))};e.oSavedState=n,he(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oFeatures.bStateSave&&!e.bDestroying&&e.fnStateSaveCallback.call(e.oInstance,e,n)}}function le(t,e,n){if(t.oFeatures.bStateSave){var a=t.fnStateLoadCallback.call(t.oInstance,t,(function(e){ie(t,e,n)}));return a!==r&&ie(t,a,n),!0}n()}function ie(e,n,a){var o,l,i=e.aoColumns;e._bLoadingState=!0;var d=e._bInitComplete?new s.Api(e):null;if(!n||!n.time)return e._bLoadingState=!1,void a();var u=he(e,"aoStateLoadParams","stateLoadParams",[e,n]);if(-1!==t.inArray(!1,u))return e._bLoadingState=!1,void a();var c=e.iStateDuration;if(c>0&&n.time<+new Date-1e3*c)return e._bLoadingState=!1,void a();if(n.columns&&i.length!==n.columns.length)return e._bLoadingState=!1,void a();if(e.oLoadedState=t.extend(!0,{},n),n.length!==r&&(d?d.page.len(n.length):e._iDisplayLength=n.length),n.start!==r&&(null===d?(e._iDisplayStart=n.start,e.iInitDisplayStart=n.start):Ht(e,n.start/e._iDisplayLength)),n.order!==r&&(e.aaSorting=[],t.each(n.order,(function(t,n){e.aaSorting.push(n[0]>=i.length?[0,n[1]]:n)}))),n.search!==r&&t.extend(e.oPreviousSearch,Bt(n.search)),n.columns){for(o=0,l=n.columns.length;o<l;o++){var f=n.columns[o];f.visible!==r&&(d?d.column(o).visible(f.visible,!1):i[o].bVisible=f.visible),f.search!==r&&t.extend(e.aoPreSearchCols[o],Bt(f.search))}d&&d.columns.adjust()}e._bLoadingState=!1,he(e,"aoStateLoaded","stateLoaded",[e,n]),a()}function se(e){var n=s.settings,r=t.inArray(e,x(n,"nTable"));return-1!==r?n[r]:null}function de(t,n,r,a){if(r="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+r,a&&(r+=". For more information about this error, please see http://datatables.net/tn/"+a),n)e.console&&console.log&&console.log(r);else{var o=s.ext,l=o.sErrMode||o.errMode;if(t&&he(t,null,"error",[t,a,r]),"alert"==l)alert(r);else{if("throw"==l)throw new Error(r);"function"==typeof l&&l(t,a,r)}}}function ue(e,n,a,o){Array.isArray(a)?t.each(a,(function(t,r){Array.isArray(r)?ue(e,n,r[0],r[1]):ue(e,n,r)})):(o===r&&(o=a),n[a]!==r&&(e[o]=n[a]))}function ce(e,n,r){var a;for(var o in n)n.hasOwnProperty(o)&&(a=n[o],t.isPlainObject(a)?(t.isPlainObject(e[o])||(e[o]={}),t.extend(!0,e[o],a)):r&&"data"!==o&&"aaData"!==o&&Array.isArray(a)?e[o]=a.slice():e[o]=a);return e}function fe(e,n,r){t(e).on("click.DT",n,(function(n){t(e).trigger("blur"),r(n)})).on("keypress.DT",n,(function(t){13===t.which&&(t.preventDefault(),r(t))})).on("selectstart.DT",(function(){return!1}))}function pe(t,e,n,r){n&&t[e].push({fn:n,sName:r})}function he(e,n,r,a){var o=[];if(n&&(o=t.map(e[n].slice().reverse(),(function(t,n){return t.fn.apply(e.oInstance,a)}))),null!==r){var l=t.Event(r+".dt");t(e.nTable).trigger(l,a),o.push(l.result)}return o}function me(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),r=t._iDisplayLength;e>=n&&(e=n-r),e-=e%r,(-1===r||e<0)&&(e=0),t._iDisplayStart=e}function be(e,n){var r=e.renderer,a=s.ext.renderer[n];return t.isPlainObject(r)&&r[n]?a[r[n]]||a._:"string"==typeof r&&a[r]||a._}function ge(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var ye=[],ve=Array.prototype;o=function(e,n){if(!(this instanceof o))return new o(e,n);var r=[],a=function(e){var n=function(e){var n,r,a=s.settings,o=t.map(a,(function(t,e){return t.nTable}));return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=t.inArray(e,o))?[a[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?r=t(e):e instanceof t&&(r=e),r?r.map((function(e){return-1!==(n=t.inArray(this,o))?a[n]:null})).toArray():void 0):[]}(e);n&&r.push.apply(r,n)};if(Array.isArray(e))for(var l=0,i=e.length;l<i;l++)a(e[l]);else a(e);this.context=C(r),n&&t.merge(this,n),this.selector={rows:null,cols:null,opts:null},o.extend(this,this,ye)},s.Api=o,t.extend(o.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 o(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,r=this.length;n<r;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new o(this.context,e)},flatten:function(){var t=[];return new o(this.context,t.concat.apply(t,this.toArray()))},join:ve.join,indexOf:ve.indexOf||function(t,e){for(var n=e||0,r=this.length;n<r;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,a){var l,i,s,d,u,c,f,p,h=[],m=this.context,b=this.selector;for("string"==typeof t&&(a=n,n=e,e=t,t=!1),i=0,s=m.length;i<s;i++){var g=new o(m[i]);if("table"===e)(l=n.call(g,m[i],i))!==r&&h.push(l);else if("columns"===e||"rows"===e)(l=n.call(g,m[i],this[i],i))!==r&&h.push(l);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(f=this[i],"column-rows"===e&&(c=Ce(m[i],b.opts)),d=0,u=f.length;d<u;d++)p=f[d],(l="cell"===e?n.call(g,m[i],p.row,p.column,i,d):n.call(g,m[i],p,i,d,c))!==r&&h.push(l)}if(h.length||a){var y=new o(m,t?h.concat.apply([],h):h),v=y.selector;return v.rows=b.rows,v.cols=b.cols,v.opts=b.opts,y}return 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,r=this.length;n<r;n++)e.push(t.call(this,this[n],n));return new o(this.context,e)},pluck:function(t){let e=s.util.get(t);return this.map((function(t){return e(t)}))},pop:ve.pop,push:ve.push,reduce:ve.reduce||function(t,e){return R(this,t,e,0,this.length,1)},reduceRight:ve.reduceRight||function(t,e){return R(this,t,e,this.length-1,-1,-1)},reverse:ve.reverse,selector:null,shift:ve.shift,slice:function(){return new o(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 o(this.context,C(this))},unshift:ve.unshift}),o.extend=function(t,e,n){if(n.length&&e&&(e instanceof o||e.__dt_wrapper)){var r,a,l,i=function(t,e,n){return function(){var r=e.apply(t,arguments);return o.extend(r,r,n.methodExt),r}};for(r=0,a=n.length;r<a;r++)e[(l=n[r]).name]="function"===l.type?i(t,l.val,l):"object"===l.type?{}:l.val,e[l.name].__dt_wrapper=!0,o.extend(t,e[l.name],l.propExt)}},o.register=l=function(e,n){if(Array.isArray(e))for(var r=0,a=e.length;r<a;r++)o.register(e[r],n);else{var l,i,s,d,u=e.split("."),c=ye,f=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].name===e)return t[n];return null};for(l=0,i=u.length;l<i;l++){var p=f(c,s=(d=-1!==u[l].indexOf("()"))?u[l].replace("()",""):u[l]);p||(p={name:s,val:{},methodExt:[],propExt:[],type:"object"},c.push(p)),l===i-1?(p.val=n,p.type="function"==typeof n?"function":t.isPlainObject(n)?"object":"other"):c=d?p.methodExt:p.propExt}}},o.registerPlural=i=function(t,e,n){o.register(t,n),o.register(e,(function(){var t=n.apply(this,arguments);return t===this?this:t instanceof o?t.length?Array.isArray(t[0])?new o(t.context,t[0]):t[0]:r: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 r=t.map(n,(function(t,e){return t.nTable}));return t(r).filter(e).map((function(e){var a=t.inArray(this,r);return n[a]})).toArray()};l("tables()",(function(t){return t!==r&&null!==t?new o(xe(t,this.context)):this})),l("table()",(function(t){var e=this.tables(t),n=e.context;return n.length?new o(n[0]):e})),i("tables().nodes()","table().node()",(function(){return this.iterator("table",(function(t){return t.nTable}),1)})),i("tables().body()","table().body()",(function(){return this.iterator("table",(function(t){return t.nTBody}),1)})),i("tables().header()","table().header()",(function(){return this.iterator("table",(function(t){return t.nTHead}),1)})),i("tables().footer()","table().footer()",(function(){return this.iterator("table",(function(t){return t.nTFoot}),1)})),i("tables().containers()","table().container()",(function(){return this.iterator("table",(function(t){return t.nTableWrapper}),1)})),l("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?dt(e):("string"==typeof t&&(t="full-hold"!==t),ut(e,!1===t))}))})),l("page()",(function(t){return t===r?this.page.info().page:this.iterator("table",(function(e){Ht(e,t)}))})),l("page.info()",(function(t){if(0===this.context.length)return r;var e=this.context[0],n=e._iDisplayStart,a=e.oFeatures.bPaginate?e._iDisplayLength:-1,o=e.fnRecordsDisplay(),l=-1===a;return{page:l?0:Math.floor(n/a),pages:l?1:Math.ceil(o/a),start:n,end:e.fnDisplayEnd(),length:a,recordsTotal:e.fnRecordsTotal(),recordsDisplay:o,serverSide:"ssp"===ge(e)}})),l("page.len()",(function(t){return t===r?0!==this.context.length?this.context[0]._iDisplayLength:r:this.iterator("table",(function(e){jt(e,t)}))}));var Ie=function(t,e,n){if(n){var r=new o(t);r.one("draw",(function(){n(r.ajax.json())}))}if("ssp"==ge(t))ut(t,e);else{Wt(t,!0);var a=t.jqXHR;a&&4!==a.readyState&&a.abort(),ht(t,[],(function(n){et(t);for(var r=yt(t,n),a=0,o=r.length;a<o;a++)X(t,r[a]);ut(t,e),Wt(t,!1)}))}};l("ajax.json()",(function(){var t=this.context;if(t.length>0)return t[0].json})),l("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),l("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){Ie(n,!1===e,t)}))})),l("ajax.url()",(function(e){var n=this.context;return e===r?0===n.length?r:(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}))})),l("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){Ie(n,!1===e,t)}))}));var Fe=function(t,e,n,o,l){var i,s,d,u,c,f,p=[],h=typeof e;for(e&&"string"!==h&&"function"!==h&&e.length!==r||(e=[e]),d=0,u=e.length;d<u;d++)for(c=0,f=(s=e[d]&&e[d].split&&!e[d].match(/[\[\(:]/)?e[d].split(","):[e[d]]).length;c<f;c++)(i=n("string"==typeof s[c]?s[c].trim():s[c]))&&i.length&&(p=p.concat(i));var m=a.selector[t];if(m.length)for(d=0,u=m.length;d<u;d++)p=m[d](o,l,p);return C(p)},Se=function(e){return e||(e={}),e.filter&&e.search===r&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},we=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},Ce=function(e,n){var r,a=[],o=e.aiDisplay,l=e.aiDisplayMaster,i=n.search,s=n.order,d=n.page;if("ssp"==ge(e))return"removed"===i?[]:F(0,l.length);if("current"==d)for(c=e._iDisplayStart,f=e.fnDisplayEnd();c<f;c++)a.push(o[c]);else if("current"==s||"applied"==s){if("none"==i)a=l.slice();else if("applied"==i)a=o.slice();else if("removed"==i){for(var u={},c=0,f=o.length;c<f;c++)u[o[c]]=null;a=t.map(l,(function(t){return u.hasOwnProperty(t)?null:t}))}}else if("index"==s||"original"==s)for(c=0,f=e.aoData.length;c<f;c++)("none"==i||-1===(r=t.inArray(c,o))&&"removed"==i||r>=0&&"applied"==i)&&a.push(c);return a};l("rows()",(function(e,n){e===r?e="":t.isPlainObject(e)&&(n=e,e=""),n=Se(n);var a=this.iterator("table",(function(a){return function(e,n,a){var o;return Fe("row",n,(function(n){var l=b(n),i=e.aoData;if(null!==l&&!a)return[l];if(o||(o=Ce(e,a)),null!==l&&-1!==t.inArray(l,o))return[l];if(null===n||n===r||""===n)return o;if("function"==typeof n)return t.map(o,(function(t){var e=i[t];return n(t,e._aData,e.nTr)?t:null}));if(n.nodeName){var s=n._DT_RowIndex,d=n._DT_CellIndex;if(s!==r)return i[s]&&i[s].nTr===n?[s]:[];if(d)return i[d.row]&&i[d.row].nTr===n.parentNode?[d.row]:[];var u=t(n).closest("*[data-dt-row]");return u.length?[u.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var c=e.aIds[n.replace(/^#/,"")];if(c!==r)return[c.idx]}var f=S(I(e.aoData,o,"nTr"));return t(f).filter(n).map((function(){return this._DT_RowIndex})).toArray()}),e,a)}(a,e,n)}),1);return a.selector.rows=e,a.selector.opts=n,a})),l("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||r}),1)})),l("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return I(t.aoData,e,"_aData")}),1)})),i("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var r=e.aoData[n];return"search"===t?r._aFilterData:r._aSortData}),1)})),i("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){rt(e,n,t)}))})),i("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),i("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,r=0,a=n.length;r<a;r++)for(var l=0,i=this[r].length;l<i;l++){var s=n[r].rowIdFn(n[r].aoData[this[r][l]]._aData);e.push((!0===t?"#":"")+s)}return new o(n,e)})),i("rows().remove()","row().remove()",(function(){var t=this;return this.iterator("row",(function(e,n,a){var o,l,i,s,d,u,c=e.aoData,f=c[n];for(c.splice(n,1),o=0,l=c.length;o<l;o++)if(u=(d=c[o]).anCells,null!==d.nTr&&(d.nTr._DT_RowIndex=o),null!==u)for(i=0,s=u.length;i<s;i++)u[i]._DT_CellIndex.row=o;nt(e.aiDisplayMaster,n),nt(e.aiDisplay,n),nt(t[a],n,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,me(e);var p=e.rowIdFn(f._aData);p!==r&&delete e.aIds[p]})),this.iterator("table",(function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e})),this})),l("rows.add()",(function(e){var n=this.iterator("table",(function(t){var n,r,a,o=[];for(r=0,a=e.length;r<a;r++)(n=e[r]).nodeName&&"TR"===n.nodeName.toUpperCase()?o.push(q(t,n)[0]):o.push(X(t,n));return o}),1),r=this.rows(-1);return r.pop(),t.merge(r,n),r})),l("row()",(function(t,e){return we(this.rows(t,e))})),l("row().data()",(function(t){var e=this.context;if(t===r)return e.length&&this.length?e[0].aoData[this[0]]._aData:r;var n=e[0].aoData[this[0]];return n._aData=t,Array.isArray(t)&&n.nTr&&n.nTr.id&&Q(e[0].rowId)(t,n.nTr.id),rt(e[0],this[0],"data"),this})),l("row().node()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null})),l("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()?q(t,e)[0]:X(t,e)}));return this.row(n[0])})),t(n).on("plugin-init.dt",(function(e,n){var r=new o(n);r.on("stateSaveParams",(function(t,e,n){for(var r=e.rowIdFn,a=e.aoData,o=[],l=0;l<a.length;l++)a[l]._detailsShow&&o.push("#"+r(a[l]._aData));n.childRows=o}));var a=r.state.loaded();a&&a.childRows&&r.rows(t.map(a.childRows,(function(t){return t.replace(/:/g,"\\:")}))).every((function(){he(n,null,"requestChild",[this])}))}));var De=s.util.throttle((function(t){oe(t[0])}),500),Te=function(e,n){var a=e.context;if(a.length){var o=a[0].aoData[n!==r?n:e[0]];o&&o._details&&(o._details.remove(),o._detailsShow=r,o._details=r,t(o.nTr).removeClass("dt-hasChild"),De(a))}},_e=function(e,n){var r=e.context;if(r.length&&e.length){var a=r[0].aoData[e[0]];a._details&&(a._detailsShow=n,n?(a._details.insertAfter(a.nTr),t(a.nTr).addClass("dt-hasChild")):(a._details.detach(),t(a.nTr).removeClass("dt-hasChild")),he(r[0],null,"childRow",[n,e.row(e[0])]),Ae(r[0]),De(r))}},Ae=function(t){var e=new o(t),n=".dt.DT_details",r="draw"+n,a="column-sizing"+n,l="destroy"+n,i=t.aoData;e.off(r+" "+a+" "+l),x(i,"_details").length>0&&(e.on(r,(function(n,r){t===r&&e.rows({page:"current"}).eq(0).each((function(t){var e=i[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),e.on(a,(function(e,n,r,a){if(t===n)for(var o,l=W(n),s=0,d=i.length;s<d;s++)(o=i[s])._details&&o._details.children("td[colspan]").attr("colspan",l)})),e.on(l,(function(n,r){if(t===r)for(var a=0,o=i.length;a<o;a++)i[a]._details&&Te(e,a)})))},Be="row().child()";l(Be,(function(e,n){var a=this.context;return e===r?a.length&&this.length?a[0].aoData[this[0]]._details:r:(!0===e?this.child.show():!1===e?Te(this):a.length&&this.length&&function(e,n,r,a){var o=[],l=function(n,r){if(Array.isArray(n)||n instanceof t)for(var a=0,i=n.length;a<i;a++)l(n[a],r);else if(n.nodeName&&"tr"===n.nodeName.toLowerCase())o.push(n);else{var s=t("<tr><td></td></tr>").addClass(r);t("td",s).addClass(r).html(n)[0].colSpan=W(e),o.push(s[0])}};l(r,a),n._details&&n._details.detach(),n._details=t(o),n._detailsShow&&n._details.insertAfter(n.nTr)}(a[0],a[0].aoData[this[0]],e,n),this)})),l(["row().child.show()",Be+".show()"],(function(t){return _e(this,!0),this})),l(["row().child.hide()",Be+".hide()"],(function(){return _e(this,!1),this})),l(["row().child.remove()",Be+".remove()"],(function(){return Te(this),this})),l("row().child.isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var ke=/^([^:]+):(name|visIdx|visible)$/,Ne=function(t,e,n,r,a){for(var o=[],l=0,i=a.length;l<i;l++)o.push(V(t,a[l],e));return o};l("columns()",(function(e,n){e===r?e="":t.isPlainObject(e)&&(n=e,e=""),n=Se(n);var a=this.iterator("table",(function(r){return function(e,n,r){var a=e.aoColumns,o=x(a,"sName"),l=x(a,"nTh");return Fe("column",n,(function(n){var i=b(n);if(""===n)return F(a.length);if(null!==i)return[i>=0?i:a.length+i];if("function"==typeof n){var s=Ce(e,r);return t.map(a,(function(t,r){return n(r,Ne(e,r,0,0,s),l[r])?r:null}))}var d="string"==typeof n?n.match(ke):"";if(d)switch(d[2]){case"visIdx":case"visible":var u=parseInt(d[1],10);if(u<0){var c=t.map(a,(function(t,e){return t.bVisible?e:null}));return[c[c.length+u]]}return[H(e,u)];case"name":return t.map(o,(function(t,e){return t===d[1]?e:null}));default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var f=t(l).filter(n).map((function(){return t.inArray(this,l)})).toArray();if(f.length||!n.nodeName)return f;var p=t(n).closest("*[data-dt-column]");return p.length?[p.data("dt-column")]:[]}),e,r)}(r,e,n)}),1);return a.selector.cols=e,a.selector.opts=n,a})),i("columns().header()","column().header()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTh}),1)})),i("columns().footer()","column().footer()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTf}),1)})),i("columns().data()","column().data()",(function(){return this.iterator("column-rows",Ne,1)})),i("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),i("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,r,a,o){return I(e.aoData,o,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),i("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,r,a){return I(t.aoData,a,"anCells",e)}),1)})),i("columns().visible()","column().visible()",(function(e,n){var a=this,o=this.iterator("column",(function(n,a){if(e===r)return n.aoColumns[a].bVisible;!function(e,n,a){var o,l,i,s,d=e.aoColumns,u=d[n],c=e.aoData;if(a===r)return u.bVisible;if(u.bVisible!==a){if(a){var f=t.inArray(!0,x(d,"bVisible"),n+1);for(l=0,i=c.length;l<i;l++)s=c[l].nTr,o=c[l].anCells,s&&s.insertBefore(o[n],o[f]||null)}else t(x(e.aoData,"anCells",n)).detach();u.bVisible=a}}(n,a,e)}));return e!==r&&this.iterator("table",(function(o){st(o,o.aoHeader),st(o,o.aoFooter),o.aiDisplay.length||t(o.nTBody).find("td[colspan]").attr("colspan",W(o)),oe(o),a.iterator("column",(function(t,r){he(t,null,"column-visibility",[t,r,e,n])})),(n===r||n)&&a.columns.adjust()})),o})),i("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?M(e,n):n}),1)})),l("columns.adjust()",(function(){return this.iterator("table",(function(t){E(t)}),1)})),l("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)}})),l("column()",(function(t,e){return we(this.columns(t,e))}));l("cells()",(function(e,n,a){if(t.isPlainObject(e)&&(e.row===r?(a=e,e=null):(a=n,n=null)),t.isPlainObject(n)&&(a=n,n=null),null===n||n===r)return this.iterator("table",(function(n){return function(e,n,a){var o,l,i,s,d,u,c,f=e.aoData,p=Ce(e,a),h=S(I(f,p,"anCells")),m=t(D([],h)),b=e.aoColumns.length;return Fe("cell",n,(function(n){var a="function"==typeof n;if(null===n||n===r||a){for(l=[],i=0,s=p.length;i<s;i++)for(o=p[i],d=0;d<b;d++)u={row:o,column:d},a?(c=f[o],n(u,V(e,o,d),c.anCells?c.anCells[d]:null)&&l.push(u)):l.push(u);return l}if(t.isPlainObject(n))return n.column!==r&&n.row!==r&&-1!==t.inArray(n.row,p)?[n]:[];var h=m.filter(n).map((function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}})).toArray();return h.length||!n.nodeName?h:(c=t(n).closest("*[data-dt-row]")).length?[{row:c.data("dt-row"),column:c.data("dt-column")}]:[]}),e,a)}(n,e,Se(a))}));var o,l,i,s,d=a?{page:a.page,order:a.order,search:a.search}:{},u=this.columns(n,d),c=this.rows(e,d),f=this.iterator("table",(function(t,e){var n=[];for(o=0,l=c[e].length;o<l;o++)for(i=0,s=u[e].length;i<s;i++)n.push({row:c[e][o],column:u[e][i]});return n}),1),p=a&&a.selected?this.cells(f,a):f;return t.extend(p.selector,{cols:n,rows:e,opts:a}),p})),i("cells().nodes()","cell().node()",(function(){return this.iterator("cell",(function(t,e,n){var a=t.aoData[e];return a&&a.anCells?a.anCells[n]:r}),1)})),l("cells().data()",(function(){return this.iterator("cell",(function(t,e,n){return V(t,e,n)}),1)})),i("cells().cache()","cell().cache()",(function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",(function(e,n,r){return e.aoData[n][t][r]}),1)})),i("cells().render()","cell().render()",(function(t){return this.iterator("cell",(function(e,n,r){return V(e,n,r,t)}),1)})),i("cells().indexes()","cell().index()",(function(){return this.iterator("cell",(function(t,e,n){return{row:e,column:n,columnVisible:M(t,n)}}),1)})),i("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,r){rt(e,n,t,r)}))})),l("cell()",(function(t,e,n){return we(this.cells(t,e,n))})),l("cell().data()",(function(t){var e=this.context,n=this[0];return t===r?e.length&&n.length?V(e[0],n[0].row,n[0].column):r:(J(e[0],n[0].row,n[0].column,t),rt(e[0],n[0].row,"data",n[0].column),this)})),l("order()",(function(t,e){var n=this.context;return t===r?0!==n.length?n[0].aaSorting:r:("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()})))})),l("order.listener()",(function(t,e,n){return this.iterator("table",(function(r){ne(r,t,e,n)}))})),l("order.fixed()",(function(e){if(!e){var n=this.context,a=n.length?n[0].aaSortingFixed:r;return Array.isArray(a)?{pre:a}:a}return this.iterator("table",(function(n){n.aaSortingFixed=t.extend(!0,{},e)}))})),l(["columns().order()","column().order()"],(function(e){var n=this;return this.iterator("table",(function(r,a){var o=[];t.each(n[a],(function(t,n){o.push([n,e])})),r.aaSorting=o}))})),l("search()",(function(e,n,a,o){var l=this.context;return e===r?0!==l.length?l[0].oPreviousSearch.sSearch:r:this.iterator("table",(function(r){r.oFeatures.bFilter&&xt(r,t.extend({},r.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===a||a,bCaseInsensitive:null===o||o}),1)}))})),i("columns().search()","column().search()",(function(e,n,a,o){return this.iterator("column",(function(l,i){var s=l.aoPreSearchCols;if(e===r)return s[i].sSearch;l.oFeatures.bFilter&&(t.extend(s[i],{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===a||a,bCaseInsensitive:null===o||o}),xt(l,l.oPreviousSearch,1))}))})),l("state()",(function(){return this.context.length?this.context[0].oSavedState:null})),l("state.clear()",(function(){return this.iterator("table",(function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})}))})),l("state.loaded()",(function(){return this.context.length?this.context[0].oLoadedState:null})),l("state.save()",(function(){return this.iterator("table",(function(t){oe(t)}))})),s.versionCheck=s.fnVersionCheck=function(t){for(var e,n,r=s.version.split("."),a=t.split("."),o=0,l=a.length;o<l;o++)if((e=parseInt(r[o],10)||0)!==(n=parseInt(a[o],10)||0))return e>n;return!0},s.isDataTable=s.fnIsDataTable=function(e){var n=t(e).get(0),r=!1;return e instanceof s.Api||(t.each(s.settings,(function(e,a){var o=a.nScrollHead?t("table",a.nScrollHead)[0]:null,l=a.nScrollFoot?t("table",a.nScrollFoot)[0]:null;a.nTable!==n&&o!==n&&l!==n||(r=!0)})),r)},s.tables=s.fnTables=function(e){var n=!1;t.isPlainObject(e)&&(n=e.api,e=e.visible);var r=t.map(s.settings,(function(n){if(!e||e&&t(n.nTable).is(":visible"))return n.nTable}));return n?new o(r):r},s.camelToHungarian=A,l("$()",(function(e,n){var r=this.rows(n).nodes(),a=t(r);return t([].concat(a.filter(e).toArray(),a.find(e).toArray()))})),t.each(["on","one","off"],(function(e,n){l(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 r=t(this.tables().nodes());return r[n].apply(r,e),this}))})),l("clear()",(function(){return this.iterator("table",(function(t){et(t)}))})),l("settings()",(function(){return new o(this.context,this.context)})),l("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),l("data()",(function(){return this.iterator("table",(function(t){return x(t.aoData,"_aData")})).flatten()})),l("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(r){var a,l=r.oClasses,i=r.nTable,d=r.nTBody,u=r.nTHead,c=r.nTFoot,f=t(i),p=t(d),h=t(r.nTableWrapper),m=t.map(r.aoData,(function(t){return t.nTr}));r.bDestroying=!0,he(r,"aoDestroyCallback","destroy",[r]),n||new o(r).columns().visible(!0),h.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+r.sInstance),i!=u.parentNode&&(f.children("thead").detach(),f.append(u)),c&&i!=c.parentNode&&(f.children("tfoot").detach(),f.append(c)),r.aaSorting=[],r.aaSortingFixed=[],re(r),t(m).removeClass(r.asStripeClasses.join(" ")),t("th, td",u).removeClass(l.sSortable+" "+l.sSortableAsc+" "+l.sSortableDesc+" "+l.sSortableNone),p.children().detach(),p.append(m);var b=r.nTableWrapper.parentNode,g=n?"remove":"detach";f[g](),h[g](),!n&&b&&(b.insertBefore(i,r.nTableReinsertBefore),f.css("width",r.sDestroyWidth).removeClass(l.sTable),(a=r.asDestroyStripes.length)&&p.children().each((function(e){t(this).addClass(r.asDestroyStripes[e%a])})));var y=t.inArray(r,s.settings);-1!==y&&s.settings.splice(y,1)}))})),t.each(["column","row","cell"],(function(t,e){l(e+"s().every()",(function(t){var n=this.selector.opts,a=this;return this.iterator(e,(function(o,l,i,s,d){t.call(a[e](l,"cell"===e?i:n,"cell"===e?n:r),l,i,s,d)}))}))})),l("i18n()",(function(e,n,a){var o=this.context[0],l=Y(e)(o.oLanguage);return l===r&&(l=n),a!==r&&t.isPlainObject(l)&&(l=l[a]!==r?l[a]:l._),l.replace("%d",a)})),s.version="1.12.1",s.settings=[],s.models={},s.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,return:!1},s.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},s.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},s.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:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},s.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},_(s.defaults),s.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},_(s.defaults.column),s.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,jqXHR:null,json:r,oAjaxData:r,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"==ge(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==ge(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,r=this.aiDisplay.length,a=this.oFeatures,o=a.bPaginate;return a.bServerSide?!1===o||-1===t?e+r:Math.min(e+t,this._iRecordsDisplay):!o||n>r||-1===t?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},s.ext=a={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:s.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:s.version},t.extend(a,{afnFiltering:a.search,aTypes:a.type.detect,ofnSearch:a.type.search,oSort:a.type.order,afnSortData:a.order,aoFeatures:a.feature,oApi:a.internal,oStdClasses:a.classes,oPagination:a.pager}),t.extend(s.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_desc_disabled",sSortableDesc:"sorting_asc_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 Le=s.ext.pager;function Pe(t,e){var n=[],r=Le.numbers_length,a=Math.floor(r/2);return e<=r?n=F(0,e):t<=a?((n=F(0,r-2)).push("ellipsis"),n.push(e-1)):t>=e-1-a?((n=F(e-(r-2),e)).splice(0,0,"ellipsis"),n.splice(0,0,0)):((n=F(t-a+2,t+a-1)).push("ellipsis"),n.push(e-1),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}t.extend(Le,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Pe(t,e)]},simple_numbers:function(t,e){return["previous",Pe(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Pe(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",Pe(t,e),"last"]},_numbers:Pe,numbers_length:7}),t.extend(!0,s.ext.renderer,{pageButton:{_:function(e,a,o,l,i,s){var d,u,c,f=e.oClasses,p=e.oLanguage.oPaginate,h=e.oLanguage.oAria.paginate||{},m=0,b=function(n,r){var a,l,c,g,y=f.sPageButtonDisabled,v=function(t){Ht(e,t.data.action,!0)};for(a=0,l=r.length;a<l;a++)if(c=r[a],Array.isArray(c)){var x=t("<"+(c.DT_el||"div")+"/>").appendTo(n);b(x,c)}else{switch(d=null,u=c,g=e.iTabIndex,c){case"ellipsis":n.append('<span class="ellipsis">…</span>');break;case"first":d=p.sFirst,0===i&&(g=-1,u+=" "+y);break;case"previous":d=p.sPrevious,0===i&&(g=-1,u+=" "+y);break;case"next":d=p.sNext,0!==s&&i!==s-1||(g=-1,u+=" "+y);break;case"last":d=p.sLast,0!==s&&i!==s-1||(g=-1,u+=" "+y);break;default:d=e.fnFormatNumber(c+1),u=i===c?f.sPageButtonActive:""}null!==d&&(fe(t("<a>",{class:f.sPageButton+" "+u,"aria-controls":e.sTableId,"aria-label":h[c],"data-dt-idx":m,tabindex:g,id:0===o&&"string"==typeof c?e.sTableId+"_"+c:null}).html(d).appendTo(n),{action:c},v),m++)}};try{c=t(a).find(n.activeElement).data("dt-idx")}catch(t){}b(t(a).empty(),l),c!==r&&t(a).find("[data-dt-idx="+c+"]").trigger("focus")}}}),t.extend(s.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return y(t,n)?"num"+n:null},function(t,e){if(t&&!(t instanceof Date)&&!f.test(t))return null;var n=Date.parse(t);return null!==n&&!isNaN(n)||m(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return v(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return v(t,n,!0)?"html-num-fmt"+n:null},function(t,e){return m(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(s.ext.type.search,{html:function(t){return m(t)?t:"string"==typeof t?t.replace(u," ").replace(c,""):""},string:function(t){return m(t)?t:"string"==typeof t?t.replace(u," "):t}});var Re=function(t,e,n,r){return 0===t||t&&"-"!==t?(e&&(t=g(t,e)),t.replace&&(n&&(t=t.replace(n,"")),r&&(t=t.replace(r,""))),1*t):-1/0};function je(e){t.each({num:function(t){return Re(t,e)},"num-fmt":function(t){return Re(t,e,h)},"html-num":function(t){return Re(t,e,c)},"html-num-fmt":function(t){return Re(t,e,c,h)}},(function(t,n){a.type.order[t+e+"-pre"]=n,t.match(/^html\-/)&&(a.type.search[t+e]=a.type.search.html)}))}t.extend(a.type.order,{"date-pre":function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e},"html-pre":function(t){return m(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return m(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}}),je(""),t.extend(!0,s.ext.renderer,{header:{_:function(e,n,r,a){t(e.nTable).on("order.dt.DT",(function(t,o,l,i){if(e===o){var s=r.idx;n.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[s]?a.sSortAsc:"desc"==i[s]?a.sSortDesc:r.sSortingClass)}}))},jqueryui:function(e,n,r,a){t("<div/>").addClass(a.sSortJUIWrapper).append(n.contents()).append(t("<span/>").addClass(a.sSortIcon+" "+r.sSortingClassJUI)).appendTo(n),t(e.nTable).on("order.dt.DT",(function(t,o,l,i){if(e===o){var s=r.idx;n.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[s]?a.sSortAsc:"desc"==i[s]?a.sSortDesc:r.sSortingClass),n.find("span."+a.sSortIcon).removeClass(a.sSortJUIAsc+" "+a.sSortJUIDesc+" "+a.sSortJUI+" "+a.sSortJUIAscAllowed+" "+a.sSortJUIDescAllowed).addClass("asc"==i[s]?a.sSortJUIAsc:"desc"==i[s]?a.sSortJUIDesc:r.sSortingClassJUI)}}))}}});var Oe=function(t){return Array.isArray(t)&&(t=t.join(",")),"string"==typeof t?t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t};function Ee(t,n,r,a,o){return e.moment?t[n](o):e.luxon?t[r](o):a?t[a](o):t}var He=!1;function Me(t,n,r){var a;if(e.moment){if(!(a=e.moment.utc(t,n,r,!0)).isValid())return null}else if(e.luxon){if(!(a=n?e.luxon.DateTime.fromFormat(t,n):e.luxon.DateTime.fromISO(t)).isValid)return null;a.setLocale(r)}else n?(He||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),He=!0):a=new Date(t);return a}function We(t){return function(e,n,a,o){0===arguments.length?(a="en",n=null,e=null):1===arguments.length?(a="en",n=e,e=null):2===arguments.length&&(a=n,n=e,e=null);var l="datetime-"+n;return s.ext.type.order[l]||(s.ext.type.detect.unshift((function(t){return t===l&&l})),s.ext.type.order[l+"-asc"]=function(t,e){var n=t.valueOf(),r=e.valueOf();return n===r?0:n<r?-1:1},s.ext.type.order[l+"-desc"]=function(t,e){var n=t.valueOf(),r=e.valueOf();return n===r?0:n>r?-1:1}),function(i,s){if(null===i||i===r)if("--now"===o){var d=new Date;i=new Date(Date.UTC(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds()))}else i="";if("type"===s)return l;if(""===i)return"sort"!==s?"":Me("0000-01-01 00:00:00",null,a);if(null!==n&&e===n&&"sort"!==s&&"type"!==s&&!(i instanceof Date))return i;var u=Me(i,e,a);if(null===u)return i;if("sort"===s)return u;var c=null===n?Ee(u,"toDate","toJSDate","")[t]():Ee(u,"format","toFormat","toISOString",n);return"display"===s?Oe(c):c}}}var ze=",",Ue=".";if(Intl)try{for(var $e=(new Intl.NumberFormat).formatToParts(100000.1),Xe=0;Xe<$e.length;Xe++)"group"===$e[Xe].type?ze=$e[Xe].value:"decimal"===$e[Xe].type&&(Ue=$e[Xe].value)}catch(t){}function qe(t){return function(){var e=[se(this[s.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return s.ext.internal[t].apply(this,e)}}return s.datetime=function(t,e){var n="datetime-detect-"+t;e||(e="en"),s.ext.type.order[n]||(s.ext.type.detect.unshift((function(r){var a=Me(r,t,e);return!(""!==r&&!a)&&n})),s.ext.type.order[n+"-pre"]=function(n){return Me(n,t,e)||0})},s.render={date:We("toLocaleDateString"),datetime:We("toLocaleString"),time:We("toLocaleTimeString"),number:function(t,e,n,a,o){return null!==t&&t!==r||(t=ze),null!==e&&e!==r||(e=Ue),{display:function(r){if("number"!=typeof r&&"string"!=typeof r)return r;if(""===r||null===r)return r;var l=r<0?"-":"",i=parseFloat(r);if(isNaN(i))return Oe(r);i=i.toFixed(n),r=Math.abs(i);var s=parseInt(r,10),d=n?e+(r-s).toFixed(n).substring(2):"";return 0===s&&0===parseFloat(d)&&(l=""),l+(a||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+d+(o||"")}}},text:function(){return{display:Oe,filter:Oe}}},t.extend(s.ext.internal,{_fnExternApiFunc:qe,_fnBuildAjax:ht,_fnAjaxUpdate:mt,_fnAjaxParameters:bt,_fnAjaxUpdateDraw:gt,_fnAjaxDataSrc:yt,_fnAddColumn:j,_fnColumnOptions:O,_fnAdjustColumnSizing:E,_fnVisibleToColumnIndex:H,_fnColumnIndexToVisible:M,_fnVisbleColumns:W,_fnGetColumns:z,_fnColumnTypes:U,_fnApplyColumnDefs:$,_fnHungarianMap:_,_fnCamelToHungarian:A,_fnLanguageCompat:B,_fnBrowserDetect:P,_fnAddData:X,_fnAddTr:q,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==r?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,n,r){return t.inArray(r,e.aoData[n].anCells)},_fnGetCellData:V,_fnSetCellData:J,_fnSplitObjNotation:Z,_fnGetObjectDataFn:Y,_fnSetObjectDataFn:Q,_fnGetDataMaster:tt,_fnClearTable:et,_fnDeleteIndex:nt,_fnInvalidate:rt,_fnGetRowElements:at,_fnCreateTr:ot,_fnBuildHead:it,_fnDrawHead:st,_fnDraw:dt,_fnReDraw:ut,_fnAddOptionsHtml:ct,_fnDetectHeader:ft,_fnGetUniqueThs:pt,_fnFeatureHtmlFilter:vt,_fnFilterComplete:xt,_fnFilterCustom:It,_fnFilterColumn:Ft,_fnFilter:St,_fnFilterCreateSearch:wt,_fnEscapeRegex:Ct,_fnFilterData:_t,_fnFeatureHtmlInfo:kt,_fnUpdateInfo:Nt,_fnInfoMacros:Lt,_fnInitialise:Pt,_fnInitComplete:Rt,_fnLengthChange:jt,_fnFeatureHtmlLength:Ot,_fnFeatureHtmlPaginate:Et,_fnPageChange:Ht,_fnFeatureHtmlProcessing:Mt,_fnProcessingDisplay:Wt,_fnFeatureHtmlTable:zt,_fnScrollDraw:Ut,_fnApplyToChildren:$t,_fnCalculateColumnWidths:qt,_fnThrottle:Vt,_fnConvertToWidth:Jt,_fnGetWidestNode:Kt,_fnGetMaxLenString:Gt,_fnStringToCss:Zt,_fnSortFlatten:Yt,_fnSort:Qt,_fnSortAria:te,_fnSortListener:ee,_fnSortAttachListener:ne,_fnSortingClasses:re,_fnSortData:ae,_fnSaveState:oe,_fnLoadState:le,_fnImplementState:ie,_fnSettingsFromNode:se,_fnLog:de,_fnMap:ue,_fnBindAction:fe,_fnCallbackReg:pe,_fnCallbackFire:he,_fnLengthOverflow:me,_fnRenderer:be,_fnDataSource:ge,_fnRowAttributes:lt,_fnExtend:ce,_fnCalculateEnd:function(){}}),t.fn.dataTable=s,s.$=t,t.fn.dataTableSettings=s.settings,t.fn.dataTableExt=s.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(s,(function(e,n){t.fn.DataTable[e]=n})),s})),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,r){"use strict";var a=t.fn.dataTable,o=0,l=0,i=a.ext.buttons;function s(e,n,r){t.fn.animate?e.stop().fadeIn(n,r):(e.css("display","block"),r&&r.call(e))}function d(e,n,r){t.fn.animate?e.stop().fadeOut(n,r):(e.css("display","none"),r&&r.call(e))}var u,c=function(e,n){if(!(this instanceof c))return function(t){return new c(t,e).container()};void 0===n&&(n={}),!0===n&&(n={}),Array.isArray(n)&&(n={buttons:n}),this.c=t.extend(!0,{},c.defaults,n),n.buttons&&(this.c.buttons=n.buttons),this.s={dt:new a.Api(e),buttons:[],listenKeys:"",namespace:"dtb"+o++},this.dom={container:t("<"+this.c.dom.container.tag+"/>").addClass(this.c.dom.container.className)},this._constructor()};t.extend(c.prototype,{action:function(t,e){var n=this._nodeToButton(t);return e===r?n.conf.action:(n.conf.action=e,this)},active:function(e,n){var a=this._nodeToButton(e),o=this.c.dom.button.active,l=t(a.node);return n===r?l.hasClass(o):(l.toggleClass(o,n===r||n),this)},add:function(t,e){var n=this.s.buttons;if("string"==typeof e){for(var a=e.split("-"),o=this.s,l=0,i=a.length-1;l<i;l++)o=o.buttons[1*a[l]];n=o.buttons,e=1*a[a.length-1]}return this._expandButton(n,t,o!==r,e),this._draw(),this},container:function(){return this.dom.container},disable:function(e){var n=this._nodeToButton(e);return t(n.node).addClass(this.c.dom.button.disabled).attr("disabled",!0),this},destroy:function(){t("body").off("keyup."+this.s.namespace);var e,n,r=this.s.buttons.slice();for(e=0,n=r.length;e<n;e++)this.remove(r[e].node);this.dom.container.remove();var a=this.s.dt.settings()[0];for(e=0,n=a.length;e<n;e++)if(a.inst===this){a.splice(e,1);break}return this},enable:function(e,n){if(!1===n)return this.disable(e);var r=this._nodeToButton(e);return t(r.node).removeClass(this.c.dom.button.disabled).removeAttr("disabled"),this},name:function(){return this.c.name},node:function(e){if(!e)return this.dom.container;var n=this._nodeToButton(e);return t(n.node)},processing:function(e,n){var a=this.s.dt,o=this._nodeToButton(e);return n===r?t(o.node).hasClass("processing"):(t(o.node).toggleClass("processing",n),t(a.table().node()).triggerHandler("buttons-processing.dt",[n,a.button(e),a,t(e),o.conf]),this)},remove:function(e){var n=this._nodeToButton(e),r=this._nodeToHost(e),a=this.s.dt;if(n.buttons.length)for(var o=n.buttons.length-1;o>=0;o--)this.remove(n.buttons[o].node);n.conf.destroy&&n.conf.destroy.call(a.button(e),a,t(e),n.conf),this._removeKey(n.conf),t(n.node).remove();var l=t.inArray(n,r);return r.splice(l,1),this},text:function(e,n){var a=this._nodeToButton(e),o=this.c.dom.collection.buttonLiner,l=a.inCollection&&o&&o.tag?o.tag:this.c.dom.buttonLiner.tag,i=this.s.dt,s=t(a.node),d=function(t){return"function"==typeof t?t(i,s,a.conf):t};return n===r?d(a.conf.text):(a.conf.text=n,l?s.children(l).html(d(n)):s.html(d(n)),this)},_constructor:function(){var e=this,r=this.s.dt,a=r.settings()[0],o=this.c.buttons;a._buttons||(a._buttons=[]),a._buttons.push({inst:this,name:this.c.name});for(var l=0,i=o.length;l<i;l++)this.add(o[l]);r.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 r=String.fromCharCode(t.keyCode).toLowerCase();-1!==e.s.listenKeys.toLowerCase().indexOf(r)&&e._keypress(r,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,r=e.length;n<r;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,o){for(var l=this.s.dt,i=Array.isArray(n)?n:[n],s=0,d=i.length;s<d;s++){var u=this._resolveExtends(i[s]);if(u)if(Array.isArray(u))this._expandButton(e,u,a,o);else{var c=this._buildButton(u,a);c&&(o!==r&&null!==o?(e.splice(o,0,c),o++):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,o)),u.init&&u.init.call(l.button(c.node),l,t(c.node),u))}}},_buildButton:function(e,n){var a=this.c.dom.button,o=this.c.dom.buttonLiner,i=this.c.dom.collection,s=this.s.dt,d=function(t){return"function"==typeof t?t(s,p,e):t};if(n&&i.button&&(a=i.button),n&&i.buttonLiner&&(o=i.buttonLiner),e.available&&!e.available(s,e))return!1;var u=function(e,n,r,a){a.action.call(n.button(r),e,n,r,a),t(n.table().node()).triggerHandler("buttons-action.dt",[n.button(r),n,r,a])},c=e.tag||a.tag,f=e.clickBlurs===r||e.clickBlurs,p=t("<"+c+"/>").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(),!p.hasClass(a.disabled)&&e.action&&u(t,s,p,e),f&&p.trigger("blur")})).on("keyup.dtb",(function(t){13===t.keyCode&&!p.hasClass(a.disabled)&&e.action&&u(t,s,p,e)}));if("a"===c.toLowerCase()&&p.attr("href","#"),"button"===c.toLowerCase()&&p.attr("type","button"),o.tag){var h=t("<"+o.tag+"/>").html(d(e.text)).addClass(o.className);"a"===o.tag.toLowerCase()&&h.attr("href","#"),p.append(h)}else p.html(d(e.text));!1===e.enabled&&p.addClass(a.disabled),e.className&&p.addClass(e.className),e.titleAttr&&p.attr("title",d(e.titleAttr)),e.attr&&p.attr(e.attr),e.namespace||(e.namespace=".dt-button-"+l++);var m,b=this.c.dom.buttonContainer;return m=b&&b.tag?t("<"+b.tag+"/>").addClass(b.className).append(p):p,this._addKey(e),this.c.buttonCreated&&(m=this.c.buttonCreated(e,m)),{conf:e,node:p.get(0),inserter:m,buttons:[],inCollection:n,collection:null}},_nodeToButton:function(t,e){e||(e=this.s.buttons);for(var n=0,r=e.length;n<r;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,r=e.length;n<r;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 r=function(r,a){if(r.key)if(r.key===e)n._buttonsHandled=!0,t(a).click();else if(t.isPlainObject(r.key)){if(r.key.key!==e)return;if(r.key.shiftKey&&!n.shiftKey)return;if(r.key.altKey&&!n.altKey)return;if(r.key.ctrlKey&&!n.ctrlKey)return;if(r.key.metaKey&&!n.metaKey)return;n._buttonsHandled=!0,t(a).click()}},a=function(t){for(var e=0,n=t.length;e<n;e++)r(t[e].conf,t[e].node),t[e].buttons.length&&a(t[e].buttons)};a(this.s.buttons)}},_removeKey:function(e){if(e.key){var n=t.isPlainObject(e.key)?e.key.key:e.key,r=this.s.listenKeys.split(""),a=t.inArray(n,r);r.splice(a,1),this.s.listenKeys=r.join("")}},_resolveExtends:function(e){var n,a,o=this.s.dt,l=function(n){for(var a=0;!t.isPlainObject(n)&&!Array.isArray(n);){if(n===r)return;if("function"==typeof n){if(!(n=n(o,e)))return!1}else if("string"==typeof n){if(!i[n])throw"Unknown button type: "+n;n=i[n]}if(++a>30)throw"Buttons: Too many iterations"}return Array.isArray(n)?n:t.extend({},n)};for(e=l(e);e&&e.extend;){if(!i[e.extend])throw"Cannot extend unknown button type: "+e.extend;var s=l(i[e.extend]);if(Array.isArray(s))return s;if(!s)return!1;var d=s.className;e=t.extend({},s,e),d&&e.className!==d&&(e.className=d+" "+e.className);var u=e.postfixButtons;if(u){for(e.buttons||(e.buttons=[]),n=0,a=u.length;n<a;n++)e.buttons.push(u[n]);e.postfixButtons=null}var c=e.prefixButtons;if(c){for(e.buttons||(e.buttons=[]),n=0,a=c.length;n<a;n++)e.buttons.splice(n,0,c[n]);e.prefixButtons=null}e.extend=s.extend}return e},_popover:function(r,a,o){var l=a,i=this.c,u=t.extend({align:"button-left",autoClose:!1,background:!0,backgroundClassName:"dt-button-background",contentClassName:i.dom.collection.className,collectionLayout:"",collectionTitle:"",dropup:!1,fade:400,rightAlignClassName:"dt-button-right",tag:i.dom.collection.tag},o),f=a.node(),p=function(){d(t(".dt-button-collection"),u.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"),c.background(!1,u.backgroundClassName,u.fade,f),t("body").off(".dtb-collection"),l.off("buttons-action.b-internal")};!1===r&&p();var h=t(l.buttons('[aria-haspopup="true"][aria-expanded="true"]').nodes());h.length&&(f=h.eq(0),p());var m=t("<div/>").addClass("dt-button-collection").addClass(u.collectionLayout).css("display","none");r=t(r).addClass(u.contentClassName).attr("role","menu").appendTo(m),f.attr("aria-expanded","true"),f.parents("body")[0]!==n.body&&(f=n.body.lastChild),u.collectionTitle&&m.prepend('<div class="dt-button-collection-title">'+u.collectionTitle+"</div>"),s(m.insertAfter(f),u.fade);var b=t(a.table().container()),g=m.css("position");if("dt-container"===u.align&&(f=f.parent(),m.css("width",b.width())),"absolute"===g){var y=f.position(),v=t(a.node()).position();m.css({top:v.top+f.outerHeight(),left:y.left});var x=m.outerHeight(),I=b.offset().top+b.height(),F=v.top+f.outerHeight()+x-I,S=v.top-x,w=b.offset().top,C=w-S,D=v.top-x-5;(F>C||u.dropup)&&-D<w&&m.css("top",D);var T=b.offset().left,_=T+b.width(),A=m.offset().left,B=A+m.width(),k=f.offset().left,N=k+f.outerWidth();if(m.hasClass(u.rightAlignClassName)||m.hasClass(u.leftAlignClassName)||"dt-container"===u.align){var L,P,R=0;if(m.hasClass(u.rightAlignClassName)){if(T>A+(R=N-B))R+=(L=T-(A+R))>(P=_-(B+R))?P:L}else if(_<B+(R=T-A))R+=(L=T-(A+R))>(P=_-(B+R))?P:L;m.css("left",m.position().left+R)}else{var j=f.offset().top;R=0;R="button-right"===u.align?N-B:k-A,m.css("left",m.position().left+R)}}else{(j=m.height()/2)>t(e).height()/2&&(j=t(e).height()/2),m.css("marginTop",-1*j)}u.background&&c.background(!0,u.backgroundClassName,u.fade,f),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(r).length&&!t(a).hasClass("dt-buttons")||t(e.target).hasClass("dt-button-background"))&&p()})).on("keyup.dtb-collection",(function(t){27===t.keyCode&&p()})),u.autoClose&&setTimeout((function(){l.on("buttons-action.b-internal",(function(t,e,n,r){r[0]!==f[0]&&p()}))}),0),t(m).trigger("buttons-popover.dt")}}),c.background=function(e,a,o,l){o===r&&(o=400),l||(l=n.body),e?s(t("<div/>").addClass(a).css("display","none").insertAfter(l),o):d(t("div."+a),o,(function(){t(this).removeClass(a).remove()}))},c.instanceSelector=function(e,n){if(e===r||null===e)return t.map(n,(function(t){return t.inst}));var a=[],o=t.map(n,(function(t){return t.name})),l=function(e){if(Array.isArray(e))for(var r=0,i=e.length;r<i;r++)l(e[r]);else if("string"==typeof e)if(-1!==e.indexOf(","))l(e.split(","));else{var s=t.inArray(e.trim(),o);-1!==s&&a.push(n[s].inst)}else"number"==typeof e&&a.push(n[e].inst)};return l(e),a},c.buttonSelector=function(e,n){for(var a=[],o=function(t,e,n){for(var a,l,i=0,s=e.length;i<s;i++)(a=e[i])&&(l=n!==r?n+i:i+"",t.push({node:a.node,name:a.conf.name,idx:l}),a.buttons&&o(t,a.buttons,l+"-"))},l=function(e,n){var i,s,d=[];o(d,n.s.buttons);var u=t.map(d,(function(t){return t.node}));if(Array.isArray(e)||e instanceof t)for(i=0,s=e.length;i<s;i++)l(e[i],n);else if(null===e||e===r||"*"===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(",")){var c=e.split(",");for(i=0,s=c.length;i<s;i++)l(c[i].trim(),n)}else if(e.match(/^\d+(\-\d+)*$/)){var f=t.map(d,(function(t){return t.idx}));a.push({inst:n,node:d[t.inArray(e,f)].node})}else if(-1!==e.indexOf(":name")){var p=e.replace(":name","");for(i=0,s=d.length;i<s;i++)d[i].name===p&&a.push({inst:n,node:d[i].node})}else t(u).filter(e).each((function(){a.push({inst:n,node:this})}));else if("object"==typeof e&&e.nodeName){var h=t.inArray(e,u);-1!==h&&a.push({inst:n,node:u[h]})}},i=0,s=e.length;i<s;i++){var d=e[i];l(n,d)}return a},c.stripData=function(t,e){return"string"!=typeof t||(t=(t=t.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")).replace(/<!\-\-.*?\-\->/g,""),e&&!e.stripHtml||(t=t.replace(/<[^>]*>/g,"")),e&&!e.trim||(t=t.replace(/^\s+|\s+$/g,"")),e&&!e.stripNewlines||(t=t.replace(/\n/g," ")),e&&!e.decodeEntities||(b.innerHTML=t,t=b.value)),t},c.defaults={buttons:["copy","excel","csv","pdf","print"],name:"main",tabIndex:0,dom:{container:{tag:"div",className:"dt-buttons"},collection:{tag:"div",className:""},button:{tag:"button",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"span",className:""}}},c.version="1.7.1",t.extend(i,{collection:{text:function(t){return t.i18n("buttons.collection","Collection")},className:"buttons-collection",init:function(t,e,n){e.attr("aria-expanded",!1)},action:function(t,e,n,r){t.stopPropagation(),r._collection.parents("body").length?this.popover(!1,r):this.popover(r._collection,r)},attr:{"aria-haspopup":!0}},copy:function(t,e){if(i.copyHtml5)return"copyHtml5"},csv:function(t,e){if(i.csvHtml5&&i.csvHtml5.available(t,e))return"csvHtml5"},excel:function(t,e){if(i.excelHtml5&&i.excelHtml5.available(t,e))return"excelHtml5"},pdf:function(t,e){if(i.pdfHtml5&&i.pdfHtml5.available(t,e))return"pdfHtml5"},pageLength:function(e){var n=e.settings()[0].aLengthMenu,r=[],a=[];if(Array.isArray(n[0]))r=n[0],a=n[1];else for(var o=0;o<n.length;o++){var l=n[o];t.isPlainObject(l)?(r.push(l.value),a.push(l.label)):(r.push(l),a.push(l))}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(r,(function(t,e){return{text:a[e],className:"button-page-length",action:function(e,n){n.page.len(t).draw()},init:function(e,n,r){var a=this,o=function(){a.active(e.page.len()===t)};e.on("length.dt"+r.namespace,o),o()},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}})),init:function(t,e,n){var r=this;t.on("length.dt"+n.namespace,(function(){r.text(n.text)}))},destroy:function(t,e,n){t.off("length.dt"+n.namespace)}}}}),a.Api.register("buttons()",(function(t,e){e===r&&(e=t,t=r),this.selector.buttonGroup=t;var n=this.iterator(!0,"table",(function(n){if(n._buttons)return c.buttonSelector(c.instanceSelector(t,n._buttons),e)}),!0);return n._groupSelector=t,n})),a.Api.register("button()",(function(t,e){var n=this.buttons(t,e);return n.length>1&&n.splice(1,n.length),n})),a.Api.registerPlural("buttons().active()","button().active()",(function(t){return t===r?this.map((function(t){return t.inst.active(t.node)})):this.each((function(e){e.inst.active(e.node,t)}))})),a.Api.registerPlural("buttons().action()","button().action()",(function(t){return t===r?this.map((function(t){return t.inst.action(t.node)})):this.each((function(e){e.inst.action(e.node,t)}))})),a.Api.register(["buttons().enable()","button().enable()"],(function(t){return this.each((function(e){e.inst.enable(e.node,t)}))})),a.Api.register(["buttons().disable()","button().disable()"],(function(){return this.each((function(t){t.inst.disable(t.node)}))})),a.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})),a.Api.registerPlural("buttons().processing()","button().processing()",(function(t){return t===r?this.map((function(t){return t.inst.processing(t.node)})):this.each((function(e){e.inst.processing(e.node,t)}))})),a.Api.registerPlural("buttons().text()","button().text()",(function(t){return t===r?this.map((function(t){return t.inst.text(t.node)})):this.each((function(e){e.inst.text(e.node,t)}))})),a.Api.registerPlural("buttons().trigger()","button().trigger()",(function(){return this.each((function(t){t.inst.node(t.node).trigger("click")}))})),a.Api.register("button().popover()",(function(t,e){return this.map((function(n){return n.inst._popover(t,this.button(this[0].node),e)}))})),a.Api.register("buttons().containers()",(function(){var e=t(),n=this._groupSelector;return this.iterator(!0,"table",(function(t){if(t._buttons)for(var r=c.instanceSelector(n,t._buttons),a=0,o=r.length;a<o;a++)e=e.add(r[a].container())})),e})),a.Api.register("buttons().container()",(function(){return this.containers().eq(0)})),a.Api.register("button().add()",(function(t,e){var n=this.context;if(n.length){var r=c.instanceSelector(this._groupSelector,n[0]._buttons);r.length&&r[0].add(e,t)}return this.button(this._groupSelector,t)})),a.Api.register("buttons().destroy()",(function(){return this.pluck("inst").unique().each((function(t){t.destroy()})),this})),a.Api.registerPlural("buttons().remove()","buttons().remove()",(function(){return this.each((function(t){t.inst.remove(t.node)})),this})),a.Api.register("buttons.info()",(function(e,n,a){var o=this;return!1===e?(this.off("destroy.btn-info"),d(t("#datatables_buttons_info"),400,(function(){t(this).remove()})),clearTimeout(u),u=null,this):(u&&clearTimeout(u),t("#datatables_buttons_info").length&&t("#datatables_buttons_info").remove(),e=e?"<h2>"+e+"</h2>":"",s(t('<div id="datatables_buttons_info" class="dt-button-info"/>').html(e).append(t("<div/>")["string"==typeof n?"html":"append"](n)).css("display","none").appendTo("body")),a!==r&&0!==a&&(u=setTimeout((function(){o.buttons.info(!1)}),a)),this.on("destroy.btn-info",(function(){o.buttons.info(!1)})),this)})),a.Api.register("buttons.exportData()",(function(t){if(this.context.length)return g(new a.Api(this.context[0]),t)})),a.Api.register("buttons.exportInfo()",(function(t){return t||(t={}),{filename:f(t),title:h(t),messageTop:m(this,t.message||t.messageTop,"top"),messageBottom:m(this,t.messageBottom,"bottom")}}));var f=function(e){var n="*"===e.filename&&"*"!==e.title&&e.title!==r&&null!==e.title&&""!==e.title?e.title:e.filename;if("function"==typeof n&&(n=n()),n===r||null===n)return null;-1!==n.indexOf("*")&&(n=n.replace("*",t("head > title").text()).trim()),n=n.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,"");var a=p(e.extension);return a||(a=""),n+a},p=function(t){return null===t||t===r?null:"function"==typeof t?t():t},h=function(e){var n=p(e.title);return null===n?null:-1!==n.indexOf("*")?n.replace("*",t("head > title").text()||"Exported data"):n},m=function(e,n,r){var a=p(n);if(null===a)return null;var o=t("caption",e.table().container()).eq(0);return"*"===a?o.css("caption-side")!==r?null:o.length?o.text():"":a},b=t("<textarea/>")[0],g=function(e,n){var 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 c.stripData(t,a)},footer:function(t){return c.stripData(t,a)},body:function(t){return c.stripData(t,a)}},customizeData:null},n),o=e.columns(a.columns).indexes().map((function(t){var n=e.column(t).header();return a.format.header(n.innerHTML,t,n)})).toArray(),l=e.table().footer()?e.columns(a.columns).indexes().map((function(t){var n=e.column(t).footer();return a.format.footer(n?n.innerHTML:"",t,n)})).toArray():null,i=t.extend({},a.modifier);e.select&&"function"==typeof e.select.info&&i.selected===r&&e.rows(a.rows,t.extend({selected:!0},i)).any()&&t.extend(i,{selected:!0});for(var s=e.rows(a.rows,i).indexes().toArray(),d=e.cells(s,a.columns),u=d.render(a.orthogonal).toArray(),f=d.nodes().toArray(),p=o.length,h=[],m=0,b=0,g=p>0?u.length/p:0;b<g;b++){for(var y=[p],v=0;v<p;v++)y[v]=a.format.body(u[m],b,v,f[m]),m++;h[b]=y}var x={header:o,footer:l,body:h};return a.customizeData&&a.customizeData(x),x};function y(t,e){var n=new a.Api(t),r=e||(n.init().buttons||a.defaults.buttons);return new c(n,r).container()}return t.fn.dataTable.Buttons=c,t.fn.DataTable.Buttons=c,t(n).on("init.dt plugin-init.dt",(function(t,e){if("dt"===t.namespace){var n=e.oInit.buttons||a.defaults.buttons;n&&!e._buttons&&new c(e,n).container()}})),a.ext.feature.push({fnInit:y,cFeature:"B"}),a.ext.features&&a.ext.features.register("buttons",y),c})),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,r){"use strict";var a=t.fn.dataTable,o={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(new RegExp("\\s*"+t+"\\s*")," ").replace(/^\s+/,"").replace(/\s+$/,"")},t.hasClass=function(t){return!!this.className.match(new RegExp("\\s*"+t+"\\s*"))}),t},setMoviePath:function(t){this.moviePath=t},dispatch:function(t,e,n){var r=this.clients[t];r&&r.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=o.nextId++,this.movieId="ZeroClipboard_TableToolsMovie_"+this.id,o.register(this.id,this),t&&this.glue(t)}};o.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=o.$(t);var r=99;this.domElement.style.zIndex&&(r=parseInt(this.domElement.style.zIndex,10)+1);var a=o.getDOMObjectPosition(this.domElement);this.div=n.createElement("div");var l=this.div.style;l.position="absolute",l.left="0px",l.top="0px",l.width=a.width+"px",l.height=a.height+"px",l.zIndex=r,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,"&"))},positionElement:function(){var t=o.getDOMObjectPosition(this.domElement),e=this.div.style;if(e.position="absolute",e.width=t.width+"px",e.height=t.height+"px",0!==t.width&&0!==t.height){this.sized=!0;var n=this.div.childNodes[0];n.width=t.width,n.height=t.height}},getHTML:function(t,e){var n="",r="id="+this.id+"&width="+t+"&height="+e;navigator.userAgent.match(/MSIE/)?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="'+o.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="'+r+'"/><param name="wmode" value="transparent"/></object>':n+='<embed id="'+this.movieId+'" src="'+o.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="'+r+'" 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.domElement=null,this.div=null,t.each(o.clients,(function(t,n){n===e&&delete o.clients[t]})))},reposition:function(t){if(t&&(this.domElement=o.$(t),this.domElement||this.hide()),this.domElement&&this.div){var e=o.getDOMObjectPosition(this.domElement),n=this.div.style;n.left=e.left+"px",n.top=e.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,r){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 o=0,l=this.handlers[t].length;o<l;o++){var i=this.handlers[t][o];"function"==typeof i?i(this,r):"object"==typeof i&&2==i.length?i[0][i[1]](this,r):"string"==typeof i&&e[i](this,r)}}},o.hasFlash=function(){try{if(new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(t){if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]!==r&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return!0}return!1},e.ZeroClipboard_TableTools=o;var l=function(t,e){e.attr("id");e.parents("html").length?t.glue(e[0],""):setTimeout((function(){l(t,e)}),500)},i=function(t,e){var n=e.match(/[\s\S]{1,8192}/g)||[];t.clearText();for(var r=0,a=n.length;r<a;r++)t.appendText(n[r])},s=function(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},d=function(t,e){for(var n=s(e),a=t.buttons.exportData(e.exportOptions),o=e.fieldBoundary,l=e.fieldSeparator,i=new RegExp(o,"g"),d=e.escapeChar!==r?e.escapeChar:"\\",u=function(t){for(var e="",n=0,r=t.length;n<r;n++)n>0&&(e+=l),e+=o?o+(""+t[n]).replace(i,d+o)+o:t[n];return e},c=e.header?u(a.header)+n:"",f=e.footer&&a.footer?n+u(a.footer):"",p=[],h=0,m=a.body.length;h<m;h++)p.push(u(a.body[h]));return{str:c+p.join(n)+f,rows:p.length}},u={available:function(){return o.hasFlash()},init:function(t,e,n){o.moviePath=a.Buttons.swfPath;var r=new o.Client;r.setHandCursor(!0),r.addEventListener("mouseDown",(function(r){n._fromFlash=!0,t.button(e[0]).trigger(),n._fromFlash=!1})),l(r,e),n._flash=r},destroy:function(t,e,n){n._flash.destroy()},fieldSeparator:",",fieldBoundary:'"',exportOptions:{},title:"*",messageTop:"*",messageBottom:"*",filename:"*",extension:".csv",header:!0,footer:!1};function c(t){for(var e="A".charCodeAt(0),n="Z".charCodeAt(0)-e+1,r="";t>=0;)r=String.fromCharCode(t%n+e)+r,t=Math.floor(t/n)-1;return r}function f(e,n,a){var o=e.createElement(n);return a&&(a.attr&&t(o).attr(a.attr),a.children&&t.each(a.children,(function(t,e){o.appendChild(e)})),null!==a.text&&a.text!==r&&o.appendChild(e.createTextNode(a.text))),o}function p(t,e){var n,a,o,l=t.header[e].length;t.footer&&t.footer[e].length>l&&(l=t.footer[e].length);for(var i=0,s=t.body.length;i<s;i++){var d=t.body[i][e];if(-1!==(o=null!==d&&d!==r?d.toString():"").indexOf("\n")?((a=o.split("\n")).sort((function(t,e){return e.length-t.length})),n=a[0].length):n=o.length,n>l&&(l=n),l>40)return 52}return(l*=1.3)>6?l:6}var h,m="";function b(e){h===r&&(h=-1===m.serializeToString(t.parseXML(g["xl/worksheets/sheet1.xml"])).indexOf("xmlns:r")),t.each(e,(function(n,r){if(t.isPlainObject(r))b(r);else{if(h){var a,o,l=r.childNodes[0],i=[];for(a=l.attributes.length-1;a>=0;a--){var s=l.attributes[a].nodeName,d=l.attributes[a].nodeValue;-1!==s.indexOf(":")&&(i.push({name:s,value:d}),l.removeAttribute(s))}for(a=0,o=i.length;a<o;a++){var u=r.createAttribute(i[a].name.replace(":","_dt_b_namespace_token_"));u.value=i[a].value,l.setAttributeNode(u)}}var c=m.serializeToString(r);h&&(-1===c.indexOf("<?xml")&&(c='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+c),c=c.replace(/_dt_b_namespace_token_/g,":")),c=c.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),e[n]=c}}))}m=void 0===e.XMLSerializer?new function(){this.serializeToString=function(t){return t.xml}}:new XMLSerializer;var g={"_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=""£"#,##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>'},y=[{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 a.Buttons.swfPath="//cdn.datatables.net/buttons/"+a.Buttons.version+"/swf/flashExport.swf",a.Api.register("buttons.resize()",(function(){t.each(o.clients,(function(t,e){e.domElement!==r&&e.domElement.parentNode&&e.positionElement()}))})),a.ext.buttons.copyFlash=t.extend({},u,{className:"buttons-copy buttons-flash",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(t,e,n,r){if(r._fromFlash){this.processing(!0);var a=r._flash,o=d(e,r),l=e.buttons.exportInfo(r),u=s(r),c=o.str;l.title&&(c=l.title+u+u+c),l.messageTop&&(c=l.messageTop+u+u+c),l.messageBottom&&(c=c+u+u+l.messageBottom),r.customize&&(c=r.customize(c,r,e)),a.setAction("copy"),i(a,c),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:""}),a.ext.buttons.csvFlash=t.extend({},u,{className:"buttons-csv buttons-flash",text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,n,r){var a=r._flash,o=d(e,r),l=e.buttons.exportInfo(r),s=r.customize?r.customize(o.str,r,e):o.str;a.setAction("csv"),a.setFileName(l.filename),i(a,s)},escapeChar:'"'}),a.ext.buttons.excelFlash=t.extend({},u,{className:"buttons-excel buttons-flash",text:function(t){return t.i18n("buttons.excel","Excel")},action:function(e,n,a,o){this.processing(!0);var l,s,d=o._flash,u=0,h=t.parseXML(g["xl/worksheets/sheet1.xml"]),m=h.getElementsByTagName("sheetData")[0],v={_rels:{".rels":t.parseXML(g["_rels/.rels"])},xl:{_rels:{"workbook.xml.rels":t.parseXML(g["xl/_rels/workbook.xml.rels"])},"workbook.xml":t.parseXML(g["xl/workbook.xml"]),"styles.xml":t.parseXML(g["xl/styles.xml"]),worksheets:{"sheet1.xml":h}},"[Content_Types].xml":t.parseXML(g["[Content_Types].xml"])},x=n.buttons.exportData(o.exportOptions),I=function(t){s=f(h,"row",{attr:{r:l=u+1}});for(var e=0,n=t.length;e<n;e++){var a=c(e)+""+l,i=null;if(null===t[e]||t[e]===r||""===t[e]){if(!0!==o.createEmptyCells)continue;t[e]=""}t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var d=0,p=y.length;d<p;d++){var b=y[d];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(b.match)){var g=t[e].replace(/[^\d\.\-]/g,"");b.fmt&&(g=b.fmt(g)),i=f(h,"c",{attr:{r:a,s:b.style},children:[f(h,"v",{text:g})]});break}}if(!i)if("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/))i=f(h,"c",{attr:{t:"n",r:a},children:[f(h,"v",{text:t[e]})]});else{var v=t[e].replace?t[e].replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):t[e];i=f(h,"c",{attr:{t:"inlineStr",r:a},children:{row:f(h,"is",{children:{row:f(h,"t",{text:v})}})}})}s.appendChild(i)}m.appendChild(s),u++};t("sheets sheet",v.xl["workbook.xml"]).attr("name",function(t){var e="Sheet1";return t.sheetName&&(e=t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),e}(o)),o.customizeData&&o.customizeData(x);var F=function(e,n){var r=t("mergeCells",h);r[0].appendChild(f(h,"mergeCell",{attr:{ref:"A"+e+":"+c(n)+e}})),r.attr("count",r.attr("count")+1),t("row:eq("+(e-1)+") c",h).attr("s","51")},S=n.buttons.exportInfo(o);S.title&&(I([S.title]),F(u,x.header.length-1)),S.messageTop&&(I([S.messageTop]),F(u,x.header.length-1)),o.header&&(I(x.header),t("row:last c",h).attr("s","2"));for(var w=0,C=x.body.length;w<C;w++)I(x.body[w]);o.footer&&x.footer&&(I(x.footer),t("row:last c",h).attr("s","2")),S.messageBottom&&(I([S.messageBottom]),F(u,x.header.length-1));var D=f(h,"cols");t("worksheet",h).prepend(D);for(var T=0,_=x.header.length;T<_;T++)D.appendChild(f(h,"col",{attr:{min:T+1,max:T+1,width:p(x,T),customWidth:1}}));o.customize&&o.customize(v,o,n),b(v),d.setAction("excel"),d.setFileName(S.filename),d.setSheetData(v),i(d,""),this.processing(!1)},extension:".xlsx",createEmptyCells:!1}),a.ext.buttons.pdfFlash=t.extend({},u,{className:"buttons-pdf buttons-flash",text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(t,e,n,r){this.processing(!0);var a=r._flash,o=e.buttons.exportData(r.exportOptions),l=e.buttons.exportInfo(r),s=e.table().node().offsetWidth,d=e.columns(r.columns).indexes().map((function(t){return e.column(t).header().offsetWidth/s}));a.setAction("pdf"),a.setFileName(l.filename),i(a,JSON.stringify({title:l.title||"",messageTop:l.messageTop||"",messageBottom:l.messageBottom||"",colWidth:d.toArray(),orientation:r.orientation,size:r.pageSize,header:r.header?o.header:null,footer:r.footer?o.footer:null,body:o.body})),this.processing(!1)},extension:".pdf",orientation:"portrait",pageSize:"A4",newline:"\n"}),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,r,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,r,a)}:t(jQuery,window,document)}((function(t,e,n,r,a,o){"use strict";var l=t.fn.dataTable;function i(){return r||e.JSZip}function s(){return a||e.pdfMake}l.Buttons.pdfMake=function(t){if(!t)return s();a=t},l.Buttons.jszip=function(t){if(!t)return i();r=t};var d=function(t){if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},r=e.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in r,l=/constructor/i.test(t.HTMLElement)||t.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},d=function(t){setTimeout((function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()}),4e4)},u=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},c=function(e,c,f){f||(e=u(e));var p,h=this,m="application/octet-stream"===e.type,b=function(){!function(t,e,n){for(var r=(e=[].concat(e)).length;r--;){var a=t["on"+e[r]];if("function"==typeof a)try{a.call(t,n||t)}catch(t){s(t)}}}(h,"writestart progress write writeend".split(" "))};if(h.readyState=h.INIT,a)return p=n().createObjectURL(e),void setTimeout((function(){var t,e;r.href=p,r.download=c,t=r,e=new MouseEvent("click"),t.dispatchEvent(e),b(),d(p),h.readyState=h.DONE}));!function(){if((i||m&&l)&&t.FileReader){var r=new FileReader;return r.onloadend=function(){var e=i?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=o,h.readyState=h.DONE,b()},r.readAsDataURL(e),void(h.readyState=h.INIT)}(p||(p=n().createObjectURL(e)),m)?t.location.href=p:t.open(p,"_blank")||(t.location.href=p);h.readyState=h.DONE,b(),d(p)}()},f=c.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=u(t)),navigator.msSaveOrOpenBlob(t,e)}:(f.abort=function(){},f.readyState=f.INIT=0,f.WRITING=1,f.DONE=2,f.error=f.onwritestart=f.onprogress=f.onwrite=f.onabort=f.onerror=f.onwriteend=null,function(t,e,n){return new c(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||void 0!==e&&e||this.content);l.fileSave=d;var u=function(t){var e="Sheet1";return t.sheetName&&(e=t.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),e},c=function(t){return t.newline?t.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},f=function(t,e){for(var n=c(e),r=t.buttons.exportData(e.exportOptions),a=e.fieldBoundary,l=e.fieldSeparator,i=new RegExp(a,"g"),s=e.escapeChar!==o?e.escapeChar:"\\",d=function(t){for(var e="",n=0,r=t.length;n<r;n++)n>0&&(e+=l),e+=a?a+(""+t[n]).replace(i,s+a)+a:t[n];return e},u=e.header?d(r.header)+n:"",f=e.footer&&r.footer?n+d(r.footer):"",p=[],h=0,m=r.body.length;h<m;h++)p.push(d(r.body[h]));return{str:u+p.join(n)+f,rows:p.length}},p=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&&t.length>1&&1*t[1]<603.1)};function h(t){for(var e="A".charCodeAt(0),n="Z".charCodeAt(0)-e+1,r="";t>=0;)r=String.fromCharCode(t%n+e)+r,t=Math.floor(t/n)-1;return r}try{var m,b=new XMLSerializer}catch(t){}function g(n,r){m===o&&(m=-1===b.serializeToString((new e.DOMParser).parseFromString(x["xl/worksheets/sheet1.xml"],"text/xml")).indexOf("xmlns:r")),t.each(r,(function(e,r){if(t.isPlainObject(r)){g(n.folder(e),r)}else{if(m){var a,o,l=r.childNodes[0],i=[];for(a=l.attributes.length-1;a>=0;a--){var s=l.attributes[a].nodeName,d=l.attributes[a].nodeValue;-1!==s.indexOf(":")&&(i.push({name:s,value:d}),l.removeAttribute(s))}for(a=0,o=i.length;a<o;a++){var u=r.createAttribute(i[a].name.replace(":","_dt_b_namespace_token_"));u.value=i[a].value,l.setAttributeNode(u)}}var c=b.serializeToString(r);m&&(-1===c.indexOf("<?xml")&&(c='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'+c),c=(c=c.replace(/_dt_b_namespace_token_/g,":")).replace(/xmlns:NS[\d]+="" NS[\d]+:/g,"")),c=c.replace(/<([^<>]*?) xmlns=""([^<>]*?)>/g,"<$1 $2>"),n.file(e,c)}}))}function y(e,n,r){var a=e.createElement(n);return r&&(r.attr&&t(a).attr(r.attr),r.children&&t.each(r.children,(function(t,e){a.appendChild(e)})),null!==r.text&&r.text!==o&&a.appendChild(e.createTextNode(r.text))),a}function v(t,e){var n,r,a,l=t.header[e].length;t.footer&&t.footer[e].length>l&&(l=t.footer[e].length);for(var i=0,s=t.body.length;i<s;i++){var d=t.body[i][e];if(-1!==(a=null!==d&&d!==o?d.toString():"").indexOf("\n")?((r=a.split("\n")).sort((function(t,e){return e.length-t.length})),n=r[0].length):n=a.length,n>l&&(l=n),l>40)return 54}return(l*=1.35)>6?l:6}var x={"_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=""£"#,##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>'},I=[{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 l.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(t){return t.i18n("buttons.copy","Copy")},action:function(e,r,a,o){this.processing(!0);var l=this,i=f(r,o),s=r.buttons.exportInfo(o),d=c(o),u=i.str,p=t("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});s.title&&(u=s.title+d+d+u),s.messageTop&&(u=s.messageTop+d+d+u),s.messageBottom&&(u=u+d+d+s.messageBottom),o.customize&&(u=o.customize(u,o,r));var h=t("<textarea readonly/>").val(u).appendTo(p);if(n.queryCommandSupported("copy")){p.appendTo(r.table().container()),h[0].focus(),h[0].select();try{var m=n.execCommand("copy");if(p.remove(),m)return r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),r.i18n("buttons.copySuccess",{1:"Copied one row to clipboard",_:"Copied %d rows to clipboard"},i.rows),2e3),void this.processing(!1)}catch(t){}}var b=t("<span>"+r.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(p);r.buttons.info(r.i18n("buttons.copyTitle","Copy to clipboard"),b,0),h[0].focus(),h[0].select();var g=t(b).closest(".dt-button-info"),y=function(){g.off("click.buttons-copy"),t(n).off(".buttons-copy"),r.buttons.info(!1)};g.on("click.buttons-copy",y),t(n).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(y(),l.processing(!1))})).on("copy.buttons-copy cut.buttons-copy",(function(){y(),l.processing(!1)}))},exportOptions:{},fieldSeparator:"\t",fieldBoundary:"",header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*"},l.ext.buttons.csvHtml5={bom:!1,className:"buttons-csv buttons-html5",available:function(){return e.FileReader!==o&&e.Blob},text:function(t){return t.i18n("buttons.csv","CSV")},action:function(t,e,r,a){this.processing(!0);var o=f(e,a).str,l=e.buttons.exportInfo(a),i=a.charset;a.customize&&(o=a.customize(o,a,e)),!1!==i?(i||(i=n.characterSet||n.charset),i&&(i=";charset="+i)):i="",a.bom&&(o=String.fromCharCode(65279)+o),d(new Blob([o],{type:"text/csv"+i}),l.filename,!0),this.processing(!1)},filename:"*",extension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},l.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return e.FileReader!==o&&i()!==o&&!p()&&b},text:function(t){return t.i18n("buttons.excel","Excel")},action:function(e,n,r,a){this.processing(!0);var l,s,c,f,p=this,m=0,b=function(e){var n=x[e];return t.parseXML(n)},F=b("xl/worksheets/sheet1.xml"),S=F.getElementsByTagName("sheetData")[0],w={_rels:{".rels":b("_rels/.rels")},xl:{_rels:{"workbook.xml.rels":b("xl/_rels/workbook.xml.rels")},"workbook.xml":b("xl/workbook.xml"),"styles.xml":b("xl/styles.xml"),worksheets:{"sheet1.xml":F}},"[Content_Types].xml":b("[Content_Types].xml")},C=n.buttons.exportData(a.exportOptions),D=function(t){f=y(F,"row",{attr:{r:c=m+1}});for(var e=0,n=t.length;e<n;e++){var r=h(e)+""+c,l=null;if(null===t[e]||t[e]===o||""===t[e]){if(!0!==a.createEmptyCells)continue;t[e]=""}var i=t[e];t[e]="function"==typeof t[e].trim?t[e].trim():t[e];for(var s=0,d=I.length;s<d;s++){var u=I[s];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(u.match)){var p=t[e].replace(/[^\d\.\-]/g,"");u.fmt&&(p=u.fmt(p)),l=y(F,"c",{attr:{r:r,s:u.style},children:[y(F,"v",{text:p})]});break}}if(!l)if("number"==typeof t[e]||t[e].match&&t[e].match(/^-?\d+(\.\d+)?$/)&&!t[e].match(/^0\d+/))l=y(F,"c",{attr:{t:"n",r:r},children:[y(F,"v",{text:t[e]})]});else{var b=i.replace?i.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):i;l=y(F,"c",{attr:{t:"inlineStr",r:r},children:{row:y(F,"is",{children:{row:y(F,"t",{text:b,attr:{"xml:space":"preserve"}})}})}})}f.appendChild(l)}S.appendChild(f),m++};a.customizeData&&a.customizeData(C);var T=function(e,n){var r=t("mergeCells",F);r[0].appendChild(y(F,"mergeCell",{attr:{ref:"A"+e+":"+h(n)+e}})),r.attr("count",parseFloat(r.attr("count"))+1),t("row:eq("+(e-1)+") c",F).attr("s","51")},_=n.buttons.exportInfo(a);_.title&&(D([_.title]),T(m,C.header.length-1)),_.messageTop&&(D([_.messageTop]),T(m,C.header.length-1)),a.header&&(D(C.header),t("row:last c",F).attr("s","2")),l=m;for(var A=0,B=C.body.length;A<B;A++)D(C.body[A]);s=m,a.footer&&C.footer&&(D(C.footer),t("row:last c",F).attr("s","2")),_.messageBottom&&(D([_.messageBottom]),T(m,C.header.length-1));var k=y(F,"cols");t("worksheet",F).prepend(k);for(var N=0,L=C.header.length;N<L;N++)k.appendChild(y(F,"col",{attr:{min:N+1,max:N+1,width:v(C,N),customWidth:1}}));var P=w.xl["workbook.xml"];t("sheets sheet",P).attr("name",u(a)),a.autoFilter&&(t("mergeCells",F).before(y(F,"autoFilter",{attr:{ref:"A"+l+":"+h(C.header.length-1)+s}})),t("definedNames",P).append(y(P,"definedName",{attr:{name:"_xlnm._FilterDatabase",localSheetId:"0",hidden:1},text:u(a)+"!$A$"+l+":"+h(C.header.length-1)+s}))),a.customize&&a.customize(w,a,n),0===t("mergeCells",F).children().length&&t("mergeCells",F).remove();var R=new(i()),j={type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"};g(R,w),R.generateAsync?R.generateAsync(j).then((function(t){d(t,_.filename),p.processing(!1)})):(d(R.generate(j),_.filename),this.processing(!1))},filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!1,title:"*",messageTop:"*",messageBottom:"*",createEmptyCells:!1,autoFilter:!1,sheetName:""},l.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return e.FileReader!==o&&s()},text:function(t){return t.i18n("buttons.pdf","PDF")},action:function(e,n,r,a){this.processing(!0);var l=n.buttons.exportData(a.exportOptions),i=n.buttons.exportInfo(a),d=[];a.header&&d.push(t.map(l.header,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableHeader"}})));for(var u=0,c=l.body.length;u<c;u++)d.push(t.map(l.body[u],(function(t){return null!==t&&t!==o||(t=""),{text:"string"==typeof t?t:t+"",style:u%2?"tableBodyEven":"tableBodyOdd"}})));a.footer&&l.footer&&d.push(t.map(l.footer,(function(t){return{text:"string"==typeof t?t:t+"",style:"tableFooter"}})));var f={pageSize:a.pageSize,pageOrientation:a.orientation,content:[{table:{headerRows:1,body:d},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}};i.messageTop&&f.content.unshift({text:i.messageTop,style:"message",margin:[0,0,0,12]}),i.messageBottom&&f.content.push({text:i.messageBottom,style:"message",margin:[0,0,0,12]}),i.title&&f.content.unshift({text:i.title,style:"title",margin:[0,0,0,12]}),a.customize&&a.customize(f,a,n);var h=s().createPdf(f);"open"!==a.download||p()?h.download(i.filename):h.open(),this.processing(!1)},title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"A4",header:!0,footer:!1,messageTop:"*",messageBottom:"*",customize:null,download:"download"},l.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,r){"use strict";var a=t.fn.dataTable,o=n.createElement("a"),l=function(t){o.href=t;var e=o.host;return-1===e.indexOf("/")&&0!==o.pathname.indexOf("/")&&(e+="/"),o.protocol+"//"+e+o.pathname+o.search};return a.ext.buttons.print={className:"buttons-print",text:function(t){return t.i18n("buttons.print","Print")},action:function(n,a,o,i){var s=a.buttons.exportData(t.extend({decodeEntities:!1},i.exportOptions)),d=a.buttons.exportInfo(i),u=a.columns(i.exportOptions.columns).flatten().map((function(t){return a.settings()[0].aoColumns[a.column(t).index()].sClass})).toArray(),c=function(t,e){for(var n="<tr>",a=0,o=t.length;a<o;a++){var l=null===t[a]||t[a]===r?"":t[a];n+="<"+e+" "+(u[a]?'class="'+u[a]+'"':"")+">"+l+"</"+e+">"}return n+"</tr>"},f='<table class="'+a.table().node().className+'">';i.header&&(f+="<thead>"+c(s.header,"th")+"</thead>"),f+="<tbody>";for(var p=0,h=s.body.length;p<h;p++)f+=c(s.body[p],"td");f+="</tbody>",i.footer&&s.footer&&(f+="<tfoot>"+c(s.footer,"th")+"</tfoot>"),f+="</table>";var m=e.open("","");if(m){m.document.close();var b="<title>"+d.title+"</title>";t("style, link").each((function(){var e;b+=("link"===(e=t(this).clone()[0]).nodeName.toLowerCase()&&(e.href=l(e.href)),e.outerHTML)}));try{m.document.head.innerHTML=b}catch(n){t(m.document.head).html(b)}m.document.body.innerHTML="<h1>"+d.title+"</h1><div>"+(d.messageTop||"")+"</div>"+f+"<div>"+(d.messageBottom||"")+"</div>",t(m.document.body).addClass("dt-print-view"),t("img",m.document.body).each((function(t,e){e.setAttribute("src",l(e.getAttribute("src")))})),i.customize&&i.customize(m,i,a);var g=function(){i.autoPrint&&(m.print(),m.close())};navigator.userAgent.match(/Trident\/\d.\d/)?g():m.setTimeout(g,1e3)}else a.buttons.info(a.i18n("buttons.printErrorTitle","Unable to open print view"),a.i18n("buttons.printErrorMsg","Please allow popups in your browser for this site to be able to view the print view."),5e3)},title:"*",messageTop:"*",messageBottom:"*",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null},a.Buttons}));
|