total js fetched: 48

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
t e=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(o.progressive?l():_.value=i.value,e.disconnect())}))}));e.observe(c.value),d.value=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),cre

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
value),d.value=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$o,[o.isSecret?(openBlock(),createElementBlock("span",_hoisted_2$m)):createCommentVNode("",!0),o.isUpdat

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$o,[o.isSecret?(openBlock(),createElementBlock("span",_hoisted_2$m)):createCommentVNode("",!0),o.isUpdated?(openBlock(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
const t=Object.assign(defaultUrlOptions,e),o=t.protocol,r=t.host,n=t.path,a=t.query,i=t.hash,c=new URL(`${o}://${r}`);c.pathname=n;for(const _ in a)c.searchParams.set(_,a[_].toString());return i&&(c.hash=i),c.toString()}function generateReaderUrl(e){const t=e.bookId,o=e.chapterUid,r=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+r,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorU

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
 i&&(c.hash=i),c.toString()}function generateReaderUrl(e){const t=e.bookId,o=e.chapterUid,r=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+r,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
rateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=En

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
 generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateRe

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl:generateReaderUrl,generateAuthorUrl:generateAuthorUrl,generateCategoryUrl:generateCategoryUrl,parseReaderInfoId:parseReaderI

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
Id(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl:generateReaderUrl,generateAuthorUrl:generateAuthorUrl,generateCategoryUrl:generateCategoryUrl,parseReaderInfoId:parseReaderInfoId,generateMpReaderUrl:generateMpReaderUrl},_hoisted_1$e={key:0,class:"wr_index_page_mini_bookInfo skeleton"},

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
:{type:Boolean,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,r=t,n=computed((()=>o.redirect?()=>{}:e=>{e.stopPropagation(),e.preventDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,r=t,n=computed((()=>o.redirect?()=>{}:e=>{e.stopPropagation(),e.preventDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookI

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
tDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.gen

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
til.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
thorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
.recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(e.$slots,"ti

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(e.$slots,"title",{},(()=>[

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
t.wrbus.pb.WrWebSearchAction.wr_web_search_action_exposure_item,type:A.get(e),indexOfCard:o,hints:t.hints,sid:p.value,absoluteIndex:h(e,o),itemtype:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchItemtype.wr_web_search_itemtype_book,itemid:t.bookInfo.bookId});c.send("wr_web_search_action_report",r)}function f(e,t,o,r){const n=createWrWebSearchActionReport({query:s.value,scene:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchScene.wr_web_search_scene_search_result_tab,module:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchModule.wr_web_search_module

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
cent.wrbus.pb.WrWebSearchAction.wr_web_search_action_click_item,indexOfCard:o,hints:t.hints,sid:p.value,absoluteIndex:h(e,o),type:A.get(e),itemtype:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchItemtype.wr_web_search_itemtype_book,itemid:t.bookInfo.bookId});c.send("wr_web_search_action_report",n,!0),window.location.href=r}function C(){_.value=!1}return(e,t)=>{const o=__nuxt_component_1$1,n=__nuxt_component_2$2,a=_sfc_main$e,d=_sfc_main$t,g=__nuxt_component_5$1,w=__nuxt_component_6;return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
tal>0&&!unref(i)?(openBlock(),createBlock(o,{key:"book",title:"电子书"},{content:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).bookSearchSectionBooks,((e,t)=>withDirectives((openBlock(),createElementBlock("div",{key:e.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(a,{book:e.bookInfo,"show-reading-count":!0,"reading-count":e.readingCount,redirect:!1,onToBook:o=>f(2,e,t,o.urlToJump)},{title:withCtx((()=>[createVNode(n,{text:e.bookInfo.title,highlight:unref(l)},null,8,["text","highlight"])])),author:withCtx((()=>[crea

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
>0&&!unref(i)?(openBlock(),createBlock(o,{key:"novel",title:"网络小说"},{content:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).novelSearchSectionBooks,((e,t)=>withDirectives((openBlock(),createElementBlock("div",{key:e.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(a,{book:e.bookInfo,"show-reading-count":!0,"reading-count":e.readingCount,redirect:!1,onToBook:o=>f(4,e,t,o.urlToJump)},{title:withCtx((()=>[createVNode(n,{text:e.bookInfo.title,highlight:unref(l)},null,8,["text","highlight"])])),author:withCtx((()=>[crea

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
isplayString(unref(r).bookTextSearchSectionCount.total),1)])])])),content:withCtx((()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).bookTextSearchSectionBooks,((e,t)=>withDirectives((openBlock(),createElementBlock("div",{key:e.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(a,{book:e.bookInfo,"show-reading-count":!0,"reading-count":e.readingCount,redirect:!1,onToBook:o=>f(6,e,t,o.urlToJump)},{title:withCtx((()=>[createVNode(n,{text:e.bookInfo.title,highlight:unref(l)},null,8,["text","highlight"])])),author:withCtx((()=>[crea

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
loading:!1,onFocus:w,onDoSearch:S})]),unref(k)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_6$6,[_hoisted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(r.topSearchTags,(t=>(openBlock(),createBlock(s,{key:t.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in e?e.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:t.bookInfo.bookId}),target:"_self"},{default:withCtx((()=>{return[createTextVNode(toDisplayString((e=t.bookInfo.title,e.replace(/【.*?】/g,"").replace(/（.*?）/g,"").replace(/\(.*?\)/g,""))),1)];var e})),_

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
hoisted_6$6,[_hoisted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(r.topSearchTags,(t=>(openBlock(),createBlock(s,{key:t.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in e?e.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:t.bookInfo.bookId}),target:"_self"},{default:withCtx((()=>{return[createTextVNode(toDisplayString((e=t.bookInfo.title,e.replace(/【.*?】/g,"").replace(/（.*?）/g,"").replace(/\(.*?\)/g,""))),1)];var e})),_:2},1032,["href"])))),128))])),createVNode(Transition,{name:"fade"},{default:withCtx((()=>[unref(p)?(openBlock()

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(r.topSearchTags,(t=>(openBlock(),createBlock(s,{key:t.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in e?e.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:t.bookInfo.bookId}),target:"_self"},{default:withCtx((()=>{return[createTextVNode(toDisplayString((e=t.bookInfo.title,e.replace(/【.*?】/g,"").replace(/（.*?）/g,"").replace(/\(.*?\)/g,""))),1)];var e})),_:2},1032,["href"])))),128))])),createVNode(Transition,{name:"fade"},{default:withCtx((()=>[unref(p)?(openBlock(),createBlock(l,{ke

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
=useWrFetch("/api/storyfeed/getRecentBooks",{method:"GET",query:{count:o.count}}),n=r.data,a=(r.error,r.status),i=computed((()=>"pending"===a.value)),c=computed((()=>{var e;return(null===(e=n.value)||void 0===e?void 0:e.items)||[]}));function _(e){return e&&e.bookId?e.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:e.bookId}):UrlUtil.generateReaderUrl({bookId:e.bookId}):""}const d=useProtobufPipeline();return(e,r)=>{const n=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(i)?(openBlock(),createElementBlock(Fragment,{key:0},renderLi

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ount:o.count}}),n=r.data,a=(r.error,r.status),i=computed((()=>"pending"===a.value)),c=computed((()=>{var e;return(null===(e=n.value)||void 0===e?void 0:e.items)||[]}));function _(e){return e&&e.bookId?e.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:e.bookId}):UrlUtil.generateReaderUrl({bookId:e.bookId}):""}const d=useProtobufPipeline();return(e,r)=>{const n=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(i)?(openBlock(),createElementBlock(Fragment,{key:0},renderList(4,(e=>createBaseVNode("div",{key:e,class:"wr_index_mini_shelf_c

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
unt}}),n=r.data,a=(r.error,r.status),i=computed((()=>"pending"===a.value)),c=computed((()=>{var e;return(null===(e=n.value)||void 0===e?void 0:e.items)||[]}));function _(e){return e&&e.bookId?e.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:e.bookId}):UrlUtil.generateReaderUrl({bookId:e.bookId}):""}const d=useProtobufPipeline();return(e,r)=>{const n=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(i)?(openBlock(),createElementBlock(Fragment,{key:0},renderList(4,(e=>createBaseVNode("div",{key:e,class:"wr_index_mini_shelf_card"},_ho

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
,i=computed((()=>"pending"===a.value)),c=computed((()=>{var e;return(null===(e=n.value)||void 0===e?void 0:e.items)||[]}));function _(e){return e&&e.bookId?e.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:e.bookId}):UrlUtil.generateReaderUrl({bookId:e.bookId}):""}const d=useProtobufPipeline();return(e,r)=>{const n=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(i)?(openBlock(),createElementBlock(Fragment,{key:0},renderList(4,(e=>createBaseVNode("div",{key:e,class:"wr_index_mini_shelf_card"},_hoisted_3$9))),64)):(openBlock(!0),cre

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ed((()=>"pending"===a.value)),c=computed((()=>{var e;return(null===(e=n.value)||void 0===e?void 0:e.items)||[]}));function _(e){return e&&e.bookId?e.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:e.bookId}):UrlUtil.generateReaderUrl({bookId:e.bookId}):""}const d=useProtobufPipeline();return(e,r)=>{const n=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(i)?(openBlock(),createElementBlock(Fragment,{key:0},renderList(4,(e=>createBaseVNode("div",{key:e,class:"wr_index_mini_shelf_card"},_hoisted_3$9))),64)):(openBlock(!0),createElemen

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ss:"wr_index_mini_shelf_card"},_hoisted_3$9))),64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(c).slice(0,o.count),((o,r)=>{var a;return withDirectives((openBlock(),createElementBlock("div",{key:(null===(a=o.book)||void 0===a?void 0:a.bookId)||"",class:"wr_index_mini_shelf_card"},[createBaseVNode("a",{href:_(o.book),target:"_self",onClick:n=>("preventDefault"in e?e.preventDefault:unref(preventDefault$1))(n,(()=>function(e,o,r){t.debug({book:e,index:o,urlToJump:r},"handleShelfBookClick");const n=createWrWebCommonRecommend({module:ProtoWrWebCommonReco

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_click,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:e.bookId,indexOfPage:o,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});d.send("wr_web_common_recommend",n,!0),window.location.href=r}(o.book,r,_(o.book))))},[createBaseVNode("div",_hoisted_5$7,[createVNode(n,{class:"wr_index_mini_shelf_card_cover",src:o.book.cover,"need-gradien

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
mmend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:e.bookId,indexOfPage:o,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});d.send("wr_web_common_recommend",r)}(o.book,r):"",void 0,{once:!0}]])})),128))])}}}),__nuxt_component_1=_export_sfc(_sfc_main$a,[["__scopeId","data-v-c9c52f24"]]),_hoisted_1$9={key:0,class:"wr_suggestion_car

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
title"},_hoisted_7$3={class:"wr_suggestion_card_content_reason"},_sfc_main$9=defineComponent({__name:"SuggestionCard",props:{book:{},pending:{type:Boolean}},emits:["click-card","click-author"],setup(e,{emit:t}){var o;const r=e,n=t,a=UrlUtil.generateReaderUrl({bookId:(null===(o=r.book)||void 0===o?void 0:o.bookId)||""}),i=computed((()=>{var e,t;return UrlUtil.generateAuthorUrl({authorName:(null===(e=r.book)||void 0===e?void 0:e.author)||"",bookId:(null===(t=r.book)||void 0===t?void 0:t.bookId)||""})}));function c(e){e.stopPropagation(),e.preventDefault(),n("click-card",a)}fu

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
_content_reason"},_sfc_main$9=defineComponent({__name:"SuggestionCard",props:{book:{},pending:{type:Boolean}},emits:["click-card","click-author"],setup(e,{emit:t}){var o;const r=e,n=t,a=UrlUtil.generateReaderUrl({bookId:(null===(o=r.book)||void 0===o?void 0:o.bookId)||""}),i=computed((()=>{var e,t;return UrlUtil.generateAuthorUrl({authorName:(null===(e=r.book)||void 0===e?void 0:e.author)||"",bookId:(null===(t=r.book)||void 0===t?void 0:t.bookId)||""})}));function c(e){e.stopPropagation(),e.preventDefault(),n("click-card",a)}function _(e){e.stopPropagation(),e.preventDefaul

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
-author"],setup(e,{emit:t}){var o;const r=e,n=t,a=UrlUtil.generateReaderUrl({bookId:(null===(o=r.book)||void 0===o?void 0:o.bookId)||""}),i=computed((()=>{var e,t;return UrlUtil.generateAuthorUrl({authorName:(null===(e=r.book)||void 0===e?void 0:e.author)||"",bookId:(null===(t=r.book)||void 0===t?void 0:t.bookId)||""})}));function c(e){e.stopPropagation(),e.preventDefault(),n("click-card",a)}function _(e){e.stopPropagation(),e.preventDefault(),n("click-author",i.value)}return(e,t)=>{const o=_sfc_main$o,n=__nuxt_component_0$2;return e.pending?(openBlock(),createElementBlock(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
,a=UrlUtil.generateReaderUrl({bookId:(null===(o=r.book)||void 0===o?void 0:o.bookId)||""}),i=computed((()=>{var e,t;return UrlUtil.generateAuthorUrl({authorName:(null===(e=r.book)||void 0===e?void 0:e.author)||"",bookId:(null===(t=r.book)||void 0===t?void 0:t.bookId)||""})}));function c(e){e.stopPropagation(),e.preventDefault(),n("click-card",a)}function _(e){e.stopPropagation(),e.preventDefault(),n("click-author",i.value)}return(e,t)=>{const o=_sfc_main$o,n=__nuxt_component_0$2;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$9,_hoisted_3$8)):(openBlock(),

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
_=createWrWebCommonRecommend({module:(null==c?void 0:c.module)||0,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_click,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:e.bookId,page:i.value,indexOfPage:t,hints:e.hints});n.send("wr_web_common_recommend",_,!0),window.location.href=r}return(e,t)=>{const a=__nuxt_component_0$2,d=__nuxt_component_1,l=__nuxt_component_2$1;return openBlock(),createElementBlock("div",_hoisted_1$7,[createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hois

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
ooksCount,(e=>createVNode(l,{key:e,pending:_.pending},null,8,["pending"]))),64))])):(openBlock(),createElementBlock("div",_hoisted_23,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(s),((e,t)=>withDirectives((openBlock(),createBlock(l,{key:e.bookId,book:e,onClickCard:o=>B(e,t,o),onClickAuthor:o=>B(e,t,o)},null,8,["book","onClickCard","onClickAuthor"])),[[unref(vExposure),()=>function(e,t){r.debug({book:e,index:t},"handleRecommendBooksExposure");const a=o.value.hasLogin?3:1,_=y.get(a),d=createWrWebCommonRecommend({vid:o.value.vid||c.value,module:(null==_?vo

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
({vid:o.value.vid||c.value,module:(null==_?void 0:_.module)||0,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:e.bookId,page:i.value,indexOfPage:t,hints:e.hints});n.send("wr_web_common_recommend",d)}(e,t),void 0,{once:!0}]]))),128))]))])])])}}}),_withScopeId$3=e=>(pushScopeId("data-v-6436bacb"),e=e(),popScopeId(),e),_hoisted_1$6={class:"wr_index_page_rank_list_wrapper"},_hoisted_2$6=_withScopeId$3((()=>createBaseVNode("div",{clas

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
2,[(openBlock(!0),createElementBlock(Fragment,null,renderList((d=a.CategoryId,((null===(s=o.rankLists.find((e=>e.CategoryId===d)))||void 0===s?void 0:s.lectureBooks)||[]).slice(0,6)),((e,o)=>withDirectives((openBlock(),createElementBlock("div",{key:e.bookInfo.bookId,class:"wr_index_page_rank_list_card_content_info"},[createVNode(i,{book:e.bookInfo,idx:o+1},null,8,["book","idx"])])),[[unref(vExposure),()=>function(e,o,r){const n=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_toplist,action:ProtoWrWebCommonRecom

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
dule.web_recom_module_toplist,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,aggtype:e,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,indexOfPage:r,itemid:o.bookInfo.bookId,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});t.send("wr_web_common_recommend",n)}(a.title,e,o),void 0,{once:!0}]]))),128))]),createBaseVNode("div",_hoisted_10$1,[createVNode(c,{href:("UrlUtil"in e?e.UrlUtil:unref(UrlUtil)).generateCategoryUrl({category:a.CategoryId}

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
)||""})),i=computed((()=>{var e;return(null===(e=o.value)||void 0===e?void 0:e.title)||""}));function c(){var e;null===(e=n.value)||void 0===e||e.close(),wrFetchClient("/api/user/dismissNotify")}function _(){c(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function d(){c()}return t({show:function({bookId:e,noteCount:t}){wrFetchClient("/api/book/info",{query:{bookId:e}}).then((e=>{var c;(o.value=e,r.value=t,a.value&&i.value)&&(wrFetchClient("/api/user/dismissNotify"),null===(c=n.value)||void 0===c||c.show())}))},close:c}),(e,

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
uted((()=>{var e;return(null===(e=o.value)||void 0===e?void 0:e.title)||""}));function c(){var e;null===(e=n.value)||void 0===e||e.close(),wrFetchClient("/api/user/dismissNotify")}function _(){c(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function d(){c()}return t({show:function({bookId:e,noteCount:t}){wrFetchClient("/api/book/info",{query:{bookId:e}}).then((e=>{var c;(o.value=e,r.value=t,a.value&&i.value)&&(wrFetchClient("/api/user/dismissNotify"),null===(c=n.value)||void 0===c||c.show())}))},close:c}),(e,t)=>{const o=_s

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
}));function c(){var e;null===(e=n.value)||void 0===e||e.close(),wrFetchClient("/api/user/dismissNotify")}function _(){c(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function d(){c()}return t({show:function({bookId:e,noteCount:t}){wrFetchClient("/api/book/info",{query:{bookId:e}}).then((e=>{var c;(o.value=e,r.value=t,a.value&&i.value)&&(wrFetchClient("/api/user/dismissNotify"),null===(c=n.value)||void 0===c||c.show())}))},close:c}),(e,t)=>{const o=_sfc_main$u,s=_sfc_main$o,l=__nuxt_component_2$4;return openBlock(),createBl

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
(),wrFetchClient("/api/user/dismissNotify")}function _(){c(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function d(){c()}return t({show:function({bookId:e,noteCount:t}){wrFetchClient("/api/book/info",{query:{bookId:e}}).then((e=>{var c;(o.value=e,r.value=t,a.value&&i.value)&&(wrFetchClient("/api/user/dismissNotify"),null===(c=n.value)||void 0===c||c.show())}))},close:c}),(e,t)=>{const o=_sfc_main$u,s=_sfc_main$o,l=__nuxt_component_2$4;return openBlock(),createBlock(l,{ref_key:"modal",ref:n},{default:withCtx((()=>[createBas

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
th(t)){const t=e.substring(19);if(t)return t}return""}function c(){return(c=_asyncToGenerator((function*(){return $fetch("/api/user/notify").then((e=>{const c=e.success,d=e.notify;if(c)if(d.action){if("exportNote"===d.action)return function(e){var t;const o=e.bookId,r=e.noteCount;null===(t=a.value)||void 0===t||t.show({bookId:Number(o),noteCount:Number(r)})}(d)}else if(d.url&&d.title){if("写长评"===d.title){r.value=!0;const e=i(d.url),t=function(e){const t=i(e);if(t){const e=UrlUtil.parseReaderInfoId(t);return(null==e?void 0:e.bookId)||""}return""}(d.url);e&&(d.url=`/web/reade

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
n c(){return(c=_asyncToGenerator((function*(){return $fetch("/api/user/notify").then((e=>{const c=e.success,d=e.notify;if(c)if(d.action){if("exportNote"===d.action)return function(e){var t;const o=e.bookId,r=e.noteCount;null===(t=a.value)||void 0===t||t.show({bookId:Number(o),noteCount:Number(r)})}(d)}else if(d.url&&d.title){if("写长评"===d.title){r.value=!0;const e=i(d.url),t=function(e){const t=i(e);if(t){const e=UrlUtil.parseReaderInfoId(t);return(null==e?void 0:e.bookId)||""}return""}(d.url);e&&(d.url=`/web/reader/${e}#richTextEditor`),t&&wrFetchClient("/api/book/info",{qu

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
.noteCount;null===(t=a.value)||void 0===t||t.show({bookId:Number(o),noteCount:Number(r)})}(d)}else if(d.url&&d.title){if("写长评"===d.title){r.value=!0;const e=i(d.url),t=function(e){const t=i(e);if(t){const e=UrlUtil.parseReaderInfoId(t);return(null==e?void 0:e.bookId)||""}return""}(d.url);e&&(d.url=`/web/reader/${e}#richTextEditor`),t&&wrFetchClient("/api/book/info",{query:{bookId:t}}).then((e=>{n.value=e})).catch((e=>{o.info("book/info fail",e)}))}d.subTitle=function(e){const t=e.match(/《(.*?)》/);return t?t[1]:e}(d.subTitle||""),t.value=d,r.value||setTimeout((()=>{_()}),1e4

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DK1lkih1-legacy.js
){if("写长评"===d.title){r.value=!0;const e=i(d.url),t=function(e){const t=i(e);if(t){const e=UrlUtil.parseReaderInfoId(t);return(null==e?void 0:e.bookId)||""}return""}(d.url);e&&(d.url=`/web/reader/${e}#richTextEditor`),t&&wrFetchClient("/api/book/info",{query:{bookId:t}}).then((e=>{n.value=e})).catch((e=>{o.info("book/info fail",e)}))}d.subTitle=function(e){const t=e.match(/《(.*?)》/);return t?t[1]:e}(d.subTitle||""),t.value=d,r.value||setTimeout((()=>{_()}),1e4)}}))}))).apply(this,arguments)}function _(){t.value.url&&$fetch("/api/user/dismissNotify"),t.value={}}return onMoun

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
.measureText(v[w]).width;if(g===A&&m+S+V>B){a=a+"...";break}else if(m+S>B){if($?x.fillText(a,N+(B-m)/2,C):x.fillText(a,N,C),g++,m=N+S,a=v[w],C+=Z,g>A)break}else a=a+v[w],m+=S}g<=A&&($?x.fillText(a,N+(B-m)/2,C):x.fillText(a,N,C))}function b(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))return wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then(x=>{f.value=x||{}}).catch(x=>{t.error("checkLoadMpCover fail",x)})}function I(){try{const x=f.value.title,E=f.value.name,N=document.createElement("c

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
=Z,g>A)break}else a=a+v[w],m+=S}g<=A&&($?x.fillText(a,N+(B-m)/2,C):x.fillText(a,N,C))}function b(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))return wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then(x=>{f.value=x||{}}).catch(x=>{t.error("checkLoadMpCover fail",x)})}function I(){try{const x=f.value.title,E=f.value.name,N=document.createElement("canvas");N.width=428,N.height=616;const H=N.getContext("2d");if(H){H.font="700 50px FZLTHProGBK-SB",H.fillStyle="#FFF",H.textBaseline="top";cons

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
lse a=a+v[w],m+=S}g<=A&&($?x.fillText(a,N+(B-m)/2,C):x.fillText(a,N,C))}function b(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))return wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then(x=>{f.value=x||{}}).catch(x=>{t.error("checkLoadMpCover fail",x)})}function I(){try{const x=f.value.title,E=f.value.name,N=document.createElement("canvas");N.width=428,N.height=616;const H=N.getContext("2d");if(H){H.font="700 50px FZLTHProGBK-SB",H.fillStyle="#FFF",H.textBaseline="top";const B=36,A=N.wid

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
 t=Object.assign(defaultUrlOptions,e),{protocol:o,host:n,path:c,query:i,hash:r}=t,s=new URL("".concat(o,"://").concat(n));s.pathname=c;for(const l in i)s.searchParams.set(l,i[l].toString());return r&&(s.hash=r),s.toString()}function generateReaderUrl(e){const{bookId:t,chapterUid:o}=e,n=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+n,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const{bookId:t}=e,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAut

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
eturn r&&(s.hash=r),s.toString()}function generateReaderUrl(e){const{bookId:t,chapterUid:o}=e,n=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+n,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const{bookId:t}=e,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
hash:e.hash})}function generateMpReaderUrl(e){const{bookId:t}=e,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ateMpReaderUrl(e){const{bookId:t}=e,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=En

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
 generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateRe

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl,generateAuthorUrl,generateCategoryUrl,parseReaderInfoId,generateMpReaderUrl},_hoisted_1$e={key:0,class:"wr_index_page_mini_b

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
Id(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl,generateAuthorUrl,generateCategoryUrl,parseReaderInfoId,generateMpReaderUrl},_hoisted_1$e={key:0,class:"wr_index_page_mini_bookInfo skeleton"},_hoisted_2$d=createBaseVNode("div",{class:"wr_index_page_mini_bookInfo_cover_wrapper"},[create

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
t:{type:Boolean,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,n=t,c=computed(()=>o.redirect?()=>{}:d=>{d.stopPropagation(),d.preventDefault(),n("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})}),i=computed(()=>o.redirect?f:d=>{d.stopPropagation(),d.preventDefault(),n("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
n,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,n=t,c=computed(()=>o.redirect?()=>{}:d=>{d.stopPropagation(),d.preventDefault(),n("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})}),i=computed(()=>o.redirect?f:d=>{d.stopPropagation(),d.preventDefault(),n("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new BookInfoHelpe

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
entDefault(),n("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})}),i=computed(()=>o.redirect?f:d=>{d.stopPropagation(),d.preventDefault(),n("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAu

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})}),i=computed(()=>o.redirect?f:d=>{d.stopPropagation(),d.preventDefault(),n("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({autho

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
mp:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(d,u)=>{const k=_sfc_main$o,p=_sfc_main$f;return d.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
erateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})}),r=computed(()=>o.idx!==""),s=computed(()=>new BookInfoHelper$1(o.book).recommendPercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(d,u)=>{const k=_sfc_main$o,p=_sfc_main$f;return d.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ok).recommendPercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(d,u)=>{const k=_sfc_main$o,p=_sfc_main$f;return d.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(d.$slots,"ti

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ercent),l=computed(()=>new BookInfoHelper$1(o.book).newRatingTitle),_=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function f(d){d.stopPropagation(),d.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(d,u)=>{const k=_sfc_main$o,p=_sfc_main$f;return d.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(d.$slots,"title",{},()=>[_

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
t.wrbus.pb.WrWebSearchAction.wr_web_search_action_exposure_item,type:x.get($),indexOfCard:a,hints:v.hints,sid:d.value,absoluteIndex:y($,a),itemtype:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchItemtype.wr_web_search_itemtype_book,itemid:v.bookInfo.bookId});s.send("wr_web_search_action_report",g)}function N($,v,a){const g=createWrWebSearchActionReport({query:_.value,scene:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchScene.wr_web_search_scene_search_result_tab,module:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchModule.wr_web_search_module_c

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
cent.wrbus.pb.WrWebSearchAction.wr_web_search_action_click_item,indexOfCard:a,hints:v.hints,sid:d.value,absoluteIndex:y($,a),type:x.get($),itemtype:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchItemtype.wr_web_search_itemtype_book,itemid:v.bookInfo.bookId});s.send("wr_web_search_action_report",m,!0),window.location.href=g}function B($,v,a){const g=createWrWebSearchActionReport({query:_.value,scene:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchScene.wr_web_search_scene_search_result_tab,module:ProtoWrWebSearchActionReport.tencent.wrbus.pb.WrWebSearchMod

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
total>0&&!unref(r)?(openBlock(),createBlock(g,{key:"book",title:"电子书"},{content:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).bookSearchSectionBooks,(M,W)=>withDirectives((openBlock(),createElementBlock("div",{key:M.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(C,{book:M.bookInfo,"show-reading-count":!0,"reading-count":M.readingCount,redirect:!1,onToBook:R=>H(2,M,W,R.urlToJump)},{title:withCtx(()=>[createVNode(m,{text:M.bookInfo.title,highlight:unref(f)},null,8,["text","highlight"])]),author:withCtx(()=>[createV

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
al>0&&!unref(r)?(openBlock(),createBlock(g,{key:"novel",title:"网络小说"},{content:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).novelSearchSectionBooks,(M,W)=>withDirectives((openBlock(),createElementBlock("div",{key:M.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(C,{book:M.bookInfo,"show-reading-count":!0,"reading-count":M.readingCount,redirect:!1,onToBook:R=>H(4,M,W,R.urlToJump)},{title:withCtx(()=>[createVNode(m,{text:M.bookInfo.title,highlight:unref(f)},null,8,["text","highlight"])]),author:withCtx(()=>[createV

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
toDisplayString(unref(n).bookTextSearchSectionCount.total),1)])])]),content:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(n).bookTextSearchSectionBooks,(M,W)=>withDirectives((openBlock(),createElementBlock("div",{key:M.bookInfo.bookId,class:"wr_search_content_card_content_item"},[createVNode(C,{book:M.bookInfo,"show-reading-count":!0,"reading-count":M.readingCount,redirect:!1,onToBook:R=>H(6,M,W,R.urlToJump)},{title:withCtx(()=>[createVNode(m,{text:M.bookInfo.title,highlight:unref(f)},null,8,["text","highlight"])]),author:withCtx(()=>[createV

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
{loading:!1,onFocus:H,onDoSearch:g})]),unref($)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_6$6,[_hoisted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(n.topSearchTags,T=>(openBlock(),createBlock(W,{key:T.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in C?C.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:T.bookInfo.bookId}),target:"_self"},{default:withCtx(()=>[createTextVNode(toDisplayString(m(T.bookInfo.title)),1)]),_:2},1032,["href"]))),128))])),createVNode(Transition,{name:"fade"},{default:withCtx(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
_hoisted_6$6,[_hoisted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(n.topSearchTags,T=>(openBlock(),createBlock(W,{key:T.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in C?C.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:T.bookInfo.bookId}),target:"_self"},{default:withCtx(()=>[createTextVNode(toDisplayString(m(T.bookInfo.title)),1)]),_:2},1032,["href"]))),128))])),createVNode(Transition,{name:"fade"},{default:withCtx(()=>[unref(u)?(openBlock(),createBlock(R,{key:0,ref_key:"searchContentRef",ref:x,onClose:a},null,512)):createCom

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
sted_7$5,(openBlock(!0),createElementBlock(Fragment,null,renderList(n.topSearchTags,T=>(openBlock(),createBlock(W,{key:T.bookInfo.bookId,class:"wr_index_page_header_search_tag",href:("UrlUtil"in C?C.UrlUtil:unref(UrlUtil)).generateReaderUrl({bookId:T.bookInfo.bookId}),target:"_self"},{default:withCtx(()=>[createTextVNode(toDisplayString(m(T.bookInfo.title)),1)]),_:2},1032,["href"]))),128))])),createVNode(Transition,{name:"fade"},{default:withCtx(()=>[unref(u)?(openBlock(),createBlock(R,{key:0,ref_key:"searchContentRef",ref:x,onClose:a},null,512)):createCommentVNode("",!0)])

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ger("MiniShelf"),o=e,{data:n,error:c,status:i}=useWrFetch("/api/storyfeed/getRecentBooks",{method:"GET",query:{count:o.count}}),r=computed(()=>i.value==="pending"),s=computed(()=>{var u;return((u=n.value)==null?void 0:u.items)||[]});function l(u){return!u||!u.bookId?"":u.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:u.bookId}):UrlUtil.generateReaderUrl({bookId:u.bookId})}const _=useProtobufPipeline();function f(u,k){t.debug({book:u,index:k},"handleShelfBookExposure");const p=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWe

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
feed/getRecentBooks",{method:"GET",query:{count:o.count}}),r=computed(()=>i.value==="pending"),s=computed(()=>{var u;return((u=n.value)==null?void 0:u.items)||[]});function l(u){return!u||!u.bookId?"":u.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:u.bookId}):UrlUtil.generateReaderUrl({bookId:u.bookId})}const _=useProtobufPipeline();function f(u,k){t.debug({book:u,index:k},"handleShelfBookExposure");const p=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ecentBooks",{method:"GET",query:{count:o.count}}),r=computed(()=>i.value==="pending"),s=computed(()=>{var u;return((u=n.value)==null?void 0:u.items)||[]});function l(u){return!u||!u.bookId?"":u.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:u.bookId}):UrlUtil.generateReaderUrl({bookId:u.bookId})}const _=useProtobufPipeline();function f(u,k){t.debug({book:u,index:k},"handleShelfBookExposure");const p=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.w

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
nt:o.count}}),r=computed(()=>i.value==="pending"),s=computed(()=>{var u;return((u=n.value)==null?void 0:u.items)||[]});function l(u){return!u||!u.bookId?"":u.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:u.bookId}):UrlUtil.generateReaderUrl({bookId:u.bookId})}const _=useProtobufPipeline();function f(u,k){t.debug({book:u,index:k},"handleShelfBookExposure");const p=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_a

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
t}}),r=computed(()=>i.value==="pending"),s=computed(()=>{var u;return((u=n.value)==null?void 0:u.items)||[]});function l(u){return!u||!u.bookId?"":u.type===BOOK_TYPE_MP_ARTICLE?UrlUtil.generateMpReaderUrl({bookId:u.bookId}):UrlUtil.generateReaderUrl({bookId:u.bookId})}const _=useProtobufPipeline();function f(u,k){t.debug({book:u,index:k},"handleShelfBookExposure");const p=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exp

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
mmend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:u.bookId,indexOfPage:k,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});_.send("wr_web_common_recommend",p)}function d(u,k,p){t.debug({book:u,index:k,urlToJump:p},"handleShelfBookClick");const b=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebR

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_shelf,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_click,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:u.bookId,indexOfPage:k,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});_.send("wr_web_common_recommend",b,!0),window.location.href=p}return(u,k)=>{const p=_sfc_main$o;return openBlock(),createElementBlock("div",_hoisted_1$a,[unref(r)?(openBlock(),createElementBlock(Fragment,{ke

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
div",{key:b,class:"wr_index_mini_shelf_card"},_hoisted_3$9)),64)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(s).slice(0,o.count),(b,I)=>{var y;return withDirectives((openBlock(),createElementBlock("div",{key:((y=b.book)==null?void 0:y.bookId)||"",class:"wr_index_mini_shelf_card"},[createBaseVNode("a",{href:l(b.book),target:"_self",onClick:x=>("preventDefault"in u?u.preventDefault:unref(preventDefault$1))(x,()=>d(b.book,I,l(b.book)))},[createBaseVNode("div",_hoisted_5$7,[createVNode(p,{class:"wr_index_mini_shelf_card_cover",src:b.book.cover,"need-gra

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
title"},_hoisted_7$3={class:"wr_suggestion_card_content_reason"},_sfc_main$9=defineComponent({__name:"SuggestionCard",props:{book:{},pending:{type:Boolean}},emits:["click-card","click-author"],setup(e,{emit:t}){var l;const o=e,n=t,c=UrlUtil.generateReaderUrl({bookId:((l=o.book)==null?void 0:l.bookId)||""}),i=computed(()=>{var _,f;return UrlUtil.generateAuthorUrl({authorName:((_=o.book)==null?void 0:_.author)||"",bookId:((f=o.book)==null?void 0:f.bookId)||""})});function r(_){_.stopPropagation(),_.preventDefault(),n("click-card",c)}function s(_){_.stopPropagation(),_.prevent

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ggestion_card_content_reason"},_sfc_main$9=defineComponent({__name:"SuggestionCard",props:{book:{},pending:{type:Boolean}},emits:["click-card","click-author"],setup(e,{emit:t}){var l;const o=e,n=t,c=UrlUtil.generateReaderUrl({bookId:((l=o.book)==null?void 0:l.bookId)||""}),i=computed(()=>{var _,f;return UrlUtil.generateAuthorUrl({authorName:((_=o.book)==null?void 0:_.author)||"",bookId:((f=o.book)==null?void 0:f.bookId)||""})});function r(_){_.stopPropagation(),_.preventDefault(),n("click-card",c)}function s(_){_.stopPropagation(),_.preventDefault(),n("click-author",i.value

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
,emits:["click-card","click-author"],setup(e,{emit:t}){var l;const o=e,n=t,c=UrlUtil.generateReaderUrl({bookId:((l=o.book)==null?void 0:l.bookId)||""}),i=computed(()=>{var _,f;return UrlUtil.generateAuthorUrl({authorName:((_=o.book)==null?void 0:_.author)||"",bookId:((f=o.book)==null?void 0:f.bookId)||""})});function r(_){_.stopPropagation(),_.preventDefault(),n("click-card",c)}function s(_){_.stopPropagation(),_.preventDefault(),n("click-author",i.value)}return(_,f)=>{const d=_sfc_main$o,u=__nuxt_component_0$2;return _.pending?(openBlock(),createElementBlock("div",_hoisted

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
"],setup(e,{emit:t}){var l;const o=e,n=t,c=UrlUtil.generateReaderUrl({bookId:((l=o.book)==null?void 0:l.bookId)||""}),i=computed(()=>{var _,f;return UrlUtil.generateAuthorUrl({authorName:((_=o.book)==null?void 0:_.author)||"",bookId:((f=o.book)==null?void 0:f.bookId)||""})});function r(_){_.stopPropagation(),_.preventDefault(),n("click-card",c)}function s(_){_.stopPropagation(),_.preventDefault(),n("click-author",i.value)}return(_,f)=>{const d=_sfc_main$o,u=__nuxt_component_0$2;return _.pending?(openBlock(),createElementBlock("div",_hoisted_1$9,_hoisted_3$8)):(openBlock(),c

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
({vid:o.value.vid||s.value,module:(M==null?void 0:M.module)||0,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:V.bookId,page:r.value,indexOfPage:w,hints:V.hints});c.send("wr_web_common_recommend",W)}function C(V,w,S){const M=o.value.hasLogin?3:1,W=a.get(M),R=createWrWebCommonRecommend({module:(W==null?void 0:W.module)||0,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_click,itemtype:ProtoWrWebC

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
R=createWrWebCommonRecommend({module:(W==null?void 0:W.module)||0,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_click,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,itemid:V.bookId,page:r.value,indexOfPage:w,hints:V.hints});c.send("wr_web_common_recommend",R,!0),window.location.href=S}return(V,w)=>{const S=__nuxt_component_0$2,M=__nuxt_component_1,W=__nuxt_component_2$1;return openBlock(),createElementBlock("div",_hoisted_1$7,[createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hois

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ndBooksCount,R=>createVNode(W,{key:R,pending:l.pending},null,8,["pending"])),64))])):(openBlock(),createElementBlock("div",_hoisted_23,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(f),(R,T)=>withDirectives((openBlock(),createBlock(W,{key:R.bookId,book:R,onClickCard:O=>C(R,T,O),onClickAuthor:O=>C(R,T,O)},null,8,["book","onClickCard","onClickAuthor"])),[[unref(vExposure),()=>m(R,T),void 0,{once:!0}]])),128))]))])])])}}}),_withScopeId$3=e=>(pushScopeId("data-v-6436bacb"),e=e(),popScopeId(),e),_hoisted_1$6={class:"wr_index_page_rank_list_wrapper"},_hoisted_2

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
dule.web_recom_module_toplist,action:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WebWrRecomAction.web_recom_action_exposure,aggtype:l,itemtype:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomItemtype.web_recom_itemtype_book,indexOfPage:f,itemid:_.bookInfo.bookId,scene:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomScene.web_recom_scene_homepage});t.send("wr_web_common_recommend",d)}function s(l,_,f){const d=createWrWebCommonRecommend({module:ProtoWrWebCommonRecommend.tencent.wrbus.pb.WrWebRecomModule.web_recom_module_toplist,action:ProtoWrWebCommonRecommend.tencen

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
stCover)==null?void 0:b.desc)||""),5)])]}),_:2},1032,["href","onClick"]),createBaseVNode("div",_hoisted_9$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(c(u.CategoryId),(p,b)=>withDirectives((openBlock(),createElementBlock("div",{key:p.bookInfo.bookId,class:"wr_index_page_rank_list_card_content_info"},[createVNode(f,{book:p.bookInfo,idx:b+1},null,8,["book","idx"])])),[[unref(vExposure),()=>r(u.title,p,b),void 0,{once:!0}]])),128))]),createBaseVNode("div",_hoisted_10$1,[createVNode(d,{href:("UrlUtil"in l?l.UrlUtil:unref(UrlUtil)).generateCategoryUrl({category:

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
c_main$2=defineComponent({__name:"NoteExportModal",setup(e,{expose:t}){const o=ref(null),n=ref(0),c=ref(null),i=computed(()=>{var d;return((d=o.value)==null?void 0:d.cover)||""}),r=computed(()=>{var d;return((d=o.value)==null?void 0:d.title)||""});function s({bookId:d,noteCount:u}){wrFetchClient("/api/book/info",{query:{bookId:d}}).then(k=>{var p;o.value=k,n.value=u,i.value&&r.value&&(wrFetchClient("/api/user/dismissNotify"),(p=c.value)==null||p.show())})}function l(){var d;(d=c.value)==null||d.close(),wrFetchClient("/api/user/dismissNotify")}function _(){l(),window.locatio

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
pose:t}){const o=ref(null),n=ref(0),c=ref(null),i=computed(()=>{var d;return((d=o.value)==null?void 0:d.cover)||""}),r=computed(()=>{var d;return((d=o.value)==null?void 0:d.title)||""});function s({bookId:d,noteCount:u}){wrFetchClient("/api/book/info",{query:{bookId:d}}).then(k=>{var p;o.value=k,n.value=u,i.value&&r.value&&(wrFetchClient("/api/user/dismissNotify"),(p=c.value)==null||p.show())})}function l(){var d;(d=c.value)==null||d.close(),wrFetchClient("/api/user/dismissNotify")}function _(){l(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ue=k,n.value=u,i.value&&r.value&&(wrFetchClient("/api/user/dismissNotify"),(p=c.value)==null||p.show())})}function l(){var d;(d=c.value)==null||d.close(),wrFetchClient("/api/user/dismissNotify")}function _(){l(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function f(){l()}return t({show:s,close:l}),(d,u)=>{const k=_sfc_main$u,p=_sfc_main$o,b=__nuxt_component_2$4;return openBlock(),createBlock(b,{ref_key:"modal",ref:c},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$2,[createBaseVNode("div",_hoisted_2$2,[createBaseVNo

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
i.value&&r.value&&(wrFetchClient("/api/user/dismissNotify"),(p=c.value)==null||p.show())})}function l(){var d;(d=c.value)==null||d.close(),wrFetchClient("/api/user/dismissNotify")}function _(){l(),window.location.href=UrlUtil.generateReaderUrl({bookId:o.value.bookId,query:{toolTip:"note"}})}function f(){l()}return t({show:s,close:l}),(d,u)=>{const k=_sfc_main$u,p=_sfc_main$o,b=__nuxt_component_2$4;return openBlock(),createBlock(b,{ref_key:"modal",ref:c},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$2,[createBaseVNode("div",_hoisted_2$2,[createBaseVNode("div",{class

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
("UserNotify"),n=ref(!1),c=ref(null),i=ref(null);function r(u){const k="/web/review/editor/";if(u.startsWith(k)){const p=u.substring(k.length);if(p)return p}return""}function s(u){const k=r(u);if(k){const p=UrlUtil.parseReaderInfoId(k);return(p==null?void 0:p.bookId)||""}return""}function l(u){const k=/《(.*?)》/,p=u.match(k);return p?p[1]:u}async function _(){return $fetch("/api/user/notify").then(u=>{const{success:k,notify:p}=u;if(k){if(p.action)switch(p.action){case"exportNote":return f(p)}else if(p.url&&p.title){if(p.title==="写长评"){n.value=!0;const b=r(p.url),I=s(p.url);b

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
ss:k,notify:p}=u;if(k){if(p.action)switch(p.action){case"exportNote":return f(p)}else if(p.url&&p.title){if(p.title==="写长评"){n.value=!0;const b=r(p.url),I=s(p.url);b&&(p.url="/web/reader/".concat(b,"#richTextEditor")),I&&wrFetchClient("/api/book/info",{query:{bookId:I}}).then(y=>{c.value=y}).catch(y=>{o.info("book/info fail",y)})}p.subTitle=l(p.subTitle||""),t.value=p,n.value||setTimeout(()=>{d()},1e4)}}})}function f(u){var b;const{bookId:k,noteCount:p}=u;(b=i.value)==null||b.show({bookId:Number(k),noteCount:Number(p)})}function d(){t.value.url&&$fetch("/api/user/dismissNot

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
web/reader/".concat(b,"#richTextEditor")),I&&wrFetchClient("/api/book/info",{query:{bookId:I}}).then(y=>{c.value=y}).catch(y=>{o.info("book/info fail",y)})}p.subTitle=l(p.subTitle||""),t.value=p,n.value||setTimeout(()=>{d()},1e4)}}})}function f(u){var b;const{bookId:k,noteCount:p}=u;(b=i.value)==null||b.show({bookId:Number(k),noteCount:Number(p)})}function d(){t.value.url&&$fetch("/api/user/dismissNotify"),t.value={}}return onMounted(()=>{_()}),(u,k)=>{const p=__nuxt_component_0$3,b=_sfc_main$o,I=_sfc_main$u,y=__nuxt_component_3;return openBlock(),createBlock(Teleport,{to:"

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./DIOuE9ph.js
hClient("/api/book/info",{query:{bookId:I}}).then(y=>{c.value=y}).catch(y=>{o.info("book/info fail",y)})}p.subTitle=l(p.subTitle||""),t.value=p,n.value||setTimeout(()=>{d()},1e4)}}})}function f(u){var b;const{bookId:k,noteCount:p}=u;(b=i.value)==null||b.show({bookId:Number(k),noteCount:Number(p)})}function d(){t.value.url&&$fetch("/api/user/dismissNotify"),t.value={}}return onMounted(()=>{_()}),(u,k)=>{const p=__nuxt_component_0$3,b=_sfc_main$o,I=_sfc_main$u,y=__nuxt_component_3;return openBlock(),createBlock(Teleport,{to:"body"},[createVNode(Transition,{name:"fade"},{defau

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
t e=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(o.progressive?l():_.value=i.value,e.disconnect())}))}));e.observe(c.value),d.value=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),cre

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
value),d.value=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$o,[o.isSecret?(openBlock(),createElementBlock("span",_hoisted_2$m)):createCommentVNode("",!0),o.isUpdat

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
=e}else o.progressive?l():c.value&&c.value.complete&&!c.value.naturalWidth&&g();!function(){if(o.book&&o.book.bookId&&(o.book.bookType===BOOK_TYPE_MP_ARTICLE||o.book.type===BOOK_TYPE_MP_ARTICLE))wrFetchClient("/api/mp/cover",{method:"GET",query:{bookId:o.book.bookId}}).then((e=>{s.value=e||{}})).catch((e=>{t.error("checkLoadMpCover fail",e)}))}()})),onBeforeUnmount((()=>{d.value&&d.value.disconnect()})),(e,t)=>(openBlock(),createElementBlock("div",_hoisted_1$o,[o.isSecret?(openBlock(),createElementBlock("span",_hoisted_2$m)):createCommentVNode("",!0),o.isUpdated?(openBlock(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
const t=Object.assign(defaultUrlOptions,e),o=t.protocol,r=t.host,n=t.path,a=t.query,i=t.hash,c=new URL(`${o}://${r}`);c.pathname=n;for(const _ in a)c.searchParams.set(_,a[_].toString());return i&&(c.hash=i),c.toString()}function generateReaderUrl(e){const t=e.bookId,o=e.chapterUid,r=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+r,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorU

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
 i&&(c.hash=i),c.toString()}function generateReaderUrl(e){const t=e.bookId,o=e.chapterUid,r=Encryption.encrypt(t)+(o?"k"+Encryption.encrypt(o):"");return _generateUrl({path:readerPage+"/"+r,query:e.query,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
,hash:e.hash})}function generateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
rateMpReaderUrl(e){const t=e.bookId,o=Encryption.encrypt(t);return _generateUrl({path:mpReaderPage+"/"+o,query:e.query,hash:e.hash})}function generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=En

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
 generateAuthorUrl(e){return _generateUrl({path:authorPage,query:{author:e.authorName,ii:e.bookId?Encryption.encrypt(e.bookId):""}})}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateRe

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
}function generateCategoryUrl(e){return _generateUrl({path:categoryPage+"/"+e.category})}function parseReaderInfoId(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl:generateReaderUrl,generateAuthorUrl:generateAuthorUrl,generateCategoryUrl:generateCategoryUrl,parseReaderInfoId:parseReaderI

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
Id(e){const t={bookId:"",chapterUid:"",valid:!1};if(e.indexOf("k")>-1){const o=e.split("k");Encryption.isValid(o[0])&&Encryption.isValid(o[1])&&(t.bookId=Encryption.decrypt(o[0]),t.chapterUid=Encryption.decrypt(o[1]),t.valid=!0)}else Encryption.isValid(e)&&(t.bookId=Encryption.decrypt(e),t.valid=!0);return t}const UrlUtil={generateReaderUrl:generateReaderUrl,generateAuthorUrl:generateAuthorUrl,generateCategoryUrl:generateCategoryUrl,parseReaderInfoId:parseReaderInfoId,generateMpReaderUrl:generateMpReaderUrl},_hoisted_1$e={key:0,class:"wr_index_page_mini_bookInfo skeleton"},

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
:{type:Boolean,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,r=t,n=computed((()=>o.redirect?()=>{}:e=>{e.stopPropagation(),e.preventDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed(

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
,default:!0},pending:{type:Boolean,default:!1}},emits:["toBook","toAuthor"],setup(e,{emit:t}){const o=e,r=t,n=computed((()=>o.redirect?()=>{}:e=>{e.stopPropagation(),e.preventDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookI

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
tDefault(),r("toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.gen

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
toBook",{book:o.book,urlToJump:UrlUtil.generateReaderUrl({bookId:o.book.bookId})})})),a=computed((()=>o.redirect?s:e=>{e.stopPropagation(),e.preventDefault(),r("toAuthor",{book:o.book,urlToJump:UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
til.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("d

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
thorUrl({authorName:o.book.author,bookId:o.book.bookId})})})),i=computed((()=>""!==o.idx)),c=computed((()=>new BookInfoHelper$1(o.book).recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
.recommendPercent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(e.$slots,"ti

--- [bookId] in https://cdn.weread.qq.com/web/wrweb-next/_nuxt/./././DK1lkih1-legacy.js
ent)),_=computed((()=>new BookInfoHelper$1(o.book).newRatingTitle)),d=UrlUtil.generateReaderUrl({bookId:o.book.bookId});function s(e){e.stopPropagation(),e.preventDefault(),window.location.href=UrlUtil.generateAuthorUrl({authorName:o.book.author,bookId:o.book.bookId})}return(e,t)=>{const r=_sfc_main$o,s=_sfc_main$f;return e.pending?(openBlock(),createElementBlock("div",_hoisted_1$e,[_hoisted_2$d,createBaseVNode("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$8,[renderSlot(e.$slots,"title",{},(()=>[

