PageSourceSearch

https://www.kgracher.net/_next/static/chunks/BlogListing-CqzthWIX.js

js kgracher.net collected 2026-10-02 02:02:11 UTC 1,258 bytes, 1 lines download raw bytes

1import{a as e}from"./rolldown-runtime-R9bKdBD2.js";import{i as t,r as n}from"./framework-DnsiIshy.js";import{t as r}from"./components-CkC6MXWg.js";var i=e(n(),1);function a(e){return[...new Set(e.map(e=>e.category.trim()).filter(Boolean))].sort((e,t)=>e.localeCompare(t,`pt-BR`))}var o=t();function s({posts:e}){let[t,n]=(0,i.useState)(``),s=a(e),c=t?e.filter(e=>e.category.trim()===t):e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(`div`,{className:`blog-topic-bar`,children:[(0,o.jsxs)(`label`,{htmlFor:`blog-theme`,children:[`Tema`,(0,o.jsxs)(`select`,{id:`blog-theme`,value:t,onChange:e=>n(e.target.value),children:[(0,o.jsx)(`option`,{value:``,children:`Todos`}),s.map(e=>(0,o.jsx)(`option`,{value:e,children:e},e))]})]}),(0,o.jsxs)(`p`,{role:`status`,children:[c.length,` `,c.length===1?`nota publicada`:`notas publicadas`]}),(0,o.jsx)(`a`,{href:`/feed.xml`,children:`RSS ↗`})]}),c[0]?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`p`,{className:`eyebrow`,children:t?`Mais recente neste tema`:`Última entrada`}),(0,o.jsx)(r,{post:c[0],featured:!0}),(0,o.jsx)(`div`,{className:`blog-index-grid`,children:c.slice(1).map(e=>(0,o.jsx)(r,{post:e},e.slug))})]}):(0,o.jsx)(`p`,{children:`Nenhuma nota publicada neste tema.`})]})}export{s as BlogListing};

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.