Bump web v3.24.101906
This commit is contained in:
1 parent
ca19e2e027
commit
693c13e0f1
5 files changed
+10
-10
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
import{d as le,a2 as Te,p as l,y as D,S as Ve,a7 as Fe,o as f,e as m,h as t,t as M,F as ee,O as ae,u as a,a8 as J,a9 as Pe,J as we,s as U,f as K,w as R,aa as Je,z as pe,ab as Ge,g as T,L as ge,ac as qe,a6 as Le,m as L,ad as Ze,v as Ye,ae as Me,af as Re,ag as je,V as Xe,N as Qe,a5 as _e,ah as $e,ai as et,c as tt}from"./vendor-DyE_jpJ0.js";import{u as ie,i as ot,A as re,_ as ce,a as be}from"./index-ecLu3hyj.js";import{u as nt}from"./loading-DO4FBnCG.js";const st=(d,s,u,B)=>(d/=B/2,d<1?u/2*d*d+s:(d--,-u/2*(d*(d-2)-1)+s)),at=()=>{let d,s,u,B,n,I,p,w,k,V,x,E,y;function Q(){let g=d.scrollTop||d.scrollY||d.pageYOffset;return g=typeof g>"u"?0:g,g}function h(g){const b=g.getBoundingClientRect().top,te=d.getBoundingClientRect?d.getBoundingClientRect().top:0;return b-te+u}function C(g){d.scrollTo?d.scrollTo(0,g):d.scrollTop=g}function i(g){V||(V=g),x=g-V,E=I(x,u,w,k),C(E),x<k?requestAnimationFrame(i):c()}function c(){C(u+w),s&&p&&(s.setAttribute("tabindex","-1"),s.focus()),typeof y=="function"&&y(),V=!1}function A(g,b={}){switch(k=b.duration||1e3,n=b.offset||0,y=b.callback,I=b.easing||st,p=b.a11y||!1,typeof b.container){case"object":d=b.container;break;case"string":d=document.querySelector(b.container);break;default:d=window}switch(u=Q(),typeof g){case"number":s=void 0,p=!1,B=u+g;break;case"object":s=g,B=h(s);break;case"string":s=document.querySelector(g),B=h(s);break}switch(w=B-u+n,typeof b.duration){case"number":k=b.duration;break;case"function":k=b.duration(w);break}requestAnimationFrame(i)}return A},_=at(),it=["data-chapterpos"],rt=["src"],lt=["innerHTML"],ct=le({__name:"ChapterContent",props:{chapterIndex:{},contents:{},title:{},spacing:{},fontFamily:{},fontSize:{}},emits:["readedLengthChange"],setup(d,{expose:s,emit:u}){Te(i=>({dcb41ef4:p.spacing.letter,ad61d758:p.spacing.line,"6503210e":p.spacing.paragraph}));const B=ie(),n=l(()=>B.config.readWidth),I=l(()=>B.readingBook.bookUrl),p=d,w=i=>{const c=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,A=i.match(c)[1];return ot(A)?re.getProxyImageUrl(I.value,A,ie().config.readWidth):A},k=i=>{i.target.src=re.getProxyImageUrl(I.value,i.target.src,n.value)},V=i=>{const c=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return i.replaceAll(c," ").length},x=l(()=>{let i=-1;return Array.from(p.contents,c=>(i+=V(c)+1,i))}),E=D(),y=D();s({scrollToReadedLength:i=>{if(i===0)return;const c=x.value.findIndex(A=>A>=i);c!==-1&&Pe(()=>{_(y.value[c],{duration:0})})}});let h=null;const C=u;return Ve(()=>{h=new IntersectionObserver(i=>{for(const{target:c,isIntersecting:A}of i)A&&C("readedLengthChange",p.chapterIndex,parseInt(c.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),h.observe(E.value),y.value.forEach(i=>{h.observe(i)})}),Fe(()=>{h==null||h.disconnect(),h=null}),(i,c)=>(f(),m(ee,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:E},M(i.title),513),(f(!0),m(ee,null,ae(i.contents,(A,g)=>(f(),m("div",{key:g,ref_for:!0,ref_key:"paragraphRef",ref:y,"data-chapterpos":a(x)[g]},[/^\s*<img[^>]*src[^>]+>$/.test(String(A))?(f(),m("img",{key:0,class:"full",src:w(A),onErrorOnce:k,loading:"lazy"},null,40,rt)):(f(),m("p",{key:1,style:J({fontFamily:i.fontFamily,fontSize:i.fontSize}),innerHTML:A},null,12,lt))],8,it))),128))],64))}}),At=ce(ct,[["__scopeId","data-v-dce2cef9"]]),dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII=",ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgB1I4vXFj93UoF2/0TPEsWwV9EhbIiTPqYoTHYoMn3Line truncated
|
||||
import{d as le,a2 as Te,p as l,y as D,S as Ve,a7 as Fe,o as f,e as m,h as t,t as M,F as ee,O as ae,u as a,a8 as J,a9 as Pe,J as be,s as U,f as K,w as R,aa as Je,z as pe,ab as Ge,g as T,L as ge,ac as qe,a6 as Le,m as L,ad as Ze,v as Ye,ae as Me,af as Re,ag as je,V as Xe,N as xe,a5 as _e,ah as $e,ai as et,c as tt}from"./vendor-DyE_jpJ0.js";import{u as ie,i as ot,A as re,_ as ce,a as Qe}from"./index-CoMQMWtZ.js";import{u as nt}from"./loading-DO4FBnCG.js";const st=(d,s,u,B)=>(d/=B/2,d<1?u/2*d*d+s:(d--,-u/2*(d*(d-2)-1)+s)),at=()=>{let d,s,u,B,n,I,p,w,k,V,x,E,y;function Q(){let g=d.scrollTop||d.scrollY||d.pageYOffset;return g=typeof g>"u"?0:g,g}function h(g){const b=g.getBoundingClientRect().top,te=d.getBoundingClientRect?d.getBoundingClientRect().top:0;return b-te+u}function C(g){d.scrollTo?d.scrollTo(0,g):d.scrollTop=g}function i(g){V||(V=g),x=g-V,E=I(x,u,w,k),C(E),x<k?requestAnimationFrame(i):c()}function c(){C(u+w),s&&p&&(s.setAttribute("tabindex","-1"),s.focus()),typeof y=="function"&&y(),V=!1}function A(g,b={}){switch(k=b.duration||1e3,n=b.offset||0,y=b.callback,I=b.easing||st,p=b.a11y||!1,typeof b.container){case"object":d=b.container;break;case"string":d=document.querySelector(b.container);break;default:d=window}switch(u=Q(),typeof g){case"number":s=void 0,p=!1,B=u+g;break;case"object":s=g,B=h(s);break;case"string":s=document.querySelector(g),B=h(s);break}switch(w=B-u+n,typeof b.duration){case"number":k=b.duration;break;case"function":k=b.duration(w);break}requestAnimationFrame(i)}return A},_=at(),it=["data-chapterpos"],rt=["src"],lt=["innerHTML"],ct=le({__name:"ChapterContent",props:{chapterIndex:{},contents:{},title:{},spacing:{},fontFamily:{},fontSize:{}},emits:["readedLengthChange"],setup(d,{expose:s,emit:u}){Te(i=>({dcb41ef4:p.spacing.letter,ad61d758:p.spacing.line,"6503210e":p.spacing.paragraph}));const B=ie(),n=l(()=>B.config.readWidth),I=l(()=>B.readingBook.bookUrl),p=d,w=i=>{const c=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,A=i.match(c)[1];return ot(A)?re.getProxyImageUrl(I.value,A,ie().config.readWidth):A},k=i=>{i.target.src=re.getProxyImageUrl(I.value,i.target.src,n.value)},V=i=>{const c=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return i.replaceAll(c," ").length},x=l(()=>{let i=-1;return Array.from(p.contents,c=>(i+=V(c)+1,i))}),E=D(),y=D();s({scrollToReadedLength:i=>{if(i===0)return;const c=x.value.findIndex(A=>A>=i);c!==-1&&Pe(()=>{_(y.value[c],{duration:0})})}});let h=null;const C=u;return Ve(()=>{h=new IntersectionObserver(i=>{for(const{target:c,isIntersecting:A}of i)A&&C("readedLengthChange",p.chapterIndex,parseInt(c.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),h.observe(E.value),y.value.forEach(i=>{h.observe(i)})}),Fe(()=>{h==null||h.disconnect(),h=null}),(i,c)=>(f(),m(ee,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:E},M(i.title),513),(f(!0),m(ee,null,ae(i.contents,(A,g)=>(f(),m("div",{key:g,ref_for:!0,ref_key:"paragraphRef",ref:y,"data-chapterpos":a(x)[g]},[/^\s*<img[^>]*src[^>]+>$/.test(String(A))?(f(),m("img",{key:0,class:"full",src:w(A),onErrorOnce:k,loading:"lazy"},null,40,rt)):(f(),m("p",{key:1,style:J({fontFamily:i.fontFamily,fontSize:i.fontSize}),innerHTML:A},null,12,lt))],8,it))),128))],64))}}),At=ce(ct,[["__scopeId","data-v-dce2cef9"]]),dt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAADFBMVEXr5djn4dTp49bt59rT6LKxAAACnElEQVQozw3NUUwScRzA8d8R6MF8YMIx8uk47hDSJbj14IPzOGc7jPLvwTGg5uAYDbe2tt56cLtznvEnS6yDqCcEaWi91DvrbLJZz7b1aFtz1aO+2OZWvn+/+4CHeB6BMYaqBLfjPNRY6RFT2JJYby+uAk4WUTrtlmJ4hgPYb2q1XGDQjaK8pgJHvqNaAX+KyuIkDXpgQinb46nOulnn4b5laUHTxLfseeArAoNOeJlOIjdoal0n1FA7tKFv5roK+YaHOqP3P0XyKHPHY+MhTRe5uCZnKhtJKw2eSrSoBDPLtpZuNcFNJcFyiCMxOaaHIfXz1e8HQbWLySrBQ4x0x1qlhnHlnz2HQEC6TNb0gTHXa7IKhcaHqkE015hk9whA0YeWiLIXf7Fa2CZo3DjqjB4tTuF8jIcbfcEx5z/w4sXpQhXW+ju0cqh7icTFmRMaG+v6CIvTjcSpHcH8JEsF3EPh3fRthYdVLLgI2fWXm85/pGFE4l046s70L+yKCcirGFR+jbpy3kMmiCGHrSezVONsn1RBixncyk2PcVWk7DlgxHo8iZwDyq5uAUD854dZhdIFYzKoQig2haUKi1lVufz2RZUZPZ41n/hrOQB6h0Hhg8I367FNoEHgeM/KY7szSeQwD8q2WE3HM35ZLl0K1MJiOtHIkBclRQUwZnyOWcNsRQQgVLj1PSqkjF9DsoOSaSg3iinKzvfmgsNFFfpP/2T3GLGvL4fHEfwIX1sVvXcPqLztehWGcfn9nI2U9nTfCgJPe/jFPLZwgVEzimBgAm0VIyK2tt1cE/AzQdLK+SxLSQ4aDCZnnId94OG2S1XwvnTbNk/ZnhyRCQT+sZM6z9g6LXL1BOBe+zJySiFkHAINCtnQokbCJ/apCv0foqPiZVfhpywAAAAASUVORK5CYII=",ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgB1I4vXFj93UoF2/0TPEsWwV9EhbIiTPqYoTHYoMn3Line truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@charset "UTF-8";.title[data-v-dce2cef9]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-dce2cef9]{display:block;word-wrap:break-word;letter-spacing:calc(var(--dcb41ef4) * 1em);line-height:calc(1 + var(--ad61d758));margin:calc(var(--6503210e) * 1em) 0}p[data-v-dce2cef9] img{height:1em}.full[data-v-dce2cef9]{display:block;width:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./popfont-WaOB0hHG.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-PstzbNMW.woff) format("woff")}[data-v-dd7cfcb2] .iconfont,[data-v-dd7cfcb2] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-dd7cfcb2]{-webkit-user-select:none;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-dd7cfcb2]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list[data-v-dd7cfcb2]{max-height:calc(70vh - 50px);overflow:auto}.settings-wrapper .setting-list ul[data-v-dd7cfcb2]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-dd7cfcb2]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-dd7cfcb2]{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-dd7cfcb2]{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-dd7cfcb2]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-dd7cfcb2]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-dd7cfcb2]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading[data-v-dd7cfcb2]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-dd7cfcb2]{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-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-dd7cfcb2]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-dd7cfcb2]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-dd7cfcb2]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .read-width[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .letter-spacing[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .line-spacing[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .paragraph-spacing[data-v-dd7cfcb2]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .read-width .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .letter-spacing .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .line-spacing .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .paraLine truncated
|
||||
@charset "UTF-8";.title[data-v-dce2cef9]{margin-bottom:57px;font:24px/32px PingFangSC-Regular,HelveticaNeue-Light,Helvetica Neue Light,Microsoft YaHei,sans-serif}p[data-v-dce2cef9]{display:block;word-wrap:break-word;letter-spacing:calc(var(--dcb41ef4) * 1em);line-height:calc(1 + var(--ad61d758));margin:calc(var(--6503210e) * 1em) 0}p[data-v-dce2cef9] img{height:1em}.full[data-v-dce2cef9]{display:block;width:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./popfont-WaOB0hHG.ttf);font-style:normal;font-weight:400}@font-face{font-family:iconfont;src:url(./iconfont-PstzbNMW.woff) format("woff")}[data-v-dd7cfcb2] .iconfont,[data-v-dd7cfcb2] .moon-icon{font-family:iconfont;font-style:normal}.settings-wrapper[data-v-dd7cfcb2]{-webkit-user-select:none;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-dd7cfcb2]{font-size:18px;line-height:22px;margin-bottom:28px;font-family:FZZCYSK;font-weight:400}.settings-wrapper .setting-list[data-v-dd7cfcb2]{max-height:calc(70vh - 50px);overflow:auto}.settings-wrapper .setting-list ul[data-v-dd7cfcb2]{list-style:none outside none;margin:0;padding:0}.settings-wrapper .setting-list ul li[data-v-dd7cfcb2]{list-style:none outside none}.settings-wrapper .setting-list ul li i[data-v-dd7cfcb2]{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-dd7cfcb2]{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-dd7cfcb2]{display:none}.settings-wrapper .setting-list ul li .selected[data-v-dd7cfcb2]{color:#ed4259}.settings-wrapper .setting-list ul li .selected .iconfont[data-v-dd7cfcb2]{display:inline}.settings-wrapper .setting-list ul .font-list[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading[data-v-dd7cfcb2]{margin-top:28px}.settings-wrapper .setting-list ul .font-list .font-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-dd7cfcb2]{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-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .font-item-input[data-v-dd7cfcb2]{width:168px;color:#000}.settings-wrapper .setting-list ul .font-list .selected[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .infinite-loading .selected[data-v-dd7cfcb2]{color:#ed4259;border:1px solid #ed4259}.settings-wrapper .setting-list ul .font-list .font-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .font-list .infinite-loading-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .infinite-loading .font-item[data-v-dd7cfcb2]:hover,.settings-wrapper .setting-list ul .infinite-loading .infinite-loading-item[data-v-dd7cfcb2]:hover{border:1px solid #ed4259;color:#ed4259}.settings-wrapper .setting-list ul .font-size[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .read-width[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .letter-spacing[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .line-spacing[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .paragraph-spacing[data-v-dd7cfcb2]{margin-top:28px}.settings-wrapper .setting-list ul .font-size .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .read-width .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .letter-spacing .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .line-spacing .resize[data-v-dd7cfcb2],.settings-wrapper .setting-list ul .paraLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{d as J,a2 as $,p as w,o as u,e as h,h as e,F as U,O as W,t as g,c as ee,w as b,g as z,L as A,u as a,a3 as O,y as C,a4 as te,N as se,a5 as oe,S as ae,f as I,z as ne,K as re,s as T,a6 as ie,m as x,H as ce,A as le}from"./vendor-DyE_jpJ0.js";import{d as de,A as y,i as ue,_ as Z,u as pe,l as D,v as he,s as ge,p as me,b as H}from"./index-ecLu3hyj.js";import{u as fe}from"./loading-DO4FBnCG.js";const ve={class:"books-wrapper"},_e={class:"wrapper"},we=["onClick"],ye={class:"cover-img"},Be=["src"],Se={class:"info"},ke={class:"name"},Ae={class:"sub"},Ce={class:"author"},Ie={key:0,class:"tags"},xe={key:1,class:"update-info"},Re={class:"size"},Ee={class:"date"},Le={key:0,class:"intro"},Te={key:1,class:"dur-chapter"},be={class:"last-chapter"},ze=J({__name:"BookItems",props:{books:{},isSearch:{type:Boolean}},emits:["bookClick"],setup(V,{emit:s}){$(i=>({"2a51eeb0":a(k)}));const B=V,R=s,n=i=>R("bookClick",i),S=({bookUrl:i,coverUrl:c})=>c===void 0?y.getProxyCoverUrl(i):ue(c)?y.getProxyCoverUrl(c):c,E=i=>{const c=i.target;c.src=y.getProxyCoverUrl(c.src)},k=w(()=>B.isSearch?"space-between":"flex-start");return(i,c)=>{const m=O;return u(),h("div",ve,[e("div",_e,[(u(!0),h(U,null,W(i.books,r=>{var l;return u(),h("div",{class:"book",key:r.bookUrl,onClick:v=>n(r)},[e("div",ye,[(u(),h("img",{class:"cover",src:S(r),key:r.coverUrl,onErrorOnce:E,alt:"",loading:"lazy"},null,40,Be))]),e("div",Se,[e("div",ke,g(r.name),1),e("div",Ae,[e("div",Ce,g(r.author),1),i.isSearch?(u(),h("div",Ie,[(u(!0),h(U,null,W((l=r.kind)==null?void 0:l.split(",").slice(0,2),v=>(u(),ee(m,{key:v},{default:b(()=>[z(g(v),1)]),_:2},1024))),128))])):A("",!0),i.isSearch?A("",!0):(u(),h("div",xe,[c[0]||(c[0]=e("div",{class:"dot"},"•",-1)),e("div",Re,"共"+g(r.totalChapterNum)+"章",1),c[1]||(c[1]=e("div",{class:"dot"},"•",-1)),e("div",Ee,g(a(de)(r.lastCheckTime)),1)]))]),i.isSearch?(u(),h("div",Le,g(r.intro),1)):A("",!0),i.isSearch?A("",!0):(u(),h("div",Te," 已读:"+g(r.durChapterTitle),1)),e("div",be,"最新:"+g(r.latestChapterTitle),1)])],8,we)}),128))])])}}}),Ve=Z(ze,[["__scopeId","data-v-0f5f0160"]]),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==",Pe={class:"navigation-wrapper"},Ne={class:"search-wrapper"},Ue={class:"bottom-wrapper"},We={class:"recent-wrapper"},De={class:"reading-recent"},He={class:"setting-wrapper"},Je={class:"setting-item"},Oe={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Fe={class:"bottom-icon"},Ke=["src"],Ye=J({__name:"BookShelf",setup(V){const s=pe(),B=w(()=>s.isNight),R=o=>{try{o!==void 0&&s.setConfig(o)}catch{x.info("阅读界面配置解析错误")}},n=C({name:"尚无阅读记录",author:"",bookUrl:"",chapterIndex:0,chapterPos:0,isSeachBook:!1}),S=C(),{showLoading:E,closeLoading:k,loadingWrapper:i,isLoading:c}=fe(S,"正在获取书籍信息"),m=te([]),r=w(()=>s.shelf),l=C(""),v=C(!1);se(()=>{if(!(v.value&&l.value!="")){if(v.value=!1,m.value=[],l.value==""){m.value=r.value;return}m.value=r.value.filter(o=>o.name.includes(l.value)||o.author.includes(l.value))}});const M=()=>{l.value!=""&&(m.value=[],s.clearSearchBooks(),E(),v.value=!0,y.search(l.value,o=>{c&&k();try{s.setSearchBooks(o),m.value=s.searchBooks}catch(t){throw x.error("后端数据错误"),t}},()=>{k(),m.value.length==0&&x.info("搜索结果为空")}))},F=w(()=>s.connectStatus),K=w(()=>s.connectType),Y=w(()=>s.newConnect),Q=()=>{ie.prompt("请输入 后端地址 ( 如:http://127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPlaceholder:Line truncated
|
||||
import{d as J,a2 as $,p as w,o as u,e as h,h as e,F as U,O as W,t as g,c as ee,w as b,g as z,L as A,u as a,a3 as O,y as C,a4 as te,N as se,a5 as oe,S as ae,f as I,z as ne,K as re,s as T,a6 as ie,m as x,H as ce,A as le}from"./vendor-DyE_jpJ0.js";import{d as de,A as y,i as ue,_ as Z,u as pe,l as D,v as he,s as ge,p as me,b as H}from"./index-CoMQMWtZ.js";import{u as fe}from"./loading-DO4FBnCG.js";const ve={class:"books-wrapper"},_e={class:"wrapper"},we=["onClick"],ye={class:"cover-img"},Be=["src"],Se={class:"info"},ke={class:"name"},Ae={class:"sub"},Ce={class:"author"},Ie={key:0,class:"tags"},xe={key:1,class:"update-info"},Re={class:"size"},Ee={class:"date"},Le={key:0,class:"intro"},Te={key:1,class:"dur-chapter"},be={class:"last-chapter"},ze=J({__name:"BookItems",props:{books:{},isSearch:{type:Boolean}},emits:["bookClick"],setup(V,{emit:s}){$(i=>({"2a51eeb0":a(k)}));const B=V,R=s,n=i=>R("bookClick",i),S=({bookUrl:i,coverUrl:c})=>c===void 0?y.getProxyCoverUrl(i):ue(c)?y.getProxyCoverUrl(c):c,E=i=>{const c=i.target;c.src=y.getProxyCoverUrl(c.src)},k=w(()=>B.isSearch?"space-between":"flex-start");return(i,c)=>{const m=O;return u(),h("div",ve,[e("div",_e,[(u(!0),h(U,null,W(i.books,r=>{var l;return u(),h("div",{class:"book",key:r.bookUrl,onClick:v=>n(r)},[e("div",ye,[(u(),h("img",{class:"cover",src:S(r),key:r.coverUrl,onErrorOnce:E,alt:"",loading:"lazy"},null,40,Be))]),e("div",Se,[e("div",ke,g(r.name),1),e("div",Ae,[e("div",Ce,g(r.author),1),i.isSearch?(u(),h("div",Ie,[(u(!0),h(U,null,W((l=r.kind)==null?void 0:l.split(",").slice(0,2),v=>(u(),ee(m,{key:v},{default:b(()=>[z(g(v),1)]),_:2},1024))),128))])):A("",!0),i.isSearch?A("",!0):(u(),h("div",xe,[c[0]||(c[0]=e("div",{class:"dot"},"•",-1)),e("div",Re,"共"+g(r.totalChapterNum)+"章",1),c[1]||(c[1]=e("div",{class:"dot"},"•",-1)),e("div",Ee,g(a(de)(r.lastCheckTime)),1)]))]),i.isSearch?(u(),h("div",Le,g(r.intro),1)):A("",!0),i.isSearch?A("",!0):(u(),h("div",Te," 已读:"+g(r.durChapterTitle),1)),e("div",be,"最新:"+g(r.latestChapterTitle),1)])],8,we)}),128))])])}}}),Ve=Z(ze,[["__scopeId","data-v-0f5f0160"]]),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==",Pe={class:"navigation-wrapper"},Ne={class:"search-wrapper"},Ue={class:"bottom-wrapper"},We={class:"recent-wrapper"},De={class:"reading-recent"},He={class:"setting-wrapper"},Je={class:"setting-item"},Oe={class:"bottom-icons"},Ze={href:"https://github.com/gedoor/legado_web_bookshelf",target:"_blank"},Fe={class:"bottom-icon"},Ke=["src"],Ye=J({__name:"BookShelf",setup(V){const s=pe(),B=w(()=>s.isNight),R=o=>{try{o!==void 0&&s.setConfig(o)}catch{x.info("阅读界面配置解析错误")}},n=C({name:"尚无阅读记录",author:"",bookUrl:"",chapterIndex:0,chapterPos:0,isSeachBook:!1}),S=C(),{showLoading:E,closeLoading:k,loadingWrapper:i,isLoading:c}=fe(S,"正在获取书籍信息"),m=te([]),r=w(()=>s.shelf),l=C(""),v=C(!1);se(()=>{if(!(v.value&&l.value!="")){if(v.value=!1,m.value=[],l.value==""){m.value=r.value;return}m.value=r.value.filter(o=>o.name.includes(l.value)||o.author.includes(l.value))}});const M=()=>{l.value!=""&&(m.value=[],s.clearSearchBooks(),E(),v.value=!0,y.search(l.value,o=>{c&&k();try{s.setSearchBooks(o),m.value=s.searchBooks}catch(t){throw x.error("后端数据错误"),t}},()=>{k(),m.value.length==0&&x.info("搜索结果为空")}))},F=w(()=>s.connectStatus),K=w(()=>s.connectType),Y=w(()=>s.newConnect),Q=()=>{ie.prompt("请输入 后端地址 ( 如:http://127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPlaceholder:Line truncated
|
||||
+6
-6
@@ -1,10 +1,10 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-FXhzdsnU.js","./vendor-DyE_jpJ0.js","./vendor-B4LKkcA9.css","./loading-DO4FBnCG.js","./loading-DyaW7RXx.css","./BookShelf-NtIGhs51.css","./BookChapter-Dye8J9qh.js","./BookChapter-ZSA5dCyX.css"])))=>i.map(i=>d[i]);
|
||||
import{r as Oe,c as C,o as g,a as se,b as ie,d as A,e as E,f as h,w as p,g as y,u as s,l as V,h as S,F as N,E as De,i as be,j as Je,k as Pe,m as k,n as ke,p as j,t as X,q as ve,s as we,v as le,x as $e,y as J,z as K,A as Ce,B as je,C as Ae,D as pe,V as Me,G as Ue,H as Z,I as Ke,J as ae,K as He,L as R,M as We,N as Fe,O as M,P as Be,Q as Ee,R as q,S as qe,T as ze,U as Ge,W as Ye,X as Qe,Y as Xe,Z as Ze,_ as et,$ as tt,a0 as ot,a1 as nt}from"./vendor-DyE_jpJ0.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function t(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=t(r);fetch(r.href,i)}})();const $=(e,o)=>{const t=e.__vccOpts||e;for(const[n,r]of o)t[n]=r;return t},rt={};function st(e,o){const t=Oe("router-view");return g(),C(t)}const it=$(rt,[["render",st]]),lt="modulepreload",at=function(e,o){return new URL(e,o).href},ge={},he=function(o,t,n){let r=Promise.resolve();if(t&&t.length>0){const c=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),b=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.allSettled(t.map(w=>{if(w=at(w,n),w in ge)return;ge[w]=!0;const U=w.endsWith(".css"),x=U?'[rel="stylesheet"]':"";if(!!n)for(let _=c.length-1;_>=0;_--){const v=c[_];if(v.href===w&&(!U||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${w}"]${x}`))return;const l=document.createElement("link");if(l.rel=U?"stylesheet":lt,U||(l.as="script"),l.crossOrigin="",l.href=w,b&&l.setAttribute("nonce",b),document.head.appendChild(l),U)return new Promise((_,v)=>{l.addEventListener("load",_),l.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${w}`)))})}))}function i(c){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=c,window.dispatchEvent(a),!a.defaultPrevented)throw c}return r.then(c=>{for(const a of c||[])a.status==="rejected"&&i(a.reason);return o().catch(i)})},xe=[{path:"/",name:"shelf",component:()=>he(()=>import("./BookShelf-FXhzdsnU.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>he(()=>import("./BookChapter-Dye8J9qh.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];se({history:ie(),routes:xe});const ct={style:{"margin-top":"20px"}},ut=A({__name:"SourceHelp",setup(e){return(o,t)=>{const n=De,r=be;return g(),E(N,null,[h(n,{icon:s(V),href:"/help/#appHelp",target:"_blank"},{default:p(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#ruleHelp",target:"_blank"},{default:p(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#jsHelp",target:"_blank"},{default:p(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#xpathHelp",target:"_blank"},{default:p(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#regexHelp",target:"_blank"},{default:p(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:p(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#debugHelp",target:"_blank"},{default:p(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#httpTTSHelp",target:"_blank"},{default:p(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#webDavBookHelp",target:"_blank"},{default:p(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#webDavHelp",target:"_blank"},{default:p(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=S("br",null,null,-1)),h(n,{icon:s(V),href:"https://regexr-cn.com/",target:"_blank"},{default:p(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=S("br",null,null,-1)),S("div",ct,[S("span",null,[h(r,null,{default:p(()=>t[11]||(t[11]=[S("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=S("br",null,null,-1)),S("span",null,[h(r,null,{default:p(()=>t[12]||(t[12]=Line truncated
|
||||
`},i=async()=>{t.value="";try{await P.saveSource(o.currentSource)}catch(a){throw o.debugFinish(),a}P.debug(o.currentSourceUrl,n.value||o.searchKey,r,o.debugFinish)},c=j(()=>/bookSource/i.test(window.location.href));return(a,b)=>{const w=Z;return g(),E(N,null,[s(c)?(g(),C(w,{key:0,id:"debug-key",modelValue:s(n),"onUpdate:modelValue":b[0]||(b[0]=U=>K(n)?n.value=U:null),placeholder:"搜索书名、作者","prefix-icon":s(Ce),style:{"padding-bottom":"4px"},onKeydown:He(i,["enter"])},null,8,["modelValue","prefix-icon"])):R("",!0),h(w,{id:"debug-text",modelValue:s(t),"onUpdate:modelValue":b[1]||(b[1]=U=>K(t)?t.value=U:null),type:"textarea",readonly:"",rows:29,placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}}),Ft=$(Wt,[["__scopeId","data-v-3ac68c8a"]]),fe={theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}};let ye;const qt=ke("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"primary",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{chapterPos:0,chapterIndex:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:fe,miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var c;if(e.catalog.length==0)return;const{chapterIndex:o,chapterPos:t,name:n,author:r}=e.readingBook,i=(c=e.catalog[o])==null?void 0:c.title;if(i)return{name:n,author:r,durChapterIndex:o,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:i}},theme:e=>e.config.theme,isNight:e=>e.config.theme==6},actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},async loadBookShelf(){const e=P.getBookShelf().then(o=>{const{isSuccess:t,data:n,errorMsg:r}=o.data;if(t===!0)this.shelf.length!==n.length&&this.shelf.length>0&&n.length>0&&k.info("书架数据已更新"),this.shelf=n.sort((i,c)=>{const a=i.durChapterTime||0;return(c.durChapterTime||0)-a});else{if(r.includes("还没有添加小说")&&this.shelf.length>0)return k.info("当前书架上的书籍已经被删除"),this.shelf=[];k.error(r??"后端返回格式错误!")}return this.shelf});return this.shelf.length>0?this.shelf:await e},clearBooks(){this.shelf=[]},async loadWebCatalog(e){const{bookUrl:o,name:t,chapterIndex:n}=e,r=P.getChapterList(e.bookUrl).then(i=>{const{isSuccess:c,data:a,errorMsg:b}=i.data;if(c===!1)throw k.error(b),new Error;return a.length!==this.catalog.length&&a.length>0&&this.catalog.length>0&&k.info(`书籍${t}: 章节目录已更新`),this.setCatalog(a),this.catalog});return o===this.readingBook.bookUrl&&this.catalog.length>0&&this.catalog.length-1>=n?this.catalog:await r},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},async loadWebConfig(){if(ye===void 0){const e=await P.getReadConfig();return ye=new Date,this.setConfig(e)}},setConfig(e){this.config=Object.assign({},this.config??fe,e)},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(o=>{this.shelf.every(n=>n.bookUrl!==o.bookUrl)===!0&&this.searchBooks.push(o)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){if(!this.bookProgress)return Promise.resolve();const{bookUrl:e}=this.readingBook,o=Ue(this.shelf),t=o.findIndex(n=>n.bookUrl===e);return t>-1&&(this.shelf[t]=Object.assign({},o[t],this.bookProgress)),P.saveBookProgressWithBeacon(this.bookProgress)}}}),zt=We(),Gt=A({__name:"SourceJson",setup(e){const o=W(),t=J(""),n=async r=>{try{o.changeEditTabSource(JSON.parse(r))}catch{k({message:"粘贴的源格式错误",type:"error"})}};return Fe(async()=>{const r=o.editTabSource;Object.keys(r).length>0?t.value=JSON.stringify(r,null,4):t.value=""}),(r,i)=>{const c=Z;return g(),C(c,{id:"source-json",modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=a=>K(t)?t.value=a:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:30,onChange:n,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}}),Yt=$(Gt,[["__scopeId","data-v-f62d9369"]]),Qt=A({__name:"SourceTabTools",setup(e){const o=W(),t=j({get:()=>o.currentTab,set:r=>o.currentTab=r}),n=J([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(r,i)=>{const c=Yt,a=Ft,b=Ht,w=dt,U=Be,x=Ee;return g(),C(x,{modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=d=>K(t)?t.value=d:null)},{default:p(()=>[(g(!0),E(N,null,M(s(n),(d,l)=>(g(),C(U,{key:d[0],name:d[0],label:d[1]},{default:p(()=>[l==0?(g(),C(c,{key:0})):R("",!0),l==1?(g(),C(a,{key:1})):R("",!0),l==2?(g(),C(b,{key:2})):R("",!0),l==3?(g(),C(w,{key:3})):R("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}}),Xt=$(Qt,[["__scopeId","data-v-fd81540f"]]),Zt={class:"menu flex-column-center"},eo={class:"hotkeys-header flex-space-between"
Line truncated
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-CA8P-QMk.js","./vendor-DyE_jpJ0.js","./vendor-B4LKkcA9.css","./loading-DO4FBnCG.js","./loading-DyaW7RXx.css","./BookShelf-NtIGhs51.css","./BookChapter-DF8_gTi8.js","./BookChapter-c-elTHGm.css"])))=>i.map(i=>d[i]);
|
||||
import{r as Ne,c as C,o as g,a as se,b as ie,d as A,e as E,f as h,w as p,g as y,u as s,l as V,h as S,F as N,E as Oe,i as _e,j as De,k as Je,m as k,n as be,p as j,t as X,q as ke,s as ve,v as le,x as Pe,y as J,z as K,A as we,B as $e,C as je,D as pe,V as Ae,G as Ce,H as Z,I as Me,J as ae,K as Ke,L as R,M as He,N as We,O as M,P as Ue,Q as Be,R as q,S as Fe,T as qe,U as ze,W as Ge,X as Ye,Y as Qe,Z as Xe,_ as Ze,$ as et,a0 as tt,a1 as ot}from"./vendor-DyE_jpJ0.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function t(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=t(r);fetch(r.href,i)}})();const $=(e,o)=>{const t=e.__vccOpts||e;for(const[n,r]of o)t[n]=r;return t},nt={};function rt(e,o){const t=Ne("router-view");return g(),C(t)}const st=$(nt,[["render",rt]]),it="modulepreload",lt=function(e,o){return new URL(e,o).href},ge={},he=function(o,t,n){let r=Promise.resolve();if(t&&t.length>0){const c=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),b=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.allSettled(t.map(w=>{if(w=lt(w,n),w in ge)return;ge[w]=!0;const U=w.endsWith(".css"),x=U?'[rel="stylesheet"]':"";if(!!n)for(let _=c.length-1;_>=0;_--){const v=c[_];if(v.href===w&&(!U||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${w}"]${x}`))return;const l=document.createElement("link");if(l.rel=U?"stylesheet":it,U||(l.as="script"),l.crossOrigin="",l.href=w,b&&l.setAttribute("nonce",b),document.head.appendChild(l),U)return new Promise((_,v)=>{l.addEventListener("load",_),l.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${w}`)))})}))}function i(c){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=c,window.dispatchEvent(a),!a.defaultPrevented)throw c}return r.then(c=>{for(const a of c||[])a.status==="rejected"&&i(a.reason);return o().catch(i)})},Ee=[{path:"/",name:"shelf",component:()=>he(()=>import("./BookShelf-CA8P-QMk.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>he(()=>import("./BookChapter-DF8_gTi8.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];se({history:ie(),routes:Ee});const at={style:{"margin-top":"20px"}},ct=A({__name:"SourceHelp",setup(e){return(o,t)=>{const n=Oe,r=_e;return g(),E(N,null,[h(n,{icon:s(V),href:"/help/#appHelp",target:"_blank"},{default:p(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#ruleHelp",target:"_blank"},{default:p(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#jsHelp",target:"_blank"},{default:p(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#xpathHelp",target:"_blank"},{default:p(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#regexHelp",target:"_blank"},{default:p(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:p(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#debugHelp",target:"_blank"},{default:p(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#httpTTSHelp",target:"_blank"},{default:p(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#webDavBookHelp",target:"_blank"},{default:p(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=S("br",null,null,-1)),h(n,{icon:s(V),href:"/help/#webDavHelp",target:"_blank"},{default:p(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=S("br",null,null,-1)),h(n,{icon:s(V),href:"https://regexr-cn.com/",target:"_blank"},{default:p(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=S("br",null,null,-1)),S("div",at,[S("span",null,[h(r,null,{default:p(()=>t[11]||(t[11]=[S("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=S("br",null,null,-1)),S("span",null,[h(r,null,{default:p(()=>t[12]||(t[12]=Line truncated
|
||||
`},i=async()=>{t.value="";try{await P.saveSource(o.currentSource)}catch(a){throw o.debugFinish(),a}P.debug(o.currentSourceUrl,n.value||o.searchKey,r,o.debugFinish)},c=j(()=>/bookSource/i.test(window.location.href));return(a,b)=>{const w=Z;return g(),E(N,null,[s(c)?(g(),C(w,{key:0,id:"debug-key",modelValue:s(n),"onUpdate:modelValue":b[0]||(b[0]=U=>K(n)?n.value=U:null),placeholder:"搜索书名、作者","prefix-icon":s(we),style:{"padding-bottom":"4px"},onKeydown:Ke(i,["enter"])},null,8,["modelValue","prefix-icon"])):R("",!0),h(w,{id:"debug-text",modelValue:s(t),"onUpdate:modelValue":b[1]||(b[1]=U=>K(t)?t.value=U:null),type:"textarea",readonly:"",rows:29,placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}}),Wt=$(Ht,[["__scopeId","data-v-3ac68c8a"]]),Ft={theme:0,font:0,fontSize:18,readWidth:800,infiniteLoading:!1,customFontName:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}};let fe;const qt=be("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"primary",newConnect:!0,searchBooks:[],shelf:[],catalog:[],readingBook:{chapterPos:0,chapterIndex:0},popCataVisible:!1,contentLoading:!0,showContent:!1,config:Ft,miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var c;if(e.catalog.length==0)return;const{chapterIndex:o,chapterPos:t,name:n,author:r}=e.readingBook,i=(c=e.catalog[o])==null?void 0:c.title;if(i)return{name:n,author:r,durChapterIndex:o,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:i}},theme:e=>e.config.theme,isNight:e=>e.config.theme==6},actions:{setConnectStatus(e){this.connectStatus=e},setConnectType(e){this.connectType=e},setNewConnect(e){this.newConnect=e},async loadBookShelf(){const e=P.getBookShelf().then(o=>{const{isSuccess:t,data:n,errorMsg:r}=o.data;if(t===!0)this.shelf.length!==n.length&&this.shelf.length>0&&n.length>0&&k.info("书架数据已更新"),this.shelf=n.sort((i,c)=>{const a=i.durChapterTime||0;return(c.durChapterTime||0)-a});else{if(r.includes("还没有添加小说")&&this.shelf.length>0)return k.info("当前书架上的书籍已经被删除"),this.shelf=[];k.error(r??"后端返回格式错误!")}return this.shelf});return this.shelf.length>0?this.shelf:await e},clearBooks(){this.shelf=[]},async loadWebCatalog(e){const{bookUrl:o,name:t,chapterIndex:n}=e,r=P.getChapterList(e.bookUrl).then(i=>{const{isSuccess:c,data:a,errorMsg:b}=i.data;if(c===!1)throw k.error(b),new Error;return a.length!==this.catalog.length&&a.length>0&&this.catalog.length>0&&k.info(`书籍${t}: 章节目录已更新`),this.setCatalog(a),this.catalog});return o===this.readingBook.bookUrl&&this.catalog.length>0&&this.catalog.length-1>=n?this.catalog:await r},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=e},async loadWebConfig(){if(fe===void 0){const e=await P.getReadConfig();return fe=new Date,this.setConfig(e)}},setConfig(e){this.config=Object.assign({},this.config,e)},setReadSettingsVisible(e){this.readSettingsVisible=e},setShowContent(e){this.showContent=e},setMiniInterface(e){this.miniInterface=e},async setSearchBooks(e){e.forEach(o=>{this.shelf.every(n=>n.bookUrl!==o.bookUrl)===!0&&this.searchBooks.push(o)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){if(!this.bookProgress)return Promise.resolve();const{bookUrl:e}=this.readingBook,o=Ce(this.shelf),t=o.findIndex(n=>n.bookUrl===e);return t>-1&&(this.shelf[t]=Object.assign({},o[t],this.bookProgress)),P.saveBookProgressWithBeacon(this.bookProgress)}}}),zt=He(),Gt=A({__name:"SourceJson",setup(e){const o=W(),t=J(""),n=async r=>{try{o.changeEditTabSource(JSON.parse(r))}catch{k({message:"粘贴的源格式错误",type:"error"})}};return We(async()=>{const r=o.editTabSource;Object.keys(r).length>0?t.value=JSON.stringify(r,null,4):t.value=""}),(r,i)=>{const c=Z;return g(),C(c,{id:"source-json",modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=a=>K(t)?t.value=a:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:30,onChange:n,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}}),Yt=$(Gt,[["__scopeId","data-v-f62d9369"]]),Qt=A({__name:"SourceTabTools",setup(e){const o=W(),t=j({get:()=>o.currentTab,set:r=>o.currentTab=r}),n=J([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(r,i)=>{const c=Yt,a=Wt,b=Kt,w=ut,U=Ue,x=Be;return g(),C(x,{modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=d=>K(t)?t.value=d:null)},{default:p(()=>[(g(!0),E(N,null,M(s(n),(d,l)=>(g(),C(U,{key:d[0],name:d[0],label:d[1]},{default:p(()=>[l==0?(g(),C(c,{key:0})):R("",!0),l==1?(g(),C(a,{key:1})):R("",!0),l==2?(g(),C(b,{key:2})):R("",!0),l==3?(g(),C(w,{key:3})):R("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}}),Xt=$(Qt,[["__scopeId","data-v-fd81540f"]]),Zt={class:"menu flex-column-center"},eo={class:"hotkeys-header flex-space-between"},to
Line truncated
|
||||
推送失败的源将用红色字体标注!`,o.setPushReturnSources(m)),k({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${f.length} 条
|
||||
成功: ${m.length} 条
|
||||
失败: ${f.length-m.length} 条${D}`,type:"success"})}}else k({message:`批量推送源失败!
|
||||
ErrorMsg: ${u.errorMsg}`,type:"error"})})},r=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},i=()=>{o.changeCurrentSource(o.editTabSource)},c=()=>{o.editHistoryUndo()},a=()=>{o.clearEdit(),k({message:"已清除",type:"success"})},b=()=>{o.clearEdit(),o.clearAllHistory(),k({message:"已清除所有历史记录",type:"success"})},w=()=>{const f=o.currentSource;Dt(f)?P.saveSource(f).then(({data:u})=>{const m=de(f);u.isSuccess?(k({message:`源《${m}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):k({message:`源《${m}》保存失败!
|
||||
ErrorMsg: ${u.errorMsg}`,type:"error"})}):k({message:"请检查<必填>项是否全部填写",type:"error"})},U=()=>{o.startDebug()},x=J(Array.of({name:"⇈推送源",hotKeys:[],action:n},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:r},{name:"⋘编辑源",hotKeys:[],action:i},{name:"✗清空表单",hotKeys:[],action:a},{name:"↶撤销操作",hotKeys:[],action:c},{name:"↷重做操作",hotKeys:[],action:b},{name:"⇏调试源",hotKeys:[],action:U},{name:"✓保存源",hotKeys:[],action:w})),d=J(!0),l=J(!1),_=J(-1),v=()=>{l.value||(d.value=!1),l.value=!1};ae(d,f=>{if(!f){q.unbind("*"),G(),F();return}G(),q.unbind(),q("*",u=>{u.preventDefault();const m=q.getPressedKeyString();m.length==1&&m[0]=="esc"||l.value&&_.value>-1&&(x.value[_.value].hotKeys=m)})},{immediate:!0});const L=f=>{l.value=!0,k({message:"按ESC键或者点击空白处结束录入",type:"info"}),x.value[f].hotKeys=[],_.value=f},O=()=>{const f=[];x.value.forEach(({hotKeys:u})=>{f.push(u)}),T(f),d.value=!1},F=()=>{q.filter=()=>!0,x.value.forEach(({hotKeys:f,action:u})=>{f.length!=0&&q(f.join("+"),m=>{m.preventDefault(),u.call(null)})})},T=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function G(){try{const f=localStorage.getItem("legado_web_hotkeys");if(f===null)return!1;const u=JSON.parse(f);return!Array.isArray(u)||u.length==0?!1:(x.value.forEach((m,D)=>m.hotKeys=u[D]),!0)}catch{k({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return qe(()=>{G()&&(d.value=!1)}),(f,u)=>{const m=le,D=be,Ve=Ge;return g(),E(N,null,[S("div",Zt,[(g(!0),E(N,null,M(s(x),I=>(g(),C(m,{size:"large",key:I.name,onClick:I.action},{default:p(()=>[y(X(I.name),1)]),_:2},1032,["onClick"]))),128)),h(m,{size:"large",onClick:u[0]||(u[0]=()=>d.value=!0)},{default:p(()=>u[2]||(u[2]=[y("快捷键")])),_:1})]),h(Ve,{modelValue:s(d),"onUpdate:modelValue":u[1]||(u[1]=I=>K(d)?d.value=I:null),"show-close":!1,"before-close":v},{header:p(({titleClass:I,titleId:oe})=>[S("div",eo,[S("div",{id:oe,class:we(I)},[u[4]||(u[4]=y(" 快捷键设置 ")),s(l)?(g(),E("span",oo,[h(D,null,{default:p(()=>u[3]||(u[3]=[y(" / 录入中 ")])),_:1})])):R("",!0)],10,to),h(m,{disabled:s(l),onClick:O,icon:s(ze)},{default:p(()=>u[5]||(u[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:p(()=>[S("div",no,[(g(!0),E(N,null,M(s(x),(I,oe)=>(g(),E("div",{key:I.name,class:"hotkeys-item flex-space-between"},[S("span",ro,[h(D,null,{default:p(()=>[y(X(I.name),1)]),_:2},1024)]),S("div",so,[(g(!0),E(N,null,M(I.hotKeys,(ne,Ne)=>(g(),E("div",{key:ne},[S("kbd",null,X(ne),1),Ne+1<I.hotKeys.length?(g(),E("span",io,[h(D,null,{default:p(()=>u[6]||(u[6]=[y("+")])),_:1})])):R("",!0)]))),128)),I.hotKeys.length==0?(g(),E("span",lo,"未设置")):R("",!0)]),h(m,{disabled:s(l),text:"",icon:s(ve),onClick:ne=>L(oe)},{default:p(()=>u[7]||(u[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}}),co=$(ao,[["__scopeId","data-v-7fe41be4"]]),uo=A({__name:"SourceTabForm",props:{config:{}},setup(e){const o=W(),t=j(()=>o.currentSource);return(n,r)=>{const i=Z,c=Ye,a=Qe,b=Xe,w=Ze,U=et,x=tt,d=Be,l=Ee;return g(),C(l,{id:"source-edit"},{default:p(()=>[(g(!0),E(N,null,M(Object.values(n.config),({name:_,children:v})=>(g(),C(d,{label:_,key:_},{default:p(()=>[h(x,{"label-position":"right","label-width":"auto"},{default:p(()=>[(g(!0),E(N,null,M(v,({type:L,title:O,namespace:F,id:T,array:G,hint:f,required:u=!1})=>(g(),C(U,{label:O,key:O,required:u},{default:p(()=>[L=="String"&&typeof F>"u"?(g(),C(i,{key:0,type:"textarea",modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):R("",!0),L=="String"&&typeof F<"u"?(g(),C(i,{key:1,type:"textarea",modelValue:s(t)[F][T],"onUpdate:modelValue":m=>s(t)[F][T]=m,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):R("",!0),L==="Boolean"?(g(),C(c,{key:2,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m},null,8,["modelValue","onUpdate:modelValue"])):R("",!0),L==="Number"?(g(),C(a,{key:3,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m,min:0},null,8,["modelValue","onUpdate:modelValue"])):R("",!0),L==="Array"?(g(),C(w,{key:4,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m},{default:p(()=>[(g(!0),E(N,null,M(G,(m,D)=>(g(),C(b,{value:D,key:m,label:m},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):R("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}}),po=$(uo,[["__scopeId","data-v-c07c5146"]]),go={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:"会显示在源列表",requ
Line truncated
|
||||
名称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<Element>"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List<String>或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链接加载白名单,英文逗号隔开"},{title:"链接拦截",id:"shouldOverrideUrlLoading",type:"String",hint:"填写js,变量url为当前资源链接,返回true拦截"}]},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"}]}},mo={class:"editor"},So=A({__name:"SourceEditor",setup(e){ot();let o;return/bookSource/i.test(location.href)?(o=go,document.title="书源管理"):(o=ho,document.title="订阅源管理"),(t,n)=>{const r=po,i=co,c=Xt;return g(),E("div",mo,[h(r,{class:"left",config:s(o)},null,8,["config"]),h(i),h(c,{class:"right"})])}}}),_e=$(So,[["__scopeId","data-v-f2c47af3"]]),Re=[{path:"/bookSource",name:"book-home",component:_e},{path:"/rssSource",name:"rss-home",component:_e}];se({history:ie(),routes:Re});const Te=se({history:ie(),routes:[xe,Re].flat()});Te.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});nt(it).use(zt).use(Te).mount("#app");ae(()=>qt().isNight,e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});export{P as A,$ as _,Y as a,pt as b,_o as d,yo as i,H as l,Ot as p,mt as s,qt as u,Vt as v};
|
||||
ErrorMsg: ${u.errorMsg}`,type:"error"})})},r=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},i=()=>{o.changeCurrentSource(o.editTabSource)},c=()=>{o.editHistoryUndo()},a=()=>{o.clearEdit(),k({message:"已清除",type:"success"})},b=()=>{o.clearEdit(),o.clearAllHistory(),k({message:"已清除所有历史记录",type:"success"})},w=()=>{const f=o.currentSource;Ot(f)?P.saveSource(f).then(({data:u})=>{const m=de(f);u.isSuccess?(k({message:`源《${m}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):k({message:`源《${m}》保存失败!
|
||||
ErrorMsg: ${u.errorMsg}`,type:"error"})}):k({message:"请检查<必填>项是否全部填写",type:"error"})},U=()=>{o.startDebug()},x=J(Array.of({name:"⇈推送源",hotKeys:[],action:n},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:r},{name:"⋘编辑源",hotKeys:[],action:i},{name:"✗清空表单",hotKeys:[],action:a},{name:"↶撤销操作",hotKeys:[],action:c},{name:"↷重做操作",hotKeys:[],action:b},{name:"⇏调试源",hotKeys:[],action:U},{name:"✓保存源",hotKeys:[],action:w})),d=J(!0),l=J(!1),_=J(-1),v=()=>{l.value||(d.value=!1),l.value=!1};ae(d,f=>{if(!f){q.unbind("*"),G(),F();return}G(),q.unbind(),q("*",u=>{u.preventDefault();const m=q.getPressedKeyString();m.length==1&&m[0]=="esc"||l.value&&_.value>-1&&(x.value[_.value].hotKeys=m)})},{immediate:!0});const L=f=>{l.value=!0,k({message:"按ESC键或者点击空白处结束录入",type:"info"}),x.value[f].hotKeys=[],_.value=f},O=()=>{const f=[];x.value.forEach(({hotKeys:u})=>{f.push(u)}),T(f),d.value=!1},F=()=>{q.filter=()=>!0,x.value.forEach(({hotKeys:f,action:u})=>{f.length!=0&&q(f.join("+"),m=>{m.preventDefault(),u.call(null)})})},T=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function G(){try{const f=localStorage.getItem("legado_web_hotkeys");if(f===null)return!1;const u=JSON.parse(f);return!Array.isArray(u)||u.length==0?!1:(x.value.forEach((m,D)=>m.hotKeys=u[D]),!0)}catch{k({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return Fe(()=>{G()&&(d.value=!1)}),(f,u)=>{const m=le,D=_e,Te=ze;return g(),E(N,null,[S("div",Zt,[(g(!0),E(N,null,M(s(x),I=>(g(),C(m,{size:"large",key:I.name,onClick:I.action},{default:p(()=>[y(X(I.name),1)]),_:2},1032,["onClick"]))),128)),h(m,{size:"large",onClick:u[0]||(u[0]=()=>d.value=!0)},{default:p(()=>u[2]||(u[2]=[y("快捷键")])),_:1})]),h(Te,{modelValue:s(d),"onUpdate:modelValue":u[1]||(u[1]=I=>K(d)?d.value=I:null),"show-close":!1,"before-close":v},{header:p(({titleClass:I,titleId:oe})=>[S("div",eo,[S("div",{id:oe,class:ve(I)},[u[4]||(u[4]=y(" 快捷键设置 ")),s(l)?(g(),E("span",oo,[h(D,null,{default:p(()=>u[3]||(u[3]=[y(" / 录入中 ")])),_:1})])):R("",!0)],10,to),h(m,{disabled:s(l),onClick:O,icon:s(qe)},{default:p(()=>u[5]||(u[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:p(()=>[S("div",no,[(g(!0),E(N,null,M(s(x),(I,oe)=>(g(),E("div",{key:I.name,class:"hotkeys-item flex-space-between"},[S("span",ro,[h(D,null,{default:p(()=>[y(X(I.name),1)]),_:2},1024)]),S("div",so,[(g(!0),E(N,null,M(I.hotKeys,(ne,Ve)=>(g(),E("div",{key:ne},[S("kbd",null,X(ne),1),Ve+1<I.hotKeys.length?(g(),E("span",io,[h(D,null,{default:p(()=>u[6]||(u[6]=[y("+")])),_:1})])):R("",!0)]))),128)),I.hotKeys.length==0?(g(),E("span",lo,"未设置")):R("",!0)]),h(m,{disabled:s(l),text:"",icon:s(ke),onClick:ne=>L(oe)},{default:p(()=>u[7]||(u[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}}),co=$(ao,[["__scopeId","data-v-7fe41be4"]]),uo=A({__name:"SourceTabForm",props:{config:{}},setup(e){const o=W(),t=j(()=>o.currentSource);return(n,r)=>{const i=Z,c=Ge,a=Ye,b=Qe,w=Xe,U=Ze,x=et,d=Ue,l=Be;return g(),C(l,{id:"source-edit"},{default:p(()=>[(g(!0),E(N,null,M(Object.values(n.config),({name:_,children:v})=>(g(),C(d,{label:_,key:_},{default:p(()=>[h(x,{"label-position":"right","label-width":"auto"},{default:p(()=>[(g(!0),E(N,null,M(v,({type:L,title:O,namespace:F,id:T,array:G,hint:f,required:u=!1})=>(g(),C(U,{label:O,key:O,required:u},{default:p(()=>[L=="String"&&typeof F>"u"?(g(),C(i,{key:0,type:"textarea",modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):R("",!0),L=="String"&&typeof F<"u"?(g(),C(i,{key:1,type:"textarea",modelValue:s(t)[F][T],"onUpdate:modelValue":m=>s(t)[F][T]=m,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):R("",!0),L==="Boolean"?(g(),C(c,{key:2,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m},null,8,["modelValue","onUpdate:modelValue"])):R("",!0),L==="Number"?(g(),C(a,{key:3,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m,min:0},null,8,["modelValue","onUpdate:modelValue"])):R("",!0),L==="Array"?(g(),C(w,{key:4,modelValue:s(t)[T],"onUpdate:modelValue":m=>s(t)[T]=m},{default:p(()=>[(g(!0),E(N,null,M(G,(m,D)=>(g(),C(b,{value:D,key:m,label:m},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):R("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}}),po=$(uo,[["__scopeId","data-v-c07c5146"]]),go={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:"会显示在源列表",requ
Line truncated
|
||||
名称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<Element>"},{title:"翻页规则",id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List<String>或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链接加载白名单,英文逗号隔开"},{title:"链接拦截",id:"shouldOverrideUrlLoading",type:"String",hint:"填写js,变量url为当前资源链接,返回true拦截"}]},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"}]}},mo={class:"editor"},So=A({__name:"SourceEditor",setup(e){tt();let o;return/bookSource/i.test(location.href)?(o=go,document.title="书源管理"):(o=ho,document.title="订阅源管理"),(t,n)=>{const r=po,i=co,c=Xt;return g(),E("div",mo,[h(r,{class:"left",config:s(o)},null,8,["config"]),h(i),h(c,{class:"right"})])}}}),ye=$(So,[["__scopeId","data-v-f2c47af3"]]),Ie=[{path:"/bookSource",name:"book-home",component:ye},{path:"/rssSource",name:"rss-home",component:ye}];se({history:ie(),routes:Ie});const Re=se({history:ie(),routes:[Ee,Ie].flat()});Re.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ot(st).use(zt).use(Re).mount("#app");ae(()=>qt().isNight,e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});export{P as A,$ as _,Y as a,dt as b,_o as d,yo as i,H as l,Nt as p,ht as s,qt as u,Tt as v};
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<script type="module" crossorigin src="./assets/index-ecLu3hyj.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index-CoMQMWtZ.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-DyE_jpJ0.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/vendor-B4LKkcA9.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-CT4Yn-oi.css">
|
||||
|
||||
Reference in new issue
Block a user