Liferay.Loader.define("asset-publisher-web@5.0.65/js/Ordering",["module","exports","require","frontend-js-web"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function({iconCssClass:e,orderingContainerId:r}){const t=document.getElementById(r),n=(0,o.delegate)(t,"click",e,(r=>{const t=r.target.closest(".order-by-type-container");t.querySelectorAll(e).forEach((e=>e.classList.toggle("hide")));const o=t.querySelector(".order-by-type-field"),n="ASC"===o.value?"DESC":"ASC";o.value=n}));return{dispose(){n.dispose()}}};var o=t("frontend-js-web")}));
//# sourceMappingURL=Ordering.js.map