1import{_ as D}from"./CfTlIFQY.js";import{_ as E}from"./RWdUtGGW.js";import{e as f,c as s,o as r,i as n,a as e,t as a,I as S,s as B,j as b,v as j,J as V,b as d,h as i,p as N,w as y,d as T,_ as A,cy as F}from"./DJyAB28L.js";import{_ as L}from"./BGM6pcb_.js";import{_ as z}from"./DFXp5SHE.js";import{u as M}from"./DLFKLYkM.js";import{u as O}from"./BSjbKtIF.js";import{_ as H}from"./DlAUqK2U.js";import"./BgTlCM5Q.js";import"./jTbfAkRN.js";import"./DhZyfXB0.js";import"./D1lQpKj8.js";import"./8pf3b65a.js";const I={class:"text-primary leading-relaxed space-y-6"},J={key:0},G={key:1},U={class:"whitespace-pre-line"},K={key:2},Q={class:"whitespace-pre-line"},W={key:3},X={class:"whitespace-pre-line"},Y={key:4},Z={class:"whitespace-pre-line"},tt={key:5},et={class:"whitespace-pre-line"},ot={key:6},st={class:"whitespace-pre-line"},rt={key:7},nt={class:"whitespace-pre-line"},at={key:8},it={class:"whitespace-pre-line"},lt={key:9},ct={class:"whitespace-pre-line"},dt={key:10},pt={class:"whitespace-pre-line text-justify"},mt=f({__name:"ResearchProjectDetailsContent",props:{project:{}},setup(o){return(c,t)=>(r(),s("div",I,[o.project.coordenacao?(r(),s("p",J,[t[0]||(t[0]=e("strong",{class:"text-primary font-bold"},"Coordenação: ",-1)),e("span",null,a(o.project.coordenacao),1)])):n("",!0),o.project.eixo?(r(),s("p",G,[t[1]||(t[1]=e("strong",{class:"mb-1 text-primary font-bold"},"Eixo: ",-1)),e("span",U,a(o.project.eixo.titulo),1)])):n("",!0),o.project.linhaDePesquisa?(r(),s("p",K,[t[2]||(t[2]=e("strong",{class:"mb-1 text-primary font-bold"},"Linha de pesquisa: ",-1)),e("span",Q,a(o.project.linhaDePesquisa),1)])):n("",!0),o.project.pesquisadores?.texto?(r(),s("div",W,[t[3]||(t[3]=e("strong",{class:"mb-1 block text-primary font-bold"},"Pesquisadores:",-1)),e("p",X,a(o.project.pesquisadores.texto),1)])):n("",!0),o.project.voluntarios?.texto?(r(),s("div",Y,[t[4]||(t[4]=e("strong",{class:"mb-1 block text-primary font-bold"},"Voluntários:",-1)),e("p",Z,a(o.project.voluntarios.texto),1)])):n("",!0),o.project.bolsistas?.texto?(r(),s("div",tt,[t[5]||(t[5]=e("strong",{class:"mb-1 block text-primary font-bold"},"Bolsistas:",-1)),e("p",et,a(o.project.bolsistas.texto),1)])):n("",!0),o.project.mestrandos?.texto?(r(),s("div",ot,[t[6]||(t[6]=e("strong",{class:"mb-1 block text-primary font-bold"},"Mestrandos:",-1)),e("p",st,a(o.project.mestrandos.texto),1)])):n("",!0),o.project.doutorandos?.texto?(r(),s("div",rt,[t[7]||(t[7]=e("strong",{class:"mb-1 block text-primary font-bold"},"Doutorandos:",-1)),e("p",nt,a(o.project.doutorandos.texto),1)])):n("",!0),o.project.colaboradoresEmProjeto?.texto?(r(),s("div",at,[t[8]||(t[8]=e("strong",{class:"mb-1 block text-primary font-bold"},"Colaboradores em Projeto:",-1)),e("p",it,a(o.project.colaboradoresEmProjeto.texto),1)])):n("",!0),o.project.orgaosFinanciadores?.texto?(r(),s("div",lt,[t[9]||(t[9]=e("strong",{class:"mb-1 block text-primary font-bold"},"Ãrgãos Financiadores:",-1)),e("p",ct,a(o.project.orgaosFinanciadores.texto),1)])):n("",!0),o.project.resumo?.texto?(r(),s("div",dt,[t[10]||(t[10]=e("strong",{class:"mb-1 block text-primary font-bold"},"Resumo:",-1)),e("p",pt,a(o.project.resumo.texto),1)])):n("",!0)]))}}),ut=Object.assign(mt,{__name:"ResearchProjectDetailsContent"}),xt={key:0,class:"my-20 text-center text-lg text-primary font-bold"},_t={class:"container text-primary"},bt={class:"mb-8 text-2xl text-site font-extrabold md:text-3xl"},jt={key:0,class:"mt-16"},yt={key:0,class:"order-first mt--22px h-min min-w-360px border-5px border-neutral100 border-solid px-15px lt-md:z-1 lt-md:bg-secondary lg:order-last"},ft={key:2,class:"my-20 text-center"},gt=f({__name:"[slug]",async setup(o){let c,t;const u=S(),g=u.params.slug,x=M(),{research:m}=B(x);[c,t]=b(()=>x.fetchResearchPage(u.query.preview)),await c,t();const{data:h,pending:k}=([c,t]=b(()=>O("/api/strapi/find",{params:{contentType:"pesquisa-projetos",populate:F,"filters[slug][$eq]":g}},"$vurdm4n77z")),c=await c,t(),c),l=j(()=>h.value?.data?.[0]),v=[{id:"home",label:"Home",href:"https://www.univates.br",isExternalLink:!0}
1,{id:"pesquisa",label:"Pesquisa",href:"pesquisa"},{id:"projetos",label:"Projetos de pesquisa",href:"pesquisa/projetos-de-pesquisa"}];return V({title:j(()=>l.value?.titulo?`${l.value.titulo} | Detalhes do Projeto`:"Detalhes do Projeto de Pesquisa")}),(ht,p)=>{const P=D,w=E,_=ut,q=L,C=z,R=A;return r(),s("div",null,[d(P,{title:"Detalhes do Projeto de Pesquisa"}),d(w,{class:"breadcrumbs",items:v}),i(k)?(r(),s("div",xt," Carregando informações do projeto... ")):i(l)?(r(),s("div",{key:1,class:N(["grid mx-1rem my-3.5rem gap-20px lg:mx-100px lg:my-80px xl:mx-100px xxl:mx-200px xl:gap-120px",[i(m)?.menu_lateral_pagina?"grid-cols-1 lg:grid-cols-[3fr_1fr]":"grid-cols-[80%] justify-center lt-md:grid-cols-[100%]"]])},[e("div",_t,[e("h1",bt,a(i(l).titulo),1),d(_,{project:i(l)},null,8,["project"]),i(l).subProjetos&&i(l).subProjetos?.length>0?(r(),s("div",jt,[p[0]||(p[0]=e("h2",{class:"mb-2 mt-20 text-2xl text-primary font-extrabold md:text-3xl"}," Sub projetos ",-1)),d(q,{class:"research-sub-projects-accordion",items:i(l).subProjetos},{conteudo:y(({item:$})=>[d(_,{class:"py-4 pl-2",project:$},null,8,["project"])]),_:1},8,["items"])])):n("",!0)]),i(m)?.menu_lateral_pagina?(r(),s("div",yt,[d(C,{class:"side-menu",menu:i(m).menu_lateral_pagina},null,8,["menu"])])):n("",!0)],2)):(r(),s("div",ft,[p[2]||(p[2]=e("h2",{class:"text-2xl text-primary font-bold"}," Projeto não encontrado ",-1)),d(R,{to:"/pesquisa/projetos-de-pesquisa",class:"mt-4 inline-block text-site font-bold hover:underline"},{default:y(()=>[...p[1]||(p[1]=[T(" Voltar para a lista de projetos ",-1)])]),_:1})]))])}}}),Nt=H(gt,[["__scopeId","data-v-39ab53bd"]]);export{Nt 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.