Liferay.Loader.define("layout-admin-web@5.0.84/js/SelectCardHandler",["module","exports","require","frontend-js-web"],(function(e,t,a){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({eventName:e,selector:t}){const a=(0,r.delegate)(document.body,"click",t,(t=>{const a=document.querySelectorAll(".card.active");a.length&&a.forEach((e=>{e.classList.remove("active")}));const r=t.delegateTarget;r.classList.add("active"),Liferay.Util.getOpener().Liferay.fire(e,{data:r.dataset})}));return{dispose(){a.dispose()}}};var r=a("frontend-js-web")}));
//# sourceMappingURL=SelectCardHandler.js.map