1"use strict";(self.webpackChunkalphabet=self.webpackChunkalphabet||[]).push([[6936],{6936:function(a,n,s){s.r(n),s.d(n,{SearchPagination:function(){return t}});var e=s(4848),i=s(2330);function t(a){const{currentPage:n,totalPages:s,onPageChange:t}=a,r=(0,i.K_)();return(0,e.jsxs)("div",{className:"cmp-search-results__pagination",children:[(0,e.jsxs)("button",{className:"pagination-button pagination-button--prev",onClick:()=>t(n-1),disabled:n<=1,children:[(0,e.jsx)("span",{className:"icon","data-icon":"arrow_left_lt","aria-hidden":"true"}),(0,e.jsx)("span",{className:"sr-only",children:r("search.results.previous_page")})]}),(0,e.jsx)("div",{className:"pagination-pages",children:Array.from({length:s},(a,n)=>n+1).map(a=>1===a||a===s||a>=n-1&&a<=n+1?(0,e.jsx)("button",{className:"pagination-page "+(a===n?"pagination-page--active":""),onClick:()=>t(a),"aria-label":`${r("search.results.page")} ${a}`,"aria-current":a===n?"page":void 0,children:a},a):a===n-2||a===n+2?(0,e.jsx)("span",{className:"pagination-ellipsis",children:"..."},a):null)}),(0,e.jsxs)("button",{className:"pagination-button pagination-button--next",onClick:()=>t(n+1),disabled:n>=s,children:[(0,e.jsx)("span",{className:"icon","data-icon":"arrow_right_lt","aria-hidden":"true"}),(0,e.jsx)("span",{className:"sr-only",children:r("search.results.next_page")})]})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.