Liferay.Loader.define("frontend-taglib-clay@12.0.3/PaginationBar",["module","exports","require","@frontend-taglib-clay$clayui/pagination-bar","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{activeDelta:t,activePage:a,componentId:l,cssClass:i,deltas:s,disabledPages:c,ellipsisBuffer:f,locale:u,portletId:p,portletNamespace:d,showDeltasDropDown:y,totalItems:b}=e,g=function(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a,r,n={},l=Object.keys(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)a=l[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}(e,["activeDelta","activePage","componentId","cssClass","deltas","disabledPages","ellipsisBuffer","locale","portletId","portletNamespace","showDeltasDropDown","totalItems"]);const[O,v]=(0,n.useState)(null!=t?t:s[0].label),[P,w]=(0,n.useState)(null!=a?a:1),j=null!=f?f:2;return n.default.createElement(r.ClayPaginationBarWithBasicItems,o({activeDelta:O,activePage:P,className:i,deltas:s,disabledPages:null!=c?c:[],ellipsisBuffer:j,onDeltaChange:v,onPageChange:w,showDeltasDropDown:y,totalItems:b},g))};var r=a("@frontend-taglib-clay$clayui/pagination-bar"),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(a,n,o):a[n]=e[n]}a.default=e,t&&t.set(e,a);return a}(a("liferay!frontend-js-react-web$react"));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}}}));
//# sourceMappingURL=PaginationBar.js.map