1import b from"./CEpsPTSh.js";import{d as f,j as m,x as p,r as h,I as g,a as w,c as _,w as q,f as t,h as l,v}from"./BgOPsrZ5.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="a80e2cae-7ab1-46d0-916c-8bae93eeda3a",a._sentryDebugIdIdentifier="sentry-dbid-a80e2cae-7ab1-46d0-916c-8bae93eeda3a")}catch{}})();const x=["disabled"],P=["disabled"],N=f({__name:"pagination",props:{totalItems:{},itemsToShow:{},queryParam:{}},setup(a){const e=a,r=m(),n=p(),o=h(r.query[e.queryParam]?Number(r.query[e.queryParam]):1);g(()=>r.query[e.queryParam],()=>{o.value=r.query[e.queryParam]?Number(r.query[e.queryParam]):1});function i(){n.push({query:{...r.query,[e.queryParam]:o.value+1}})}function c(){n.push({query:{...r.query,[e.queryParam]:o.value-1}})}return(d,s)=>{const u=b,y=v;return w(),_(y,{class:"flex justify-center gap-8 mb-12"},{default:q(()=>[t("div",null,[t("button",{disabled:!(o.value>1),class:"flex items-center justify-center w-16 h-16 text-gray-200 duration-100 border border-gray-200 rounded-full hover:text-white hover:border-white disabled:cursor-not-allowed disabled:text-gray-300 disabled:border-gray-300",onClick:c},[s[0]||(s[0]=t("span",{class:"sr-only"},"Previous page",-1)),l(u,{class:"w-6 h-6 rotate-90"})],8,x)]),t("div",null,[t("button",{disabled:!(d.totalItems>o.value*d.itemsToShow),class:"flex items-center justify-center w-16 h-16 text-gray-200 duration-100 border border-gray-200 rounded-full hover:text-white hover:border-white disabled:cursor-not-allowed disabled:text-gray-300 disabled:border-gray-300",onClick:i},[s[1]||(s[1]=t("span",{class:"sr-only"},"Next page",-1)),l(u,{class:"w-6 h-6 -rotate-90"})],8,P)])]),_:1})}}});
1export{N as _}; 2//# sourceMappingURL=C0TWZQbG.js.map
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.