PageSourceSearch

https://www.lera.mobi/_cd/630614c.js

js lera.mobi collected 2026-10-05 08:03:09 UTC 24,123 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[0,8,11,12,13,14],{1e3:function(t,e,n){"use strict";n(925)},841:function(t,e,n){"use strict";n.r(e);var o=n(50),r=(n(47),n(12)),c=(n(70),n(25),n(170),n(17),n(31),n(52),n(203),n(169)),l={name:"cHeader",props:{showRightSearch:{type:Boolean,default:!0},searchKeyword:{type:String,default:""},pageType:{type:String,default:""}},data:function(){var t,e=this;return{langTxt:this.$store.state.langTxt||{},lang:this.$store.state.lang||"",logoImg:null!==(t=this.$store)&&void 0!==t&&null!==(t=t.state)&&void 0!==t&&t.lang?function(){try{return n(990)("./"+e.$store.state.lang+"/logo-PC-TOP.png")}catch(t){return n(924)}}():"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==",authorWelfareLang:["en","fr","pt","sp","ru","ja","jp","de","ko"],language:[],languageKey:"",showSearch:!1,isLogin:!1,clientReady:!1,classify:[],userInfo:{},coinIcon:n(909),closeIcon:n(860),listIcon:n(903),deleteIcon:n(904),isOpen:!1,onDocumentClick:null,categoryList:[],keyword:"",searchHistory:[],searchList:[],isSearchLoading:!1,oldScrollTop:0}},filters:{filterName:function(t,e){return e?t.replace(RegExp(e,"g"),'<span style="color:#ff3a2b">$&</span>'):t},languageFilter:function(t,e){var n="";return e.map((function(e){e.key===t&&(n=e.value)})),n}},mounted:function(){var t,e=this;this.searchKeyword&&(this.keyword=this.searchKeyword);var n=Cookies.get("accesstoken")||this.$lockr.get("accesstoken");this.lang=Cookies.get("lang")||this.$lockr.get("lang"),this.languageKey=(null==this||null===(t=this._i18n)||void 0===t||null===(t=t.localeProperties)||void 0===t?void 0:t.code)||"en",this.getLanguageConfig(),this.getCategoryList(),n&&(this.isLogin=!0,this.getUserMessage()),this.onDocumentClick=function(){e.isOpen=!1},document.addEventListener("click",this.onDocumentClick),this.clientReady=!0;var o=this,r=this.$lockr.get("isAdult")||!1;"jp"!==this.lang||r||this.$confirm({title:"あなたは18歳以上ですか?",zIndex:1e4,cancelText:"いいえ(18歳未満)",okText:"はい(18+)",onOk:function(){o.$lockr.set("isAdult",!0)},onCancel:function(){-1!=navigator.userAgent.indexOf("Firefox")||-1!=navigator.userAgent.indexOf("Chrome")?(window.location.href="about:blank",window.close()):(window.opener=null,window.open("","_self"),window.close())}})},beforeDestroy:function(){this.onDocumentClick&&(document.removeEventListener("click",this.onDocumentClick),this.onDocumentClick=null)},methods:{getLanguageConfig:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.o)(t,"MultiLangConfig","api/Home/GetMultiLangConfig");case 2:n=e.sent,t.language=n||[];case 4:case"end":return e.stop()}}),e)})))()},toLogin:function(){Cookies.set("path",this.$route.path||"/"),this.$router.push(this.localePath("/login/emailLogin"))},getCategoryList:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.o)(t,"CategoryList","api/Book/CategoryList");case 2:t.classify=e.sent;case 3:case"end":return e.stop()}}),e)})))()},toCenter:function(){this.$router.push(this.localePath("/myCenter"))},showSearchBox:function(){this.$refs.search.handleShow()},getUserMessage:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,data;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.get("api/UserV2/UserDetail").catch((function(){return{}}));case 2:n=e.sent,data=n.data,t.userInfo=data,t.$store.commit("setUserInfo",data||{}),t.$lockr.set("userInfo",t.userInfo);case 7:case"end":return e.stop()}}),e)})))()},loginOut:function(){Cookies.remove("accesstoken"),this.$lockr.rm("accesstoken"),this.$router.go(0)}}},h=(n(1e3),n(146)),component=Object(h.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"header",class:Object(o.a)({},t.lang,t.lang)},[e("div",{staticClass:"header-fixed"},[e("div",{staticClass:"header-container"},[e("nuxt-link",{attrs:{target:["/tl","/ko","/de","/vi","/tr","/ar"].includes(t.localePath("/"))?"_blank":"_self",to:t.localePath("/")}},[e("img",{staticClass:"logo",attrs:{alt:t.$store.state.appName,src:t.logoImg}})]),t._v(" "),e("HeaderMenu",{attrs:{classify:t.classify,pageType:t.pageType,"language-key":t.languageKey}}),t._v(" "),e("HeaderDownload"),t._v(" "),e("HeaderLang",{attrs:{"language-key":t.languageKey,language:t.language}}
1),t._v(" "),e("HeaderSearch",{ref:"search",attrs:{"search-keyword":t.searchKeyword,"show-right-search":t.showRightSearch,"is-login":t.isLogin}}),t._v(" "),t.clientReady&&t.isLogin?[t.userInfo.userHeadImg?e("img",{staticClass:"head-img",attrs:{alt:"img",src:t.userInfo.userHeadImg},on:{click:function(e){e.stopPropagation(),t.isOpen=!t.isOpen}}}):t._e(),t._v(" "),t.isOpen?e("div",{staticClass:"popup-box"},[e("div",{staticClass:"user-box pointer flex-ac",on:{click:t.toCenter}},[e("img",{staticClass:"img",attrs:{alt:"img",src:t.userInfo.userHeadImg}}),t._v(" "),e("span",{staticClass:"name"},[t._v(t._s(t.userInfo.nickName))])]),t._v(" "),e("div",{staticClass:"p-item"},[e("img",{staticClass:"coinIcon",attrs:{alt:"img",src:t.coinIcon}}),t._v(" "),e("span",{staticClass:"money"},[t._v(t._s(t.userInfo.money))])]),t._v(" "),e("div",{staticClass:"p-item wallet pointer",on:{click:t.toCenter}},[e("span",{staticClass:"icon"}),t._v(" "),e("span",[t._v(t._s(t.$t("wallet")))])]),t._v(" "),e("div",{staticClass:"p-item out pointer",on:{click:t.loginOut}},[e("span",{staticClass:"icon"}),t._v(" "),e("span",[t._v(t._s(t.$t("log_out")))])])]):t._e()]:e("i",{staticClass:"user-icon",on:{click:t.toLogin}})],2)])])}),[],!1,null,"71ecf650",null);e.default=component.exports;installComponents(component,{HeaderMenu:n(984).default,HeaderDownload:n(985).default,HeaderLang:n(986).default,HeaderSearch:n(987).default})},842:function(t,e,n){"use strict";n.r(e);var o=n(12),r=(n(70),n(266)),c=null,l={props:{},data:function(){return{}},mounted:function(){c=null,this.start()},methods:{start:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,c){e.next=15;break}return e.prev=2,n=new r.Parser,e.next=6,n.load("/images/loading.svga");case 6:return o=e.sent,c=new r.Player(document.getElementById("loading-canvas")),e.next=10,c.mount(o);case 10:c.start(),e.next=15;break;case 13:e.prev=13,e.t0=e.catch(2);case 15:case"end":return e.stop()}}),e,null,[[2,13]])})))()},finish:function(){this.loading=!1}}},h=(n(861),n(146)),component=Object(h.a)(l,(function(){this._self._c;return this._m(0)}),[function(){var t=this._self._c;return t("div",[t("canvas",{attrs:{id:"loading-canvas"}})])}],!1,null,"5d15d2f7",null);e.default=component.exports},847:function(t,e,n){t.exports={}},860:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAA3klEQVQokYWSMW7DMAxFn5WhzQGSMxTI4qEX0FjPvY498Dr13I4aunroUqBnaPa4WeyAAQ0YCaVyEQTyfZL6qtq2/QQegUZEjvwTXdftgHfgLwBb4BlIlsiG5ZPVbxVugG/gUBJYgQerfwki8gvEkoADRl1RO2O7ugI5UHPVPM+lDq9A74F3sCNwBh480IVN4An4MlAFahH5ua0LmVftV6CevedCcMD1znXJhVAAo42atfEKl+wo2biZpmmfA5eIMZ5SSm/2G7Wu0bt21k+eBZdwJvhQeASGEugIDMB4AUQijdqkkAgPAAAAAElFTkSuQmCC"},861:function(t,e,n){"use strict";n(847)},869:function(t,e,n){t.exports={}},870:function(t,e,n){t.exports={}},871:function(t,e,n){t.exports={}},872:function(t,e,n){t.exports={}},903:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAARCAYAAAACCvahAAAAsUlEQVQ4jc3SMWoCQRSH8d/Kdl4itVVgIaSxS6EggpfwDHqtVCkCLmwTUnkED2ElYmRghGXZxRds/OA1M/PNvP9jiqqq4AUfGLnPBd84lJjgF+OAeOOI9yQvsrjPl9zjFW9Yla1Wv7ANyJssjyMZB+mTG/y1qvmP3KUY2ih71qaPtB0mknkwd/Tl3tzPlTlMu+30Z9cBM33NxCnJP3mis1wR0vldkmvMsRwYYJczPlFfAcAfHq9TjJgsAAAAAElFTkSuQmCC"},904:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAA30lEQVQokc3SvUpDQRCG4SdBO8sQECPYxsoqEBBEjFh4DTbGn9oil2DjBQS8AhsrK8XG2xAEQTCCoKBYpBAiI3tgPXCKWOVrdna/fWeWnalNOm1JdQyxj3l/9Y2L5EVsLrN7OMYtHkvgEvZwhcsC7KKF7XTpBk8lsIFd7KCGl3jqCIum01dU3MTylOAowHs84A6nuE7mAO30IaENnKV1XE+HC1jHWpY14q1sv4oOmlIL/qXZAt/xXGXmkxOK5hY6KfmFN8nBD7ziECsVRaINnzE15Yp9nOOoAnzDwe+Q4wfEziV95zR0pQAAAABJRU5ErkJggg=="},909:function(t,e,n){t.exports=n.p+"img/coin.f3460b1.png"},910:function(t,e,n){"use strict";n(869)},911:function(t,e,n){"use strict";n(870)},912:function(t,e,n){"use strict";n(871)},913:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACnElEQVRYhe2Wa4hNURTHf4Mhk2ZMRMTkMUU+KI+SPCIlMYXyKIVPbiaUKWkojyg+oFE06SoRvkxSfBFpFIoobyXJY6YZSeQ1YcTVrv/V6s4+c86+937Cv05n7X3W2vt/1tp7rcU/jxLrgFQqFeKPUqAf8BH4FWKYTqf/yD0C7MqBNcB5oB3oBN4DP4DnwGlgCdA7hEyvBDpuwU16Kj3f3U+M1LMCaAG2ASeBTKEERgBngQk580+Bl8AHhWE8MEzfqoATwGJgFfA5XwLVwFVgi
1MZfgUbgEPDKo+9I1APL5ZVFwBVgjs6JF1FnoAK4YDa/C4xTGHybOzxQCKYanUlAE9AzlMBBecChGZghlyfBLZF4Jt25wIYQAi7eqyW3AkuBjoSbZ/FaIfim8U6gf1IC601+2Kyrlg8eAw2ycyFdmYSAG9dIfqH4FYIG5QmHhUkITAYGST4XmuE8eAtc1/RMoCyOwBgjPyxw8ywe6e1S96g4AuVGbi8SgTdG7nIQcwn8NHJpkQhEre8l0GbkLu7KE9XGrC13iVwC9408rwiblygRObxTXumWQIvur8NsYHCBBGYBQyVf8lVHXyI6rncfYHsBm7u/32XGx3xKPgJHzMmtBRbkSWArMF3yDeByUgJflI4z+osmkx2TYh2wW7quc1obZRdVDc8AeySXKSvujSooBlVqzQ6betIhEkEEUFvVaPTqVWLd3Hx1S5XKnsuAU8AT9QSYA+d0rgETfZt01xFl5Mp7wH5lyQE6F7UxnmhVA+uu8kZgoPqKGlMbYj2QxVFgrJqUuNLsrvEWdU8XgTpzEyo0N9oaJOmKUYNRpzBMA6YAw9VqdSo0N4Hbngq6A/gE7AP6ikgwgSy+y5XNgXYHRNDhTqDtf/zNAH4D/pt/I2gJRlUAAAAASUVORK5CYII="},914:function(t,e,n){"use strict";n(872)},924:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.7973067.png"},925:function(t,e,n){t.exports={}},984:function(t,e,n){"use strict";n.r(e);n(47),n(54);var o=n(12),r=(n(70),n(28),n(169)),c={en:"Modern",sp:"Moderno",pt:"Moderno",fr:"Moderne",ru:"Современное",th:"สมัยใหม่",jp:"都市",id:"Modern",tl:"Makabago",ko:"현대",vi:"Đô-Thị-Đương-Đại",de:"Modern",ft:"總裁豪門",tr:"Çağdaş",ar:"الرومانسية-الحديثة",it:"Urbano"},l={name:"HeaderMenu",props:{classify:Array,pageType:String,languageKey:String},data:function(){return{authorWelfareLang:["en","fr","pt","sp","ru","ja","jp","de","ko"]}},computed:{langTxt:function(){return this.$store.state.langTxt||{}},lang:function(){return this.$store.state.lang}},mounted:function(){},methods:{toClassify:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="/Books/".concat(Object(r.y)(2===e?Object(r.y)(this.langTxt.NvPin):Object(r.y)(this.langTxt.NanPin)));if(t)n="".concat(n,"/").concat(Object(r.y)(t));else{var o,l=(null==this||null===(o=this._i18n)||void 0===o||null===(o=o.localeProperties)||void 0===o?void 0:o.code)||this.lang;n="".concat(n,"/").concat(c[l])}return n},toRank:function(t){return"/ranking/".concat(Object(r.y)(t))},toCreate:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(r.o)(t,"urlConfig","api/Home/GetConfig",{});case 2:n=e.sent,window.open(n.CreateUrl);case 4:case"end":return e.stop()}}),e)})))()}}},h=l,d=(n(910),n(146)),component=Object(d.a)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"menu"},[e("nuxt-link",{staticClass:"item pointer",class:{active:"home"===t.pageType},attrs:{target:["/tl","/ko","/de"].includes(t.localePath("/"))?"_blank":"_self",to:t.localePath("/")}},[e("span",[t._v(t._s(t.$t("home")))])]),t._v(" "),e("a-dropdown",[e("nuxt-link",{staticClass:"item pointer",class:{active:"genre"===t.pageType},attrs:{target:"_blank",to:t.localePath(t.toClassify())}},[e("span",[t._v(t._s(t.$t("genre1")))])]),t._v(" "),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},t._l(t.classify,(function(n,o){return o<10?e("a-menu-item",{key:o,staticClass:"menu-item"},[e("nuxt-link",{attrs:{target:"_blank",to:t.localePath(t.toClassify(n.cName,n.sex))}},[t._v(t._s(n.cName))])],1):t._e()})),1)],1),t._v(" "),e("a-dropdown",[e("nuxt-link",{staticClass:"item pointer",class:{active:"ranking"===t.pageType},attrs:{target:"_blank",to:t.localePath(t.toRank(t.$t("most_sold")))}},[e("i",{staticClass:"icon"}),t._v(" "),e("span",[t._v(t._s(t.$t("charts")))])]),t._v(" "),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{target:"_blank",to:t.localePath(t.toRank(t.$t("most_sold")))}},[t._v(t._s(t.$t("most_sold")))])],1),t._v(" "),e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{target:"_blank",to:t.localePath(t.toRank(t.$t("most_read")))}},[t._v(t._s(t.$t("most_read")))])],1),t._v(" "),e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{target:"_blank",to:t.localePath(t.toRank(t.$t("most_tipped")))}},[t._v(t._s(t.$t("most_tipped")))])],1)],1)],1),t._v(" "),t.$store.state.showShortStoryMenu?e("nuxt-link",{staticClass:"item pointer",class:{active:"shortStory"===t.pageType},attrs:{target:"_blank",to:t.localePath("/best-short-stories")}},[e("span",[t._v(t._s(t.$t("shortstorytitle")))])]):e("nuxt-link",{staticClass:"item pointer",class:{active:"free"===t.pageType},attrs:{target:"_blank",to:t.localePath("/Free")}},[e("span",[t._v(t._s(t.$t("free_title")))])]),t._v(" "),t.lang&&"ft"!==t.lang?e("div",{staticClass:"item pointer",on:{click:t.toCreate}},[e("span",[t._v(t._s(t.$t("create")))])]):t._e(),t._v(" "),t.authorWelfareLang.includes(t.languageKey)?e("a-dropdown",[e("div",{staticClass:"item pointer"},[e("span",[t._v(t._s(t.$t("for_authors")))]),t._v(" "),e("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:t.localePath("authorWelfare")}}
1,[t._v(t._s(t.$t("authorWelfare")))])],1),t._v(" "),"fr"===t.lang?e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:t.localePath("/activity/essayCompetition")}},[t._v("\n          Premier concours d'écriture Kifflire\n        ")])],1):t._e(),t._v(" "),"sp"===t.lang?e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:"/contests/sp"}},[t._v("Los Ganadores del 1er Concurso de Manobook")])],1):t._e(),t._v(" "),"pt"===t.lang?e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:"/contests/pt"}},[t._v("Vencedores do 1º Concurso de Escrita da Lera")])],1):t._e()],1)],1):t._e(),t._v(" "),t.lang&&"en"===t.lang&&"en"===t.languageKey?e("a-dropdown",[e("div",{staticClass:"item pointer"},[e("span",[t._v(t._s(t.$t("Contest")))]),t._v(" "),e("i",{staticClass:"el-icon-caret-bottom"}),t._v(" "),e("span",{staticClass:"mark"},[t._v("4th Contest Ongoing🔥")])]),t._v(" "),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:"/contests/The-4th-MoboReader-Writing-Contest"}},[t._v("🔥The 4th MoboReader Writing Contest")])],1),t._v(" "),e("a-menu-item",{staticClass:"menu-item"},[e("nuxt-link",{attrs:{to:"/contests/The-3rd-MoboReader-Writing-Contest"}},[t._v("\n          The 3rd Contest Winners!\n        ")])],1)],1)],1):t._e(),t._v(" "),t.lang&&"ft"===t.lang?e("nuxt-link",{staticClass:"item pointer",class:{active:"WritingContest"===t.pageType}
1,attrs:{to:"/contests/cdreader-Writing-Contest"}},[e("span",[t._v("🔥第二屆海外徵文活動")])]):t._e()],1)}),[],!1,null,"72bd5012",null);e.default=component.exports},985:function(t,e,n){"use strict";n.r(e);var o=n(12),r=(n(70),n(169)),c={name:"HeaderDownload",methods:{toDownload:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(r.o)(t,"urlConfig","api/Home/GetConfig");case 2:n=e.sent,o="",o=Object(r.t)()?n.IOSDownUrl:n.AndDownUrl,window.open(o);case 6:case"end":return e.stop()}}),e)})))()}}},l=(n(911),n(146)),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"download",on:{click:t.toDownload}},[t._v("\n  "+t._s(t.$t("get_APP"))+"\n  "),e("span",{staticClass:"hot",attrs:{"data-text":t.$t("hot")}},[t._v(t._s(t.$t("hot")))])])}),[],!1,null,"364d685c",null);e.default=component.exports},986:function(t,e,n){"use strict";n.r(e);n(25);var o={name:"HeaderLang",props:{language:Array,languageKey:String},filters:{languageFilter:function(t,e){var n="";return e.map((function(e){e.key===t&&(n=e.value)})),n}}},r=(n(912),n(146)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return t.language.length>0?e("a-dropdown",[e("div",{staticClass:"item language flex-ac pointer iconHover"},[e("span",[t._v(t._s(t._f("languageFilter")(t.languageKey,t.language)))]),t._v(" "),e("i",{staticClass:"icon"})]),t._v(" "),e("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},t._l(t.language,(function(n,o){return e("a-menu-item",{key:o,staticClass:"menu-item",class:{"menu-item-active":n.key===t.languageKey}},[e("nuxt-link",{attrs:{to:t.switchLocalePath(n.key)}},[t._v(t._s(n.value))])],1)})),1)],1):t._e()}),[],!1,null,"a40b0cf6",null);e.default=component.exports},987:function(t,e,n){"use strict";n.r(e);n(14);var o=n(12),r=(n(70),n(28),n(25),n(98),n(170),n(17),n(31),n(52),n(169)),c={name:"HeaderSearch",props:{searchKeyword:{type:String,default:""},showRightSearch:{type:Boolean,default:!0},isLogin:Boolean},data:function(){return{show:!1,keyword:"",searchIcon:n(913),closeIcon:n(860),listIcon:n(903),deleteIcon:n(904),searchList:[],categoryList:[],searchHistory:[],isSearchLoading:!1}},mounted:function(){this.getCategoryList(),this.getHistoryStorage()},methods:{handleShow:function(){this.show=!0,this.hoverInput()},hoverInput:function(){var t=this;this.$nextTick((function(){t.$refs.searchInput.focus()}))},searchResult:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,data,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.keyword){e.next=2;break}return e.abrupt("return");case 2:return t.searchList=[],t.isSearchLoading=!0,e.next=6,t.$axios.post("api/Book/SearchBookV2",{bookName:t.keyword,pageSize:8,pageIndex:1});case 6:o=e.sent,data=o.data,r=data.module.bookList||[],t.isSearchLoading=!1,t.searchList=r,(null==data||null===(n=data.hotBooks)||void 0===n?void 0:n.length)>0&&(t.searchList=null==data?void 0:data.hotBooks.concat(r));case 12:case"end":return e.stop()}}),e)})))()},searchEnter:function(){this.setHistory(this.keyword),1===this.searchList.length?this.toBookDetail(this.searchList[0]):this.keyword.length>0&&this.toSearchHistory(this.keyword)},getCategoryList:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var data,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(r.o)(t,"RankListHeader","api/Home/RankList",{params:{RankType:2,tid:3,pageIndex:1,pageSize:3}});case 2:null!=(data=e.sent)&&data.formList&&(t.categoryList=(null===(n=data.formList[0])||void 0===n?void 0:n.dataItemList)||[]);case 4:case"end":return e.stop()}}),e)})))()},toBookDetail:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.bookId,n=t.cName||t.genre||"-",title=t.title||t.bookName||t.name||"-";try{n=Object(r.y)(n),title=Object(r.y)(title)}catch(t){n="-",title="-"}this.setHistory(title),window.open(this.localePath("/bookDetail/".concat(e,"/").concat(title)))},deleteHistory:function(){this.$lockr.rm("HistorySearch"),this.getHistoryStorage()},toSearchHistory:function(t){this.keyword=t,this.setHistory(t),window.open(this.localePath("/searchHistory?keyword="+t)),this.searchResult()},getHistoryStorage:function(){var t=this.$lockr.get("HistorySearch")||[];t.length>10&&(t.length=10),this.searchHistory=t},setHistory:function(t){var e=t||this.keyword;if(e){var n=this.$lockr.get("HistorySearch")||[];n.map((function(t,o){t==e&&n.splice(o,1)})),n.unshift(e),this.$lockr.set("HistorySearch",n),this.getHistoryStorage()}}},filters:{filterName:function(t,e){return e?null==t?void 0:t.replace(RegExp(e,"g"),'<span style="color:#ff3a2b">$&</span>'):t}}},l=c,h=(n(914),n(146)),component=Object(h.a)(l,(function(){var t=this,e=t._self._c;return e("div",[t.showRightSearch?e("div",{staticClass:"search",on:{click:t.handleShow}}):t._e(),t._v(" "),t.show?e("div",{staticClass:"showSearch-box",on:{click:function(e){t.show=!1}}},[e("div",{staticClass:"top-box",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"input-box flex-ac"},[e("img",{staticClass:"searchIcon",attrs:{alt:"img",src:t.searchIcon}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],ref:"searchInput",staticClass:"input",attrs:{type:"text",placeholder:t.$t("search")},domProps:{value:t.keyword},on:{focus:t.hoverInput,input:[function(e){e.target.composing||(t.keyword=e.target.value)},t.searchResult],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchEnter.apply(null,arguments)}}}),t._v(" "),e("img",{staticClass:"closeIcon",attrs:{alt:"img",src:t.closeIcon},on:{click:function(e){t.show=!1}}})])]),t._v(" "),t.keyword.length<1?e("div",{staticClass:"search-list",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"s-title"},[t._v(t._s(t.$t("trending")))]),t._v(" "),t._l(t.categoryList,(function(n,o){return e("div",{key:o,staticClass:"s-item flex-ac",on:{click:function(e){return t.toBookDetail(n)}}},[e("img",{staticClass:"search-hot-img",attrs:{alt:"img",src:t.listIcon}}),t._v(" "),e("span",{staticClass:"hot-name ellipsis"},[t._v(t._s(n.title))])])})),t._v(" "),t.searchHistory.length>0&&t.isLogin?e("div",{staticClass:"s-title flex-ac-js"},[e("span",[t._v(t._s(t.$t("search_history")))]),t._v(" "),e("img",{staticClass:"deleteIcon",attrs:{alt:"img",src:t.deleteIcon},on:{click:t.deleteHistory}})]):t._e(),t._v(" "),t.searchHistory.length>0&&t.isLogin?e("div",{staticClass:"search-tag"},t._l(t.searchHistory,(function(n,o){return e("div",{key:o,staticClass:"search-tag-item",on:{click:function(e){return t.toSearchHistory(n)}}},[t._v("\n          "+t._s(n)+"\n        ")])})),0):t._e()],2):e("div",{staticClass:"search-list",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"s-title"},[t._v(t._s(t.$t("related_searches")))]),t._v(" "),t.isSearchLoading?e("div",{staticClass:"flex-ac-jc",staticStyle:{height:"100px"}},[e("client-only",[e("c-loading")],1)],1):t._e(),t._v(" "),t._l(t.searchList,(function(n,o){return e("div",{key:o,staticClass:"s-item flex-ac",on:{click:function(e){return t.toBookDetail(n)}}},[e("img",{staticClass:"search-hot-img",attrs:{alt:"img",src:t.listIcon}}),t._v(" "),e("span",{staticClass:"hot-name ellipsis",domProps:{innerHTML:t._s(t.$options.filters.filterName(n.name||n.bookName,t.keyword))}})])}))],2)]):t._e()])}),[],!1,null,"3d28d468",null);e.default=component.exports;installComponents(component,{CLoading:n(842).default})},990:function(t,e,n){var map={"./en/logo-PC-TOP.png":924,"./fr/logo-PC-TOP.png":991,"./ft/logo-PC-TOP.png":992,"./id/logo-PC-TOP.png":993,"./jp-留存/logo-PC-TOP.png":994,"./jp/logo-PC-TOP.png":995,"./pt/logo-PC-TOP.png":996,"./ru/logo-PC-TOP.png":997,"./sp/logo-PC-TOP.png":998,"./th/logo-PC-TOP.png":999};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}o.keys=function(){return Object.keys(map)},o.resolve=r,t.exports=o,o.id=990},991:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.8836e00.png"},992:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.9256cc7.png"},993:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.861a309.png"},994:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.b295de4.png"},995:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.b295de4.png"},996:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.454e17e.png"},997:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.3268cf6.png"},998:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.912217d.png"},999:function(t,e,n){t.exports=n.p+"img/logo-PC-TOP.1b6d474.png"}}]);

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.