PageSourceSearch

https://basket-fcb.com.br/_nuxt/NC4SHBRl.js

js basket-fcb.com.br collected 2026-09-25 10:53:40 UTC 4,174 bytes, 1 lines download raw bytes

1import{_ as N,a as E}from"./B2DXUMEW.js";import{_ as M}from"./Df3_S4Za.js";import{_ as C}from"./DsVEqksw.js";import{_ as L}from"./UDcecRgr.js";import{u as j,c as P,b as q,o as B,d as F,e as I,f as O,r as i,_ as V,g as o,h as n,i as _,j as t,m as h,F as y,l as D,s as w,n as S,x as T}from"./D2tAaOhh.js";import{_ as z}from"./ChvAnFfz.js";import"./BQpWWsKh.js";import"./DmwFeCT7.js";import"./BpQ4BgzP.js";import"./Bn2f4CVp.js";const A={setup(){const u=j(),s=i("Matérias com vídeos"),p=i([]),a=i(!0),m=i([]),k=P(),c=i(1),l=i(1),r=i(!1);q({title:s.value,meta:[{name:"description",content:"Confira as matérias que tem vídeos. Descubra o que está acontecendo no seu bairro, cidade, estado ou país."}]});const v=()=>{p.value=[{name:"Início",link:"/"},{name:"Matérias",link:"/noticias"},{name:"Com vídeos",link:""}]},g=async e=>{let f=`${u.client.backend}/portal/posts?page=${e}&videos=1`;await fetch(f).then(x=>{x.json().then(d=>{d.pagination.data.forEach(b=>{m.value.push(b)}),l.value=d.pagination.current_page,c.value=d.pagination.last_page,a.value=!1}).catch(d=>(console.log(d),{error:!0,status:!1}))}).catch(x=>{console.log(x),a.value=!1})};return B(()=>{v()}),F(()=>{I("notices_page_initial")}),O(`${u.client.backend}/portal/posts?page=1&videos=1`,{key:"notices_page_initial"},"$qSLEO9MToB").then(e=>{e.pending&&(e.data.value.status!==0?(m.value=e.data.value.pagination.data,l.value=e.data.value.pagination.current_page,c.value=e.data.value.pagination.last_page):e.data.value.election_period&&(r.value=!0),a.value=!1)}).catch(e=>{console.log(e),a.value=!0}),{myTitle:s,arrayOfLinks:p,loading:a,notices:m,currentPage:l,lastPage:c,getMoreNotices:g,colors:k,isElection:r}}},H={key:0},U={class:"container mx-auto py-8 px-3"},G={class:"w-12/12 mx-auto"},J={class:"grid grid-cols-1"},K={class:"col-span-1"},Q={key:0,class:"col-span-1 mt-2 md:mt-4"},R={class:"col-span-1"},W={class:"w-11/12 sm:w-12/12 md:w-11/12 xl:w-10/12 mx-auto"},X={class:"col-span-1 mt-6 md:mt-10"},Y={key:0,class:"grid grid-cols-12 gap-6"},Z={key:0,class:"col-span-1 mt-3 md:mt-6"},$={class:"grid grid-cols-1 mt-10"},aa={class:"w-12/12 px-4"},ta={class:"col-span-1"},ea={class:"w-11/12 sm:w-12/12 md:w-11/12 xl:w-10/12 mx-auto"},oa={key:1,class:""};function sa(u,s,p,a,m,k){const c=N,l=E,r=M,v=C,g=L;return o(),n("main",null,[a.loading?(o(),n("div",oa,[...s[2]||(s[2]=[T('<div class="container pt-4 pb-4 mx-auto"><div class="grid grid-cols-1"><div class="col-span-1"><div class="flex justify-center"><img src="'+z+'" alt="Imagem de loading do Placarsoft" class="h-[300px] md:h-[400px]"></div></div></div></div>',1)])])):(o(),n("div",H,[_(c,{title:a.myTitle},null,8,["title"]),t("div",U,[t("div",G,[t("div",J,[t("div",K,[_(l,{classFather:"",arrayOfLinks:a.arrayOfLinks},null,8,["arrayOfLinks"])]),a.isElection?(o(),n("div",Q,[...s[1]||(s[1]=[t("div",{class:"flex flex-col"},[t("h2",null,"Site ajustado para atender a legislação eleitoral"),t("p",null," Informamos que iremos restringir as informações institucionais e notícias em nossos canais de comunicação, atendendo as determinações da Lei Federal 9.504/1997 para o período que antecede as eleições municipais. "),t("p",null," A área de serviços do portal como: competições, perfil do atleta, inscrições, punições disciplinares, esporte, entre outros, continuam em operação. ")],-1)])])):h("",!0),t("div",R,[t("div",W,[_(r,{areaExtra:"posts_top",class:""})])]),a.isElection?h("",!0):(o(),n(y,{key:1},[t("div",X,[a.notices.length>0?(o(),n("div",Y,[(o(!0),n(y,null,D(a.notices,(e,f)=>(o(),w(v,{key:e.id,notice:e,indice:f},null,8,["notice","indice"]))),128))])):(o(),w(g,{key:1,message:"Não há notícias cadastradas",nameIcon:"octicon:alert",class:"justify-center"}))]),a.currentPage<a.lastPage?(o(),n("div",Z,[t("div",$,[t("div",aa,[t("button",{onClick:s[0]||(s[0]=e=>a.getMoreNotices(a.currentPage+1)),class:S([`bg-${a.colors.colorname1} my-text-${a.colors.colorname1}`,"flex w-full py-2 rounded justify-center font-bold text-xl hover:bg-color1/[0.9]"])},"Veja mais",2)])])])):h("",!0)],64)),t("div",ta,[t("div",ea,[_(r,{areaExtra:"posts_bottom",class:""})])])])])])]))])}const va=V(A,[["render",sa]]);export{va 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.