Liferay.Loader.define("layout-admin-web@5.0.145/js/LookAndFeelThemeDetails",["module","exports","require","frontend-js-web"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _default({buttonCssClass:e,containerId:t,regularColorSchemeInputId:o}){const s=document.getElementById(t),callback=t=>{if(!t.key||" "===t.key||"Enter"===t.key){t.preventDefault();const d=t.target.closest(e);s.querySelectorAll(e).forEach((e=>e.classList.remove("selected"))),d.classList.add("selected");document.getElementById(o).value=d.dataset.colorSchemeId}},l=(0,d.delegate)(s,"click",e,callback),n=(0,d.delegate)(s,"keydown",e,callback);return{dispose(){l.dispose(),n.dispose()}}};var d=o("frontend-js-web")}));
//# sourceMappingURL=LookAndFeelThemeDetails.js.map