1import{_ as B,d as j,j as A,e as L}from"./A67pXk-g.js";import{_ as D,a as P,b as w,c as F,d as V}from"./D2qac06h.js";import{_ as O}from"./BcWuo8cw.js";import{_ as T}from"./BSQMFUaq.js";import{_ as H}from"./Sox2L_x1.js";import{_ as N}from"./BQ9gygTz.js";import{M as h,V as n,N as _,G as r,Q as l,O as z,L as i}from"./BOASED2y.js";import"./DDm9-Cgu.js";import"./BeqLl4DI.js";const U={data(){return{color_header:"#DA3C00",hovercolor_header:"#DA3C00",home_data:!1,past_events:[],events:[],persons:[],language:"es"}},methods:{updateLanguageVarPage(o){let t=this;t.language=o},updateLanguagePage(o){let t=this;t.language=o,fetch("https://residenciadeestudiantes.com/api/wp-json/front/data/get_home_data?lang="+t.language).then(async a=>{const p=await a.json();t.home_data=p,t.$refs.main_header.updatedLanguagePage(t.home_data.has_translate)}).catch(a=>{console.log("error",a)})},updateColorHeaderPage(o){this.color_header=o.color,this.hovercolor_header=o.hovercolor}},mounted(){let o=this;o.$refs.main_header.changeLanguage(o.language)},async asyncData({$axios:o}){},created(){let o=this;fetch("https://residenciadeestudiantes.com/api/wp-json/front/data/get_events_page?multimedia=1").then(async t=>{const a=await t.json();o.events=a.active_items,o.past_events=a.past_events}).catch(t=>{console.log("error",t)}),fetch("https://residenciadeestudiantes.com/api/wp-json/front/data/get_person_list?page=1&per_page=9").then(async t=>{const a=await t.json();o.persons=a.data}).catch(t=>{console.log("error",t)}),o.language="en",o.updateLanguagePage(o.language)}},E={key:0,class:"page-home"};function G(o,t,a,p,e,m){const v=j,f=D,s=O,u=T,b=H,d=P,x=w,k=F,S=V,g=N,y=A,C=L;return i(),h(z,null,[n(v,{home:!0,barFixed:!0,color:e.color_header,hovercolor:e.hovercolor_header,onUpdateLanguage:t[0]||(t[0]=c=>{m.updateLanguagePage(c)}
1),onUpdateLanguageVar:t[1]||(t[1]=c=>{m.updateLanguageVarPage(c)}),ref:"main_header"},null,8,["color","hovercolor"]),t[3]||(t[3]=_("div",{class:"section-custom-grid-box-empty"},[_("div",{class:"section-custom-grid-box-empty-loading"},[_("div",{class:"lds-ring"},[_("div"),_("div"),_("div"),_("div")])])],-1)),e.home_data?(i(),h("main",E,[n(f,{items:e.home_data.intro_gallery,onUpdateColorHeader:t[2]||(t[2]=c=>{m.updateColorHeaderPage(c)})},null,8,["items"]),n(s,{desktopSpace:"0",mobileSpace:"64"}),e.events.length>0?(i(),r(u,{key:0,index:1,title:e.home_data.proximas_actividades.title,size_font:"small",have_button:!0,button:e.home_data.proximas_actividades.linkObject,have_subtitle:!1,subtitle:"SubtÃtulo lorem ipsum dolor sit",items:e.events},null,8,["title","button","items"])):l("",!0),e.home_data?(i(),r(b,{key:1,color:"#3838BD",hovercolor:"#547AFF",title:e.home_data.cta_register.title,content:e.home_data.cta_register.content,have_button:!0,button:e.home_data.cta_register.linkObject,id:"section-servicios5"},null,8,["title","content","button"])):l("",!0),n(s,{desktopSpace:"57",mobileSpace:"40"}),n(d,{infoAnimation:e.home_data.ven_a_la_resi,title:e.home_data.titulo_ven_a_la_resi},null,8,["infoAnimation","title"]),n(s,{desktopSpace:"0",mobileSpace:"20"}),n(u,{index:1,title:e.home_data.conocenos_en_profundidad.title,size_font:"small",have_button:!0,button:e.home_data.conocenos_en_profundidad.linkObject1,have_button2:!0,have_arrows:!1,button2:e.home_data.conocenos_en_profundidad.linkObject2,have_subtitle:!1,images:e.home_data.conocenos,style:"images-thumnail"},null,8,["title","button","button2","images"]),n(x,{items:e.persons,color:"#DA3C00",hovercolor:"#FF7D45",info:e.home_data.residentes},null,8,["items","info"]),n(s,{desktopSpace:"0",mobileSpace:"20"}),e.home_data.cta_intermedio?(i(),r(k,{key:2,item:e.home_data.cta_intermedio,colorText:"#3838BD"},null,8,["item"])):l("",!0),n(s,{desktopSpace:"80",mobileSpace:"40"}),n(S,{items:e.home_data.lugar_encuentro,title:""},null,8,["items"]),n(s,{desktopSpace:"80",mobileSpace:"40"}),e.home_data.cta_resiciencia?(i(),r(g,{key:3,item:e.home_data.cta_resiciencia,colorText:"#3838BD",classButton:"btn01-blue"},null,8,["item"])):l("",!0),n(s,{desktopSpace:"80",mobileSpace:"40"}),n(d,{infoAnimation:e.home_data.investigadores,title:e.home_data.titulo_investigadores},null,8,["infoAnimation","title"]),n(s,{desktopSpace:"40",mobileSpace:"40"}),e.past_events.length>0?(i(),r(u,{key:4,index:1,title:e.home_data.explora_actividades.title,size_font:"small",have_button:!0,button:e.home_data.explora_actividades.linkObject,have_subtitle:!1,subtitle:"SubtÃtulo lorem ipsum dolor sit",items:e.past_events,multimedia:!1},null,8,["title","button","items"])):l("",!0),e.home_data.cta_final?(i(),r(g,{key:5,item:e.home_data.cta_final,colorText:"#DA3C00"},null,8,["item"])):l("",!0),n(y,{language:e.language},null,8,["language"])])):l("",!0),n(C,{language:e.language},null,8,["language"])],64)}const Y=B(U,[["render",G]]);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.