//>>built define("../_StoreMixin dojo/_base/declare dojo/_base/array dojo/_base/lang dojo/dom-construct dojo/dom-class dojo/on dojo/query dojo/string dojo/has dojo/keys dojo/when ../util/misc dojo/i18n!./nls/pagination dojo/_base/sniff".split(" "),function(x,y,z,A,f,B,t,u,C,H,D,E,I,F){function G(b){b._removeNoDataNode()||b.cleanup();b.contentNode.innerHTML=""}function r(b){if(b.loadingNode)b._loadingCount--,b._loadingCount||(f.destroy(b.loadingNode),delete b.loadingNode);else if(b._oldPageNodes){for(var a in b._oldPageNodes)b.removeRow(b._oldPageNodes[a]); delete b._oldPageNodes}delete b._isLoading}return y(x,{rowsPerPage:10,pagingTextBox:!1,previousNextArrows:!0,firstLastArrows:!1,pagingLinks:2,pageSizeOptions:null,showLoadingMessage:!0,i18nPagination:F,showFooter:!0,_currentPage:1,_loadingCount:0,buildRendering:function(){this.inherited(arguments);var b=this,a=this.paginationNode=f.create("div",{className:"dgrid-pagination"},this.footerNode),c=this.paginationStatusNode=f.create("div",{className:"dgrid-status"},a),d=this.i18nPagination;"function"=== typeof this._processScroll&&(this.bodyNode.innerHTML=d.notCompatibleWithOnDemand,console.warn(d.notCompatibleWithOnDemand));c.tabIndex=0;this._updatePaginationSizeSelect();this._updateRowsPerPageOption();this._updatePaginationStatus(this._total);a=this.paginationNavigationNode=f.create("div",{className:"dgrid-navigation"},a);this.firstLastArrows&&(this.paginationFirstNode=f.create("span",{"aria-label":d.gotoFirst,className:"dgrid-first dgrid-page-link",innerHTML:"\u00ab",tabIndex:0},a));this.previousNextArrows&& (this.paginationPreviousNode=f.create("span",{"aria-label":d.gotoPrev,className:"dgrid-previous dgrid-page-link",innerHTML:"\u2039",tabIndex:0},a));this.paginationLinksNode=f.create("span",{className:"dgrid-pagination-links"},a);this.previousNextArrows&&(this.paginationNextNode=f.create("span",{"aria-label":d.gotoNext,className:"dgrid-next dgrid-page-link",innerHTML:"\u203a",tabIndex:0},a));this.firstLastArrows&&(this.paginationLastNode=f.create("span",{"aria-label":d.gotoLast,className:"dgrid-last dgrid-page-link", innerHTML:"\u00bb",tabIndex:0},a));this._listeners.push(t(a,".dgrid-page-link:click,.dgrid-page-link:keydown",function(a){if("keydown"!==a.type||13===a.keyCode){a=this.className;var c,d;b._isLoading||-1z.indexOf(a,b)?this._setPageSizeOptions(a.concat([b])):c.value=""+b)},_setRowsPerPage:function(b){this.rowsPerPage=b;this._updateRowsPerPageOption();this.gotoPage(1)},_updateNavigation:function(b){function a(a){a=+a;!isNaN(a)&&0=m)});if(e&&0