!function(n){"function"==typeofdefine&&define.amd?define(["jquery","datatables.net"],function(t){returnn(t,window,document)}):"object"==typeofexports?module.exports=function(t,e){returnt=t||window,(e=e||("undefined"!=typeofwindow?require("jquery"):require("jquery")(t))).fn.dataTable||require("datatables.net")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(r,t,e,n){"use strict";vari=r.fn.dataTable;classs{instance;options;intervalThreshold;intervalMs;constructor(t,e){if(!r.fn.mark||!r.fn.unmark)thrownewError("jquery.mark.js is necessary for datatables.mark.js");this.instance=t,this.options="object"==typeofe?e:{},this.intervalThreshold=49,this.intervalMs=300,this.initMarkListener()}initMarkListener(){lett="draw.dt.dth column-visibility.dt.dth column-reorder.dt.dth",e=(t+=" responsive-display.dt.dth",null);this.instance.on(t,()=>{this.instance.rows({filter:"applied",page:"current"}).nodes().length>this.intervalThreshold?(clearTimeout(e),e=setTimeout(()=>{this.mark()},this.intervalMs)):this.mark()}),this.instance.on("destroy",()=>{this.instance.off(t)}),this.mark()}mark(){consts=this.instance.search();vart=r(this.instance.table().body());t.unmark(this.options),this.instance.table().rows({search:"applied"}).data().length&&t.mark(s,this.options),this.instance.columns({search:"applied",page:"current"}).nodes().each((t,e)=>{constn=this.instance.column(e).search(),i=n||s;i&&t.forEach(t=>{r(t).unmark(this.options).mark(i,this.options)})})}}returnr(e).on("init.dt.dth",(e,n)=>{if("dt"===e.namespace){e=newi.Api(n);lett=!1;e.init().mark?t=e.init().mark:i.defaults.mark&&(t=i.defaults.mark),t&&news(e,t)}}),i});