1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
(function(e){function t(t){for(var o,r,c=t[0],u=t[1],s=t[2],l=0,d=[];l<c.length;l++)r=c[l],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&d.push(a[r][0]),a[r]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);f&&f(t);while(d.length)d.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],o=!0,r=1;r<n.length;r++){var c=n[r];0!==a[c]&&(o=!1)}o&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var o={},r={app:0},a={app:0},i=[];function c(e){return u.p+"js/"+({}[e]||e)+"."+{"chunk-77554185":"0723dd8e","chunk-f468e2d6":"a57e1fe0","chunk-4c5a34ba":"d4216a87","chunk-2d02ec01":"e2699f8e","chunk-6d3e2459":"fb4d4102","chunk-17a86463":"b1a6a657","chunk-590c571e":"de728115","chunk-cc6cd186":"4a9a5da7","chunk-732174cc":"c28e3b37","chunk-da605408":"022b9241","chunk-fee87672":"b59a52bb","chunk-0acbc4bc":"3a452950","chunk-c06d6576":"4eff1d63","chunk-6354174a":"b52f934f","chunk-723bfbd6":"033df66c"}[e]+".js"}function u(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.e=function(e){var t=[],n={"chunk-77554185":1,"chunk-2d02ec01":1,"chunk-6d3e2459":1,"chunk-17a86463":1,"chunk-590c571e":1,"chunk-cc6cd186":1,"chunk-732174cc":1,"chunk-da605408":1,"chunk-fee87672":1,"chunk-0acbc4bc":1,"chunk-c06d6576":1,"chunk-6354174a":1,"chunk-723bfbd6":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="css/"+({}[e]||e)+"."+{"chunk-77554185":"d1b2ce8e","chunk-f468e2d6":"31d6cfe0","chunk-4c5a34ba":"31d6cfe0","chunk-2d02ec01":"e821e46c","chunk-6d3e2459":"7f3394d7","chunk-17a86463":"4005459e","chunk-590c571e":"14348aa5","chunk-cc6cd186":"b516262d","chunk-732174cc":"fbc205c1","chunk-da605408":"6f1f105e","chunk-fee87672":"8e9fdd0b","chunk-0acbc4bc":"51109f64","chunk-c06d6576":"18ffb403","chunk-6354174a":"3f85cbe0","chunk-723bfbd6":"684c2823"}[e]+".css",a=u.p+o,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=i[c],l=s.getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===o||l===a))return t()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){s=d[c],l=s.getAttribute("data-href");if(l===o||l===a)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var o=t&&t.target&&t.target.src||a,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],f.parentNode.removeChild(f),n(i)},f.href=a;var h=document.getElementsByTagName("head")[0];h.appendChild(f)})).then((function(){r[e]=0})));var o=a[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((function(t,n){o=a[e]=[t,n]}));t.push(o[2]=i);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,u.nc&&l.setAttribute("nonce",u.nc),l.src=c(e);var d=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=a[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+o+": "+r+")",d.name="ChunkLoadError",d.type=o,d.request=r,n[1](d)}a[e]=void 0}};var f=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},u.m=e,u.c=o,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)u.d(n,o,function(t){return e[t]}.bind(null,o));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="",u.oe=function(e){throw console.error(e),e};var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var d=0;d<s.length;d++)t(s[d]);var f=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"146e":function(e,t,n){"use strict";n("fb2f")},"3d0e":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("14c6"),n("08c1"),n("4842"),n("d9fc");var o=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},a=[],i={mounted:function(){this.$router.push("/ebook/book")}};document.addEventListener("DOMContentLoaded",(function(){var e=window.innerWidth/10;e=e>50?50:e;var t=document.querySelector("html");t.style.fontSize=e+"px"}));var c=i,u=(n("146e"),n("2877")),s=Object(u["a"])(c,r,a,!1,null,"19ce1a80",null),l=s.exports,d=n("8c4f");o["a"].use(d["a"]);var f=new d["a"]({routes:[{path:"/",redirect:"/book-store"},{path:"/ebook",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-6354174a")]).then(function(){var t=[n("51a1")];e.apply(null,t)}.bind(this)).catch(n.oe)},children:[{path:":fileName",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-723bfbd6")]).then(function(){var t=[n("5158")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/book-store",component:function(e){return n.e("chunk-77554185").then(function(){var t=[n("bb50")];e.apply(null,t)}.bind(this)).catch(n.oe)},redirect:"/book-store/shelf",children:[{path:"/book-store/shelf",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-2d02ec01"),n.e("chunk-6d3e2459"),n.e("chunk-590c571e")]).then(function(){var t=[n("dff4")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:1}},{path:"/book-store/category",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-2d02ec01"),n.e("chunk-6d3e2459"),n.e("chunk-17a86463")]).then(function(){var t=[n("252b")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:2}},{path:"/book-store/home",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-fee87672"),n.e("chunk-c06d6576")]).then(function(){var t=[n("a14b")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:3}},{path:"/book-store/list",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-fee87672"),n.e("chunk-0acbc4bc")]).then(function(){var t=[n("8bc5")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:4}},{path:"/book-store/detail",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-2d02ec01"),n.e("chunk-cc6cd186"),n.e("chunk-da605408")]).then(function(){var t=[n("0beb")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:5}},{path:"/book-store/book-speaking",component:function(e){return Promise.all([n.e("chunk-f468e2d6"),n.e("chunk-4c5a34ba"),n.e("chunk-2d02ec01"),n.e("chunk-cc6cd186"),n.e("chunk-732174cc")]).then(function(){var t=[n("d740")];e.apply(null,t)}.bind(this)).catch(n.oe)},meta:{key:6}}]}]}),h=n("2f62"),m=n("fa7d"),k={state:{fileName:"",menuVisible:!1,settingVisible:-1,defaultFontSize:16,defaultFontFamily:"Default",fontFamilyVisible:!1,defaultTheme:"Default",bookAvailable:!1,progress:0,section:0,isPaginating:!0,currentBook:null,navigation:null,cover:null,metadata:null,paginate:"",pagelist:null,offsetY:0,isBookmark:null,speakingIconBottom:Object(m["d"])(58)},mutations:{SET_FILENAME:function(e,t){e.fileName=t},SET_MENU_VISIBLE:function(e,t){e.menuVisible=t},SET_SETTING_VISIBLE:function(e,t){e.settingVisible=t},SET_DEFAULT_FONT_SIZE:function(e,t){e.defaultFontSize=t},SET_DEFAULT_FONT_FAMILY:function(e,t){e.defaultFontFamily=t},SET_FONT_FAMILY_VISIBLE:function(e,t){e.fontFamilyVisible=t},SET_DEFAULT_THEME:function(e,t){e.defaultTheme=t},SET_BOOK_AVAILABLE:function(e,t){e.bookAvailable=t},SET_PROGRESS:function(e,t){e.progress=t},SET_SECTION:function(e,t){e.section=t},SET_IS_PAGINATING:function(e,t){e.isPaginating=t},SET_CURRENT_BOOK:function(e,t){e.currentBook=t},SET_NAVIGATION:function(e,t){e.navigation=t},SET_COVER:function(e,t){e.cover=t},SET_METADATA:function(e,t){e.metadata=t},SET_PAGINATE:function(e,t){e.paginate=t},SET_PAGELIST:function(e,t){e.pagelist=t},SET_OFFSETY:function(e,t){e.offsetY=t},SET_IS_BOOKMARK:function(e,t){e.isBookmark=t},SET_SPEAKING_ICON_BOTTOM:function(e,t){e.speakingIconBottom=t}}},b=k,p={fileName:function(e){return e.book.fileName},menuVisible:function(e){return e.book.menuVisible},settingVisible:function(e){return e.book.settingVisible},defaultFontSize:function(e){return e.book.defaultFontSize},defaultFontFamily:function(e){return e.book.defaultFontFamily},fontFamilyVisible:function(e){return e.book.fontFamilyVisible},defaultTheme:function(e){return e.book.defaultTheme},bookAvailable:function(e){return e.book.bookAvailable},progress:function(e){return e.book.progress},section:function(e){return e.book.section},isPaginating:function(e){return e.book.isPaginating},currentBook:function(e){return e.book.currentBook},navigation:function(e){return e.book.navigation},cover:function(e){return e.book.cover},metadata:function(e){return e.book.metadata},paginate:function(e){return e.book.paginate},pagelist:function(e){return e.book.pagelist},offsetY:function(e){return e.book.offsetY},isBookmark:function(e){return e.book.isBookmark},speakingIconBottom:function(e){return e.book.speakingIconBottom}},g=p,v={setFontFamilyVisible:function(e,t){var n=e.commit;return n("SET_FONT_FAMILY_VISIBLE",t)},setDefaultFontFamily:function(e,t){var n=e.commit;return n("SET_DEFAULT_FONT_FAMILY",t)},setDefaultFontSize:function(e,t){var n=e.commit;return n("SET_DEFAULT_FONT_SIZE",t)},setSettingVisible:function(e,t){var n=e.commit;return n("SET_SETTING_VISIBLE",t)},setMenuVisible:function(e,t){var n=e.commit;return n("SET_MENU_VISIBLE",t)},setFileName:function(e,t){var n=e.commit;return n("SET_FILENAME",t)},setDefaultTheme:function(e,t){var n=e.commit;return n("SET_DEFAULT_THEME",t)},setBookAvailable:function(e,t){var n=e.commit;return n("SET_BOOK_AVAILABLE",t)},setProgress:function(e,t){var n=e.commit;return n("SET_PROGRESS",t)},setSection:function(e,t){var n=e.commit;return n("SET_SECTION",t)},setIsPaginating:function(e,t){var n=e.commit;return n("SET_IS_PAGINATING",t)},setCurrentBook:function(e,t){var n=e.commit;return n("SET_CURRENT_BOOK",t)},setNavigation:function(e,t){var n=e.commit;return n("SET_NAVIGATION",t)},setCover:function(e,t){var n=e.commit;return n("SET_COVER",t)},setMetadata:function(e,t){var n=e.commit;return n("SET_METADATA",t)},setPaginate:function(e,t){var n=e.commit;return n("SET_PAGINATE",t)},setPagelist:function(e,t){var n=e.commit;return n("SET_PAGELIST",t)},setIsBookmark:function(e,t){var n=e.commit;return n("SET_IS_BOOKMARK",t)},setOffsetY:function(e,t){var n=e.commit;return n("SET_OFFSETY",t)},setSpeakingIconBottom:function(e,t){var n=e.commit;n("SET_SPEAKING_ICON_BOTTOM",t)}},S=v;o["a"].use(h["a"]);var y=new h["a"].Store({modules:{book:b},getters:g,actions:S}),T=n("a925"),E={home:{title:"Book Store",hint:"Computer Science And Software Engineering",guessYouLike:"Guess You Like",change:"Change",clear:"Clear",hotSearch:"Hot Search",historySearch:"History Search",sameAuthor:"Same author with $1",sameReader:"Same reader with $1",readPercent:"$1 is reading $2",recommend:"Recommend",seeAll:"See all",readers:"$1 is reading",featured:"Featured",category:"Category",books:"books",readNow:"Read Now",allBook:"$1 books"},category:{computerScience:"Computer Science",socialSciences:"Social Sciences",economics:"Economics",education:"Eductation",engineering:"Engineering",environment:"Environment",geography:"Geography",history:"History",laws:"Laws",lifeSciences:"LifeSciences",literature:"Literature",biomedicine:"Biomedicine",businessandManagement:"Business and Management",earthSciences:"Earth Sciences",materialsScience:"Materials Science",mathematics:"Mathematics",medicineAndPublicHealth:"Medicine And Public Health",philosophy:"Philosophy",physics:"Physics",politicalScienceAndInternationalRelations:"Political Science And International Relations",psychology:"Psychology",statistics:"Statistics"},shelf:{title:"Book Shelf",edit:"Edit",cancel:"Cancel",search:"Search",private:"Private",noPrivate:"Close Private",download:"Download",move:"Move...",remove:"Remove",setPrivateTitle:"When opened, the reading history of selected books will not be made public",open:"Open",closePrivateTitle:"Whether to close the private reading of selected books?",close:"Close",setPrivateSuccess:"Private reading has been open and reading history will no longer be published",closePrivateSuccess:"Private reading has been closed",setDownloadTitle:"When opened, selected books will automatically download",setDownloadSuccess:"Opened, will automatically download purchased books",setDownloadError:"Offline download exception, please try again",removeDownloadTitle:"Once confirmed, the offline books of selected will be remove",removeDownloadSuccess:"Offline books of selected has been remove",delete:"Remove",clearCache:"Clear Cache",clearCacheSuccess:"Clear cache successfully, cache is empty",removeBookTitle:"Whether to remove $1 out of the bookshelf?",removeBook:"Remove",selectedBooks:"selected books",default:"Default",progress:"By Progress",purchase:"By Purchase",bought:"Bought",notPurchased:"Not Purchased",selectBook:"Select Book",haveSelectedBook:"$1 book has been selected",haveSelectedBooks:"$1 books have been selected",moveBook:"Move Book",newGroup:"New Group",groupOut:"Move Out of Group",editGroup:"Edit Group",editGroupName:"Edit Group Name",deleteGroup:"Delete Group",deleteGroupTitle:"After deleting a group, the books in the group will be automatically moved out of the group",groupNone:"There are no books in the current group",groupName:"Group Name",confirm:"Confirm",moveBookInSuccess:"Move book(s) into $1 successfully",moveBookOutSuccess:"Move book(s) out of the group successfully",statistic:"$1 public reading • $2 private reading",startDownload:"Start download...",progressDownload:"Downloading:$1",downloadFirst:"Please download book first",welcome:'Welcome to visit iMooc<br>Learning "Practical WeChat Reading - Enterprise Web Book Store of Amami Native APP"<br>-------- Author: Sam --------',find:"Go to book store",changeLanguage:"Change Language",studyNow:"Learn on imooc.com"},detail:{copyright:"Copyright",navigation:"Table of Contents",publisher:"Publisher",category:"Category",ISBN:"ISBN",trial:"Trial Reading",lang:"Language",loading:"Loading...",read:"Read",listen:"Listen",addOrRemoveShelf:"Add to Book Shelf",isAddedToShelf:"Added to BookShelf"},speak:{voice:"Voice Reading",read:"Read Originial",settings:"Settings",timing:"Timing",current:"Current Section",requestFailed:"Request failed!",apply:"The core technology of semantic analysis is provided by iFLY TEK"},book:{pulldownAddMark:"Pull down to add bookmark",releaseAddMark:"Release to add bookmark",pulldownDeleteMark:"Pull down to delete bookmark",releaseDeleteMark:"Release to add bookmark",selectFont:"Select Font",haveRead:"Already read $1 minutes",themeDefault:"Default",themeGold:"Grace",themeEye:"Eye",themeNight:"Night",loading:"Loading...",navigation:"Contents",bookmark:"Bookmark",searchHint:"Search from the entire book",haveRead2:"already read",minutes:"minutes",cancel:"Cancel"}},A=E,_={home:{title:"书城",hint:"计算机科学和软件工程",guessYouLike:"猜你喜欢",change:"换一批",clear:"清空",hotSearch:"热门搜索",historySearch:"搜索历史",sameAuthor:"与$1同作者",sameReader:"对$1感兴趣的人也在读",readPercent:"阅读$2的人,$1都在读",recommend:"热门推荐",seeAll:"查看全部",readers:"$1人同时在读",featured:"精选",category:"分类",books:"本书",readNow:"立即阅读",allBook:"共 $1 本图书"},category:{computerScience:"计算机科学",socialSciences:"社会科学",economics:"经济学",education:"教育学",engineering:"工程学",environment:"环境学",geography:"地理学",history:"历史学",laws:"法学",lifeSciences:"生命科学",literature:"文学",biomedicine:"生物医学",businessandManagement:"工商管理",earthSciences:"地球科学",materialsScience:"材料科学",mathematics:"数学",medicineAndPublicHealth:"公共卫生",philosophy:"哲学",physics:"物理",politicalScienceAndInternationalRelations:"国际关系",psychology:"心理学",statistics:"统计学"},shelf:{title:"书架",edit:"编辑",cancel:"取消",search:"搜索",private:"私密阅读",noPrivate:"关闭私密阅读",download:"开启离线",move:"移动到...",remove:"移出书架",setPrivateTitle:"开启后,所选书籍的阅读记录将不会对外公开",open:"开启",closePrivateTitle:"是否关闭所选书籍的私密阅读?",close:"关闭",setPrivateSuccess:"已开启私密阅读<br>阅读记录将不再公开",closePrivateSuccess:"已关闭私密阅读",setDownloadTitle:"开启后,将自动缓存所选书籍内容",setDownloadSuccess:"已开启,将自动离线已购内容",setDownloadError:"离线下载异常,请重新尝试",removeDownloadTitle:"确认后,将删除所选书籍的离线内容",removeDownloadSuccess:"已选书籍的离线内容已删除",delete:"删除",clearCache:"清除缓存",clearCacheSuccess:"缓存已清空",removeBookTitle:"是否将$1移出书架?",removeBook:"移出",selectedBooks:"所选书籍",default:"默认",progress:"按进度",purchase:"按购买",bought:"已购买",notPurchased:"未购买",selectBook:"选择书籍",haveSelectedBook:"已选择$1本",haveSelectedBooks:"已选择$1本",moveBook:"移动书籍",newGroup:"新建分组",groupOut:"移出分组",editGroup:"修改分组",editGroupName:"修改分组名",deleteGroup:"删除分组",deleteGroupTitle:"删除分组后,分组内的书籍将会自动移出分组",groupNone:"当前分组暂无书籍",groupName:"分组名",confirm:"确定",moveBookInSuccess:"成功移入$1",moveBookOutSuccess:"成功移出分组",statistic:"$1本公开阅读 • $2本私密阅读",startDownload:"开始下载...",progressDownload:"正在下载:$1",downloadFirst:"请先缓存图书",welcome:"欢迎访问慕课网<br>学习《实战微信读书——媲美原生APP的企业级Web书城》<br>-------- 作者:Sam --------",find:"去找书",changeLanguage:"切换语言",studyNow:"去慕课网学习"},detail:{copyright:"版权",navigation:"目录",publisher:"出版社",category:"分类",ISBN:"ISBN",trial:"试读",lang:"语言",loading:"加载中...",read:"阅读",listen:"听书",addOrRemoveShelf:"加入书架",isAddedToShelf:"已加入书架"},speak:{voice:"语音朗读",read:"查看原文",settings:"设置",timing:"定时",current:"当前章节",requestFailed:"请求失败!",apply:"语义解析核心技术由科大讯飞提供"},book:{pulldownAddMark:"下拉添加书签",releaseAddMark:"松手添加书签",pulldownDeleteMark:"下拉删除书签",releaseDeleteMark:"松手删除书签",selectFont:"选择字体",haveRead:"已读$1分钟",themeDefault:"默认",themeGold:"雅致",themeEye:"护眼",themeNight:"夜间",loading:"加载中...",navigation:"目录",bookmark:"书签",searchHint:"搜索全书内容",haveRead2:"已读",minutes:"分钟",cancel:"取消"}},w=_,P=n("e8ec");o["a"].use(T["a"]);var B={en:A,cn:w},N=Object(P["g"])();N||(N="cn",Object(P["p"])(N));var O=new T["a"]({locale:N,messages:B}),I=O,F=n("caf9");o["a"].use(F["a"],{error:n("e1a5"),loading:n("e1a5")});n("c860"),n("3d0e");o["a"].config.productionTip=!1,window.onload=function(){new o["a"]({router:f,store:y,i18n:I,render:function(e){return e(l)}}).$mount("#app")}},c860:function(e,t,n){},e1a5:function(e,t,n){e.exports=n.p+"img/loading2.61a8d7f6.jpeg"},e8ec:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"v",(function(){return c})),n.d(t,"k",(function(){return u})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"o",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"p",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"q",(function(){return k})),n.d(t,"b",(function(){return b})),n.d(t,"l",(function(){return p})),n.d(t,"i",(function(){return g})),n.d(t,"t",(function(){return v})),n.d(t,"s",(function(){return S})),n.d(t,"r",(function(){return y})),n.d(t,"c",(function(){return T})),n.d(t,"m",(function(){return E})),n.d(t,"j",(function(){return A})),n.d(t,"u",(function(){return _})),n.d(t,"d",(function(){return w})),n.d(t,"n",(function(){return P}));var o=n("b738"),r=n.n(o),a=new r.a;function i(e){return a.get(e)}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2592e3;return a.set(e,t,{exp:n})}function u(e){return a.delete(e)}function s(){return a.clear()}function l(){return i("home")}function d(e){return c("home",e,1800)}function f(){return i("locale")}function h(e){return c("locale",e)}function m(e){return B(e,"location")}function k(e,t){N(e,"location",t)}function b(e){return B(e,"bookmark")}function p(e,t){N(e,"bookmark",t)}function g(e){return B(e,"time")}function v(e,t){N(e,"time",t)}function S(e,t){N(e,"progress",t)}function y(e,t){N(e,"metadata",t)}function T(e){return B(e,"fontFamily")}function E(e,t){N(e,"fontFamily",t)}function A(e){return B(e,"theme")}function _(e,t){N(e,"theme",t)}function w(e){return B(e,"fontSize")}function P(e,t){N(e,"fontSize",t)}function B(e,t){return i("".concat(e,"-info"))?i("".concat(e,"-info"))[t]:null}function N(e,t,n){var o={};i("".concat(e,"-info"))&&(o=i("".concat(e,"-info"))),o[t]=n,c("".concat(e,"-info"),o)}},fa7d:function(e,t,n){"use strict";function o(e){var t=37.5;return e/t}function r(e){var t=window.innerWidth>500?500:window.innerWidth;return e*(t/375)}function a(e){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(t)}function i(e){for(var t=document.getElementsByTagName("link"),n=t.length;n>=0;n--)t[n]&&null!=t[n].getAttribute("href")&&-1!==t[n].getAttribute("href").indexOf(e)&&t[n].parentNode.removeChild(t[n])}function c(){i("".concat("http://47.99.166.157/book/res","/theme/theme_default.css")),i("".concat("http://47.99.166.157/book/res","/theme/theme_eye.css")),i("".concat("http://47.99.166.157/book/res","/theme/theme_gold.css")),i("".concat("http://47.99.166.157/book/res","/theme/theme_night.css"))}function u(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,o=/(?:Android)/.test(e),r=/(?:Firefox)/.test(e),a=/(?:iPad|PlayBook)/.test(e)||o&&!/(?:Mobile)/.test(e)||r&&/(?:Tablet)/.test(e),i=/(?:iPhone)/.test(e)&&!a,c=!i&&!o&&!n;return{isTablet:a,isPhone:i,isAndroid:o,isPc:c}}n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return u}))},fb2f:function(e,t,n){}}); |