1import{u as h,_ as v}from"./DOycyHvm.js";import{_ as N}from"./DWfUKbIb.js";import{e as b,r as y,j as k,v as x,c as a,o as s,a as e,b as d,F as j,k as B,h as n,x as C}from"./DJyAB28L.js";import"./D1lQpKj8.js";import"./8pf3b65a.js";import"./C2RpTlyl.js";const S={class:"grid grid-cols-1 grid-cols-3 mx-auto max-w-1580px justify-items-center gap-100px px-8 pt-100px lt-md:grid-cols-1 lt-xl:grid-cols-2 lt-xxl:gap-50px"},m=12,P=b({__name:"index",async setup(z){let l,p;const o=h(),t=y(1);[l,p]=k(()=>C("todas-noticias-lista",()=>o.fetchNews(t.value,m),{watch:[t]})),await l,p();const u=x(()=>o.news),_=x(()=>o.totalNews);function g(r){t.value=r}return(r,i)=>{const f=v,w=N;return s(),a("div",null,[i[0]||(i[0]=e("div",{class:"mx-auto h-270px gradiente-pagina lt-md-h-auto"},[e("div",{class:"mx-auto h-full max-w-1518px px-46px xxl:max-w-1518px lt-lg-px-45px lt-md-px-20px lt-md-pt-80px",flex:"~ col justify-end"},[e("h1",{class:"m-0 pb-35px color-primaryLight font-bold fw-300 !text-42px !lt-lg-text-38px"}," NotÃcias ")])],-1)),e("div",S,[(s(!0),a(j,null,B(n(u),c=>(s(),a("div",{key:c.id,class:"w-500px border-1px border-contrast border-solid bg-white transition-all duration-300 lt-sm:w-full lt-xxl:w-full"},[d(f,{notice:c},null,8,["notice"])]))),128))]),d(w,{total:n(_),page:n(t),"page-size":m,"onUpdate:page":g},null,8,["total","page"])])}}});export{P 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.