芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.6/com_modules/js/admin-module-search-es5.min.js
!function(){"use strict";var e=document.getElementById("comModulesSelectSearch"),t=document.getElementById("comModulesSelectSearchContainer"),o=document.getElementById("comModulesSelectTypeHeader"),s=document.getElementById("comModulesSelectResultsContainer"),n=document.querySelector(".modules-alert"),d=[].slice.call(document.querySelectorAll(".comModulesSelectCard"));if(e&&t){e.addEventListener("keyup",(function(e){var t=e.target.value,c=!1;"undefined"!=typeof sessionStorage&&sessionStorage.setItem("Joomla.com_modules.new.search",t),d.forEach((function(e){if(e.classList.remove("d-none"),t){var o=e.querySelector(".new-module-title"),s=e.querySelector(".card-body"),n=o?o.textContent:"",d=s?s.textContent:"";n&&!n.toLowerCase().includes(t.toLowerCase())&&d&&!d.toLowerCase().includes(t.toLowerCase())?e.classList.add("d-none"):c=!0}})),c||!t?(n.classList.add("d-none"),o.classList.remove("d-none"),s.classList.remove("d-none")):(n.classList.remove("d-none"),o.classList.add("d-none"),s.classList.add("d-none"))})),t.classList.remove("d-none"),e.focus();try{"undefined"!=typeof sessionStorage&&(e.value=sessionStorage.getItem("Joomla.com_modules.new.search")||"",e.dispatchEvent(new KeyboardEvent("keyup")))}catch(e){}}}();