Liferay.Loader.define("layout-admin-web@5.0.101/js/LookAndFeelThemeDetails",["module","exports","require","frontend-js-web"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({buttonCssClass:e,containerId:t,regularColorSchemeInputId:o}){const s=document.getElementById(t),n=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,n),r=(0,d.delegate)(s,"keydown",e,n);return{dispose(){l.dispose(),r.dispose()}}};var d=o("frontend-js-web")}));
//# sourceMappingURL=LookAndFeelThemeDetails.js.map