/*! DataTables 2.1.8
 * © SpryMedia Ltd - datatables.net/license
 */
/**
 * @summary     DataTables
 * @description Paginate, search and order HTML tables
 * @version     2.1.8
 * @author      SpryMedia Ltd
 * @contact     www.datatables.net
 * @copyright   SpryMedia Ltd.
 *
 * This source file is free software, available under the following license:
 *   MIT license - https://datatables.net/license
 *
 * This source file is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
 *
 * For details please refer to: https://www.datatables.net
 */
!function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery");"undefined"==typeof window?module.exports=function(n,o){return n||(n=window),o||(o=e(n)),t(o,n,n.document)}:module.exports=t(e,window,window.document)}else window.DataTable=t(jQuery,window,document)}((function(t,e,n){"use strict";var o,r,i,a,s=function(n,o){if(s.factory(n,o))return s;if(this instanceof s)return t(n).DataTable(o);var i=this,a=void 0===(o=n),l=this.length;return a&&(o={}),this.api=function(){return new r(this)},this.each((function(){var n,c=l>1?Kt({},o,!0):o,d=0,u=this.getAttribute("id"),f=s.defaults,h=t(this);if("table"==this.nodeName.toLowerCase()){t(this).trigger("options.dt",c),F(f),j(f.column),L(f,f,!0),L(f.column,f.column,!0),L(f,t.extend(c,h.data()),!0);var p=s.settings;for(d=0,n=p.length;d<n;d++){var m=p[d];if(m.nTable==this||m.nTHead&&m.nTHead.parentNode==this||m.nTFoot&&m.nTFoot.parentNode==this){var g=void 0!==c.bRetrieve?c.bRetrieve:f.bRetrieve,v=void 0!==c.bDestroy?c.bDestroy:f.bDestroy;if(a||g)return m.oInstance;if(v){new s.Api(m).destroy();break}return void Zt(m,0,"Cannot reinitialise DataTable",3)}if(m.sTableId==this.id){p.splice(d,1);break}}null!==u&&""!==u||(u="DataTables_Table_"+s.ext._unique++,this.id=u);var b=t.extend(!0,{},s.models.oSettings,{sDestroyWidth:h[0].style.width,sInstance:u,sTableId:u,colgroup:t("<colgroup>").prependTo(this),fastData:function(t,e,n){return Z(b,t,e,n)}});b.nTable=this,b.oInit=c,p.push(b),b.api=new r(b),b.oInstance=1===i.length?i:h.dataTable(),F(c),c.aLengthMenu&&!c.iDisplayLength&&(c.iDisplayLength=Array.isArray(c.aLengthMenu[0])?c.aLengthMenu[0][0]:t.isPlainObject(c.aLengthMenu[0])?c.aLengthMenu[0].value:c.aLengthMenu[0]),c=Kt(t.extend(!0,{},f),c),Jt(b.oFeatures,c,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),Jt(b,c,["ajax","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","iStateDuration","bSortCellsTop","iTabIndex","sDom","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId","caption","layout","orderDescReverse","typeDetect",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Jt(b.oScroll,c,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Jt(b.oLanguage,c,"fnInfoCallback"),te(b,"aoDrawCallback",c.fnDrawCallback),te(b,"aoStateSaveParams",c.fnStateSaveParams),te(b,"aoStateLoadParams",c.fnStateLoadParams),te(b,"aoStateLoaded",c.fnStateLoaded),te(b,"aoRowCallback",c.fnRowCallback),te(b,"aoRowCreatedCallback",c.fnCreatedRow),te(b,"aoHeaderCallback",c.fnHeaderCallback),te(b,"aoFooterCallback",c.fnFooterCallback),te(b,"aoInitComplete",c.fnInitComplete),te(b,"aoPreDrawCallback",c.fnPreDrawCallback),b.rowIdFn=et(c.rowId),function(n){if(!s.__browser){var o={};s.__browser=o;var r=t("<div/>").css({position:"fixed",top:0,left:-1*e.pageXOffset,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"),i=r.children(),a=i.children();o.barWidth=i[0].offsetWidth-i[0].clientWidth,o.bScrollbarLeft=1!==Math.round(a.offset().left),r.remove()}t.extend(n.oBrowser,s.__browser),n.oScroll.iBarWidth=s.__browser.barWidth}(b);var y=b.oClasses;t.extend(y,s.ext.classes,c.oClasses),h.addClass(y.table),b.oFeatures.bPaginate||(c.iDisplayStart=0),void 0===b.iInitDisplayStart&&(b.iInitDisplayStart=c.iDisplayStart,b._iDisplayStart=c.iDisplayStart);var w=c.iDeferLoading;if(null!==w){b.deferLoading=!0;var _=Array.isArray(w);b._iRecordsDisplay=_?w[0]:w,b._iRecordsTotal=_?w[1]:w}var x=[],T=this.getElementsByTagName("thead"),D=wt(b,T[0]);if(c.aoColumns)x=c.aoColumns;else if(D.length)for(d=0,n=D[0].length;d<n;d++)x.push(null);for(d=0,n=x.length;d<n;d++)P(b);!function(e,n,o,r,i){var a,s,l,c,d,u,f,h=e.aoColumns;if(o)for(a=0,s=o.length;a<s;a++)o[a]&&o[a].name&&(h[a].sName=o[a].name);if(n)for(a=n.length-1;a>=0;a--){var p=void 0!==(f=n[a]).target?f.target:void 0!==f.targets?f.targets:f.aTargets;for(Array.isArray(p)||(p=[p]),l=0,c=p.length;l<c;l++){var m=p[l];if("number"==typeof m&&m>=0){for(;h.length<=m;)P(e);i(m,f)}else if("number"==typeof m&&m<0)i(h.length+m,f);else if("string"==typeof m)for(d=0,u=h.length;d<u;d++)"_all"===m?i(d,f):-1!==m.indexOf(":name")?h[d].sName===m.replace(":name","")&&i(d,f):r.forEach((function(e){if(e[d]){var n=t(e[d].cell);m.match(/^[a-z][\w-]*$/i)&&(m="."+m),n.is(m)&&i(d,f)}}))}}if(o)for(a=0,s=o.length;a<s;a++)i(a,o[a])}(b,c.aoColumnDefs,x,D,(function(t,e){O(b,t,e)}));var C=h.children("tbody").find("tr").eq(0);if(C.length){var S=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(C[0]).children("th, td").each((function(t,e){var n=b.aoColumns[t];if(n||Zt(b,0,"Incorrect column count",18),n.mData===t){var o=S(e,"sort")||S(e,"order"),r=S(e,"filter")||S(e,"search");null===o&&null===r||(n.mData={_:t+".display",sort:null!==o?t+".@data-"+o:void 0,type:null!==o?t+".@data-"+o:void 0,filter:null!==r?t+".@data-"+r:void 0},n._isArrayHost=!0,O(b,t))}}))}te(b,"aoDrawCallback",$t);var A=b.oFeatures;if(c.bStateSave&&(A.bStateSave=!0),void 0===c.aaSorting){var I=b.aaSorting;for(d=0,n=I.length;d<n;d++)I[d][1]=b.aoColumns[d].asSorting[0]}Xt(b),te(b,"aoDrawCallback",(function(){(b.bSorted||"ssp"===re(b)||A.bDeferRender)&&Xt(b)}));var R=h.children("caption");b.caption&&(0===R.length&&(R=t("<caption/>").appendTo(h)),R.html(b.caption)),R.length&&(R[0]._captionSide=R.css("caption-side"),b.captionNode=R[0]),0===T.length&&(T=t("<thead/>").appendTo(h)),b.nTHead=T[0],t("tr",T).addClass(y.thead.row);var N=h.children("tbody");0===N.length&&(N=t("<tbody/>").insertAfter(T)),b.nTBody=N[0];var k=h.children("tfoot");0===k.length&&(k=t("<tfoot/>").appendTo(h)),b.nTFoot=k[0],t("tr",k).addClass(y.tfoot.row),b.aiDisplay=b.aiDisplayMaster.slice(),b.bInitialised=!0;var H=b.oLanguage;t.extend(!0,H,c.oLanguage),H.sUrl?t.ajax({dataType:"json",url:H.sUrl,success:function(e){L(f.oLanguage,e),t.extend(!0,H,e,b.oInit.oLanguage),ee(b,null,"i18n",[b],!0),Rt(b)},error:function(){Zt(b,0,"i18n file loading error",21),Rt(b)}}):(ee(b,null,"i18n",[b],!0),Rt(b))}else Zt(null,0,"Non-table node initialisation ("+this.nodeName+")",2)})),i=null,this};s.ext=o={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],features:{},search:[],selector:{cell:[],column:[],row:[]},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{className:{},detect:[],render:{},search:{},order:{}},_unique:0,fnVersionCheck:s.fnVersionCheck,iApiIndex:0,sVersion:s.version},t.extend(o,{afnFiltering:o.search,aTypes:o.type.detect,ofnSearch:o.type.search,oSort:o.type.order,afnSortData:o.order,aoFeatures:o.feature,oStdClasses:o.classes,oPagination:o.pager}),t.extend(s.ext.classes,{container:"dt-container",empty:{row:"dt-empty"},info:{container:"dt-info"},layout:{row:"dt-layout-row",cell:"dt-layout-cell",tableRow:"dt-layout-table",tableCell:"",start:"dt-layout-start",end:"dt-layout-end",full:"dt-layout-full"},length:{container:"dt-length",select:"dt-input"},order:{canAsc:"dt-orderable-asc",canDesc:"dt-orderable-desc",isAsc:"dt-ordering-asc",isDesc:"dt-ordering-desc",none:"dt-orderable-none",position:"sorting_"},processing:{container:"dt-processing"},scrolling:{body:"dt-scroll-body",container:"dt-scroll",footer:{self:"dt-scroll-foot",inner:"dt-scroll-footInner"},header:{self:"dt-scroll-head",inner:"dt-scroll-headInner"}},search:{container:"dt-search",input:"dt-input"},table:"dataTable",tbody:{cell:"",row:""},thead:{cell:"",row:""},tfoot:{cell:"",row:""},paging:{active:"current",button:"dt-paging-button",container:"dt-paging",disabled:"disabled",nav:""}});var l={},c=/[\r\n\u2028]/g,d=/<([^>]*>)/g,u=Math.pow(2,28),f=/^\d{2,4}[./-]\d{1,2}[./-]\d{1,2}([T ]{1}\d{1,2}[:.]\d{2}([.:]\d{2})?)?$/,h=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),p=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,m=function(t){return!t||!0===t||"-"===t},g=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},v=function(t,e){return l[e]||(l[e]=new RegExp(St(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(l[e],"."):t},b=function(t,e,n,o){var r=typeof t,i="string"===r;return"number"===r||"bigint"===r||(!(!o||!m(t))||(e&&i&&(t=v(t,e)),n&&i&&(t=t.replace(p,"")),!isNaN(parseFloat(t))&&isFinite(t)))},y=function(t,e,n,o){if(o&&m(t))return!0;if("string"==typeof t&&t.match(/<(input|select)/i))return null;var r=function(t){return m(t)||"string"==typeof t}(t);return r&&!!b(D(t),e,n,o)||null},w=function(t,e,n){var o=[],r=0,i=t.length;if(void 0!==n)for(;r<i;r++)t[r]&&t[r][e]&&o.push(t[r][e][n]);else for(;r<i;r++)t[r]&&o.push(t[r][e]);return o},_=function(t,e,n,o){var r=[],i=0,a=e.length;if(void 0!==o)for(;i<a;i++)t[e[i]]&&t[e[i]][n]&&r.push(t[e[i]][n][o]);else for(;i<a;i++)t[e[i]]&&r.push(t[e[i]][n]);return r},x=function(t,e){var n,o=[];void 0===e?(e=0,n=t):(n=e,e=t);for(var r=e;r<n;r++)o.push(r);return o},T=function(t){for(var e=[],n=0,o=t.length;n<o;n++)t[n]&&e.push(t[n]);return e},D=function(t){if(!t||"string"!=typeof t)return t;if(t.length>u)throw new Error("Exceeded max str len");var e;t=t.replace(d,"");do{e=t,t=t.replace(/<script/i,"")}while(t!==e);return e},C=function(t){return Array.isArray(t)&&(t=t.join(",")),"string"==typeof t?t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t},S=function(t,e){if("string"!=typeof t)return t;var n=t.normalize?t.normalize("NFD"):t;return n.length!==t.length?(!0===e?t+" ":"")+n.replace(/[\u0300-\u036f]/g,""):n},A=function(t){if(Array.from&&Set)return Array.from(new Set(t));if(function(t){if(t.length<2)return!0;for(var e=t.slice().sort(),n=e[0],o=1,r=e.length;o<r;o++){if(e[o]===n)return!1;n=e[o]}return!0}(t))return t.slice();var e,n,o,r=[],i=t.length,a=0;t:for(n=0;n<i;n++){for(e=t[n],o=0;o<a;o++)if(r[o]===e)continue t;r.push(e),a++}return r},I=function(t,e){if(Array.isArray(e))for(var n=0;n<e.length;n++)I(t,e[n]);else t.push(e);return t};function R(t,e){e&&e.split(" ").forEach((function(e){e&&t.classList.add(e)}))}function N(e){var n,o,r={};t.each(e,(function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(o=t.replace(n[0],n[2].toLowerCase()),r[o]=t,"o"===n[1]&&N(e[t]))})),e._hungarianMap=r}function L(e,n,o){var r;e._hungarianMap||N(e),t.each(n,(function(i){void 0===(r=e._hungarianMap[i])||!o&&void 0!==n[r]||("o"===r.charAt(0)?(n[r]||(n[r]={}),t.extend(!0,n[r],n[i]),L(e[r],n[r],o)):n[r]=n[i])}))}s.util={diacritics:function(t,e){if("function"!==typeof t)return S(t,e);S=t},debounce:function(t,e){var n;return function(){var o=this,r=arguments;clearTimeout(n),n=setTimeout((function(){t.apply(o,r)}),e||250)}},throttle:function(t,e){var n,o,r=void 0!==e?e:200;return function(){var e=this,i=+new Date,a=arguments;n&&i<n+r?(clearTimeout(o),o=setTimeout((function(){n=void 0,t.apply(e,a)}),r)):(n=i,t.apply(e,a))}},escapeRegex:function(t){return t.replace(h,"\\$1")},set:function(e){if(t.isPlainObject(e))return s.util.set(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,n,o){e(t,"set",n,o)};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,o){for(var r,i,a,s,l,c=tt(o),d=c[c.length-1],u=0,f=c.length-1;u<f;u++){if("__proto__"===c[u]||"constructor"===c[u])throw new Error("Cannot set prototype values");if(i=c[u].match(K),a=c[u].match(G),i){if(c[u]=c[u].replace(K,""),t[c[u]]=[],(r=c.slice()).splice(0,u+1),l=r.join("."),Array.isArray(e))for(var h=0,p=e.length;h<p;h++)n(s={},e[h],l),t[c[u]].push(s);else t[c[u]]=e;return}a&&(c[u]=c[u].replace(G,""),t=t[c[u]](e)),null!==t[c[u]]&&void 0!==t[c[u]]||(t[c[u]]={}),t=t[c[u]]}d.match(G)?t=t[d.replace(G,"")](e):t[d.replace(K,"")]=e};return function(t,o){return n(t,o,e)}},get:function(e){if(t.isPlainObject(e)){var n={};return t.each(e,(function(t,e){e&&(n[t]=s.util.get(e))})),function(t,e,o,r){var i=n[e]||n._;return void 0!==i?i(t,e,o,r):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,n,o,r){return e(t,n,o,r)};if("string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("[")&&-1===e.indexOf("("))return function(t){return t[e]};var o=function(t,e,n){var r,i,a,s;if(""!==n)for(var l=tt(n),c=0,d=l.length;c<d;c++){if(r=l[c].match(K),i=l[c].match(G),r){if(l[c]=l[c].replace(K,""),""!==l[c]&&(t=t[l[c]]),a=[],l.splice(0,c+1),s=l.join("."),Array.isArray(t))for(var u=0,f=t.length;u<f;u++)a.push(o(t[u],e,s));var h=r[0].substring(1,r[0].length-1);t=""===h?a:a.join(h);break}if(i)l[c]=l[c].replace(G,""),t=t[l[c]]();else{if(null===t||null===t[l[c]])return null;if(void 0===t||void 0===t[l[c]])return;t=t[l[c]]}}return t};return function(t,n){return o(t,n,e)}},stripHtml:function(t){var e=typeof t;if("function"!==e)return"string"===e?D(t):t;D=t},escapeHtml:function(t){var e=typeof t;if("function"!==e)return"string"===e||Array.isArray(t)?C(t):t;C=t},unique:A};var k=function(t,e,n){void 0!==t[e]&&(t[n]=t[e])};function F(t){k(t,"ordering","bSort"),k(t,"orderMulti","bSortMulti"),k(t,"orderClasses","bSortClasses"),k(t,"orderCellsTop","bSortCellsTop"),k(t,"order","aaSorting"),k(t,"orderFixed","aaSortingFixed"),k(t,"paging","bPaginate"),k(t,"pagingType","sPaginationType"),k(t,"pageLength","iDisplayLength"),k(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,o=e.length;n<o;n++)e[n]&&L(s.models.oSearch,e[n]);t.serverSide&&!t.searchDelay&&(t.searchDelay=400)}function j(t){k(t,"orderable","bSortable"),k(t,"orderData","aDataSort"),k(t,"orderSequence","asSorting"),k(t,"orderDataType","sortDataType");var e=t.aDataSort;"number"!=typeof e||Array.isArray(e)||(t.aDataSort=[e])}function P(e){var n=s.defaults.column,o=e.aoColumns.length,r=t.extend({},s.models.oColumn,n,{aDataSort:n.aDataSort?n.aDataSort:[o],mData:n.mData?n.mData:o,idx:o,searchFixed:{},colEl:t("<col>").attr("data-dt-column",o)});e.aoColumns.push(r);var i=e.aoPreSearchCols;i[o]=t.extend({},s.models.oSearch,i[o])}function O(n,o,r){var i=n.aoColumns[o];if(null!=r){j(r),L(s.defaults.column,r,!0),void 0===r.mDataProp||r.mData||(r.mData=r.mDataProp),r.sType&&(i._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className);var a=i.sClass;t.extend(i,r),Jt(i,r,"sWidth","sWidthOrig"),a!==i.sClass&&(i.sClass=a+" "+i.sClass),void 0!==r.iDataSort&&(i.aDataSort=[r.iDataSort]),Jt(i,r,"aDataSort")}var l=i.mData,c=et(l);if(i.mRender&&Array.isArray(i.mRender)){var d=i.mRender.slice(),u=d.shift();i.mRender=s.render[u].apply(e,d)}i._render=i.mRender?et(i.mRender):null;var f=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};i._bAttrSrc=t.isPlainObject(l)&&(f(l.sort)||f(l.type)||f(l.filter)),i._setter=null,i.fnGetData=function(t,e,n){var o=c(t,e,void 0,n);return i._render&&e?i._render(o,e,t,n):o},i.fnSetData=function(t,e,n){return nt(l)(t,e,n)},"number"==typeof l||i._isArrayHost||(n._rowReadObject=!0),n.oFeatures.bSort||(i.bSortable=!1)}function H(r){!function(r){if(!r.oFeatures.bAutoWidth)return;var i,a,l,c=r.nTable,d=r.aoColumns,u=r.oScroll,f=u.sY,h=u.sX,p=u.sXInner,m=U(r,"bVisible"),g=c.getAttribute("width"),v=c.parentNode,b=c.style.width;b||g||(c.style.width="100%",b="100%");b&&-1!==b.indexOf("%")&&(g=b);ee(r,null,"column-calc",{visible:m},!1);var y=t(c.cloneNode()).css("visibility","hidden").removeAttr("id");y.append("<tbody>");var w=t("<tr/>").appendTo(y.find("tbody"));for(y.append(t(r.nTHead).clone()).append(t(r.nTFoot).clone()),y.find("tfoot th, tfoot td").css("width",""),y.find("thead th, thead td").each((function(){var e=X(r,this,!0,!1);e?(this.style.width=e,h&&t(this).append(t("<div/>").css({width:e,margin:0,padding:0,border:0,height:1}))):this.style.width=""})),i=0;i<m.length;i++){a=d[l=m[i]];var _=Ht(r,l),x=o.type.className[a.sType],T=_+a.sContentPadding,D=-1===_.indexOf("<")?n.createTextNode(T):T;t("<td/>").addClass(x).addClass(a.sClass).append(D).appendTo(w)}t("[name]",y).removeAttr("name");var C=t("<div/>").css(h||f?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(y).appendTo(v);h&&p?y.width(p):h?(y.css("width","auto"),y.removeAttr("width"),y.width()<v.clientWidth&&g&&y.width(v.clientWidth)):f?y.width(v.clientWidth):g&&y.width(g);var S=0,A=y.find("tbody tr").eq(0).children();for(i=0;i<m.length;i++){var I=A[i].getBoundingClientRect().width;S+=I,d[m[i]].sWidth=Mt(I)}c.style.width=Mt(S),C.remove(),g&&(c.style.width=Mt(g));if((g||h)&&!r._reszEvt){(function(){t(e).on("resize.DT-"+r.sInstance,s.util.throttle((function(){r.bDestroying||H(r)})))})(),r._reszEvt=!0}}(r),function(t){for(var e=t.aoColumns,n=0;n<e.length;n++){var o=X(t,[n],!1,!1);e[n].colEl.css("width",o)}}(r);var i=r.oScroll;""===i.sY&&""===i.sX||Ot(r),ee(r,null,"column-sizing",[r])}function M(t,e){var n=U(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function E(t,e){var n=U(t,"bVisible").indexOf(e);return-1!==n?n:null}function q(e){var n=e.aoHeader,o=e.aoColumns,r=0;if(n.length)for(var i=0,a=n[0].length;i<a;i++)o[i].bVisible&&"none"!==t(n[0][i].cell).css("display")&&r++;return r}function U(t,e){var n=[];return t.aoColumns.map((function(t,o){t[e]&&n.push(o)})),n}function W(t,e){return!0===e?t._name:e}function B(t){var e,n,r,i,a,l,c,d,u,f=t.aoColumns,h=t.aoData,p=s.ext.type.detect;for(e=0,n=f.length;e<n;e++){if(u=[],!(c=f[e]).sType&&c._sManualType)c.sType=c._sManualType;else if(!c.sType){if(!t.typeDetect)return;for(r=0,i=p.length;r<i;r++){var g=p[r],v=g.oneOf,b=g.allOf||g,y=g.init,w=!1;if(d=null,y&&(d=W(g,y(t,c,e)))){c.sType=d;break}for(a=0,l=h.length;a<l;a++)if(h[a]){if(void 0===u[a]&&(u[a]=Z(t,a,e,"type")),v&&!w&&(w=W(g,v(u[a],t))),!(d=W(g,b(u[a],t)))&&r!==p.length-3)break;if("html"===d&&!m(u[a]))break}if(v&&w&&d||!v&&d){c.sType=d;break}}c.sType||(c.sType="string")}var _=o.type.className[c.sType];_&&(z(t.aoHeader,e,_),z(t.aoFooter,e,_));var x=o.type.render[c.sType];x&&!c._render&&(c._render=s.util.get(x),V(t,e))}}function V(t,e){for(var n=t.aoData,o=0;o<n.length;o++)if(n[o].nTr){var r=Z(t,o,e,"display");n[o].displayData[e]=r,J(n[o].anCells[e],r)}}function z(t,e,n){t.forEach((function(t){t[e]&&t[e].unique&&R(t[e].cell,n)}))}function X(t,e,n,o){Array.isArray(e)||(e=Y(e));for(var r,i=0,a=t.aoColumns,s=0,l=e.length;s<l;s++){var c=a[e[s]],d=n?c.sWidthOrig:c.sWidth;if(o||!1!==c.bVisible){if(null==d)return null;if("number"==typeof d)r="px",i+=d;else{var u=d.match(/([\d\.]+)([^\d]*)/);u&&(i+=1*u[1],r=3===u.length?u[2]:"px")}}}return i+r}function Y(e){var n=t(e).closest("[data-dt-column]").attr("data-dt-column");return n?n.split(",").map((function(t){return 1*t})):[]}function $(e,n,o,r){var i=e.aoData.length,a=t.extend(!0,{},s.models.oRow,{src:o?"dom":"data",idx:i});a._aData=n,e.aoData.push(a);for(var l=e.aoColumns,c=0,d=l.length;c<d;c++)l[c].sType=null;e.aiDisplayMaster.push(i);var u=e.rowIdFn(n);return void 0!==u&&(e.aIds[u]=a),!o&&e.oFeatures.bDeferRender||lt(e,i,o,r),i}function Q(e,n){var o;return n instanceof t||(n=t(n)),n.map((function(t,n){return o=at(e,n),$(e,o.data,n,o.cells)}))}function Z(t,e,n,o){"search"===o?o="filter":"order"===o&&(o="sort");var r=t.aoData[e];if(r){var i=t.iDraw,a=t.aoColumns[n],l=r._aData,c=a.sDefaultContent,d=a.fnGetData(l,o,{settings:t,row:e,col:n});if("display"!==o&&d&&"object"==typeof d&&d.nodeName&&(d=d.innerHTML),void 0===d)return t.iDrawError!=i&&null===c&&(Zt(t,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=i),c;if(d!==l&&null!==d||null===c||void 0===o){if("function"==typeof d)return d.call(l)}else d=c;if(null===d&&"display"===o)return"";if("filter"===o){var u=s.ext.type.search;u[a.sType]&&(d=u[a.sType](d))}return d}}function J(e,n){n&&"object"==typeof n&&n.nodeName?t(e).empty().append(n):e.innerHTML=n}var K=/\[.*?\]$/,G=/\(\)$/;function tt(t){return(t.match(/(\\.|[^.])+/g)||[""]).map((function(t){return t.replace(/\\\./g,".")}))}var et=s.util.get,nt=s.util.set;function ot(t){return w(t.aoData,"_aData")}function rt(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function it(t,e,n,o){var r,i,a=t.aoData[e];if(a._aSortData=null,a._aFilterData=null,a.displayData=null,"dom"!==n&&(n&&"auto"!==n||"dom"!==a.src)){var s=a.anCells,l=st(t,e);if(s)if(void 0!==o)J(s[o],l[o]);else for(r=0,i=s.length;r<i;r++)J(s[r],l[r])}else a._aData=at(t,a,o,void 0===o?void 0:a._aData).data;var c=t.aoColumns;if(void 0!==o)c[o].sType=null,c[o].maxLenString=null;else{for(r=0,i=c.length;r<i;r++)c[r].sType=null,c[r].maxLenString=null;ct(t,a)}}function at(t,e,n,o){var r,i,a,s=[],l=e.firstChild,c=0,d=t.aoColumns,u=t._rowReadObject;o=void 0!==o?o:u?{}:[];var f=function(t,e){if("string"==typeof t){var n=t.indexOf("@");if(-1!==n){var r=t.substring(n+1);nt(t)(o,e.getAttribute(r))}}},h=function(t){void 0!==n&&n!==c||(i=d[c],a=t.innerHTML.trim(),i&&i._bAttrSrc?(nt(i.mData._)(o,a),f(i.mData.sort,t),f(i.mData.type,t),f(i.mData.filter,t)):u?(i._setter||(i._setter=nt(i.mData)),i._setter(o,a)):o[c]=a);c++};if(l)for(;l;)"TD"!=(r=l.nodeName.toUpperCase())&&"TH"!=r||(h(l),s.push(l)),l=l.nextSibling;else for(var p=0,m=(s=e.anCells).length;p<m;p++)h(s[p]);var g=e.firstChild?e:e.nTr;if(g){var v=g.getAttribute("id");v&&nt(t.rowId)(o,v)}return{data:o,cells:s}}function st(t,e){var n=t.aoData[e],o=t.aoColumns;if(!n.displayData){n.displayData=[];for(var r=0,i=o.length;r<i;r++)n.displayData.push(Z(t,e,r,"display"))}return n.displayData}function lt(e,o,r,i){var a,s,l,c,d,u,f=e.aoData[o],h=f._aData,p=[],m=e.oClasses.tbody.row;if(null===f.nTr){for(a=r||n.createElement("tr"),f.nTr=a,f.anCells=p,R(a,m),a._DT_RowIndex=o,ct(e,f),c=0,d=e.aoColumns.length;c<d;c++){l=e.aoColumns[c],(s=(u=!r||!i[c])?n.createElement(l.sCellType):i[c])||Zt(e,0,"Incorrect column count",18),s._DT_CellIndex={row:o,column:c},p.push(s);var g=st(e,o);!u&&(!l.mRender&&l.mData===c||t.isPlainObject(l.mData)&&l.mData._===c+".display")||J(s,g[c]),R(s,l.sClass),l.bVisible&&u?a.appendChild(s):l.bVisible||u||s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,Z(e,o,c),h,o,c)}ee(e,"aoRowCreatedCallback","row-created",[a,h,o,p])}else R(f.nTr,m)}function ct(e,n){var o=n.nTr,r=n._aData;if(o){var i=e.rowIdFn(r);if(i&&(o.id=i),r.DT_RowClass){var a=r.DT_RowClass.split(" ");n.__rowc=n.__rowc?A(n.__rowc.concat(a)):a,t(o).removeClass(n.__rowc.join(" ")).addClass(r.DT_RowClass)}r.DT_RowAttr&&t(o).attr(r.DT_RowAttr),r.DT_RowData&&t(o).data(r.DT_RowData)}}function dt(e,n){var o,r,i,a=e.oClasses,s=e.aoColumns,l="header"===n?e.nTHead:e.nTFoot,c="header"===n?"sTitle":n;if(l){if("header"===n||w(e.aoColumns,c).join(""))if((i=t("tr",l)).length||(i=t("<tr/>").appendTo(l)),1===i.length)for(o=t("td, th",i).length,r=s.length;o<r;o++)t("<th/>").html(s[o][c]||"").appendTo(i);var d=wt(e,l,!0);"header"===n?e.aoHeader=d:e.aoFooter=d,t(l).children("tr").children("th, td").each((function(){oe(e,n)(e,t(this),a)}))}}function ut(e,n,o){var r,i,a,s,l,c=[],d=[],u=e.aoColumns,f=u.length;if(n){for(o||(o=x(f).filter((function(t){return u[t].bVisible}))),r=0;r<n.length;r++)c[r]=n[r].slice().filter((function(t,e){return o.includes(e)})),d.push([]);for(r=0;r<c.length;r++)for(i=0;i<c[r].length;i++)if(s=1,l=1,void 0===d[r][i]){for(a=c[r][i].cell;void 0!==c[r+s]&&c[r][i].cell==c[r+s][i].cell;)d[r+s][i]=null,s++;for(;void 0!==c[r][i+l]&&c[r][i].cell==c[r][i+l].cell;){for(var h=0;h<s;h++)d[r+h][i+l]=null;l++}var p=t("span.dt-column-title",a);d[r][i]={cell:a,colspan:l,rowspan:s,title:p.length?p.html():t(a).html()}}return d}}function ft(e,n){for(var o,r,i=ut(e,n),a=0;a<n.length;a++){if(o=n[a].row)for(;r=o.firstChild;)o.removeChild(r);for(var s=0;s<i[a].length;s++){var l=i[a][s];l&&t(l.cell).appendTo(o).attr("rowspan",l.rowspan).attr("colspan",l.colspan)}}}function ht(e,n){if(function(t){var e="ssp"==re(t),n=t.iInitDisplayStart;void 0!==n&&-1!==n&&(t._iDisplayStart=e?n:n>=t.fnRecordsDisplay()?0:n,t.iInitDisplayStart=-1)}(e),-1===ee(e,"aoPreDrawCallback","preDraw",[e]).indexOf(!1)){var r,i=[],a=0,s="ssp"==re(e),l=e.aiDisplay,c=e._iDisplayStart,d=e.fnDisplayEnd(),u=e.aoColumns,f=t(e.nTBody);if(e.bDrawing=!0,e.deferLoading)e.deferLoading=!1,e.iDraw++,Ft(e,!1);else if(s){if(!e.bDestroying&&!n)return 0===e.iDraw&&f.empty().append(mt(e)),(r=e).iDraw++,Ft(r,!0),void _t(r,function(t){var e=t.aoColumns,n=t.oFeatures,o=t.oPreviousSearch,r=t.aoPreSearchCols,i=function(t,n){return"function"==typeof e[t][n]?"function":e[t][n]};return{draw:t.iDraw,columns:e.map((function(t,e){return{data:i(e,"mData"),name:t.sName,searchable:t.bSearchable,orderable:t.bSortable,search:{value:r[e].search,regex:r[e].regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}})),order:Bt(t).map((function(t){return{column:t.col,dir:t.dir,name:i(t.col,"sName")}})),start:t._iDisplayStart,length:n.bPaginate?t._iDisplayLength:-1,search:{value:o.search,regex:o.regex,fixed:Object.keys(t.searchFixed).map((function(e){return{name:e,term:t.searchFixed[e].toString()}}))}}}(r),(function(t){!function(t,e){var n=xt(t,e),o=Tt(t,"draw",e),r=Tt(t,"recordsTotal",e),i=Tt(t,"recordsFiltered",e);if(void 0!==o){if(1*o<t.iDraw)return;t.iDraw=1*o}n||(n=[]),rt(t),t._iRecordsTotal=parseInt(r,10),t._iRecordsDisplay=parseInt(i,10);for(var a=0,s=n.length;a<s;a++)$(t,n[a]);t.aiDisplay=t.aiDisplayMaster.slice(),B(t),ht(t,!0),Nt(t),Ft(t,!1)}(r,t)}))}else e.iDraw++;if(0!==l.length)for(var h=s?0:c,p=s?e.aoData.length:d,m=h;m<p;m++){var g=l[m],v=e.aoData[g];null===v.nTr&&lt(e,g);for(var b=v.nTr,y=0;y<u.length;y++){var w=u[y],_=v.anCells[y];R(_,o.type.className[w.sType]),R(_,e.oClasses.tbody.cell)}ee(e,"aoRowCallback",null,[b,v._aData,a,m,g]),i.push(b),a++}else i[0]=mt(e);ee(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],ot(e),c,d,l]),ee(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],ot(e),c,d,l]),f[0].replaceChildren?f[0].replaceChildren.apply(f[0],i):(f.children().detach(),f.append(t(i))),t(e.nTableWrapper).toggleClass("dt-empty-footer",0===t("tr",e.nTFoot).length),ee(e,"aoDrawCallback","draw",[e],!0),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Ft(e,!1)}function pt(t,e,n){var o=t.oFeatures,r=o.bSort,i=o.bFilter;void 0!==n&&!0!==n||(B(t),r&&Vt(t),i?Dt(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice()),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,ht(t),t._drawHold=!1}function mt(e){var n=e.oLanguage,o=n.sZeroRecords,r=re(e);return e.iDraw<1&&"ssp"===r||e.iDraw<=1&&"ajax"===r?o=n.sLoadingRecords:n.sEmptyTable&&0===e.fnRecordsTotal()&&(o=n.sEmptyTable),t("<tr/>").append(t("<td />",{colSpan:q(e),class:e.oClasses.empty.row}).html(o))[0]}function gt(e,n,o){if(Array.isArray(o))for(var r=0;r<o.length;r++)gt(e,n,o[r]);else{var i=e[n];t.isPlainObject(o)?o.features?(o.rowId&&(e.id=o.rowId),o.rowClass&&(e.className=o.rowClass),i.id=o.id,i.className=o.className,gt(e,n,o.features)):Object.keys(o).map((function(t){i.contents.push({feature:t,opts:o[t]})})):i.contents.push(o)}}function vt(e,n,o){var r=[];t.each(n,(function(t,e){if(null!==e){var n=t.match(/^([a-z]+)([0-9]*)([A-Za-z]*)$/),i=n[2]?1*n[2]:0,a=n[3]?n[3].toLowerCase():"full";if(n[1]===o){var s=function(t,e,n){for(var o,r=0;r<t.length;r++)if((o=t[r]).rowNum===e&&("full"===n&&o.full||("start"===n||"end"===n)&&(o.start||o.end)))return o[n]||(o[n]={contents:[]}),o;return(o={rowNum:e})[n]={contents:[]},t.push(o),o}(r,i,a);gt(s,a,e)}}})),r.sort((function(t,e){var n=t.rowNum,r=e.rowNum;if(n===r){var i=t.full&&!e.full?-1:1;return"bottom"===o?-1*i:i}return r-n})),"bottom"===o&&r.reverse();for(var i=0;i<r.length;i++)delete r[i].rowNum,bt(e,r[i]);return r}function bt(e,n){var r=function(t,n){return o.features[t]||Zt(e,0,"Unknown feature: "+t),o.features[t].apply(this,[e,n])},i=function(o){if(n[o])for(var i=n[o].contents,a=0,s=i.length;a<s;a++)if(i[a])if("string"==typeof i[a])i[a]=r(i[a],null);else if(t.isPlainObject(i[a]))i[a]=r(i[a].feature,i[a].opts);else if("function"==typeof i[a].node)i[a]=i[a].node(e);else if("function"==typeof i[a]){var l=i[a](e);i[a]="function"==typeof l.node?l.node():l}};i("start"),i("end"),i("full")}function yt(e){var n=e.oClasses,o=t(e.nTable),r=t("<div/>").attr({id:e.sTableId+"_wrapper",class:n.container}).insertBefore(o);if(e.nTableWrapper=r[0],e.sDom)!function(e,n,o){for(var r,i,a,l,c,d=n.match(/(".*?")|('.*?')|./g),u=0;u<d.length;u++){if(r=null,"<"==(i=d[u])){if(a=t("<div/>"),"'"==(l=d[u+1])[0]||'"'==l[0]){var f,h="";if(-1!=(c=l.replace(/['"]/g,"")).indexOf(".")){var p=c.split(".");h=p[0],f=p[1]}else"#"==c[0]?h=c:f=c;a.attr("id",h.substring(1)).addClass(f),u++}o.append(a),o=a}else">"==i?o=o.parent():"t"==i?r=Pt(e):s.ext.feature.forEach((function(t){i==t.cFeature&&(r=t.fnInit(e))}));r&&o.append(r)}}(e,e.sDom,r);else{var i=vt(e,e.layout,"top"),a=vt(e,e.layout,"bottom"),l=oe(e,"layout");i.forEach((function(t){l(e,r,t)})),l(e,r,{full:{table:!0,contents:[Pt(e)]}}),a.forEach((function(t){l(e,r,t)}))}!function(e){var n=e.nTable,o=""!==e.oScroll.sX||""!==e.oScroll.sY;if(e.oFeatures.bProcessing){var r=t("<div/>",{id:e.sTableId+"_processing",class:e.oClasses.processing.container,role:"status"}).html(e.oLanguage.sProcessing).append("<div><div></div><div></div><div></div><div></div></div>");o?r.prependTo(t("div.dt-scroll",e.nTableWrapper)):r.insertBefore(n),t(n).on("processing.dt.DT",(function(t,e,n){r.css("display",n?"block":"none")}))}}(e)}function wt(e,n,o){var r,i,a,s,l,c,d,u,f,h,p=e.aoColumns,m=t(n).children("tr"),g=n&&"thead"===n.nodeName.toLowerCase(),v=[],b=function(t,e,n){for(var o=t[e];o[n];)n++;return n};for(a=0,c=m.length;a<c;a++)v.push([]);for(a=0,c=m.length;a<c;a++)for(i=(r=m[a]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){var y=[];if(u=(u=1*i.getAttribute("colspan"))&&0!==u&&1!==u?u:1,f=(f=1*i.getAttribute("rowspan"))&&0!==f&&1!==f?f:1,d=b(v,a,0),h=1===u,o){if(h){O(e,d,t(i).data());var w=p[d],_=i.getAttribute("width")||null,x=i.style.width.match(/width:\s*(\d+[pxem%]+)/);x&&(_=x[1]),w.sWidthOrig=w.sWidth||_,g?(null===w.sTitle||w.autoTitle||(i.innerHTML=w.sTitle),!w.sTitle&&h&&(w.sTitle=D(i.innerHTML),w.autoTitle=!0)):w.footer&&(i.innerHTML=w.footer),w.ariaTitle||(w.ariaTitle=t(i).attr("aria-label")||w.sTitle),w.className&&t(i).addClass(w.className)}0===t("span.dt-column-title",i).length&&t("<span>").addClass("dt-column-title").append(i.childNodes).appendTo(i),g&&0===t("span.dt-column-order",i).length&&t("<span>").addClass("dt-column-order").appendTo(i)}for(l=0;l<u;l++){for(s=0;s<f;s++)v[a+s][d+l]={cell:i,unique:h},v[a+s].row=r;y.push(d+l)}i.setAttribute("data-dt-column",A(y).join(","))}i=i.nextSibling}return v}function _t(e,n,o){var r,i=e.ajax,a=e.oInstance,l=function(t){var n=e.jqXHR?e.jqXHR.status:null;(null===t||"number"==typeof n&&204==n)&&xt(e,t={},[]);var r=t.error||t.sError;if(r&&Zt(e,0,r),t.d&&"string"==typeof t.d)try{t=JSON.parse(t.d)}catch(t){}e.json=t,ee(e,null,"xhr",[e,t,e.jqXHR],!0),o(t)};if(t.isPlainObject(i)&&i.data){var c="function"==typeof(r=i.data)?r(n,e):r;n="function"==typeof r&&c?c:t.extend(!0,n,c),delete i.data}var d={url:"string"==typeof i?i:"",data:n,success:l,dataType:"json",cache:!1,type:e.sServerMethod,error:function(t,n){-1===ee(e,null,"xhr",[e,null,e.jqXHR],!0).indexOf(!0)&&("parsererror"==n?Zt(e,0,"Invalid JSON response",1):4===t.readyState&&Zt(e,0,"Ajax error",7)),Ft(e,!1)}};if(t.isPlainObject(i)&&t.extend(d,i),e.oAjaxData=n,ee(e,null,"preXhr",[e,n,d],!0),"function"==typeof i)e.jqXHR=i.call(a,n,l,e);else if(""===i.url){var u={};s.util.set(i.dataSrc)(u,[]),l(u)}else e.jqXHR=t.ajax(d);r&&(i.data=r)}function xt(e,n,o){var r="data";if(t.isPlainObject(e.ajax)&&void 0!==e.ajax.dataSrc){var i=e.ajax.dataSrc;"string"==typeof i||"function"==typeof i?r=i:void 0!==i.data&&(r=i.data)}if(!o)return"data"===r?n.aaData||n[r]:""!==r?et(r)(n):n;nt(r)(n,o)}function Tt(e,n,o){var r=t.isPlainObject(e.ajax)?e.ajax.dataSrc:null;if(r&&r[n])return et(r[n])(o);var i="";return"draw"===n?i="sEcho":"recordsTotal"===n?i="iTotalRecords":"recordsFiltered"===n&&(i="iTotalDisplayRecords"),void 0!==o[i]?o[i]:o[n]}function Dt(e,n){var o=e.aoPreSearchCols;if("ssp"!=re(e)){!function(t){for(var e,n,o,r,i,a=t.aoColumns,s=t.aoData,l=!1,c=0;c<s.length;c++)if(s[c]&&!(i=s[c])._aFilterData){for(o=[],e=0,n=a.length;e<n;e++)a[e].bSearchable?(null===(r=Z(t,c,e,"filter"))&&(r=""),"string"!=typeof r&&r.toString&&(r=r.toString())):r="",r.indexOf&&-1!==r.indexOf("&")&&(At.innerHTML=r,r=It?At.textContent:At.innerText),r.replace&&(r=r.replace(/[\r\n\u2028]/g,"")),o.push(r);i._aFilterData=o,i._sFilterRow=o.join("  "),l=!0}}(e),e.aiDisplay=e.aiDisplayMaster.slice(),Ct(e.aiDisplay,e,n.search,n),t.each(e.searchFixed,(function(t,n){Ct(e.aiDisplay,e,n,{})}));for(var r=0;r<o.length;r++){var i=o[r];Ct(e.aiDisplay,e,i.search,i,r),t.each(e.aoColumns[r].searchFixed,(function(t,n){Ct(e.aiDisplay,e,n,{},r)}))}!function(t){for(var e,n,o=s.ext.search,r=t.aiDisplay,i=0,a=o.length;i<a;i++){for(var l=[],c=0,d=r.length;c<d;c++)n=r[c],e=t.aoData[n],o[i](t,e._aFilterData,n,e._aData,c)&&l.push(n);r.length=0,r.push.apply(r,l)}}(e)}e.bFiltered=!0,ee(e,null,"search",[e])}function Ct(e,n,o,r,i){if(""!==o){var a=0,s=[],l="function"==typeof o?o:null,c=o instanceof RegExp?o:l?null:function(e,n){var o=[],r=t.extend({},{boundary:!1,caseInsensitive:!0,exact:!1,regex:!1,smart:!0},n);"string"!=typeof e&&(e=e.toString());if(e=S(e),r.exact)return new RegExp("^"+St(e)+"$",r.caseInsensitive?"i":"");if(e=r.regex?e:St(e),r.smart){var i=(e.match(/!?["\u201C][^"\u201D]+["\u201D]|[^ ]+/g)||[""]).map((function(t){var e,n=!1;return"!"===t.charAt(0)&&(n=!0,t=t.substring(1)),'"'===t.charAt(0)?(e=t.match(/^"(.*)"$/),t=e?e[1]:t):"“"===t.charAt(0)&&(e=t.match(/^\u201C(.*)\u201D$/),t=e?e[1]:t),n&&(t.length>1&&o.push("(?!"+t+")"),t=""),t.replace(/"/g,"")})),a=o.length?o.join(""):"",s=r.boundary?"\\b":"";e="^(?=.*?"+s+i.join(")(?=.*?"+s)+")("+a+".)*$"}return new RegExp(e,r.caseInsensitive?"i":"")}(o,r);for(a=0;a<e.length;a++){var d=n.aoData[e[a]],u=void 0===i?d._sFilterRow:d._aFilterData[i];(l&&l(u,d._aData,e[a],i)||c&&c.test(u))&&s.push(e[a])}for(e.length=s.length,a=0;a<s.length;a++)e[a]=s[a]}}var St=s.util.escapeRegex,At=t("<div>")[0],It=void 0!==At.textContent;function Rt(e){var n,o=e.oInit,r=e.deferLoading,i=re(e);e.bInitialised?(dt(e,"header"),dt(e,"footer"),function(t,e,n){if(!t.oFeatures.bStateSave)return void n();var o=function(e){Qt(t,e,n)},r=t.fnStateLoadCallback.call(t.oInstance,t,o);void 0!==r&&Qt(t,r,n)}(e,0,(function(){ft(e,e.aoHeader),ft(e,e.aoFooter);var a=e.iInitDisplayStart;if(o.aaData)for(n=0;n<o.aaData.length;n++)$(e,o.aaData[n]);else(r||"dom"==i)&&Q(e,t(e.nTBody).children("tr"));e.aiDisplay=e.aiDisplayMaster.slice(),yt(e),function(t){var e=t.nTHead,n=e.querySelectorAll("tr"),o=t.bSortCellsTop,r=':not([data-dt-order="disable"]):not([data-dt-order="icon-only"])';!0===o?e=n[0]:!1===o&&(e=n[n.length-1]);qt(t,e,e===t.nTHead?"tr"+r+" th"+r+", tr"+r+" td"+r:"th"+r+", td"+r);var i=[];Wt(t,i,t.aaSorting),t.aaSorting=i}(e),Et(e),Ft(e,!0),ee(e,null,"preInit",[e],!0),pt(e),("ssp"!=i||r)&&("ajax"==i?_t(e,{},(function(t){var o=xt(e,t);for(n=0;n<o.length;n++)$(e,o[n]);e.iInitDisplayStart=a,pt(e),Ft(e,!1),Nt(e)})):(Nt(e),Ft(e,!1)))}))):setTimeout((function(){Rt(e)}),200)}function Nt(t){if(!t._bInitComplete){var e=[t,t.json];t._bInitComplete=!0,H(t),ee(t,null,"plugin-init",e,!0),ee(t,"aoInitComplete","init",e,!0)}}function Lt(t,e){var n=parseInt(e,10);t._iDisplayLength=n,ne(t),ee(t,null,"length",[t,n])}function kt(t,e,n){var o=t._iDisplayStart,r=t._iDisplayLength,i=t.fnRecordsDisplay();if(0===i||-1===r)o=0;else if("number"==typeof e)(o=e*r)>i&&(o=0);else if("first"==e)o=0;else if("previous"==e)(o=r>=0?o-r:0)<0&&(o=0);else if("next"==e)o+r<i&&(o+=r);else if("last"==e)o=Math.floor((i-1)/r)*r;else{if("ellipsis"===e)return;Zt(t,0,"Unknown paging action: "+e,5)}var a=t._iDisplayStart!==o;return t._iDisplayStart=o,ee(t,null,a?"page":"page-nc",[t]),a&&n&&ht(t),a}function Ft(t,e){t.bDrawing&&!1===e||ee(t,null,"processing",[t,e])}function jt(t,e,n){e?(Ft(t,!0),setTimeout((function(){n(),Ft(t,!1)}),0)):n()}function Pt(e){var n=t(e.nTable),o=e.oScroll;if(""===o.sX&&""===o.sY)return e.nTable;var r=o.sX,i=o.sY,a=e.oClasses.scrolling,s=e.captionNode,l=s?s._captionSide:null,c=t(n[0].cloneNode(!1)),d=t(n[0].cloneNode(!1)),u=n.children("tfoot"),f="<div/>",h=function(t){return t?Mt(t):null};u.length||(u=null);var p=t(f,{class:a.container}).append(t(f,{class:a.header.self}).css({overflow:"hidden",position:"relative",border:0,width:r?h(r):"100%"}).append(t(f,{class:a.header.inner}).css({"box-sizing":"content-box",width:o.sXInner||"100%"}).append(c.removeAttr("id").css("margin-left",0).append("top"===l?s:null).append(n.children("thead"))))).append(t(f,{class:a.body}).css({position:"relative",overflow:"auto",width:h(r)}).append(n));u&&p.append(t(f,{class:a.footer.self}).css({overflow:"hidden",border:0,width:r?h(r):"100%"}).append(t(f,{class:a.footer.inner}).append(d.removeAttr("id").css("margin-left",0).append("bottom"===l?s:null).append(n.children("tfoot")))));var m=p.children(),g=m[0],v=m[1],b=u?m[2]:null;return t(v).on("scroll.DT",(function(){var t=this.scrollLeft;g.scrollLeft=t,u&&(b.scrollLeft=t)})),t("th, td",g).on("focus",(function(){var t=g.scrollLeft;v.scrollLeft=t,u&&(v.scrollLeft=t)})),t(v).css("max-height",i),o.bCollapse||t(v).css("height",i),e.nScrollHead=g,e.nScrollBody=v,e.nScrollFoot=b,e.aoDrawCallback.push(Ot),p[0]}function Ot(e){var n,o,r=e.oScroll.iBarWidth,i=t(e.nScrollHead).children("div"),a=i.children("table"),s=e.nScrollBody,l=t(s),c=t(e.nScrollFoot).children("div"),d=c.children("table"),u=t(e.nTHead),f=t(e.nTable),h=e.nTFoot&&t("th, td",e.nTFoot).length?t(e.nTFoot):null,p=e.oBrowser,m=s.scrollHeight>s.clientHeight;if(e.scrollBarVis!==m&&void 0!==e.scrollBarVis)return e.scrollBarVis=m,void H(e);if(e.scrollBarVis=m,f.children("thead, tfoot").remove(),(n=u.clone().prependTo(f)).find("th, td").removeAttr("tabindex"),n.find("[id]").removeAttr("id"),h&&(o=h.clone().prependTo(f)).find("[id]").removeAttr("id"),e.aiDisplay.length){var g=null;for(w=e._iDisplayStart;w<e.aiDisplay.length;w++){var v=e.aiDisplay[w],b=e.aoData[v].nTr;if(b){g=b;break}}if(g)for(var y=t(g).children("th, td").map((function(n){return{idx:M(e,n),width:t(this).outerWidth()}})),w=0;w<y.length;w++){var _=e.aoColumns[y[w].idx].colEl[0];_.style.width.replace("px","")!==y[w].width&&(_.style.width=y[w].width+"px")}}a.find("colgroup").remove(),a.append(e.colgroup.clone()),h&&(d.find("colgroup").remove(),d.append(e.colgroup.clone())),t("th, td",n).each((function(){t(this.childNodes).wrapAll('<div class="dt-scroll-sizing">')})),h&&t("th, td",o).each((function(){t(this.childNodes).wrapAll('<div class="dt-scroll-sizing">')}));var x=Math.floor(f.height())>s.clientHeight||"scroll"==l.css("overflow-y"),T="padding"+(p.bScrollbarLeft?"Left":"Right"),D=f.outerWidth();a.css("width",Mt(D)),i.css("width",Mt(D)).css(T,x?r+"px":"0px"),h&&(d.css("width",Mt(D)),c.css("width",Mt(D)).css(T,x?r+"px":"0px")),f.children("colgroup").prependTo(f),l.trigger("scroll"),!e.bSorted&&!e.bFiltered||e._drawHold||(s.scrollTop=0)}function Ht(t,e){var n=t.aoColumns[e];if(!n.maxLenString){for(var o,r="",i=-1,a=0,s=t.aiDisplayMaster.length;a<s;a++){var l=st(t,t.aiDisplayMaster[a])[e],c=l&&"object"==typeof l&&l.nodeType?l.innerHTML:l+"";c=c.replace(/id=".*?"/g,"").replace(/name=".*?"/g,""),(o=D(c).replace(/&nbsp;/g," ")).length>i&&(r=c,i=o.length)}n.maxLenString=r}return n.maxLenString}function Mt(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Et(t){var e=t.aoColumns;for(t.colgroup.empty(),He=0;He<e.length;He++)e[He].bVisible&&t.colgroup.append(e[He].colEl)}function qt(t,e,n,o,r){Gt(e,n,(function(e){var n=!1,i=void 0===o?Y(e.target):[o];if(i.length){for(var a=0,s=i.length;a<s;a++){if(!1!==zt(t,i[a],a,e.shiftKey)&&(n=!0),1===t.aaSorting.length&&""===t.aaSorting[0][1])break}n&&jt(t,!0,(function(){Vt(t),Ut(t,t.aiDisplay),pt(t,!1,!1),r&&r()}))}}))}function Ut(t,e){if(!(e.length<2)){var n,o=t.aiDisplayMaster,r={},i={};for(n=0;n<o.length;n++)r[o[n]]=n;for(n=0;n<e.length;n++)i[e[n]]=r[e[n]];e.sort((function(t,e){return i[t]-i[e]}))}}function Wt(e,n,o){var r=function(o){if(t.isPlainObject(o)){if(void 0!==o.idx)n.push([o.idx,o.dir]);else if(o.name){var r=w(e.aoColumns,"sName").indexOf(o.name);-1!==r&&n.push([r,o.dir])}}else n.push(o)};if(t.isPlainObject(o))r(o);else if(o.length&&"number"==typeof o[0])r(o);else if(o.length)for(var i=0;i<o.length;i++)r(o[i])}function Bt(e){var n,o,r,i,a,l,c,d=[],u=s.ext.type.order,f=e.aoColumns,h=e.aaSortingFixed,p=t.isPlainObject(h),m=[];if(!e.oFeatures.bSort)return d;for(Array.isArray(h)&&Wt(e,m,h),p&&h.pre&&Wt(e,m,h.pre),Wt(e,m,e.aaSorting),p&&h.post&&Wt(e,m,h.post),n=0;n<m.length;n++)if(f[c=m[n][0]])for(o=0,r=(i=f[c].aDataSort).length;o<r;o++)l=f[a=i[o]].sType||"string",void 0===m[n]._idx&&(m[n]._idx=f[a].asSorting.indexOf(m[n][1])),m[n][1]&&d.push({src:c,col:a,dir:m[n][1],index:m[n]._idx,type:l,formatter:u[l+"-pre"],sorter:u[l+"-"+m[n][1]]});return d}function Vt(t,e,n){var o,r,i,a,l=[],c=s.ext.type.order,d=t.aoData,u=t.aiDisplayMaster;if(void 0!==e){var f=t.aoColumns[e];a=[{src:e,col:e,dir:n,index:0,type:f.sType,formatter:c[f.sType+"-pre"],sorter:c[f.sType+"-"+n]}],u=u.slice()}else a=Bt(t);for(o=0,r=a.length;o<r;o++)Yt(t,a[o].col);if("ssp"!=re(t)&&0!==a.length){for(o=0,i=u.length;o<i;o++)l[o]=o;a.length&&"desc"===a[0].dir&&t.orderDescReverse&&l.reverse(),u.sort((function(t,e){var n,o,r,i,s,c=a.length,u=d[t]._aSortData,f=d[e]._aSortData;for(r=0;r<c;r++)if(n=u[(s=a[r]).col],o=f[s.col],s.sorter){if(0!==(i=s.sorter(n,o)))return i}else if(0!==(i=n<o?-1:n>o?1:0))return"asc"===s.dir?i:-i;return(n=l[t])<(o=l[e])?-1:n>o?1:0}))}else 0===a.length&&u.sort((function(t,e){return t<e?-1:t>e?1:0}));return void 0===e&&(t.bSorted=!0,t.sortDetails=a,ee(t,null,"order",[t,a])),u}function zt(t,e,n,o){var r,i=t.aoColumns[e],a=t.aaSorting,s=i.asSorting,l=function(t,e){var n=t._idx;return void 0===n&&(n=s.indexOf(t[1])),n+1<s.length?n+1:e?null:0};if(!i.bSortable)return!1;if("number"==typeof a[0]&&(a=t.aaSorting=[a]),(o||n)&&t.oFeatures.bSortMulti){var c=w(a,"0").indexOf(e);-1!==c?(null===(r=l(a[c],!0))&&1===a.length&&(r=0),null===r?a.splice(c,1):(a[c][1]=s[r],a[c]._idx=r)):o?(a.push([e,s[0],0]),a[a.length-1]._idx=0):(a.push([e,a[0][1],0]),a[a.length-1]._idx=0)}else a.length&&a[0][0]==e?(r=l(a[0]),a.length=1,a[0][1]=s[r],a[0]._idx=r):(a.length=0,a.push([e,s[0]]),a[0]._idx=0)}function Xt(e){var n,o,r,i=e.aLastSort,a=e.oClasses.order.position,s=Bt(e),l=e.oFeatures;if(l.bSort&&l.bSortClasses){for(n=0,o=i.length;n<o;n++)r=i[n].src,t(w(e.aoData,"anCells",r)).removeClass(a+(n<2?n+1:3));for(n=0,o=s.length;n<o;n++)r=s[n].src,t(w(e.aoData,"anCells",r)).addClass(a+(n<2?n+1:3))}e.aLastSort=s}function Yt(t,e){var n,o,r,i=t.aoColumns[e],a=s.ext.order[i.sSortDataType];a&&(n=a.call(t.oInstance,t,e,E(t,e)));for(var l=s.ext.type.order[i.sType+"-pre"],c=t.aoData,d=0;d<c.length;d++)c[d]&&((o=c[d])._aSortData||(o._aSortData=[]),o._aSortData[e]&&!a||(r=a?n[d]:Z(t,d,e,"sort"),o._aSortData[e]=l?l(r,t):r))}function $t(e){if(!e._bLoadingState){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:t.extend({},e.oPreviousSearch),columns:e.aoColumns.map((function(n,o){return{visible:n.bVisible,search:t.extend({},e.aoPreSearchCols[o])}}))};e.oSavedState=n,ee(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oFeatures.bStateSave&&!e.bDestroying&&e.fnStateSaveCallback.call(e.oInstance,e,n)}}function Qt(e,n,o){var r,i,a=e.aoColumns;e._bLoadingState=!0;var l=e._bInitComplete?new s.Api(e):null;if(!n||!n.time)return e._bLoadingState=!1,void o();var c=e.iStateDuration;if(c>0&&n.time<+new Date-1e3*c)return e._bLoadingState=!1,void o();if(-1!==ee(e,"aoStateLoadParams","stateLoadParams",[e,n]).indexOf(!1))return e._bLoadingState=!1,void o();if(n.columns&&a.length!==n.columns.length)return e._bLoadingState=!1,void o();if(e.oLoadedState=t.extend(!0,{},n),ee(e,null,"stateLoadInit",[e,n],!0),void 0!==n.length&&(l?l.page.len(n.length):e._iDisplayLength=n.length),void 0!==n.start&&(null===l?(e._iDisplayStart=n.start,e.iInitDisplayStart=n.start):kt(e,n.start/e._iDisplayLength)),void 0!==n.order&&(e.aaSorting=[],t.each(n.order,(function(t,n){e.aaSorting.push(n[0]>=a.length?[0,n[1]]:n)}))),void 0!==n.search&&t.extend(e.oPreviousSearch,n.search),n.columns){for(r=0,i=n.columns.length;r<i;r++){var d=n.columns[r];void 0!==d.visible&&(l?l.column(r).visible(d.visible,!1):a[r].bVisible=d.visible),void 0!==d.search&&t.extend(e.aoPreSearchCols[r],d.search)}l&&l.columns.adjust()}e._bLoadingState=!1,ee(e,"aoStateLoaded","stateLoaded",[e,n]),o()}function Zt(t,n,o,r){if(o="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+o,r&&(o+=". For more information about this error, please see https://datatables.net/tn/"+r),n)e.console&&console.log&&console.log(o);else{var i=s.ext,a=i.sErrMode||i.errMode;if(t&&ee(t,null,"dt-error",[t,r,o],!0),"alert"==a)alert(o);else{if("throw"==a)throw new Error(o);"function"==typeof a&&a(t,r,o)}}}function Jt(e,n,o,r){Array.isArray(o)?t.each(o,(function(t,o){Array.isArray(o)?Jt(e,n,o[0],o[1]):Jt(e,n,o)})):(void 0===r&&(r=o),void 0!==n[o]&&(e[r]=n[o]))}function Kt(e,n,o){var r;for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r=n[i],t.isPlainObject(r)?(t.isPlainObject(e[i])||(e[i]={}),t.extend(!0,e[i],r)):o&&"data"!==i&&"aaData"!==i&&Array.isArray(r)?e[i]=r.slice():e[i]=r);return e}function Gt(e,n,o){t(e).on("click.DT",n,(function(t){o(t)})).on("keypress.DT",n,(function(t){13===t.which&&(t.preventDefault(),o(t))})).on("selectstart.DT",n,(function(){return!1}))}function te(t,e,n){n&&t[e].push(n)}function ee(e,n,o,r,i){var a=[];if(n&&(a=e[n].slice().reverse().map((function(t){return t.apply(e.oInstance,r)}))),null!==o){var s=t.Event(o+".dt"),l=t(e.nTable);s.dt=e.api,l[i?"trigger":"triggerHandler"](s,r),i&&0===l.parents("body").length&&t("body").trigger(s,r),a.push(s.result)}return a}function ne(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),o=t._iDisplayLength;e>=n&&(e=n-o),e-=e%o,(-1===o||e<0)&&(e=0),t._iDisplayStart=e}function oe(e,n){var o=e.renderer,r=s.ext.renderer[n];return t.isPlainObject(o)&&o[n]?r[o[n]]||r._:"string"==typeof o&&r[o]||r._}function re(t){return t.oFeatures.bServerSide?"ssp":t.ajax?"ajax":"dom"}function ie(t,e,n){var o=t.fnFormatNumber,r=t._iDisplayStart+1,i=t._iDisplayLength,a=t.fnRecordsDisplay(),s=t.fnRecordsTotal(),l=-1===i;return e.replace(/_START_/g,o.call(t,r)).replace(/_END_/g,o.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,o.call(t,s)).replace(/_TOTAL_/g,o.call(t,a)).replace(/_PAGE_/g,o.call(t,l?1:Math.ceil(r/i))).replace(/_PAGES_/g,o.call(t,l?1:Math.ceil(a/i))).replace(/_ENTRIES_/g,t.api.i18n("entries","",n)).replace(/_ENTRIES-MAX_/g,t.api.i18n("entries","",s)).replace(/_ENTRIES-TOTAL_/g,t.api.i18n("entries","",a))}var ae=[],se=Array.prototype;function le(t,e,n){return function(){var o=e.apply(t||this,arguments);return r.extend(o,o,n.methodExt),o}}function ce(t,e){for(var n=0,o=t.length;n<o;n++)if(t[n].name===e)return t[n];return null}r=function(e,n){if(!(this instanceof r))return new r(e,n);var o,i=[],a=function(e){var n=function(e){var n,o,r=s.settings,i=w(r,"nTable");return e?e.nTable&&e.oFeatures?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=i.indexOf(e))?[r[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?o=t(e).get():e instanceof t&&(o=e.get()),o?r.filter((function(t,e){return o.includes(i[e])})):void 0):[]}(e);n&&i.push.apply(i,n)};if(Array.isArray(e))for(o=0;o<e.length;o++)a(e[o]);else a(e);if(this.context=i.length>1?A(i):i,n)if(n.length<1e4)this.push.apply(this,n);else for(o=0;o<n.length;o++)this.push(n[o]);this.selector={rows:null,cols:null,opts:null},r.extend(this,this,ae)},s.Api=r,t.extend(r.prototype,{any:function(){return 0!==this.count()},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 r(e[t],this[t]):null},filter:function(t){var e=se.filter.call(this,t,this);return new r(this.context,e)},flatten:function(){var t=[];return new r(this.context,t.concat.apply(t,this.toArray()))},get:function(t){return this[t]},join:se.join,includes:function(t){return-1!==this.indexOf(t)},indexOf:se.indexOf,iterator:function(t,e,n,o){var i,a,s,l,c,d,u,f,h=[],p=this.context,m=this.selector;for("string"==typeof t&&(o=n,n=e,e=t,t=!1),a=0,s=p.length;a<s;a++){var g=new r(p[a]);if("table"===e)void 0!==(i=n.call(g,p[a],a))&&h.push(i);else if("columns"===e||"rows"===e)void 0!==(i=n.call(g,p[a],this[a],a))&&h.push(i);else if("every"===e||"column"===e||"column-rows"===e||"row"===e||"cell"===e)for(u=this[a],"column-rows"===e&&(d=me(p[a],m.opts)),l=0,c=u.length;l<c;l++)f=u[l],void 0!==(i="cell"===e?n.call(g,p[a],f.row,f.column,a,l):n.call(g,p[a],f,a,l,d))&&h.push(i)}if(h.length||o){var v=new r(p,t?h.concat.apply([],h):h),b=v.selector;return b.rows=m.rows,b.cols=m.cols,b.opts=m.opts,v}return this},lastIndexOf:se.lastIndexOf,length:0,map:function(t){var e=se.map.call(this,t,this);return new r(this.context,e)},pluck:function(t){var e=s.util.get(t);return this.map((function(t){return e(t)}))},pop:se.pop,push:se.push,reduce:se.reduce,reduceRight:se.reduceRight,reverse:se.reverse,selector:null,shift:se.shift,slice:function(){return new r(this.context,this)},sort:se.sort,splice:se.splice,toArray:function(){return se.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new r(this.context,A(this.toArray()))},unshift:se.unshift}),e.__apiStruct=ae,r.extend=function(t,e,n){var o,i,a;if(n.length&&e&&(e instanceof r||e.__dt_wrapper))for(o=0,i=n.length;o<i;o++)"__proto__"!==(a=n[o]).name&&(e[a.name]="function"===a.type?le(t,a.val,a):"object"===a.type?{}:a.val,e[a.name].__dt_wrapper=!0,r.extend(t,e[a.name],a.propExt))},r.register=i=function(e,n){if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.register(e[o],n);else{var a,s,l,c,d=e.split("."),u=ae;for(a=0,s=d.length;a<s;a++){var f=ce(u,l=(c=-1!==d[a].indexOf("()"))?d[a].replace("()",""):d[a]);f||(f={name:l,val:{},methodExt:[],propExt:[],type:"object"},u.push(f)),a===s-1?(f.val=n,f.type="function"==typeof n?"function":t.isPlainObject(n)?"object":"other"):u=c?f.methodExt:f.propExt}}},r.registerPlural=a=function(t,e,n){r.register(t,n),r.register(e,(function(){var t=n.apply(this,arguments);return t===this?this:t instanceof r?t.length?Array.isArray(t[0])?new r(t.context,t[0]):t[0]:void 0:t}))};var de=function(e,n){if(Array.isArray(e)){var o=[];return e.forEach((function(t){var e=de(t,n);o.push.apply(o,e)})),o.filter((function(t){return t}))}if("number"==typeof e)return[n[e]];var r=n.map((function(t){return t.nTable}));return t(r).filter(e).map((function(){var t=r.indexOf(this);return n[t]})).toArray()};i("tables()",(function(t){return null!=t?new r(de(t,this.context)):this})),i("table()",(function(t){var e=this.tables(t),n=e.context;return n.length?new r(n[0]):e})),[["nodes","node","nTable"],["body","body","nTBody"],["header","header","nTHead"],["footer","footer","nTFoot"]].forEach((function(t){a("tables()."+t[0]+"()","table()."+t[1]+"()",(function(){return this.iterator("table",(function(e){return e[t[2]]}),1)}))})),[["header","aoHeader"],["footer","aoFooter"]].forEach((function(t){i("table()."+t[0]+".structure()",(function(e){var n=this.columns(e).indexes().flatten(),o=this.context[0];return ut(o,o[t[1]],n)}))})),a("tables().containers()","table().container()",(function(){return this.iterator("table",(function(t){return t.nTableWrapper}),1)})),i("tables().every()",(function(t){var e=this;return this.iterator("table",(function(n,o){t.call(e.table(o),o)}))})),i("caption()",(function(e,n){var o=this.context;if(void 0===e){var r=o[0].captionNode;return r&&o.length?r.innerHTML:null}return this.iterator("table",(function(o){var r=t(o.nTable),i=t(o.captionNode),a=t(o.nTableWrapper);if(i.length||(i=t("<caption/>").html(e),o.captionNode=i[0],n||(r.prepend(i),n=i.css("caption-side"))),i.html(e),n&&(i.css("caption-side",n),i[0]._captionSide=n),a.find("div.dataTables_scroll").length){var s="top"===n?"Head":"Foot";a.find("div.dataTables_scroll"+s+" table").prepend(i)}else r.prepend(i)}),1)})),i("caption.node()",(function(){var t=this.context;return t.length?t[0].captionNode:null})),i("draw()",(function(t){return this.iterator("table",(function(e){"page"===t?ht(e):("string"==typeof t&&(t="full-hold"!==t),pt(e,!1===t))}))})),i("page()",(function(t){return void 0===t?this.page.info().page:this.iterator("table",(function(e){kt(e,t)}))})),i("page.info()",(function(){if(0!==this.context.length){var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,o=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(o/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:o,serverSide:"ssp"===re(t)}}})),i("page.len()",(function(t){return void 0===t?0!==this.context.length?this.context[0]._iDisplayLength:void 0:this.iterator("table",(function(e){Lt(e,t)}))}));var ue=function(t,e,n){if(n){var o=new r(t);o.one("draw",(function(){n(o.ajax.json())}))}if("ssp"==re(t))pt(t,e);else{Ft(t,!0);var i=t.jqXHR;i&&4!==i.readyState&&i.abort(),_t(t,{},(function(n){rt(t);for(var o=xt(t,n),r=0,i=o.length;r<i;r++)$(t,o[r]);pt(t,e),Nt(t),Ft(t,!1)}))}};i("ajax.json()",(function(){var t=this.context;if(t.length>0)return t[0].json})),i("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),i("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){ue(n,!1===e,t)}))})),i("ajax.url()",(function(e){var n=this.context;if(void 0===e){if(0===n.length)return;return n=n[0],t.isPlainObject(n.ajax)?n.ajax.url:n.ajax}return this.iterator("table",(function(n){t.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e}))})),i("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){ue(n,!1===e,t)}))}));var fe=function(t,e,n,r,i){var a,s,l,c,d,u,f=[],h=typeof e;for(e&&"string"!==h&&"function"!==h&&void 0!==e.length||(e=[e]),l=0,c=e.length;l<c;l++)for(d=0,u=(s=e[l]&&e[l].split&&!e[l].match(/[[(:]/)?e[l].split(","):[e[l]]).length;d<u;d++)(a=(a=n("string"==typeof s[d]?s[d].trim():s[d])).filter((function(t){return null!=t})))&&a.length&&(f=f.concat(a));var p=o.selector[t];if(p.length)for(l=0,c=p.length;l<c;l++)f=p[l](r,i,f);return A(f)},he=function(e){return e||(e={}),e.filter&&void 0===e.search&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},pe=function(t){var e=new r(t.context[0]);return t.length&&e.push(t[0]),e.selector=t.selector,e.length&&e[0].length>1&&e[0].splice(1),e},me=function(t,e){var n,o,r,i=[],a=t.aiDisplay,s=t.aiDisplayMaster,l=e.search,c=e.order,d=e.page;if("ssp"==re(t))return"removed"===l?[]:x(0,s.length);if("current"==d)for(n=t._iDisplayStart,o=t.fnDisplayEnd();n<o;n++)i.push(a[n]);else if("current"==c||"applied"==c){if("none"==l)i=s.slice();else if("applied"==l)i=a.slice();else if("removed"==l){var u={};for(n=0,o=a.length;n<o;n++)u[a[n]]=null;s.forEach((function(t){Object.prototype.hasOwnProperty.call(u,t)||i.push(t)}))}}else if("index"==c||"original"==c)for(n=0,o=t.aoData.length;n<o;n++)t.aoData[n]&&("none"==l||-1===(r=a.indexOf(n))&&"removed"==l||r>=0&&"applied"==l)&&i.push(n);else if("number"==typeof c){var f=Vt(t,c,"asc");if("none"===l)i=f;else for(n=0;n<f.length;n++)(-1===(r=a.indexOf(f[n]))&&"removed"==l||r>=0&&"applied"==l)&&i.push(f[n])}return i};i("rows()",(function(e,n){void 0===e?e="":t.isPlainObject(e)&&(n=e,e=""),n=he(n);var o=this.iterator("table",(function(o){return function(e,n,o){var r,i=fe("row",n,(function(n){var i=g(n),a=e.aoData;if(null!==i&&!o)return[i];if(r||(r=me(e,o)),null!==i&&-1!==r.indexOf(i))return[i];if(null==n||""===n)return r;if("function"==typeof n)return r.map((function(t){var e=a[t];return n(t,e._aData,e.nTr)?t:null}));if(n.nodeName){var s=n._DT_RowIndex,l=n._DT_CellIndex;if(void 0!==s)return a[s]&&a[s].nTr===n?[s]:[];if(l)return a[l.row]&&a[l.row].nTr===n.parentNode?[l.row]:[];var c=t(n).closest("*[data-dt-row]");return c.length?[c.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var d=e.aIds[n.replace(/^#/,"")];if(void 0!==d)return[d.idx]}var u=T(_(e.aoData,r,"nTr"));return t(u).filter(n).map((function(){return this._DT_RowIndex})).toArray()}),e,o);return"current"!==o.order&&"applied"!==o.order||Ut(e,i),i}(o,e,n)}),1);return o.selector.rows=e,o.selector.opts=n,o})),i("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||void 0}),1)})),i("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return _(t.aoData,e,"_aData")}),1)})),a("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var o=e.aoData[n];return"search"===t?o._aFilterData:o._aSortData}),1)})),a("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){it(e,n,t)}))})),a("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),a("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,o=0,i=n.length;o<i;o++)for(var a=0,s=this[o].length;a<s;a++){var l=n[o].rowIdFn(n[o].aoData[this[o][a]]._aData);e.push((!0===t?"#":"")+l)}return new r(n,e)})),a("rows().remove()","row().remove()",(function(){return this.iterator("row",(function(t,e){var n=t.aoData,o=n[e],r=t.aiDisplayMaster.indexOf(e);-1!==r&&t.aiDisplayMaster.splice(r,1),t._iRecordsDisplay>0&&t._iRecordsDisplay--,ne(t);var i=t.rowIdFn(o._aData);void 0!==i&&delete t.aIds[i],n[e]=null})),this})),i("rows.add()",(function(t){var e=this.iterator("table",(function(e){var n,o,r,i=[];for(o=0,r=t.length;o<r;o++)(n=t[o]).nodeName&&"TR"===n.nodeName.toUpperCase()?i.push(Q(e,n)[0]):i.push($(e,n));return i}),1),n=this.rows(-1);return n.pop(),n.push.apply(n,e),n})),i("row()",(function(t,e){return pe(this.rows(t,e))})),i("row().data()",(function(t){var e=this.context;if(void 0===t)return e.length&&this.length&&this[0].length?e[0].aoData[this[0]]._aData:void 0;var n=e[0].aoData[this[0]];return n._aData=t,Array.isArray(t)&&n.nTr&&n.nTr.id&&nt(e[0].rowId)(t,n.nTr.id),it(e[0],this[0],"data"),this})),i("row().node()",(function(){var t=this.context;if(t.length&&this.length&&this[0].length){var e=t[0].aoData[this[0]];if(e&&e.nTr)return e.nTr}return null})),i("row.add()",(function(e){e instanceof t&&e.length&&(e=e[0]);var n=this.iterator("table",(function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?Q(t,e)[0]:$(t,e)}));return this.row(n[0])})),t(n).on("plugin-init.dt",(function(t,e){var n=new r(e);n.on("stateSaveParams.DT",(function(t,e,n){for(var o=e.rowIdFn,r=e.aiDisplayMaster,i=[],a=0;a<r.length;a++){var s=r[a],l=e.aoData[s];l._detailsShow&&i.push("#"+o(l._aData))}n.childRows=i})),n.on("stateLoaded.DT",(function(t,e,o){ge(n,o)})),ge(n,n.state.loaded())}));var ge=function(t,e){e&&e.childRows&&t.rows(e.childRows.map((function(t){return t.replace(/([^:\\]*(?:\\.[^:\\]*)*):/g,"$1\\:")}))).every((function(){ee(t.settings()[0],null,"requestChild",[this])}))},ve=s.util.throttle((function(t){$t(t[0])}),500),be=function(e,n){var o=e.context;if(o.length){var r=o[0].aoData[void 0!==n?n:e[0]];r&&r._details&&(r._details.remove(),r._detailsShow=void 0,r._details=void 0,t(r.nTr).removeClass("dt-hasChild"),ve(o))}},ye=function(e,n){var o=e.context;if(o.length&&e.length){var r=o[0].aoData[e[0]];r._details&&(r._detailsShow=n,n?(r._details.insertAfter(r.nTr),t(r.nTr).addClass("dt-hasChild")):(r._details.detach(),t(r.nTr).removeClass("dt-hasChild")),ee(o[0],null,"childRow",[n,e.row(e[0])]),we(o[0]),ve(o))}},we=function(e){var n=new r(e),o=".dt.DT_details",i="draw"+o,a="column-sizing"+o,s="destroy"+o,l=e.aoData;n.off(i+" "+a+" "+s),w(l,"_details").length>0&&(n.on(i,(function(t,o){e===o&&n.rows({page:"current"}).eq(0).each((function(t){var e=l[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),n.on(a,(function(n,o){if(e===o)for(var r,i=q(o),a=0,s=l.length;a<s;a++)(r=l[a])&&r._details&&r._details.each((function(){var e=t(this).children("td");1==e.length&&e.attr("colspan",i)}))})),n.on(s,(function(t,o){if(e===o)for(var r=0,i=l.length;r<i;r++)l[r]&&l[r]._details&&be(n,r)})))},_e="row().child",xe=_e+"()";i(xe,(function(e,n){var o=this.context;return void 0===e?o.length&&this.length&&o[0].aoData[this[0]]?o[0].aoData[this[0]]._details:void 0:(!0===e?this.child.show():!1===e?be(this):o.length&&this.length&&function(e,n,o,r){var i=[],a=function(o,r){if(Array.isArray(o)||o instanceof t)for(var s=0,l=o.length;s<l;s++)a(o[s],r);else if(o.nodeName&&"tr"===o.nodeName.toLowerCase())o.setAttribute("data-dt-row",n.idx),i.push(o);else{var c=t("<tr><td></td></tr>").attr("data-dt-row",n.idx).addClass(r);t("td",c).addClass(r).html(o)[0].colSpan=q(e),i.push(c[0])}};a(o,r),n._details&&n._details.detach(),n._details=t(i),n._detailsShow&&n._details.insertAfter(n.nTr)}(o[0],o[0].aoData[this[0]],e,n),this)})),i([_e+".show()",xe+".show()"],(function(){return ye(this,!0),this})),i([_e+".hide()",xe+".hide()"],(function(){return ye(this,!1),this})),i([_e+".remove()",xe+".remove()"],(function(){return be(this),this})),i(_e+".isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]&&t[0].aoData[this[0]]._detailsShow||!1}));var Te=/^([^:]+)?:(name|title|visIdx|visible)$/,De=function(t,e,n,o,r,i){for(var a=[],s=0,l=r.length;s<l;s++)a.push(Z(t,r[s],e,i));return a},Ce=function(t,e,n){var o=t.aoHeader;return o[void 0!==n?n:t.bSortCellsTop?0:o.length-1][e].cell};i("columns()",(function(e,n){void 0===e?e="":t.isPlainObject(e)&&(n=e,e=""),n=he(n);var o=this.iterator("table",(function(o){return function(e,n,o){var r=e.aoColumns,i=w(r,"sName"),a=w(r,"sTitle"),l=s.util.get("[].[].cell")(e.aoHeader),c=A(I([],l));return fe("column",n,(function(n){var s=g(n);if(""===n)return x(r.length);if(null!==s)return[s>=0?s:r.length+s];if("function"==typeof n){var l=me(e,o);return r.map((function(t,o){return n(o,De(e,o,0,0,l),Ce(e,o))?o:null}))}var d="string"==typeof n?n.match(Te):"";if(d)switch(d[2]){case"visIdx":case"visible":if(d[1]&&d[1].match(/^\d+$/)){var u=parseInt(d[1],10);if(u<0){var f=r.map((function(t,e){return t.bVisible?e:null}));return[f[f.length+u]]}return[M(e,u)]}return r.map((function(e,n){return e.bVisible?d[1]?t(c[n]).filter(d[1]).length>0?n:null:n:null}));case"name":return i.map((function(t,e){return t===d[1]?e:null}));case"title":return a.map((function(t,e){return t===d[1]?e:null}));default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var h=t(c).filter(n).map((function(){return Y(this)})).toArray();if(h.length||!n.nodeName)return h;var p=t(n).closest("*[data-dt-column]");return p.length?[p.data("dt-column")]:[]}),e,o)}(o,e,n)}),1);return o.selector.cols=e,o.selector.opts=n,o})),a("columns().header()","column().header()",(function(t){return this.iterator("column",(function(e,n){return Ce(e,n,t)}),1)})),a("columns().footer()","column().footer()",(function(t){return this.iterator("column",(function(e,n){return e.aoFooter.length?e.aoFooter[void 0!==t?t:0][n].cell:null}),1)})),a("columns().data()","column().data()",(function(){return this.iterator("column-rows",De,1)})),a("columns().render()","column().render()",(function(t){return this.iterator("column-rows",(function(e,n,o,r,i){return De(e,n,0,0,i,t)}),1)})),a("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),a("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,o,r,i){return _(e.aoData,i,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),a("columns().init()","column().init()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e]}),1)})),a("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,o,r){return _(t.aoData,r,"anCells",e)}),1)})),a("columns().titles()","column().title()",(function(e,n){return this.iterator("column",(function(o,r){"number"==typeof e&&(n=e,e=void 0);var i=t("span.dt-column-title",this.column(r).header(n));return void 0!==e?(i.html(e),this):i.html()}),1)})),a("columns().types()","column().type()",(function(){return this.iterator("column",(function(t,e){var n=t.aoColumns[e].sType;return n||B(t),n}),1)})),a("columns().visible()","column().visible()",(function(e,n){var o=this,r=[],i=this.iterator("column",(function(n,o){if(void 0===e)return n.aoColumns[o].bVisible;(function(e,n,o){var r,i,a,s,l=e.aoColumns,c=l[n],d=e.aoData;if(void 0===o)return c.bVisible;if(c.bVisible===o)return!1;if(o){var u=w(l,"bVisible").indexOf(!0,n+1);for(i=0,a=d.length;i<a;i++)d[i]&&(s=d[i].nTr,r=d[i].anCells,s&&s.insertBefore(r[n],r[u]||null))}else t(w(e.aoData,"anCells",n)).detach();return c.bVisible=o,Et(e),!0})(n,o,e)&&r.push(o)}));return void 0!==e&&this.iterator("table",(function(i){ft(i,i.aoHeader),ft(i,i.aoFooter),i.aiDisplay.length||t(i.nTBody).find("td[colspan]").attr("colspan",q(i)),$t(i),o.iterator("column",(function(t,o){r.includes(o)&&ee(t,null,"column-visibility",[t,o,e,n])})),r.length&&(void 0===n||n)&&o.columns.adjust()})),i})),a("columns().widths()","column().width()",(function(){var e=this.columns(":visible").count(),n=t("<tr>").html("<td>"+Array(e).join("</td><td>")+"</td>");t(this.table().body()).append(n);var o=n.children().map((function(){return t(this).outerWidth()}));return n.remove(),this.iterator("column",(function(t,e){var n=E(t,e);return null!==n?o[n]:0}),1)})),a("columns().indexes()","column().index()",(function(t){return this.iterator("column",(function(e,n){return"visible"===t?E(e,n):n}),1)})),i("columns.adjust()",(function(){return this.iterator("table",(function(t){H(t)}),1)})),i("column.index()",(function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return M(n,e);if("fromData"===t||"toVisible"===t)return E(n,e)}})),i("column()",(function(t,e){return pe(this.columns(t,e))}));i("cells()",(function(e,n,o){if(t.isPlainObject(e)&&(void 0===e.row?(o=e,e=null):(o=n,n=null)),t.isPlainObject(n)&&(o=n,n=null),null==n)return this.iterator("table",(function(n){return function(e,n,o){var r,i,a,s,l,c,d,u=e.aoData,f=me(e,o),h=T(_(u,f,"anCells")),p=t(I([],h)),m=e.aoColumns.length;return fe("cell",n,(function(n){var o="function"==typeof n;if(null==n||o){for(i=[],a=0,s=f.length;a<s;a++)for(r=f[a],l=0;l<m;l++)c={row:r,column:l},o?(d=u[r],n(c,Z(e,r,l),d.anCells?d.anCells[l]:null)&&i.push(c)):i.push(c);return i}if(t.isPlainObject(n))return void 0!==n.column&&void 0!==n.row&&-1!==f.indexOf(n.row)?[n]:[];var h=p.filter(n).map((function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}})).toArray();return h.length||!n.nodeName?h:(d=t(n).closest("*[data-dt-row]")).length?[{row:d.data("dt-row"),column:d.data("dt-column")}]:[]}),e,o)}(n,e,he(o))}));var r,i,a,s,l=o?{page:o.page,order:o.order,search:o.search}:{},c=this.columns(n,l),d=this.rows(e,l),u=this.iterator("table",(function(t,e){var n=[];for(r=0,i=d[e].length;r<i;r++)for(a=0,s=c[e].length;a<s;a++)n.push({row:d[e][r],column:c[e][a]});return n}),1),f=o&&o.selected?this.cells(u,o):u;return t.extend(f.selector,{cols:n,rows:e,opts:o}),f})),a("cells().nodes()","cell().node()",(function(){return this.iterator("cell",(function(t,e,n){var o=t.aoData[e];return o&&o.anCells?o.anCells[n]:void 0}),1)})),i("cells().data()",(function(){return this.iterator("cell",(function(t,e,n){return Z(t,e,n)}),1)})),a("cells().cache()","cell().cache()",(function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",(function(e,n,o){return e.aoData[n][t][o]}),1)})),a("cells().render()","cell().render()",(function(t){return this.iterator("cell",(function(e,n,o){return Z(e,n,o,t)}),1)})),a("cells().indexes()","cell().index()",(function(){return this.iterator("cell",(function(t,e,n){return{row:e,column:n,columnVisible:E(t,n)}}),1)})),a("cells().invalidate()","cell().invalidate()",(function(t){return this.iterator("cell",(function(e,n,o){it(e,n,t,o)}))})),i("cell()",(function(t,e,n){return pe(this.cells(t,e,n))})),i("cell().data()",(function(t){var e,n,o,r,i,a,s=this.context,l=this[0];return void 0===t?s.length&&l.length?Z(s[0],l[0].row,l[0].column):void 0:(e=s[0],n=l[0].row,o=l[0].column,r=t,i=e.aoColumns[o],a=e.aoData[n]._aData,i.fnSetData(a,r,{settings:e,row:n,col:o}),it(s[0],l[0].row,"data",l[0].column),this)})),i("order()",(function(t,e){var n=this.context,o=Array.prototype.slice.call(arguments);return void 0===t?0!==n.length?n[0].aaSorting:void 0:("number"==typeof t?t=[[t,e]]:o.length>1&&(t=o),this.iterator("table",(function(e){e.aaSorting=Array.isArray(t)?t.slice():t})))})),i("order.listener()",(function(t,e,n){return this.iterator("table",(function(o){qt(o,t,{},e,n)}))})),i("order.fixed()",(function(e){if(!e){var n=this.context,o=n.length?n[0].aaSortingFixed:void 0;return Array.isArray(o)?{pre:o}:o}return this.iterator("table",(function(n){n.aaSortingFixed=t.extend(!0,{},e)}))})),i(["columns().order()","column().order()"],(function(t){var e=this;return t?this.iterator("table",(function(n,o){n.aaSorting=e[o].map((function(e){return[e,t]}))})):this.iterator("column",(function(t,e){for(var n=Bt(t),o=0,r=n.length;o<r;o++)if(n[o].col===e)return n[o].dir;return null}),1)})),a("columns().orderable()","column().orderable()",(function(t){return this.iterator("column",(function(e,n){var o=e.aoColumns[n];return t?o.asSorting:o.bSortable}),1)})),i("processing()",(function(t){return this.iterator("table",(function(e){Ft(e,t)}))})),i("search()",(function(e,n,o,r){var i=this.context;return void 0===e?0!==i.length?i[0].oPreviousSearch.search:void 0:this.iterator("table",(function(i){i.oFeatures.bFilter&&Dt(i,"object"==typeof n?t.extend(i.oPreviousSearch,n,{search:e}):t.extend(i.oPreviousSearch,{search:e,regex:null!==n&&n,smart:null===o||o,caseInsensitive:null===r||r}))}))})),i("search.fixed()",(function(t,e){var n=this.iterator(!0,"table",(function(n){var o=n.searchFixed;return t?void 0===e?o[t]:(null===e?delete o[t]:o[t]=e,this):Object.keys(o)}));return void 0!==t&&void 0===e?n[0]:n})),a("columns().search()","column().search()",(function(e,n,o,r){return this.iterator("column",(function(i,a){var s=i.aoPreSearchCols;if(void 0===e)return s[a].search;i.oFeatures.bFilter&&("object"==typeof n?t.extend(s[a],n,{search:e}):t.extend(s[a],{search:e,regex:null!==n&&n,smart:null===o||o,caseInsensitive:null===r||r}),Dt(i,i.oPreviousSearch))}))})),i(["columns().search.fixed()","column().search.fixed()"],(function(t,e){var n=this.iterator(!0,"column",(function(n,o){var r=n.aoColumns[o].searchFixed;return t?void 0===e?r[t]:(null===e?delete r[t]:r[t]=e,this):Object.keys(r)}));return void 0!==t&&void 0===e?n[0]:n})),i("state()",(function(e,n){if(!e)return this.context.length?this.context[0].oSavedState:null;var o=t.extend(!0,{},e);return this.iterator("table",(function(t){!1!==n&&(o.time=+new Date+100),Qt(t,o,(function(){}))}))})),i("state.clear()",(function(){return this.iterator("table",(function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})}))})),i("state.loaded()",(function(){return this.context.length?this.context[0].oLoadedState:null})),i("state.save()",(function(){return this.iterator("table",(function(t){$t(t)}))})),s.use=function(o,r){var i="string"==typeof o?r:o,a="string"==typeof r?r:o;if(void 0===i&&"string"==typeof a)switch(a){case"lib":case"jq":return t;case"win":return e;case"datetime":return s.DateTime;case"luxon":return Re;case"moment":return Ne;default:return null}"lib"===a||"jq"===a||i&&i.fn&&i.fn.jquery?t=i:"win"==a||i&&i.document?(e=i,n=i.document):"datetime"===a||i&&"DateTime"===i.type?s.DateTime=i:"luxon"===a||i&&i.FixedOffsetZone?Re=i:("moment"===a||i&&i.isMoment)&&(Ne=i)},s.factory=function(o,r){var i=!1;return o&&o.document&&(e=o,n=o.document),r&&r.fn&&r.fn.jquery&&(t=r,i=!0),i},s.versionCheck=function(t,e){for(var n,o,r=e?e.split("."):s.version.split("."),i=t.split("."),a=0,l=i.length;a<l;a++)if((n=parseInt(r[a],10)||0)!==(o=parseInt(i[a],10)||0))return n>o;return!0},s.isDataTable=function(e){var n=t(e).get(0),o=!1;return e instanceof s.Api||(t.each(s.settings,(function(e,r){var i=r.nScrollHead?t("table",r.nScrollHead)[0]:null,a=r.nScrollFoot?t("table",r.nScrollFoot)[0]:null;r.nTable!==n&&i!==n&&a!==n||(o=!0)})),o)},s.tables=function(e){var n=!1;t.isPlainObject(e)&&(n=e.api,e=e.visible);var o=s.settings.filter((function(n){return!!(!e||e&&t(n.nTable).is(":visible"))})).map((function(t){return t.nTable}));return n?new r(o):o},s.camelToHungarian=L,i("$()",(function(e,n){var o=this.rows(n).nodes(),r=t(o);return t([].concat(r.filter(e).toArray(),r.find(e).toArray()))})),t.each(["on","one","off"],(function(e,n){i(n+"()",(function(){var e=Array.prototype.slice.call(arguments);e[0]=e[0].split(/\s/).map((function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" ");var o=t(this.tables().nodes());return o[n].apply(o,e),this}))})),i("clear()",(function(){return this.iterator("table",(function(t){rt(t)}))})),i("error()",(function(t){return this.iterator("table",(function(e){Zt(e,0,t)}))})),i("settings()",(function(){return new r(this.context,this.context)})),i("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),i("data()",(function(){return this.iterator("table",(function(t){return w(t.aoData,"_aData")})).flatten()})),i("trigger()",(function(t,e,n){return this.iterator("table",(function(o){return ee(o,null,t,e,n)})).flatten()})),i("ready()",(function(t){var e=this.context;return t?this.tables().every((function(){this.context[0]._bInitComplete?t.call(this):this.on("init.dt.DT",(function(){t.call(this)}))})):e.length?e[0]._bInitComplete||!1:null})),i("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(o){var i=o.oClasses,a=o.nTable,l=o.nTBody,c=o.nTHead,d=o.nTFoot,u=t(a),f=t(l),h=t(o.nTableWrapper),p=o.aoData.map((function(t){return t?t.nTr:null})),m=i.order;o.bDestroying=!0,ee(o,"aoDestroyCallback","destroy",[o],!0),n||new r(o).columns().visible(!0),h.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+o.sInstance),a!=c.parentNode&&(u.children("thead").detach(),u.append(c)),d&&a!=d.parentNode&&(u.children("tfoot").detach(),u.append(d)),o.colgroup.remove(),o.aaSorting=[],o.aaSortingFixed=[],Xt(o),t("th, td",c).removeClass(m.canAsc+" "+m.canDesc+" "+m.isAsc+" "+m.isDesc).css("width",""),f.children().detach(),f.append(p);var g=o.nTableWrapper.parentNode,v=o.nTableWrapper.nextSibling,b=n?"remove":"detach";u[b](),h[b](),!n&&g&&(g.insertBefore(a,v),u.css("width",o.sDestroyWidth).removeClass(i.table));var y=s.settings.indexOf(o);-1!==y&&s.settings.splice(y,1)}))})),t.each(["column","row","cell"],(function(t,e){i(e+"s().every()",(function(t){var n,o=this.selector.opts,r=this,i=0;return this.iterator("every",(function(a,s,l){n=r[e](s,o),"cell"===e?t.call(n,n[0][0].row,n[0][0].column,l,i):t.call(n,s,l,i),i++}))}))})),i("i18n()",(function(e,n,o){var r=this.context[0],i=et(e)(r.oLanguage);return void 0===i&&(i=n),t.isPlainObject(i)&&(i=void 0!==o&&void 0!==i[o]?i[o]:i._),"string"==typeof i?i.replace("%d",o):i})),s.version="2.1.8",s.settings=[],s.models={},s.models.oSearch={caseInsensitive:!0,search:"",regex:!1,smart:!0,return:!1},s.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,src:null,idx:-1,displayData:null},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,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null,maxLenString:null,searchFixed:null},s.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],bAutoWidth:!0,bDeferRender:!0,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:null,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,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,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{orderable:": Activate to sort",orderableReverse:": Activate to invert sorting",orderableRemove:": Activate to remove sorting",paginate:{first:"First",last:"Last",next:"Next",previous:"Previous",number:""}},oPaginate:{sFirst:"«",sLast:"»",sNext:"›",sPrevious:"‹"},entries:{_:"entries",1:"entry"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ _ENTRIES-TOTAL_",sInfoEmpty:"Showing 0 to 0 of 0 _ENTRIES-TOTAL_",sInfoFiltered:"(filtered from _MAX_ total _ENTRIES-MAX_)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_ _ENTRIES_ per page",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},orderDescReverse:!0,oSearch:t.extend({},s.models.oSearch),layout:{topStart:"pageLength",topEnd:"search",bottomStart:"info",bottomEnd:"paging"},sDom:null,searchDelay:null,sPaginationType:"",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId",caption:null,iDeferLoading:null},N(s.defaults),s.defaults.column={aDataSort:null,iDataSort:-1,ariaTitle:"",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},N(s.defaults.column),s.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:!0,bLengthChange:!0,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:{bScrollbarLeft:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},searchFixed:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",pagingControls:0,iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,bAjaxDataGet:!0,jqXHR:null,json:void 0,oAjaxData:void 0,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"==re(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==re(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,o=this.aiDisplay.length,r=this.oFeatures,i=r.bPaginate;return r.bServerSide?!1===i||-1===t?e+o:Math.min(e+t,this._iRecordsDisplay):!i||n>o||-1===t?o:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null,caption:"",captionNode:null,colgroup:null,deferLoading:null,typeDetect:!0};var Se=s.ext.pager;t.extend(Se,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(){return["numbers"]},simple_numbers:function(){return["previous","numbers","next"]},full_numbers:function(){return["first","previous","numbers","next","last"]},first_last:function(){return["first","last"]},first_last_numbers:function(){return["first","numbers","last"]},_numbers:Xe,numbers_length:7}),t.extend(!0,s.ext.renderer,{pagingButton:{_:function(e,n,o,r,i){var a,s=e.oClasses.paging,l=[s.button];return r&&l.push(s.active),i&&l.push(s.disabled),{display:a="ellipsis"===n?t('<span class="ellipsis"></span>').html(o)[0]:t("<button>",{class:l.join(" "),role:"link",type:"button"}).html(o),clicker:a}}},pagingContainer:{_:function(t,e){return e}}});var Ae=function(t,e){return function(n){return m(n)||"string"!=typeof n||(n=n.replace(c," "),t&&(n=D(n)),e&&(n=S(n,!1))),n}};function Ie(t,e,n,o,r){return Ne?t[e](r):Re?t[n](r):o?t[o](r):t}var Re,Ne,Le=!1;function ke(t,n,o){var r;if(e.luxon&&!Re&&(Re=e.luxon),e.moment&&!Ne&&(Ne=e.moment),Ne){if(!(r=Ne.utc(t,n,o,!0)).isValid())return null}else if(Re){if(!(r=n&&"string"==typeof t?Re.DateTime.fromFormat(t,n):Re.DateTime.fromISO(t)).isValid)return null;r.setLocale(o)}else n?(Le||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),Le=!0):r=new Date(t);return r}function Fe(t){return function(e,n,o,r){0===arguments.length?(o="en",n=null,e=null):1===arguments.length?(o="en",n=e,e=null):2===arguments.length&&(o=n,n=e,e=null);var i="datetime"+(n?"-"+n:"");return s.ext.type.order[i+"-pre"]||s.type(i,{detect:function(t){return t===i&&i},order:{pre:function(t){return t.valueOf()}},className:"dt-right"}),function(a,s){if(null==a)if("--now"===r){var l=new Date;a=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds()))}else a="";if("type"===s)return i;if(""===a)return"sort"!==s?"":ke("0000-01-01 00:00:00",null,o);if(null!==n&&e===n&&"sort"!==s&&"type"!==s&&!(a instanceof Date))return a;var c=ke(a,e,o);if(null===c)return a;if("sort"===s)return c;var d=null===n?Ie(c,"toDate","toJSDate","")[t]():Ie(c,"format","toFormat","toISOString",n);return"display"===s?C(d):d}}}var je=",",Pe=".";if(void 0!==e.Intl)try{for(var Oe=(new Intl.NumberFormat).formatToParts(100000.1),He=0;He<Oe.length;He++)"group"===Oe[He].type?je=Oe[He].value:"decimal"===Oe[He].type&&(Pe=Oe[He].value)}catch(t){}s.datetime=function(t,e){var n="datetime-"+t;e||(e="en"),s.ext.type.order[n]||s.type(n,{detect:function(o){var r=ke(o,t,e);return!(""!==o&&!r)&&n},order:{pre:function(n){return ke(n,t,e)||0}},className:"dt-right"})},s.render={date:Fe("toLocaleDateString"),datetime:Fe("toLocaleString"),time:Fe("toLocaleTimeString"),number:function(t,e,n,o,r){return null==t&&(t=je),null==e&&(e=Pe),{display:function(i){if("number"!=typeof i&&"string"!=typeof i)return i;if(""===i||null===i)return i;var a=i<0?"-":"",s=parseFloat(i),l=Math.abs(s);if(l>=1e11||l<1e-4&&0!==l){var c=s.toExponential(n).split(/e\+?/);return c[0]+" x 10<sup>"+c[1]+"</sup>"}if(isNaN(s))return C(i);s=s.toFixed(n),i=Math.abs(s);var d=parseInt(i,10),u=n?e+(i-d).toFixed(n).substring(2):"";return 0===d&&0===parseFloat(u)&&(a=""),a+(o||"")+d.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+u+(r||"")}}},text:function(){return{display:C,filter:C}}};var Me=s.ext.type;s.type=function(t,e,n){if(!e)return{className:Me.className[t],detect:Me.detect.find((function(e){return e._name===t})),order:{pre:Me.order[t+"-pre"],asc:Me.order[t+"-asc"],desc:Me.order[t+"-desc"]},render:Me.render[t],search:Me.search[t]};var o=function(e,n){Me[e][t]=n},r=function(e){Object.defineProperty(e,"_name",{value:t});var n=Me.detect.findIndex((function(e){return e._name===t}));-1===n?Me.detect.unshift(e):Me.detect.splice(n,1,e)},i=function(e){Me.order[t+"-pre"]=e.pre,Me.order[t+"-asc"]=e.asc,Me.order[t+"-desc"]=e.desc};void 0===n&&(n=e,e=null),"className"===e?o("className",n):"detect"===e?r(n):"order"===e?i(n):"render"===e?o("render",n):"search"===e?o("search",n):e||(n.className&&o("className",n.className),void 0!==n.detect&&r(n.detect),n.order&&i(n.order),void 0!==n.render&&o("render",n.render),void 0!==n.search&&o("search",n.search))},s.types=function(){return Me.detect.map((function(t){return t._name}))};var Ee=function(t,e){return t=null!=t?t.toString().toLowerCase():"",e=null!=e?e.toString().toLowerCase():"",t.localeCompare(e,navigator.languages[0]||navigator.language,{numeric:!0,ignorePunctuation:!0})};s.type("string",{detect:function(){return"string"},order:{pre:function(t){return m(t)&&"boolean"!=typeof t?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""}},search:Ae(!1,!0)}),s.type("string-utf8",{detect:{allOf:function(t){return!0},oneOf:function(t){return!m(t)&&navigator.languages&&"string"==typeof t&&t.match(/[^\x00-\x7F]/)}},order:{asc:Ee,desc:function(t,e){return-1*Ee(t,e)}},search:Ae(!1,!0)}),s.type("html",{detect:{allOf:function(t){return m(t)||"string"==typeof t&&-1!==t.indexOf("<")},oneOf:function(t){return!m(t)&&"string"==typeof t&&-1!==t.indexOf("<")}},order:{pre:function(t){return m(t)?"":t.replace?D(t).trim().toLowerCase():t+""}},search:Ae(!0,!0)}),s.type("date",{className:"dt-type-date",detect:{allOf:function(t){if(t&&!(t instanceof Date)&&!f.test(t))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||m(t)},oneOf:function(t){return t instanceof Date||"string"==typeof t&&f.test(t)}},order:{pre:function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e}}}),s.type("html-num-fmt",{className:"dt-type-numeric",detect:{allOf:function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!0,!1)},oneOf:function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!0,!1)}},order:{pre:function(t,e){var n=e.oLanguage.sDecimal;return qe(t,n,d,p)}},search:Ae(!0,!0)}),s.type("html-num",{className:"dt-type-numeric",detect:{allOf:function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!1,!0)},oneOf:function(t,e){var n=e.oLanguage.sDecimal;return y(t,n,!1,!1)}},order:{pre:function(t,e){var n=e.oLanguage.sDecimal;return qe(t,n,d)}},search:Ae(!0,!0)}),s.type("num-fmt",{className:"dt-type-numeric",detect:{allOf:function(t,e){var n=e.oLanguage.sDecimal;return b(t,n,!0,!0)},oneOf:function(t,e){var n=e.oLanguage.sDecimal;return b(t,n,!0,!1)}},order:{pre:function(t,e){var n=e.oLanguage.sDecimal;return qe(t,n,p)}}}),s.type("num",{className:"dt-type-numeric",detect:{allOf:function(t,e){var n=e.oLanguage.sDecimal;return b(t,n,!1,!0)},oneOf:function(t,e){var n=e.oLanguage.sDecimal;return b(t,n,!1,!1)}},order:{pre:function(t,e){var n=e.oLanguage.sDecimal;return qe(t,n)}}});var qe=function(t,e,n,o){if(0!==t&&(!t||"-"===t))return-1/0;var r=typeof t;return"number"===r||"bigint"===r?t:(e&&(t=v(t,e)),t.replace&&(n&&(t=t.replace(n,"")),o&&(t=t.replace(o,""))),1*t)};function Ue(t,e,n){n&&(t[e]=n)}t.extend(!0,s.ext.renderer,{footer:{_:function(t,e,n){e.addClass(n.tfoot.cell)}},header:{_:function(e,n,o){n.addClass(o.thead.cell),e.oFeatures.bSort||n.addClass(o.order.none);var r=e.bSortCellsTop,i=n.closest("thead").find("tr"),a=n.parent().index();"disable"===n.attr("data-dt-order")||"disable"===n.parent().attr("data-dt-order")||!0===r&&0!==a||!1===r&&a!==i.length-1||t(e.nTable).on("order.dt.DT column-visibility.dt.DT",(function(t,r){if(e===r){var i=r.sortDetails;if(i){var a,s=o.order,l=r.api.columns(n),c=e.aoColumns[l.flatten()[0]],d=l.orderable().includes(!0),u="",f=l.indexes(),h=l.orderable(!0).flatten(),p=w(i,"col");n.removeClass(s.isAsc+" "+s.isDesc).toggleClass(s.none,!d).toggleClass(s.canAsc,d&&h.includes("asc")).toggleClass(s.canDesc,d&&h.includes("desc"));var m=!0;for(a=0;a<f.length;a++)p.includes(f[a])||(m=!1);if(m){var g=l.order();n.addClass(g.includes("asc")?s.isAsc:""+g.includes("desc")?s.isDesc:"")}var v=-1;for(a=0;a<p.length;a++)if(e.aoColumns[p[a]].bVisible){v=p[a];break}if(f[0]==v){var b=i[0],y=c.asSorting;n.attr("aria-sort","asc"===b.dir?"ascending":"descending"),u=y[b.index+1]?"Reverse":"Remove"}else n.removeAttr("aria-sort");n.attr("aria-label",d?c.ariaTitle+r.api.i18n("oAria.orderable"+u):c.ariaTitle),d&&(n.find(".dt-column-title").attr("role","button"),n.attr("tabindex",0))}}}))}},layout:{_:function(e,n,o){var r=e.oClasses.layout,i=t("<div/>").attr("id",o.id||null).addClass(o.className||r.row).appendTo(n);t.each(o,(function(e,n){if("id"!==e&&"className"!==e){var o="";n.table&&(i.addClass(r.tableRow),o+=r.tableCell+" "),o+="start"===e?r.start:"end"===e?r.end:r.full,t("<div/>").attr({id:n.id||null,class:n.className?n.className:r.cell+" "+o}).append(n.contents).appendTo(i)}}))}}}),s.feature={},s.feature.register=function(t,e,n){s.ext.features[t]=e,n&&o.feature.push({cFeature:n,fnInit:e})},s.feature.register("div",(function(e,n){var o=t("<div>")[0];return n&&(Ue(o,"className",n.className),Ue(o,"id",n.id),Ue(o,"innerHTML",n.html),Ue(o,"textContent",n.text)),o})),s.feature.register("info",(function(e,n){if(!e.oFeatures.bInfo)return null;var o=e.oLanguage,r=e.sTableId,i=t("<div/>",{class:e.oClasses.info.container});return n=t.extend({callback:o.fnInfoCallback,empty:o.sInfoEmpty,postfix:o.sInfoPostFix,search:o.sInfoFiltered,text:o.sInfo},n),e.aoDrawCallback.push((function(t){!function(t,e,n){var o=t._iDisplayStart+1,r=t.fnDisplayEnd(),i=t.fnRecordsTotal(),a=t.fnRecordsDisplay(),s=a?e.text:e.empty;a!==i&&(s+=" "+e.search);s+=e.postfix,s=ie(t,s),e.callback&&(s=e.callback.call(t.oInstance,t,o,r,i,a,s));n.html(s),ee(t,null,"info",[t,n[0],s])}(t,n,i)})),e._infoEl||(i.attr({"aria-live":"polite",id:r+"_info",role:"status"}),t(e.nTable).attr("aria-describedby",r+"_info"),e._infoEl=i),i}),"i");var We=0;function Be(t){var e=[];return t.numbers&&e.push("numbers"),t.previousNext&&(e.unshift("previous"),e.push("next")),t.firstLast&&(e.unshift("first"),e.push("last")),e}function Ve(e,o,r){if(e._bInitComplete){var i=r.type?s.ext.pager[r.type]:Be,a=e.oLanguage.oAria.paginate||{},l=e._iDisplayStart,c=e._iDisplayLength,d=e.fnRecordsDisplay(),u=-1===c,f=u?0:Math.ceil(l/c),h=u?1:Math.ceil(d/c),p=[],m=[],g=i(r).map((function(t){return"numbers"===t?Xe(f,h,r.buttons,r.boundaryNumbers):t}));p=p.concat.apply(p,g);for(var v=0;v<p.length;v++){var b=p[v],y=ze(e,b,f,h),w=oe(e,"pagingButton")(e,b,y.display,y.active,y.disabled),_="string"==typeof b?a[b]:a.number?a.number+(b+1):null;t(w.clicker).attr({"aria-controls":e.sTableId,"aria-disabled":y.disabled?"true":null,"aria-current":y.active?"page":null,"aria-label":_,"data-dt-idx":b,tabIndex:y.disabled?-1:e.iTabIndex?e.iTabIndex:null}),"number"!=typeof b&&t(w.clicker).addClass(b),Gt(w.clicker,{action:b},(function(t){t.preventDefault(),kt(e,t.data.action,!0)})),m.push(w.display)}var x=oe(e,"pagingContainer")(e,m),T=o.find(n.activeElement).data("dt-idx");o.empty().append(x),void 0!==T&&o.find("[data-dt-idx="+T+"]").trigger("focus"),m.length&&r.buttons>1&&t(o).height()>=2*t(m[0]).outerHeight()-10&&Ve(e,o,t.extend({},r,{buttons:r.buttons-2}))}}function ze(t,e,n,o){var r=t.oLanguage.oPaginate,i={display:"",active:!1,disabled:!1};switch(e){case"ellipsis":i.display="&#x2026;",i.disabled=!0;break;case"first":i.display=r.sFirst,0===n&&(i.disabled=!0);break;case"previous":i.display=r.sPrevious,0===n&&(i.disabled=!0);break;case"next":i.display=r.sNext,0!==o&&n!==o-1||(i.disabled=!0);break;case"last":i.display=r.sLast,0!==o&&n!==o-1||(i.disabled=!0);break;default:"number"==typeof e&&(i.display=t.fnFormatNumber(e+1),n===e&&(i.active=!0))}return i}function Xe(t,e,n,o){var r=[],i=Math.floor(n/2),a=o?2:1,s=o?1:0;return e<=n?r=x(0,e):1===n?r=[t]:3===n?t<=1?r=[0,1,"ellipsis"]:t>=e-2?(r=x(e-2,e)).unshift("ellipsis"):r=["ellipsis",t,"ellipsis"]:t<=i?((r=x(0,n-a)).push("ellipsis"),o&&r.push(e-1)):t>=e-1-i?((r=x(e-(n-a),e)).unshift("ellipsis"),o&&r.unshift(0)):((r=x(t-i+a,t+i-s)).push("ellipsis"),r.unshift("ellipsis"),o&&(r.push(e-1),r.unshift(0))),r}s.feature.register("search",(function(e,o){if(!e.oFeatures.bFilter)return null;var r=e.oClasses.search,i=e.sTableId,a=e.oLanguage,l=e.oPreviousSearch,c='<input type="search" class="'+r.input+'"/>';-1===(o=t.extend({placeholder:a.sSearchPlaceholder,processing:!1,text:a.sSearch},o)).text.indexOf("_INPUT_")&&(o.text+="_INPUT_"),o.text=ie(e,o.text);var d=o.text.match(/_INPUT_$/),u=o.text.match(/^_INPUT_/),f=o.text.replace(/_INPUT_/,""),h="<label>"+o.text+"</label>";u?h="_INPUT_<label>"+f+"</label>":d&&(h="<label>"+f+"</label>_INPUT_");var p=t("<div>").addClass(r.container).append(h.replace(/_INPUT_/,c));p.find("label").attr("for","dt-search-"+We),p.find("input").attr("id","dt-search-"+We),We++;var m=function(t){var n=this.value;l.return&&"Enter"!==t.key||n!=l.search&&jt(e,o.processing,(function(){l.search=n,Dt(e,l),e._iDisplayStart=0,ht(e)}))},g=null!==e.searchDelay?e.searchDelay:0,v=t("input",p).val(l.search).attr("placeholder",o.placeholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",g?s.util.debounce(m,g):m).on("mouseup.DT",(function(t){setTimeout((function(){m.call(v[0],t)}),10)})).on("keypress.DT",(function(t){if(13==t.keyCode)return!1})).attr("aria-controls",i);return t(e.nTable).on("search.dt.DT",(function(t,o){e===o&&v[0]!==n.activeElement&&v.val("function"!=typeof l.search?l.search:"")})),p}),"f"),s.feature.register("paging",(function(e,n){if(!e.oFeatures.bPaginate)return null;n=t.extend({buttons:s.ext.pager.numbers_length,type:e.sPaginationType,boundaryNumbers:!0,firstLast:!0,previousNext:!0,numbers:!0},n);var o=t("<div/>").addClass(e.oClasses.paging.container+(n.type?" paging_"+n.type:"")).append(t("<nav>").attr("aria-label","pagination").addClass(e.oClasses.paging.nav)),r=function(){Ve(e,o.children(),n)};return e.aoDrawCallback.push(r),t(e.nTable).on("column-sizing.dt.DT",r),o}),"p");var Ye=0;return s.feature.register("pageLength",(function(e,n){var o=e.oFeatures;if(!o.bPaginate||!o.bLengthChange)return null;n=t.extend({menu:e.aLengthMenu,text:e.oLanguage.sLengthMenu},n);var r,i=e.oClasses.length,a=e.sTableId,s=n.menu,l=[],c=[];if(Array.isArray(s[0]))l=s[0],c=s[1];else for(r=0;r<s.length;r++)t.isPlainObject(s[r])?(l.push(s[r].value),c.push(s[r].label)):(l.push(s[r]),c.push(s[r]));var d=n.text.match(/_MENU_$/),u=n.text.match(/^_MENU_/),f=n.text.replace(/_MENU_/,""),h="<label>"+n.text+"</label>";u?h="_MENU_<label>"+f+"</label>":d&&(h="<label>"+f+"</label>_MENU_");var p="tmp-"+ +new Date,m=t("<div/>").addClass(i.container).append(h.replace("_MENU_",'<span id="'+p+'"></span>')),g=[];Array.from(m.find("label")[0].childNodes).forEach((function(t){t.nodeType===Node.TEXT_NODE&&g.push({el:t,text:t.textContent})}));var v=function(t){g.forEach((function(n){n.el.textContent=ie(e,n.text,t)}))},b=t("<select/>",{name:a+"_length","aria-controls":a,class:i.select});for(r=0;r<l.length;r++)b[0][r]=new Option("number"==typeof c[r]?e.fnFormatNumber(c[r]):c[r],l[r]);return m.find("label").attr("for","dt-length-"+Ye),b.attr("id","dt-length-"+Ye),Ye++,m.find("#"+p).replaceWith(b),t("select",m).val(e._iDisplayLength).on("change.DT",(function(){Lt(e,t(this).val()),ht(e)})),t(e.nTable).on("length.dt.DT",(function(n,o,r){e===o&&(t("select",m).val(r),v(r))})),v(e._iDisplayLength),m}),"l"),t.fn.dataTable=s,s.$=t,t.fn.dataTableSettings=s.settings,t.fn.dataTableExt=s.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(s,(function(e,n){t.fn.DataTable[e]=n})),s})),
/*! DataTables Bootstrap 5 integration
 * © SpryMedia Ltd - datatables.net/license
 */
function(t){if("function"==typeof define&&define.amd)define(["jquery","datatables.net"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)};"undefined"==typeof window?module.exports=function(o,r){return o||(o=window),r||(r=e(o)),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))}else t(jQuery,window,document)}((function(t,e,n){"use strict";var o=t.fn.dataTable;return t.extend(!0,o.defaults,{renderer:"bootstrap"}),t.extend(!0,o.ext.classes,{container:"dt-container dt-bootstrap5",search:{input:"form-control form-control-sm"},length:{select:"form-select form-select-sm"},processing:{container:"dt-processing card"},layout:{row:"row mt-2 justify-content-between",cell:"d-md-flex justify-content-between align-items-center",tableCell:"col-12",start:"dt-layout-start col-md-auto me-auto",end:"dt-layout-end col-md-auto ms-auto",full:"dt-layout-full col-md"}}),o.ext.renderer.pagingButton.bootstrap=function(e,n,o,r,i){var a=["dt-paging-button","page-item"];r&&a.push("active"),i&&a.push("disabled");var s=t("<li>").addClass(a.join(" "));return{display:s,clicker:t("<button>",{class:"page-link",role:"link",type:"button"}).html(o).appendTo(s)}},o.ext.renderer.pagingContainer.bootstrap=function(e,n){return t("<ul/>").addClass("pagination").append(n)},o}));var defaults={language:{info:"Showing _START_ to _END_ of _TOTAL_ records",infoEmpty:"Showing no records",lengthMenu:"_MENU_",processing:'<span class="spinner-border w-15px h-15px text-muted align-middle me-2"></span> <span class="text-gray-600">Loading...</span>',paginate:{first:'<i class="kt-outline kt-double-left"></i>',last:'<i class="kt-outline kt-double-right"></i>',next:'<i class="next"></i>',previous:'<i class="previous"></i>'}}};$.extend(!0,$.fn.dataTable.defaults,defaults),
/*! DataTables Bootstrap 4 integration
 * ©2011-2017 SpryMedia Ltd - datatables.net/license
 */
function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}((function(t,e,n,o){"use strict";var r=t.fn.dataTable;return t.extend(!0,r.defaults,{pagingType:"simple_numbers",dom:"<'table-responsive'tr><'row'<'col-sm-12 col-md-5 d-flex align-items-center justify-content-center justify-content-md-start dt-toolbar'li><'col-sm-12 col-md-7 d-flex align-items-center justify-content-center justify-content-md-end'p>>",renderer:"bootstrap"}),t.extend(r.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm form-control-solid",sLengthSelect:"form-select form-select-sm form-select-solid",sProcessing:"dataTables_processing",sPageButton:"paginate_button page-item",search:{input:"form-control form-control-solid form-control-sm"},length:{select:"form-select form-select-solid form-select-sm"}}),r.ext.renderer.pageButton.bootstrap=function(e,i,a,s,l,c){var d,u,f,h=new r.Api(e),p=e.oClasses,m=e.oLanguage.oPaginate,g=e.oLanguage.oAria.paginate||{},v=0,b=function(n,o){var r,i,s,f,y=function(e){e.preventDefault(),t(e.currentTarget).hasClass("disabled")||h.page()==e.data.action||h.page(e.data.action).draw("page")};for(r=0,i=o.length;r<i;r++)if(f=o[r],Array.isArray(f))b(n,f);else{switch(d="",u="",f){case"ellipsis":d="&#x2026;",u="disabled";break;case"first":d=m.sFirst,u=f+(l>0?"":" disabled");break;case"previous":d=m.sPrevious,u=f+(l>0?"":" disabled");break;case"next":d=m.sNext,u=f+(l<c-1?"":" disabled");break;case"last":d=m.sLast,u=f+(l<c-1?"":" disabled");break;default:d=f+1,u=l===f?"active":""}d&&(s=t("<li>",{class:p.sPageButton+" "+u,id:0===a&&"string"==typeof f?e.sTableId+"_"+f:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":g[f],"data-dt-idx":v,tabindex:e.iTabIndex,class:"page-link"}).html(d)).appendTo(n),e.oApi._fnBindAction(s,{action:f},y),v++)}};try{f=t(i).find(n.activeElement).data("dt-idx")}catch(t){}b(t(i).empty().html('<ul class="pagination"/>').children("ul"),s),f!==o&&t(i).find("[data-dt-idx="+f+"]").trigger("focus")},r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,0,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var o=t.fn.dataTable;function r(t,e,n,o){var r=t.splice(e,n);r.unshift(0),r.unshift(o<e?o:o-n+1),t.splice.apply(t,r)}function i(t){t.rows().invalidate("data"),t.column(0).visible(t.column(0).visible()),t.columns.adjust();var e=t.colReorder.order();t.trigger("columns-reordered",[{order:e,mapping:c(e)}])}function a(t){return t.settings()[0].aoColumns.map((function(t){return t._crOriginalIdx}))}function s(t,e,n,o){for(var i=[],a=0;a<t.length;a++){var s=t[a];r(s,n[0],n.length,o);for(var l=0;l<s.length;l++){var c,d=s[l].cell;i.includes(d)||(c=d.getAttribute("data-dt-column").split(",").map((function(t){return e[t]})).join(","),d.setAttribute("data-dt-column",c),i.push(d))}}}function l(t){t.columns().iterator("column",(function(t,e){void 0===(t=t.aoColumns)[e]._crOriginalIdx&&(t[e]._crOriginalIdx=e)}))}function c(t){for(var e=[],n=0;n<t.length;n++)e[t[n]]=n;return e}function d(t,e,n){var o,i=t.settings()[0],a=i.aoColumns,l=a.map((function(t,e){return e}));if(!e.includes(n)){r(l,e[0],e.length,n);var d=c(l);for(r(a,e[0],e.length,n),o=0;o<i.aoData.length;o++){var f=i.aoData[o];if(f){var h=f.anCells;if(h)for(r(h,e[0],e.length,n),m=0;m<h.length;m++)f.nTr&&h[m]&&a[m].bVisible&&f.nTr.appendChild(h[m]),h[m]&&h[m]._DT_CellIndex&&(h[m]._DT_CellIndex.column=m)}}for(o=0;o<a.length;o++){for(var p=a[o],m=0;m<p.aDataSort.length;m++)p.aDataSort[m]=d[p.aDataSort[m]];p.idx=d[p.idx],p.bVisible&&i.colgroup.append(p.colEl)}s(i.aoHeader,d,e,n),s(i.aoFooter,d,e,n),r(i.aoPreSearchCols,e[0],e.length,n),u(d,i.aaSorting),Array.isArray(i.aaSortingFixed)?u(d,i.aaSortingFixed):(i.aaSortingFixed.pre||i.aaSortingFixed.post)&&u(d,i.aaSortingFixed.pre),i.aLastSort.forEach((function(t){t.src=d[t.src]})),t.trigger("column-reorder",[t.settings()[0],{from:e,to:n,mapping:d}])}}function u(e,n){if(n)for(var o=0;o<n.length;o++){var r=n[o];"number"==typeof r?n[o]=e[r]:t.isPlainObject(r)&&void 0!==r.idx?r.idx=e[r.idx]:Array.isArray(r)&&"number"==typeof r[0]&&(r[0]=e[r[0]])}}function f(t,e,n){var o=!1;if(e.length!==t.columns().count())t.error("ColReorder - column count mismatch");else{for(var a=c(e=n?h(t,e,"toCurrent"):e),s=0;s<a.length;s++){var l=a.indexOf(s);s!==l&&(r(a,l,1,s),d(t,[l],s),o=!0)}o&&i(t)}}function h(t,e,n){var o=t.colReorder.order(),r=t.settings()[0].aoColumns;return"toCurrent"===n||"fromOriginal"===n?Array.isArray(e)?e.map((function(t){return o.indexOf(t)})):o.indexOf(e):Array.isArray(e)?e.map((function(t){return r[t]._crOriginalIdx})):r[e]._crOriginalIdx}function p(t,e,n){var o=t.columns().count();return!(e[0]<n&&n<e[e.length]||e[0]<0&&e[e.length-1]>o||n<0&&o<n||!e.includes(n)&&(!m(t.table().header.structure(),e,n)||!m(t.table().footer.structure(),e,n)))}function m(t,e,n){for(var o=function(t){for(var e=[],n=0;n<t.length;n++){e.push([]);for(var o=0;o<t[n].length;o++){var r=t[n][o];if(r)for(var i=0;i<r.rowspan;i++){e[n+i]||(e[n+i]=[]);for(var a=0;a<r.colspan;a++)e[n+i][o+a]=r.cell}}}return e}(t),i=0;i<o.length;i++)r(o[i],e[0],e.length,n);for(i=0;i<o.length;i++)for(var a=[],s=0;s<o[i].length;s++){var l=o[i][s];if(a.includes(l)){if(a[a.length-1]!==l)return}else a.push(l)}return 1}v.prototype.disable=function(){return this.c.enable=!1,this},v.prototype.enable=function(t){return!1===(t=void 0===t||t)?this.disable():(this.c.enable=!0,this)},v.prototype._addListener=function(e){var n=this;t(e).on("selectstart.colReorder",(function(){return!1})).on("mousedown.colReorder touchstart.colReorder",(function(t){"mousedown"===t.type&&1!==t.which||n.c.enable&&n._mouseDown(t,this)}))},v.prototype._createDragNode=function(){var e=this.s.mouse.target,n=e.parent(),o=n.parent(),r=o.parent(),i=e.clone();this.dom.drag=t(r[0].cloneNode(!1)).addClass("dtcr-cloned").append(t(o[0].cloneNode(!1)).append(t(n[0].cloneNode(!1)).append(i[0]))).css({position:"absolute",top:0,left:0,width:t(e).outerWidth(),height:t(e).outerHeight()}).appendTo("body")},v.prototype._cursorPosition=function(t,e){return(-1!==t.type.indexOf("touch")?t.originalEvent.touches[0]:t)[e]},v.prototype._mouseDown=function(e,o){for(var r=this,i=t(e.target).closest("th, td"),a=i.offset(),s=this.dt.columns(this.c.columns).indexes().toArray(),l=t(o).attr("data-dt-column").split(",").map((function(t){return parseInt(t,10)})),c=0;c<l.length;c++)if(!s.includes(l[c]))return!1;this.s.mouse.start.x=this._cursorPosition(e,"pageX"),this.s.mouse.start.y=this._cursorPosition(e,"pageY"),this.s.mouse.offset.x=this._cursorPosition(e,"pageX")-a.left,this.s.mouse.offset.y=this._cursorPosition(e,"pageY")-a.top,this.s.mouse.target=i,this.s.mouse.targets=l;for(var d=0;d<l.length;d++){var u=this.dt.cells(null,l[d],{page:"current"}).nodes().to$(),f="dtcr-moving";0===d&&(f+=" dtcr-moving-first"),d===l.length-1&&(f+=" dtcr-moving-last"),u.addClass(f)}this._regions(l),this._scrollRegions(),t(n).on("mousemove.colReorder touchmove.colReorder",(function(t){r._mouseMove(t)})).on("mouseup.colReorder touchend.colReorder",(function(t){r._mouseUp(t)}))},v.prototype._mouseMove=function(e){if(null===this.dom.drag){if(Math.pow(Math.pow(this._cursorPosition(e,"pageX")-this.s.mouse.start.x,2)+Math.pow(this._cursorPosition(e,"pageY")-this.s.mouse.start.y,2),.5)<5)return;t(n.body).addClass("dtcr-dragging"),this._createDragNode()}this.dom.drag.css({left:this._cursorPosition(e,"pageX")-this.s.mouse.offset.x,top:this._cursorPosition(e,"pageY")-this.s.mouse.offset.y});var o=t(this.dt.table().node()).offset().left,r=this._cursorPosition(e,"pageX")-o;o=this.s.dropZones.find((function(t){return t.left<=r&&r<=t.left+t.width}));this.s.mouse.absLeft=this._cursorPosition(e,"pageX"),o&&!o.self&&this._move(o,r)},v.prototype._mouseUp=function(e){t(n).off(".colReorder"),t(n.body).removeClass("dtcr-dragging"),this.dom.drag&&(this.dom.drag.remove(),this.dom.drag=null),this.s.scrollInterval&&clearInterval(this.s.scrollInterval),this.dt.cells(".dtcr-moving").nodes().to$().removeClass("dtcr-moving dtcr-moving-first dtcr-moving-last")},v.prototype._move=function(e,n){var o,r,i=this,a=(this.dt.colReorder.move(this.s.mouse.targets,e.colIdx),this.s.mouse.targets=t(this.s.mouse.target).attr("data-dt-column").split(",").map((function(t){return parseInt(t,10)})),this._regions(this.s.mouse.targets),this.s.mouse.targets.filter((function(t){return i.dt.column(t).visible()}))),s=(e=this.s.dropZones.find((function(t){return t.colIdx===a[0]})),this.s.dropZones.indexOf(e));e.left>n&&(r=e.left-n,o=this.s.dropZones[s-1],e.left-=r,e.width+=r,o)&&(o.width-=r),(e=this.s.dropZones.find((function(t){return t.colIdx===a[a.length-1]}))).left+e.width<n&&(o=n-(e.left+e.width),r=this.s.dropZones[s+1],e.width+=o,r)&&(r.left+=o,r.width-=o)},v.prototype._regions=function(t){var e=this,n=[],o=0,r=0,i=this.dt.columns(this.c.columns).indexes().toArray(),a=this.dt.columns().widths();this.dt.columns().every((function(s,l,c){var d;this.visible()&&(d=a[s],i.includes(s)&&(p(e.dt,t,s)?n.push({colIdx:s,left:o-r,self:t[0]<=s&&s<=t[t.length-1],width:d+r}):s<t[0]?n.length&&(n[n.length-1].width+=d):s>t[t.length-1]&&(r+=d)),o+=d)})),this.s.dropZones=n},v.prototype._isScrolling=function(){return this.dt.table().body().parentNode!==this.dt.table().header().parentNode},v.prototype._scrollRegions=function(){var e,n,o,r;this._isScrolling()&&(n=t((e=this).dt.table().container()).position().left,o=t(this.dt.table().container()).outerWidth(),r=this.dt.table().body().parentElement.parentElement,this.s.scrollInterval=setInterval((function(){var t=e.s.mouse.absLeft;t<n+75&&r.scrollLeft?r.scrollLeft-=5:n+o-75<t&&r.scrollLeft<r.scrollWidth&&(r.scrollLeft+=5)}),25))},v.defaults={columns:"",enable:!0,order:null},v.version="2.0.4";
/*! ColReorder 2.0.4
 * © SpryMedia Ltd - datatables.net/license
 */
var g=v;function v(e,n){this.dom={drag:null},this.c={columns:null,enable:null,order:null},this.s={dropZones:[],mouse:{absLeft:-1,offset:{x:-1,y:-1},start:{x:-1,y:-1},target:null,targets:[]},scrollInterval:null};var o,r=this;e.settings()[0]._colReorder||((e.settings()[0]._colReorder=this).dt=e,t.extend(this.c,v.defaults,n),l(e),e.on("stateSaveParams",(function(t,n,o){o.colReorder=a(e)})),e.on("destroy",(function(){e.off(".colReorder"),e.colReorder.reset()})),n=e.state.loaded(),o=this.c.order,(o=n&&n.colReorder?n.colReorder:o)&&e.ready((function(){f(e,o,!0)})),e.table().header.structure().forEach((function(t){for(var e=0;e<t.length;e++)t[e]&&t[e].cell&&r._addListener(t[e].cell)})))}return o.Api.register("colReorder.enable()",(function(t){return this.iterator("table",(function(e){e._colReorder&&e._colReorder.enable(t)}))})),o.Api.register("colReorder.disable()",(function(){return this.iterator("table",(function(t){t._colReorder&&t._colReorder.disable()}))})),o.Api.register("colReorder.move()",(function(t,e){return l(this),p(this,t=Array.isArray(t)?t:[t],e)?this.tables().every((function(){d(this,t,e),i(this)})):(this.error("ColReorder - invalid move"),this)})),o.Api.register("colReorder.order()",(function(t,e){return l(this),t?this.tables().every((function(){f(this,t,e)})):this.context.length?a(this):null})),o.Api.register("colReorder.reset()",(function(){return l(this),this.tables().every((function(){f(this,this.columns().every((function(t){return t})).flatten().toArray(),!0)}))})),o.Api.register("colReorder.transpose()",(function(t,e){return l(this),h(this,t,e=e||"toCurrent")})),o.ColReorder=g,t(n).on("stateLoadInit.dt",(function(t,e,n){if("dt"===t.namespace&&(t=new o.Api(e),n.colReorder))if(t.ready())f(t,n.colReorder,!0);else if(u(n.colReorder,n.order),n.columns){for(var r=0;r<n.columns.length;r++)n.columns[r]._cr_sort=n.colReorder[r];n.columns.sort((function(t,e){return t._cr_sort-e._cr_sort}))}})),t(n).on("preInit.dt",(function(e,n){var r,i;"dt"===e.namespace&&(e=n.oInit.colReorder,i=o.defaults.colReorder,e||i)&&(r=t.extend({},i,e),!1!==e)&&(i=new o.Api(n),new g(i,r))})),o})),
/*! Bootstrap 5 styling wrapper for ColReorder
 * © SpryMedia Ltd - datatables.net/license
 */
function(t){if("function"==typeof define&&define.amd)define(["jquery","datatables.net-bs5","datatables.net-colreorder"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-bs5")(t,e),e.fn.dataTable.ColReorder||require("datatables.net-colreorder")(t,e)};"undefined"==typeof window?module.exports=function(o,r){return o||(o=window),r||(r=e(o)),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))}else t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,0,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var o,r,i,a,s=t.fn.dataTable;function l(t,e){var n,i=this;if(r&&r.versionCheck&&r.versionCheck("2"))return t=new r.Api(t),this.classes=o.extend(!0,{},l.classes),this.c=o.extend(!0,{},l.defaults,e),this.s={dt:t,rtl:"rtl"===o(t.table().node()).css("direction")},e&&void 0!==e.leftColumns&&(e.left=e.leftColumns),e&&void 0!==e.left&&(this.c[this.s.rtl?"end":"start"]=e.left),e&&void 0!==e.rightColumns&&(e.right=e.rightColumns),e&&void 0!==e.right&&(this.c[this.s.rtl?"start":"end"]=e.right),this.dom={bottomBlocker:o("<div>").addClass(this.classes.bottomBlocker),topBlocker:o("<div>").addClass(this.classes.topBlocker),scroller:o("div.dt-scroll-body",this.s.dt.table().container())},this.s.dt.settings()[0]._bInitComplete?(this._addStyles(),this._setKeyTableListener()):t.one("init.dt.dtfc",(function(){i._addStyles(),i._setKeyTableListener()})),t.on("column-sizing.dt.dtfc column-reorder.dt.dtfc draw.dt.dtfc",(function(){return i._addStyles()})),n=r.util.debounce((function(){i._addStyles()}),50),t.on("column-visibility.dt.dtfc",(function(){n()})),this.dom.scroller.on("scroll.dtfc",(function(){return i._scroll()})),this._scroll(),t.settings()[0]._fixedColumns=this,t.on("destroy",(function(){return i._destroy()})),this;throw new Error("FixedColumns requires DataTables 2 or newer")}function c(t,e){void 0===e&&(e=null),t=new s.Api(t),e=e||t.init().fixedColumns||s.defaults.fixedColumns,new i(t,e)}return l.prototype.end=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.end=t,this._addStyles()),this):this.c.end},l.prototype.left=function(t){return this.s.rtl?this.end(t):this.start(t)},l.prototype.right=function(t){return this.s.rtl?this.start(t):this.end(t)},l.prototype.start=function(t){return void 0!==t?(0<=t&&t<=this.s.dt.columns().count()&&(this.c.start=t,this._addStyles()),this):this.c.start},l.prototype._addStyles=function(){var t=this.s.dt,e=this,n=this.s.dt.columns(":visible").count(),r=t.table().header.structure(":visible"),i=t.table().footer.structure(":visible"),a=t.columns(":visible").widths().toArray(),s=o(t.table().node()).closest("div.dt-scroll"),l=o(t.table().node()).closest("div.dt-scroll-body")[0],c=this.s.rtl,d=this.c.start,u=this.c.end,f=c?u:d,h=(c=c?d:u,t.settings()[0].oBrowser.barWidth);if(0===s.length)return this;l.offsetWidth===l.clientWidth&&(h=0),t.columns().every((function(o){var s;null!==(o=t.column.index("toVisible",o))&&(o<d?(s=e._sum(a,o),e._fixColumn(o,s,"start",r,i,h)):n-u<=o?(s=e._sum(a,n-o-1,!0),e._fixColumn(o,s,"end",r,i,h)):e._fixColumn(o,0,"none",r,i,h))})),o(t.table().node()).toggleClass(e.classes.tableFixedStart,0<d).toggleClass(e.classes.tableFixedEnd,0<u).toggleClass(e.classes.tableFixedLeft,0<f).toggleClass(e.classes.tableFixedRight,0<c),l=t.table().header(),f=t.table().footer(),c=o(l).outerHeight(),l=o(f).outerHeight(),this.dom.topBlocker.appendTo(s).css("top",0).css(this.s.rtl?"left":"right",0).css("height",c).css("width",h+1).css("display",h?"block":"none"),f&&this.dom.bottomBlocker.appendTo(s).css("bottom",0).css(this.s.rtl?"left":"right",0).css("height",l).css("width",h+1).css("display",h?"block":"none")},l.prototype._destroy=function(){this.s.dt.off(".dtfc"),this.dom.scroller.off(".dtfc"),o(this.s.dt.table().node()).removeClass(this.classes.tableScrollingEnd+" "+this.classes.tableScrollingLeft+" "+this.classes.tableScrollingStart+" "+this.classes.tableScrollingRight),this.dom.bottomBlocker.remove(),this.dom.topBlocker.remove()},l.prototype._fixColumn=function(t,e,n,r,i,a){function s(t,o){var r,i;"none"===n?t.css("position","").css("left","").css("right","").removeClass(l.classes.fixedEnd+" "+l.classes.fixedLeft+" "+l.classes.fixedRight+" "+l.classes.fixedStart):(r="start"===n?"left":"right",l.s.rtl&&(r="start"===n?"right":"left"),i=e,"end"!==n||"header"!==o&&"footer"!==o||(i+=a),t.css("position","sticky").css(r,i).addClass("start"===n?l.classes.fixedStart:l.classes.fixedEnd).addClass("left"===r?l.classes.fixedLeft:l.classes.fixedRight))}var l=this,c=this.s.dt;r.forEach((function(e){e[t]&&s(o(e[t].cell),"header")})),s(c.column(t+":visible",{page:"current"}).nodes().to$(),"body"),i&&i.forEach((function(e){e[t]&&s(o(e[t].cell),"footer")}))},l.prototype._scroll=function(){var t,e,n,r,i=this.dom.scroller[0];i&&(t=o(this.s.dt.table().node()).add(this.s.dt.table().header().parentNode).add(this.s.dt.table().footer().parentNode).add("div.dt-scroll-headInner table",this.s.dt.table().container()).add("div.dt-scroll-footInner table",this.s.dt.table().container()),e=i.scrollLeft,n=!this.s.rtl,r=0!==e,i=i.scrollWidth>i.clientWidth+Math.abs(e)+1,t.toggleClass(this.classes.tableScrollingStart,r),t.toggleClass(this.classes.tableScrollingEnd,i),t.toggleClass(this.classes.tableScrollingLeft,r&&n||i&&!n),t.toggleClass(this.classes.tableScrollingRight,i&&n||r&&!n))},l.prototype._setKeyTableListener=function(){var t=this;this.s.dt.on("key-focus.dt.dtfc",(function(e,n,r){var i,a,s,l=o(r.node()).offset(),c=t.dom.scroller[0],d=o(o(t.s.dt.table().node()).closest("div.dt-scroll-body"));0<t.c.start&&(s=(a=o(t.s.dt.column(t.c.start-1).header())).offset(),a=a.outerWidth(),o(r.node()).hasClass(t.classes.fixedLeft)?d.scrollLeft(0):l.left<s.left+a&&(i=d.scrollLeft(),d.scrollLeft(i-(s.left+a-l.left)))),0<t.c.end&&(s=t.s.dt.columns().data().toArray().length,a=o(r.node()).outerWidth(),s=o(t.s.dt.column(s-t.c.end).header()).offset(),o(r.node()).hasClass(t.classes.fixedRight)?d.scrollLeft(c.scrollWidth-c.clientWidth):l.left+a>s.left&&(i=d.scrollLeft(),d.scrollLeft(i-(s.left-(l.left+a)))))}))},l.prototype._sum=function(t,e,n){return(t=(n=void 0!==n&&n)?t.slice().reverse():t).slice(0,e).reduce((function(t,e){return t+e}),0)},l.version="5.0.2",l.classes={bottomBlocker:"dtfc-bottom-blocker",fixedEnd:"dtfc-fixed-end",fixedLeft:"dtfc-fixed-left",fixedRight:"dtfc-fixed-right",fixedStart:"dtfc-fixed-start",tableFixedEnd:"dtfc-has-end",tableFixedLeft:"dtfc-has-left",tableFixedRight:"dtfc-has-right",tableFixedStart:"dtfc-has-start",tableScrollingEnd:"dtfc-scrolling-end",tableScrollingLeft:"dtfc-scrolling-left",tableScrollingRight:"dtfc-scrolling-right",tableScrollingStart:"dtfc-scrolling-start",topBlocker:"dtfc-top-blocker"},l.defaults={i18n:{button:"FixedColumns"},start:1,end:0},i=l,r=(o=t).fn.dataTable,t.fn.dataTable.FixedColumns=i,t.fn.DataTable.FixedColumns=i,(a=s.Api.register)("fixedColumns()",(function(){return this})),a("fixedColumns().start()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.start(t),this):e._fixedColumns.start()})),a("fixedColumns().end()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.end(t),this):e._fixedColumns.end()})),a("fixedColumns().left()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.left(t),this):e._fixedColumns.left()})),a("fixedColumns().right()",(function(t){var e=this.context[0];return void 0!==t?(e._fixedColumns.right(t),this):e._fixedColumns.right()})),s.ext.buttons.fixedColumns={action:function(e,n,o,r){t(o).attr("active")?(t(o).removeAttr("active").removeClass("active"),n.fixedColumns().start(0),n.fixedColumns().end(0)):(t(o).attr("active","true").addClass("active"),n.fixedColumns().start(r.config.start),n.fixedColumns().end(r.config.end))},config:{start:1,end:0},init:function(e,n,o){void 0===e.settings()[0]._fixedColumns&&c(e.settings(),o),t(n).attr("active","true").addClass("active"),e.button(n).text(o.text||e.i18n("buttons.fixedColumns",e.settings()[0]._fixedColumns.c.i18n.button))},text:null},t(n).on("plugin-init.dt",(function(t,e){"dt"!==t.namespace||!e.oInit.fixedColumns&&!s.defaults.fixedColumns||e._fixedColumns||c(e,null)})),s})),
/*! Bootstrap 5 integration for DataTables' FixedColumns
 * © SpryMedia Ltd - datatables.net/license
 */
function(t){if("function"==typeof define&&define.amd)define(["jquery","datatables.net-bs5","datatables.net-fixedcolumns"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-bs5")(t,e),e.fn.dataTable.FixedColumns||require("datatables.net-fixedcolumns")(t,e)};"undefined"==typeof window?module.exports=function(o,r){return o||(o=window),r||(r=e(o)),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))}else t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function o(n,a){if(!r.versionCheck("2"))throw"Warning: FixedHeader requires DataTables 2 or newer";if(!(this instanceof o))throw"FixedHeader must be initialised with the 'new' keyword.";if(!0===a&&(a={}),n=new r.Api(n),this.c=t.extend(!0,{},o.defaults,a),this.s={dt:n,position:{theadTop:0,tbodyTop:0,tfootTop:0,tfootBottom:0,width:0,left:0,tfootHeight:0,theadHeight:0,windowHeight:t(e).height(),visible:!0},headerMode:null,footerMode:null,autoWidth:n.settings()[0].oFeatures.bAutoWidth,namespace:".dtfc"+i++,scrollLeft:{header:-1,footer:-1},enable:!0,autoDisable:!1},this.dom={floatingHeader:null,thead:t(n.table().header()),tbody:t(n.table().body()),tfoot:t(n.table().footer()),header:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent"><div></div></div>'),placeholder:null},footer:{host:null,floating:null,floatingParent:t('<div class="dtfh-floatingparent"><div></div></div>'),placeholder:null}},this.dom.header.host=this.dom.thead.parent(),this.dom.footer.host=this.dom.tfoot.parent(),(a=n.settings()[0])._fixedHeader)throw"FixedHeader already initialised on table "+a.nTable.id;(a._fixedHeader=this)._constructor()}var r=t.fn.dataTable,i=0;return t.extend(o.prototype,{destroy:function(){var n=this.dom;this.s.dt.off(".dtfc"),t(e).off(this.s.namespace),n.header.rightBlocker&&n.header.rightBlocker.remove(),n.header.leftBlocker&&n.header.leftBlocker.remove(),n.footer.rightBlocker&&n.footer.rightBlocker.remove(),n.footer.leftBlocker&&n.footer.leftBlocker.remove(),this.c.header&&this._modeChange("in-place","header",!0),this.c.footer&&n.tfoot.length&&this._modeChange("in-place","footer",!0)},enable:function(t,e,n){this.s.enable=t,this.s.enableType=n,!e&&void 0!==e||(this._positions(),this._scroll(!0))},enabled:function(){return this.s.enable},headerOffset:function(t){return void 0!==t&&(this.c.headerOffset=t,this.update()),this.c.headerOffset},footerOffset:function(t){return void 0!==t&&(this.c.footerOffset=t,this.update()),this.c.footerOffset},update:function(e){var n=this.s.dt.table().node();(this.s.enable||this.s.autoDisable)&&(t(n).is(":visible")?(this.s.autoDisable=!1,this.enable(!0,!1)):(this.s.autoDisable=!0,this.enable(!1,!1)),0!==t(n).children("thead").length)&&(this._positions(),this._scroll(void 0===e||e),this._widths(this.dom.header),this._widths(this.dom.footer))},_constructor:function(){var n=this,o=this.s.dt,i=(t(e).on("scroll"+this.s.namespace,(function(){n._scroll()})).on("resize"+this.s.namespace,r.util.throttle((function(){n.s.position.windowHeight=t(e).height(),n.update()}),50)),t(".fh-fixedHeader"));!this.c.headerOffset&&i.length&&(this.c.headerOffset=i.outerHeight()),i=t(".fh-fixedFooter");!this.c.footerOffset&&i.length&&(this.c.footerOffset=i.outerHeight()),o.on("column-reorder.dt.dtfc column-visibility.dt.dtfc column-sizing.dt.dtfc responsive-display.dt.dtfc",(function(t,e){n.update()})).on("draw.dt.dtfc",(function(t,e){n.update(e!==o.settings()[0])})),o.on("destroy.dtfc",(function(){n.destroy()})),this._positions(),this._scroll()},_clone:function(e,n){var o,r,i=this,a=this.s.dt,s=this.dom[e],l="header"===e?this.dom.thead:this.dom.tfoot;"footer"===e&&this._scrollEnabled()||(!n&&s.floating?s.floating.removeClass("fixedHeader-floating fixedHeader-locked"):(s.floating&&(null!==s.placeholder&&s.placeholder.remove(),s.floating.children().detach(),s.floating.remove()),n=t(a.table().node()),o=t(n.parent()),r=this._scrollEnabled(),s.floating=t(a.table().node().cloneNode(!1)).attr("aria-hidden","true").css({top:0,left:0}).removeAttr("id"),s.floatingParent.css({width:o[0].offsetWidth,overflow:"hidden",height:"fit-content",position:"fixed",left:r?n.offset().left+o.scrollLeft():0}).css("header"===e?{top:this.c.headerOffset,bottom:""}:{top:"",bottom:this.c.footerOffset}).addClass("footer"===e?"dtfh-floatingparent-foot":"dtfh-floatingparent-head").appendTo("body").children().eq(0).append(s.floating),this._stickyPosition(s.floating,"-"),(r=function(){var t=o.scrollLeft();i.s.scrollLeft={footer:t,header:t},s.floatingParent.scrollLeft(i.s.scrollLeft.header)})(),o.off("scroll.dtfh").on("scroll.dtfh",r),s.floatingParent.children().css({width:"fit-content",paddingRight:i.s.dt.settings()[0].oBrowser.barWidth}),(n=t("footer"===e?"div.dtfc-bottom-blocker":"div.dtfc-top-blocker",a.table().container())).length&&n.clone().appendTo(s.floatingParent).css({position:"fixed",right:n.width()}),s.placeholder=l.clone(!1),s.placeholder.find("*[id]").removeAttr("id"),s.host.prepend(s.placeholder),s.floating.append(l),this._widths(s)))},_stickyPosition:function(e,n){var o;this._scrollEnabled()&&(o="rtl"===t(this.s.dt.table().node()).css("direction"),e.find("th").each((function(){var e,n,r;"sticky"===t(this).css("position")&&(e=t(this).css("right"),n=t(this).css("left"),"auto"===e||o?"auto"!==n&&o&&(r=+n.replace(/px/g,""),t(this).css("left",0<r?r:0)):(r=+e.replace(/px/g,""),t(this).css("right",0<r?r:0)))})))},_horizontal:function(e,n){var o,r=this.dom[e],i=this.s.scrollLeft;r.floating&&i[e]!==n&&(this._scrollEnabled()&&(o=t(t(this.s.dt.table().node()).parent()).scrollLeft(),r.floating.scrollLeft(o),r.floatingParent.scrollLeft(o)),i[e]=n)},_modeChange:function(o,r,i){var a,s,l,c,d,u,f,h=this.dom[r],p=this.s.position,m=this._scrollEnabled();"footer"===r&&m||(a=function(t){h.floating[0].style.setProperty("width",t+"px","important"),m||h.floatingParent[0].style.setProperty("width",t+"px","important")},c=this.dom["footer"===r?"tfoot":"thead"],s=t.contains(c[0],n.activeElement)?n.activeElement:null,d=t(t(this.s.dt.table().node()).parent()),"in-place"===o?(h.placeholder&&(h.placeholder.remove(),h.placeholder=null),"header"===r?h.host.prepend(c):h.host.append(c),h.floating&&(h.floating.remove(),h.floating=null,this._stickyPosition(h.host,"+")),h.floatingParent&&(h.floatingParent.find("div.dtfc-top-blocker").remove(),h.floatingParent.remove()),t(t(h.host.parent()).parent()).scrollLeft(d.scrollLeft())):"in"===o?(this._clone(r,i),c=d.offset(),f=(l=t(n).scrollTop())+t(e).height(),u=m?c.top:p.tbodyTop,c=m?c.top+d.outerHeight():p.tfootTop,d="footer"===r?f<u?p.tfootHeight:u+p.tfootHeight-f:l+this.c.headerOffset+p.theadHeight-c,u="header"===r?"top":"bottom",f=this.c[r+"Offset"]-(0<d?d:0),h.floating.addClass("fixedHeader-floating"),h.floatingParent.css(u,f).css({left:p.left,"z-index":3}),a(p.width),"footer"===r&&h.floating.css("top","")):"below"===o?(this._clone(r,i),h.floating.addClass("fixedHeader-locked"),h.floatingParent.css({position:"absolute",top:p.tfootTop-p.theadHeight,left:p.left+"px"}),a(p.width)):"above"===o&&(this._clone(r,i),h.floating.addClass("fixedHeader-locked"),h.floatingParent.css({position:"absolute",top:p.tbodyTop,left:p.left+"px"}),a(p.width)),s&&s!==n.activeElement&&setTimeout((function(){s.focus()}),10),this.s.scrollLeft.header=-1,this.s.scrollLeft.footer=-1,this.s[r+"Mode"]=o)},_positions:function(){var e=(a=this.s.dt).table(),n=this.s.position,o=this.dom,r=(e=t(e.node()),this._scrollEnabled()),i=t(a.table().header()),a=t(a.table().footer()),s=(o=o.tbody,e.parent());n.visible=e.is(":visible"),n.width=e.outerWidth(),n.left=e.offset().left,n.theadTop=i.offset().top,n.tbodyTop=(r?s:o).offset().top,n.tbodyHeight=(r?s:o).outerHeight(),n.theadHeight=i.outerHeight(),n.theadBottom=n.theadTop+n.theadHeight,n.tfootTop=n.tbodyTop+n.tbodyHeight,a.length?(n.tfootBottom=n.tfootTop+a.outerHeight(),n.tfootHeight=a.outerHeight()):(n.tfootBottom=n.tfootTop,n.tfootHeight=0)},_scroll:function(o){var r,i,a,s,l,c,d,u,f,h,p,m,g,v,b;this.s.dt.settings()[0].bDestroying||(r=this._scrollEnabled(),a=(i=t(this.s.dt.table().node()).parent()).offset(),h=i.outerHeight(),s=t(n).scrollLeft(),l=t(n).scrollTop(),c=t(e).height()+l,p=this.s.position,m=r?a.top:p.tbodyTop,u=(r?a:p).left,h=r?a.top+h:p.tfootTop,f=r?i.outerWidth():p.tbodyWidth,this.c.header&&(!this.s.enable||!p.visible||l+this.c.headerOffset+p.theadHeight<=m?d="in-place":l+this.c.headerOffset+p.theadHeight>m&&l+this.c.headerOffset+p.theadHeight<h?(d="in",l+this.c.headerOffset+p.theadHeight>h||void 0===this.dom.header.floatingParent?o=!0:this.dom.header.floatingParent.css({top:this.c.headerOffset,position:"fixed"}).children().eq(0).append(this.dom.header.floating)):d="below",!o&&d===this.s.headerMode||this._modeChange(d,"header",o),this._horizontal("header",s)),g={offset:{top:0,left:0},height:0},v={offset:{top:0,left:0},height:0},this.c.footer&&this.dom.tfoot.length&&this.dom.tfoot.find("th, td").length&&(!this.s.enable||!p.visible||p.tfootBottom+this.c.footerOffset<=c?b="in-place":h+p.tfootHeight+this.c.footerOffset>c&&m+this.c.footerOffset<c?(b="in",o=!0):b="above",!o&&b===this.s.footerMode||this._modeChange(b,"footer",o),this._horizontal("footer",s),h=function(t){return{offset:t.offset(),height:t.outerHeight()}},g=this.dom.header.floating?h(this.dom.header.floating):h(this.dom.thead),v=this.dom.footer.floating?h(this.dom.footer.floating):h(this.dom.tfoot),r)&&v.offset.top>l&&(m=c+((p=l-a.top)>-g.height?p:0)-(g.offset.top+(p<-g.height?g.height:0)+v.height),i.outerHeight(m=m<0?0:m),Math.round(i.outerHeight())>=Math.round(m)?t(this.dom.tfoot.parent()).addClass("fixedHeader-floating"):t(this.dom.tfoot.parent()).removeClass("fixedHeader-floating")),this.dom.header.floating&&this.dom.header.floatingParent.css("left",u-s),this.dom.footer.floating&&this.dom.footer.floatingParent.css("left",u-s),void 0!==this.s.dt.settings()[0]._fixedColumns&&(this.dom.header.rightBlocker=(b=function(e,n,o){var r;return null!==(o=void 0===o?0===(r=t("div.dtfc-"+e+"-"+n+"-blocker")).length?null:r.clone().css("z-index",1):o)&&("in"===d||"below"===d?o.appendTo("body").css({top:("top"===n?g:v).offset.top,left:"right"===e?u+f-o.width():u}):o.detach()),o})("right","top",this.dom.header.rightBlocker),this.dom.header.leftBlocker=b("left","top",this.dom.header.leftBlocker),this.dom.footer.rightBlocker=b("right","bottom",this.dom.footer.rightBlocker),this.dom.footer.leftBlocker=b("left","bottom",this.dom.footer.leftBlocker)))},_scrollEnabled:function(){var t=this.s.dt.settings()[0].oScroll;return""!==t.sY||""!==t.sX},_widths:function(e){if(e&&e.placeholder)for(var n=t(this.s.dt.table().node()),o=t(n.parent()),r=(e.floatingParent.css("width",o[0].offsetWidth),e.floating.css("width",n[0].offsetWidth),t("colgroup",e.floating).remove(),e.placeholder.parent().find("colgroup").clone().appendTo(e.floating).find("col")),i=this.s.dt.columns(":visible").widths(),a=0;a<i.length;a++)r.eq(a).css("width",i[a])}}),o.version="4.0.1",o.defaults={header:!0,footer:!1,headerOffset:0,footerOffset:0},t.fn.dataTable.FixedHeader=o,t.fn.DataTable.FixedHeader=o,t(n).on("init.dt.dtfh",(function(e,n,i){var a;"dt"===e.namespace&&(e=n.oInit.fixedHeader,a=r.defaults.fixedHeader,e||a)&&!n._fixedHeader&&(a=t.extend({},a,e),!1!==e)&&new o(n,a)})),r.Api.register("fixedHeader()",(function(){})),r.Api.register("fixedHeader.adjust()",(function(){return this.iterator("table",(function(t){(t=t._fixedHeader)&&t.update()}))})),r.Api.register("fixedHeader.enable()",(function(t){return this.iterator("table",(function(e){e=e._fixedHeader,t=void 0===t||t,e&&t!==e.enabled()&&e.enable(t)}))})),r.Api.register("fixedHeader.enabled()",(function(){if(this.context.length){var t=this.context[0]._fixedHeader;if(t)return t.enabled()}return!1})),r.Api.register("fixedHeader.disable()",(function(){return this.iterator("table",(function(t){(t=t._fixedHeader)&&t.enabled()&&t.enable(!1)}))})),t.each(["header","footer"],(function(t,e){r.Api.register("fixedHeader."+e+"Offset()",(function(t){var n=this.context;return void 0===t?n.length&&n[0]._fixedHeader?n[0]._fixedHeader[e+"Offset"]():void 0:this.iterator("table",(function(n){(n=n._fixedHeader)&&n[e+"Offset"](t)}))}))})),r})),
/*! Bootstrap 5 styling wrapper for FixedHeader
 * © SpryMedia Ltd - datatables.net/license
 */
function(t){if("function"==typeof define&&define.amd)define(["jquery","datatables.net-bs5","datatables.net-fixedheader"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-bs5")(t,e),e.fn.dataTable.FixedHeader||require("datatables.net-fixedheader")(t,e)};"undefined"==typeof window?module.exports=function(o,r){return o||(o=window),r||(r=e(o)),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))}else t(jQuery,window,document)}((function(t,e,n){"use strict";return t.fn.dataTable})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function o(e,n){if(!r.versionCheck||!r.versionCheck("2"))throw"DataTables Responsive requires DataTables 2 or newer";this.s={childNodeStore:{},columns:[],current:[],dt:new r.Api(e)},this.s.dt.settings()[0].responsive||(n&&"string"==typeof n.details?n.details={type:n.details}:n&&!1===n.details?n.details={type:!1}:n&&!0===n.details&&(n.details={type:"inline"}),this.c=t.extend(!0,{},o.defaults,r.defaults.responsive,n),(e.responsive=this)._constructor())}var r=t.fn.dataTable,i=(t.extend(o.prototype,{_constructor:function(){var n=this,o=this.s.dt,i=t(e).innerWidth(),a=(o.settings()[0]._responsive=this,t(e).on("orientationchange.dtr",r.util.throttle((function(){var o=t(e).innerWidth();o!==i&&(n._resize(),i=o)}))),o.on("row-created.dtr",(function(e,r,i,a){-1!==t.inArray(!1,n.s.current)&&t(">td, >th",r).each((function(e){e=o.column.index("toData",e),!1===n.s.current[e]&&t(this).css("display","none").addClass("dtr-hidden")}))})),o.on("destroy.dtr",(function(){o.off(".dtr"),t(o.table().body()).off(".dtr"),t(e).off("resize.dtr orientationchange.dtr"),o.cells(".dtr-control").nodes().to$().removeClass("dtr-control"),t(o.table().node()).removeClass("dtr-inline collapsed"),t.each(n.s.current,(function(t,e){!1===e&&n._setColumnVis(t,!0)}))})),this.c.breakpoints.sort((function(t,e){return t.width<e.width?1:t.width>e.width?-1:0})),this._classLogic(),this.c.details);!1!==a.type&&(n._detailsInit(),o.on("column-visibility.dtr",(function(){n._timer&&clearTimeout(n._timer),n._timer=setTimeout((function(){n._timer=null,n._classLogic(),n._resizeAuto(),n._resize(!0),n._redrawChildren()}),100)})),o.on("draw.dtr",(function(){n._redrawChildren()})),t(o.table().node()).addClass("dtr-"+a.type)),o.on("column-calc.dt",(function(t,e){for(var o=n.s.current,r=0;r<o.length;r++){var i=e.visible.indexOf(r);!1===o[r]&&0<=i&&e.visible.splice(i,1)}})),o.on("preXhr.dtr",(function(){var t=[];o.rows().every((function(){this.child.isShown()&&t.push(this.id(!0))})),o.one("draw.dtr",(function(){n._resizeAuto(),n._resize(),o.rows(t).every((function(){n._detailsDisplay(this,!1)}))}))})),o.on("draw.dtr",(function(){n._controlClass()})).ready((function(){n._resizeAuto(),n._resize(),o.on("column-reorder.dtr",(function(t,e,o){n._classLogic(),n._resizeAuto(),n._resize(!0)})),o.on("column-sizing.dtr",(function(){n._resizeAuto(),n._resize()}))}))},_colGroupAttach:function(t,e,n){var o=null;if(e[n].get(0).parentNode!==t[0]){for(var r=n+1;r<e.length;r++)if(t[0]===e[r].get(0).parentNode){o=r;break}null!==o?e[n].insertBefore(e[o][0]):t.append(e[n])}},_childNodes:function(t,e,n){var o=e+"-"+n;if(this.s.childNodeStore[o])return this.s.childNodeStore[o];for(var r=[],i=t.cell(e,n).node().childNodes,a=0,s=i.length;a<s;a++)r.push(i[a]);return this.s.childNodeStore[o]=r},_childNodesRestore:function(t,e,n){var o=e+"-"+n;if(this.s.childNodeStore[o]){var r=t.cell(e,n).node();if(0<(t=this.s.childNodeStore[o]).length){for(var i=t[0].parentNode.childNodes,a=[],s=0,l=i.length;s<l;s++)a.push(i[s]);for(var c=0,d=a.length;c<d;c++)r.appendChild(a[c])}this.s.childNodeStore[o]=void 0}},_columnsVisiblity:function(e){for(var n=this.s.dt,o=this.s.columns,r=o.map((function(t,e){return{columnIdx:e,priority:t.priority}})).sort((function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx})),i=t.map(o,(function(o,r){return!1===n.column(r).visible()?"not-visible":(!o.auto||null!==o.minWidth)&&(!0===o.auto?"-":-1!==t.inArray(e,o.includeIn))})),a=0,s=0,l=i.length;s<l;s++)!0===i[s]&&(a+=o[s].minWidth);var c=(c=n.settings()[0].oScroll).sY||c.sX?c.iBarWidth:0,d=n.table().container().offsetWidth-c-a;for(s=0,l=i.length;s<l;s++)o[s].control&&(d-=o[s].minWidth);var u=!1;for(s=0,l=r.length;s<l;s++){var f=r[s].columnIdx;"-"===i[f]&&!o[f].control&&o[f].minWidth&&(u||d-o[f].minWidth<0?i[f]=!(u=!0):i[f]=!0,d-=o[f].minWidth)}var h=!1;for(s=0,l=o.length;s<l;s++)if(!o[s].control&&!o[s].never&&!1===i[s]){h=!0;break}for(s=0,l=o.length;s<l;s++)o[s].control&&(i[s]=h),"not-visible"===i[s]&&(i[s]=!1);return-1===t.inArray(!0,i)&&(i[0]=!0),i},_classLogic:function(){function e(t,e,a,s){var l,c,d;if(a){if("max-"===a)for(l=n._find(e).width,c=0,d=o.length;c<d;c++)o[c].width<=l&&i(t,o[c].name);else if("min-"===a)for(l=n._find(e).width,c=0,d=o.length;c<d;c++)o[c].width>=l&&i(t,o[c].name);else if("not-"===a)for(c=0,d=o.length;c<d;c++)-1===o[c].name.indexOf(s)&&i(t,o[c].name)}else r[t].includeIn.push(e)}var n=this,o=this.c.breakpoints,r=this.s.dt.columns().eq(0).map((function(t){var e=(t=this.column(t)).header().className,n=t.init().responsivePriority;t=t.header().getAttribute("data-priority");return void 0===n&&(n=null==t?1e4:+t),{className:e,includeIn:[],auto:!1,control:!1,never:!!e.match(/\b(dtr\-)?never\b/),priority:n}})),i=function(e,n){e=r[e].includeIn,-1===t.inArray(n,e)&&e.push(n)};r.each((function(n,r){for(var i=n.className.split(" "),a=!1,s=0,l=i.length;s<l;s++){var c=i[s].trim();if("all"===c||"dtr-all"===c)return a=!0,void(n.includeIn=t.map(o,(function(t){return t.name})));if("none"===c||"dtr-none"===c||n.never)return void(a=!0);if("control"===c||"dtr-control"===c)return a=!0,void(n.control=!0);t.each(o,(function(t,n){var o=n.name.split("-"),i=new RegExp("(min\\-|max\\-|not\\-)?("+o[0]+")(\\-[_a-zA-Z0-9])?");(i=c.match(i))&&(a=!0,i[2]===o[0]&&i[3]==="-"+o[1]?e(r,n.name,i[1],i[2]+i[3]):i[2]!==o[0]||i[3]||e(r,n.name,i[1],i[2]))}))}a||(n.auto=!0)})),this.s.columns=r},_controlClass:function(){var e,n,o;"inline"===this.c.details.type&&(e=this.s.dt,n=this.s.current,o=t.inArray(!0,n),e.cells(null,(function(t){return t!==o}),{page:"current"}).nodes().to$().filter(".dtr-control").removeClass("dtr-control"),e.cells(null,o,{page:"current"}).nodes().to$().addClass("dtr-control"))},_detailsDisplay:function(e,n){function r(o){t(e.node()).toggleClass("dtr-expanded",!1!==o),t(s.table().node()).triggerHandler("responsive-display.dt",[s,e,o,n])}var i,a=this,s=this.s.dt,l=this.c.details;l&&!1!==l.type&&(i="string"==typeof l.renderer?o.renderer[l.renderer]():l.renderer,"boolean"==typeof(l=l.display(e,n,(function(){return i.call(a,s,e[0][0],a._detailsObj(e[0]))}),(function(){r(!1)}))))&&r(l)},_detailsInit:function(){var e=this,n=this.s.dt,o=("inline"===(r=this.c.details).type&&(r.target="td.dtr-control, th.dtr-control"),n.on("draw.dtr",(function(){e._tabIndexes()})),e._tabIndexes(),t(n.table().body()).on("keyup.dtr","td, th",(function(e){13===e.keyCode&&t(this).data("dtr-keyboard")&&t(this).click()})),r.target),r="string"==typeof o?o:"td, th";void 0===o&&null===o||t(n.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",r,(function(r){if(t(n.table().node()).hasClass("collapsed")&&-1!==t.inArray(t(this).closest("tr").get(0),n.rows().nodes().toArray())){if("number"==typeof o){var i=o<0?n.columns().eq(0).length+o:o;if(n.cell(this).index().column!==i)return}i=n.row(t(this).closest("tr")),"click"===r.type?e._detailsDisplay(i,!1):"mousedown"===r.type?t(this).css("outline","none"):"mouseup"===r.type&&t(this).trigger("blur").css("outline","")}}))},_detailsObj:function(e){var n=this,o=this.s.dt;return t.map(this.s.columns,(function(t,r){if(!t.never&&!t.control)return{className:o.settings()[0].aoColumns[r].sClass,columnIndex:r,data:o.cell(e,r).render(n.c.orthogonal),hidden:o.column(r).visible()&&!n.s.current[r],rowIndex:e,title:o.column(r).title()}}))},_find:function(t){for(var e=this.c.breakpoints,n=0,o=e.length;n<o;n++)if(e[n].name===t)return e[n]},_redrawChildren:function(){var t=this,e=this.s.dt;e.rows({page:"current"}).iterator("row",(function(n,o){t._detailsDisplay(e.row(o),!0)}))},_resize:function(n){for(var o,r=this,i=this.s.dt,a=t(e).innerWidth(),s=this.c.breakpoints,l=s[0].name,c=this.s.columns,d=this.s.current.slice(),u=s.length-1;0<=u;u--)if(a<=s[u].width){l=s[u].name;break}var f=this._columnsVisiblity(l),h=(this.s.current=f,!1);for(u=0,o=c.length;u<o;u++)if(!1===f[u]&&!c[u].never&&!c[u].control&&0==!i.column(u).visible()){h=!0;break}t(i.table().node()).toggleClass("collapsed",h);var p=!1,m=0,g=i.settings()[0],v=t(i.table().node()).children("colgroup"),b=g.aoColumns.map((function(t){return t.colEl}));i.columns().eq(0).each((function(t,e){i.column(t).visible()&&(!0===f[e]&&m++,!n&&f[e]===d[e]||(p=!0,r._setColumnVis(t,f[e])),f[e]?r._colGroupAttach(v,b,e):b[e].detach())})),p&&(i.columns.adjust(),this._redrawChildren(),t(i.table().node()).trigger("responsive-resize.dt",[i,this._responsiveOnlyHidden()]),0===i.page.info().recordsDisplay)&&t("td",i.table().body()).eq(0).attr("colspan",m),r._controlClass()},_resizeAuto:function(){var e=this.s.dt,n=this.s.columns,o=this,r=e.columns().indexes().filter((function(t){return e.column(t).visible()}));if(this.c.auto&&-1!==t.inArray(!0,t.map(n,(function(t){return t.auto})))){for(var i=e.table().node().cloneNode(!1),a=t(e.table().header().cloneNode(!1)).appendTo(i),s=t(e.table().footer().cloneNode(!1)).appendTo(i),l=t(e.table().body()).clone(!1,!1).empty().appendTo(i),c=(i.style.width="auto",e.table().header.structure(r).forEach((e=>{e=e.filter((function(t){return!!t})).map((function(e){return t(e.cell).clone(!1).css("display","table-cell").css("width","auto").css("min-width",0)})),t("<tr/>").append(e).appendTo(a)})),t("<tr/>").appendTo(l)),d=0;d<r.count();d++)c.append("<td/>");this.c.details.renderer._responsiveMovesNodes?e.rows({page:"current"}).every((function(n){var i,a=this.node();a&&(i=a.cloneNode(!1),e.cells(n,r).every((function(e,r){((r=o.s.childNodeStore[n+"-"+r])?t(this.node().cloneNode(!1)).append(t(r).clone()):t(this.node()).clone(!1)).appendTo(i)})),l.append(i))})):t(l).append(t(e.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display",""),l.find("th, td").css("display",""),e.table().footer.structure(r).forEach((e=>{e=e.filter((function(t){return!!t})).map((function(e){return t(e.cell).clone(!1).css("display","table-cell").css("width","auto").css("min-width",0)})),t("<tr/>").append(e).appendTo(s)})),"inline"===this.c.details.type&&t(i).addClass("dtr-inline collapsed"),t(i).find("[name]").removeAttr("name"),t(i).css("position","relative"),(i=t("<div/>").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(i)).insertBefore(e.table().node()),c.children().each((function(t){t=e.column.index("fromVisible",t),n[t].minWidth=this.offsetWidth||0})),i.remove()}},_responsiveOnlyHidden:function(){var e=this.s.dt;return t.map(this.s.current,(function(t,n){return!1===e.column(n).visible()||t}))},_setColumnVis:function(e,n){var o=this,r=this.s.dt,i=n?"":"none";this._setHeaderVis(e,n,r.table().header.structure()),this._setHeaderVis(e,n,r.table().footer.structure()),r.column(e).nodes().to$().css("display",i).toggleClass("dtr-hidden",!n),t.isEmptyObject(this.s.childNodeStore)||r.cells(null,e).indexes().each((function(t){o._childNodesRestore(r,t.row,t.column)}))},_setHeaderVis:function(e,n,o){var r=this,i=n?"":"none";o.forEach((function(o){if(o[e])t(o[e].cell).css("display",i).toggleClass("dtr-hidden",!n);else for(var a=e;0<=a;){if(o[a]){o[a].cell.colSpan=r._colspan(o,a);break}a--}}))},_colspan:function(t,e){for(var n=1,o=e+1;o<t.length;o++)if(null===t[o]&&this.s.current[o])n++;else if(t[o])break;return n},_tabIndexes:function(){var e=this.s.dt,n=e.cells({page:"current"}).nodes().to$(),o=e.settings()[0],r=this.c.details.target;n.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),("number"==typeof r?e.cells(null,r,{page:"current"}).nodes().to$():t(r="td:first-child, th:first-child"===r?">td:first-child, >th:first-child":r,e.rows({page:"current"}).nodes())).attr("tabIndex",o.iTabIndex).data("dtr-keyboard",1)}}),o.defaults={breakpoints:o.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],auto:!0,details:{display:(o.display={childRow:function(e,n,o){var r=t(e.node());return n?r.hasClass("dtr-expanded")?(e.child(o(),"child").show(),!0):void 0:r.hasClass("dtr-expanded")?(e.child(!1),!1):!1!==(n=o())&&(e.child(n,"child").show(),!0)},childRowImmediate:function(e,n,o){var r=t(e.node());return!n&&r.hasClass("dtr-expanded")||!e.responsive.hasHidden()?(e.child(!1),!1):!1!==(n=o())&&(e.child(n,"child").show(),!0)},modal:function(e){return function(o,r,i,a){if(!1===(i=i()))return!1;if(r){if(!(l=t("div.dtr-modal-content")).length||o.index()!==l.data("dtr-row-idx"))return null;l.empty().append(i)}else{var s=function(){l.remove(),t(n).off("keypress.dtr"),t(o.node()).removeClass("dtr-expanded"),a()},l=t('<div class="dtr-modal"/>').append(t('<div class="dtr-modal-display"/>').append(t('<div class="dtr-modal-content"/>').data("dtr-row-idx",o.index()).append(i)).append(t('<div class="dtr-modal-close">&times;</div>').click((function(){s()})))).append(t('<div class="dtr-modal-background"/>').click((function(){s()}))).appendTo("body");t(o.node()).addClass("dtr-expanded"),t(n).on("keyup.dtr",(function(t){27===t.keyCode&&(t.stopPropagation(),s())}))}return e&&e.header&&t("div.dtr-modal-content").prepend("<h2>"+e.header(o)+"</h2>"),!0}}}).childRow,renderer:(o.renderer={listHiddenNodes:function(){function e(e,n,o){var r=this,i=t('<ul data-dtr-index="'+n+'" class="dtr-details"/>'),a=!1;return t.each(o,(function(n,o){var s;o.hidden&&(s=o.className?'class="'+o.className+'"':"",t("<li "+s+' data-dtr-index="'+o.columnIndex+'" data-dt-row="'+o.rowIndex+'" data-dt-column="'+o.columnIndex+'"><span class="dtr-title">'+o.title+"</span> </li>").append(t('<span class="dtr-data"/>').append(r._childNodes(e,o.rowIndex,o.columnIndex))).appendTo(i),a=!0)})),!!a&&i}return e._responsiveMovesNodes=!0,e},listHidden:function(){return function(e,n,o){return o=t.map(o,(function(t){var e=t.className?'class="'+t.className+'"':"";return t.hidden?"<li "+e+' data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""})).join(""),!!o&&t('<ul data-dtr-index="'+n+'" class="dtr-details"/>').append(o)}},tableAll:function(e){return e=t.extend({tableClass:""},e),function(n,o,r){return r=t.map(r,(function(t){return"<tr "+(t.className?'class="'+t.className+'"':"")+' data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+t.title+":</td> <td>"+t.data+"</td></tr>"})).join(""),t('<table class="'+e.tableClass+' dtr-details" width="100%"/>').append(r)}}}).listHidden(),target:0,type:"inline"},orthogonal:"display"},t.fn.dataTable.Api);return i.register("responsive()",(function(){return this})),i.register("responsive.index()",(function(e){return{column:(e=t(e)).data("dtr-index"),row:e.parent().data("dtr-index")}})),i.register("responsive.rebuild()",(function(){return this.iterator("table",(function(t){t._responsive&&t._responsive._classLogic()}))})),i.register("responsive.recalc()",(function(){return this.iterator("table",(function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())}))})),i.register("responsive.hasHidden()",(function(){var e=this.context[0];return!!e._responsive&&-1!==t.inArray(!1,e._responsive._responsiveOnlyHidden())})),i.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",(function(){return this.iterator("column",(function(t,e){return!!t._responsive&&t._responsive._responsiveOnlyHidden()[e]}),1)})),o.version="3.0.3",t.fn.dataTable.Responsive=o,t.fn.DataTable.Responsive=o,t(n).on("preInit.dt.dtr",(function(e,n,i){"dt"===e.namespace&&(t(n.nTable).hasClass("responsive")||t(n.nTable).hasClass("dt-responsive")||n.oInit.responsive||r.defaults.responsive)&&!1!==(e=n.oInit.responsive)&&new o(n,t.isPlainObject(e)?e:{})})),r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs5","datatables.net-responsive"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net-bs5")(t,e),e.fn.dataTable.Responsive||require("datatables.net-responsive")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var o,r=t.fn.dataTable,i=r.Responsive.display,a=i.modal,s=t('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"/></div></div></div>'),l=e.bootstrap;return r.Responsive.bootstrap=function(t){l=t},i.modal=function(e){return!o&&l.Modal&&(o=new l.Modal(s[0])),function(r,i,l,c){if(o){var d,u,f=l();if(!1===f)return!1;if(i){if(!t.contains(n,s[0])||r.index()!==s.data("dtr-row-idx"))return null;s.find("div.modal-body").empty().append(f)}else e&&e.header&&(u=(d=s.find("div.modal-header")).find("button").detach(),d.empty().append('<h4 class="modal-title">'+e.header(r)+"</h4>").append(u)),s.find("div.modal-body").empty().append(f),s.data("dtr-row-idx",r.index()).one("hidden.bs.modal",c).appendTo("body"),o.show();return!0}return a(r,i,l,c)}},r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";function o(e,r){this instanceof o?(void 0===r&&(r={}),e=t.fn.dataTable.Api(e),this.s={dt:e.settings()[0],dtApi:e,tableTop:0,tableBottom:0,redrawTop:0,redrawBottom:0,autoHeight:!0,viewportRows:0,stateTO:null,stateSaveThrottle:function(){},drawTO:null,heights:{jump:null,page:null,virtual:null,scroll:null,row:null,viewport:null,labelHeight:0,xbar:0},topRowFloat:0,scrollDrawDiff:null,loaderVisible:!1,forceReposition:!1,baseRowTop:0,baseScrollTop:0,mousedown:!1,lastScrollTop:0},this.s=t.extend(this.s,o.oDefaults,r),this.s.heights.row=this.s.rowHeight,this.dom={force:n.createElement("div"),label:t('<div class="dts_label">0</div>'),scroller:null,table:null,loader:null},this.s.dt.oScroller||(this.s.dt.oScroller=this).construct()):alert("Scroller warning: Scroller must be initialised with the 'new' keyword.")}var r=t.fn.dataTable,i=(t.extend(o.prototype,{measure:function(e){this.s.autoHeight&&this._calcRowHeight();var n=this.s.heights,o=(n.row&&(n.viewport=this._parseHeight(t(this.dom.scroller).css("max-height")),this.s.viewportRows=parseInt(n.viewport/n.row,10)+1,this.s.dt._iDisplayLength=this.s.viewportRows*this.s.displayBuffer),this.dom.label.outerHeight());n.xbar=this.dom.scroller.offsetHeight-this.dom.scroller.clientHeight,n.labelHeight=o,void 0!==e&&!e||this.s.dtApi.draw(!1)},pageInfo:function(){var t=this.s.dt,e=this.dom.scroller.scrollTop,n=(t=t.fnRecordsDisplay(),Math.ceil(this.pixelsToRow(e+this.s.heights.viewport,!1,this.s.ani)));return{start:Math.floor(this.pixelsToRow(e,!1,this.s.ani)),end:t<n?t-1:n-1}},pixelsToRow:function(t,e,n){return t-=this.s.baseScrollTop,n=n?(this._domain("physicalToVirtual",this.s.baseScrollTop)+t)/this.s.heights.row:t/this.s.heights.row+this.s.baseRowTop,e||void 0===e?parseInt(n,10):n},rowToPixels:function(t,e,n){return t-=this.s.baseRowTop,n=n?this._domain("virtualToPhysical",this.s.baseScrollTop):this.s.baseScrollTop,n+=t*this.s.heights.row,e||void 0===e?parseInt(n,10):n},scrollToRow:function(e,n){var o=this,r=!1,i=this.rowToPixels(e),a=e-(this.s.displayBuffer-1)/2*this.s.viewportRows;a<0&&(a=0),void 0===(n=(i>this.s.redrawBottom||i<this.s.redrawTop)&&this.s.dt._iDisplayStart!==a&&(r=!0,i=this._domain("virtualToPhysical",e*this.s.heights.row),this.s.redrawTop<i)&&i<this.s.redrawBottom?!(this.s.forceReposition=!0):n)||n?(this.s.ani=r,t(this.dom.scroller).animate({scrollTop:i},(function(){setTimeout((function(){o.s.ani=!1}),250)}))):t(this.dom.scroller).scrollTop(i)},construct:function(){var n=this,o=this.s.dtApi;if(!this.s.dt.oFeatures.bPaginate)throw new Error("Pagination must be enabled for Scroller to operate");this.dom.force.style.position="relative",this.dom.force.style.top="0px",this.dom.force.style.left="0px",this.dom.force.style.width="1px",this.dom.scroller=o.table().node().parentNode,this.dom.scroller.appendChild(this.dom.force),this.dom.scroller.style.position="relative",this.dom.table=t(">table",this.dom.scroller)[0],this.dom.table.style.position="absolute",this.dom.table.style.top="0px",this.dom.table.style.left="0px",t(o.table().container()).addClass("dts DTS"),this.dom.label.appendTo(this.dom.scroller),this.s.heights.row&&"auto"!=this.s.heights.row&&(this.s.autoHeight=!1),this.s.ingnoreScroll=!0,t(this.dom.scroller).on("scroll.dt-scroller",(function(t){n._scroll.call(n)})),t(this.dom.scroller).on("touchstart.dt-scroller",(function(){n._scroll.call(n)})),t(this.dom.scroller).on("mousedown.dt-scroller",(function(){n.s.mousedown=!0})).on("mouseup.dt-scroller",(function(){n.s.labelVisible=!1,n.s.mousedown=!1,n.dom.label.css("display","none")})),t(e).on("resize.dt-scroller",(function(){n.measure(!1),n._info()}));var i=!0,a=o.state.loaded();o.on("stateSaveParams.scroller",(function(t,e,o){i&&a?(o.scroller=a.scroller,i=!1,o.scroller&&(n.s.lastScrollTop=o.scroller.scrollTop)):o.scroller={topRow:n.s.topRowFloat,baseRowTop:n.s.baseRowTop}})),o.on("stateLoadParams.scroller",(function(t,e,o){void 0!==o.scroller&&n.scrollToRow(o.scroller.topRow)})),this.measure(!1),a&&a.scroller&&(this.s.topRowFloat=a.scroller.topRow,this.s.baseRowTop=a.scroller.baseRowTop,this.s.baseScrollTop=this.s.baseRowTop*this.s.heights.row,a.scroller.scrollTop=this._domain("physicalToVirtual",this.s.topRowFloat*this.s.heights.row)),n.s.stateSaveThrottle=r.util.throttle((function(){n.s.dtApi.state.save()}),500),o.on("init.scroller",(function(){n.measure(!1),n.s.scrollType="jump",n._draw(),o.on("draw.scroller",(function(){n._draw()}))})),o.on("preDraw.dt.scroller",(function(){n._scrollForce()})),o.on("destroy.scroller",(function(){t(e).off("resize.dt-scroller"),t(n.dom.scroller).off(".dt-scroller"),t(n.s.dt.nTable).off(".scroller"),t(n.s.dt.nTableWrapper).removeClass("DTS"),t("div.DTS_Loading",n.dom.scroller.parentNode).remove(),n.dom.table.style.position="",n.dom.table.style.top="",n.dom.table.style.left=""}))},_calcRowHeight:function(){var e=(i=this.s.dt).nTable,n=e.cloneNode(!1),o=t("<tbody/>").appendTo(n),i=i.oClasses,a=(i=r.versionCheck("2")?{container:i.container,scroller:i.scrolling.container,body:i.scrolling.body}:{container:i.sWrapper,scroller:i.sScrollWrapper,body:i.sScrollBody},t('<div class="'+i.container+' DTS"><div class="'+i.scroller+'"><div class="'+i.body+'"></div></div></div>')),s=(t("tbody tr:lt(4)",e).clone().appendTo(o),t("tr",o).length);if(1===s)o.prepend("<tr><td>&#160;</td></tr>"),o.append("<tr><td>&#160;</td></tr>");else for(;s<3;s++)o.append("<tr><td>&#160;</td></tr>");t("div."+i.body,a).append(n),i=this.s.dt.nHolding||e.parentNode,t(i).is(":visible")||(i="body"),a.find("input").removeAttr("name"),a.appendTo(i),this.s.heights.row=t("tr",o).eq(1).outerHeight(),a.remove()},_draw:function(){var e=this,n=this.s.heights,o=this.dom.scroller.scrollTop,r=t(this.s.dt.nTable).height(),i=this.s.dt._iDisplayStart,a=this.s.dt._iDisplayLength,s=this.s.dt.fnRecordsDisplay(),l=o+n.viewport,c=(this.s.skip=!0,!this.s.dt.bSorted&&!this.s.dt.bFiltered||0!==i||this.s.dt._drawHold||(this.s.topRowFloat=0),o="jump"===this.s.scrollType?this._domain("virtualToPhysical",this.s.topRowFloat*n.row):o,this.s.baseScrollTop=o,this.s.baseRowTop=this.s.topRowFloat,o-(this.s.topRowFloat-i)*n.row);0===i?c=0:s<=i+a?c=n.scroll-r:c+r<l&&(this.s.baseScrollTop+=(s=l-r)-c+1,c=s),this.dom.table.style.top=c+"px",this.s.tableTop=c,this.s.tableBottom=r+this.s.tableTop,i=(o-this.s.tableTop)*this.s.boundaryScale;this.s.redrawTop=o-i,this.s.redrawBottom=o+i>n.scroll-n.viewport-n.row?n.scroll-n.viewport-n.row:o+i,this.s.skip=!1,e.s.ingnoreScroll&&(this.s.dt.oFeatures.bStateSave&&null!==this.s.dt.oLoadedState&&void 0!==this.s.dt.oLoadedState.scroller?((a=!(!this.s.dt.sAjaxSource&&!e.s.dt.ajax||this.s.dt.oFeatures.bServerSide))&&2<=this.s.dt.iDraw||!a&&1<=this.s.dt.iDraw)&&setTimeout((function(){t(e.dom.scroller).scrollTop(e.s.dt.oLoadedState.scroller.scrollTop),setTimeout((function(){e.s.ingnoreScroll=!1}),0)}),0):e.s.ingnoreScroll=!1),this.s.dt.oFeatures.bInfo&&setTimeout((function(){e._info.call(e)}),0),t(this.s.dt.nTable).triggerHandler("position.dts.dt",c)},_domain:function(t,e){var n,o=this.s.heights,r=1e4;return o.virtual===o.scroll||e<r?e:"virtualToPhysical"===t&&e>=o.virtual-r?(n=o.virtual-e,o.scroll-n):"physicalToVirtual"===t&&e>=o.scroll-r?(n=o.scroll-e,o.virtual-n):(o=r-(n=(o.virtual-r-r)/(o.scroll-r-r))*r,"virtualToPhysical"===t?(e-o)/n:n*e+o)},_info:function(){if(this.s.dt.oFeatures.bInfo){var e=this.s.dt,n=this.s.dtApi,o=e.oLanguage,r=(i=n.page.info()).recordsDisplay,i=i.recordsTotal,a=(this.s.lastScrollTop-this.s.baseScrollTop)/this.s.heights.row,s=(a=Math.floor(this.s.baseRowTop+a)+1,r<(s=(a="jump"===this.s.scrollType?Math.floor(this.s.topRowFloat)+1:a)+Math.floor(this.s.heights.viewport/this.s.heights.row))?r:s),l=0===r&&r==i?o.sInfoEmpty+o.sInfoPostFix:0===r?o.sInfoEmpty+" "+o.sInfoFiltered+o.sInfoPostFix:r==i?o.sInfo+o.sInfoPostFix:o.sInfo+" "+o.sInfoFiltered+o.sInfoPostFix,c=((o=(l=this._macros(l,a,s,i,r),o.fnInfoCallback))&&(l=o.call(e.oInstance,e,a,s,i,r,l)),e.aanFeatures.i);if(void 0!==c){for(var d=0,u=c.length;d<u;d++)t(c[d]).html(l);t(e.nTable).triggerHandler("info.dt")}t("div.dt-info",n.table().container()).each((function(){t(this).html(l),n.trigger("info",[n.settings()[0],this,l])}))}},_macros:function(t,e,n,o,r){var i=this.s.dtApi,a=this.s.dt,s=a.fnFormatNumber;return t.replace(/_START_/g,s.call(a,e)).replace(/_END_/g,s.call(a,n)).replace(/_MAX_/g,s.call(a,o)).replace(/_TOTAL_/g,s.call(a,r)).replace(/_ENTRIES_/g,i.i18n("entries","")).replace(/_ENTRIES-MAX_/g,i.i18n("entries","",o)).replace(/_ENTRIES-TOTAL_/g,i.i18n("entries","",r))},_parseHeight:function(n){var o,r;return null!==(n=/^([+-]?(?:\d+(?:\.\d+)?|\.\d+))(px|em|rem|vh)$/.exec(n))&&(r=parseFloat(n[1]),"px"===(n=n[2])?o=r:"vh"===n?o=r/100*t(e).height():"rem"===n?o=r*parseFloat(t(":root").css("font-size")):"em"===n&&(o=r*parseFloat(t("body").css("font-size"))),o)||0},_scroll:function(){var e,n=this,o=this.s.heights,i=this.dom.scroller.scrollTop;this.s.skip||this.s.ingnoreScroll||i!==this.s.lastScrollTop&&(this.s.dt.bFiltered||this.s.dt.bSorted?this.s.lastScrollTop=0:(clearTimeout(this.s.stateTO),this.s.stateTO=setTimeout((function(){n.s.dtApi.state.save(),n._info()}),250),this.s.scrollType=Math.abs(i-this.s.lastScrollTop)>o.viewport?"jump":"cont",this.s.topRowFloat="cont"===this.s.scrollType?this.pixelsToRow(i,!1,!1):this._domain("physicalToVirtual",i)/o.row,this.s.topRowFloat<0&&(this.s.topRowFloat=0),this.s.forceReposition||i<this.s.redrawTop||i>this.s.redrawBottom?(e=Math.ceil((this.s.displayBuffer-1)/2*this.s.viewportRows),e=parseInt(this.s.topRowFloat,10)-e,this.s.forceReposition=!1,e<=0?e=0:e+this.s.dt._iDisplayLength>this.s.dt.fnRecordsDisplay()?(e=this.s.dt.fnRecordsDisplay()-this.s.dt._iDisplayLength)<0&&(e=0):e%2!=0&&e++,(this.s.targetTop=e)!=this.s.dt._iDisplayStart&&(this.s.tableTop=t(this.s.dt.nTable).offset().top,this.s.tableBottom=t(this.s.dt.nTable).height()+this.s.tableTop,e=function(){n.s.dt._iDisplayStart=n.s.targetTop,n.s.dtApi.draw("page")},this.s.dt.oFeatures.bServerSide?(this.s.forceReposition=!0,t(this.s.dt.nTable).triggerHandler("scroller-will-draw.dt"),r.versionCheck("2")?n.s.dtApi.processing(!0):this.s.dt.oApi._fnProcessingDisplay(this.s.dt,!0),clearTimeout(this.s.drawTO),this.s.drawTO=setTimeout(e,this.s.serverWait)):e())):this.s.topRowFloat=this.pixelsToRow(i,!1,!0),this._info(),this.s.lastScrollTop=i,this.s.stateSaveThrottle(),"jump"===this.s.scrollType&&this.s.mousedown&&(this.s.labelVisible=!0),this.s.labelVisible&&(e=(o.viewport-o.labelHeight-o.xbar)/o.scroll,this.dom.label.html(this.s.dt.fnFormatNumber(parseInt(this.s.topRowFloat,10)+1)).css("top",i+i*e).css("display","block"))))},_scrollForce:function(){var t=this.s.heights;t.virtual=t.row*this.s.dt.fnRecordsDisplay(),t.scroll=t.virtual,1e6<t.scroll&&(t.scroll=1e6),this.dom.force.style.height=t.scroll>this.s.heights.row?t.scroll+"px":this.s.heights.row+"px"}}),o.oDefaults=o.defaults={boundaryScale:.5,displayBuffer:9,rowHeight:"auto",serverWait:200},o.version="2.4.3",t(n).on("preInit.dt.dtscroller",(function(e,n){var i,a;"dt"===e.namespace&&(e=n.oInit.scroller,i=r.defaults.scroller,e||i)&&(a=t.extend({},e,i),!1!==e)&&new o(n,a)})),t.fn.dataTable.Scroller=o,t.fn.DataTable.Scroller=o,t.fn.dataTable.Api);return i.register("scroller()",(function(){return this})),i.register("scroller().rowToPixels()",(function(t,e,n){var o=this.context;if(o.length&&o[0].oScroller)return o[0].oScroller.rowToPixels(t,e,n)})),i.register("scroller().pixelsToRow()",(function(t,e,n){var o=this.context;if(o.length&&o[0].oScroller)return o[0].oScroller.pixelsToRow(t,e,n)})),i.register(["scroller().scrollToRow()","scroller.toPosition()"],(function(t,e){return this.iterator("table",(function(n){n.oScroller&&n.oScroller.scrollToRow(t,e)})),this})),i.register("row().scrollTo()",(function(t){var e=this;return this.iterator("row",(function(n,o){n.oScroller&&(o=e.rows({order:"applied",search:"applied"}).indexes().indexOf(o),n.oScroller.scrollToRow(o,t))})),this})),i.register("scroller.measure()",(function(t){return this.iterator("table",(function(e){e.oScroller&&e.oScroller.measure(t)})),this})),i.register("scroller.page()",(function(){var t=this.context;if(t.length&&t[0].oScroller)return t[0].oScroller.pageInfo()})),r})),function(t){var e,n;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(o,r){return o=o||window,r=r||e(o),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))):t(jQuery,window,document)}((function(t,e,n){"use strict";var o=t.fn.dataTable;function r(t,e,n){function o(e,n){n<e&&(o=n,n=e,e=o);var o,r=!1;return t.columns(":visible").indexes().filter((function(t){return t===e&&(r=!0),t===n?!(r=!1):r}))}function r(e,n){var o,r=t.rows({search:"applied"}).indexes(),i=(r.indexOf(e)>r.indexOf(n)&&(o=n,n=e,e=o),!1);return r.filter((function(t){return t===e&&(i=!0),t===n?!(i=!1):i}))}var i;n=t.cells({selected:!0}).any()||n?(i=o(n.column,e.column),r(n.row,e.row)):(i=o(0,e.column),r(0,e.row)),n=t.cells(n,i).flatten();t.cells(e,{selected:!0}).any()?t.cells(n).deselect():t.cells(n).select()}function i(t){var e=o.select.classes.checkbox;return t?e.replace(/ /g,"."):e}function a(e){var n=e.settings()[0]._select.selector;t(e.table().container()).off("mousedown.dtSelect",n).off("mouseup.dtSelect",n).off("click.dtSelect",n),t("body").off("click.dtSelect"+p(e.table().node()))}function s(n){var o,r=t(n.table().container()),i=n.settings()[0],a=i._select.selector;r.on("mousedown.dtSelect",a,(function(t){(t.shiftKey||t.metaKey||t.ctrlKey)&&r.css("-moz-user-select","none").one("selectstart.dtSelect",a,(function(){return!1})),e.getSelection&&(o=e.getSelection())})).on("mouseup.dtSelect",a,(function(){r.css("-moz-user-select","")})).on("click.dtSelect",a,(function(r){var i,a=n.select.items();if(o&&((!(c=e.getSelection()).anchorNode||t(c.anchorNode).closest("table")[0]===n.table().node())&&c!==o))return;var s,c=n.settings()[0],d=n.table().container();t(r.target).closest("div.dt-container")[0]==d&&(d=n.cell(t(r.target).closest("td, th"))).any()&&(s=t.Event("user-select.dt"),l(n,s,[a,d,r]),s.isDefaultPrevented()||(s=d.index(),"row"===a?(i=s.row,h(r,n,c,"row",i)):"column"===a?(i=d.index().column,h(r,n,c,"column",i)):"cell"===a&&(i=d.index(),h(r,n,c,"cell",i)),c._select_lastCell=s))})),t("body").on("click.dtSelect"+p(n.table().node()),(function(e){var o;!i._select.blurable||t(e.target).parents().filter(n.table().container()).length||0===t(e.target).parents("html").length||t(e.target).parents("div.DTE").length||(o=t.Event("select-blur.dt"),l(n,o,[e.target,e]),o.isDefaultPrevented())||f(i,!0)}))}function l(e,n,o,r){r&&!e.flatten().length||("string"==typeof n&&(n+=".dt"),o.unshift(e),t(e.table().node()).trigger(n,o))}function c(t){return t.mRender&&"selectCheckbox"===t.mRender._name}function d(e,n){var o,r,i,a,s;"api"!==e.select.style()&&!1!==e.select.info()&&(s=e.settings()[0]._select_set.length||e.rows({selected:!0}).count(),o=e.columns({selected:!0}).count(),r=e.cells({selected:!0}).count(),i=function(n,o,r){n.append(t('<span class="select-item"/>').append(e.i18n("select."+o+"s",{_:"%d "+o+"s selected",0:"",1:"1 "+o+" selected"},r)))},n=t(n),i(a=t('<span class="select-info"/>'),"row",s),i(a,"column",o),i(a,"cell",r),(s=n.children("span.select-info")).length&&s.remove(),""!==a.text())&&n.append(a)}function u(t,e,n,o){var r,i=t[e+"s"]({search:"applied"}).indexes(),a=(o=i.indexOf(o),i.indexOf(n));t[e+"s"]({selected:!0}).any()||-1!==o?(a<o&&(r=a,a=o,o=r),i.splice(a+1,i.length),i.splice(0,o)):i.splice(i.indexOf(n)+1,i.length),t[e](n,{selected:!0}).any()?(i.splice(i.indexOf(n),1),t[e+"s"](i).deselect()):t[e+"s"](i).select()}function f(t,e){!e&&"single"!==t._select.style||((e=new o.Api(t)).rows({selected:!0}).deselect(),e.columns({selected:!0}).deselect(),e.cells({selected:!0}).deselect())}function h(t,e,n,o,i){var a=e.select.style(),s=e.select.toggleable(),l=e[o](i,{selected:!0}).any();l&&!s||("os"===a?t.ctrlKey||t.metaKey?e[o](i).select(!l):t.shiftKey?"cell"===o?r(e,i,n._select_lastCell||null):u(e,o,i,n._select_lastCell?n._select_lastCell[o]:null):(s=e[o+"s"]({selected:!0}),l&&1===s.flatten().length?e[o](i).deselect():(s.deselect(),e[o](i).select())):"multi+shift"==a&&t.shiftKey?"cell"===o?r(e,i,n._select_lastCell||null):u(e,o,i,n._select_lastCell?n._select_lastCell[o]:null):e[o](i).select(!l))}function p(t){return t.id.replace(/[^a-zA-Z0-9\-\_]/g,"-")}o.select={},o.select.classes={checkbox:"dt-select-checkbox"},o.select.version="2.1.0",o.select.init=function(e){var n,r,a,s,l,d,u,f,h,p,m,g,v,b=e.settings()[0];if(!o.versionCheck("2"))throw"Warning: Select requires DataTables 2 or newer";!b._select&&(n=e.state.loaded(),r=function(t,n,o){if(null!==o&&void 0!==o.select){if(e.rows({selected:!0}).any()&&e.rows().deselect(),void 0!==o.select.rows&&e.rows(o.select.rows).select(),e.columns({selected:!0}).any()&&e.columns().deselect(),void 0!==o.select.columns&&e.columns(o.select.columns).select(),e.cells({selected:!0}).any()&&e.cells().deselect(),void 0!==o.select.cells)for(var r=0;r<o.select.cells.length;r++)e.cell(o.select.cells[r].row,o.select.cells[r].column).select();e.state.save()}},e.on("stateSaveParams",(function(t,n,o){o.select={},o.select.rows=e.rows({selected:!0}).ids(!0).toArray(),o.select.columns=e.columns({selected:!0})[0],o.select.cells=e.cells({selected:!0})[0].map((function(t){return{row:e.row(t.row).id(!0),column:t.column}}))})).on("stateLoadParams",r).one("init",(function(){r(0,0,n)})),s=b.oInit.select,a=o.defaults.select,a=void 0===s?a:s,s="row",u=!(d=!(l="api")),p="td, th",m="selected",v=!(g=h=!(f=null)),b._select={infoEls:[]},!0===a?(l="os",v=!0):"string"==typeof a?(l=a,v=!0):t.isPlainObject(a)&&(void 0!==a.blurable&&(d=a.blurable),void 0!==a.toggleable&&(u=a.toggleable),void 0!==a.info&&(h=a.info),void 0!==a.items&&(s=a.items),l=void 0!==a.style?a.style:"os",v=!0,void 0!==a.selector&&(p=a.selector),void 0!==a.className&&(m=a.className),void 0!==a.headerCheckbox&&(g=a.headerCheckbox),void 0!==a.selectable)&&(f=a.selectable),e.select.selector(p),e.select.items(s),e.select.style(l),e.select.blurable(d),e.select.toggleable(u),e.select.info(h),e.select.selectable(f),b._select.className=m,!v&&t(e.table().node()).hasClass("selectable")&&e.select.style("os"),g||"select-page"===g||"select-all"===g)&&e.ready((function(){var n,o,r;o=g,r=(n=e).settings()[0].aoColumns,n.columns().iterator("column",(function(e,a){var s;c(r[a])&&(a=n.column(a).header(),t("input",a).length||(s=t("<input>").attr({class:i(!0),type:"checkbox","aria-label":n.i18n("select.aria.headerCheckbox")||"Select all rows"}).appendTo(a).on("change",(function(){this.checked?("select-page"==o?n.rows({page:"current"}):n.rows({search:"applied"})).select():("select-page"==o?n.rows({page:"current",selected:!0}):n.rows({selected:!0})).deselect()})).on("click",(function(t){t.stopPropagation()})),n.on("draw select deselect",(function(t,e,r){"row"!==r&&r||((r=function(t,e){var n=t.settings()[0],o=n._select.selectable,r=0,i=("select-page"==e?t.rows({page:"current",selected:!0}):t.rows({selected:!0})).count(),a=("select-page"==e?t.rows({page:"current",selected:!0}):t.rows({search:"applied",selected:!0})).count();if(o)for(var s=("select-page"==e?t.rows({page:"current"}):t.rows({search:"applied"})).indexes(),l=0;l<s.length;l++){var c=n.aoData[s[l]];o(c._aData,c.nTr,s[l])&&r++}else r=("select-page"==e?t.rows({page:"current"}):t.rows({search:"applied"})).count();return{available:r,count:i,search:a}}(n,o)).search&&r.search<=r.count&&r.search===r.available?s.prop("checked",!0).prop("indeterminate",!1):0===r.search&&0===r.count?s.prop("checked",!1).prop("indeterminate",!1):s.prop("checked",!1).prop("indeterminate",!0))}))))}))}))},t.each([{type:"row",prop:"aoData"},{type:"column",prop:"aoColumns"}],(function(t,e){o.ext.selector[e.type].push((function(t,n,o){var r,i=n.selected,a=[];if(!0!==i&&!1!==i)return o;for(var s=0,l=o.length;s<l;s++)(r=t[e.prop][o[s]])&&(!0===i&&!0===r._select_selected||!1===i&&!r._select_selected)&&a.push(o[s]);return a}))})),o.ext.selector.cell.push((function(t,e,n){var o,r=e.selected,i=[];if(void 0===r)return n;for(var a=0,s=n.length;a<s;a++)(o=t.aoData[n[a].row])&&(!0===r&&o._selected_cells&&!0===o._selected_cells[n[a].column]||!1===r&&(!o._selected_cells||!o._selected_cells[n[a].column]))&&i.push(n[a]);return i}));var m=o.Api.register,g=o.Api.registerPlural;function v(t,e){return function(n){return n.i18n("buttons."+t,e)}}function b(t){return"draw.dt.DT"+(t=t._eventNamespace)+" select.dt.DT"+t+" deselect.dt.DT"+t}m("select()",(function(){return this.iterator("table",(function(t){o.select.init(new o.Api(t))}))})),m("select.blurable()",(function(t){return void 0===t?this.context[0]._select.blurable:this.iterator("table",(function(e){e._select.blurable=t}))})),m("select.toggleable()",(function(t){return void 0===t?this.context[0]._select.toggleable:this.iterator("table",(function(e){e._select.toggleable=t}))})),m("select.info()",(function(t){return void 0===t?this.context[0]._select.info:this.iterator("table",(function(e){e._select.info=t}))})),m("select.items()",(function(t){return void 0===t?this.context[0]._select.items:this.iterator("table",(function(e){e._select.items=t,l(new o.Api(e),"selectItems",[t])}))})),m("select.style()",(function(e){return void 0===e?this.context[0]._select.style:this.iterator("table",(function(n){n._select||o.select.init(new o.Api(n)),n._select_init||function(e){var n,r=new o.Api(e);e._select_init=!0,e._select_set=[],e.aoRowCreatedCallback.push((function(n,o,a){var s,l,c=e.aoData[a];for(a=r.row(a).id(),(c._select_selected||"undefined"!==a&&e._select_set.includes(a))&&(c._select_selected=!0,t(n).addClass(e._select.className).find("input."+i(!0)).prop("checked",!0)),s=0,l=e.aoColumns.length;s<l;s++)(e.aoColumns[s]._select_selected||c._selected_cells&&c._selected_cells[s])&&t(c.anCells[s]).addClass(e._select.className)})),(n=r).on("select",(function(t,e,o,r){if("row"===o){o=n.settings()[0];for(var i=n,a=o._select_set,s=r,l=0;l<s.length;l++){var c=i.row(s[l]).id();c&&"undefined"!==c&&!a.includes(c)&&a.push(c)}}})),n.on("deselect",(function(t,e,o,r){if("row"===o){o=n.settings()[0];for(var i=n,a=o._select_set,s=r,l=0;l<s.length;l++){var c=i.row(s[l]).id();-1!==(c=a.indexOf(c))&&a.splice(c,1)}}})),r.on("info.dt",(function(t,e,n){e._select.infoEls.includes(n)||e._select.infoEls.push(n),d(r,n)})),r.on("select.dtSelect.dt deselect.dtSelect.dt",(function(){e._select.infoEls.forEach((function(t){d(r,t)})),r.state.save()})),r.on("destroy.dtSelect",(function(){t(r.rows({selected:!0}).nodes()).removeClass(r.settings()[0]._select.className),t("input."+i(!0),r.table().header()).remove(),a(r),r.off(".dtSelect"),t("body").off(".dtSelect"+p(r.table().node()))}))}(n),n._select.style=e;var r=new o.Api(n);"api"!==e?r.ready((function(){a(r),s(r)})):a(r),l(new o.Api(n),"selectStyle",[e])}))})),m("select.selector()",(function(t){return void 0===t?this.context[0]._select.selector:this.iterator("table",(function(e){var n=new o.Api(e),r=e._select.style;a(n),e._select.selector=t,r&&"api"!==r?n.ready((function(){a(n),s(n)})):a(n)}))})),m("select.selectable()",(function(t){var e=this.context[0];return t?(e._select.selectable=t,this):e._select.selectable})),m("select.last()",(function(t){var e=this.context[0];return t?(e._select_lastCell=t,this):e._select_lastCell})),m("select.cumulative()",(function(){var t=this.context[0];return t&&t._select_set?t._select_set:[]})),g("rows().select()","row().select()",(function(e){var n=this,o=[];return!1===e?this.deselect():(this.iterator("row",(function(e,r){f(e);var a=e.aoData[r],s=e.aoColumns;if(!e._select.selectable||!1!==e._select.selectable(a._aData,a.nTr,r)){t(a.nTr).addClass(e._select.className),a._select_selected=!0,o.push(r);for(var l=0;l<s.length;l++){var d=s[l];null===d.sType&&n.columns().types(),c(d)&&((d=a.anCells)&&d[l]&&t("input."+i(!0),d[l]).prop("checked",!0),null!==a._aSortData)&&(a._aSortData[l]=null)}}})),this.iterator("table",(function(t){l(n,"select",["row",o],!0)})),this)})),m("row().selected()",(function(){var t=this.context[0];return!!(t&&this.length&&t.aoData[this[0]]&&t.aoData[this[0]]._select_selected)})),g("columns().select()","column().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("column",(function(e,n){f(e),e.aoColumns[n]._select_selected=!0,n=new o.Api(e).column(n),t(n.header()).addClass(e._select.className),t(n.footer()).addClass(e._select.className),n.nodes().to$().addClass(e._select.className)})),this.iterator("table",(function(t,e){l(n,"select",["column",n[e]],!0)})),this)})),m("column().selected()",(function(){var t=this.context[0];return!!(t&&this.length&&t.aoColumns[this[0]]&&t.aoColumns[this[0]]._select_selected)})),g("cells().select()","cell().select()",(function(e){var n=this;return!1===e?this.deselect():(this.iterator("cell",(function(e,n,o){f(e),void 0===(n=e.aoData[n])._selected_cells&&(n._selected_cells=[]),n._selected_cells[o]=!0,n.anCells&&t(n.anCells[o]).addClass(e._select.className)})),this.iterator("table",(function(t,e){l(n,"select",["cell",n.cells(n[e]).indexes().toArray()],!0)})),this)})),m("cell().selected()",(function(){var t=this.context[0];return!!(t&&this.length&&(t=t.aoData[this[0][0].row])&&t._selected_cells&&t._selected_cells[this[0][0].column])})),g("rows().deselect()","row().deselect()",(function(){var e=this;return this.iterator("row",(function(n,o){var r=n.aoData[o],a=n.aoColumns;t(r.nTr).removeClass(n._select.className),r._select_selected=!1,n._select_lastCell=null;for(var s=0;s<a.length;s++){var l=a[s];null===l.sType&&e.columns().types(),c(l)&&((l=r.anCells)&&l[s]&&t("input."+i(!0),r.anCells[s]).prop("checked",!1),null!==r._aSortData)&&(r._aSortData[s]=null)}})),this.iterator("table",(function(t,n){l(e,"deselect",["row",e[n]],!0)})),this})),g("columns().deselect()","column().deselect()",(function(){var e=this;return this.iterator("column",(function(e,n){e.aoColumns[n]._select_selected=!1;var r=new o.Api(e),i=r.column(n);t(i.header()).removeClass(e._select.className),t(i.footer()).removeClass(e._select.className),r.cells(null,n).indexes().each((function(n){var o=e.aoData[n.row],r=o._selected_cells;!o.anCells||r&&r[n.column]||t(o.anCells[n.column]).removeClass(e._select.className)}))})),this.iterator("table",(function(t,n){l(e,"deselect",["column",e[n]],!0)})),this})),g("cells().deselect()","cell().deselect()",(function(){var e=this;return this.iterator("cell",(function(e,n,o){void 0!==(n=e.aoData[n])._selected_cells&&(n._selected_cells[o]=!1),n.anCells&&!e.aoColumns[o]._select_selected&&t(n.anCells[o]).removeClass(e._select.className)})),this.iterator("table",(function(t,n){l(e,"deselect",["cell",e[n]],!0)})),this}));var y=0;return t.extend(o.ext.buttons,{selected:{text:v("selected","Selected"),className:"buttons-selected",limitTo:["rows","columns","cells"],init:function(t,e,n){var o=this;n._eventNamespace=".select"+y++,t.on(b(n),(function(){var e,r;o.enable((e=t,!(-1===(r=n).limitTo.indexOf("rows")||!e.rows({selected:!0}).any())||!(-1===r.limitTo.indexOf("columns")||!e.columns({selected:!0}).any())||!(-1===r.limitTo.indexOf("cells")||!e.cells({selected:!0}).any())))})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectedSingle:{text:v("selectedSingle","Selected single"),className:"buttons-selected-single",init:function(t,e,n){var o=this;n._eventNamespace=".select"+y++,t.on(b(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;o.enable(1===e)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},selectAll:{text:v("selectAll","Select all"),className:"buttons-select-all",action:function(t,e,n,o){var r=this.select.items(),i=o.selectorModifier;(i?("function"==typeof i&&(i=i.call(e,t,e,n,o)),this[r+"s"](i)):this[r+"s"]()).select()}},selectNone:{text:v("selectNone","Deselect all"),className:"buttons-select-none",action:function(){f(this.settings()[0],!0)},init:function(t,e,n){var o=this;n._eventNamespace=".select"+y++,t.on(b(n),(function(){var e=t.rows({selected:!0}).flatten().length+t.columns({selected:!0}).flatten().length+t.cells({selected:!0}).flatten().length;o.enable(0<e)})),this.disable()},destroy:function(t,e,n){t.off(n._eventNamespace)}},showSelected:{text:v("showSelected","Show only selected"),className:"buttons-show-selected",action:function(t,e){var n;e.search.fixed("dt-select")?(e.search.fixed("dt-select",null),this.active(!1)):(n=e.settings()[0].aoData,e.search.fixed("dt-select",(function(t,e,o){return n[o]._select_selected})),this.active(!0)),e.draw()}}}),t.each(["Row","Column","Cell"],(function(t,e){var n=e.toLowerCase();o.ext.buttons["select"+e+"s"]={text:v("select"+e+"s","Select "+n+"s"),className:"buttons-select-"+n+"s",action:function(){this.select.items(n)},init:function(t){var e=this;this.active(t.select.items()===n),t.on("selectItems.dt.DT",(function(t,o,r){e.active(r===n)}))}}})),o.type("select-checkbox",{className:"dt-select",detect:o.versionCheck("2.1")?{oneOf:function(){return!1},allOf:function(){return!1},init:function(t,e,n){return c(e)}}:function(t){return"select-checkbox"===t&&t},order:{pre:function(t){return"X"===t?-1:0}}}),t.extend(!0,o.defaults.oLanguage,{select:{aria:{rowCheckbox:"Select row"}}}),o.render.select=function(e,n){function r(e,n,o,r){var l=r.settings.aoData[r.row],c=l._select_selected,d=r.settings.oLanguage.select.aria.rowCheckbox,u=r.settings._select.selectable;return"display"!==n?"type"===n?"select-checkbox":"filter"!==n&&c?"X":"":u&&!1===u(o,l.nTr,r.row)?"":t("<input>").attr({"aria-label":d,class:i(),name:s?s(o):null,type:"checkbox",value:a?a(o):null,checked:c}).on("input",(function(e){e.preventDefault(),this.checked=t(this).closest("tr").hasClass("selected")}))[0]}var a=e?o.util.get(e):null,s=n?o.util.get(n):null;return r._name="selectCheckbox",r},o.ext.order["select-checkbox"]=function(e,n){return this.api().column(n,{order:"index"}).nodes().map((function(n){return"row"===e._select.items?t(n).parent().hasClass(e._select.className).toString():"cell"===e._select.items&&t(n).hasClass(e._select.className).toString()}))},t.fn.DataTable.select=o.select,t(n).on("i18n.dt.dtSelect preInit.dt.dtSelect",(function(t,e){"dt"===t.namespace&&o.select.init(new o.Api(e))})),o})),function(t){var e;"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e,window,document)})):"object"==typeof exports?(e=require("jquery"),"undefined"==typeof window?module.exports=function(n,o){return n=n||window,o=o||e(n),t(o,n,n.document)}:module.exports=t(e,window,window.document)):t(jQuery,window,document)}((function(t,e,n){"use strict";function o(n,i){if(o.factory(n,i))return o;if(void 0===r&&(r=e.moment||e.dayjs||e.luxon||null),this.c=t.extend(!0,{},o.defaults,i),i=this.c.classPrefix,!r&&"YYYY-MM-DD"!==this.c.format)throw"DateTime: Without momentjs, dayjs or luxon only the format 'YYYY-MM-DD' can be used";"string"==typeof this.c.minDate&&(this.c.minDate=new Date(this.c.minDate)),"string"==typeof this.c.maxDate&&(this.c.maxDate=new Date(this.c.maxDate));var a=t('<div class="'+i+'"><div class="'+i+'-date"><div class="'+i+'-title"><div class="'+i+'-iconLeft"><button type="button"></button></div><div class="'+i+'-iconRight"><button type="button"></button></div><div class="'+i+'-label"><span></span><select class="'+i+'-month"></select></div><div class="'+i+'-label"><span></span><select class="'+i+'-year"></select></div></div><div class="'+i+'-buttons"><a class="'+i+'-clear"></a><a class="'+i+'-today"></a></div><div class="'+i+'-calendar"></div></div><div class="'+i+'-time"><div class="'+i+'-hours"></div><div class="'+i+'-minutes"></div><div class="'+i+'-seconds"></div></div><div class="'+i+'-error"></div></div>');this.dom={container:a,date:a.find("."+i+"-date"),title:a.find("."+i+"-title"),calendar:a.find("."+i+"-calendar"),time:a.find("."+i+"-time"),error:a.find("."+i+"-error"),buttons:a.find("."+i+"-buttons"),clear:a.find("."+i+"-clear"),today:a.find("."+i+"-today"),previous:a.find("."+i+"-iconLeft"),next:a.find("."+i+"-iconRight"),input:t(n)},this.s={d:null,display:null,minutesRange:null,secondsRange:null,namespace:"dateime-"+o._instance++,parts:{date:null!==this.c.format.match(/[YMD]|L(?!T)|l/),time:null!==this.c.format.match(/[Hhm]|LT|LTS/),seconds:-1!==this.c.format.indexOf("s"),hours12:null!==this.c.format.match(/[haA]/)}},this.dom.container.append(this.dom.date).append(this.dom.time).append(this.dom.error),this.dom.date.append(this.dom.title).append(this.dom.buttons).append(this.dom.calendar),this.dom.input.addClass("dt-datetime"),this._constructor()}var r;return t.extend(o.prototype,{destroy:function(){this._hide(!0),this.dom.container.off().empty(),this.dom.input.removeClass("dt-datetime").removeAttr("autocomplete").off(".datetime")},display:function(t,e){return void 0!==t&&this.s.display.setUTCFullYear(t),void 0!==e&&this.s.display.setUTCMonth(e-1),void 0!==t||void 0!==e?(this._setTitle(),this._setCalander(),this):{month:this.s.display.getUTCMonth()+1,year:this.s.display.getUTCFullYear()}},errorMsg:function(t){var e=this.dom.error;return t?e.html(t):e.empty(),this},hide:function(){return this._hide(),this},max:function(t){return this.c.maxDate="string"==typeof t?new Date(t):t,this._optionsTitle(),this._setCalander(),this},min:function(t){return this.c.minDate="string"==typeof t?new Date(t):t,this._optionsTitle(),this._setCalander(),this},owns:function(e){return 0<t(e).parents().filter(this.dom.container).length},val:function(t,e){return void 0===t?this.s.d:(t instanceof Date?this.s.d=this._dateToUtc(t):null===t||""===t?this.s.d=null:"--now"===t?this.s.d=this._dateToUtc(new Date):"string"==typeof t&&(this.s.d=this._dateToUtc(this._convert(t,this.c.format,null))),!e&&void 0!==e||(this.s.d?this._writeOutput():this.dom.input.val(t)),this.s.display=this.s.d?new Date(this.s.d.toString()):new Date,this.s.display.setUTCDate(1),this._setTitle(),this._setCalander(),this._setTime(),this)},valFormat:function(t,e){return e?(this.val(this._convert(e,t,null)),this):this._convert(this.val(),null,t)},_constructor:function(){function e(){var t=o.dom.input.val();t!==i&&(o.c.onChange.call(o,t,o.s.d,o.dom.input),i=t)}var o=this,r=this.c.classPrefix,i=this.dom.input.val();this.s.parts.date||this.dom.date.css("display","none"),this.s.parts.time||this.dom.time.css("display","none"),this.s.parts.seconds||(this.dom.time.children("div."+r+"-seconds").remove(),this.dom.time.children("span").eq(1).remove()),this.c.buttons.clear||this.dom.clear.css("display","none"),this.c.buttons.today||this.dom.today.css("display","none"),this._optionsTitle(),t(n).on("i18n.dt",(function(e,n){n.oLanguage.datetime&&(t.extend(!0,o.c.i18n,n.oLanguage.datetime),o._optionsTitle())})),"hidden"===this.dom.input.attr("type")&&(this.dom.container.addClass("inline"),this.c.attachTo="input",this.val(this.dom.input.val(),!1),this._show()),i&&this.val(i,!1),this.dom.input.attr("autocomplete","off").on("focus.datetime click.datetime",(function(){o.dom.container.is(":visible")||o.dom.input.is(":disabled")||(o.val(o.dom.input.val(),!1),o._show())})).on("keyup.datetime",(function(){o.dom.container.is(":visible")&&o.val(o.dom.input.val(),!1)})),this.dom.container[0].addEventListener("focusin",(function(t){t.stopPropagation()})),this.dom.container.on("change","select",(function(){var n,i,a=t(this),s=a.val();a.hasClass(r+"-month")?(o._correctMonth(o.s.display,s),o._setTitle(),o._setCalander()):a.hasClass(r+"-year")?(o.s.display.setUTCFullYear(s),o._setTitle(),o._setCalander()):a.hasClass(r+"-hours")||a.hasClass(r+"-ampm")?(o.s.parts.hours12?(n=+t(o.dom.container).find("."+r+"-hours").val(),i="pm"===t(o.dom.container).find("."+r+"-ampm").val(),o.s.d.setUTCHours(12!=n||i?i&&12!=n?12+n:n:0)):o.s.d.setUTCHours(s),o._setTime(),o._writeOutput(!0),e()):a.hasClass(r+"-minutes")?(o.s.d.setUTCMinutes(s),o._setTime(),o._writeOutput(!0),e()):a.hasClass(r+"-seconds")&&(o.s.d.setSeconds(s),o._setTime(),o._writeOutput(!0),e()),o.dom.input.focus(),o._position()})).on("click",(function(n){var i=o.s.d,a=(s="span"===n.target.nodeName.toLowerCase()?n.target.parentNode:n.target).nodeName.toLowerCase();if("select"!==a)if(n.stopPropagation(),"a"===a&&(n.preventDefault(),t(s).hasClass(r+"-clear")?(o.s.d=null,o.dom.input.val(""),o._writeOutput(),o._setCalander(),o._setTime(),e()):t(s).hasClass(r+"-today")&&(o.s.display=new Date,o._setTitle(),o._setCalander())),"button"===a)if((a=(n=t(s)).parent()).hasClass("disabled")&&!a.hasClass("range"))n.blur();else if(a.hasClass(r+"-iconLeft"))o.s.display.setUTCMonth(o.s.display.getUTCMonth()-1),o._setTitle(),o._setCalander(),o.dom.input.focus();else if(a.hasClass(r+"-iconRight"))o._correctMonth(o.s.display,o.s.display.getUTCMonth()+1),o._setTitle(),o._setCalander(),o.dom.input.focus();else{if(n.parents("."+r+"-time").length){var s=n.data("value"),l=n.data("unit");i=o._needValue();if("minutes"===l){if(a.hasClass("disabled")&&a.hasClass("range"))return o.s.minutesRange=s,void o._setTime();o.s.minutesRange=null}if("seconds"===l){if(a.hasClass("disabled")&&a.hasClass("range"))return o.s.secondsRange=s,void o._setTime();o.s.secondsRange=null}if("am"===s){if(!(12<=i.getUTCHours()))return;s=i.getUTCHours()-12}else if("pm"===s){if(!(i.getUTCHours()<12))return;s=i.getUTCHours()+12}i["hours"===l?"setUTCHours":"minutes"===l?"setUTCMinutes":"setSeconds"](s),o._setCalander(),o._setTime(),o._writeOutput(!0)}else(i=o._needValue()).setUTCDate(1),i.setUTCFullYear(n.data("year")),i.setUTCMonth(n.data("month")),i.setUTCDate(n.data("day")),o._writeOutput(!0),o.s.parts.time?(o._setCalander(),o._setTime()):setTimeout((function(){o._hide()}),10);e()}else o.dom.input.focus()}))},_compareDates:function(t,e){return this._isLuxon()?r.DateTime.fromJSDate(t).toUTC().toISODate()===r.DateTime.fromJSDate(e).toUTC().toISODate():this._dateToUtcString(t)===this._dateToUtcString(e)},_convert:function(t,e,n){var o;return t&&(r?this._isLuxon()?(o=t instanceof Date?r.DateTime.fromJSDate(t).toUTC():r.DateTime.fromFormat(t,e)).isValid?n?o.toFormat(n):o.toJSDate():null:(o=t instanceof Date?r.utc(t,void 0,this.c.locale,this.c.strict):r(t,e,this.c.locale,this.c.strict)).isValid()?n?o.format(n):o.toDate():null:!e&&!n||e&&n?t:e?(o=t.match(/(\d{4})\-(\d{2})\-(\d{2})/))?new Date(o[1],o[2]-1,o[3]):null:t.getUTCFullYear()+"-"+this._pad(t.getUTCMonth()+1)+"-"+this._pad(t.getUTCDate()))},_correctMonth:function(t,e){var n=this._daysInMonth(t.getUTCFullYear(),e),o=t.getUTCDate()>n;t.setUTCMonth(e),o&&(t.setUTCDate(n),t.setUTCMonth(e))},_daysInMonth:function(t,e){return[31,t%4!=0||t%100==0&&t%400!=0?28:29,31,30,31,30,31,31,30,31,30,31][e]},_dateToUtc:function(t){return t&&new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds()))},_dateToUtcString:function(t){return this._isLuxon()?r.DateTime.fromJSDate(t).toUTC().toISODate():t.getUTCFullYear()+"-"+this._pad(t.getUTCMonth()+1)+"-"+this._pad(t.getUTCDate())},_hide:function(o){!o&&"hidden"===this.dom.input.attr("type")||(o=this.s.namespace,this.dom.container.detach(),t(e).off("."+o),t(n).off("keydown."+o),t("div.dataTables_scrollBody").off("scroll."+o),t("div.DTE_Body_Content").off("scroll."+o),t(n).off("click."+o),t(this.dom.input[0].offsetParent).off("."+o))},_hours24To12:function(t){return 0===t?12:12<t?t-12:t},_htmlDay:function(t){var e,n;return t.empty?'<td class="empty"></td>':(e=["selectable"],n=this.c.classPrefix,t.disabled&&e.push("disabled"),t.today&&e.push("now"),t.selected&&e.push("selected"),'<td data-day="'+t.day+'" class="'+e.join(" ")+'"><button class="'+n+"-button "+n+'-day" type="button" data-year="'+t.year+'" data-month="'+t.month+'" data-day="'+t.day+'"><span>'+t.day+"</span></button></td>")},_htmlMonth:function(e,n){for(var o=this._dateToUtc(new Date),r=this._daysInMonth(e,n),i=new Date(Date.UTC(e,n,1)).getUTCDay(),a=[],s=[],l=(0<this.c.firstDay&&(i-=this.c.firstDay)<0&&(i+=7),r+i),c=l;7<c;)c-=7;l+=7-c;var d=this.c.minDate,u=this.c.maxDate;d&&(d.setUTCHours(0),d.setUTCMinutes(0),d.setSeconds(0)),u&&(u.setUTCHours(23),u.setUTCMinutes(59),u.setSeconds(59));for(var f=0,h=0;f<l;f++){var p=new Date(Date.UTC(e,n,f-i+1)),m=!!this.s.d&&this._compareDates(p,this.s.d),g=this._compareDates(p,o),v=f<i||r+i<=f,b=d&&p<d||u&&u<p,y=this.c.disableDays;m={day:f-i+1,month:n,year:e,selected:m,today:g,disabled:b=!!(Array.isArray(y)&&-1!==t.inArray(p.getUTCDay(),y)||"function"==typeof y&&!0===y(p))||b,empty:v};s.push(this._htmlDay(m)),7==++h&&(this.c.showWeekNumber&&s.unshift(this._htmlWeekOfYear(f-i,n,e)),a.push("<tr>"+s.join("")+"</tr>"),s=[],h=0)}var w,_=this.c.classPrefix,x=_+"-table";return this.c.showWeekNumber&&(x+=" weekNumber"),d&&(w=d>=new Date(Date.UTC(e,n,1,0,0,0)),this.dom.title.find("div."+_+"-iconLeft").css("display",w?"none":"block")),u&&(w=u<new Date(Date.UTC(e,n+1,1,0,0,0)),this.dom.title.find("div."+_+"-iconRight").css("display",w?"none":"block")),'<table class="'+x+'"><thead>'+this._htmlMonthHead()+"</thead><tbody>"+a.join("")+"</tbody></table>"},_htmlMonthHead:function(){var t=[],e=this.c.firstDay,n=this.c.i18n;this.c.showWeekNumber&&t.push("<th></th>");for(var o=0;o<7;o++)t.push("<th>"+function(t){for(t+=e;7<=t;)t-=7;return n.weekdays[t]}(o)+"</th>");return t.join("")},_htmlWeekOfYear:function(t,e,n){return(e=new Date(n,e,t,0,0,0,0)).setDate(e.getDate()+4-(e.getDay()||7)),t=new Date(n,0,1),n=Math.ceil(((e-t)/864e5+1)/7),'<td class="'+this.c.classPrefix+'-week">'+n+"</td>"},_isLuxon:function(){return!!(r&&r.DateTime&&r.Duration&&r.Settings)},_needValue:function(){return this.s.d||(this.s.d=this._dateToUtc(new Date),this.s.parts.time)||(this.s.d.setUTCHours(0),this.s.d.setUTCMinutes(0),this.s.d.setSeconds(0),this.s.d.setMilliseconds(0)),this.s.d},_options:function(t,e,n){n=n||e;var o=this.dom.container.find("select."+this.c.classPrefix+"-"+t);o.empty();for(var r=0,i=e.length;r<i;r++)o.append('<option value="'+e[r]+'">'+n[r]+"</option>")},_optionSet:function(t,e){var n=(t=this.dom.container.find("select."+this.c.classPrefix+"-"+t)).parent().children("span");t.val(e),e=t.find("option:selected");n.html(0!==e.length?e.text():this.c.i18n.unknown)},_optionsTime:function(e,n,o,r,i){var a,s=this.c.classPrefix,l=this.dom.container.find("div."+s+"-"+e),c=12===n?function(t){return t}:this._pad,d=s+"-table",u=this.c.i18n;if(l.length){var f="",h=10,p=function(i,a,l){12===n&&"number"==typeof i&&(12<=o&&(i+=12),12==i?i=0:24==i&&(i=12));var c=o===i||"am"===i&&o<12||"pm"===i&&12<=o?"selected":"";return"number"==typeof i&&r&&-1===t.inArray(i,r)&&(c+=" disabled"),l&&(c+=" "+l),'<td class="selectable '+c+'"><button class="'+s+"-button "+s+'-day" type="button" data-unit="'+e+'" data-value="'+i+'"><span>'+a+"</span></button></td>"};if(12===n){for(f+="<tr>",a=1;a<=6;a++)f+=p(a,c(a));for(f=(f+=p("am",u.amPm[0]))+"</tr><tr>",a=7;a<=12;a++)f+=p(a,c(a));f=f+p("pm",u.amPm[1])+"</tr>",h=7}else{if(24===n)for(var m=0,g=0;g<4;g++){for(f+="<tr>",a=0;a<6;a++)f+=p(m,c(m)),m++;f+="</tr>"}else{for(f+="<tr>",g=0;g<60;g+=10)f+=p(g,c(g),"range");f=f+'</tr></tbody></thead><table class="'+d+" "+d+'-nospace"><tbody>';var v=null!==i?i:-1===o?0:10*Math.floor(o/10);for(f+="<tr>",g=v+1;g<v+10;g++)f+=p(g,c(g));f+="</tr>"}h=6}l.empty().append('<table class="'+d+'"><thead><tr><th colspan="'+h+'">'+u[e]+"</th></tr></thead><tbody>"+f+"</tbody></table>")}},_optionsTitle:function(){var t=this.c.i18n,e=this.c.minDate,n=this.c.maxDate;e=e?e.getFullYear():null,n=n?n.getFullYear():null,e=null!==e?e:(new Date).getFullYear()-this.c.yearRange,n=null!==n?n:(new Date).getFullYear()+this.c.yearRange;this._options("month",this._range(0,11),t.months),this._options("year",this._range(e,n)),this.dom.today.text(t.today).text(t.today),this.dom.clear.text(t.clear).text(t.clear),this.dom.previous.attr("title",t.previous).children("button").text(t.previous),this.dom.next.attr("title",t.next).children("button").text(t.next)},_pad:function(t){return t<10?"0"+t:t},_position:function(){var n,o,r,i="input"===this.c.attachTo?this.dom.input.position():this.dom.input.offset(),a=this.dom.container,s=this.dom.input.outerHeight();a.hasClass("inline")?a.insertAfter(this.dom.input):(this.s.parts.date&&this.s.parts.time&&550<t(e).width()?a.addClass("horizontal"):a.removeClass("horizontal"),"input"===this.c.attachTo?a.css({top:i.top+s,left:i.left}).insertAfter(this.dom.input):a.css({top:i.top+s,left:i.left}).appendTo("body"),n=a.outerHeight(),o=a.outerWidth(),r=t(e).scrollTop(),i.top+s+n-r>t(e).height()&&(s=i.top-n,a.css("top",s<0?0:s)),o+i.left>t(e).width()&&(r=t(e).width()-o-5,"input"===this.c.attachTo&&(r-=t(a).offsetParent().offset().left),a.css("left",r<0?0:r)))},_range:function(t,e,n){var o=[];n=n||1;for(var r=t;r<=e;r+=n)o.push(r);return o},_setCalander:function(){this.s.display&&this.dom.calendar.empty().append(this._htmlMonth(this.s.display.getUTCFullYear(),this.s.display.getUTCMonth()))},_setTitle:function(){this._optionSet("month",this.s.display.getUTCMonth()),this._optionSet("year",this.s.display.getUTCFullYear())},_setTime:function(){function t(t){return e.c[t+"Available"]||e._range(0,59,e.c[t+"Increment"])}var e=this,n=this.s.d,o=null,i=null!=(o=this._isLuxon()?r.DateTime.fromJSDate(n).toUTC():o)?o.hour:n?n.getUTCHours():-1;this._optionsTime("hours",this.s.parts.hours12?12:24,i,this.c.hoursAvailable),this._optionsTime("minutes",60,null!=o?o.minute:n?n.getUTCMinutes():-1,t("minutes"),this.s.minutesRange),this._optionsTime("seconds",60,null!=o?o.second:n?n.getSeconds():-1,t("seconds"),this.s.secondsRange)},_show:function(){var o=this,r=this.s.namespace,i=(this._position(),t(e).on("scroll."+r+" resize."+r,(function(){o._position()})),t("div.DTE_Body_Content").on("scroll."+r,(function(){o._position()})),t("div.dataTables_scrollBody").on("scroll."+r,(function(){o._position()})),this.dom.input[0].offsetParent);i!==n.body&&t(i).on("scroll."+r,(function(){o._position()})),t(n).on("keydown."+r,(function(t){9!==t.keyCode&&27!==t.keyCode&&13!==t.keyCode||o._hide()})),setTimeout((function(){t(n).on("click."+r,(function(e){t(e.target).parents().filter(o.dom.container).length||e.target===o.dom.input[0]||o._hide()}))}),10)},_writeOutput:function(t){var e=this.s.d,n="",o=this.dom.input;e&&(n=this._convert(e,null,this.c.format)),o.val(n),e=new Event("change",{bubbles:!0});o[0].dispatchEvent(e),"hidden"===o.attr("type")&&this.val(n,!1),t&&o.focus()}}),o.use=function(t){r=t},o._instance=0,o.type="DateTime",o.defaults={attachTo:"body",buttons:{clear:!1,today:!1},classPrefix:"dt-datetime",disableDays:null,firstDay:1,format:"YYYY-MM-DD",hoursAvailable:null,i18n:{clear:"Clear",previous:"Previous",next:"Next",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],amPm:["am","pm"],hours:"Hour",minutes:"Minute",seconds:"Second",unknown:"-",today:"Today"},maxDate:null,minDate:null,minutesAvailable:null,minutesIncrement:1,strict:!0,locale:"en",onChange:function(){},secondsAvailable:null,secondsIncrement:1,showWeekNumber:!1,yearRange:25},o.version="1.5.4",o.factory=function(o,r){var i=!1;return o&&o.document&&(n=(e=o).document),r&&r.fn&&r.fn.jquery&&(t=r,i=!0),i},e.DateTime||(e.DateTime=o),e.DataTable&&(e.DataTable.DateTime=o),t.fn.dtDateTime=function(t){return this.each((function(){new o(this,t)}))},t.fn.dataTable&&(t.fn.dataTable.DateTime=o,t.fn.DataTable.DateTime=o,t.fn.dataTable.Editor)&&(t.fn.dataTable.Editor.DateTime=o),o})),
/*! © SpryMedia Ltd, Matthew Hasbach - datatables.net/license */
function(t){if("function"==typeof define&&define.amd)define(["jquery","datatables.net"],(function(e){return t(e,window,document)}));else if("object"==typeof exports){var e=require("jquery"),n=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)};"undefined"==typeof window?module.exports=function(o,r){return o||(o=window),r||(r=e(o)),n(o,r),t(r,o,o.document)}:(n(window,e),module.exports=t(e,window,window.document))}else t(jQuery,window,document)}((function(t,e,n){"use strict";var o=t.fn.dataTable;
/**
 * @summary     ConditionalPaging
 * @description Hide paging controls when the amount of pages is <= 1
 * @version     1.0.0
 * @author      Matthew Hasbach (https://github.com/mjhasbach)
 * @copyright   Copyright 2015 Matthew Hasbach
 *
 * License      MIT - http://datatables.net/license/mit
 *
 * This feature plugin for DataTables hides paging controls when the amount
 * of pages is <= 1. The controls can either appear / disappear or fade in / out
 *
 * @example
 *    $('#myTable').DataTable({
 *        conditionalPaging: true
 *    });
 *
 * @example
 *    $('#myTable').DataTable({
 *        conditionalPaging: {
 *            style: 'fade',
 *            speed: 500 // optional
 *        }
 *    });
 */return t(n).on("init.dt",(function(e,n){if("dt"===e.namespace){var r=n.oInit.conditionalPaging||o.defaults.conditionalPaging;if(t.isPlainObject(r)||!0===r){var i=t.isPlainObject(r)?r:{},a=new o.Api(n),s=500,l=function(e){var n=t(a.table().container()).find("div.dt-paging"),o=a.page.info().pages;e instanceof t.Event?o<=1?"fade"===i.style?n.stop().fadeTo(s,0):n.css("visibility","hidden"):"fade"===i.style?n.stop().fadeTo(s,1):n.css("visibility",""):o<=1&&("fade"===i.style?n.css("opacity",0):n.css("visibility","hidden"))};void 0!==i.speed&&(s=i.speed),l(null),a.on("draw.dt",l)}}})),o}));