1import{w as h,j as o}from"./vendor-react-BOi-fSyC.js";import{$ as x,a0 as P,a1 as j,a2 as b,S as f,a3 as C,f as w,ac as A,ad as T}from"./index-DCCbIREt.js";import{c as v}from"./posts-DT7vrt-8.js";import{B as S}from"./Breadcrumbs-D2Pj6LP1.js";import{M as N}from"./MainBanner-BvZ6CjPk.js";import{B}from"./BlogPostCard-Bj1lvQtH.js";import{P as E}from"./Pagination-CONkTl7w.js";import"./vendor-ui-BXC6NyCE.js";import"./vendor-supabase-CRkczR-U.js";import"./state-costs-BbrQrS7i.js";const a=9;function y(){const[n,i]=h(),e=parseInt(n.get("page")||"1",10),{showPopup:c,setShowPopup:l}=x(),{showPopup:p,setShowPopup:d}=P(),t=v(),g=Math.ceil(t.length/a),r=(e-1)*a,m=t.slice(r,r+a),u=s=>{i({page:s.toString()}),window.scrollTo({top:0,behavior:"smooth"})};return o.jsxs(o.Fragment,{children:[o.jsx(j,{open:c,onOpenChange:l}),o.jsx(b,{open:p,onOpenChange:d}),o.jsx(f,{title:"Todos os Artigos | Blog estudaCNH",description:"Todos os artigos do blog estudaCNH sobre CNH, legislação de trânsito, direção defensiva e documentação veicular. Conteúdo atualizado para a prova do DETRAN 2026.",canonical:"https://www.estudacnh.com.br/blog/todos"}),o.jsxs("div",{className:"min-h-screen bg-background",children:[o.jsx(C,{}),o.jsx("div",{className:"container mx-auto px-4 pt-20",children:o.jsx(S,{items:[{label:"Blog",href:"/blog"},{label:"Todos os Artigos"}]})}),o.jsx(N,{title:"Todos os Artigos",subtitle:"Explore nossa biblioteca completa de artigos sobre legislação, direção defensiva e tudo o que você precisa saber para passar na prova do DETRAN.",icon:w}),o.jsx("section",{className:"py-12",children:o.jsxs("div",{className:"container mx-auto px-4",children:[o.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-10",children:m.map(s=>o.jsx(B,{post:s},s.slug))}),o.jsx(E,{currentPage:e,totalPages:g,onPageChange:u})]})}),o.jsx(A,{}),o.jsx(T,{})]})]})}export{y as default};
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.