1import{t as e}from"./jsx-runtime-CY_MMzgk.js";import{t}from"./link-BiWemNqT.js";import{a as n}from"./index-C9Sv9Pvv.js";import{n as r}from"./PostCard-Cw9zK6ze.js";import{t as i}from"./Breadcrumbs-CQoZ928C.js";var a=e();function o(){let e=n.useLoaderData(),o=Math.max(1,Math.ceil(e.total/e.perPage));return(0,a.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-4 py-6 md:px-6`,children:[(0,a.jsx)(i,{items:[{label:`×¢××× ×××ת`,to:`/`},{label:`××××`}]}),(0,a.jsx)(`h1`,{className:`border-b-4 border-gold pb-3 font-display text-3xl font-black text-navy-deep`,children:`××××× ××שפ××`}),(0,a.jsxs)(`p`,{className:`mt-3 text-sm text-muted-foreground`,children:[e.total,` ×ת××ת · ×¢××× `,e.page,` ×ת×× `,o]}),(0,a.jsx)(`div`,{className:`mt-8 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:e.posts.map(e=>(0,a.jsx)(r,{post:e,size:`medium`},e.id))}),(0,a.jsx)(`nav`,{className:`mt-12 flex flex-wrap items-center justify-center gap-2`,children:Array.from({length:o},(e,t)=>t+1).filter(t=>t===1||t===o||Math.abs(t-e.page)<=2).map((n,r,i)=>(0,a.jsxs)(`span`,{className:`flex items-center gap-2`,children:[r>0&&i[r-1]!==n-1&&(0,a.jsx)(`span`,{className:`text-muted-foreground`,children:`â¦`}),(0,a.jsx)(t,{to:`/blog`,search:n===1?{}:{page:n},className:`rounded px-3 py-1.5 text-sm font-bold ${n===e.page?`bg-navy text-primary-foreground`:`border border-border bg-card text-navy hover:border-gold`}`,children:n})]},n))})]})}export{o as component};
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.