new DataTable("#datatable",{responsive:!0}),new DataTable("#datatable-footer",{footerCallback:function(a,t,e,l,o){let n=this.api(),r=function(a){return"string"==typeof a?parseFloat(a.replace(/[\$,]/g,""))||0:"number"==typeof a?a:0},b=n.column(5).data().reduce(((a,t)=>r(a)+r(t)),0),c=n.column(5,{page:"current"}).data().reduce(((a,t)=>r(a)+r(t)),0);n.column(5).footer().innerHTML="$"+c.toLocaleString()+" ( $"+b.toLocaleString()+" total)"}}),new DataTable("#scroll-sidebar-datatable",{paging:!1,scrollCollapse:!0,scrollY:"450px"}),new DataTable("#alternative-page-datatable",{layout:{bottomEnd:{paging:{firstLast:!1}}}}),new DataTable("#length-menu-datatable",{lengthMenu:[12,25,50,-1]}),new DataTable("#datatable-col-render",{columnDefs:[{render:(a,t,e)=>a+" ("+e[3]+")",targets:0},{visible:!1,targets:[3]}]}),new DataTable("#datatable-col-visiblility",{columnDefs:[{targets:3,visible:!1}]}),new DataTable("#datatable-footer-callback",{footerCallback:function(a,t,e,l,o){let n=this.api(),r=function(a){return"string"==typeof a?parseFloat(a.replace(/[\$,]/g,""))||0:"number"==typeof a?a:0},b=n.column(5).data().reduce(((a,t)=>r(a)+r(t)),0),c=n.column(5,{page:"current"}).data().reduce(((a,t)=>r(a)+r(t)),0);n.column(5).footer().innerHTML="$"+c.toLocaleString()+" ( $"+b.toLocaleString()+" total)"}}),new DataTable("#datatable-multi-control",{layout:{top2Start:"pageLength",top2End:"search",topStart:"info",topEnd:"paging",bottomStart:"pageLength",bottomEnd:"search",bottom2Start:"info",bottom2End:"paging"}}),new DataTable("#datatable-row-callback",{createdRow:(a,t,e)=>{1*t[5].replace(/[\$,]/g,"")>15e4&&a.querySelector(":nth-child(6)").classList.add("highlight")}}),$("#datatable-autofill").DataTable({autoFill:!0}),new DataTable("#datatable-buttons",{layout:{topStart:{buttons:[{extend:"copy",className:"btn btn-danger"},{extend:"excel",className:"btn btn-info"},{extend:"pdf",className:"btn btn-secondary"}]}}}),$("#datatable-fixedheader").DataTable({fixedHeader:!0,lengthMenu:[20,25,50,-1]}),$("#datatable-fixedcolumn").DataTable({fixedColumns:!0,lengthMenu:[20,25,50,-1]}),$("#datatable-keytable").DataTable({keys:!0}),$("#datatable-row-group").DataTable({rowGroup:{dataSrc:0}}),$("#datatable-rowReorder").DataTable({rowReorder:{selector:"td:nth-child(2)"}}),$("#datatable-scrollable").dataTable({scrollY:400,deferRender:!0,scroller:!0}),new DataTable("#datatable-searchpanes",{layout:{topStart:"searchPanes"}}),$("#datatable-select").DataTable({select:!0});