PageSourceSearch

https://www.impacttrial.com/_app/immutable/chunks/Cr41pUDu2.js

js impacttrial.com collected 2026-10-04 04:10:19 UTC 2,387 bytes, 1 lines download raw bytes

1import{C as e,H as t,L as n,S as r,U as i,V as a,Y as o,_ as s,at as c,b as l,i as u,j as d,s as f,u as p,w as m,x as h}from"./yOfsseBm.js";import"./xihTtKlq.js";function g(e){return Math.max(1,Math.ceil(e/12))}function _(e,t){let n=(t-1)*12;return{items:e.slice(n,n+12),currentPage:t,totalPages:g(e.length)}}function v(e,t){return Number.isInteger(e)&&e>=1&&e<=g(t)}function y(e){let t=g(e)-1;return Array.from({length:Math.max(0,t)},(e,t)=>({page:String(t+2)}))}function b(e,t){return Math.min(e,g(t))}var x=m(`<li><a class="inline-flex items-center justify-center w-11 h-11 border border-brand-red font-emphasis font-semibold text-base leading-none text-brand-red no-underline hover:bg-background-secondary" rel="prev" aria-label="Previous page"><span aria-hidden="true">&larr;</span></a></li>`),S=m(`<li><a> </a></li>`),C=m(`<li><a class="inline-flex items-center justify-center w-11 h-11 border border-brand-red font-emphasis font-semibold text-base leading-none text-brand-red no-underline hover:bg-background-secondary" rel="next" aria-label="Next page"><span aria-hidden="true">&rarr;</span></a></li>`),w=m(`<nav aria-label="Pagination" class="mt-12 mb-(--section-padding-y)"><ul class="flex flex-wrap items-center justify-center gap-2 list-none m-0 p-0"><!> <!> <!></ul></nav>`);function T(m,g){let _=u(g,`filterQuery`,3,``),v=o(()=>Array.from({length:g.totalPages},(e,t)=>t+1)),y=e=>e===1?`${g.baseHref}${_()}`:`${g.baseHref}page/${e}/${_()}`;var b=e(),T=t(b),E=e=>{var t=w(),o=a(t),u=a(o),m=e=>{var t=x(),i=a(t);c(t),n(e=>f(i,`href`,e),[()=>y(g.currentPage-1)]),r(e,t)};l(u,e=>{g.currentPage>1&&e(m)});var _=i(u,2);s(_,16,()=>d(v),e=>e,(e,t)=>{var i=S(),o=a(i);let s;var l=a(o,!0);c(o),c(i),n(e=>{s=p(o,1,`inline-flex items-center justify-center w-11 h-11 border border-brand-red font-emphasis font-semibold text-base leading-none no-underline`,null,s,{"bg-brand-red":t===g.currentPage,"text-text-on-dark":t===g.currentPage,"text-brand-red":t!==g.currentPage,"hover:bg-background-secondary":t!==g.currentPage}),f(o,`href`,e),f(o,`aria-label`,`Page ${t??``}`),f(o,`aria-current`,t===g.currentPage?`page`:void 0),h(l,t)},[()=>y(t)]),r(e,i)});var b=i(_,2),T=e=>{var t=C(),i=a(t);c(t),n(e=>f(i,`href`,e),[()=>y(g.currentPage+1)]),r(e,t)};l(b,e=>{g.currentPage<g.totalPages&&e(T)}),c(o),c(t),r(e,t)};l(T,e=>{g.totalPages>1&&e(E)}),r(m,b)}export{_ as a,b as i,y as n,v as r,T as t};

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.