tethys/public/js/dataTable.js
Arno Kaimbacher 367dd328ef - npm updates
- install vue-loader
- small changes laravel-mix file for vue
2021-05-11 16:37:38 +02:00

2 lines
154 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)}:t(jQuery,window,document)}((function(t,e,n,r){"use strict";var a,o,l,i,s=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new o(t?le(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||zt(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 le(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 n=this,l=e===r,i=this.length;for(var d in l&&(e={}),this.oApi=this.internal=a.internal,s.ext.internal)d&&(this[d]=Re(d));return this.each((function(){var a,o=i>1?de({},e,!0):e,d=0,u=this.getAttribute("id"),c=!1,f=s.defaults,p=t(this);if("table"==this.nodeName.toLowerCase()){k(f),N(f.column),_(f,f,!0),_(f.column,f.column,!0),_(f,t.extend(o,p.data()),!0);var h=s.settings;for(d=0,a=h.length;d<a;d++){var m=h[d];if(m.nTable==this||m.nTHead&&m.nTHead.parentNode==this||m.nTFoot&&m.nTFoot.parentNode==this){var b=o.bRetrieve!==r?o.bRetrieve:f.bRetrieve,y=o.bDestroy!==r?o.bDestroy:f.bDestroy;if(l||b)return m.oInstance;if(y){m.oInstance.fnDestroy();break}return void ie(m,0,"Cannot reinitialise DataTable",3)}if(m.sTableId==this.id){h.splice(d,1);break}}null!==u&&""!==u||(u="DataTables_Table_"+s.ext._unique++,this.id=u);var g=t.extend(!0,{},s.models.oSettings,{sDestroyWidth:p[0].style.width,sInstance:u,sTableId:u});g.nTable=this,g.oApi=n.internal,g.oInit=o,h.push(g),g.oInstance=1===n.length?n:p.dataTable(),k(o),A(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=Array.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:o.aLengthMenu[0]),o=de(t.extend(!0,{},f),o),se(g.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),se(g,o,["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"]]),se(g.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),se(g.oLanguage,o,"fnInfoCallback"),ce(g,"aoDrawCallback",o.fnDrawCallback,"user"),ce(g,"aoServerParams",o.fnServerParams,"user"),ce(g,"aoStateSaveParams",o.fnStateSaveParams,"user"),ce(g,"aoStateLoadParams",o.fnStateLoadParams,"user"),ce(g,"aoStateLoaded",o.fnStateLoaded,"user"),ce(g,"aoRowCallback",o.fnRowCallback,"user"),ce(g,"aoRowCreatedCallback",o.fnCreatedRow,"user"),ce(g,"aoHeaderCallback",o.fnHeaderCallback,"user"),ce(g,"aoFooterCallback",o.fnFooterCallback,"user"),ce(g,"aoInitComplete",o.fnInitComplete,"user"),ce(g,"aoPreDrawCallback",o.fnPreDrawCallback,"user"),g.rowIdFn=Z(o.rowId),L(g);var v=g.oClasses;if(t.extend(v,s.ext.classes,o.oClasses),p.addClass(v.sTable),g.iInitDisplayStart===r&&(g.iInitDisplayStart=o.iDisplayStart,g._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){g.bDeferLoading=!0;var x=Array.isArray(o.iDeferLoading);g._iRecordsDisplay=x?o.iDeferLoading[0]:o.iDeferLoading,g._iRecordsTotal=x?o.iDeferLoading[1]:o.iDeferLoading}var I=g.oLanguage;t.extend(!0,I,o.oLanguage),I.sUrl?(t.ajax({dataType:"json",url:I.sUrl,success:function(e){A(e),_(f.oLanguage,e),t.extend(!0,I,e),fe(g,null,"i18n",[g]),Lt(g)},error:function(){Lt(g)}}),c=!0):fe(g,null,"i18n",[g]),null===o.asStripeClasses&&(g.asStripeClasses=[v.sStripeOdd,v.sStripeEven]);var F=g.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(" ")),g.asDestroyStripes=F.slice());var w,C=[],D=this.getElementsByTagName("thead");if(0!==D.length&&(ct(g.aoHeader,D[0]),C=ft(g)),null===o.aoColumns)for(w=[],d=0,a=C.length;d<a;d++)w.push(null);else w=o.aoColumns;for(d=0,a=w.length;d<a;d++)R(g,C?C[d]:null);if(U(g,o.aoColumnDefs,w,(function(t,e){j(g,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=g.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},j(g,t))}}))}var B=g.oFeatures,P=function(){if(o.aaSorting===r){var e=g.aaSorting;for(d=0,a=e.length;d<a;d++)e[d][1]=g.aoColumns[d].asSorting[0]}ne(g),B.bSort&&ce(g,"aoDrawCallback",(function(){if(g.bSorted){var e=Zt(g),n={};t.each(e,(function(t,e){n[e.src]=e.dir})),fe(g,null,"order",[g,e,n]),Qt(g)}})),ce(g,"aoDrawCallback",(function(){(g.bSorted||"ssp"===me(g)||B.bDeferRender)&&ne(g)}),"sc");var n=p.children("caption").each((function(){this._captionSide=t(this).css("caption-side")})),l=p.children("thead");0===l.length&&(l=t("<thead/>").appendTo(p)),g.nTHead=l[0];var i=p.children("tbody");0===i.length&&(i=t("<tbody/>").appendTo(p)),g.nTBody=i[0];var s=p.children("tfoot");if(0===s.length&&n.length>0&&(""!==g.oScroll.sX||""!==g.oScroll.sY)&&(s=t("<tfoot/>").appendTo(p)),0===s.length||0===s.children().length?p.addClass(v.sNoFooter):s.length>0&&(g.nTFoot=s[0],ct(g.aoFooter,g.nTFoot)),o.aaData)for(d=0;d<o.aaData.length;d++)$(g,o.aaData[d]);else(g.bDeferLoading||"dom"==me(g))&&X(g,t(g.nTBody).children("tr"));g.aiDisplay=g.aiDisplayMaster.slice(),g.bInitialised=!0,!1===c&&Lt(g)};o.bStateSave?(B.bStateSave=!0,ce(g,"aoDrawCallback",ae,"state_save"),oe(g,o,P)):P()}else ie(null,0,"Non-table node initialisation ("+this.nodeName+")",2)})),n=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},y=function(t,e){return d[e]||(d[e]=new RegExp(wt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(d[e],"."):t},g=function(t,e,n){var r="string"==typeof t;return!!m(t)||(e&&r&&(t=y(t,e)),n&&r&&(t=t.replace(h,"")),!isNaN(parseFloat(t))&&isFinite(t))},v=function(t,e,n){return!!m(t)||(function(t){return m(t)||"string"==typeof t}(t)&&!!g(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};function T(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]&&T(e[t]))})),e._hungarianMap=a}function _(e,n,a){var o;e._hungarianMap||T(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]),_(e[o],n[o],a)):n[o]=n[l])}))}function A(t){var e=s.defaults.oLanguage,n=e.sDecimal;if(n&&Le(n),t){var r=t.sZeroRecords;!t.sEmptyTable&&r&&"No data available in table"===e.sEmptyTable&&se(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&r&&"Loading..."===e.sLoadingRecords&&se(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands);var a=t.sDecimal;a&&n!==a&&Le(a)}}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),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")}};var B=function(t,e,n){t[e]!==r&&(t[n]=t[e])};function k(t){B(t,"ordering","bSort"),B(t,"orderMulti","bSortMulti"),B(t,"orderClasses","bSortClasses"),B(t,"orderCellsTop","bSortCellsTop"),B(t,"order","aaSorting"),B(t,"orderFixed","aaSortingFixed"),B(t,"paging","bPaginate"),B(t,"pagingType","sPaginationType"),B(t,"pageLength","iDisplayLength"),B(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]&&_(s.models.oSearch,e[n])}function N(t){B(t,"orderable","bSortable"),B(t,"orderData","aDataSort"),B(t,"orderSequence","asSorting"),B(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function L(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 P(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 R(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]),j(e,o,t(r).data())}function j(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])}a!==r&&null!==a&&(N(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),t.extend(o,a),se(o,a,"sWidth","sWidthOrig"),a.iDataSort!==r&&(o.aDataSort=[a.iDataSort]),se(o,a,"aDataSort"));var u=o.mData,c=Z(u),f=o.mRender?Z(o.mRender):null,p=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};o._bAttrSrc=t.isPlainObject(u)&&(p(u.sort)||p(u.type)||p(u.filter)),o._setter=null,o.fnGetData=function(t,e,n){var a=c(t,e,r,n);return f&&e?f(a,e,t,n):a},o.fnSetData=function(t,e,n){return Y(u)(t,e,n)},"number"!=typeof u&&(e._rowReadObject=!0),e.oFeatures.bSort||(o.bSortable=!1,i.addClass(l.sSortableNone));var h=-1!==t.inArray("asc",o.asSorting),m=-1!==t.inArray("desc",o.asSorting);o.bSortable&&(h||m)?h&&!m?(o.sSortingClass=l.sSortableAsc,o.sSortingClassJUI=l.sSortJUIAscAllowed):!h&&m?(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;Xt(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||zt(t),fe(t,null,"column-sizing",[t])}function O(t,e){var n=W(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function H(e,n){var r=W(e,"bVisible"),a=t.inArray(n,r);return-1!==a?a:null}function M(e){var n=0;return t.each(e.aoColumns,(function(e,r){r.bVisible&&"none"!==t(r.nTh).css("display")&&n++})),n}function W(e,n){var r=[];return t.map(e.aoColumns,(function(t,e){t[n]&&r.push(e)})),r}function z(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]=q(t,l,e,"type")),(u=h[a](c[l],t))||a===h.length-1)&&"html"!==u;l++);if(u){d.sType=u;break}}d.sType||(d.sType="string")}}function U(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]).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];)R(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 $(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||at(e,l,a,o),l}function X(e,n){var r;return n instanceof t||(n=t(n)),n.map((function(t,n){return r=rt(e,n),$(e,r.data,n,r.cells)}))}function q(t,e,n,a){var o=t.iDraw,l=t.aoColumns[n],i=t.aoData[e]._aData,s=l.sDefaultContent,d=l.fnGetData(i,a,{settings:t,row:e,col:n});if(d===r)return t.iDrawError!=o&&null===s&&(ie(t,0,"Requested unknown parameter "+("function"==typeof l.mData?"{function}":"'"+l.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=o),s;if(d!==i&&null!==d||null===s||a===r){if("function"==typeof d)return d.call(i)}else d=s;return null===d&&"display"==a?"":d}function V(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 J=/\[.*?\]$/,G=/\(\)$/;function K(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],(function(t){return t.replace(/\\\./g,".")}))}function Z(e){if(t.isPlainObject(e)){var n={};return t.each(e,(function(t,e){e&&(n[t]=Z(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=K(n),u=0,c=d.length;u<c;u++){if(o=d[u].match(J),l=d[u].match(G),o){if(d[u]=d[u].replace(J,""),""!==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)}}function Y(e){if(t.isPlainObject(e))return Y(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=K(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(J),i=u[f].match(G),l){if(u[f]=u[f].replace(J,""),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(J,"")]=e};return function(t,r){return n(t,r,e)}}function Q(t){return x(t.aoData,"_aData")}function tt(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function et(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 nt(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=q(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=rt(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;ot(t,i)}}function rt(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);Y(t)(a,e.getAttribute(r))}}},h=function(t){n!==r&&n!==u||(l=c[u],i=t.innerHTML.trim(),l&&l._bAttrSrc?(Y(l.mData._)(a,i),p(l.mData.sort,t),p(l.mData.type,t),p(l.mData.filter,t)):f?(l._setter||(l._setter=Y(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 y=e.firstChild?e:e.nTr;if(y){var g=y.getAttribute("id");g&&Y(t.rowId)(a,g)}return{data:a,cells:s}}function at(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,ot(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=q(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,q(e,r,d),p,r,d);fe(e,"aoRowCreatedCallback",null,[l,p,r,h])}}function ot(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 lt(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),ee(e,l.nTh,n))),l.sTitle!=a[0].innerHTML&&a.html(l.sTitle),he(e,"header")(e,a,l,u);if(d&&ct(e.aoHeader,i),t(i).children("tr").attr("role","row"),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 it(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 st(e){var n=fe(e,"aoPreDrawCallback","preDraw",[e]);if(-1===t.inArray(!1,n)){var a=[],o=0,l=e.asStripeClasses,i=l.length,s=(e.aoOpenRows.length,e.oLanguage),d=e.iInitDisplayStart,u="ssp"==me(e),c=e.aiDisplay;e.bDrawing=!0,d!==r&&-1!==d&&(e._iDisplayStart=u?d:d>=e.fnRecordsDisplay()?0:d,e.iInitDisplayStart=-1);var f=e._iDisplayStart,p=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,Mt(e,!1);else if(u){if(!e.bDestroying&&!ht(e))return}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 y=c[b],g=e.aoData[y];null===g.nTr&&at(e,y);var v=g.nTr;if(0!==i){var x=l[o%i];g._sRowStripe!=x&&(t(v).removeClass(g._sRowStripe).addClass(x),g._sRowStripe=x)}fe(e,"aoRowCallback",null,[v,g._aData,o,b,y]),a.push(v),o++}else{var I=s.sZeroRecords;1==e.iDraw&&"ajax"==me(e)?I=s.sLoadingRecords:s.sEmptyTable&&0===e.fnRecordsTotal()&&(I=s.sEmptyTable),a[0]=t("<tr/>",{class:i?l[0]:""}).append(t("<td />",{valign:"top",colSpan:M(e),class:e.oClasses.sRowEmpty}).html(I))[0]}fe(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],Q(e),f,p,c]),fe(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],Q(e),f,p,c]);var F=t(e.nTBody);F.children().detach(),F.append(t(a)),fe(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Mt(e,!1)}function dt(t,e){var n=t.oFeatures,r=n.bSort,a=n.bFilter;r&&Yt(t),a?vt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,st(t),t._drawHold=!1}function ut(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=jt(e);else if("f"==d&&o.bFilter)i=gt(e);else if("r"==d&&o.bProcessing)i=Ht(e);else if("t"==d)i=Wt(e);else if("i"==d&&o.bInfo)i=Bt(e);else if("p"==d&&o.bPaginate)i=Et(e);else if(0!==s.ext.feature.length)for(var y=s.ext.feature,g=0,v=y.length;g<v;g++)if(d==y[g].cFeature){i=y[g].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 ct(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 ft(t,e,n){var r=[];n||(n=t.aoHeader,e&&ct(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 pt(e,n,r){if(fe(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){fe(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:function(t){var n=t.error||t.sError;n&&ie(e,0,n),e.json=t,d(t)},dataType:"json",cache:!1,type:e.sServerMethod,error:function(n,r,a){var o=fe(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,o)&&("parsererror"==r?ie(e,0,"Invalid JSON response",1):4===n.readyState&&ie(e,0,"Ajax error",7)),Mt(e,!1)}};e.oAjaxData=n,fe(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 ht(t){return!t.bAjaxDataGet||(t.iDraw++,Mt(t,!0),pt(t,mt(t),(function(e){bt(t,e)})),!1)}function mt(e){var n,r,a,o,l=e.aoColumns,i=l.length,d=e.oFeatures,u=e.oPreviousSearch,c=e.aoPreSearchCols,f=[],p=Zt(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 y={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,y.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){y.order.push({column:e.col,dir:e.dir}),b("iSortCol_"+t,e.col),b("sSortDir_"+t,e.dir)})),b("iSortingCols",p.length));var g=s.ext.legacy.ajax;return null===g?e.sAjaxSource?f:y:g?f:y}function bt(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}tt(t),t._iRecordsTotal=parseInt(l,10),t._iRecordsDisplay=parseInt(i,10);for(var s=0,d=a.length;s<d;s++)$(t,a[s]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,st(t),t._bInitComplete||Pt(t,e),t.bAjaxDataGet=!0,Mt(t,!1)}function yt(e,n){var a=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==r?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===a?n.aaData||n[a]:""!==a?Z(a)(n):n}function gt(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(){i.f;var t=this.value?this.value:"";t!=l.sSearch&&(vt(e,{sSearch:t,bRegex:l.bRegex,bSmart:l.bSmart,bCaseInsensitive:l.bCaseInsensitive}),e._iDisplayStart=0,st(e))},f=null!==e.searchDelay?e.searchDelay:"ssp"===me(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?qt(c,f):c).on("mouseup",(function(t){setTimeout((function(){c.call(p[0])}),10)})).on("keypress.DT",(function(t){if(13==t.keyCode)return!1})).attr("aria-controls",a);return t(e.nTable).on("search.dt.DT",(function(t,r){if(e===r)try{p[0]!==n.activeElement&&p.val(l.sSearch)}catch(t){}})),u[0]}function vt(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},i=function(t){return t.bEscapeRegex!==r?!t.bEscapeRegex:t.bRegex};if(z(t),"ssp"!=me(t)){Ft(t,e.sSearch,n,i(e),e.bSmart,e.bCaseInsensitive),l(e);for(var s=0;s<o.length;s++)It(t,o[s].sSearch,s,i(o[s]),o[s].bSmart,o[s].bCaseInsensitive);xt(t)}else l(e);t.bFiltered=!0,fe(t,null,"search",[t])}function xt(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 It(t,e,n,r,a,o){if(""!==e){for(var l,i=[],s=t.aiDisplay,d=St(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 Ft(t,e,n,r,a,o){var l,i,d,u=St(e,r,a,o),c=t.oPreviousSearch.sSearch,f=t.aiDisplayMaster,p=[];if(0!==s.ext.search.length&&(n=!0),i=Tt(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 St(e,n,r,a){if(e=n?e:wt(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 wt=s.util.escapeRegex,Ct=t("<div>")[0],Dt=Ct.textContent!==r;function Tt(t){var e,n,r,a,o,l,i,d,u=t.aoColumns,c=s.ext.type.search,f=!1;for(n=0,a=t.aoData.length;n<a;n++)if(!(d=t.aoData[n])._aFilterData){for(l=[],r=0,o=u.length;r<o;r++)(e=u[r]).bSearchable?(i=q(t,n,r,"filter"),c[e.sType]&&(i=c[e.sType](i)),null===i&&(i=""),"string"!=typeof i&&i.toString&&(i=i.toString())):i="",i.indexOf&&-1!==i.indexOf("&")&&(Ct.innerHTML=i,i=Dt?Ct.textContent:Ct.innerText),i.replace&&(i=i.replace(/[\r\n\u2028]/g,"")),l.push(i);d._aFilterData=l,d._sFilterRow=l.join(" "),f=!0}return f}function _t(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function At(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Bt(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:kt,sName:"information"}),a.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",n+"_info")),a[0]}function kt(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=Nt(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 Nt(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 Lt(t){var e,n,r,a=t.iInitDisplayStart,o=t.aoColumns,l=t.oFeatures,i=t.bDeferLoading;if(t.bInitialised){for(ut(t),lt(t),it(t,t.aoHeader),it(t,t.aoFooter),Mt(t,!0),l.bAutoWidth&&Xt(t),e=0,n=o.length;e<n;e++)(r=o[e]).sWidth&&(r.nTh.style.width=Kt(r.sWidth));fe(t,null,"preInit",[t]),dt(t);var s=me(t);("ssp"!=s||i)&&("ajax"==s?pt(t,[],(function(n){var r=yt(t,n);for(e=0;e<r.length;e++)$(t,r[e]);t.iInitDisplayStart=a,dt(t),Mt(t,!1),Pt(t,n)})):(Mt(t,!1),Pt(t)))}else setTimeout((function(){Lt(t)}),200)}function Pt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&E(t),fe(t,null,"plugin-init",[t,e]),fe(t,"aoInitComplete","init",[t,e])}function Rt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,pe(t),fe(t,null,"length",[t,n])}function jt(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){Rt(e,t(this).val()),st(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){st(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++)he(t,"pageButton")(t,i.p[e],e,p,c,f)}else r.fnUpdate(t,o)},sName:"pagination"})),l}function Ot(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:ie(t,0,"Unknown paging action: "+e,5);var l=t._iDisplayStart!==r;return t._iDisplayStart=r,l&&(fe(t,null,"page",[t]),n&&st(t)),l}function Ht(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function Mt(e,n){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",n?"block":"none"),fe(e,null,"processing",[e,n])}function Wt(e){var n=t(e.nTable);n.attr("role","grid");var 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?Kt(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],y=m[1],g=c?m[2]:null;return a&&t(y).on("scroll.DT",(function(t){var e=this.scrollLeft;b.scrollLeft=e,c&&(g.scrollLeft=e)})),t(y).css("max-height",o),r.bCollapse||t(y).css("height",o),e.nScrollHead=b,e.nScrollBody=y,e.nScrollFoot=g,e.aoDrawCallback.push({fn:zt,sName:"scrolling"}),h[0]}function zt(e){var n,a,o,l,i,s,d,u,c,f=e.oScroll,p=f.sX,h=f.sXInner,m=f.sY,b=f.iBarWidth,y=t(e.nScrollHead),g=y[0].style,v=y.children("div"),I=v[0].style,F=v.children("table"),S=e.nScrollBody,w=t(S),C=S.style,D=t(e.nScrollFoot).children("div"),T=D.children("table"),_=t(e.nTHead),A=t(e.nTable),B=A[0],k=B.style,N=e.nTFoot?t(e.nTFoot):null,L=e.oBrowser,P=L.bScrollOversize,R=x(e.aoColumns,"nTh"),j=[],H=[],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=S.scrollHeight>S.clientHeight;if(e.scrollBarVis!==U&&e.scrollBarVis!==r)return e.scrollBarVis=U,void E(e);e.scrollBarVis=U,A.children("thead, tfoot").remove(),N&&(s=N.clone().prependTo(A),a=N.find("tr"),l=s.find("tr")),i=_.clone().prependTo(A),n=_.find("tr"),o=i.find("tr"),i.find("th, td").removeAttr("tabindex"),p||(C.width="100%",y[0].style.width="100%"),t.each(ft(e,i),(function(t,n){d=O(e,t),n.style.width=e.aoColumns[d].sWidth})),N&&Ut((function(t){t.style.width=""}),l),c=A.outerWidth(),""===p?(k.width="100%",P&&(A.find("tbody").height()>S.offsetHeight||"scroll"==w.css("overflow-y"))&&(k.width=Kt(A.outerWidth()-b)),c=A.outerWidth()):""!==h&&(k.width=Kt(h),c=A.outerWidth()),Ut(z,o),Ut((function(e){M.push(e.innerHTML),j.push(Kt(t(e).css("width")))}),o),Ut((function(e,n){-1!==t.inArray(e,R)&&(e.style.width=j[n])}),n),t(o).height(0),N&&(Ut(z,l),Ut((function(e){W.push(e.innerHTML),H.push(Kt(t(e).css("width")))}),l),Ut((function(t,e){t.style.width=H[e]}),a),t(l).height(0)),Ut((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]}),o),N&&Ut((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=H[e]}),l),A.outerWidth()<c?(u=S.scrollHeight>S.offsetHeight||"scroll"==w.css("overflow-y")?c+b:c,P&&(S.scrollHeight>S.offsetHeight||"scroll"==w.css("overflow-y"))&&(k.width=Kt(u-b)),""!==p&&""===h||ie(e,1,"Possible column misalignment",6)):u="100%",C.width=Kt(u),g.width=Kt(u),N&&(e.nScrollFoot.style.width=Kt(u)),m||P&&(C.height=Kt(B.offsetHeight+b));var $=A.outerWidth();F[0].style.width=Kt($),I.width=Kt($);var X=A.height()>S.clientHeight||"scroll"==w.css("overflow-y"),q="padding"+(L.bScrollbarLeft?"Left":"Right");I[q]=X?b+"px":"0px",N&&(T[0].style.width=Kt($),D[0].style.width=Kt($),D[0].style[q]=X?b+"px":"0px"),A.children("colgroup").insertBefore(A.children("thead")),w.trigger("scroll"),!e.bSorted&&!e.bFiltered||e._drawHold||(S.scrollTop=0)}function Ut(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 $t=/<.*?>/g;function Xt(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=W(n,"bVisible"),h=t("th",n.nTHead),m=l.getAttribute("width"),b=l.parentNode,y=!1,g=n.oBrowser,v=g.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=Vt(a.sWidthOrig,b),y=!0);if(v||!y&&!u&&!d&&f==M(n)&&f==h.length)for(r=0;r<f;r++){var I=O(n,r);null!==I&&(i[I].sWidth=Kt(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=ft(n,F.find("thead")[0]),r=0;r<p.length;r++)a=i[p[r]],h[r].style.width=null!==a.sWidthOrig&&""!==a.sWidthOrig?Kt(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(Jt(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(),_=g.bBounding?Math.ceil(h[r].getBoundingClientRect().width):D.outerWidth();C+=_,i[p[r]].sWidth=Kt(_-T)}l.style.width=Kt(C),w.remove()}if(m&&(l.style.width=Kt(m)),(m||u)&&!n._reszEvt){var A=function(){t(e).on("resize.DT-"+n.sInstance,qt((function(){E(n)})))};v?setTimeout(A,1e3):A(),n._reszEvt=!0}}var qt=s.util.throttle;function Vt(e,r){if(!e)return 0;var a=t("<div/>").css("width",Kt(e)).appendTo(r||n.body),o=a[0].offsetWidth;return a.remove(),o}function Jt(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(q(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=q(t,o,e,"display")+"").replace($t,"")).replace(/&nbsp;/g," ")).length>r&&(r=n.length,a=o);return a}function Kt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Zt(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 Yt(t){var e,n,r,a,o,l=[],i=s.ext.type.order,d=t.aoData,u=(t.aoColumns,0),c=t.aiDisplayMaster;for(z(t),e=0,n=(o=Zt(t)).length;e<n;e++)(a=o[e]).formatter&&u++,re(t,a.col);if("ssp"!=me(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 Qt(t){for(var e,n,r=t.aoColumns,a=Zt(t),o=t.oLanguage.oAria,l=0,i=r.length;l<i;l++){var s=r[l],d=s.asSorting,u=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 te(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);dt(e),"function"==typeof o&&o(e)}function ee(t,e,n,r){var a=t.aoColumns[n];ue(e,{},(function(e){!1!==a.bSortable&&(t.oFeatures.bProcessing?(Mt(t,!0),setTimeout((function(){te(t,n,e.shiftKey,r),"ssp"!==me(t)&&Mt(t,!1)}),0)):te(t,n,e.shiftKey,r))}))}function ne(e){var n,r,a,o=e.aLastSort,l=e.oClasses.sSortColumn,i=Zt(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 re(t,e){var n,r,a,o=t.aoColumns[e],l=s.ext.order[o.sSortDataType];l&&(n=l.call(t.oInstance,t,e,H(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]:q(t,d,e,"sort"),r._aSortData[e]=i?i(a):a)}function ae(e){if(e.oFeatures.bStateSave&&!e.bDestroying){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:_t(e.oPreviousSearch),columns:t.map(e.aoColumns,(function(t,n){return{visible:t.bVisible,search:_t(e.aoPreSearchCols[n])}}))};fe(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oSavedState=n,e.fnStateSaveCallback.call(e.oInstance,e,n)}}function oe(e,n,a){var o,l,i=e.aoColumns,s=function(n){if(n&&n.time){var s=fe(e,"aoStateLoadParams","stateLoadParams",[e,n]);if(-1===t.inArray(!1,s)){var d=e.iStateDuration;if(d>0&&n.time<+new Date-1e3*d)a();else if(n.columns&&i.length!==n.columns.length)a();else{if(e.oLoadedState=t.extend(!0,{},n),n.start!==r&&(e._iDisplayStart=n.start,e.iInitDisplayStart=n.start),n.length!==r&&(e._iDisplayLength=n.length),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,At(n.search)),n.columns)for(o=0,l=n.columns.length;o<l;o++){var u=n.columns[o];u.visible!==r&&(i[o].bVisible=u.visible),u.search!==r&&t.extend(e.aoPreSearchCols[o],At(u.search))}fe(e,"aoStateLoaded","stateLoaded",[e,n]),a()}}else a()}else a()};if(e.oFeatures.bStateSave){var d=e.fnStateLoadCallback.call(e.oInstance,e,s);d!==r&&s(d)}else a()}function le(e){var n=s.settings,r=t.inArray(e,x(n,"nTable"));return-1!==r?n[r]:null}function ie(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&&fe(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 se(e,n,a,o){Array.isArray(a)?t.each(a,(function(t,r){Array.isArray(r)?se(e,n,r[0],r[1]):se(e,n,r)})):(o===r&&(o=a),n[a]!==r&&(e[o]=n[a]))}function de(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 ue(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 ce(t,e,n,r){n&&t[e].push({fn:n,sName:r})}function fe(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 pe(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 he(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 me(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var be=[],ye=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,be)},s.Api=o,t.extend(o.prototype,{any:function(){return 0!==this.count()},concat:ye.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(ye.filter)e=ye.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:ye.join,indexOf:ye.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 y=new o(m[i]);if("table"===e)(l=n.call(y,m[i],i))!==r&&h.push(l);else if("columns"===e||"rows"===e)(l=n.call(y,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=Se(m[i],b.opts)),d=0,u=f.length;d<u;d++)p=f[d],(l="cell"===e?n.call(y,m[i],p.row,p.column,i,d):n.call(y,m[i],p,i,d,c))!==r&&h.push(l)}if(h.length||a){var g=new o(m,t?h.concat.apply([],h):h),v=g.selector;return v.rows=b.rows,v.cols=b.cols,v.opts=b.opts,g}return this},lastIndexOf:ye.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(ye.map)e=ye.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){return this.map((function(e){return e[t]}))},pop:ye.pop,push:ye.push,reduce:ye.reduce||function(t,e){return P(this,t,e,0,this.length,1)},reduceRight:ye.reduceRight||function(t,e){return P(this,t,e,this.length-1,-1,-1)},reverse:ye.reverse,selector:null,shift:ye.shift,slice:function(){return new o(this.context,this)},sort:ye.sort,splice:ye.splice,toArray:function(){return ye.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new o(this.context,C(this))},unshift:ye.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=be,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 ge=function(e,n){if(Array.isArray(e))return t.map(e,(function(t){return ge(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(ge(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?st(e):("string"==typeof t&&(t="full-hold"!==t),dt(e,!1===t))}))})),l("page()",(function(t){return t===r?this.page.info().page:this.iterator("table",(function(e){Ot(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"===me(e)}})),l("page.len()",(function(t){return t===r?0!==this.context.length?this.context[0]._iDisplayLength:r:this.iterator("table",(function(e){Rt(e,t)}))}));var ve=function(t,e,n){if(n){var r=new o(t);r.one("draw",(function(){n(r.ajax.json())}))}if("ssp"==me(t))dt(t,e);else{Mt(t,!0);var a=t.jqXHR;a&&4!==a.readyState&&a.abort(),pt(t,[],(function(n){tt(t);for(var r=yt(t,n),a=0,o=r.length;a<o;a++)$(t,r[a]);dt(t,e),Mt(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){ve(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){ve(n,!1===e,t)}))}));var xe=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)},Ie=function(e){return e||(e={}),e.filter&&e.search===r&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},Fe=function(t){for(var e=0,n=t.length;e<n;e++)if(t[e].length>0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},Se=function(e,n){var r,a=[],o=e.aiDisplay,l=e.aiDisplayMaster,i=n.search,s=n.order,d=n.page;if("ssp"==me(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=Ie(n);var a=this.iterator("table",(function(a){return function(e,n,a){var o;return xe("row",n,(function(n){var l=b(n),i=e.aoData;if(null!==l&&!a)return[l];if(o||(o=Se(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){nt(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;et(e.aiDisplayMaster,n),et(e.aiDisplay,n),et(t[a],n,!1),e._iRecordsDisplay>0&&e._iRecordsDisplay--,pe(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(X(t,n)[0]):o.push($(t,n));return o}),1),r=this.rows(-1);return r.pop(),t.merge(r,n),r})),l("row()",(function(t,e){return Fe(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&&Y(e[0].rowId)(t,n.nTr.id),nt(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()?X(t,e)[0]:$(t,e)}));return this.row(n[0])}));var we=function(t,e){var n=t.context;if(n.length){var a=n[0].aoData[e!==r?e:t[0]];a&&a._details&&(a._details.remove(),a._detailsShow=r,a._details=r)}},Ce=function(t,e){var n=t.context;if(n.length&&t.length){var r=n[0].aoData[t[0]];r._details&&(r._detailsShow=e,e?r._details.insertAfter(r.nTr):r._details.detach(),De(n[0]))}},De=function(t){var e=new o(t),n=".dt.DT_details",r="draw"+n,a="column-visibility"+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=M(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&&we(e,a)})))},Te="row().child()";l(Te,(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?we(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=M(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()",Te+".show()"],(function(t){return Ce(this,!0),this})),l(["row().child.hide()",Te+".hide()"],(function(){return Ce(this,!1),this})),l(["row().child.remove()",Te+".remove()"],(function(){return we(this),this})),l("row().child.isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var _e=/^([^:]+):(name|visIdx|visible)$/,Ae=function(t,e,n,r,a){for(var o=[],l=0,i=a.length;l<i;l++)o.push(q(t,a[l],e));return o};l("columns()",(function(e,n){e===r?e="":t.isPlainObject(e)&&(n=e,e=""),n=Ie(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 xe("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=Se(e,r);return t.map(a,(function(t,r){return n(r,Ae(e,r,0,0,s),l[r])?r:null}))}var d="string"==typeof n?n.match(_e):"";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[O(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",Ae,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){it(o,o.aoHeader),it(o,o.aoFooter),o.aiDisplay.length||t(o.nTBody).find("td[colspan]").attr("colspan",M(o)),ae(o),a.iterator("column",(function(t,r){fe(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?H(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 O(n,e);if("fromData"===t||"toVisible"===t)return H(n,e)}})),l("column()",(function(t,e){return Fe(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=Se(e,a),h=S(I(f,p,"anCells")),m=t(D([],h)),b=e.aoColumns.length;return xe("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,q(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,Ie(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 q(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 q(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:H(t,n)}}),1)})),i("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,r){nt(e,n,t,r)}))})),l("cell()",(function(t,e,n){return Fe(this.cells(t,e,n))})),l("cell().data()",(function(t){var e=this.context,n=this[0];return t===r?e.length&&n.length?q(e[0],n[0].row,n[0].column):r:(V(e[0],n[0].row,n[0].column,t),nt(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){ee(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&&vt(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}),vt(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){ae(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=_,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){tt(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.nTableWrapper.parentNode,i=r.oClasses,d=r.nTable,u=r.nTBody,c=r.nTHead,f=r.nTFoot,p=t(d),h=t(u),m=t(r.nTableWrapper),b=t.map(r.aoData,(function(t){return t.nTr}));r.bDestroying=!0,fe(r,"aoDestroyCallback","destroy",[r]),n||new o(r).columns().visible(!0),m.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+r.sInstance),d!=c.parentNode&&(p.children("thead").detach(),p.append(c)),f&&d!=f.parentNode&&(p.children("tfoot").detach(),p.append(f)),r.aaSorting=[],r.aaSortingFixed=[],ne(r),t(b).removeClass(r.asStripeClasses.join(" ")),t("th, td",c).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),h.children().detach(),h.append(b);var y=n?"remove":"detach";p[y](),m[y](),!n&&l&&(l.insertBefore(d,r.nTableReinsertBefore),p.css("width",r.sDestroyWidth).removeClass(i.sTable),(a=r.asDestroyStripes.length)&&h.children().each((function(e){t(this).addClass(r.asDestroyStripes[e%a])})));var g=t.inArray(r,s.settings);-1!==g&&s.settings.splice(g,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=Z(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.10.24",s.settings=[],s.models={},s.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},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:"Processing...",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"},T(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},T(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,bAjaxDataGet:!0,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"==me(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==me(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 Be=s.ext.pager;function ke(t,e){var n=[],r=Be.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(Be,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[ke(t,e)]},simple_numbers:function(t,e){return["previous",ke(t,e),"next"]},full_numbers:function(t,e){return["first","previous",ke(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",ke(t,e),"last"]},_numbers:ke,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,y,g=f.sPageButtonDisabled,v=function(t){Ot(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,y=e.iTabIndex,c){case"ellipsis":n.append('<span class="ellipsis">&#x2026;</span>');break;case"first":d=p.sFirst,0===i&&(y=-1,u+=" "+g);break;case"previous":d=p.sPrevious,0===i&&(y=-1,u+=" "+g);break;case"next":d=p.sNext,0!==s&&i!==s-1||(y=-1,u+=" "+g);break;case"last":d=p.sLast,0!==s&&i!==s-1||(y=-1,u+=" "+g);break;default:d=e.fnFormatNumber(c+1),u=i===c?f.sPageButtonActive:""}null!==d&&(ue(t("<a>",{class:f.sPageButton+" "+u,"aria-controls":e.sTableId,"aria-label":h[c],"data-dt-idx":m,tabindex:y,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 g(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 g(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 Ne=function(t,e,n,r){return 0===t||t&&"-"!==t?(e&&(t=y(t,e)),t.replace&&(n&&(t=t.replace(n,"")),r&&(t=t.replace(r,""))),1*t):-1/0};function Le(e){t.each({num:function(t){return Ne(t,e)},"num-fmt":function(t){return Ne(t,e,h)},"html-num":function(t){return Ne(t,e,c)},"html-num-fmt":function(t){return Ne(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}}),Le(""),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 Pe=function(t){return"string"==typeof t?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t};function Re(t){return function(){var e=[le(this[s.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return s.ext.internal[t].apply(this,e)}}return s.render={number:function(t,e,n,r,a){return{display:function(o){if("number"!=typeof o&&"string"!=typeof o)return o;var l=o<0?"-":"",i=parseFloat(o);if(isNaN(i))return Pe(o);i=i.toFixed(n),o=Math.abs(i);var s=parseInt(o,10),d=n?e+(o-s).toFixed(n).substring(2):"";return l+(r||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+d+(a||"")}}},text:function(){return{display:Pe,filter:Pe}}},t.extend(s.ext.internal,{_fnExternApiFunc:Re,_fnBuildAjax:pt,_fnAjaxUpdate:ht,_fnAjaxParameters:mt,_fnAjaxUpdateDraw:bt,_fnAjaxDataSrc:yt,_fnAddColumn:R,_fnColumnOptions:j,_fnAdjustColumnSizing:E,_fnVisibleToColumnIndex:O,_fnColumnIndexToVisible:H,_fnVisbleColumns:M,_fnGetColumns:W,_fnColumnTypes:z,_fnApplyColumnDefs:U,_fnHungarianMap:T,_fnCamelToHungarian:_,_fnLanguageCompat:A,_fnBrowserDetect:L,_fnAddData:$,_fnAddTr:X,_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:q,_fnSetCellData:V,_fnSplitObjNotation:K,_fnGetObjectDataFn:Z,_fnSetObjectDataFn:Y,_fnGetDataMaster:Q,_fnClearTable:tt,_fnDeleteIndex:et,_fnInvalidate:nt,_fnGetRowElements:rt,_fnCreateTr:at,_fnBuildHead:lt,_fnDrawHead:it,_fnDraw:st,_fnReDraw:dt,_fnAddOptionsHtml:ut,_fnDetectHeader:ct,_fnGetUniqueThs:ft,_fnFeatureHtmlFilter:gt,_fnFilterComplete:vt,_fnFilterCustom:xt,_fnFilterColumn:It,_fnFilter:Ft,_fnFilterCreateSearch:St,_fnEscapeRegex:wt,_fnFilterData:Tt,_fnFeatureHtmlInfo:Bt,_fnUpdateInfo:kt,_fnInfoMacros:Nt,_fnInitialise:Lt,_fnInitComplete:Pt,_fnLengthChange:Rt,_fnFeatureHtmlLength:jt,_fnFeatureHtmlPaginate:Et,_fnPageChange:Ot,_fnFeatureHtmlProcessing:Ht,_fnProcessingDisplay:Mt,_fnFeatureHtmlTable:Wt,_fnScrollDraw:zt,_fnApplyToChildren:Ut,_fnCalculateColumnWidths:Xt,_fnThrottle:qt,_fnConvertToWidth:Vt,_fnGetWidestNode:Jt,_fnGetMaxLenString:Gt,_fnStringToCss:Kt,_fnSortFlatten:Zt,_fnSort:Yt,_fnSortAria:Qt,_fnSortListener:te,_fnSortAttachListener:ee,_fnSortingClasses:ne,_fnSortData:re,_fnSaveState:ae,_fnLoadState:oe,_fnSettingsFromNode:le,_fnLog:ie,_fnMap:se,_fnBindAction:ue,_fnCallbackReg:ce,_fnCallbackFire:fe,_fnLengthOverflow:pe,_fnRenderer:he,_fnDataSource:me,_fnRowAttributes:ot,_fnExtend:de,_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})),t.fn.dataTable})),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,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()),y=m.css("position");if("dt-container"===u.align&&(f=f.parent(),m.css("width",b.width())),"absolute"===y&&(m.hasClass(u.rightAlignClassName)||m.hasClass(u.leftAlignClassName)||"dt-container"===u.align)){var g=f.position();m.css({top:g.top+f.outerHeight(),left:g.left});var v=m.outerHeight(),x=b.offset().top+b.height(),I=g.top+f.outerHeight()+v-x,F=g.top-v,S=(P=b.offset().top)-F,w=g.top-v-5;(I>S||u.dropup)&&-w<P&&m.css("top",w);var C,D,T=b.offset().left,_=T+b.width(),A=(L=m.offset().left)+m.width(),B=(N=f.offset().left)+f.outerWidth(),k=0;if(m.hasClass(u.rightAlignClassName)){if(T>L+(k=B-A))k+=(C=T-(L+k))>(D=_-(A+k))?D:C}else if(_<A+(k=T-L))k+=(C=T-(L+k))>(D=_-(A+k))?D:C;m.css("left",m.position().left+k)}else if("absolute"===y){g=f.position();m.css({top:g.top+f.outerHeight(),left:g.left});v=m.outerHeight();var N,L,P,R=f.offset().top;k=0,B=(N=f.offset().left)+f.outerWidth(),A=(L=m.offset().left)+r.width(),w=g.top-v-5,x=b.offset().top+b.height(),I=g.top+f.outerHeight()+v-x,F=g.top-v;(I>(S=(P=b.offset().top)-F)||u.dropup)&&-w<P&&m.css("top",w),k="button-right"===u.align?B-A:N-L,m.css("left",m.position().left+k)}else{(R=m.height()/2)>t(e).height()/2&&(R=t(e).height()/2),m.css("marginTop",-1*R)}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.stripHtml&&(t=t.replace(/<[^>]*>/g,"")),e.trim&&(t=t.replace(/^\s+|\s+$/g,"")),e.stripNewlines&&(t=t.replace(/\n/g," ")),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.0",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 y(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],y=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,y=p>0?u.length/p:0;b<y;b++){for(var g=[p],v=0;v<p;v++)g[v]=a.format.body(u[m],b,v,f[m]),m++;h[b]=g}var x={header:o,footer:l,body:h};return a.customizeData&&a.customizeData(x),x};function g(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:g,cFeature:"B"}),a.ext.features&&a.ext.features.register("buttons",g),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,"&amp;"))},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(y["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 y={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="xml" ContentType="application/xml" /><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="jpeg" ContentType="image/jpeg" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/><workbookPr showInkAnnotation="0" autoCompressPictures="0"/><bookViews><workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/></bookViews><sheets><sheet name="" sheetId="1" r:id="rId1"/></sheets></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><sheetData/><mergeCells count="0"/></worksheet>',"xl/styles.xml":'<?xml version="1.0" encoding="UTF-8"?><styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"><numFmts count="6"><numFmt numFmtId="164" formatCode="#,##0.00_- [$$-45C]"/><numFmt numFmtId="165" formatCode="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="61"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},g=[{match:/^\-?\d+\.\d%$/,style:60,fmt:function(t){return t/100}},{match:/^\-?\d+\.?\d*%$/,style:56,fmt:function(t){return t/100}},{match:/^\-?\$[\d,]+.?\d*$/,style:57},{match:/^\-?£[\d,]+.?\d*$/,style:58},{match:/^\-?€[\d,]+.?\d*$/,style:59},{match:/^\([\d,]+\)$/,style:61,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^\([\d,]+\.\d{2}\)$/,style:62,fmt:function(t){return-1*t.replace(/[\(\)]/g,"")}},{match:/^[\d,]+$/,style:63},{match:/^[\d,]+\.\d{2}$/,style:64}];return 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(y["xl/worksheets/sheet1.xml"]),m=h.getElementsByTagName("sheetData")[0],v={_rels:{".rels":t.parseXML(y["_rels/.rels"])},xl:{_rels:{"workbook.xml.rels":t.parseXML(y["xl/_rels/workbook.xml.rels"])},"workbook.xml":t.parseXML(y["xl/workbook.xml"]),"styles.xml":t.parseXML(y["xl/styles.xml"]),worksheets:{"sheet1.xml":h}},"[Content_Types].xml":t.parseXML(y["[Content_Types].xml"])},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=g.length;d<p;d++){var b=g[d];if(t[e].match&&!t[e].match(/^0\d+/)&&t[e].match(b.match)){var y=t[e].replace(/[^\d\.\-]/g,"");b.fmt&&(y=b.fmt(y)),i=f(h,"c",{attr:{r:a,s:b.style},children:[f(h,"v",{text:y})]});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 y(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)){y(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 g(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="&quot;£&quot;#,##0.00"/><numFmt numFmtId="166" formatCode="[$€-2] #,##0.00"/><numFmt numFmtId="167" formatCode="0.0%"/><numFmt numFmtId="168" formatCode="#,##0;(#,##0)"/><numFmt numFmtId="169" formatCode="#,##0.00;(#,##0.00)"/></numFmts><fonts count="5" x14ac:knownFonts="1"><font><sz val="11" /><name val="Calibri" /></font><font><sz val="11" /><name val="Calibri" /><color rgb="FFFFFFFF" /></font><font><sz val="11" /><name val="Calibri" /><b /></font><font><sz val="11" /><name val="Calibri" /><i /></font><font><sz val="11" /><name val="Calibri" /><u /></font></fonts><fills count="6"><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="none" /></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD9D9D9" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="FFD99795" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6efce" /><bgColor indexed="64" /></patternFill></fill><fill><patternFill patternType="solid"><fgColor rgb="ffc6cfef" /><bgColor indexed="64" /></patternFill></fill></fills><borders count="2"><border><left /><right /><top /><bottom /><diagonal /></border><border diagonalUp="false" diagonalDown="false"><left style="thin"><color auto="1" /></left><right style="thin"><color auto="1" /></right><top style="thin"><color auto="1" /></top><bottom style="thin"><color auto="1" /></bottom><diagonal /></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" /></cellStyleXfs><cellXfs count="68"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="0" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="0" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="2" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="3" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="4" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="1" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="2" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="3" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="4" fillId="5" borderId="1" applyFont="1" applyFill="1" applyBorder="1"/><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="center"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="right"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment horizontal="fill"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment textRotation="90"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyAlignment="1"><alignment wrapText="1"/></xf><xf numFmtId="9" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="164" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="165" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="166" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="167" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="168" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="169" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="3" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="4" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="1" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="2" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/><xf numFmtId="14" fontId="0" fillId="0" borderId="0" applyFont="1" applyFill="1" applyBorder="1" xfId="0" applyNumberFormat="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0" /></cellStyles><dxfs count="0" /><tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4" /></styleSheet>'},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 y=t(b).closest(".dt-button-info"),g=function(){y.off("click.buttons-copy"),t(n).off(".buttons-copy"),r.buttons.info(!1)};y.on("click.buttons-copy",g),t(n).on("keydown.buttons-copy",(function(t){27===t.keyCode&&(g(),l.processing(!1))})).on("copy.buttons-copy cut.buttons-copy",(function(){g(),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="\ufeff"+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=g(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=g(F,"c",{attr:{r,s:u.style},children:[g(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=g(F,"c",{attr:{t:"n",r},children:[g(F,"v",{text:t[e]})]});else{var b=i.replace?i.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):i;l=g(F,"c",{attr:{t:"inlineStr",r},children:{row:g(F,"is",{children:{row:g(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(g(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=g(F,"cols");t("worksheet",F).prepend(k);for(var N=0,L=C.header.length;N<L;N++)k.appendChild(g(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(g(F,"autoFilter",{attr:{ref:"A"+l+":"+h(C.header.length-1)+s}})),t("definedNames",P).append(g(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"};y(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("","");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 y=function(){i.autoPrint&&(m.print(),m.close())};navigator.userAgent.match(/Trident\/\d.\d/)?y():m.setTimeout(y,1e3)},title:"*",messageTop:"*",messageBottom:"*",exportOptions:{},header:!0,footer:!1,autoPrint:!0,customize:null},a.Buttons}));