(function(e){function a(a){for(var i,s,n=a[0],l=a[1],c=a[2],u=0,p=[];u2?t("div",{staticClass:" rescont "},[t("ul",{staticClass:" dropdown-menu d-block dropdown-menu-right "},e._l(e.buscarLibro,(function(a){return t("li",{key:a.idLibro,staticClass:" dropdown-item dropdown-itemBusqueda text-wrap ",on:{click:function(t){return e.descripcion(a.idLibro)}}},[e._v(" "+e._s(a.titulo)+" ")])})),0)]):e._e()]):e._e()])])])},C=[],E=(t("4de4"),t("caad"),t("2532"),t("96cf"),t("1da1")),y=t("bc3a"),A=t.n(y),w=t("a078"),x=t.n(w),I={data:function(){return{isExist:!0,libros:[],nombre:""}},methods:{descripcion:function(e){var a=this;return Object(E["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:console.log(" Este es el id del libro ".concat(e)),localStorage.clear(),window.localStorage.setItem("idLibro",e),a.$router.push("/desc").catch((function(){location.reload()}));case 4:case"end":return t.stop()}}),t)})))()},inicio:function(){this.$router.push("/").catch((function(){location.reload()}))},difusion:function(){this.$router.push("/difusion").catch((function(){location.reload()}))},presentacion:function(){this.$router.push("/presentacion").catch((function(){location.reload()}))},tema:function(e){var a=this;return Object(E["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:window.localStorage.setItem("categoria",e),a.$router.push("/tema").catch((function(){location.reload()}));case 2:case"end":return t.stop()}}),t)})))()},method:function(){this.isExist=!this.isExist}},created:function(){var e=this;return Object(E["a"])(regeneratorRuntime.mark((function a(){var t,i;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t="".concat(x.a.api),a.prev=1,a.next=4,A.a.get("".concat(t,"/getLibros"));case 4:return i=a.sent,a.next=7,i.data.data;case 7:e.libros=a.sent,a.next=13;break;case 10:a.prev=10,a.t0=a["catch"](1),console.log("Error ".concat(a.t0));case 13:case"end":return a.stop()}}),a,null,[[1,10]])})))()},computed:{buscarLibro:function(){var e=this;return this.libros.filter((function(a){return a.titulo.toLowerCase().includes(e.nombre.toLowerCase())}))}}},S=I,D=(t("bb63"),Object(l["a"])(S,h,C,!1,null,"fcbc9cae",null)),q=D.exports,L=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("footer",{staticClass:"container-fluid Azul-puma footer py-3 "},[t("div",{staticClass:"container"},[t("div",{attrs:{row:""}},[t("router-link",{attrs:{to:"/comite"}},[t("button",{staticClass:"col-md-6 col-sm-12 btn boton-footer uno",attrs:{type:"button"}},[e._v(" Comité Editorial ")])]),t("router-link",{attrs:{to:"/lineamientos"}},[t("button",{staticClass:"col-md-6 col-sm-12 btn boton-footer dos",attrs:{type:"button"}},[e._v(" Política Editorial y Lineamentos ")])]),t("router-link",{attrs:{to:"/proceso"}},[t("button",{staticClass:"col-md-6 col-sm-12 btn boton-footer tres",attrs:{type:"button"}},[e._v(" Proceso Editorial y Organismos ")])]),t("router-link",{attrs:{to:"/puntos"}},[t("button",{staticClass:"col-md-6 col-sm-12 btn boton-footer cuatro",attrs:{type:"button"}},[e._v(" Puntos de Venta ")])])],1)]),e._m(0)])},j=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{row:""}},[t("p",{staticClass:"mb-0 "},[e._v("Hecho en México, todos los derechos reservados 2020.")]),t("p",{staticClass:"my-0 "},[e._v(" Esta página puede ser reproducida con fines no lucrativos, siempre y cuando no se mutile, se cite la fuente ")]),t("p",[e._v(" completa y su dirección electrónica. De otra forma, requiere permiso previo por escrito de la institución. ")])])}],R={},T=R,P=(t("2837"),Object(l["a"])(T,L,j,!1,null,"9e1fb192",null)),z=P.exports,N=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"divMaster row "},[t("div",{staticClass:"carousel slide col-md-10 col-lg-10 col-xl-10 my-5 col-12 mx-auto",attrs:{id:"carouselExampleControls","data-ride":"carousel"}},[t("div",{staticClass:"carousel-inner"},e._l(e.Libros,(function(e,a){return t("div",{key:e.id,staticClass:"carousel-item",class:{active:0==a}},[t("img",{staticClass:"d-block w-100 img-fluid",attrs:{src:e.img,alt:"img"}})])})),0),e._m(0),e._m(1)])])},O=[function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("a",{staticClass:"carousel-control-prev",attrs:{href:"#carouselExampleControls",role:"button","data-slide":"prev"}},[t("span",{staticClass:"carousel-control-prev-icon",attrs:{"aria-hidden":"true"}}),t("span",{staticClass:"sr-only"},[e._v("Previous")])])},function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("a",{staticClass:"carousel-control-next",attrs:{href:"#carouselExampleControls",role:"button","data-slide":"next"}},[t("span",{staticClass:"carousel-control-next-icon",attrs:{"aria-hidden":"true"}}),t("span",{staticClass:"sr-only"},[e._v("Next")])])}],U=(t("99af"),t("3ca3"),t("ddb0"),{data:function(){return{Libros:[]}},created:function(){var e=this;return Object(E["a"])(regeneratorRuntime.mark((function a(){var t,i,o,r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,t="".concat(x.a.api,"/imagenCarrusel?nombre="),a.next=4,A.a.get("".concat(x.a.api,"/nombreCarrusel"));case 4:i=a.sent,i=i.data.data,o=regeneratorRuntime.mark((function a(o){var r;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return console.log(t),r={url:"".concat(t).concat(i[o]),method:"GET",responseType:"blob"},a.next=4,A()(r).then((function(a){var t=new FileReader;t.readAsDataURL(a.data),t.onload=function(){e.Libros.push({id:o,img:t.result})}}));case 4:case"end":return a.stop()}}),a)})),r=0;case 8:if(!(r