/** * Kendo UI v2018.1.117 (http://www.telerik.com/kendo-ui) * Copyright 2018 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(e,define){define("kendo.pager.min",["kendo.data.min"],e)}(function(){return function(e,t){function a(e,t,a,n,s){return e({idx:t,text:a,ns:p.ns,numeric:n,title:s||""})}function n(e,t,a){return P({className:e.substring(1),text:t,wrapClassName:a||""})}function s(e,t,a,n){e.find(t).parent().attr(p.attr("page"),a).attr("tabindex",-1).toggleClass("k-state-disabled",n)}function i(e,t){s(e,u,1,t<=1)}function l(e,t){s(e,f,Math.max(1,t-1),t<=1)}function r(e,t,a){s(e,h,Math.min(a,t+1),t>=a)}function o(e,t,a){s(e,c,a,t>=a)}var p=window.kendo,d=p.ui,g=d.Widget,m=e.proxy,u=".k-i-arrow-end-left",c=".k-i-arrow-end-right",f=".k-i-arrow-60-left",h=".k-i-arrow-60-right",k="change",v=".kendoPager",x="click",w="keydown",S="disabled",b="down",y=e(document.documentElement),P=p.template(''),_=g.extend({init:function(t,a){var s,d,S,y,P=this;g.fn.init.call(P,t,a),a=P.options,P.dataSource=p.data.DataSource.create(a.dataSource),P.linkTemplate=p.template(P.options.linkTemplate),P.selectTemplate=p.template(P.options.selectTemplate),P.currentPageTemplate=p.template(P.options.currentPageTemplate),s=P.page(),d=P.totalPages(),P._refreshHandler=m(P.refresh,P),P.dataSource.bind(k,P._refreshHandler),P.downEvent=p.applyEventMap(b,p.guid()),a.previousNext&&(P.element.find(u).length||(P.element.append(n(u,a.messages.first,"k-pager-first")),i(P.element,s,d)),P.element.find(f).length||(P.element.append(n(f,a.messages.previous)),l(P.element,s,d))),a.numeric&&(P.list=P.element.find(".k-pager-numbers"),P.list.length||(P.list=e('