(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fee87672"],{1792:function(t,e,i){},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"3d97":function(t,e,i){},"3fef":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"featured"},[t.titleVisible&&t.data&&t.data.length>0?i("title-view",{attrs:{label:t.titleText,btn:t.btnText}}):t._e(),i("div",{staticClass:"featured-list"},[i("div",{staticClass:"featured-item-wrapper"},t._l(t.data,(function(e,n){return i("div",{key:n,staticClass:"featured-item",on:{click:function(i){return t.showBookDetail(e)}}},[i("div",{staticClass:"img-wrapper"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.cover,expression:"item.cover"}],staticClass:"img"})]),i("div",{staticClass:"content-wrapper"},[i("div",{ref:"title",refInFor:!0,staticClass:"title title-small"},[t._v(t._s(e.title))]),i("div",{ref:"author",refInFor:!0,staticClass:"author sub-title-tiny"},[t._v(t._s(e.author))]),i("div",{ref:"category",refInFor:!0,staticClass:"category third-title-tiny"},[t._v(t._s(t.categoryText(e.category)))])])])})),0)])],1)},o=[],s=(i("ac6a"),i("9d2d")),r=i("fa7d"),a=i("5de6"),c=i("ac0d"),u={mixins:[c["a"]],components:{TitleView:s["a"]},props:{data:Array,titleVisible:{type:Boolean,default:!0},titleText:{type:String},btnText:{type:String}},computed:{width:function(){return window.innerWidth-Object(r["d"])(20)-Object(r["d"])(60)+"px"}},methods:{categoryText:function(t){return Object(a["e"])(t,this)},resize:function(){var t=this;this.$nextTick((function(){t.$refs.title.forEach((function(e){e.style.width=t.width})),t.$refs.author.forEach((function(e){e.style.width=t.width})),t.$refs.category.forEach((function(e){e.style.width=t.width}))}))}}},h=u,f=(i("9b59"),i("2877")),l=Object(f["a"])(h,n,o,!1,null,"5c41b71f",null);e["a"]=l.exports},"456d":function(t,e,i){var n=i("4bf8"),o=i("0d58");i("5eda")("keys",(function(){return function(t){return o(n(t))}}))},5147:function(t,e,i){var n=i("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(o){}}return!0}},"5eda":function(t,e,i){var n=i("5ca1"),o=i("8378"),s=i("79e5");t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),n(n.S+n.F*s((function(){i(1)})),"Object",r)}},"7f7f":function(t,e,i){var n=i("86cc").f,o=Function.prototype,s=/^\s*function ([^ (]*)/,r="name";r in o||i("9e1e")&&n(o,r,{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(t){return""}}})},"8e6e":function(t,e,i){var n=i("5ca1"),o=i("990b"),s=i("6821"),r=i("11e9"),a=i("f1ae");n(n.S,"Object",{getOwnPropertyDescriptors:function(t){var e,i,n=s(t),c=r.f,u=o(n),h={},f=0;while(u.length>f)i=c(n,e=u[f++]),void 0!==i&&a(h,e,i);return h}})},"990b":function(t,e,i){var n=i("9093"),o=i("2621"),s=i("cb7c"),r=i("7726").Reflect;t.exports=r&&r.ownKeys||function(t){var e=n.f(s(t)),i=o.f;return i?e.concat(i(t)):e}},"9a9b":function(t,e,i){"use strict";i("1792")},"9b59":function(t,e,i){"use strict";i("3d97")},"9d2d":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"home-title-wrapper"},[i("div",{staticClass:"label"},[t._v(t._s(t.label))]),i("div",{staticClass:"btn",class:{touch:t.ifOnTouch},on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd,mousedown:t.onTouchStart,mouseup:t.onTouchEnd,click:t.click}},[t._v(t._s(t.btn))])])},o=[],s={props:{label:String,btn:String},data:function(){return{ifOnTouch:!1}},methods:{onTouchStart:function(){this.ifOnTouch=!0},onTouchEnd:function(){this.ifOnTouch=!1},click:function(){this.$emit("onClick")}}},r=s,a=(i("9a9b"),i("2877")),c=Object(a["a"])(r,n,o,!1,null,"36a44cba",null);e["a"]=c.exports},aae3:function(t,e,i){var n=i("d3f4"),o=i("2d95"),s=i("2b4c")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==o(t))}},ac0d:function(t,e,i){"use strict";i.d(e,"b",(function(){return h})),i.d(e,"a",(function(){return f}));i("8e6e"),i("456d"),i("a481"),i("f559"),i("7f7f"),i("ac6a");function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var o=i("2f62"),s=i("5de6"),r=i("fa7d"),a=i("e8ec");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function u(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];t?this.currentBook.rendition.display(t).then((function(){i&&t.startsWith("epubcfi")&&e.currentBook.getRange(t).then((function(i){e.currentBook.rendition.annotations.highlight(t,{},(function(t){}))})),e.refreshLocation()})):this.currentBook.rendition.display().then((function(){e.refreshLocation()})),this.hideMenuVisible()},refreshLocation:function(){var t=this.currentBook.rendition.currentLocation();if(t.start&&t.start.index){this.setSection(t.start.index);var e=this.currentBook.locations.percentageFromCfi(t.start.cfi);this.setProgress(Math.floor(100*e)),this.pagelist?t.start.location<=0?this.setPaginate(""):this.setPaginate(t.start.location+" / "+this.pagelist.length):this.setPaginate("");var i=t.start.cfi,n=a["b"](this.fileName);n&&n.some((function(t){return t.cfi===i}))?this.setIsBookmark(!0):this.setIsBookmark(!1),a["q"](this.fileName,i)}},getReadTime:function(){return this.$t("book.haveRead").replace("$1",Object(s["i"])(this.fileName))}})},f={methods:{showBookDetail:function(t){Object(s["m"])(this,t)}}}},d2c8:function(t,e,i){var n=i("aae3"),o=i("be13");t.exports=function(t,e,i){if(n(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(o(t))}},f1ae:function(t,e,i){"use strict";var n=i("86cc"),o=i("4630");t.exports=function(t,e,i){e in t?n.f(t,e,o(0,i)):t[e]=i}},f559:function(t,e,i){"use strict";var n=i("5ca1"),o=i("9def"),s=i("d2c8"),r="startsWith",a=""[r];n(n.P+n.F*i("5147")(r),"String",{startsWith:function(t){var e=s(this,t,r),i=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,i):e.slice(i,i+n.length)===n}})}}]);