document.addEventListener("DOMContentLoaded",()=>{var t=document.getElementById("column-search-data");t&&new DataTable(t,{language:{paginate:{first:'<i class="ti ti-chevrons-left"></i>',previous:'<i class="ti ti-chevron-left"></i>',next:'<i class="ti ti-chevron-right"></i>',last:'<i class="ti ti-chevrons-right"></i>'}},initComplete:function(){let i=this.api();document.querySelectorAll("#column-search-inputs th").forEach(t=>{t.addEventListener("click",function(t){t.stopPropagation()})}),document.querySelectorAll("#column-search-inputs th input").forEach((t,e)=>{t.addEventListener("click",function(t){t.stopPropagation()}),t.addEventListener("keyup",function(){i.column(e).search()!==this.value&&i.column(e).search(this.value).draw()})})}})});