-e.halfDisplayed,e.pages-e.displayedPages),0):0),end:Math.ceil(e.currentPage>e.halfDisplayed?Math.min(e.currentPage+e.halfDisplayed,e.pages):Math.min(e.displayedPages,e.pages))}},_appendItem:function(t,s){var n,i,l=this,r=l.data("pagination");t=t<0?0:t<r.pages?t:r.pages-1,n=e.extend({text:t+1,classes:""},s||{}),t==r.currentPage||r.disabled?i=e('<span class="current">'+n.text+"</span>"):(i=e('<a href="'+r.hrefText+(t+1)+'" class="page-link">'+n.text+"</a>")).click(function(){a._selectPage.call(l,t)}),n.class