diff --git a/static/assets/plugins/custom/datatables/datatables.bundle.js b/static/assets/plugins/custom/datatables/datatables.bundle.js index 4e1f29e9..d5887d98 100644 --- a/static/assets/plugins/custom/datatables/datatables.bundle.js +++ b/static/assets/plugins/custom/datatables/datatables.bundle.js @@ -1,10 +1,10 @@ -/*! DataTables 2.0.6 +/*! DataTables 2.0.7 * © SpryMedia Ltd - datatables.net/license */ /** * @summary DataTables * @description Paginate, search and order HTML tables - * @version 2.0.6 + * @version 2.0.7 * @author SpryMedia Ltd * @contact www.datatables.net * @copyright SpryMedia Ltd. @@ -18,7 +18,7 @@ * * 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?Qt({},o,!0):o,d=0,u=this.getAttribute("id"),f=!1,h=s.defaults,p=t(this);if("table"==this.nodeName.toLowerCase()){t(this).trigger("options.dt",c),F(h),j(h.column),L(h,h,!0),L(h.column,h.column,!0),L(h,t.extend(c,p.data()),!0);var m=s.settings;for(d=0,n=m.length;d").prependTo(this),fastData:function(t,e,n){return Q(y,t,e,n)}});y.nTable=this,y.oInit=c,m.push(y),y.api=new r(y),y.oInstance=1===i.length?i:p.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=Qt(t.extend(!0,{},h),c),$t(y.oFeatures,c,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),$t(y,c,["ajax","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","iStateDuration","bSortCellsTop","iTabIndex","sDom","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId","caption","layout",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),$t(y.oScroll,c,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),$t(y.oLanguage,c,"fnInfoCallback"),Jt(y,"aoDrawCallback",c.fnDrawCallback),Jt(y,"aoStateSaveParams",c.fnStateSaveParams),Jt(y,"aoStateLoadParams",c.fnStateLoadParams),Jt(y,"aoStateLoaded",c.fnStateLoaded),Jt(y,"aoRowCallback",c.fnRowCallback),Jt(y,"aoRowCreatedCallback",c.fnCreatedRow),Jt(y,"aoHeaderCallback",c.fnHeaderCallback),Jt(y,"aoFooterCallback",c.fnFooterCallback),Jt(y,"aoInitComplete",c.fnInitComplete),Jt(y,"aoPreDrawCallback",c.fnPreDrawCallback),y.rowIdFn=tt(c.rowId),function(n){if(!s.__browser){var o={};s.__browser=o;var r=t("
").css({position:"fixed",top:0,left:-1*e.pageXOffset,height:1,width:1,overflow:"hidden"}).append(t("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("
").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}(y);var w=y.oClasses;t.extend(w,s.ext.classes,c.oClasses),p.addClass(w.table),y.oFeatures.bPaginate||(c.iDisplayStart=0),void 0===y.iInitDisplayStart&&(y.iInitDisplayStart=c.iDisplayStart,y._iDisplayStart=c.iDisplayStart);var _=y.oLanguage;t.extend(!0,_,c.oLanguage),_.sUrl?(t.ajax({dataType:"json",url:_.sUrl,success:function(e){L(h.oLanguage,e),t.extend(!0,_,e,y.oInit.oLanguage),Kt(y,null,"i18n",[y],!0),At(y)},error:function(){Yt(y,0,"i18n file loading error",21),At(y)}}),f=!0):Kt(y,null,"i18n",[y]);var x=[],T=this.getElementsByTagName("thead"),D=bt(y,T[0]);if(c.aoColumns)x=c.aoColumns;else if(D.length)for(d=0,n=D[0].length;d=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=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").appendTo(p)),o.html(y.caption)),o.length&&(o[0]._captionSide=o.css("caption-side"),y.captionNode=o[0]),0===T.length&&(T=t("").appendTo(p)),y.nTHead=T[0],t("tr",T).addClass(w.thead.row);var r=p.children("tbody");0===r.length&&(r=t("").insertAfter(T)),y.nTBody=r[0];var i=p.children("tfoot");if(0===i.length&&(i=t("").appendTo(p)),y.nTFoot=i[0],t("tr",i).addClass(w.tfoot.row),c.aaData)for(d=0;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(Dt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(l[e],"."):t},b=function(t,e,n){var o=typeof t,r="string"===o;return"number"===o||"bigint"===o||(!!m(t)||(e&&r&&(t=v(t,e)),n&&r&&(t=t.replace(p,"")),!isNaN(parseFloat(t))&&isFinite(t)))},y=function(t,e,n){if(m(t))return!0;if("string"==typeof t&&t.match(/<(input|select)/i))return null;var o=function(t){return m(t)||"string"==typeof t}(t);return o&&!!b(D(t),e,n)||null},w=function(t,e,n){var o=[],r=0,i=t.length;if(void 0!==n)for(;ru)throw new Error("Exceeded max str len");var e;t=t.replace(d,"");do{e=t,t=t.replace(/