Liferay.Loader.define("layout-taglib@13.0.5/render_layout_structure/js/SimpleCollectionPagination",["module","exports","require","frontend-js-web"],(function(e,t,o){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function _default({activePage:e,collectionId:t}){const o=document.getElementById("paginationButtons_".concat(t)),a=new URLSearchParams(window.location.search),onPageChange=e=>{a.set("page_number_".concat(t),e),window.location.search=a},i=(0,n.delegate)(o,"click",".next",(()=>onPageChange(e+1))),c=(0,n.delegate)(o,"click",".previous",(()=>onPageChange(e-1)));return{dispose(){i.dispose(),c.dispose()}}};var n=o("frontend-js-web")}));
//# sourceMappingURL=SimpleCollectionPagination.js.map