(function(){"use strict";/**
 * @copyright   (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */var c=function n(r){var e=[].slice.call(document.querySelectorAll('#filter-config select[data-parent="'+r+'"]'));e.map(function(t){return n(t.dataset.id),t.value="NONE",t})},i=function(r){var e=r.currentTarget,t=e.options[e.selectedIndex].value;if(t==="NONE"){var l=[].slice.call(document.querySelectorAll('#filter-config select[data-parent="'+e.dataset.id+'"]'));l.length&&window.confirm(Joomla.Text._("COM_CONFIG_TEXT_FILTERS_NOTE"))&&l.map(function(a){return c(a.dataset.id),a.value="NONE",a})}};[].slice.call(document.querySelectorAll("#filter-config select")).map(function(n){return n.addEventListener("change",i)})})();
