diff --git a/app/src/main/assets/web/vue/assets/BookChapter-a6c0a317.css b/app/src/main/assets/web/vue/assets/BookChapter-3e045df4.css
similarity index 79%
rename from app/src/main/assets/web/vue/assets/BookChapter-a6c0a317.css
rename to app/src/main/assets/web/vue/assets/BookChapter-3e045df4.css
index 179ad0a61..752db452d 100644
--- a/app/src/main/assets/web/vue/assets/BookChapter-a6c0a317.css
+++ b/app/src/main/assets/web/vue/assets/BookChapter-3e045df4.css
@@ -1 +1 @@
-@charset "UTF-8";p[data-v-f9132275]{display:block;word-wrap:break-word;word-break:break-all}p[data-v-f9132275] img{height:1em}.full[data-v-f9132275]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./popfont-a80d6a88.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-9aaccea3.woff) format("woff")}[data-v-9f479a0b] .iconfont,[data-v-9f479a0b] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-9f479a0b]{user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-9f479a0b]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-9f479a0b]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-9f479a0b]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-9f479a0b]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-9f479a0b]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-9f479a0b]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-9f479a0b]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-9f479a0b]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-9f479a0b]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-9f479a0b]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize[data-v-9f479a0b]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span[data-v-9f479a0b]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-9f479a0b]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-9f479a0b]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-9f479a0b]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize b[data-v-9f479a0b]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-9f479a0b] .theme-item,.night[data-v-9f479a0b] .selected{border:1px solid #666}.night[data-v-9f479a0b] .moon-icon{color:#ed4259}.night[data-v-9f479a0b] .font-list .font-item,.night[data-v-9f479a0b] .font-list .infinite-loading-item,.night .infinite-loading .font-item[data-v-9f479a0b],.night .infinite-loading .infinite-loading-item[data-v-9f479a0b],.night[data-v-9f479a0b] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-9f479a0b] .resize b{border-right:1px solid #666}.day[data-v-9f479a0b] .theme-item{border:1px solid #e5e5e5}.day[data-v-9f479a0b] .selected{border:1px solid #ed4259}.day[data-v-9f479a0b] .moon-icon{display:inline;color:#fff3}.day[data-v-9f479a0b] .font-list .font-item,.day[data-v-9f479a0b] .font-list .infinite-loading-item,.day .infinite-loading .font-item[data-v-9f479a0b],.day .infinite-loading .infinite-loading-item[data-v-9f479a0b]{background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-9f479a0b] .resize{border:1px solid #e5e5e5;background:rgba(255,255,255,.5)}.day[data-v-9f479a0b] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width: 500px){.settings-wrapper i[data-v-9f479a0b]{display:flex!important;flex-wrap:wrap;padding-bottom:5px!important}}.cata-wrapper[data-v-8da315d1]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-8da315d1]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px;color:#ed4259;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-8da315d1]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-8da315d1]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-8da315d1]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-8da315d1]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-8da315d1] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-8da315d1] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width: 500px){.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:100%}}[data-v-36fce3fe] .pop-setting{margin-left:68px;top:0}[data-v-36fce3fe] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-36fce3fe]{padding:0 4%;flex-direction:column;align-items:center}.chapter-wrapper[data-v-36fce3fe] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-36fce3fe]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-36fce3fe]{display:flex;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-36fce3fe]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-36fce3fe]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-36fce3fe]{font-size:12px}.chapter-wrapper .read-bar[data-v-36fce3fe]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-36fce3fe]{display:flex;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-36fce3fe]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-36fce3fe]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter[data-v-36fce3fe]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-36fce3fe] .el-loading-mask{background-color:#0000}.chapter-wrapper .chapter[data-v-36fce3fe] .el-loading-spinner{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-36fce3fe] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-36fce3fe]{overflow:hidden;font-size:18px;line-height:1.8;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-36fce3fe]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-36fce3fe],.chapter-wrapper .chapter .content .top-bar[data-v-36fce3fe]{height:64px}.day[data-v-36fce3fe] .popup{box-shadow:0 2px 4px #0000001f,0 0 6px #0000000a}.day[data-v-36fce3fe] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-36fce3fe] .tool-icon .icon-text{color:#0006}.day[data-v-36fce3fe] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-36fce3fe] .popup{box-shadow:0 2px 4px #0000007a,0 0 6px #00000029}.night[data-v-36fce3fe] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-36fce3fe] .tool-icon .icon-text{color:#666}.night[data-v-36fce3fe] .chapter{border:1px solid #444;color:#666}.night[data-v-36fce3fe] .popper__arrow{background:#666}@media screen and (max-width: 750px){.chapter-wrapper[data-v-36fce3fe]{padding:0}.chapter-wrapper .tool-bar[data-v-36fce3fe]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-36fce3fe]{flex-direction:row;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-36fce3fe]{border:none}.chapter-wrapper .read-bar[data-v-36fce3fe]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-36fce3fe]{flex-direction:row;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-36fce3fe]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-36fce3fe]{display:inline-block}.chapter-wrapper .chapter[data-v-36fce3fe]{width:100vw!important;padding:0 20px;box-sizing:border-box}}
+@charset "UTF-8";p[data-v-f9132275]{display:block;word-wrap:break-word;word-break:break-all}p[data-v-f9132275] img{height:1em}.full[data-v-f9132275]{display:block;width:100%}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);min-width:150px;border-radius:var(--el-popover-border-radius);border:1px solid var(--el-popover-border-color);padding:var(--el-popover-padding);z-index:var(--el-index-popper);color:var(--el-text-color-regular);line-height:1.4;text-align:justify;font-size:var(--el-popover-font-size);box-shadow:var(--el-box-shadow-light);word-break:break-all;box-sizing:border-box}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./popfont-a80d6a88.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-9aaccea3.woff) format("woff")}[data-v-9f479a0b] .iconfont,[data-v-9f479a0b] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-9f479a0b]{user-select:none;margin:-13px;text-align:left;padding:40px 0 40px 24px;background:#ede7da url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAD1BMVEX48dr48Nf58tv379X17NJtIBxUAAACFUlEQVQ4y1XRUZakMAgF0Af2AiDWApDZgHZqAV1nZv9rGh7Rj7Y8McUFEg1wvcMESMNVD/neU8Xcaz7nYYkYlYO6Ti82PBI4BvIEg1aj3wKwRvIMgZsUy5LdhCawPFh1sZs4SrlyN9fQKpv8s5dgZ2eLyqqJiu+WkCmUEybXkm3INS01WAiv0PapJ0CZc0SJQUzcWnZYbOOY20iFD8Bk+/j2A3wNxH7GdShFYS5ff237kXh9I9zSkQmIAhOsOSVfJ6DIXTMDaPnzkRJ92S1BQQmXl5LdirgRLLDdcYqcGPwe3QN4xCBiGNbrqq9wpW1XCecChwaQdVOsRDpPCpeoolPdxeXp3WNB9PHVzWBHlygy4NJCCrFHREv6bDt0VGwJZASkpONmm1UseGeFKAQexgaAkrfYWl3AGxWOLL2AIMBNbCXpktmS3k3vHeYjGCPBa43wJTurO3ZFVpQSJdAZGLoHTyk1upkjxMEaIxum3iIARcCa5kSkFAW5fi1mUlL9eyOsaanFmOMruwvEdE3ZYzsRSzo5ewRLXyVPPEvknt8ij4DvCg2O7xOgBCUprEzV4z1WekSpUgI8DT2mrnSOXKRfQavwuKA1F+tFnMKdJSUpMA7wQAifWRkMgjUKKZE4lBl6MCM4B1pq1P4uIjDE6Pq6rL0FnW1nIFmta5vrSvq/Ch4tpqG/ZNyyWa5jZPktq81eYv8Bt5s4iFITOp4AAAAASUVORK5CYII=) repeat}.settings-wrapper .settings-title[data-v-9f479a0b]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list ul[data-v-9f479a0b]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-9f479a0b]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-9f479a0b]{font:12px/16px PingFangSC-Regular,-apple-system,Simsun;display:inline-block;min-width:48px;margin-right:16px;vertical-align:middle;color:#666}.settings-wrapper .setting-list ul li .theme-item[data-v-9f479a0b]{line-height:32px;width:34px;height:34px;margin-right:16px;margin-top:5px;border-radius:100%;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul li .theme-item .iconfont[data-v-9f479a0b]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-9f479a0b]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-9f479a0b]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]{width:78px;height:34px;cursor:pointer;margin-right:16px;border-radius:2px;text-align:center;vertical-align:middle;display:inline-block;font:14px/34px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.settings-wrapper .setting-list ul .font-list .font-item-input[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-9f479a0b]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-9f479a0b],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-9f479a0b]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-9f479a0b]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width[data-v-9f479a0b]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize[data-v-9f479a0b]{display:inline-block;width:274px;height:34px;vertical-align:middle;border-radius:2px}.settings-wrapper .setting-list ul .font-size .resize span[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span[data-v-9f479a0b]{width:89px;height:34px;line-height:34px;display:inline-block;cursor:pointer;text-align:center;vertical-align:middle}.settings-wrapper .setting-list ul .font-size .resize span em[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize span em[data-v-9f479a0b]{font-style:normal}.settings-wrapper .setting-list ul .font-size .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .font-size .resize .more[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .less[data-v-9f479a0b]:hover,.settings-wrapper .setting-list ul .read-width .resize .more[data-v-9f479a0b]:hover{color:#ed4259}.settings-wrapper .setting-list ul .font-size .resize .lang[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize .lang[data-v-9f479a0b]{color:#a6a6a6;font-weight:400;font-family:FZZCYSK}.settings-wrapper .setting-list ul .font-size .resize b[data-v-9f479a0b],.settings-wrapper .setting-list ul .read-width .resize b[data-v-9f479a0b]{display:inline-block;height:20px;vertical-align:middle}.night[data-v-9f479a0b] .theme-item,.night[data-v-9f479a0b] .selected{border:1px solid #666}.night[data-v-9f479a0b] .moon-icon{color:#ed4259}.night[data-v-9f479a0b] .font-list .font-item,.night[data-v-9f479a0b] .font-list .infinite-loading-item,.night .infinite-loading .font-item[data-v-9f479a0b],.night .infinite-loading .infinite-loading-item[data-v-9f479a0b],.night[data-v-9f479a0b] .resize{border:1px solid #666;background:rgba(45,45,45,.5)}.night[data-v-9f479a0b] .resize b{border-right:1px solid #666}.day[data-v-9f479a0b] .theme-item{border:1px solid #e5e5e5}.day[data-v-9f479a0b] .selected{border:1px solid #ed4259}.day[data-v-9f479a0b] .moon-icon{display:inline;color:#fff3}.day[data-v-9f479a0b] .font-list .font-item,.day[data-v-9f479a0b] .font-list .infinite-loading-item,.day .infinite-loading .font-item[data-v-9f479a0b],.day .infinite-loading .infinite-loading-item[data-v-9f479a0b]{background:rgba(255,255,255,.5);border:1px solid rgba(0,0,0,.1)}.day[data-v-9f479a0b] .resize{border:1px solid #e5e5e5;background:rgba(255,255,255,.5)}.day[data-v-9f479a0b] .resize b{border-right:1px solid #e5e5e5}@media screen and (max-width: 500px){.settings-wrapper i[data-v-9f479a0b]{display:flex!important;flex-wrap:wrap;padding-bottom:5px!important}}.cata-wrapper[data-v-8da315d1]{margin:-16px;padding:18px 0 24px 25px}.cata-wrapper .title[data-v-8da315d1]{font-size:18px;font-weight:400;font-family:FZZCYSK;margin:0 0 20px;color:#ed4259;width:fit-content;border-bottom:1px solid #ed4259}.cata-wrapper .data-wrapper[data-v-8da315d1]{height:300px;overflow:auto}.cata-wrapper .data-wrapper .cata[data-v-8da315d1]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.cata-wrapper .data-wrapper .cata .selected[data-v-8da315d1]{color:#eb4259}.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:50%;height:40px;cursor:pointer;float:left;font:16px/40px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.cata-wrapper .data-wrapper .cata .log .log-text[data-v-8da315d1]{margin-right:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cata-wrapper .night[data-v-8da315d1] .log{border-bottom:1px solid #666}.cata-wrapper .day[data-v-8da315d1] .log{border-bottom:1px solid #f2f2f2}@media screen and (max-width: 500px){.cata-wrapper .data-wrapper .cata .log[data-v-8da315d1]{width:100%}}[data-v-23e7abbd] .pop-setting{margin-left:68px;top:0}[data-v-23e7abbd] .pop-cata{margin-left:10px}.chapter-wrapper[data-v-23e7abbd]{padding:0 4%;flex-direction:column;align-items:center}.chapter-wrapper[data-v-23e7abbd] .no-point{pointer-events:none}.chapter-wrapper .tool-bar[data-v-23e7abbd]{position:fixed;top:0;left:50%;z-index:100}.chapter-wrapper .tool-bar .tools[data-v-23e7abbd]{display:flex;flex-direction:column}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-23e7abbd]{font-size:18px;width:58px;height:48px;text-align:center;padding-top:12px;cursor:pointer;outline:none}.chapter-wrapper .tool-bar .tools .tool-icon .iconfont[data-v-23e7abbd]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .tool-bar .tools .tool-icon .icon-text[data-v-23e7abbd]{font-size:12px}.chapter-wrapper .read-bar[data-v-23e7abbd]{position:fixed;bottom:0;right:50%;z-index:100}.chapter-wrapper .read-bar .tools[data-v-23e7abbd]{display:flex;flex-direction:column}.chapter-wrapper .read-bar .tools .tool-icon[data-v-23e7abbd]{font-size:18px;width:42px;height:31px;padding-top:12px;text-align:center;align-items:center;cursor:pointer;outline:none;margin-top:-1px}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-23e7abbd]{font-family:iconfont;width:16px;height:16px;font-size:16px;margin:0 auto 6px}.chapter-wrapper .chapter[data-v-23e7abbd]{font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif;text-align:left;padding:0 65px;min-height:100vh;width:670px;margin:0 auto}.chapter-wrapper .chapter[data-v-23e7abbd] .el-loading-mask{background-color:#0000}.chapter-wrapper .chapter[data-v-23e7abbd] .el-loading-spinner{font-size:36px;color:#b5b5b5}.chapter-wrapper .chapter[data-v-23e7abbd] .el-loading-text{font-weight:500;color:#b5b5b5}.chapter-wrapper .chapter .content[data-v-23e7abbd]{overflow:hidden;font-size:18px;line-height:1.8;font-family:Microsoft YaHei,PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,sans-serif}.chapter-wrapper .chapter .content .title[data-v-23e7abbd]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}.chapter-wrapper .chapter .content .bottom-bar[data-v-23e7abbd],.chapter-wrapper .chapter .content .top-bar[data-v-23e7abbd]{height:64px}.day[data-v-23e7abbd] .popup{box-shadow:0 2px 4px #0000001f,0 0 6px #0000000a}.day[data-v-23e7abbd] .tool-icon{border:1px solid rgba(0,0,0,.1);margin-top:-1px;color:#000}.day[data-v-23e7abbd] .tool-icon .icon-text{color:#0006}.day[data-v-23e7abbd] .chapter{border:1px solid #d8d8d8;color:#262626}.night[data-v-23e7abbd] .popup{box-shadow:0 2px 4px #0000007a,0 0 6px #00000029}.night[data-v-23e7abbd] .tool-icon{border:1px solid #444;margin-top:-1px;color:#666}.night[data-v-23e7abbd] .tool-icon .icon-text{color:#666}.night[data-v-23e7abbd] .chapter{border:1px solid #444;color:#666}.night[data-v-23e7abbd] .popper__arrow{background:#666}@media screen and (max-width: 750px){.chapter-wrapper[data-v-23e7abbd]{padding:0}.chapter-wrapper .tool-bar[data-v-23e7abbd]{left:0;width:100vw;margin-left:0!important}.chapter-wrapper .tool-bar .tools[data-v-23e7abbd]{flex-direction:row;justify-content:space-between}.chapter-wrapper .tool-bar .tools .tool-icon[data-v-23e7abbd]{border:none}.chapter-wrapper .read-bar[data-v-23e7abbd]{right:0;width:100vw;margin-right:0!important}.chapter-wrapper .read-bar .tools[data-v-23e7abbd]{flex-direction:row;justify-content:space-between;padding:0 15px}.chapter-wrapper .read-bar .tools .tool-icon[data-v-23e7abbd]{border:none;width:auto}.chapter-wrapper .read-bar .tools .tool-icon .iconfont[data-v-23e7abbd]{display:inline-block}.chapter-wrapper .chapter[data-v-23e7abbd]{width:100vw!important;padding:0 20px;box-sizing:border-box}}
diff --git a/app/src/main/assets/web/vue/assets/BookChapter-de8939ea.js b/app/src/main/assets/web/vue/assets/BookChapter-5d963ac2.js
similarity index 51%
rename from app/src/main/assets/web/vue/assets/BookChapter-de8939ea.js
rename to app/src/main/assets/web/vue/assets/BookChapter-5d963ac2.js
index afa287bf4..d98fc0a7c 100644
--- a/app/src/main/assets/web/vue/assets/BookChapter-de8939ea.js
+++ b/app/src/main/assets/web/vue/assets/BookChapter-5d963ac2.js
@@ -1 +1 @@
-import{_ as ue,u as ge,A as he}from"./index-7eaea170.js";import{m as r,P as q,a8 as Ae,o as d,d as p,y as se,a9 as J,u as n,F as ae,k as g,aa as Oe,R as ke,g as t,z as Q,A as _,e as W,w as z,a2 as Pe,n as de,ab as Ke,f as re,L as oe,ac as Ne,D as Le,ad as Ce,p as ve,i as me,ae as Se,s as Ee,J as ne,a6 as He,B as N,af as ze,c as Je,a7 as We}from"./vendor-ea0dcfac.js";import{l as Te}from"./el-loading-15d78e2b.js";const qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+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4UnyvKc3SJuL7lBbeEEl42ItpGLjzIT8PRJCmkRjVpVpsbJFVN0687okJNZiHAr5Z7MV0BnGIDc+THM1zlbieBc1Fq+tH5BH+OpnbWkj40hSqC8Lw2TvFuF0SUFJCk2IytXbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var L={themes:[{body:"#ede7da url("+qe+") repeat",content:"#ede7da url("+Ge+") repeat",popup:"#ede7da url("+Ze+") repeat"},{body:"#ede7da url("+Ye+") repeat",content:"#ede7da url("+_e+") repeat",popup:"#ede7da url("+Xe+") repeat"},{body:"#ede7da url("+je+") repeat",content:"#ede7da url("+$e+") repeat",popup:"#ede7da url("+et+") repeat"},{body:"#ede7da url("+tt+") repeat",content:"#ede7da url("+ot+") repeat",popup:"#ede7da url("+nt+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+st+") repeat",content:"#ede7da url("+at+") repeat",popup:"#ede7da url("+it+") repeat"},{body:"#ede7da url("+lt+") repeat",content:"#ede7da url("+ct+") repeat",popup:"#ede7da url("+rt+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]};const At=["src"],dt=["innerHTML"],ut={__name:"ChapterContent",props:["carray"],setup(a){const i=a,c=ge(),v=r(()=>c.config.font>=0?L.fonts[c.config.font]:{fontFamily:c.config.customFontName}),o=r(()=>c.config.fontSize+"px"),D=r(()=>{let m=v.value;return m.fontSize=o.value,m});function b(m){const f=/
]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return m.match(f)[1]}return q(o,()=>{c.setShowContent(!1),Ae(()=>{c.setShowContent(!0)})}),(m,f)=>(d(!0),p(ae,null,se(i.carray,(u,l)=>(d(),p("div",{key:l},[/^\s*
]*src[^>]+>$/.test(u)?(d(),p("img",{key:0,class:"full",src:b(u),loading:"lazy"},null,8,At)):(d(),p("p",{key:1,style:J(n(D)),innerHTML:u},null,12,dt))]))),128))}},gt=ue(ut,[["__scopeId","data-v-f9132275"]]);const B=a=>(ve("data-v-9f479a0b"),a=a(),me(),a),pt=B(()=>t("div",{class:"settings-title"},"设置",-1)),ft={class:"setting-list"},ht={class:"theme-list"},vt=B(()=>t("i",null,"阅读主题",-1)),mt=["onClick"],yt={key:0,class:"iconfont"},It={key:1,class:"moon-icon"},bt={class:"font-list"},Bt=B(()=>t("i",null,"正文字体",-1)),kt=["onClick"],Ct={class:"font-list"},St=B(()=>t("i",null,"自定字体",-1)),Et=B(()=>t("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),wt=B(()=>t("p",null,"确定保存吗?",-1)),Ut={style:{"text-align":"right",margin:"0"}},Qt=B(()=>t("span",{type:"text",class:"font-item"},"保存",-1)),Dt={class:"font-size"},Vt=B(()=>t("i",null,"字体大小",-1)),Mt={class:"resize"},xt=B(()=>t("em",{class:"iconfont"},"",-1)),Rt=[xt],Ft=B(()=>t("b",null,null,-1)),Ot={class:"lang"},Pt=B(()=>t("b",null,null,-1)),Kt=B(()=>t("em",{class:"iconfont"},"",-1)),Nt=[Kt],Lt={key:0,class:"read-width"},Ht=B(()=>t("i",null,"页面宽度",-1)),zt={class:"resize"},Jt=B(()=>t("em",{class:"iconfont"},"",-1)),Wt=[Jt],Tt=B(()=>t("b",null,null,-1)),qt={class:"lang"},Gt=B(()=>t("b",null,null,-1)),Zt=B(()=>t("em",{class:"iconfont"},"",-1)),Yt=[Zt],_t={class:"infinite-loading"},Xt=B(()=>t("i",null,"无限加载",-1)),jt={__name:"ReadSettings",setup(a){const i=ge(),c=g(0),v=g(i.config.theme==6),o=g(""),D=Oe([{background:"rgba(250, 245, 235, 0.8)"},{background:"rgba(245, 234, 204, 0.8)"},{background:"rgba(230, 242, 230, 0.8)"},{background:"rgba(228, 241, 245, 0.8)"},{background:"rgba(245, 228, 228, 0.8)"},{background:"rgba(224, 224, 224, 0.8)"},{background:"rgba(0, 0, 0, 0.5)"}]),b=g({display:"inline",color:"rgba(255,255,255,0.2)"}),m=g(["雅黑","宋体","楷书"]),f=g(i.config.customFontName),u=g(!1);ke(()=>{var y=i.config;c.value=y.theme,c.value==6?o.value="":o.value=""});const l=r(()=>i.config),H=r(()=>({background:L.themes[l.value.theme].popup})),w=r(()=>i.config.theme),k=r(()=>i.config.font),K=r(()=>i.config.fontSize),V=r(()=>i.config.readWidth),M=r(()=>i.config.infiniteLoading),T=y=>{y==6?(v.value=!0,o.value="",b.value.color="#ed4259"):(v.value=!1,o.value="",b.value.color="rgba(255,255,255,0.2)"),l.value.theme=y,O(l.value)},G=y=>{l.value.font=y,O(l.value)},h=()=>{l.value.font=-1,l.value.customFontName=f.value,O(l.value)},C=()=>{l.value.fontSize<48&&(l.value.fontSize+=2),O(l.value)},X=()=>{l.value.fontSize>12&&(l.value.fontSize-=2),O(l.value)},pe=()=>{l.value.readWidth+=160,O(l.value)},ie=()=>{l.value.readWidth>640&&(l.value.readWidth-=160),O(l.value)},j=y=>{l.value.infiniteLoading=y,O(l.value)},O=y=>{i.setConfig(y),localStorage.setItem("config",JSON.stringify(y)),$(y)},$=y=>{he.saveReadConfig(y)};return(y,E)=>{const le=Ne,Z=Le,ee=Ce;return d(),p("div",{class:Q(["settings-wrapper",{night:n(v),day:!n(v)}]),style:J(n(H))},[pt,t("div",ft,[t("ul",null,[t("li",ht,[vt,(d(!0),p(ae,null,se(n(D),(S,P)=>(d(),p("span",{class:Q(["theme-item",{selected:n(w)==P}]),key:P,style:J(S),ref_for:!0,ref:"themes",onClick:ce=>T(P)},[P<6?(d(),p("em",yt,"")):(d(),p("em",It,_(n(o)),1))],14,mt))),128))]),t("li",bt,[Bt,(d(!0),p(ae,null,se(n(m),(S,P)=>(d(),p("span",{class:Q(["font-item",{selected:n(k)==P}]),key:P,onClick:ce=>G(P)},_(S),11,kt))),128))]),t("li",Ct,[St,W(le,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:z(()=>[Pe(t("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":E[0]||(E[0]=S=>de(f)?f.value=S:null),placeholder:"请输入自定义的字体名称"},null,512),[[Ke,n(f)]])]),_:1}),W(ee,{placement:"top",width:"180",trigger:"click",visible:n(u),"onUpdate:visible":E[3]||(E[3]=S=>de(u)?u.value=S:null)},{reference:z(()=>[Qt]),default:z(()=>[Et,wt,t("div",Ut,[W(Z,{size:"small",plain:"",onClick:E[1]||(E[1]=S=>u.value=!1)},{default:z(()=>[re("取消")]),_:1}),W(Z,{type:"primary",size:"small",onClick:E[2]||(E[2]=S=>{h(),u.value=!1})},{default:z(()=>[re("确定")]),_:1})])]),_:1},8,["visible"])]),t("li",Dt,[Vt,t("div",Mt,[t("span",{class:"less",onClick:X},Rt),Ft,re(),t("span",Ot,_(n(K)),1),Pt,t("span",{class:"more",onClick:C},Nt)])]),n(i).miniInterface?oe("",!0):(d(),p("li",Lt,[Ht,t("div",zt,[t("span",{class:"less",onClick:ie},Wt),Tt,re(),t("span",qt,_(n(V)),1),Gt,t("span",{class:"more",onClick:pe},Yt)])])),t("li",_t,[Xt,(d(),p("span",{class:Q(["infinite-loading-item",{selected:n(M)==!1}]),key:0,onClick:E[4]||(E[4]=S=>j(!1))},"关闭",2)),(d(),p("span",{class:Q(["infinite-loading-item",{selected:n(M)==!0}]),key:1,onClick:E[5]||(E[5]=S=>j(!0))},"开启",2))])])])],6)}}},$t=ue(jt,[["__scopeId","data-v-9f479a0b"]]),eo=(a,i,c,v)=>(a/=v/2,a<1?c/2*a*a+i:(a--,-c/2*(a*(a-2)-1)+i)),to=()=>{let a,i,c,v,o,D,b,m,f,u,l,H,w;function k(){let h=a.scrollTop||a.scrollY||a.pageYOffset;return h=typeof h>"u"?0:h,h}function K(h){const C=h.getBoundingClientRect().top,X=a.getBoundingClientRect?a.getBoundingClientRect().top:0;return C-X+c}function V(h){a.scrollTo?a.scrollTo(0,h):a.scrollTop=h}function M(h){u||(u=h),l=h-u,H=D(l,c,m,f),V(H),l(ve("data-v-8da315d1"),a=a(),me(),a),no=oo(()=>t("div",{class:"title"},"目录",-1)),so={class:"cata"},ao=["onClick"],io={class:"log-text"},lo={__name:"PopCatalog",emits:["getContent"],setup(a,{emit:i}){const c=ge(),v=g(!1),{index:o}=Se(c.readingBook),{catalog:D,popCataVisible:b}=Ee(c),m=r(()=>c.config.theme),f=r(()=>({background:L.themes[m.value].popup}));ne(()=>{v.value=m.value==6});const u=g(),l=g();q(b,()=>{Ae(()=>{let k=l.value;Y(u.value[o.value],{container:k,duration:0})})});const H=k=>k==o.value,w=k=>{o.value=D.value.indexOf(k),c.setPopCataVisible(!1),c.setContentLoading(!0),i("getContent",o.value)};return(k,K)=>(d(),p("div",{class:"cata-wrapper",style:J(n(f))},[no,t("div",{class:Q(["data-wrapper",{night:n(v),day:!n(v)}]),ref_key:"cataData",ref:l},[t("div",so,[(d(!0),p(ae,null,se(n(D),(V,M)=>(d(),p("div",{class:Q(["log",{selected:H(M)}]),key:V.durChapterIndex,onClick:T=>w(V),ref_for:!0,ref_key:"cata",ref:u},[t("div",io,_(V.title),1)],10,ao))),128))])],2)],4))}},co=ue(lo,[["__scopeId","data-v-8da315d1"]]);const x=a=>(ve("data-v-36fce3fe"),a=a(),me(),a),ro={class:"tools"},Ao=x(()=>t("div",{class:"iconfont"},"",-1)),uo=x(()=>t("div",{class:"icon-text"},"目录",-1)),go=[Ao,uo],po=x(()=>t("div",{class:"iconfont"},"",-1)),fo=x(()=>t("div",{class:"icon-text"},"设置",-1)),ho=[po,fo],vo=x(()=>t("div",{class:"iconfont"},"",-1)),mo=x(()=>t("div",{class:"icon-text"},"书架",-1)),yo=[vo,mo],Io=x(()=>t("div",{class:"iconfont"},"",-1)),bo=x(()=>t("div",{class:"icon-text"},"顶部",-1)),Bo=[Io,bo],ko=x(()=>t("div",{class:"iconfont"},"",-1)),Co=x(()=>t("div",{class:"icon-text"},"底部",-1)),So=[ko,Co],Eo={class:"tools"},wo=x(()=>t("div",{class:"iconfont"},"",-1)),Uo={key:0},Qo={key:0},Do=x(()=>t("div",{class:"iconfont"},"",-1)),Vo=x(()=>t("div",{class:"chapter-bar"},null,-1)),Mo={class:"content"},xo=["index"],Ro={__name:"BookChapter",setup(a){const i=g(!1),c=g(null),v=g();q(i,e=>{var s;if(!e)return(s=c.value)==null?void 0:s.close();c.value=We.service({target:v.value,spinner:Te,text:"正在获取信息",lock:!0})});const o=ge();try{const e=JSON.parse(localStorage.getItem("config"));e!=null&&o.setConfig(e)}catch{localStorage.removeItem("config")}const D=g(),b=g(!0),m=g(!1),f=g([]),u=g(null),l=g(null),{chapterPos:H}=Se(o.readingBook),w=r({get:()=>o.readingBook.index,set:e=>o.readingBook.index=e}),{catalog:k,popCataVisible:K,readSettingsVisible:V,config:M,miniInterface:T}=Ee(o),G=r(()=>o.showContent),h=r(()=>M.value.theme),C=r(()=>L.themes[M.value.theme].body),X=r(()=>L.themes[M.value.theme].content),pe=r(()=>L.themes[M.value.theme].popup),ie=r(()=>o.miniInterface?window.innerWidth+"px":o.config.readWidth-130+"px"),j=r(()=>o.miniInterface?window.innerWidth-33:o.config.readWidth-33),O=r(()=>({background:L.themes[o.config.theme].body})),$=r(()=>({background:L.themes[o.config.theme].content,width:ie.value})),y=r(()=>({background:L.themes[o.config.theme].popup,marginLeft:o.miniInterface?0:-(o.config.readWidth/2+68)+"px",display:o.miniInterface&&!m.value?"none":"block"})),E=r(()=>({background:L.themes[o.config.theme].popup,marginRight:o.miniInterface?0:-(o.config.readWidth/2+52)+"px",display:o.miniInterface&&!m.value?"none":"block"})),le=r(()=>M.value.infiniteLoading);ne(()=>{f.value.length>0&&(o.setContentLoading(!1),Re())}),ne(()=>{var e;document.title=((e=k.value[w.value])==null?void 0:e.title)||document.title,o.saveBookProcess()});const Z=g(!1);ne(()=>{Z.value=h.value==6}),q(C,e=>{O.value.background=e}),q(X,e=>{$.value.background=e}),q(ie,e=>{$.value.width=e;let s=-((parseInt(e)+130)/2+68)+"px",R=-((parseInt(e)+130)/2+52)+"px";y.value.marginLeft=s,E.value.marginRight=R}),q(pe,e=>{y.value.background=e,E.value.background=e}),ne(()=>{var e,s;le.value?(s=u.value)==null||s.observe(D.value):(e=u.value)==null||e.disconnect()});const ee=g(),S=(e,s=!0,R=0)=>{s&&(o.setShowContent(!1),i.value=!0,Y(ee.value,{duration:0}),Qe(e,R));let I=sessionStorage.getItem("bookUrl"),{title:F,index:U}=k.value[e];he.getBookContent(I,U).then(A=>{if(A.data.isSuccess){let Fe=A.data.data.split(/\n+/);fe({index:e,content:Fe,title:F},s)}else{N({message:A.data.errorMsg,type:"error"});let te=[A.data.errorMsg];fe({index:e,content:te,title:F},s)}if(o.setContentLoading(!0),i.value=!1,b.value=!1,o.setShowContent(!0),!A.data.isSuccess)throw A.data},A=>{throw N({message:"获取章节内容失败",type:"error"}),fe({index:e,content:["获取章节内容失败!"],title:F},s),i.value=!1,o.setShowContent(!0),A})},P=g(),ce=g(),we=()=>{Y(ee.value)},Ue=()=>{Y(ce.value)},ye=()=>{o.setContentLoading(!0);let e=w.value+1;typeof k.value[e]<"u"?(N({message:"下一章",type:"info"}),S(e)):N({message:"本章是最后一章",type:"error"})},Ie=()=>{o.setContentLoading(!0);let e=w.value-1;typeof k.value[e]<"u"?(N({message:"上一章",type:"info"}),S(e)):N({message:"本章是第一章",type:"error"})},Qe=(e,s=H.value)=>{let R=sessionStorage.getItem("bookUrl");var I=JSON.parse(localStorage.getItem(R));I.index=e,I.chapterPos=s,localStorage.setItem(R,JSON.stringify(I)),I=JSON.parse(localStorage.getItem("readingRecent")),I.chapterIndex=e,I.chapterPos=s,localStorage.setItem("readingRecent",JSON.stringify(I)),w.value=e,H.value=s,sessionStorage.setItem("chapterIndex",e),sessionStorage.setItem("chapterPos",String(s))},fe=async(e,s)=>{s&&f.value.splice(0),f.value.push(e)},De=()=>{let e=f.value.slice(-1)[0].index;k.value.length-1>e&&S(e+1,!1)},Ve=He(),be=()=>{Ve.push("/")},Be=e=>{switch(e.key){case"ArrowLeft":e.stopPropagation(),e.preventDefault(),Ie();break;case"ArrowRight":e.stopPropagation(),e.preventDefault(),ye();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),document.documentElement.scrollTop===0?N({message:"已到达页面顶部",type:"warn"}):Y(0-document.documentElement.clientHeight+100);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?N({message:"已到达页面底部",type:"warn"}):Y(document.documentElement.clientHeight-100);break}},Me=e=>{if(!i.value)for(let{isIntersecting:s}of e){if(!s)return;De()}},xe=e=>{Ae(()=>{for(let{isIntersecting:s,target:R,boundingClientRect:I}of e){let F=R.querySelector(".title");if(!F)return;let U=parseInt(F.getAttribute("index"));s?w.value=U:I.top<0?w.value=U+1:w.value=U-1}})},Re=()=>{Ae(()=>{let e=P.value;e&&e.forEach(s=>l.value.observe(s))})};return ke(()=>{i.value=!0;let e=sessionStorage.getItem("bookUrl"),s=sessionStorage.getItem("bookName"),R=sessionStorage.getItem("bookAuthor"),I=Number(sessionStorage.getItem("chapterIndex")||0),F=Number(sessionStorage.getItem("chapterPos")||0);var U=JSON.parse(localStorage.getItem(e));(U==null||I!=U.index||F!=U.chapterPos)&&(U={bookName:s,bookAuthor:R,bookUrl:e,index:I,chapterPos:F},localStorage.setItem(e,JSON.stringify(U))),he.getChapterList(e).then(A=>{if(i.value=!1,!A.data.isSuccess){N({message:A.data.errorMsg,type:"error"}),setTimeout(be,500);return}let te=A.data.data;o.setCatalog(te),o.setReadingBook(U),S(I,!0,F),window.addEventListener("keyup",Be),u.value=new IntersectionObserver(Me,{rootMargin:"-100% 0% 20% 0%"}),le.value&&u.value.observe(D.value),l.value=new IntersectionObserver(xe),document.title=null,document.title=s+" | "+k.value[I].title},A=>{throw i.value=!1,N({message:"获取书籍目录失败",type:"error"}),A})}),ze(()=>{var e,s;window.removeEventListener("keyup",Be),V.value=!1,K.value=!1,(e=u.value)==null||e.disconnect(),(s=l.value)==null||s.disconnect()}),(e,s)=>{const R=co,I=Ce,F=$t,U=gt;return d(),p("div",{class:Q(["chapter-wrapper",{night:n(Z),day:!n(Z)}]),style:J(n(O)),onClick:s[2]||(s[2]=A=>m.value=!n(m))},[t("div",{class:"tool-bar",style:J(n(y))},[t("div",ro,[W(I,{placement:"right",width:n(j),trigger:"click","show-arrow":!1,visible:n(K),"onUpdate:visible":s[0]||(s[0]=A=>de(K)?K.value=A:null),"popper-class":"pop-cata"},{reference:z(()=>[t("div",{class:Q(["tool-icon",{"no-point":n(b)}])},go,2)]),default:z(()=>[W(R,{onGetContent:S,class:"popup"})]),_:1},8,["width","visible"]),W(I,{placement:"right",width:n(j),trigger:"click","show-arrow":!1,visible:n(V),"onUpdate:visible":s[1]||(s[1]=A=>de(V)?V.value=A:null),"popper-class":"pop-setting"},{reference:z(()=>[t("div",{class:Q(["tool-icon",{"no-point":n(b)}])},ho,2)]),default:z(()=>[W(F,{class:"popup"})]),_:1},8,["width","visible"]),t("div",{class:"tool-icon",onClick:be},yo),t("div",{class:Q(["tool-icon",{"no-point":n(b)}]),onClick:we},Bo,2),t("div",{class:Q(["tool-icon",{"no-point":n(b)}]),onClick:Ue},So,2)])],4),t("div",{class:"read-bar",style:J(n(E))},[t("div",Eo,[t("div",{class:Q(["tool-icon",{"no-point":n(b)}]),onClick:Ie},[wo,n(T)?(d(),p("span",Uo,"上一章")):oe("",!0)],2),t("div",{class:Q(["tool-icon",{"no-point":n(b)}]),onClick:ye},[n(T)?(d(),p("span",Qo,"下一章")):oe("",!0),Do],2)])],4),Vo,t("div",{class:"chapter",ref_key:"content",ref:v,style:J(n($))},[t("div",Mo,[t("div",{class:"top-bar",ref_key:"top",ref:ee},null,512),(d(!0),p(ae,null,se(n(f),A=>(d(),p("div",{key:A.index,ref_for:!0,ref_key:"chapter",ref:P},[n(G)?(d(),p("div",{key:0,class:"title",index:A.index},_(A.title),9,xo)):oe("",!0),n(G)?(d(),Je(U,{key:1,carray:A.content},null,8,["carray"])):oe("",!0)]))),128)),t("div",{class:"loading",ref_key:"loading",ref:D},null,512),t("div",{class:"bottom-bar",ref_key:"bottom",ref:ce},null,512)])],4)],6)}}},Ko=ue(Ro,[["__scopeId","data-v-36fce3fe"]]);export{Ko as default};
+import{_ as de,u as ue,A as ve}from"./index-c6205bca.js";import{m as v,P as Z,a8 as Ae,o as r,d as g,y as ae,a9 as T,u as o,F as le,k as u,aa as Fe,R as Ie,g as t,z as Q,A as X,e as q,w as W,a2 as Oe,n as re,ab as Pe,f as ce,L as ne,ac as Ke,D as Ne,ad as Se,p as me,i as be,ae as he,s as Ee,J as se,a6 as Le,B as z,af as He,c as ze,a7 as Je}from"./vendor-ea0dcfac.js";import{l as We}from"./el-loading-15d78e2b.js";const Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPH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XGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==",ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEUWGBkYGhsdHyAfISI1t/v6AAAB5ElEQVQozxXQsYoTURSA4f/EeycZsDgDdySDjihk38Hy3GWi2J2BCaziQhaiaB+tt9AFu1kwvYUPsIXNPoB9BAUfwAfwEUzKv/v4odGrroyp9/rUaC6rZ5skv5F8qPsfYYP+yKUMymmAEEeW55oUR4o8jr05KNzJ07yvB7w0KKfLwcQUSjfmMU0PJfPHFoEVU+ohNrcKMEzMQ23FDnVSI2dqtYWI7KlLu6vE4UnyvKc3SJuL7lBbeEEl42ItpGLjzIT8PRJCmkRjVpVpsbJFVN0687okJNZiHAr5Z7MV0BnGIDc+THM1zlbieBc1Fq+tH5BH+OpnbWkj40hSqC8Lw2TvFuF0SUFJCk2IytXbjeqcRAt6NHpnrUkUU4KRzZs8RCK8N/Akn2W04LwxMU/V7XK0bDyN2RxfDyx7I4h5vjZby72V8UnOWumZL3qtYc+8DTE0siSBMXGhywx2dMYPnQHbxdFZ7deiNGxCCtD/QWnbwDoGhRYPDzUdUA3krjpnkvdAgDN4ddLkEQSov9qjd42HaDjI34gEqS9TUueAk+sc4qg5ws407KQYKs8G1jv4xBlqBVk6cb4dISZIwVi1Jzu4+HLk6lyfUxkXvwy+1Q+4WVdHIhwfybZ6CWVhxMEhShOgsP/HOW0MvZJeFwAAAABJRU5ErkJggg==";var J={themes:[{body:"#ede7da url("+Te+") repeat",content:"#ede7da url("+qe+") repeat",popup:"#ede7da url("+Ge+") repeat"},{body:"#ede7da url("+Ze+") repeat",content:"#ede7da url("+Ye+") repeat",popup:"#ede7da url("+_e+") repeat"},{body:"#ede7da url("+Xe+") repeat",content:"#ede7da url("+je+") repeat",popup:"#ede7da url("+$e+") repeat"},{body:"#ede7da url("+et+") repeat",content:"#ede7da url("+tt+") repeat",popup:"#ede7da url("+ot+") repeat"},{body:"#ebcece repeat",content:"#f5e4e4 repeat",popup:"#faeceb repeat"},{body:"#ede7da url("+nt+") repeat",content:"#ede7da url("+st+") repeat",popup:"#ede7da url("+at+") repeat"},{body:"#ede7da url("+lt+") repeat",content:"#ede7da url("+it+") repeat",popup:"#ede7da url("+ct+") repeat"}],fonts:[{fontFamily:"Microsoft YaHei, PingFangSC-Regular, HelveticaNeue-Light, Helvetica Neue Light, sans-serif"},{fontFamily:"PingFangSC-Regular, -apple-system, Simsun"},{fontFamily:"Kaiti"}]};const At=["src"],rt=["innerHTML"],dt={__name:"ChapterContent",props:["carray"],setup(s){const a=s,c=ue(),h=v(()=>c.config.font>=0?J.fonts[c.config.font]:{fontFamily:c.config.customFontName}),l=v(()=>c.config.fontSize+"px"),D=v(()=>{let m=h.value;return m.fontSize=l.value,m});function B(m){const f=/
]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/;return m.match(f)[1]}return Z(l,()=>{c.setShowContent(!1),Ae(()=>{c.setShowContent(!0)})}),(m,f)=>(r(!0),g(le,null,ae(a.carray,(d,i)=>(r(),g("div",{key:i},[/^\s*
]*src[^>]+>$/.test(d)?(r(),g("img",{key:0,class:"full",src:B(d),loading:"lazy"},null,8,At)):(r(),g("p",{key:1,style:T(o(D)),innerHTML:d},null,12,rt))]))),128))}},ut=de(dt,[["__scopeId","data-v-f9132275"]]);const C=s=>(me("data-v-9f479a0b"),s=s(),be(),s),gt=C(()=>t("div",{class:"settings-title"},"设置",-1)),pt={class:"setting-list"},ft={class:"theme-list"},vt=C(()=>t("i",null,"阅读主题",-1)),ht=["onClick"],mt={key:0,class:"iconfont"},bt={key:1,class:"moon-icon"},yt={class:"font-list"},Bt=C(()=>t("i",null,"正文字体",-1)),Ct=["onClick"],kt={class:"font-list"},It=C(()=>t("i",null,"自定字体",-1)),St=C(()=>t("p",null," 请确认输入的字体名称完整无误,并且该字体已经安装在您的设备上。 ",-1)),Et=C(()=>t("p",null,"确定保存吗?",-1)),wt={style:{"text-align":"right",margin:"0"}},Ut=C(()=>t("span",{type:"text",class:"font-item"},"保存",-1)),Qt={class:"font-size"},Dt=C(()=>t("i",null,"字体大小",-1)),Vt={class:"resize"},Mt=C(()=>t("em",{class:"iconfont"},"",-1)),xt=[Mt],Rt=C(()=>t("b",null,null,-1)),Ft={class:"lang"},Ot=C(()=>t("b",null,null,-1)),Pt=C(()=>t("em",{class:"iconfont"},"",-1)),Kt=[Pt],Nt={key:0,class:"read-width"},Lt=C(()=>t("i",null,"页面宽度",-1)),Ht={class:"resize"},zt=C(()=>t("em",{class:"iconfont"},"",-1)),Jt=[zt],Wt=C(()=>t("b",null,null,-1)),Tt={class:"lang"},qt=C(()=>t("b",null,null,-1)),Gt=C(()=>t("em",{class:"iconfont"},"",-1)),Zt=[Gt],Yt={class:"infinite-loading"},_t=C(()=>t("i",null,"无限加载",-1)),Xt={__name:"ReadSettings",setup(s){const a=ue(),c=u(0),h=u(a.config.theme==6),l=u(""),D=Fe([{background:"rgba(250, 245, 235, 0.8)"},{background:"rgba(245, 234, 204, 0.8)"},{background:"rgba(230, 242, 230, 0.8)"},{background:"rgba(228, 241, 245, 0.8)"},{background:"rgba(245, 228, 228, 0.8)"},{background:"rgba(224, 224, 224, 0.8)"},{background:"rgba(0, 0, 0, 0.5)"}]),B=u({display:"inline",color:"rgba(255,255,255,0.2)"}),m=u(["雅黑","宋体","楷书"]),f=u(a.config.customFontName),d=u(!1);Ie(()=>{var b=a.config;c.value=b.theme,c.value==6?l.value="":l.value=""});const i=v(()=>a.config),V=v(()=>({background:J.themes[i.value.theme].popup})),x=v(()=>a.config.theme),S=v(()=>a.config.font),E=v(()=>a.config.fontSize),K=v(()=>a.config.readWidth),H=v(()=>a.config.infiniteLoading),R=b=>{b==6?(h.value=!0,l.value="",B.value.color="#ed4259"):(h.value=!1,l.value="",B.value.color="rgba(255,255,255,0.2)"),i.value.theme=b,N(i.value)},F=b=>{i.value.font=b,N(i.value)},p=()=>{i.value.font=-1,i.value.customFontName=f.value,N(i.value)},k=()=>{i.value.fontSize<48&&(i.value.fontSize+=2),N(i.value)},j=()=>{i.value.fontSize>12&&(i.value.fontSize-=2),N(i.value)},ge=()=>{i.value.readWidth+=160,N(i.value)},ie=()=>{i.value.readWidth>640&&(i.value.readWidth-=160),N(i.value)},$=b=>{i.value.infiniteLoading=b,N(i.value)},N=b=>{a.setConfig(b),localStorage.setItem("config",JSON.stringify(b)),ee(b)},ee=b=>{ve.saveReadConfig(b)};return(b,I)=>{const te=Ke,Y=Ne,G=Se;return r(),g("div",{class:Q(["settings-wrapper",{night:o(h),day:!o(h)}]),style:T(o(V))},[gt,t("div",pt,[t("ul",null,[t("li",ft,[vt,(r(!0),g(le,null,ae(o(D),(w,L)=>(r(),g("span",{class:Q(["theme-item",{selected:o(x)==L}]),key:L,style:T(w),ref_for:!0,ref:"themes",onClick:pe=>R(L)},[L<6?(r(),g("em",mt,"")):(r(),g("em",bt,X(o(l)),1))],14,ht))),128))]),t("li",yt,[Bt,(r(!0),g(le,null,ae(o(m),(w,L)=>(r(),g("span",{class:Q(["font-item",{selected:o(S)==L}]),key:L,onClick:pe=>F(L)},X(w),11,Ct))),128))]),t("li",kt,[It,q(te,{effect:"dark",content:"自定义的字体名称",placement:"top"},{default:W(()=>[Oe(t("input",{type:"text",class:"font-item font-item-input","onUpdate:modelValue":I[0]||(I[0]=w=>re(f)?f.value=w:null),placeholder:"请输入自定义的字体名称"},null,512),[[Pe,o(f)]])]),_:1}),q(G,{placement:"top",width:"180",trigger:"click",visible:o(d),"onUpdate:visible":I[3]||(I[3]=w=>re(d)?d.value=w:null)},{reference:W(()=>[Ut]),default:W(()=>[St,Et,t("div",wt,[q(Y,{size:"small",plain:"",onClick:I[1]||(I[1]=w=>d.value=!1)},{default:W(()=>[ce("取消")]),_:1}),q(Y,{type:"primary",size:"small",onClick:I[2]||(I[2]=w=>{p(),d.value=!1})},{default:W(()=>[ce("确定")]),_:1})])]),_:1},8,["visible"])]),t("li",Qt,[Dt,t("div",Vt,[t("span",{class:"less",onClick:j},xt),Rt,ce(),t("span",Ft,X(o(E)),1),Ot,t("span",{class:"more",onClick:k},Kt)])]),o(a).miniInterface?ne("",!0):(r(),g("li",Nt,[Lt,t("div",Ht,[t("span",{class:"less",onClick:ie},Jt),Wt,ce(),t("span",Tt,X(o(K)),1),qt,t("span",{class:"more",onClick:ge},Zt)])])),t("li",Yt,[_t,(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!1}]),key:0,onClick:I[4]||(I[4]=w=>$(!1))},"关闭",2)),(r(),g("span",{class:Q(["infinite-loading-item",{selected:o(H)==!0}]),key:1,onClick:I[5]||(I[5]=w=>$(!0))},"开启",2))])])])],6)}}},jt=de(Xt,[["__scopeId","data-v-9f479a0b"]]),$t=(s,a,c,h)=>(s/=h/2,s<1?c/2*s*s+a:(s--,-c/2*(s*(s-2)-1)+a)),eo=()=>{let s,a,c,h,l,D,B,m,f,d,i,V,x;function S(){let p=s.scrollTop||s.scrollY||s.pageYOffset;return p=typeof p>"u"?0:p,p}function E(p){const k=p.getBoundingClientRect().top,j=s.getBoundingClientRect?s.getBoundingClientRect().top:0;return k-j+c}function K(p){s.scrollTo?s.scrollTo(0,p):s.scrollTop=p}function H(p){d||(d=p),i=p-d,V=D(i,c,m,f),K(V),i(me("data-v-8da315d1"),s=s(),be(),s),oo=to(()=>t("div",{class:"title"},"目录",-1)),no={class:"cata"},so=["onClick"],ao={class:"log-text"},lo={__name:"PopCatalog",emits:["getContent"],setup(s,{emit:a}){const c=ue(),h=u(!1),{index:l}=he(c.readingBook),{catalog:D,popCataVisible:B}=Ee(c),m=v(()=>c.config.theme),f=v(()=>({background:J.themes[m.value].popup}));se(()=>{h.value=m.value==6});const d=u(),i=u();Z(B,()=>{Ae(()=>{let S=i.value;_(d.value[l.value],{container:S,duration:0})})});const V=S=>S==l.value,x=S=>{l.value=D.value.indexOf(S),c.setPopCataVisible(!1),c.setContentLoading(!0),a("getContent",l.value)};return(S,E)=>(r(),g("div",{class:"cata-wrapper",style:T(o(f))},[oo,t("div",{class:Q(["data-wrapper",{night:o(h),day:!o(h)}]),ref_key:"cataData",ref:i},[t("div",no,[(r(!0),g(le,null,ae(o(D),(K,H)=>(r(),g("div",{class:Q(["log",{selected:V(H)}]),key:K.durChapterIndex,onClick:R=>x(K),ref_for:!0,ref_key:"cata",ref:d},[t("div",ao,X(K.title),1)],10,so))),128))])],2)],4))}},io=de(lo,[["__scopeId","data-v-8da315d1"]]);const M=s=>(me("data-v-23e7abbd"),s=s(),be(),s),co={class:"tools"},Ao=M(()=>t("div",{class:"iconfont"},"",-1)),ro=M(()=>t("div",{class:"icon-text"},"目录",-1)),uo=[Ao,ro],go=M(()=>t("div",{class:"iconfont"},"",-1)),po=M(()=>t("div",{class:"icon-text"},"设置",-1)),fo=[go,po],vo=M(()=>t("div",{class:"iconfont"},"",-1)),ho=M(()=>t("div",{class:"icon-text"},"书架",-1)),mo=[vo,ho],bo=M(()=>t("div",{class:"iconfont"},"",-1)),yo=M(()=>t("div",{class:"icon-text"},"顶部",-1)),Bo=[bo,yo],Co=M(()=>t("div",{class:"iconfont"},"",-1)),ko=M(()=>t("div",{class:"icon-text"},"底部",-1)),Io=[Co,ko],So={class:"tools"},Eo=M(()=>t("div",{class:"iconfont"},"",-1)),wo={key:0},Uo={key:0},Qo=M(()=>t("div",{class:"iconfont"},"",-1)),Do=M(()=>t("div",{class:"chapter-bar"},null,-1)),Vo={class:"content"},Mo=["index"],xo={__name:"BookChapter",setup(s){const a=u(!1),c=u(null),h=u();Z(a,e=>{var n;if(!e)return(n=c.value)==null?void 0:n.close();c.value=Je.service({target:h.value,spinner:We,text:"正在获取信息",lock:!0})});const l=ue();try{const e=JSON.parse(localStorage.getItem("config"));e!=null&&l.setConfig(e)}catch{localStorage.removeItem("config")}const D=u(),B=u(!0),m=u(!1),f=u([]),d=u(null),i=u(null),{catalog:V,popCataVisible:x,readSettingsVisible:S,miniInterface:E,showContent:K}=Ee(l),{chapterPos:H,index:R}=he(l.readingBook),{theme:F,infiniteLoading:p}=he(l.config),k=v(()=>J.themes[F.value].body),j=v(()=>J.themes[F.value].content),ge=v(()=>J.themes[F.value].popup),ie=v(()=>E.value?window.innerWidth+"px":l.config.readWidth-130+"px"),$=v(()=>E.value?window.innerWidth-33:l.config.readWidth-33),N=v(()=>({background:J.themes[F.value].body})),ee=v(()=>({background:J.themes[F.value].content,width:ie.value})),b=v(()=>({background:J.themes[F.value].popup,marginLeft:E.value?0:-(l.config.readWidth/2+68)+"px",display:E.value&&!m.value?"none":"block"})),I=v(()=>({background:J.themes[F.value].popup,marginRight:E.value?0:-(l.config.readWidth/2+52)+"px",display:E.value&&!m.value?"none":"block"})),te=u(!1);se(()=>{te.value=F.value==6}),Z(k,e=>{N.value.background=e}),Z(j,e=>{ee.value.background=e}),Z(ie,e=>{ee.value.width=e;let n=-((parseInt(e)+130)/2+68)+"px",O=-((parseInt(e)+130)/2+52)+"px";b.value.marginLeft=n,I.value.marginRight=O}),Z(ge,e=>{b.value.background=e,I.value.background=e}),se(()=>{f.value.length>0&&(l.setContentLoading(!1),xe())}),se(()=>{var e;document.title=((e=V.value[R.value])==null?void 0:e.title)||document.title,l.saveBookProcess()}),se(()=>{var e,n;p.value?(n=d.value)==null||n.observe(D.value):(e=d.value)==null||e.disconnect()});const Y=u(),G=(e,n=!0,O=0)=>{n&&(l.setShowContent(!1),a.value=!0,_(Y.value,{duration:0}),Ue(e,O));let y=sessionStorage.getItem("bookUrl"),{title:P,index:U}=V.value[e];ve.getBookContent(y,U).then(A=>{if(A.data.isSuccess){let Re=A.data.data.split(/\n+/);fe({index:e,content:Re,title:P},n)}else{z({message:A.data.errorMsg,type:"error"});let oe=[A.data.errorMsg];fe({index:e,content:oe,title:P},n)}if(l.setContentLoading(!0),a.value=!1,B.value=!1,l.setShowContent(!0),!A.data.isSuccess)throw A.data},A=>{throw z({message:"获取章节内容失败",type:"error"}),fe({index:e,content:["获取章节内容失败!"],title:P},n),a.value=!1,l.setShowContent(!0),A})},w=u(),L=u(),pe=()=>{_(Y.value)},we=()=>{_(L.value)},ye=()=>{l.setContentLoading(!0);let e=R.value+1;typeof V.value[e]<"u"?(z({message:"下一章",type:"info"}),G(e)):z({message:"本章是最后一章",type:"error"})},Be=()=>{l.setContentLoading(!0);let e=R.value-1;typeof V.value[e]<"u"?(z({message:"上一章",type:"info"}),G(e)):z({message:"本章是第一章",type:"error"})},Ue=(e,n=H.value)=>{let O=sessionStorage.getItem("bookUrl");var y=JSON.parse(localStorage.getItem(O));y.index=e,y.chapterPos=n,localStorage.setItem(O,JSON.stringify(y)),y=JSON.parse(localStorage.getItem("readingRecent")),y.chapterIndex=e,y.chapterPos=n,localStorage.setItem("readingRecent",JSON.stringify(y)),R.value=e,H.value=n,sessionStorage.setItem("chapterIndex",e),sessionStorage.setItem("chapterPos",String(n))},fe=async(e,n)=>{n&&f.value.splice(0),f.value.push(e)},Qe=()=>{let e=f.value.slice(-1)[0].index;V.value.length-1>e&&G(e+1,!1)},De=Le(),Ce=()=>{De.push("/")},ke=e=>{switch(e.key){case"ArrowLeft":e.stopPropagation(),e.preventDefault(),Be();break;case"ArrowRight":e.stopPropagation(),e.preventDefault(),ye();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),document.documentElement.scrollTop===0?z({message:"已到达页面顶部",type:"warn"}):_(0-document.documentElement.clientHeight+100);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),document.documentElement.clientHeight+document.documentElement.scrollTop===document.documentElement.scrollHeight?z({message:"已到达页面底部",type:"warn"}):_(document.documentElement.clientHeight-100);break}},Ve=e=>{if(!a.value)for(let{isIntersecting:n}of e){if(!n)return;Qe()}},Me=e=>{Ae(()=>{for(let{isIntersecting:n,target:O,boundingClientRect:y}of e){let P=O.querySelector(".title");if(!P)return;let U=parseInt(P.getAttribute("index"));n?R.value=U:y.top<0?R.value=U+1:R.value=U-1}})},xe=()=>{Ae(()=>{let e=w.value;e&&e.forEach(n=>i.value.observe(n))})};return Ie(()=>{a.value=!0;let e=sessionStorage.getItem("bookUrl"),n=sessionStorage.getItem("bookName"),O=sessionStorage.getItem("bookAuthor"),y=Number(sessionStorage.getItem("chapterIndex")||0),P=Number(sessionStorage.getItem("chapterPos")||0);var U=JSON.parse(localStorage.getItem(e));(U==null||y!=U.index||P!=U.chapterPos)&&(U={bookName:n,bookAuthor:O,bookUrl:e,index:y,chapterPos:P},localStorage.setItem(e,JSON.stringify(U))),ve.getChapterList(e).then(A=>{if(a.value=!1,!A.data.isSuccess){z({message:A.data.errorMsg,type:"error"}),setTimeout(Ce,500);return}let oe=A.data.data;l.setCatalog(oe),l.setReadingBook(U),G(y,!0,P),window.addEventListener("keyup",ke),d.value=new IntersectionObserver(Ve,{rootMargin:"-100% 0% 20% 0%"}),p.value&&d.value.observe(D.value),i.value=new IntersectionObserver(Me),document.title=null,document.title=n+" | "+V.value[y].title},A=>{throw a.value=!1,z({message:"获取书籍目录失败",type:"error"}),A})}),He(()=>{var e,n;window.removeEventListener("keyup",ke),S.value=!1,x.value=!1,(e=d.value)==null||e.disconnect(),(n=i.value)==null||n.disconnect()}),(e,n)=>{const O=io,y=Se,P=jt,U=ut;return r(),g("div",{class:Q(["chapter-wrapper",{night:o(te),day:!o(te)}]),style:T(o(N)),onClick:n[2]||(n[2]=A=>m.value=!o(m))},[t("div",{class:"tool-bar",style:T(o(b))},[t("div",co,[q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(x),"onUpdate:visible":n[0]||(n[0]=A=>re(x)?x.value=A:null),"popper-class":"pop-cata"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},uo,2)]),default:W(()=>[q(O,{onGetContent:G,class:"popup"})]),_:1},8,["width","visible"]),q(y,{placement:"right",width:o($),trigger:"click","show-arrow":!1,visible:o(S),"onUpdate:visible":n[1]||(n[1]=A=>re(S)?S.value=A:null),"popper-class":"pop-setting"},{reference:W(()=>[t("div",{class:Q(["tool-icon",{"no-point":o(B)}])},fo,2)]),default:W(()=>[q(P,{class:"popup"})]),_:1},8,["width","visible"]),t("div",{class:"tool-icon",onClick:Ce},mo),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:pe},Bo,2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:we},Io,2)])],4),t("div",{class:"read-bar",style:T(o(I))},[t("div",So,[t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:Be},[Eo,o(E)?(r(),g("span",wo,"上一章")):ne("",!0)],2),t("div",{class:Q(["tool-icon",{"no-point":o(B)}]),onClick:ye},[o(E)?(r(),g("span",Uo,"下一章")):ne("",!0),Qo],2)])],4),Do,t("div",{class:"chapter",ref_key:"content",ref:h,style:T(o(ee))},[t("div",Vo,[t("div",{class:"top-bar",ref_key:"top",ref:Y},null,512),(r(!0),g(le,null,ae(o(f),A=>(r(),g("div",{key:A.index,ref_for:!0,ref_key:"chapter",ref:w},[o(K)?(r(),g("div",{key:0,class:"title",index:A.index},X(A.title),9,Mo)):ne("",!0),o(K)?(r(),ze(U,{key:1,carray:A.content},null,8,["carray"])):ne("",!0)]))),128)),t("div",{class:"loading",ref_key:"loading",ref:D},null,512),t("div",{class:"bottom-bar",ref_key:"bottom",ref:L},null,512)])],4)],6)}}},Po=de(xo,[["__scopeId","data-v-23e7abbd"]]);export{Po as default};
diff --git a/app/src/main/assets/web/vue/assets/BookShelf-01102f6c.js b/app/src/main/assets/web/vue/assets/BookShelf-01102f6c.js
new file mode 100644
index 000000000..22825491f
--- /dev/null
+++ b/app/src/main/assets/web/vue/assets/BookShelf-01102f6c.js
@@ -0,0 +1 @@
+import{a0 as Q,a1 as q,m as $,o as m,d as w,g as e,F as V,y as b,A as u,a2 as k,a3 as y,c as G,w as E,f as z,u as n,a4 as X,a5 as L,p as N,i as W,s as j,k as g,P as ee,J as P,a6 as te,R as se,B as x,e as C,n as ae,K as oe,z as J,C as ne,q as ce,a7 as re}from"./vendor-ea0dcfac.js";import{_ as Y,u as le,A as M}from"./index-c6205bca.js";import{l as ie}from"./el-loading-15d78e2b.js";const de=l=>{let c=new Date().getTime(),o=Math.floor((c-l)/1e3),d="";return o<=30?d="刚刚":o<60?d=o+"秒前":o<3600?d=Math.floor(o/60)+"分钟前":o<86400?d=Math.floor(o/3600)+"小时前":o<2592e3?d=Math.floor(o/86400)+"天前":d=Q(new Date(l),"YYYY-MM-DD"),d};const Z=l=>(N("data-v-cc526b5e"),l=l(),W(),l),ue={class:"books-wrapper"},he={class:"wrapper"},pe=["onClick"],_e={class:"cover-img"},ve=["src"],fe={class:"info"},ge={class:"name"},me={class:"sub"},we={class:"author"},Ae={class:"tags"},Ie={class:"update-info"},Be=Z(()=>e("div",{class:"dot"},"•",-1)),Se={class:"size"},ke=Z(()=>e("div",{class:"dot"},"•",-1)),ye={class:"date"},xe={class:"last-chapter"},Ce={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(l,{emit:c}){const o=l;q(s=>({c1738ac2:n(A)}));const d=s=>c("bookClick",X(s)),R=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),A=$(()=>o.isSearch?"space-between":"flex-start");return(s,_)=>{const I=L;return m(),w("div",ue,[e("div",he,[(m(!0),w(V,null,b(o.books,r=>(m(),w("div",{class:"book",key:r.noteUrl,onClick:i=>d(r)},[e("div",_e,[(m(),w("img",{class:"cover",src:R(r.coverUrl),key:r.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",fe,[e("div",ge,u(r.name),1),e("div",me,[e("div",we,u(r.author),1),k(e("div",Ae,[(m(!0),w(V,null,b(r.kind.split(",").slice(0,2),i=>(m(),G(I,{key:i},{default:E(()=>[z(u(i),1)]),_:2},1024))),128))],512),[[y,o.isSearch]]),k(e("div",Ie,[Be,e("div",Se,"共"+u(r.totalChapterNum)+"章",1),ke,e("div",ye,u(n(de)(r.lastCheckTime)),1)],512),[[y,!o.isSearch]])]),k(e("div",{class:"intro"},u(r.intro),513),[[y,o.isSearch]]),k(e("div",{class:"dur-chapter"}," 已读:"+u(r.durChapterTitle),513),[[y,!o.isSearch]]),e("div",xe,"最新:"+u(r.latestChapterTitle),1)])],8,pe))),128))])])}}},Re=Y(Ce,[["__scopeId","data-v-cc526b5e"]]);const Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T0QLt2B4AxZo9S6qX/yXhT1jn3cpqme3IbSwDM/DgAvNlu3Dm3Uyl1HAA2IOJ2EdleEu5Io9H4EBHPVCqVLSISRsMuInrLazUBpqamhoaGhr4TkRsDgLVpmtbzPmPMLQBwOwD4vvzxw8P5IyJztVrtVL4my7L1iPhTx7Yj/jw/P79pfHx8vgmQZdkLiPhK+O8GBgauqVarv5f819FpxpjLlVJ/hYMi8mKSJHubAMz8KwBcF1EYI6IjqwRIlFImonGWiNZhlmVVRDxWYGTVAMx8HwB8EtMXka1orT0gIo9GJrxNRLH+FW8IMx8EgEeW5QDEgx5gTkQ2Bk7yr9b60hVb6rKAmc8BwJWBne+x4P3XiWhtPwGstV9FzpSzHuBvALgsMHaaiDp2ZbUwWZZNIuKuQOcfD7AAAJeEcaq1Xr9ao+3rmdknnscCzQse4LdWEukYazQaa2q12vl+QTDztwCwOdCr+zA8iYi3RQwREdl+ADDz9QDwIwB0OLaInPJRcEhEHoyEyAmt9d39ALDW2lg1hYjv+lfgC4WJgkTxcJIkPcuqbpC+qgKATwvm7PYAGwDgdBeRZ4notYvZCWPMDqXUe13W3to8C6y10yJyv//u6zj/2R6ziPiRiBwt6xPMrBExFZEdRcYR8WOt9bb8MNoKAJ+3Jvtwed05d4dSKtz+c4h4VGsdrRWttZMici8AXFVix+4homNLBUmWZQcQMc/9x4mommXZ84i4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==";const T=l=>(N("data-v-0fc06008"),l=l(),W(),l),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},Te=T(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),De={class:"search-wrapper"},Ve={class:"bottom-wrapper"},be={class:"recent-wrapper"},Pe=T(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Le={class:"setting-wrapper"},Ne=T(()=>e("div",{class:"setting-title"},"基本设定",-1)),We={class:"setting-item"},Ye={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},He={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(l){const c=le(),{connectStatus:o,connectType:d,newConnect:R,shelf:A}=j(c),s=g({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),_=g(!1),I=g(null),r=g(null);ee(_,t=>{var a;if(!t)return(a=r.value)==null?void 0:a.close();r.value=re.service({target:I.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const i=g([]);P(()=>{i.value.length>0&&(_.value=!1)});const h=g(""),B=g(!1);P(()=>{if(!(B.value&&h.value!="")){if(B.value=!1,i.value=[],h.value==""){i.value=A.value;return}i.value=A.value.filter(t=>t.name.includes(h.value)||t.author.includes(h.value))}});const H=()=>{h.value!=""&&(i.value=[],c.clearSearchBooks(),_.value=!0,B.value=!0,M.search(h.value,t=>{try{c.setSearchBooks(JSON.parse(t)),c.searchBooks.forEach(a=>i.value.push(a))}catch(a){throw x.error("后端数据错误"),a}},()=>{_.value=!1,i.value.length==0&&x.info("搜索结果为空")}))},K=()=>{},O=te(),F=async t=>{const{bookUrl:a,name:v,author:p,durChapterIndex:f=0,durChapterPos:S=0}=t;await M.saveBook(t),D(a,v,p,f,S)},D=(t,a,v,p,f)=>{a!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",t),sessionStorage.setItem("bookName",a),sessionStorage.setItem("bookAuthor",v),sessionStorage.setItem("chapterIndex",p),sessionStorage.setItem("chapterPos",f),s.value={name:a,author:v,url:t,chapterIndex:p,chapterPos:f},localStorage.setItem("readingRecent",JSON.stringify(s.value)),O.push({path:"/chapter"}))};se(async()=>{let t=localStorage.getItem("readingRecent");t!=null&&(s.value=JSON.parse(t),typeof s.value.chapterIndex>"u"&&(s.value.chapterIndex=0)),_.value=!0,U()});const U=()=>{M.getBookShelf().then(t=>{c.setConnectType("success"),t.data.isSuccess?c.addBooks(t.data.data.sort(function(a,v){var p=a.durChapterTime||0,f=v.durChapterTime||0;return f-p})):(x.error(t.data.errorMsg),_.value=!1),c.setConnectStatus("已连接 "),c.setNewConnect(!1)}).catch(function(t){throw _.value=!1,c.setConnectType("danger"),c.setConnectStatus("连接失败"),x.error("后端连接失败"),c.setNewConnect(!1),t})};return(t,a)=>{const v=ne,p=L,f=Re;return m(),w("div",Ee,[e("div",ze,[Te,e("div",De,[C(v,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:n(h),"onUpdate:modelValue":a[0]||(a[0]=S=>ae(h)?h.value=S:null),class:"search-input","prefix-icon":n(ce),onKeyup:oe(H,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",Ve,[e("div",be,[Pe,e("div",Je,[C(p,{type:n(s).name=="尚无阅读记录"?"warning":"",class:J(["recent-book",{"no-point":n(s).url==""}]),size:"large",onClick:a[1]||(a[1]=S=>D(n(s).url,n(s).name,n(s).author,n(s).chapterIndex,n(s).chapterPos))},{default:E(()=>[z(u(n(s).name),1)]),_:1},8,["type","class"])])]),e("div",Le,[Ne,e("div",We,[C(p,{type:n(d),size:"large",class:J(["setting-connect",{"no-point":n(R)}]),onClick:K},{default:E(()=>[z(u(n(o)),1)]),_:1},8,["type","class"])])])]),e("div",Ye,[e("a",Ze,[e("div",He,[e("img",{src:n(Me),alt:""},null,8,Ke)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:I},[C(f,{books:n(i),onBookClick:F,isSearch:n(B)},null,8,["books","isSearch"])],512)])}}},qe=Y(Oe,[["__scopeId","data-v-0fc06008"]]);export{qe as default};
diff --git a/app/src/main/assets/web/vue/assets/BookShelf-fb0e6833.css b/app/src/main/assets/web/vue/assets/BookShelf-1436f5ed.css
similarity index 65%
rename from app/src/main/assets/web/vue/assets/BookShelf-fb0e6833.css
rename to app/src/main/assets/web/vue/assets/BookShelf-1436f5ed.css
index ed84ae633..b9ec2412c 100644
--- a/app/src/main/assets/web/vue/assets/BookShelf-fb0e6833.css
+++ b/app/src/main/assets/web/vue/assets/BookShelf-1436f5ed.css
@@ -1 +1 @@
-@charset "UTF-8";.books-wrapper[data-v-cc526b5e]{overflow:scroll}.books-wrapper .wrapper[data-v-cc526b5e]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-cc526b5e]{user-select:none;display:flex;cursor:pointer;margin-bottom:18px;padding:24px;width:360px;flex-direction:row;justify-content:space-around}.books-wrapper .wrapper .book .cover-img[data-v-cc526b5e],.books-wrapper .wrapper .book .cover-img .cover[data-v-cc526b5e]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-cc526b5e]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1}.books-wrapper .wrapper .book .info .name[data-v-cc526b5e]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-cc526b5e]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--c1738ac2);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-cc526b5e] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-cc526b5e]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-cc526b5e]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-cc526b5e],.books-wrapper .wrapper .book .info .dur-chapter[data-v-cc526b5e],.books-wrapper .wrapper .book .info .last-chapter[data-v-cc526b5e]{color:#969ba3;font-size:13px;margin-top:3px;font-weight:500;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}.books-wrapper .wrapper .book[data-v-cc526b5e]:hover{background:rgba(0,0,0,.1);transition-duration:.5s}.books-wrapper .wrapper[data-v-cc526b5e]:last-child{margin-right:auto}.books-wrapper[data-v-cc526b5e]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-cc526b5e]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-cc526b5e]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./shelffont-16b1b95a.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-d93b1062]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-d93b1062]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-d93b1062]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-d93b1062]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-d93b1062]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-d93b1062] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-d93b1062]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-d93b1062]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-d93b1062]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-d93b1062]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-d93b1062]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-d93b1062]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-d93b1062]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-d93b1062]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-d93b1062]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-d93b1062]{padding:48px;width:100%;display:flex;flex-direction:column}.index-wrapper .shelf-wrapper[data-v-d93b1062] .el-loading-mask{background-color:#0000}.index-wrapper .shelf-wrapper[data-v-d93b1062] .el-loading-spinner{font-size:36px;color:#b5b5b5}.index-wrapper .shelf-wrapper[data-v-d93b1062] .el-loading-text{font-weight:500;color:#b5b5b5}@media screen and (max-width: 750px){.index-wrapper[data-v-d93b1062]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-d93b1062]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-d93b1062]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-d93b1062],.index-wrapper .navigation-wrapper .bottom-icons[data-v-d93b1062]{display:none}.index-wrapper .shelf-wrapper[data-v-d93b1062]{padding:0}.index-wrapper .shelf-wrapper[data-v-d93b1062] .el-loading-spinner{display:none}}
+@charset "UTF-8";.books-wrapper[data-v-cc526b5e]{overflow:scroll}.books-wrapper .wrapper[data-v-cc526b5e]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-cc526b5e]{user-select:none;display:flex;cursor:pointer;margin-bottom:18px;padding:24px;width:360px;flex-direction:row;justify-content:space-around}.books-wrapper .wrapper .book .cover-img[data-v-cc526b5e],.books-wrapper .wrapper .book .cover-img .cover[data-v-cc526b5e]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-cc526b5e]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1}.books-wrapper .wrapper .book .info .name[data-v-cc526b5e]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-cc526b5e]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--c1738ac2);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-cc526b5e] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-cc526b5e]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-cc526b5e]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-cc526b5e],.books-wrapper .wrapper .book .info .dur-chapter[data-v-cc526b5e],.books-wrapper .wrapper .book .info .last-chapter[data-v-cc526b5e]{color:#969ba3;font-size:13px;margin-top:3px;font-weight:500;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;text-align:left}.books-wrapper .wrapper .book[data-v-cc526b5e]:hover{background:rgba(0,0,0,.1);transition-duration:.5s}.books-wrapper .wrapper[data-v-cc526b5e]:last-child{margin-right:auto}.books-wrapper[data-v-cc526b5e]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-cc526b5e]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-cc526b5e]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}@font-face{font-family:FZZCYSK;src:local("\263a"),url(./shelffont-16b1b95a.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-0fc06008]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-0fc06008]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-0fc06008]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-0fc06008]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-0fc06008]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-0fc06008] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-0fc06008]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-0fc06008]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-0fc06008]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-0fc06008]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-0fc06008]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-0fc06008]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-0fc06008]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-0fc06008]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-0fc06008]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-0fc06008]{padding:48px;width:100%;display:flex;flex-direction:column}.index-wrapper .shelf-wrapper[data-v-0fc06008] .el-loading-mask{background-color:#0000}.index-wrapper .shelf-wrapper[data-v-0fc06008] .el-loading-spinner{font-size:36px;color:#b5b5b5}.index-wrapper .shelf-wrapper[data-v-0fc06008] .el-loading-text{font-weight:500;color:#b5b5b5}@media screen and (max-width: 750px){.index-wrapper[data-v-0fc06008]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-0fc06008]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-0fc06008]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-0fc06008],.index-wrapper .navigation-wrapper .bottom-icons[data-v-0fc06008]{display:none}.index-wrapper .shelf-wrapper[data-v-0fc06008]{padding:0}.index-wrapper .shelf-wrapper[data-v-0fc06008] .el-loading-spinner{display:none}}
diff --git a/app/src/main/assets/web/vue/assets/BookShelf-31d73958.js b/app/src/main/assets/web/vue/assets/BookShelf-31d73958.js
deleted file mode 100644
index 11c6dca8b..000000000
--- a/app/src/main/assets/web/vue/assets/BookShelf-31d73958.js
+++ /dev/null
@@ -1 +0,0 @@
-import{a0 as Q,a1 as q,m as $,o as f,d as w,g as e,F as D,y as V,A as u,a2 as y,a3 as k,c as G,w as E,f as z,u as n,a4 as X,a5 as L,p as N,i as W,s as j,k as m,P as ee,J as P,a6 as te,R as se,B as R,e as x,n as ae,K as oe,z as J,C as ne,q as ce,a7 as re}from"./vendor-ea0dcfac.js";import{_ as Y,u as le,A as M}from"./index-7eaea170.js";import{l as ie}from"./el-loading-15d78e2b.js";const de=l=>{let c=new Date().getTime(),o=Math.floor((c-l)/1e3),i="";return o<=30?i="刚刚":o<60?i=o+"秒前":o<3600?i=Math.floor(o/60)+"分钟前":o<86400?i=Math.floor(o/3600)+"小时前":o<2592e3?i=Math.floor(o/86400)+"天前":i=Q(new Date(l),"YYYY-MM-DD"),i};const Z=l=>(N("data-v-cc526b5e"),l=l(),W(),l),ue={class:"books-wrapper"},he={class:"wrapper"},pe=["onClick"],_e={class:"cover-img"},ve=["src"],ge={class:"info"},me={class:"name"},fe={class:"sub"},we={class:"author"},Ae={class:"tags"},Ie={class:"update-info"},Be=Z(()=>e("div",{class:"dot"},"•",-1)),Se={class:"size"},ye=Z(()=>e("div",{class:"dot"},"•",-1)),ke={class:"date"},xe={class:"last-chapter"},Ce={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(l,{emit:c}){const o=l;q(s=>({c1738ac2:n(A)}));const i=s=>c("bookClick",X(s)),C=s=>/^data:/.test(s)?s:location.origin+"/cover?path="+encodeURIComponent(s),A=$(()=>o.isSearch?"space-between":"flex-start");return(s,g)=>{const I=L;return f(),w("div",ue,[e("div",he,[(f(!0),w(D,null,V(o.books,r=>(f(),w("div",{class:"book",key:r.noteUrl,onClick:d=>i(r)},[e("div",_e,[(f(),w("img",{class:"cover",src:C(r.coverUrl),key:r.coverUrl,alt:"",loading:"lazy"},null,8,ve))]),e("div",ge,[e("div",me,u(r.name),1),e("div",fe,[e("div",we,u(r.author),1),y(e("div",Ae,[(f(!0),w(D,null,V(r.kind.split(",").slice(0,2),d=>(f(),G(I,{key:d},{default:E(()=>[z(u(d),1)]),_:2},1024))),128))],512),[[k,o.isSearch]]),y(e("div",Ie,[Be,e("div",Se,"共"+u(r.totalChapterNum)+"章",1),ye,e("div",ke,u(n(de)(r.lastCheckTime)),1)],512),[[k,!o.isSearch]])]),y(e("div",{class:"intro"},u(r.intro),513),[[k,o.isSearch]]),y(e("div",{class:"dur-chapter"}," 已读:"+u(r.durChapterTitle),513),[[k,!o.isSearch]]),e("div",xe,"最新:"+u(r.latestChapterTitle),1)])],8,pe))),128))])])}}},Re=Y(Ce,[["__scopeId","data-v-cc526b5e"]]);const Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAECUlEQVRYR7WXTYhcRRDHq3pY9yKrYBQ8KBsjgvHgwRhiQBTjYZm4Xe8NusawhwS/o9GLoKhgBGPAgJd1NdGIXwtZTbRf9Rqzl6gHTVyDeIkIgnEOghAM6oKHzTJd0sO8Zaa338zb7NjwmJn++Ndv+lVVVyOsoM3Ozl69sLBAiHiDc26NUuoKv9w5d14p9aeI/DI4OMgjIyN/lJXFMhOttQ8BgBaR0TLzEXEGAKzW+lCv+V0BmLmGiLtF5M5eQrFxRPxaRCaI6LOi9YUAzPwGADxxMYYjayaJ6MkoZKyTmU8AwF19Mp7LfElEW0LNZTvAzIcBYFufjedy00T0QLt2B4AxZo9S6qX/yXhT1jn3cpqme3IbSwDM/DgAvNlu3Dm3Uyl1HAA2IOJ2EdleEu5Io9H4EBHPVCqVLSISRsMuInrLazUBpqamhoaGhr4TkRsDgLVpmtbzPmPMLQBwOwD4vvzxw8P5IyJztVrtVL4my7L1iPhTx7Yj/jw/P79pfHx8vgmQZdkLiPhK+O8GBgauqVarv5f819FpxpjLlVJ/hYMi8mKSJHubAMz8KwBcF1EYI6IjqwRIlFImonGWiNZhlmVVRDxWYGTVAMx8HwB8EtMXka1orT0gIo9GJrxNRLH+FW8IMx8EgEeW5QDEgx5gTkQ2Bk7yr9b60hVb6rKAmc8BwJWBne+x4P3XiWhtPwGstV9FzpSzHuBvALgsMHaaiDp2ZbUwWZZNIuKuQOcfD7AAAJeEcaq1Xr9ao+3rmdknnscCzQse4LdWEukYazQaa2q12vl+QTDztwCwOdCr+zA8iYi3RQwREdl+ADDz9QDwIwB0OLaInPJRcEhEHoyEyAmt9d39ALDW2lg1hYjv+lfgC4WJgkTxcJIkPcuqbpC+qgKATwvm7PYAGwDgdBeRZ4notYvZCWPMDqXUe13W3to8C6y10yJyv//u6zj/2R6ziPiRiBwt6xPMrBExFZEdRcYR8WOt9bb8MNoKAJ+3Jvtwed05d4dSKtz+c4h4VGsdrRWttZMici8AXFVix+4homNLBUmWZQcQMc/9x4mommXZ84i4t11MKbV5dHR06bxvH5uZmbnZOfdN6O0RmMNE1CxulgCstdeKyBcAcFPrVTyltZ4wxiSVSuXplkhda72zh9P1rClFZFOSJHMdAP5Hq3rxR6eH+IGIvIOuqFlr94nIc10WdRzxy6riAMJnr2nn3JlcME3TppMWNWvtfhF5pmB8WX0RvZgEEEtaYUUbM2KtfUdE/FUubNHipvBmZIxZp5TaDwBprlQGIHLqzSHiPq01x4B7Xk6Z2d8TfDwPlwFozfd1f90598Hi4uKrY2NjFwrzQVkP81nNi/byAWOMv8gOp2n6fhnt/wDqJrRWLmhIrwAAAABJRU5ErkJggg==";const b=l=>(N("data-v-d93b1062"),l=l(),W(),l),Ee={class:"index-wrapper"},ze={class:"navigation-wrapper"},be=b(()=>e("div",{class:"navigation-title-wrapper"},[e("div",{class:"navigation-title"},"阅读"),e("div",{class:"navigation-sub-title"},"清风不识字,何故乱翻书")],-1)),Te={class:"search-wrapper"},De={class:"bottom-wrapper"},Ve={class:"recent-wrapper"},Pe=b(()=>e("div",{class:"recent-title"},"最近阅读",-1)),Je={class:"reading-recent"},Le={class:"setting-wrapper"},Ne=b(()=>e("div",{class:"setting-title"},"基本设定",-1)),We={class:"setting-item"},Ye={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},He={class:"bottom-icon"},Ke=["src"],Oe={__name:"BookShelf",setup(l){const c=le(),{connectStatus:o,connectType:i,newConnect:C,shelf:A}=j(c),s=m({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0}),g=m(!1),I=m(null),r=m(null);ee(g,t=>{var a;if(!t)return(a=r.value)==null?void 0:a.close();r.value=re.service({target:I.value,spinner:ie,text:"正在获取书籍信息",lock:!0})});const d=m([]);P(()=>{d.value.length>0&&(g.value=!1)});const h=m(""),B=m(!1);P(()=>{if(!(B.value&&h.value!="")){if(B.value=!1,d.value=[],h.value==""){d.value=A.value;return}d.value=A.value.filter(t=>t.name.includes(h.value)||t.author.includes(h.value))}});const H=()=>{h.value!=""&&(d.value=[],c.clearSearchBooks(),g.value=!0,B.value=!0,M.search(h.value,t=>{try{c.setSearchBooks(JSON.parse(t)),c.searchBooks.forEach(a=>d.value.push(a))}catch(a){throw R({message:"后端数据错误",type:"error"}),a}},()=>g.value=!1))},K=()=>{},O=te(),F=async t=>{const{bookUrl:a,name:_,author:p,durChapterIndex:v=0,durChapterPos:S=0}=t;await M.saveBook(t),T(a,_,p,v,S)},T=(t,a,_,p,v)=>{a!=="尚无阅读记录"&&(sessionStorage.setItem("bookUrl",t),sessionStorage.setItem("bookName",a),sessionStorage.setItem("bookAuthor",_),sessionStorage.setItem("chapterIndex",p),sessionStorage.setItem("chapterPos",v),s.value={name:a,author:_,url:t,chapterIndex:p,chapterPos:v},localStorage.setItem("readingRecent",JSON.stringify(s.value)),O.push({path:"/chapter"}))};se(async()=>{let t=localStorage.getItem("readingRecent");t!=null&&(s.value=JSON.parse(t),typeof s.value.chapterIndex>"u"&&(s.value.chapterIndex=0)),g.value=!0,U()});const U=()=>{M.getBookShelf().then(t=>{c.setConnectType("success"),t.data.isSuccess?c.addBooks(t.data.data.sort(function(a,_){var p=a.durChapterTime||0,v=_.durChapterTime||0;return v-p})):R({message:t.data.errorMsg,type:"error"}),c.setConnectStatus("已连接 "),c.setNewConnect(!1)}).catch(function(t){throw g.value=!1,c.setConnectType("danger"),c.setConnectStatus("连接失败"),R({message:"后端连接失败",type:"error"}),c.setNewConnect(!1),t})};return(t,a)=>{const _=ne,p=L,v=Re;return f(),w("div",Ee,[e("div",ze,[be,e("div",Te,[x(_,{placeholder:"搜索书籍,在线书籍自动加入书架",modelValue:n(h),"onUpdate:modelValue":a[0]||(a[0]=S=>ae(h)?h.value=S:null),class:"search-input","prefix-icon":n(ce),onKeyup:oe(H,["enter"])},null,8,["modelValue","prefix-icon","onKeyup"])]),e("div",De,[e("div",Ve,[Pe,e("div",Je,[x(p,{type:n(s).name=="尚无阅读记录"?"warning":"",class:J(["recent-book",{"no-point":n(s).url==""}]),size:"large",onClick:a[1]||(a[1]=S=>T(n(s).url,n(s).name,n(s).author,n(s).chapterIndex,n(s).chapterPos))},{default:E(()=>[z(u(n(s).name),1)]),_:1},8,["type","class"])])]),e("div",Le,[Ne,e("div",We,[x(p,{type:n(i),size:"large",class:J(["setting-connect",{"no-point":n(C)}]),onClick:K},{default:E(()=>[z(u(n(o)),1)]),_:1},8,["type","class"])])])]),e("div",Ye,[e("a",Ze,[e("div",He,[e("img",{src:n(Me),alt:""},null,8,Ke)])])])]),e("div",{class:"shelf-wrapper",ref_key:"shelfWrapper",ref:I},[x(v,{books:n(d),onBookClick:F,isSearch:n(B)},null,8,["books","isSearch"])],512)])}}},qe=Y(Oe,[["__scopeId","data-v-d93b1062"]]);export{qe as default};
diff --git a/app/src/main/assets/web/vue/assets/config-1f42aece.js b/app/src/main/assets/web/vue/assets/config-251081d9.js
similarity index 80%
rename from app/src/main/assets/web/vue/assets/config-1f42aece.js
rename to app/src/main/assets/web/vue/assets/config-251081d9.js
index 03a5289a3..4b872d894 100644
--- a/app/src/main/assets/web/vue/assets/config-1f42aece.js
+++ b/app/src/main/assets/web/vue/assets/config-251081d9.js
@@ -1 +1 @@
-import{u as n,A as r}from"./index-7eaea170.js";import"./vendor-ea0dcfac.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
+import{u as n,A as r}from"./index-c6205bca.js";import"./vendor-ea0dcfac.js";const i=n();i.setMiniInterface(window.innerWidth<750);window.onresize=()=>{i.setMiniInterface(window.innerWidth<750)};r.getReadConfig().then(a=>{var e=a.data.data;if(e){const t=n();let o=JSON.parse(e),s=t.config;o=Object.assign(s,o),t.setConfig(o)}});
diff --git a/app/src/main/assets/web/vue/assets/index-7eaea170.js b/app/src/main/assets/web/vue/assets/index-7eaea170.js
deleted file mode 100644
index 0dd7d5e07..000000000
--- a/app/src/main/assets/web/vue/assets/index-7eaea170.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import{o as l,c as y,r as we,a as oe,b as ne,d as v,e as h,w as u,f as _,u as i,l as z,g as m,F as $,E as Be,h as ce,p as xe,i as Ue,j as ue,k as R,s as re,m as ee,n as K,q as de,t as Ee,v as Ne,x as se,y as A,z as pe,A as Q,B as x,C as X,D as he,G as Ve,H as Te,I as Ie,J as ge,K as $e,L as T,M as Le,N as me,O as _e,P as Re,Q as M,R as Oe,S as Pe,T as De,U as Je,V as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze}from"./vendor-ea0dcfac.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const p of r.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const Me="modulepreload",We=function(e,t){return new URL(e,t).href},ie={},te=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=We(r,s),r in ie)return;ie[r]=!0;const p=r.endsWith(".css"),k=p?'[rel="stylesheet"]':"";if(!!s)for(let C=o.length-1;C>=0;C--){const w=o[C];if(w.href===r&&(!p||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":Me,p||(S.as="script",S.crossOrigin=""),S.href=r,document.head.appendChild(S),p)return new Promise((C,w)=>{S.addEventListener("load",C),S.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Ge={};function Qe(e,t){const n=we("router-view");return l(),y(n)}const Xe=H(Ge,[["render",Qe]]),Se=[{path:"/",name:"shelf",component:()=>te(()=>import("./BookShelf-31d73958.js"),["./BookShelf-31d73958.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-fb0e6833.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>te(()=>import("./BookChapter-de8939ea.js"),["./BookChapter-de8939ea.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-a6c0a317.css"],import.meta.url)}];oe({history:ne(),routes:Se});const I=e=>(xe("data-v-aee57c78"),e=e(),Ue(),e),Ye=I(()=>m("br",null,null,-1)),Ze=I(()=>m("br",null,null,-1)),et=I(()=>m("br",null,null,-1)),tt=I(()=>m("br",null,null,-1)),ot=I(()=>m("br",null,null,-1)),nt={style:{"margin-top":"20px"}},rt=I(()=>m("code",null,"^$()[]{}.?+*|",-1)),st=I(()=>m("br",null,null,-1)),it=I(()=>m("code",null,"(?s)",-1)),lt=I(()=>m("br",null,null,-1)),at=I(()=>m("code",null,"(?m)",-1)),ct=I(()=>m("br",null,null,-1)),ut=I(()=>m("code",null,"(?i)",-1)),dt=I(()=>m("br",null,null,-1)),pt={__name:"SourceHelp",setup(e){return(t,n)=>{const s=Be,o=ce;return l(),v($,null,[h(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[_("书源制作教程")]),_:1},8,["icon"]),Ye,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[_("xpath基础教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[_("xpath高级教程")]),_:1},8,["icon"]),et,h(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[_("正则表达式教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[_("正则表达式在线验证工具")]),_:1},8,["icon"]),ot,m("div",nt,[m("span",null,[h(o,null,{default:u(()=>[rt,_(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),st,m("span",null,[h(o,null,{default:u(()=>[it,_(" 前缀表示跨行解析")]),_:1})]),lt,m("span",null,[h(o,null,{default:u(()=>[at,_(" 前缀表示逐行匹配")]),_:1})]),ct,m("span",null,[h(o,null,{default:u(()=>[ut,_(" 前缀表示忽略大小写")]),_:1})]),dt])],64)}}},ht=H(pt,[["__scopeId","data-v-aee57c78"]]),W=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),mt=(e,t)=>{var n,s,o,r,p,k,f,S;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((p=e.sourceName)==null?void 0:p.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((S=e.sourceComment)==null?void 0:S.includes(t)))??!1},_t={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},St={},J=/bookSource/i.test(location.href),le=J?_t:St,F=ue("source",{state:()=>({bookSources:[],rssSources:[],errorPushSources:[],currentSource:le,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>J?e.bookSources:e.rssSources,currentSourceUrl:e=>J?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>J?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){J?this.bookSources=e:this.rssSources=e},deleteSources(e){let t=J?this.bookSources:this.rssSources;e.forEach(n=>{let s=t.indexOf(n);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t,n;J?(t=this.bookSources,n="bookSourceUrl"):(t=this.rssSources,n="sourceUrl");let s=t.findIndex(o=>o[n]===e[n]);e=JSON.parse(JSON.stringify(e)),s>-1?t.splice(s,1,e):t.push(e)},changeCurrentSource(e){const t=JSON.stringify(e);this.currentSource=JSON.parse(t)},async setPushReturnSources(e){J?this.errorPushSources=this.sources.filter(t=>e.every(n=>n.bookSourceUrl!==t.bookSourceUrl)):this.errorPushSources=this.sources.filter(t=>e.every(n=>n.sourceUrl!==t.sourceUrl))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){const t=JSON.stringify(e);this.editTabSource=JSON.parse(t)},editHistory(e){let t;if(localStorage.getItem("history"))t=JSON.parse(localStorage.getItem("history")),t.new.push(e),t.new.length>50&&t.new.shift(),t.old.length>50&&t.old.shift(),localStorage.setItem("history",JSON.stringify(t));else{const n={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(n))}},editHistoryUndo(){if(localStorage.getItem("history")){let e=JSON.parse(localStorage.getItem("history"));e.old.push(this.currentSource),e.new.length&&(this.currentSource=e.new.pop()),localStorage.setItem("history",JSON.stringify(e))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(){this.editTabSource={},this.currentSource=le},clearAllSource(){this.bookSources=[],this.rssSources=[]}}});const yt={class:"tool"},ft={__name:"SourceList",setup(e){const t=F(),n=R([]),s=R(""),{sources:o,errorPushSources:r}=re(t),p=ee(()=>/bookSource/.test(window.location.href)),k=d=>{t.changeCurrentSource(d)},f=()=>{t.deleteSources(n.value),n.value=[]},S=()=>{t.clearAllSource(),n.value=[]},C=ee(()=>{let d=s.value;return d===""?o.value:o.value.filter(E=>mt(E,d))}),w=()=>{const d=document.createElement("input");d.type="file",d.accept=".json,.txt",d.addEventListener("change",E=>{const O=E.target.files[0];var N=new FileReader;N.readAsText(O),N.onload=()=>{try{const D=JSON.parse(N.result);t.saveSources(D)}catch{x({message:"上传的源格式错误",type:"error"})}}}),d.click()},B=()=>{const d=document.createElement("a");let E=t.sources,O=p.value?"BookSource":"RssSource";d.download=`${O}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let N=new Blob([JSON.stringify(E,null,4)],{type:"application/json"});d.href=window.URL.createObjectURL(N),d.click()};return(d,E)=>{const O=X,N=he,D=Ve,P=Te;return l(),v($,null,[h(O,{modelValue:i(s),"onUpdate:modelValue":E[0]||(E[0]=V=>K(s)?s.value=V:null),class:"search","prefix-icon":i(de),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),m("div",yt,[h(N,{onClick:w,icon:i(Ee)},{default:u(()=>[_(" 打开 ")]),_:1},8,["icon"]),h(N,{disabled:i(n).length===0,onClick:B,icon:i(Ne)},{default:u(()=>[_(" 导出")]),_:1},8,["disabled","icon"]),h(N,{icon:i(se),onClick:f,disabled:i(n).length===0},{default:u(()=>[_("删除")]),_:1},8,["icon","disabled"]),h(N,{type:"danger",icon:i(se),onClick:S,disabled:i(o).length===0},{default:u(()=>[_("清空")]),_:1},8,["icon","disabled"])]),h(P,{id:"source-list",modelValue:i(n),"onUpdate:modelValue":E[1]||(E[1]=V=>K(n)?n.value=V:null)},{default:u(()=>[(l(!0),v($,null,A(i(C),V=>(l(),y(D,{size:"large",border:"",label:V,class:pe({error:i(r).includes(V)}),onClick:a=>k(V),key:V.bookSourceName},{default:u(()=>[_(Q(V.bookSourceName||V.sourceName),1)]),_:2},1032,["label","class","onClick"]))),128))]),_:1},8,["modelValue"])],64)}}},bt=H(ft,[["__scopeId","data-v-b11685a6"]]),kt=1e3,U=Ie.create({baseURL:location.origin,timeout:5*kt}),{hostname:fe,port:be}=new URL(location.href),vt=/source/i.test(location.href),Ct=e=>{throw vt&&x({message:"后端错误,检查网络或者阅读app",type:"error"}),e};U.interceptors.response.use(e=>e,Ct);const wt=()=>U.get("/getReadConfig"),Bt=e=>U.post("/saveReadConfig",e),xt=e=>U.post("/saveBookProgress",e),Ut=()=>U.get("/getBookshelf"),Et=e=>U.get("/getChapterList?url="+encodeURIComponent(e)),Nt=(e,t)=>U.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),Vt=(e,t,n)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,o=new WebSocket(s);o.onopen=()=>{o.send(`{"key":"${e}"}`)},o.onmessage=({data:r})=>t(r),o.onclose=()=>{n()}},Tt=e=>U.post("/saveBook",e),It=e=>U.post("/deleteBook",e),G=/bookSource/i.test(location.href),$t=()=>G?U.get("getBookSources"):U.get("getRssSources"),Lt=e=>G?U.post("saveBookSource",e):U.post("saveRssSource",e),Rt=e=>G?U.post("saveBookSources",e):U.post("saveRssSources",e),Ot=e=>G?U.post("deleteBookSources",e):U.post("deleteRssSources",e),Pt=(e,t,n,s)=>{const o=`ws://${fe}:${Number(be)+1}/${G?"bookSource":"rssSource"}Debug`,r=new WebSocket(o);r.onopen=()=>{r.send(`{"tag":"${e}", "key":"${t}"}`)},r.onmessage=({data:p})=>n(p),r.onclose=()=>{x({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:wt,saveReadConfig:Bt,saveBookProcess:xt,getBookShelf:Ut,getChapterList:Et,getBookContent:Nt,search:Vt,saveBook:Tt,deleteBook:It,getSources:$t,saveSources:Rt,saveSource:Lt,deleteSource:Ot,debug:Pt},Dt={__name:"SourceDebug",setup(e){const t=F(),n=R(""),s=R("");ge(()=>{t.isDebuging&&r()});const o=k=>{let f=document.querySelector("#debug-text");f.scrollTop=f.scrollHeight,n.value+=k+`
-`},r=async()=>{n.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,o,t.debugFinish)},p=ee(()=>/bookSource/.test(window.location.href));return(k,f)=>{const S=X;return l(),v($,null,[i(p)?(l(),y(S,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":f[0]||(f[0]=C=>K(s)?s.value=C:null),placeholder:"搜索书名、作者","prefix-icon":i(de),style:{"padding-bottom":"4px"},onKeydown:$e(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):T("",!0),h(S,{id:"debug-text",modelValue:i(n),"onUpdate:modelValue":f[1]||(f[1]=C=>K(n)?n.value=C:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},io=ue("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{index:0,chapterPos:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:""},miniInterface:!1,readSettingsVisible:!1}),actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){this.config=e},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(t=>{this.shelf.find(s=>s.bookUrl==t.bookUrl)===void 0&&this.searchBooks.push(t)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProcess(){var r;if(this.catalog.length==0)return;const{index:e,chapterPos:t,bookName:n,bookAuthor:s}=this.readingBook;let o=(r=this.catalog[e])==null?void 0:r.title;o&&j.saveBookProcess({name:n,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:o})}}}),Jt=Le();const At={__name:"SourceJson",setup(e){const t=F(),n=R(""),s=async o=>{try{t.changeEditTabSource(JSON.parse(o))}catch{x({message:"粘贴的源格式错误",type:"error"})}};return ge(async()=>{let o=t.editTabSource;Object.keys(o).length>0?n.value=JSON.stringify(o,null,4):n.value=""}),(o,r)=>{const p=X;return l(),y(p,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=k=>K(n)?n.value=k:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Kt={__name:"SourceTabTools",setup(e){const t=F(),{currentTab:n}=re(t),s=R([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(o,r)=>{const p=At,k=Dt,f=bt,S=ht,C=me,w=_e;return l(),y(w,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=B=>K(n)?n.value=B:null)},{default:u(()=>[(l(!0),v($,null,A(i(s),(B,d)=>(l(),y(C,{key:B[0],name:B[0],label:B[1]},{default:u(()=>[d==0?(l(),y(p,{key:0})):T("",!0),d==1?(l(),y(k,{key:1})):T("",!0),d==2?(l(),y(f,{key:2})):T("",!0),d==3?(l(),y(S,{key:3})):T("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}};const jt={class:"menu flex-column-center"},Ht={class:"hotkeys-header flex-space-between"},Ft=["id"],qt={key:0},zt={class:"hotkeys-settings flex-column-center"},Mt={class:"title"},Wt={class:"hotkeys-item__content"},Gt={key:0},Qt={key:0},Xt={__name:"ToolBar",setup(e){const t=F(),n=()=>{j.getSources().then(({data:a})=>{a.isSuccess?(t.changeTabName("editList"),t.saveSources(a.data),x({message:`成功拉取${a.data.length}条源`,type:"success"})):x({message:a.errorMsg??"后端错误",type:"error"})})},s=()=>{let a=t.sources;if(t.changeTabName("editList"),a.length===0)return x({message:"空空如也",type:"info"});x({message:"正在推送中",type:"info"}),j.saveSources(a).then(({data:c})=>{if(c.isSuccess){let b=c.data;if(Array.isArray(b)){let L="";a.length>b.length&&(L=`
-推送失败的源将用红色字体标注!`,t.setPushReturnSources(b)),x({message:`批量推送源到「阅读3.0APP」
-共计: ${a.length} 条
-成功: ${b.length} 条
-失败: ${a.length-b.length} 条${L}`,type:"success"})}}else x({message:`批量推送源失败!
-ErrorMsg: ${c.errorMsg}`,type:"error"})})},o=()=>{t.changeTabName("editTab"),t.changeEditTabSource(t.currentSource)},r=()=>{t.changeCurrentSource(t.editTabSource)},p=()=>{t.editHistoryUndo()},k=()=>{t.clearEdit(),x({message:"已清除",type:"success"})},f=()=>{t.clearEdit(),t.clearAllHistory(),x({message:"已清除所有历史记录",type:"success"})},S=()=>{let a=/bookSource/.test(location.href),c=t.currentSource;gt(c)?j.saveSource(c).then(({data:b})=>{b.isSuccess?(x({message:`源《${a?c.bookSourceName:c.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),t.saveCurrentSource()):x({message:`源《${a?c.bookSourceName:c.sourceName}》保存失败!
-ErrorMsg: ${b.errorMsg}`,type:"error"})}):x({message:"请检查<必填>项是否全部填写",type:"error"})},C=()=>{t.startDebug()},w=R(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:p},{name:"↷重做操作",hotKeys:[],action:f},{name:"⇏调试源",hotKeys:[],action:C},{name:"✓保存源",hotKeys:[],action:S})),B=R(!0),d=R(!1),E=R(-1),O=()=>{d.value=!1};Re(B,a=>{if(!a)return M.unbind("*");M.unbind(),M("*",c=>{c.preventDefault(),d.value&&E.value>-1&&(w.value[E.value].hotKeys=M.getPressedKeyString())})});const N=a=>{d.value=!0,x({message:"按ESC键或者点击空白处结束录入",type:"info"}),w.value[a].hotKeys=[],E.value=a},D=()=>{B.value=!1;const a=[];w.value.forEach(({hotKeys:c,action:b})=>{M(c.join("+"),L=>{L.preventDefault(),b.call(null)}),a.push(c)}),P(a)},P=a=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(a))},V=()=>{try{const a=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(a)||a.length==0)return;w.value.forEach((c,b)=>c.hotKeys=a[b]),B.value=!1,D()}catch{x({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Oe(()=>{V()}),(a,c)=>{const b=he,L=ce,Y=Je;return l(),v($,null,[m("div",jt,[(l(!0),v($,null,A(i(w),g=>(l(),y(b,{size:"large",key:g.name,onClick:g.action},{default:u(()=>[_(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(b,{size:"large",onClick:c[0]||(c[0]=()=>B.value=!0)},{default:u(()=>[_("快捷键")]),_:1})]),h(Y,{modelValue:i(B),"onUpdate:modelValue":c[1]||(c[1]=g=>K(B)?B.value=g:null),"show-close":!1,"before-close":O},{header:u(({titleClass:g,titleId:q})=>[m("div",Ht,[m("div",{id:q,class:pe(g)},[_(" 快捷键设置 "),i(d)?(l(),v("span",qt,[h(L,null,{default:u(()=>[_(" / 录入中 ")]),_:1})])):T("",!0)],10,Ft),h(b,{disabled:i(d),onClick:D,icon:i(Pe)},{default:u(()=>[_("保存")]),_:1},8,["disabled","icon"])])]),default:u(()=>[m("div",zt,[(l(!0),v($,null,A(i(w),(g,q)=>(l(),v("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Mt,[h(L,null,{default:u(()=>[_(Q(g.name),1)]),_:2},1024)]),m("div",Wt,[(l(!0),v($,null,A(g.hotKeys,(Z,Ce)=>(l(),v("div",{key:Z},[m("kbd",null,Q(Z),1),Ce+1[_("+")]),_:1})])):T("",!0)]))),128)),g.hotKeys.length==0?(l(),v("span",Qt,"未设置")):T("",!0)]),h(b,{disabled:i(d),text:"",icon:i(De),onClick:Z=>N(q)},{default:u(()=>[_("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=H(Xt,[["__scopeId","data-v-ce145888"]]);const Zt={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=F(),s=Object.values(t.config),{currentSource:o}=re(n);return(r,p)=>{const k=X,f=Ae,S=Ke,C=je,w=He,B=Fe,d=qe,E=me,O=_e;return l(),y(O,{id:"source-edit"},{default:u(()=>[(l(!0),v($,null,A(i(s),({name:N,children:D})=>(l(),y(E,{label:N,key:N},{default:u(()=>[h(d,{"label-position":"right","label-width":"5em"},{default:u(()=>[(l(!0),v($,null,A(D,({type:P,title:V,namespace:a,id:c,array:b,hint:L,required:Y})=>(l(),y(B,{label:V,key:V,required:Y},{default:u(()=>[P=="String"&&typeof a>"u"?(l(),y(k,{key:0,type:"textarea",modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="String"&&typeof a<"u"?(l(),y(k,{key:1,type:"textarea",modelValue:i(o)[a][c],"onUpdate:modelValue":g=>i(o)[a][c]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="Boolean"?(l(),y(f,{key:2,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Number"?(l(),y(S,{key:3,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Array"?(l(),y(w,{key:4,modelValue:i(o)[c],"onUpdate:modelValue":g=>i(o)[c]=g},{default:u(()=>[(l(!0),v($,null,A(b,(g,q)=>(l(),y(C,{value:q,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):T("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=H(Zt,[["__scopeId","data-v-8c06b92d"]]),to={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"链接验证",id:"bookUrlPattern",type:"String",hint:"当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",namespace:"ruleSearch",id:"checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",namespace:"ruleSearch",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleSearch",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleSearch",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleSearch",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleSearch",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleSearch",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleSearch",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleSearch",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleSearch",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",id:"exploreUrl",type:"String",hint:`内容能显示在发现菜单
-每行一条发现分类(网址域名可省略),例:
-名称1::网址(Url)1
-名称2::网址(Url)2
-...`},{title:"列表规则",namespace:"ruleExplore",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleExplore",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleExplore",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleExplore",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleExplore",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleExplore",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleExplore",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleExplore",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleExplore",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",namespace:"ruleBookInfo",id:"init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",namespace:"ruleBookInfo",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleBookInfo",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleBookInfo",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleBookInfo",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleBookInfo",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleBookInfo",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleBookInfo",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",namespace:"ruleBookInfo",id:"tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",namespace:"ruleBookInfo",id:"downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",namespace:"ruleBookInfo",id:"canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"预处理",namespace:"ruleToc",id:"preUpdateJs",type:"String",hint:"更新目录前调用JS 动态更新目录链接"},{title:"列表规则",namespace:"ruleToc",id:"chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List)"},{title:"章节名称",namespace:"ruleToc",id:"chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",namespace:"ruleToc",id:"chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",namespace:"ruleToc",id:"isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",namespace:"ruleToc",id:"isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",namespace:"ruleToc",id:"isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",namespace:"ruleToc",id:"updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",namespace:"ruleToc",id:"nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List或String)"}]},content:{name:"正文",children:[{title:"脚本注入",namespace:"ruleContent",id:"webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",namespace:"ruleContent",id:"content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",namespace:"ruleContent",id:"nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",namespace:"ruleContent",id:"sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",namespace:"ruleContent",id:"replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",namespace:"ruleContent",id:"imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",namespace:"ruleContent",id:"payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接口"},{title:"图片解密",namespace:"ruleContent",id:"imageDecode",type:"String",hint:"填写JavaScript 返回解密图片的bytes "}]},other:{name:"其他",children:[{title:"启用搜索",id:"enabled",type:"Boolean"},{title:"启用发现",id:"enabledExplore",type:"Boolean"},{title:"启用段评",id:"enabledReview",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"搜索权重",id:"weight",type:"Number"},{title:"排序编号",id:"customOrder",type:"Number"}]}},oo={base:{name:"基础",children:[{title:"源域名",id:"sourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"图标",id:"sourceIcon",type:"String",hint:"填写图片网络链接"},{title:"源名称",id:"sourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"sourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"sourceComment",type:"String",hint:"描述源作者和状态"},{title:"分类地址",id:"sortUrl",type:"String",hint:`名称1::链接1
-名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}};const no={class:"editor"},ro={__name:"SourceEditor",setup(e){const t=R({});return/bookSource/i.test(location.href)?(t.value=to,document.title="书源管理"):(t.value=oo,document.title="订阅源管理"),(n,s)=>{const o=eo,r=Yt,p=Kt;return l(),v("div",no,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(p,{class:"right"})])}}},ae=H(ro,[["__scopeId","data-v-5171d5d6"]]),ke=[{path:"/bookSource",name:"book-home",component:ae},{path:"/rssSource",name:"rss-home",component:ae}];oe({history:ne(),routes:ke});const ve=oe({history:ne(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ze(Xe).use(Jt).use(ve).mount("#app");te(()=>import("./config-1f42aece.js"),["./config-1f42aece.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./config-811f2a0b.css"],import.meta.url);export{j as A,H as _,io as u};
diff --git a/app/src/main/assets/web/vue/assets/index-c6205bca.js b/app/src/main/assets/web/vue/assets/index-c6205bca.js
new file mode 100644
index 000000000..3597b8548
--- /dev/null
+++ b/app/src/main/assets/web/vue/assets/index-c6205bca.js
@@ -0,0 +1,13 @@
+import{o as l,c as y,r as we,a as oe,b as ne,d as v,e as h,w as u,f as _,u as i,l as z,g as m,F as $,E as xe,h as ae,p as Be,i as Ue,j as ue,k as R,s as re,m as ee,n as K,q as de,t as Ee,v as Ne,x as se,y as A,z as pe,A as Q,B,C as X,D as he,G as Ve,H as Te,I as Ie,J as ge,K as $e,L as T,M as Le,N as me,O as _e,P as Re,Q as M,R as Oe,S as Pe,T as De,U as Je,V as Ae,W as Ke,X as je,Y as He,Z as Fe,_ as qe,$ as ze}from"./vendor-ea0dcfac.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const p of r.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const Me="modulepreload",We=function(e,t){return new URL(e,t).href},ie={},te=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=We(r,s),r in ie)return;ie[r]=!0;const p=r.endsWith(".css"),k=p?'[rel="stylesheet"]':"";if(!!s)for(let C=o.length-1;C>=0;C--){const w=o[C];if(w.href===r&&(!p||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${k}`))return;const S=document.createElement("link");if(S.rel=p?"stylesheet":Me,p||(S.as="script",S.crossOrigin=""),S.href=r,document.head.appendChild(S),p)return new Promise((C,w)=>{S.addEventListener("load",C),S.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Ge={};function Qe(e,t){const n=we("router-view");return l(),y(n)}const Xe=H(Ge,[["render",Qe]]),Se=[{path:"/",name:"shelf",component:()=>te(()=>import("./BookShelf-01102f6c.js"),["./BookShelf-01102f6c.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookShelf-1436f5ed.css"],import.meta.url)},{path:"/chapter",name:"chapter",component:()=>te(()=>import("./BookChapter-5d963ac2.js"),["./BookChapter-5d963ac2.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./el-loading-15d78e2b.js","./el-loading-d0f2d079.css","./BookChapter-3e045df4.css"],import.meta.url)}];oe({history:ne(),routes:Se});const I=e=>(Be("data-v-aee57c78"),e=e(),Ue(),e),Ye=I(()=>m("br",null,null,-1)),Ze=I(()=>m("br",null,null,-1)),et=I(()=>m("br",null,null,-1)),tt=I(()=>m("br",null,null,-1)),ot=I(()=>m("br",null,null,-1)),nt={style:{"margin-top":"20px"}},rt=I(()=>m("code",null,"^$()[]{}.?+*|",-1)),st=I(()=>m("br",null,null,-1)),it=I(()=>m("code",null,"(?s)",-1)),lt=I(()=>m("br",null,null,-1)),ct=I(()=>m("code",null,"(?m)",-1)),at=I(()=>m("br",null,null,-1)),ut=I(()=>m("code",null,"(?i)",-1)),dt=I(()=>m("br",null,null,-1)),pt={__name:"SourceHelp",setup(e){return(t,n)=>{const s=xe,o=ae;return l(),v($,null,[h(s,{icon:i(z),href:"https://alanskycn.gitee.io/teachme/",target:"_blank"},{default:u(()=>[_("书源制作教程")]),_:1},8,["icon"]),Ye,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/29436838",target:"_blank"},{default:u(()=>[_("xpath基础教程")]),_:1},8,["icon"]),Ze,h(s,{icon:i(z),href:"https://zhuanlan.zhihu.com/p/32187820",target:"_blank"},{default:u(()=>[_("xpath高级教程")]),_:1},8,["icon"]),et,h(s,{icon:i(z),href:"https://www.w3cschool.cn/regex_rmjc",target:"_blank"},{default:u(()=>[_("正则表达式教程")]),_:1},8,["icon"]),tt,h(s,{icon:i(z),href:"https://regexr-cn.com/",target:"_blank"},{default:u(()=>[_("正则表达式在线验证工具")]),_:1},8,["icon"]),ot,m("div",nt,[m("span",null,[h(o,null,{default:u(()=>[rt,_(" 这些是Java正则特殊符号,匹配需转义")]),_:1})]),st,m("span",null,[h(o,null,{default:u(()=>[it,_(" 前缀表示跨行解析")]),_:1})]),lt,m("span",null,[h(o,null,{default:u(()=>[ct,_(" 前缀表示逐行匹配")]),_:1})]),at,m("span",null,[h(o,null,{default:u(()=>[ut,_(" 前缀表示忽略大小写")]),_:1})]),dt])],64)}}},ht=H(pt,[["__scopeId","data-v-aee57c78"]]),W=e=>e==null||e.length===0||/^\s+$/.test(e),ye=e=>"bookSourceName"in e,gt=e=>ye(e)?!W(e.bookSourceName)&&!W(e.bookSourceUrl)&&!W(e.bookSourceType):!W(e.sourceName)&&!W(e.sourceName),mt=(e,t)=>{var n,s,o,r,p,k,f,S;return ye(e)?(((n=e.bookSourceName)==null?void 0:n.includes(t))||((s=e.bookSourceUrl)==null?void 0:s.includes(t))||((o=e.bookSourceGroup)==null?void 0:o.includes(t))||((r=e.bookSourceComment)==null?void 0:r.includes(t)))??!1:(((p=e.sourceName)==null?void 0:p.includes(t))||((k=e.sourceUrl)==null?void 0:k.includes(t))||((f=e.sourceGroup)==null?void 0:f.includes(t))||((S=e.sourceComment)==null?void 0:S.includes(t)))??!1},_t={ruleSearch:{},ruleBookInfo:{},ruleToc:{},ruleContent:{},ruleReview:{},ruleExplore:{}},St={},J=/bookSource/i.test(location.href),le=J?_t:St,F=ue("source",{state:()=>({bookSources:[],rssSources:[],errorPushSources:[],currentSource:le,currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},isDebuging:!1}),getters:{sources:e=>J?e.bookSources:e.rssSources,currentSourceUrl:e=>J?e.currentSource.bookSourceUrl:e.currentSource.sourceUrl,searchKey:e=>J?e.currentSource.ruleSearch.checkKeyWord||"我的":null},actions:{startDebug(){this.currentTab="editDebug",this.isDebuging=!0},debugFinish(){this.isDebuging=!1},saveSources(e){J?this.bookSources=e:this.rssSources=e},deleteSources(e){let t=J?this.bookSources:this.rssSources;e.forEach(n=>{let s=t.indexOf(n);s>-1&&t.splice(s,1)})},saveCurrentSource(){let e=this.currentSource,t,n;J?(t=this.bookSources,n="bookSourceUrl"):(t=this.rssSources,n="sourceUrl");let s=t.findIndex(o=>o[n]===e[n]);e=JSON.parse(JSON.stringify(e)),s>-1?t.splice(s,1,e):t.push(e)},changeCurrentSource(e){const t=JSON.stringify(e);this.currentSource=JSON.parse(t)},async setPushReturnSources(e){J?this.errorPushSources=this.sources.filter(t=>e.every(n=>n.bookSourceUrl!==t.bookSourceUrl)):this.errorPushSources=this.sources.filter(t=>e.every(n=>n.sourceUrl!==t.sourceUrl))},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){const t=JSON.stringify(e);this.editTabSource=JSON.parse(t)},editHistory(e){let t;if(localStorage.getItem("history"))t=JSON.parse(localStorage.getItem("history")),t.new.push(e),t.new.length>50&&t.new.shift(),t.old.length>50&&t.old.shift(),localStorage.setItem("history",JSON.stringify(t));else{const n={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(n))}},editHistoryUndo(){if(localStorage.getItem("history")){let e=JSON.parse(localStorage.getItem("history"));e.old.push(this.currentSource),e.new.length&&(this.currentSource=e.new.pop()),localStorage.setItem("history",JSON.stringify(e))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(){this.editTabSource={},this.currentSource=le},clearAllSource(){this.bookSources=[],this.rssSources=[]}}});const yt={class:"tool"},ft={__name:"SourceList",setup(e){const t=F(),n=R([]),s=R(""),{sources:o,errorPushSources:r}=re(t),p=ee(()=>/bookSource/.test(window.location.href)),k=d=>{t.changeCurrentSource(d)},f=()=>{t.deleteSources(n.value),n.value=[]},S=()=>{t.clearAllSource(),n.value=[]},C=ee(()=>{let d=s.value;return d===""?o.value:o.value.filter(E=>mt(E,d))}),w=()=>{const d=document.createElement("input");d.type="file",d.accept=".json,.txt",d.addEventListener("change",E=>{const O=E.target.files[0];var N=new FileReader;N.readAsText(O),N.onload=()=>{try{const D=JSON.parse(N.result);t.saveSources(D)}catch{B({message:"上传的源格式错误",type:"error"})}}}),d.click()},x=()=>{const d=document.createElement("a");let E=t.sources,O=p.value?"BookSource":"RssSource";d.download=`${O}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let N=new Blob([JSON.stringify(E,null,4)],{type:"application/json"});d.href=window.URL.createObjectURL(N),d.click()};return(d,E)=>{const O=X,N=he,D=Ve,P=Te;return l(),v($,null,[h(O,{modelValue:i(s),"onUpdate:modelValue":E[0]||(E[0]=V=>K(s)?s.value=V:null),class:"search","prefix-icon":i(de),placeholder:"筛选源"},null,8,["modelValue","prefix-icon"]),m("div",yt,[h(N,{onClick:w,icon:i(Ee)},{default:u(()=>[_(" 打开 ")]),_:1},8,["icon"]),h(N,{disabled:i(n).length===0,onClick:x,icon:i(Ne)},{default:u(()=>[_(" 导出")]),_:1},8,["disabled","icon"]),h(N,{icon:i(se),onClick:f,disabled:i(n).length===0},{default:u(()=>[_("删除")]),_:1},8,["icon","disabled"]),h(N,{type:"danger",icon:i(se),onClick:S,disabled:i(o).length===0},{default:u(()=>[_("清空")]),_:1},8,["icon","disabled"])]),h(P,{id:"source-list",modelValue:i(n),"onUpdate:modelValue":E[1]||(E[1]=V=>K(n)?n.value=V:null)},{default:u(()=>[(l(!0),v($,null,A(i(C),V=>(l(),y(D,{size:"large",border:"",label:V,class:pe({error:i(r).includes(V)}),onClick:c=>k(V),key:V.bookSourceName},{default:u(()=>[_(Q(V.bookSourceName||V.sourceName),1)]),_:2},1032,["label","class","onClick"]))),128))]),_:1},8,["modelValue"])],64)}}},bt=H(ft,[["__scopeId","data-v-b11685a6"]]),kt=1e3,U=Ie.create({baseURL:location.origin,timeout:5*kt}),{hostname:fe,port:be}=new URL(location.href),vt=/source/i.test(location.href),Ct=e=>{throw vt&&B({message:"后端错误,检查网络或者阅读app",type:"error"}),e};U.interceptors.response.use(e=>e,Ct);const wt=()=>U.get("/getReadConfig"),xt=e=>U.post("/saveReadConfig",e),Bt=e=>U.post("/saveBookProgress",e),Ut=()=>U.get("/getBookshelf"),Et=e=>U.get("/getChapterList?url="+encodeURIComponent(e)),Nt=(e,t)=>U.get("/getBookContent?url="+encodeURIComponent(e)+"&index="+t),Vt=(e,t,n)=>{const s=`ws://${fe}:${Number(be)+1}/searchBook`,o=new WebSocket(s);o.onopen=()=>{o.send(`{"key":"${e}"}`)},o.onmessage=({data:r})=>t(r),o.onclose=()=>{n()}},Tt=e=>U.post("/saveBook",e),It=e=>U.post("/deleteBook",e),G=/bookSource/i.test(location.href),$t=()=>G?U.get("getBookSources"):U.get("getRssSources"),Lt=e=>G?U.post("saveBookSource",e):U.post("saveRssSource",e),Rt=e=>G?U.post("saveBookSources",e):U.post("saveRssSources",e),Ot=e=>G?U.post("deleteBookSources",e):U.post("deleteRssSources",e),Pt=(e,t,n,s)=>{const o=`ws://${fe}:${Number(be)+1}/${G?"bookSource":"rssSource"}Debug`,r=new WebSocket(o);r.onopen=()=>{r.send(`{"tag":"${e}", "key":"${t}"}`)},r.onmessage=({data:p})=>n(p),r.onclose=()=>{B({message:"调试已关闭!",type:"info"}),s()}},j={getReadConfig:wt,saveReadConfig:xt,saveBookProcess:Bt,getBookShelf:Ut,getChapterList:Et,getBookContent:Nt,search:Vt,saveBook:Tt,deleteBook:It,getSources:$t,saveSources:Rt,saveSource:Lt,deleteSource:Ot,debug:Pt},Dt={__name:"SourceDebug",setup(e){const t=F(),n=R(""),s=R("");ge(()=>{t.isDebuging&&r()});const o=k=>{let f=document.querySelector("#debug-text");f.scrollTop=f.scrollHeight,n.value+=k+`
+`},r=async()=>{n.value="",await j.saveSource(t.currentSource),j.debug(t.currentSourceUrl,s.value||t.searchKey,o,t.debugFinish)},p=ee(()=>/bookSource/.test(window.location.href));return(k,f)=>{const S=X;return l(),v($,null,[i(p)?(l(),y(S,{key:0,id:"debug-key",modelValue:i(s),"onUpdate:modelValue":f[0]||(f[0]=C=>K(s)?s.value=C:null),placeholder:"搜索书名、作者","prefix-icon":i(de),style:{"padding-bottom":"4px"},onKeydown:$e(r,["enter"])},null,8,["modelValue","prefix-icon","onKeydown"])):T("",!0),h(S,{id:"debug-text",modelValue:i(n),"onUpdate:modelValue":f[1]||(f[1]=C=>K(n)?n.value=C:null),type:"textarea",readonly:"",rows:"29",placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},io=ue("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{index:0,chapterPos:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:{theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:""},miniInterface:!1,readSettingsVisible:!1}),actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},addBooks(e){this.shelf=e},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},setConfig(e){this.config=e},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(t=>{this.shelf.find(s=>s.bookUrl==t.bookUrl)===void 0&&this.searchBooks.push(t)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProcess(){var r;if(this.catalog.length==0)return;const{index:e,chapterPos:t,bookName:n,bookAuthor:s}=this.readingBook;let o=(r=this.catalog[e])==null?void 0:r.title;o&&j.saveBookProcess({name:n,author:s,durChapterIndex:e,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:o})}}}),Jt=Le();const At={__name:"SourceJson",setup(e){const t=F(),n=R(""),s=async o=>{try{t.changeEditTabSource(JSON.parse(o))}catch{B({message:"粘贴的源格式错误",type:"error"})}};return ge(async()=>{let o=t.editTabSource;Object.keys(o).length>0?n.value=JSON.stringify(o,null,4):n.value=""}),(o,r)=>{const p=X;return l(),y(p,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=k=>K(n)?n.value=k:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:"30",onChange:s,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Kt={__name:"SourceTabTools",setup(e){const t=F(),{currentTab:n}=re(t),s=R([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(o,r)=>{const p=At,k=Dt,f=bt,S=ht,C=me,w=_e;return l(),y(w,{modelValue:i(n),"onUpdate:modelValue":r[0]||(r[0]=x=>K(n)?n.value=x:null)},{default:u(()=>[(l(!0),v($,null,A(i(s),(x,d)=>(l(),y(C,{key:x[0],name:x[0],label:x[1]},{default:u(()=>[d==0?(l(),y(p,{key:0})):T("",!0),d==1?(l(),y(k,{key:1})):T("",!0),d==2?(l(),y(f,{key:2})):T("",!0),d==3?(l(),y(S,{key:3})):T("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}};const jt={class:"menu flex-column-center"},Ht={class:"hotkeys-header flex-space-between"},Ft=["id"],qt={key:0},zt={class:"hotkeys-settings flex-column-center"},Mt={class:"title"},Wt={class:"hotkeys-item__content"},Gt={key:0},Qt={key:0},Xt={__name:"ToolBar",setup(e){const t=F(),n=()=>{j.getSources().then(({data:c})=>{c.isSuccess?(t.changeTabName("editList"),t.saveSources(c.data),B({message:`成功拉取${c.data.length}条源`,type:"success"})):B({message:c.errorMsg??"后端错误",type:"error"})})},s=()=>{let c=t.sources;if(t.changeTabName("editList"),c.length===0)return B({message:"空空如也",type:"info"});B({message:"正在推送中",type:"info"}),j.saveSources(c).then(({data:a})=>{if(a.isSuccess){let b=a.data;if(Array.isArray(b)){let L="";c.length>b.length&&(L=`
+推送失败的源将用红色字体标注!`,t.setPushReturnSources(b)),B({message:`批量推送源到「阅读3.0APP」
+共计: ${c.length} 条
+成功: ${b.length} 条
+失败: ${c.length-b.length} 条${L}`,type:"success"})}}else B({message:`批量推送源失败!
+ErrorMsg: ${a.errorMsg}`,type:"error"})})},o=()=>{t.changeTabName("editTab"),t.changeEditTabSource(t.currentSource)},r=()=>{t.changeCurrentSource(t.editTabSource)},p=()=>{t.editHistoryUndo()},k=()=>{t.clearEdit(),B({message:"已清除",type:"success"})},f=()=>{t.clearEdit(),t.clearAllHistory(),B({message:"已清除所有历史记录",type:"success"})},S=()=>{let c=/bookSource/.test(location.href),a=t.currentSource;gt(a)?j.saveSource(a).then(({data:b})=>{b.isSuccess?(B({message:`源《${c?a.bookSourceName:a.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),t.saveCurrentSource()):B({message:`源《${c?a.bookSourceName:a.sourceName}》保存失败!
+ErrorMsg: ${b.errorMsg}`,type:"error"})}):B({message:"请检查<必填>项是否全部填写",type:"error"})},C=()=>{t.startDebug()},w=R(Array.of({name:"⇈推送源",hotKeys:[],action:s},{name:"⇊拉取源",hotKeys:[],action:n},{name:"⋙生成源",hotKeys:[],action:o},{name:"⋘编辑源",hotKeys:[],action:r},{name:"✗清空表单",hotKeys:[],action:k},{name:"↶撤销操作",hotKeys:[],action:p},{name:"↷重做操作",hotKeys:[],action:f},{name:"⇏调试源",hotKeys:[],action:C},{name:"✓保存源",hotKeys:[],action:S})),x=R(!0),d=R(!1),E=R(-1),O=()=>{d.value=!1};Re(x,c=>{if(!c)return M.unbind("*");M.unbind(),M("*",a=>{a.preventDefault(),d.value&&E.value>-1&&(w.value[E.value].hotKeys=M.getPressedKeyString())})});const N=c=>{d.value=!0,B({message:"按ESC键或者点击空白处结束录入",type:"info"}),w.value[c].hotKeys=[],E.value=c},D=()=>{x.value=!1;const c=[];w.value.forEach(({hotKeys:a,action:b})=>{M(a.join("+"),L=>{L.preventDefault(),b.call(null)}),c.push(a)}),P(c)},P=c=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(c))},V=()=>{try{const c=JSON.parse(localStorage.getItem("legado_web_hotkeys"));if(!Array.isArray(c)||c.length==0)return;w.value.forEach((a,b)=>a.hotKeys=c[b]),x.value=!1,D()}catch{B({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}};return Oe(()=>{V()}),(c,a)=>{const b=he,L=ae,Y=Je;return l(),v($,null,[m("div",jt,[(l(!0),v($,null,A(i(w),g=>(l(),y(b,{size:"large",key:g.name,onClick:g.action},{default:u(()=>[_(Q(g.name),1)]),_:2},1032,["onClick"]))),128)),h(b,{size:"large",onClick:a[0]||(a[0]=()=>x.value=!0)},{default:u(()=>[_("快捷键")]),_:1})]),h(Y,{modelValue:i(x),"onUpdate:modelValue":a[1]||(a[1]=g=>K(x)?x.value=g:null),"show-close":!1,"before-close":O},{header:u(({titleClass:g,titleId:q})=>[m("div",Ht,[m("div",{id:q,class:pe(g)},[_(" 快捷键设置 "),i(d)?(l(),v("span",qt,[h(L,null,{default:u(()=>[_(" / 录入中 ")]),_:1})])):T("",!0)],10,Ft),h(b,{disabled:i(d),onClick:D,icon:i(Pe)},{default:u(()=>[_("保存")]),_:1},8,["disabled","icon"])])]),default:u(()=>[m("div",zt,[(l(!0),v($,null,A(i(w),(g,q)=>(l(),v("div",{key:g.name,class:"hotkeys-item flex-space-between"},[m("span",Mt,[h(L,null,{default:u(()=>[_(Q(g.name),1)]),_:2},1024)]),m("div",Wt,[(l(!0),v($,null,A(g.hotKeys,(Z,Ce)=>(l(),v("div",{key:Z},[m("kbd",null,Q(Z),1),Ce+1[_("+")]),_:1})])):T("",!0)]))),128)),g.hotKeys.length==0?(l(),v("span",Qt,"未设置")):T("",!0)]),h(b,{disabled:i(d),text:"",icon:i(De),onClick:Z=>N(q)},{default:u(()=>[_("编辑")]),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=H(Xt,[["__scopeId","data-v-ce145888"]]);const Zt={__name:"SourceTabForm",props:["config"],setup(e){const t=e,n=F(),s=Object.values(t.config),{currentSource:o}=re(n);return(r,p)=>{const k=X,f=Ae,S=Ke,C=je,w=He,x=Fe,d=qe,E=me,O=_e;return l(),y(O,{id:"source-edit"},{default:u(()=>[(l(!0),v($,null,A(i(s),({name:N,children:D})=>(l(),y(E,{label:N,key:N},{default:u(()=>[h(d,{"label-position":"right","label-width":"5em"},{default:u(()=>[(l(!0),v($,null,A(D,({type:P,title:V,namespace:c,id:a,array:b,hint:L,required:Y})=>(l(),y(x,{label:V,key:V,required:Y},{default:u(()=>[P=="String"&&typeof c>"u"?(l(),y(k,{key:0,type:"textarea",modelValue:i(o)[a],"onUpdate:modelValue":g=>i(o)[a]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="String"&&typeof c<"u"?(l(),y(k,{key:1,type:"textarea",modelValue:i(o)[c][a],"onUpdate:modelValue":g=>i(o)[c][a]=g,placeholder:L,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):T("",!0),P=="Boolean"?(l(),y(f,{key:2,modelValue:i(o)[a],"onUpdate:modelValue":g=>i(o)[a]=g},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Number"?(l(),y(S,{key:3,modelValue:i(o)[a],"onUpdate:modelValue":g=>i(o)[a]=g,min:0},null,8,["modelValue","onUpdate:modelValue"])):T("",!0),P=="Array"?(l(),y(w,{key:4,modelValue:i(o)[a],"onUpdate:modelValue":g=>i(o)[a]=g},{default:u(()=>[(l(!0),v($,null,A(b,(g,q)=>(l(),y(C,{value:q,key:g,label:g},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):T("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=H(Zt,[["__scopeId","data-v-8c06b92d"]]),to={base:{name:"基础",children:[{title:"源类型",id:"bookSourceType",type:"Array",array:["文本","音频","图片","文件"],required:!0},{title:"源域名",id:"bookSourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"源名称",id:"bookSourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"bookSourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"bookSourceComment",type:"String",hint:"描述源作者和状态"},{title:"书源变量",id:"variableComment",type:"String",hint:"书源变量说明"},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"},{title:"js库",id:"jsLib",type:"String",hint:"js库"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"链接验证",id:"bookUrlPattern",type:"String",hint:"当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",namespace:"ruleSearch",id:"checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",namespace:"ruleSearch",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleSearch",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleSearch",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleSearch",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleSearch",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleSearch",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleSearch",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleSearch",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleSearch",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",id:"exploreUrl",type:"String",hint:`内容能显示在发现菜单
+每行一条发现分类(网址域名可省略),例:
+名称1::网址(Url)1
+名称2::网址(Url)2
+...`},{title:"发现筛选",id:"exploreScreen",type:"String",hint:"发现筛选规则"},{title:"列表规则",namespace:"ruleExplore",id:"bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",namespace:"ruleExplore",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleExplore",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleExplore",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleExplore",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleExplore",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleExplore",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleExplore",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",namespace:"ruleExplore",id:"bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",namespace:"ruleBookInfo",id:"init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",namespace:"ruleBookInfo",id:"name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",namespace:"ruleBookInfo",id:"author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",namespace:"ruleBookInfo",id:"kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",namespace:"ruleBookInfo",id:"wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",namespace:"ruleBookInfo",id:"lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",namespace:"ruleBookInfo",id:"intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",namespace:"ruleBookInfo",id:"coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",namespace:"ruleBookInfo",id:"tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",namespace:"ruleBookInfo",id:"downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",namespace:"ruleBookInfo",id:"canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"预处理",namespace:"ruleToc",id:"preUpdateJs",type:"String",hint:"更新目录前调用JS 动态更新目录链接"},{title:"列表规则",namespace:"ruleToc",id:"chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List)"},{title:"章节名称",namespace:"ruleToc",id:"chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",namespace:"ruleToc",id:"chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",namespace:"ruleToc",id:"isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",namespace:"ruleToc",id:"isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",namespace:"ruleToc",id:"isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",namespace:"ruleToc",id:"updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",namespace:"ruleToc",id:"nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List或String)"}]},content:{name:"正文",children:[{title:"脚本注入",namespace:"ruleContent",id:"webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",namespace:"ruleContent",id:"content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",namespace:"ruleContent",id:"nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",namespace:"ruleContent",id:"sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",namespace:"ruleContent",id:"replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",namespace:"ruleContent",id:"imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",namespace:"ruleContent",id:"payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接口"},{title:"图片解密",namespace:"ruleContent",id:"imageDecode",type:"String",hint:"填写JavaScript 返回解密图片的bytes "}]},other:{name:"其他",children:[{title:"启用搜索",id:"enabled",type:"Boolean"},{title:"启用发现",id:"enabledExplore",type:"Boolean"},{title:"启用段评",id:"enabledReview",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"搜索权重",id:"weight",type:"Number"},{title:"排序编号",id:"customOrder",type:"Number"}]}},oo={base:{name:"基础",children:[{title:"源域名",id:"sourceUrl",type:"String",hint:"通常填写网站主页,例: https://www.qidian.com",required:!0},{title:"图标",id:"sourceIcon",type:"String",hint:"填写图片网络链接"},{title:"源名称",id:"sourceName",type:"String",hint:"会显示在源列表",required:!0},{title:"源分组",id:"sourceGroup",type:"String",hint:"描述源的特征信息"},{title:"源注释",id:"sourceComment",type:"String",hint:"描述源作者和状态"},{title:"分类地址",id:"sortUrl",type:"String",hint:`名称1::链接1
+名称2::链接2`},{title:"登录地址",id:"loginUrl",type:"String",hint:"填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",id:"loginUi",type:"String",hint:"自定义登录界面"},{title:"登录检测",id:"loginCheckJs",type:"String",hint:"登录检测js"},{title:"封面解密",id:"coverDecodeJs",type:"String",hint:"封面解密js"},{title:"请求头",id:"header",type:"String",hint:"客户端标识"},{title:"变量说明",id:"variableComment",type:"String",hint:"源变量说明"},{title:"并发率",id:"concurrentRate",type:"String",hint:"并发率"}]},list:{name:"列表",children:[{title:"列表规则",id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"内容规则",id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"列表样式",id:"articleStyle",type:"Array",array:["默认","大图","双列"]},{title:"加载地址",id:"loadWithBaseUrl",type:"Boolean"},{title:"启用JS",id:"enableJs",type:"Boolean"},{title:"启用",id:"enabled",type:"Boolean"},{title:"Cookie",id:"enabledCookieJar",type:"Boolean"},{title:"单URL",id:"singleUrl",type:"Boolean"},{title:"排序编号",id:"customOrder",type:"Number"}]}};const no={class:"editor"},ro={__name:"SourceEditor",setup(e){const t=R({});return/bookSource/i.test(location.href)?(t.value=to,document.title="书源管理"):(t.value=oo,document.title="订阅源管理"),(n,s)=>{const o=eo,r=Yt,p=Kt;return l(),v("div",no,[h(o,{class:"left",config:i(t)},null,8,["config"]),h(r),h(p,{class:"right"})])}}},ce=H(ro,[["__scopeId","data-v-5171d5d6"]]),ke=[{path:"/bookSource",name:"book-home",component:ce},{path:"/rssSource",name:"rss-home",component:ce}];oe({history:ne(),routes:ke});const ve=oe({history:ne(),routes:Se.concat(ke)});ve.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ze(Xe).use(Jt).use(ve).mount("#app");te(()=>import("./config-251081d9.js"),["./config-251081d9.js","./vendor-ea0dcfac.js","./vendor-a24e7142.css","./config-811f2a0b.css"],import.meta.url);export{j as A,H as _,io as u};
diff --git a/app/src/main/assets/web/vue/index.html b/app/src/main/assets/web/vue/index.html
index ccdbf2e87..2f4716364 100644
--- a/app/src/main/assets/web/vue/index.html
+++ b/app/src/main/assets/web/vue/index.html
@@ -4,7 +4,7 @@
-
+