text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{L1EO:function(e,t,n){},QfWi:function(e,t,n){"use strict";n.r(t);n("x3Br");var o=n("jffb"),r=n.n(o),s=n("QJ3N"),u=n("WSJ9");n("zrP5"),n("JBxO"),n("FdtR");s.defaultModules.set(u,{}),s.defaults.styling="brighttheme",s.defaults.icons="brighttheme",s.defaults.closerHover=!0;var c=document.querySelector(".book-search-input"),i=document.querySelector(".book-search-result");c.addEventListener("input",r()((function(e){i.innerHTML="";var t,n=e.target.value;n.length>3?(t=n,fetch("https://www.googleapis.com/books/v1/volumes?q="+t).then((function(e){return e.json()}))).then((function(e){i.insertAdjacentHTML("beforeend",function(e){return'<ul class="book-list">'+e.items.reduce((function(e,t){return e+="<li>"+t.volumeInfo.title.toUpperCase()+"</li>"}),"")+"</ul>"}(e))})).catch(console.log):Object(s.alert)({text:"Please, enter more symbols",type:"error",delay:1e3,stack:new s.Stack({dir1:"up"})})}),3e3));n("bzha"),n("mFSj"),n("JauC"),n("Anew"),n("L1EO")}},[["QfWi",1,2]]]);
  //# sourceMappingURL=main.d18b7b76f4aa8a728ea2.js.map