Bump web v3.24.101015
This commit is contained in:
1 parent
91a3b7b8b5
commit
3eebd2591b
9 files changed
+30
-30
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
import{a0 as Ne,m as l,v as D,Q as xe,a6 as De,o as m,d as k,g as t,t as O,F as te,M as ie,u as a,a7 as T,a8 as Qe,H as he,p as Q,e as N,w as z,a9 as He,x as de,aa as We,f as J,J as ge,a5 as Ve,j as F,ab as Je,q as Te,ac as Pe,ad as Fe,ae as qe,V as Ge,L as Ue,a4 as Ze,af as Ye,ag as je,c as Xe}from"./vendor-Bo0wn8_e.js";import{i as _e,u as $e}from"./loading-RAa6Kw1J.js";import{_ as le,A as Z,u as re}from"./index-Cqf6Acgt.js";const et=(A,n,d,p)=>(A/=p/2,A<1?d/2*A*A+n:(A--,-d/2*(A*(A-2)-1)+n)),tt=()=>{let A,n,d,p,s,I,y,b,B,V,M,C,E;function c(){let v=A.scrollTop||A.scrollY||A.pageYOffset;return v=typeof v>"u"?0:v,v}function f(v){const S=v.getBoundingClientRect().top,oe=A.getBoundingClientRect?A.getBoundingClientRect().top:0;return S-oe+d}function r(v){A.scrollTo?A.scrollTo(0,v):A.scrollTop=v}function g(v){V||(V=v),M=v-V,C=I(M,d,b,B),r(C),M<B?requestAnimationFrame(g):R()}function R(){r(d+b),n&&y&&(n.setAttribute("tabindex","-1"),n.focus()),typeof E=="function"&&E(),V=!1}function L(v,S={}){switch(B=S.duration||1e3,s=S.offset||0,E=S.callback,I=S.easing||et,y=S.a11y||!1,typeof S.container){case"object":A=S.container;break;case"string":A=document.querySelector(S.container);break;default:A=window}switch(d=c(),typeof v){case"number":n=void 0,y=!1,p=d+v;break;case"object":n=v,p=f(n);break;case"string":n=document.querySelector(v),p=f(n);break}switch(b=p-d+s,typeof S.duration){case"number":B=S.duration;break;case"function":B=S.duration(b);break}requestAnimationFrame(g)}return L},$=tt(),ot=["data-chapterpos"],nt=["src"],st=["innerHTML"],at={__name:"ChapterContent",props:{chapterIndex:{type:Number,required:!0},contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},emits:["readedLengthChange"],setup(A,{expose:n,emit:d}){Ne(c=>({f67eb5da:p.spacing.letter,"5690efbe":p.spacing.line,"9487f53e":p.spacing.paragraph}));const p=A,s=c=>{const f=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,r=c.match(f)[1];return _e(r)?Z.getProxyImageUrl(r,re().config.readWidth):r},I=c=>{c.target.src=Z.getProxyImageUrl(c.target.src,re().config.readWidth)},y=c=>{const f=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return c.replaceAll(f," ").length},b=l(()=>{let c=-1;return Array.from(p.contents,f=>(c+=y(f)+1,c))}),B=D(),V=D();n({scrollToReadedLength:c=>{if(c===0)return;let f=b.value.findIndex(r=>r>=c);f!==-1&&Qe(()=>{$(V.value[f],{duration:0})})}});let C=null;const E=d;return xe(()=>{C=new IntersectionObserver(c=>{for(let{target:f,isIntersecting:r}of c)r&&E("readedLengthChange",p.chapterIndex,parseInt(f.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),C.observe(B.value),V.value.forEach(c=>{C.observe(c)})}),De(()=>{C==null||C.disconnect(),C=null}),(c,f)=>(m(),k(te,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:B},O(A.title),513),(m(!0),k(te,null,ie(A.contents,(r,g)=>(m(),k("div",{key:g,ref_for:!0,ref_key:"paragraphRef",ref:V,"data-chapterpos":a(b)[g]},[/^\s*<img[^>]*src[^>]+>$/.test(String(r))?(m(),k("img",{key:0,class:"full",src:s(r),onErrorOnce:I,loading:"lazy"},null,40,nt)):(m(),k("p",{key:1,style:T({fontFamily:A.fontFamily,fontSize:A.fontSize}),innerHTML:r},null,12,st))],8,ot))),128))],64))}},it=le(at,[["__scopeId","data-v-d37de557"]]),rt="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=",lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgB1I4vXLine truncated
|
||||
import{a0 as Ne,m as l,v as D,Q as xe,a6 as De,o as m,d as k,g as t,t as O,F as te,M as ie,u as a,a7 as T,a8 as Qe,H as he,p as Q,e as N,w as z,a9 as He,x as de,aa as We,f as J,J as ge,a5 as Ve,j as F,ab as Je,q as Te,ac as Pe,ad as Fe,ae as qe,V as Ge,L as Ue,a4 as Ze,af as Ye,ag as je,c as Xe}from"./vendor-JTttPx12.js";import{i as _e,u as $e}from"./loading-DbywvlSa.js";import{_ as le,A as Z,u as re}from"./index-2f7oRvfk.js";const et=(A,n,d,p)=>(A/=p/2,A<1?d/2*A*A+n:(A--,-d/2*(A*(A-2)-1)+n)),tt=()=>{let A,n,d,p,s,I,y,b,B,V,M,C,E;function c(){let v=A.scrollTop||A.scrollY||A.pageYOffset;return v=typeof v>"u"?0:v,v}function f(v){const S=v.getBoundingClientRect().top,oe=A.getBoundingClientRect?A.getBoundingClientRect().top:0;return S-oe+d}function r(v){A.scrollTo?A.scrollTo(0,v):A.scrollTop=v}function g(v){V||(V=v),M=v-V,C=I(M,d,b,B),r(C),M<B?requestAnimationFrame(g):R()}function R(){r(d+b),n&&y&&(n.setAttribute("tabindex","-1"),n.focus()),typeof E=="function"&&E(),V=!1}function L(v,S={}){switch(B=S.duration||1e3,s=S.offset||0,E=S.callback,I=S.easing||et,y=S.a11y||!1,typeof S.container){case"object":A=S.container;break;case"string":A=document.querySelector(S.container);break;default:A=window}switch(d=c(),typeof v){case"number":n=void 0,y=!1,p=d+v;break;case"object":n=v,p=f(n);break;case"string":n=document.querySelector(v),p=f(n);break}switch(b=p-d+s,typeof S.duration){case"number":B=S.duration;break;case"function":B=S.duration(b);break}requestAnimationFrame(g)}return L},$=tt(),ot=["data-chapterpos"],nt=["src"],st=["innerHTML"],at={__name:"ChapterContent",props:{chapterIndex:{type:Number,required:!0},contents:{type:Array,required:!0},title:{type:String,required:!0},spacing:{type:Object,required:!0},fontFamily:{type:String,required:!0},fontSize:{type:String,required:!0}},emits:["readedLengthChange"],setup(A,{expose:n,emit:d}){Ne(c=>({f67eb5da:p.spacing.letter,"5690efbe":p.spacing.line,"9487f53e":p.spacing.paragraph}));const p=A,s=c=>{const f=/<img[^>]*src="([^"]*(?:"[^>]+\})?)"[^>]*>/,r=c.match(f)[1];return _e(r)?Z.getProxyImageUrl(r,re().config.readWidth):r},I=c=>{c.target.src=Z.getProxyImageUrl(c.target.src,re().config.readWidth)},y=c=>{const f=/<img[^>]*src="[^"]*(?:"[^>]+\})?"[^>]*>/g;return c.replaceAll(f," ").length},b=l(()=>{let c=-1;return Array.from(p.contents,f=>(c+=y(f)+1,c))}),B=D(),V=D();n({scrollToReadedLength:c=>{if(c===0)return;let f=b.value.findIndex(r=>r>=c);f!==-1&&Qe(()=>{$(V.value[f],{duration:0})})}});let C=null;const E=d;return xe(()=>{C=new IntersectionObserver(c=>{for(let{target:f,isIntersecting:r}of c)r&&E("readedLengthChange",p.chapterIndex,parseInt(f.dataset.chapterpos))},{rootMargin:`0px 0px -${window.innerHeight-24}px 0px`}),C.observe(B.value),V.value.forEach(c=>{C.observe(c)})}),De(()=>{C==null||C.disconnect(),C=null}),(c,f)=>(m(),k(te,null,[t("div",{class:"title","data-chapterpos":"0",ref_key:"titleRef",ref:B},O(A.title),513),(m(!0),k(te,null,ie(A.contents,(r,g)=>(m(),k("div",{key:g,ref_for:!0,ref_key:"paragraphRef",ref:V,"data-chapterpos":a(b)[g]},[/^\s*<img[^>]*src[^>]+>$/.test(String(r))?(m(),k("img",{key:0,class:"full",src:s(r),onErrorOnce:I,loading:"lazy"},null,40,nt)):(m(),k("p",{key:1,style:T({fontFamily:A.fontFamily,fontSize:A.fontSize}),innerHTML:r},null,12,st))],8,ot))),128))],64))}},it=le(at,[["__scopeId","data-v-d37de557"]]),rt="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=",lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyAgMAAABjUWAiAAAACVBMVEX28ef48+n69esoK7jYAAAB4UlEQVQozw2OsW4bQQxEhwLXkDrysGdEqRRgVShfQQq8wOr2jD0jSpXCLvwXbtKfADlFqgSwC/9ljqweZgYzQFnb/QGepYhA9jzmTc1WaSEtQpbFgjWATI00ZZtIckXx8q2Oe5yEByBy+RHOTcM+VVTadULsvxvRC/q8WTwgcWGD+Mnaqa0oy2gw2pKFzK+PzEsus5hP9AHojKslVynLlioVTBEN8cjDNnZoR1uMGTiZAAN47HxMtEkGUE9b8HWzkqNX5Lpk0yVziAJOs46rK1pG/xNuXLjz95fSDoJE5IqG23MAYPtWoeWPvfVtIV/Ng9oH3W0gGMPIOqd4MK4QZ55dV61gOb8Zxp7I9qayaGxp6Q91cmC0ZRdBwEQVHWzSAanlZwVWc9yljeTCeaHjBVvlPSLeyeBUT2rPdJegQI103jVS3uYkyIx1il6mslMDedZuOkwzolsagvPuQAfp7cYg7k9V1NOxfq64PNSvMdwONV4VYEmqlbpZy5OAakRKkjPnL4CBv5/OZRgoWHBmNbxB0LgB1I4vXLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@charset "UTF-8";.books-wrapper[data-v-136fc284]{overflow:auto}.books-wrapper .wrapper[data-v-136fc284]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-136fc284]{-webkit-user-select:none;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-136fc284],.books-wrapper .wrapper .book .cover-img .cover[data-v-136fc284]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-136fc284]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1;overflow:hidden}.books-wrapper .wrapper .book .info .name[data-v-136fc284]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-136fc284]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--6068553a);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-136fc284] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-136fc284]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-136fc284]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-136fc284],.books-wrapper .wrapper .book .info .dur-chapter[data-v-136fc284],.books-wrapper .wrapper .book .info .last-chapter[data-v-136fc284]{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-136fc284]:hover{background:#0000001a;transition-duration:.5s}.books-wrapper .wrapper[data-v-136fc284]:last-child{margin-right:auto}.books-wrapper[data-v-136fc284]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-136fc284]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-136fc284]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}body{padding:0;margin:0;height:100vh}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin:0;height:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./shelffont-D-W4UqG-.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-9c784ae7]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-9c784ae7]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-9c784ae7]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-9c784ae7]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-9c784ae7]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-9c784ae7] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-9c784ae7]{display:flex;flex-direction:column}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-9c784ae7]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-9c784ae7]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-9c784ae7]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-9c784ae7]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-9c784ae7]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-9c784ae7]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-9c784ae7]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-9c784ae7]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-9c784ae7]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-9c784ae7]{padding:48px;width:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}@media screen and (max-width: 750px){.index-wrapper[data-v-9c784ae7]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-9c784ae7]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-9c784ae7]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-9c784ae7]{flex-direction:row}.indexLine truncated
|
||||
@charset "UTF-8";.books-wrapper[data-v-136fc284]{overflow:auto}.books-wrapper .wrapper[data-v-136fc284]{display:grid;grid-template-columns:repeat(auto-fill,380px);justify-content:space-around;grid-gap:10px}.books-wrapper .wrapper .book[data-v-136fc284]{-webkit-user-select:none;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-136fc284],.books-wrapper .wrapper .book .cover-img .cover[data-v-136fc284]{width:84px;height:112px}.books-wrapper .wrapper .book .info[data-v-136fc284]{display:flex;flex-direction:column;justify-content:space-around;align-items:left;height:112px;margin-left:20px;flex:1;overflow:hidden}.books-wrapper .wrapper .book .info .name[data-v-136fc284]{width:fit-content;font-size:16px;font-weight:700;color:#33373d}.books-wrapper .wrapper .book .info .sub[data-v-136fc284]{display:flex;flex-direction:row;align-items:baseline;justify-content:var(--6068553a);font-size:12px;font-weight:600;color:#6b6b6b}.books-wrapper .wrapper .book .info .sub .tags[data-v-136fc284] .el-tag{margin-right:.5em}.books-wrapper .wrapper .book .info .sub .update-info[data-v-136fc284]{display:flex}.books-wrapper .wrapper .book .info .sub .update-info .dot[data-v-136fc284]{margin:0 7px}.books-wrapper .wrapper .book .info .intro[data-v-136fc284],.books-wrapper .wrapper .book .info .dur-chapter[data-v-136fc284],.books-wrapper .wrapper .book .info .last-chapter[data-v-136fc284]{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-136fc284]:hover{background:#0000001a;transition-duration:.5s}.books-wrapper .wrapper[data-v-136fc284]:last-child{margin-right:auto}.books-wrapper[data-v-136fc284]::-webkit-scrollbar{width:0!important}@media screen and (max-width: 750px){.books-wrapper .wrapper[data-v-136fc284]{display:flex;flex-direction:column}.books-wrapper .wrapper .book[data-v-136fc284]{box-sizing:border-box;width:100%;margin-bottom:0;padding:10px 20px}}body{padding:0;margin:0;height:100vh}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;margin:0;height:100%}@font-face{font-family:FZZCYSK;src:local("☺"),url(./shelffont-D-W4UqG-.ttf);font-style:normal;font-weight:400}.index-wrapper[data-v-c7b150b3]{height:100%;width:100%;display:flex;flex-direction:row}.index-wrapper .navigation-wrapper[data-v-c7b150b3]{width:260px;min-width:260px;padding:48px 36px;background-color:#f7f7f7}.index-wrapper .navigation-wrapper .navigation-title[data-v-c7b150b3]{font-size:24px;font-weight:500;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .navigation-sub-title[data-v-c7b150b3]{font-size:16px;font-weight:300;font-family:FZZCYSK;margin-top:16px;color:#b1b1b1}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-c7b150b3]{border-radius:50%;margin-top:24px}.index-wrapper .navigation-wrapper .search-wrapper .search-input[data-v-c7b150b3] .el-input__wrapper{border-radius:50px;border-color:#e3e3e3}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-c7b150b3]{display:flex;flex-direction:column}.index-wrapper .navigation-wrapper .recent-wrapper[data-v-c7b150b3]{margin-top:36px}.index-wrapper .navigation-wrapper .recent-wrapper .recent-title[data-v-c7b150b3]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent[data-v-c7b150b3]{margin:18px 0}.index-wrapper .navigation-wrapper .recent-wrapper .reading-recent .recent-book[data-v-c7b150b3]{font-size:10px;cursor:pointer}.index-wrapper .navigation-wrapper .setting-wrapper[data-v-c7b150b3]{margin-top:36px}.index-wrapper .navigation-wrapper .setting-wrapper .setting-title[data-v-c7b150b3]{font-size:14px;color:#b1b1b1;font-family:FZZCYSK}.index-wrapper .navigation-wrapper .setting-wrapper .no-point[data-v-c7b150b3]{pointer-events:none}.index-wrapper .navigation-wrapper .setting-wrapper .setting-connect[data-v-c7b150b3]{font-size:8px;margin-top:16px;cursor:pointer}.index-wrapper .navigation-wrapper .bottom-icons[data-v-c7b150b3]{position:fixed;bottom:0;height:120px;width:260px;align-items:center;display:flex;flex-direction:row}.index-wrapper .shelf-wrapper[data-v-c7b150b3]{padding:48px;width:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}@media screen and (max-width: 750px){.index-wrapper[data-v-c7b150b3]{overflow-x:hidden;flex-direction:column}.index-wrapper .navigation-wrapper[data-v-c7b150b3]{padding:20px 24px;box-sizing:border-box;width:100%}.index-wrapper .navigation-wrapper .navigation-title-wrapper[data-v-c7b150b3]{white-space:nowrap;display:flex;justify-content:space-between;align-items:flex-end}.index-wrapper .navigation-wrapper .bottom-wrapper[data-v-c7b150b3]{flex-direction:row}.indexLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
import{a0 as $,m as y,o as l,d as p,g as t,F as U,M as W,t as m,c as q,w as M,f as V,J as L,u as J,a1 as H,a2 as G,e as E,I as X,p as N,v as T,a3 as j,L as ee,a4 as te,Q as se,j as k,y as oe,D as ae,a5 as ne}from"./vendor-JTttPx12.js";import{d as re,i as ie,u as ce}from"./loading-DbywvlSa.js";import{_ as x,A as v,u as le,l as D,v as de,s as ue}from"./index-2f7oRvfk.js";const he={class:"books-wrapper"},ge={class:"wrapper"},pe=["onClick"],me={class:"cover-img"},fe=["src"],ve={class:"info"},we={class:"name"},Be={class:"sub"},Ce={class:"author"},ke={key:0,class:"tags"},ye={key:1,class:"update-info"},Se={class:"size"},Ae={class:"date"},Ie={key:0,class:"intro"},Re={key:1,class:"dur-chapter"},_e={class:"last-chapter"},Le={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(e,{emit:r}){$(a=>({"6068553a":J(C)}));const c=e,f=r,B=a=>f("bookClick",a),w=a=>ie(a)?v.getProxyCoverUrl(a):a,S=a=>{a.target.src=v.getProxyCoverUrl(a.target.src)},C=y(()=>c.isSearch?"space-between":"flex-start");return(a,d)=>{const u=H;return l(),p("div",he,[t("div",ge,[(l(!0),p(U,null,W(e.books,n=>{var A;return l(),p("div",{class:"book",key:n.bookUrl,onClick:I=>B(n)},[t("div",me,[(l(),p("img",{class:"cover",src:w(n.coverUrl),key:n.coverUrl,onErrorOnce:S,alt:"",loading:"lazy"},null,40,fe))]),t("div",ve,[t("div",we,m(n.name),1),t("div",Be,[t("div",Ce,m(n.author),1),e.isSearch?(l(),p("div",ke,[(l(!0),p(U,null,W((A=n.kind)==null?void 0:A.split(",").slice(0,2),I=>(l(),q(u,{key:I},{default:M(()=>[V(m(I),1)]),_:2},1024))),128))])):L("",!0),e.isSearch?L("",!0):(l(),p("div",ye,[d[0]||(d[0]=t("div",{class:"dot"},"•",-1)),t("div",Se,"共"+m(n.totalChapterNum)+"章",1),d[1]||(d[1]=t("div",{class:"dot"},"•",-1)),t("div",Ae,m(J(re)(n.lastCheckTime)),1)]))]),e.isSearch?(l(),p("div",Ie,m(n.intro),1)):L("",!0),e.isSearch?L("",!0):(l(),p("div",Re," 已读:"+m(n.durChapterTitle),1)),t("div",_e,"最新:"+m(n.latestChapterTitle),1)])],8,pe)}),128))])])}}},Ee=x(Le,[["__scopeId","data-v-136fc284"]]),Te="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==",Ne=G({beforeRouteEnter:(e,r,c)=>{v.getReadConfig().then(f=>f.data).then(({isSuccess:f,data:B})=>{f?c(w=>{w.saveReadConfig(B)}):c()}).catch(()=>c())},setup:()=>{const e=le(),r=y(()=>e.isNight),c=T({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0,isSeachBook:!1}),f=T(null),{showLoading:B,closeLoading:w,loadingWrapper:S,isLoading:C}=ce(f,"正在获取书籍信息"),a=j([]),d=y(()=>e.shelf),u=T(""),n=T(!1);ee(()=>{if(!(n.value&&u.value!="")){if(n.value=!1,a.value=[],u.value==""){a.value=d.value;return}a.value=d.value.filter(s=>s.name.includes(u.value)||s.author.includes(u.value))}});const A=()=>{u.value!=""&&(a.value=[],e.clearSearchBooks(),B(),n.value=!0,v.search(u.value,s=>{C&&w();try{e.setSearchBooks(JSON.parse(s)),a.value=e.searchBooks}catch(o){throw k.error("后端数据错误"),o}},()=>{w(),a.value.length==0&&k.info("搜索结果为空")}))},I=y(()=>e.connectStatus),O=y(()=>e.connectType),Z=y(()=>e.newConnect),F=()=>{ne.prompt("请输入 后端地址 ( 如:http://127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPlaceholder:D,inputValidator:s=>{var o;try{de(s)}catch(i){return((o=i==null?void 0:i.cause)==null?void 0:o.message)??i.message}return!0},beforeClose:(s,o,i)=>{if(s==="confirm"){e.setNewConnect(!0),o.confirmButtonLoading=!0,o.confirmButtonText="校验中……";const h=new URL(o.inputValue);v.testLeagdoHttpUrlConnection(h).then(function(g){z(g),o.confirmButtonLoading=!1,e.setConnectType("Line truncated
|
||||
@@ -1 +0,0 @@
|
||||
import{a0 as $,m as _,o as h,d as f,g as t,F as U,M as W,t as m,c as q,w as M,f as V,J as L,u as J,a1 as D,a2 as G,e as E,I as X,p as N,v as T,a3 as j,L as ee,a4 as te,Q as se,j as S,y as oe,D as ae,a5 as ne}from"./vendor-Bo0wn8_e.js";import{d as re,i as ie,u as ce}from"./loading-RAa6Kw1J.js";import{_ as x,A as u,u as le}from"./index-Cqf6Acgt.js";const de={class:"books-wrapper"},ue={class:"wrapper"},he=["onClick"],ge={class:"cover-img"},pe=["src"],fe={class:"info"},me={class:"name"},ve={class:"sub"},we={class:"author"},Be={key:0,class:"tags"},Ce={key:1,class:"update-info"},ke={class:"size"},ye={class:"date"},Se={key:0,class:"intro"},_e={key:1,class:"dur-chapter"},Ae={class:"last-chapter"},Re={__name:"BookItems",props:["books","isSearch"],emits:["bookClick"],setup(e,{emit:r}){$(a=>({"6068553a":J(k)}));const i=e,v=r,C=a=>v("bookClick",a),w=a=>ie(a)?u.getProxyCoverUrl(a):a,A=a=>{a.target.src=u.getProxyCoverUrl(a.target.src)},k=_(()=>i.isSearch?"space-between":"flex-start");return(a,g)=>{const p=D;return h(),f("div",de,[t("div",ue,[(h(!0),f(U,null,W(e.books,n=>{var R;return h(),f("div",{class:"book",key:n.bookUrl,onClick:I=>C(n)},[t("div",ge,[(h(),f("img",{class:"cover",src:w(n.coverUrl),key:n.coverUrl,onErrorOnce:A,alt:"",loading:"lazy"},null,40,pe))]),t("div",fe,[t("div",me,m(n.name),1),t("div",ve,[t("div",we,m(n.author),1),e.isSearch?(h(),f("div",Be,[(h(!0),f(U,null,W((R=n.kind)==null?void 0:R.split(",").slice(0,2),I=>(h(),q(p,{key:I},{default:M(()=>[V(m(I),1)]),_:2},1024))),128))])):L("",!0),e.isSearch?L("",!0):(h(),f("div",Ce,[g[0]||(g[0]=t("div",{class:"dot"},"•",-1)),t("div",ke,"共"+m(n.totalChapterNum)+"章",1),g[1]||(g[1]=t("div",{class:"dot"},"•",-1)),t("div",ye,m(J(re)(n.lastCheckTime)),1)]))]),e.isSearch?(h(),f("div",Se,m(n.intro),1)):L("",!0),e.isSearch?L("",!0):(h(),f("div",_e," 已读:"+m(n.durChapterTitle),1)),t("div",Ae,"最新:"+m(n.latestChapterTitle),1)])],8,he)}),128))])])}}},Ie=x(Re,[["__scopeId","data-v-136fc284"]]),Le="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==",Ee=G({beforeRouteEnter:(e,r,i)=>{u.getReadConfig().then(v=>v.data).then(({isSuccess:v,data:C})=>{v&&i(w=>{w.saveReadConfig(C)})}).catch(()=>i())},setup:()=>{const e=le(),r=_(()=>e.isNight),i=T({name:"尚无阅读记录",author:"",url:"",chapterIndex:0,chapterPos:0,isSeachBook:!1}),v=T(null),{showLoading:C,closeLoading:w,loadingWrapper:A,isLoading:k}=ce(v,"正在获取书籍信息"),a=j([]),g=_(()=>e.shelf),p=T(""),n=T(!1);ee(()=>{if(!(n.value&&p.value!="")){if(n.value=!1,a.value=[],p.value==""){a.value=g.value;return}a.value=g.value.filter(s=>s.name.includes(p.value)||s.author.includes(p.value))}});const R=()=>{p.value!=""&&(a.value=[],e.clearSearchBooks(),C(),n.value=!0,u.search(p.value,s=>{k&&w();try{e.setSearchBooks(JSON.parse(s)),a.value=e.searchBooks}catch(o){throw S.error("后端数据错误"),o}},()=>{w(),a.value.length==0&&S.info("搜索结果为空")}))},I=_(()=>e.connectStatus),H=_(()=>e.connectType),O=_(()=>e.newConnect),Z=()=>{ne.prompt("请输入 后端地址 ( 如:http://127.0.0.1:9527 或者通过内网穿透的地址)","提示",{confirmButtonText:"确定",cancelButtonText:"取消",inputPlaceholder:u.legado_http_origin,inputValidator:s=>{try{const{origin:o,protocol:c,username:l,password:d,pathname:B,search:y,hash:Q}=new URL(s);if(o==u.legado_http_origin)return"请输入非当前远程链接";if(!c.startsWith("http"))return`不支持协议${c}`;if(B!=="/"||y!==""||Q!==""||d!==""||l!=="")return`目前仅支持输入${o}`}catch{return"URL解析失败,请重新输入"}return!0},beforeClose:(s,o,c)Line truncated
|
||||
@@ -0,0 +1,10 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-CnjAvi1K.js","./vendor-JTttPx12.js","./vendor-Bui7wm94.css","./loading-DbywvlSa.js","./loading-DyaW7RXx.css","./BookShelf-BewVO7Ij.css","./BookChapter-DmbReSQh.js","./BookChapter-BgNMFAcT.css"])))=>i.map(i=>d[i]);
|
||||
import{r as Be,o as g,c as w,a as ne,b as re,d as x,e as m,w as p,f as y,u as s,l as T,g as h,F as O,E as Ee,h as me,i as xe,j as B,k as Se,m as D,t as X,n as he,p as fe,q as se,s as Ie,v as P,x as K,y as ye,z as Le,A as Ne,B as ce,V as Re,C as Ve,D as Y,G as Te,H as le,I as Oe,J as N,K as Pe,L as Je,M as j,N as be,O as _e,P as F,Q as De,R as $e,S as Ae,T as je,U as He,W as Ke,X as Me,Y as We,Z as Fe,_ as qe,$ as ze}from"./vendor-JTttPx12.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const l of n)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function t(n){const l={};return n.integrity&&(l.integrity=n.integrity),n.referrerPolicy&&(l.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?l.credentials="include":n.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(n){if(n.ep)return;n.ep=!0;const l=t(n);fetch(n.href,l)}})();const J=(e,o)=>{const t=e.__vccOpts||e;for(const[r,n]of o)t[r]=n;return t},Ge={};function Qe(e,o){const t=Be("router-view");return g(),w(t)}const Xe=J(Ge,[["render",Qe]]),Ye="modulepreload",Ze=function(e,o){return new URL(e,o).href},ue={},de=function(o,t,r){let n=Promise.resolve();if(t&&t.length>0){const c=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),k=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));n=Promise.allSettled(t.map(b=>{if(b=Ze(b,r),b in ue)return;ue[b]=!0;const C=b.endsWith(".css"),I=C?'[rel="stylesheet"]':"";if(!!r)for(let _=c.length-1;_>=0;_--){const v=c[_];if(v.href===b&&(!C||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${b}"]${I}`))return;const i=document.createElement("link");if(i.rel=C?"stylesheet":Ye,C||(i.as="script"),i.crossOrigin="",i.href=b,k&&i.setAttribute("nonce",k),document.head.appendChild(i),C)return new Promise((_,v)=>{i.addEventListener("load",_),i.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${b}`)))})}))}function l(c){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=c,window.dispatchEvent(u),!u.defaultPrevented)throw c}return n.then(c=>{for(const u of c||[])u.status==="rejected"&&l(u.reason);return o().catch(l)})},ke=[{path:"/",name:"shelf",component:()=>de(()=>import("./BookShelf-CnjAvi1K.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>de(()=>import("./BookChapter-DmbReSQh.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];ne({history:re(),routes:ke});const et={style:{"margin-top":"20px"}},tt={__name:"SourceHelp",setup(e){return(o,t)=>{const r=Ee,n=me;return g(),x(O,null,[m(r,{icon:s(T),href:"/help/#appHelp",target:"_blank"},{default:p(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#ruleHelp",target:"_blank"},{default:p(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#jsHelp",target:"_blank"},{default:p(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#xpathHelp",target:"_blank"},{default:p(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#regexHelp",target:"_blank"},{default:p(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:p(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#debugHelp",target:"_blank"},{default:p(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#httpTTSHelp",target:"_blank"},{default:p(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#webDavBookHelp",target:"_blank"},{default:p(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=h("br",null,null,-1)),m(r,{icon:s(T),href:"/help/#webDavHelp",target:"_blank"},{default:p(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=h("br",null,null,-1)),m(r,{icon:s(T),href:"https://regexr-cn.com/",target:"_blank"},{default:p(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=h("br",null,null,-1)),h("div",et,[h("span",null,[m(n,null,{default:p(()=>t[11]||(t[11]=[h("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=h("br",null,null,-1)),h("span",null,[m(n,null,{default:p(()=>t[12]||(t[12]=[h("code",null,"(?sLine truncated
|
||||
`},l=async()=>{t.value="";try{await H.saveSource(o.currentSource)}catch(u){throw o.debugFinish(),u}H.debug(o.currentSourceUrl,r.value||o.searchKey,n,o.debugFinish)},c=D(()=>/bookSource/i.test(window.location.href));return(u,k)=>{const b=Y;return g(),x(O,null,[s(c)?(g(),w(b,{key:0,id:"debug-key",modelValue:s(r),"onUpdate:modelValue":k[0]||(k[0]=C=>K(r)?r.value=C:null),placeholder:"搜索书名、作者","prefix-icon":s(ye),style:{"padding-bottom":"4px"},onKeydown:Oe(l,["enter"])},null,8,["modelValue","prefix-icon"])):N("",!0),m(b,{id:"debug-text",modelValue:s(t),"onUpdate:modelValue":k[1]||(k[1]=C=>K(t)?t.value=C:null),type:"textarea",readonly:"",rows:29,placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},Pt=J(Ot,[["__scopeId","data-v-e289b5e4"]]),Jt=Se("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"primary",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:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}},miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var c;if(e.catalog.length==0)return;const{index:o,chapterPos:t,bookName:r,bookAuthor:n}=e.readingBook;let l=(c=e.catalog[o])==null?void 0:c.title;if(l)return{name:r,author:n,durChapterIndex:o,durChapterPos:t,durChapterTime:new Date().getTime(),durChapterTitle:l}},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},addBooks(e){this.shelf=e},clearBooks(){this.shelf=[]},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=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.find(r=>r.bookUrl==o.bookUrl)===void 0&&this.searchBooks.push(o)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){return this.bookProgress?H.saveBookProgress(this.bookProgress):Promise.resolve()}}}),Dt=Pe(),$t={__name:"SourceJson",setup(e){const o=M(),t=P(""),r=async n=>{try{o.changeEditTabSource(JSON.parse(n))}catch{B({message:"粘贴的源格式错误",type:"error"})}};return Je(async()=>{let n=o.editTabSource;Object.keys(n).length>0?t.value=JSON.stringify(n,null,4):t.value=""}),(n,l)=>{const c=Y;return g(),w(c,{id:"source-json",modelValue:s(t),"onUpdate:modelValue":l[0]||(l[0]=u=>K(t)?t.value=u:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:30,onChange:r,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},At=J($t,[["__scopeId","data-v-4e022d46"]]),jt={__name:"SourceTabTools",setup(e){const o=M(),t=D({get:()=>o.currentTab,set:n=>o.currentTab=n}),r=P([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(n,l)=>{const c=At,u=Pt,k=Tt,b=ot,C=be,I=_e;return g(),w(I,{modelValue:s(t),"onUpdate:modelValue":l[0]||(l[0]=d=>K(t)?t.value=d:null)},{default:p(()=>[(g(!0),x(O,null,j(s(r),(d,i)=>(g(),w(C,{key:d[0],name:d[0],label:d[1]},{default:p(()=>[i==0?(g(),w(c,{key:0})):N("",!0),i==1?(g(),w(u,{key:1})):N("",!0),i==2?(g(),w(k,{key:2})):N("",!0),i==3?(g(),w(b,{key:3})):N("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},Ht=J(jt,[["__scopeId","data-v-8249c810"]]),Kt={class:"menu flex-column-center"},Mt={class:"hotkeys-header flex-space-between"},Wt=["id"],Ft={key:0},qt={class:"hotkeys-settings flex-column-center"},zt={class:"title"},Gt={class:"hotkeys-item__content"},Qt={key:0},Xt={key:0},Yt={__name:"ToolBar",setup(e){const o=M(),t=()=>{const f=B({message:"加载中……",showClose:!0,duration:0});H.getSources().then(({data:a})=>{a.isSuccess?(o.changeTabName("editList"),o.saveSources(a.data),B({message:`成功拉取${a.data.length}条源`,type:"success"})):B({message:a.errorMsg??"后端错误",type:"error"})}).finally(()=>f.close())},r=()=>{let f=o.sources;if(o.changeTabName("editList"),f.length===0)return B({message:"空空如也",type:"info"});B({message:"正在推送中",type:"info"}),H.saveSources(f).then(({data:a})=>{if(a.isSuccess){let S=a.data;if(Array.isArray(S)){let $="";f.length>S.length&&($=`
|
||||
推送失败的源将用红色字体标注!`,o.setPushReturnSources(S)),B({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${f.length} 条
|
||||
成功: ${S.length} 条
|
||||
失败: ${f.length-S.length} 条${$}`,type:"success"})}}else B({message:`批量推送源失败!
|
||||
ErrorMsg: ${a.errorMsg}`,type:"error"})})},n=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},l=()=>{o.changeCurrentSource(o.editTabSource)},c=()=>{o.editHistoryUndo()},u=()=>{o.clearEdit(),B({message:"已清除",type:"success"})},k=()=>{o.clearEdit(),o.clearAllHistory(),B({message:"已清除所有历史记录",type:"success"})},b=()=>{let f=/bookSource/i.test(location.href),a=o.currentSource;Bt(a)?H.saveSource(a).then(({data:S})=>{S.isSuccess?(B({message:`源《${f?a.bookSourceName:a.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):B({message:`源《${f?a.bookSourceName:a.sourceName}》保存失败!
|
||||
ErrorMsg: ${S.errorMsg}`,type:"error"})}):B({message:"请检查<必填>项是否全部填写",type:"error"})},C=()=>{o.startDebug()},I=P(Array.of({name:"⇈推送源",hotKeys:[],action:r},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:n},{name:"⋘编辑源",hotKeys:[],action:l},{name:"✗清空表单",hotKeys:[],action:u},{name:"↶撤销操作",hotKeys:[],action:c},{name:"↷重做操作",hotKeys:[],action:k},{name:"⇏调试源",hotKeys:[],action:C},{name:"✓保存源",hotKeys:[],action:b})),d=P(!0),i=P(!1),_=P(-1),v=()=>{i.value||(d.value=!1),i.value=!1};le(d,f=>{if(!f){F.unbind("*"),z(),W();return}z(),F.unbind(),F("*",a=>{a.preventDefault();let S=F.getPressedKeyString();S.length==1&&S[0]=="esc"||i.value&&_.value>-1&&(I.value[_.value].hotKeys=S)})},{immediate:!0});const E=f=>{i.value=!0,B({message:"按ESC键或者点击空白处结束录入",type:"info"}),I.value[f].hotKeys=[],_.value=f},V=()=>{const f=[];I.value.forEach(({hotKeys:a})=>{f.push(a)}),R(f),d.value=!1},W=()=>{F.filter=()=>!0,I.value.forEach(({hotKeys:f,action:a})=>{f.length!=0&&F(f.join("+"),S=>{S.preventDefault(),a.call(null)})})},R=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function z(){try{const f=JSON.parse(localStorage.getItem("legado_web_hotkeys"));return!Array.isArray(f)||f.length==0?!1:(I.value.forEach((a,S)=>a.hotKeys=f[S]),!0)}catch{B({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return De(()=>{z()&&(d.value=!1)}),(f,a)=>{const S=se,$=me,Ue=Ae;return g(),x(O,null,[h("div",Kt,[(g(!0),x(O,null,j(s(I),L=>(g(),w(S,{size:"large",key:L.name,onClick:L.action},{default:p(()=>[y(X(L.name),1)]),_:2},1032,["onClick"]))),128)),m(S,{size:"large",onClick:a[0]||(a[0]=()=>d.value=!0)},{default:p(()=>a[2]||(a[2]=[y("快捷键")])),_:1})]),m(Ue,{modelValue:s(d),"onUpdate:modelValue":a[1]||(a[1]=L=>K(d)?d.value=L:null),"show-close":!1,"before-close":v},{header:p(({titleClass:L,titleId:ee})=>[h("div",Mt,[h("div",{id:ee,class:fe(L)},[a[4]||(a[4]=y(" 快捷键设置 ")),s(i)?(g(),x("span",Ft,[m($,null,{default:p(()=>a[3]||(a[3]=[y(" / 录入中 ")])),_:1})])):N("",!0)],10,Wt),m(S,{disabled:s(i),onClick:V,icon:s($e)},{default:p(()=>a[5]||(a[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:p(()=>[h("div",qt,[(g(!0),x(O,null,j(s(I),(L,ee)=>(g(),x("div",{key:L.name,class:"hotkeys-item flex-space-between"},[h("span",zt,[m($,null,{default:p(()=>[y(X(L.name),1)]),_:2},1024)]),h("div",Gt,[(g(!0),x(O,null,j(L.hotKeys,(te,Ce)=>(g(),x("div",{key:te},[h("kbd",null,X(te),1),Ce+1<L.hotKeys.length?(g(),x("span",Qt,[m($,null,{default:p(()=>a[6]||(a[6]=[y("+")])),_:1})])):N("",!0)]))),128)),L.hotKeys.length==0?(g(),x("span",Xt,"未设置")):N("",!0)]),m(S,{disabled:s(i),text:"",icon:s(he),onClick:te=>E(ee)},{default:p(()=>a[7]||(a[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Zt=J(Yt,[["__scopeId","data-v-9f61bfde"]]),eo={__name:"SourceTabForm",props:["config"],setup(e){const o=M(),t=D(()=>o.currentSource);return(r,n)=>{const l=Y,c=je,u=He,k=Ke,b=Me,C=We,I=Fe,d=be,i=_e;return g(),w(i,{id:"source-edit"},{default:p(()=>[(g(!0),x(O,null,j(Object.values(e.config),({name:_,children:v})=>(g(),w(d,{label:_,key:_},{default:p(()=>[m(I,{"label-position":"right","label-width":"auto"},{default:p(()=>[(g(!0),x(O,null,j(v,({type:E,title:V,namespace:W,id:R,array:z,hint:f,required:a})=>(g(),w(C,{label:V,key:V,required:a},{default:p(()=>[E=="String"&&typeof W>"u"?(g(),w(l,{key:0,type:"textarea",modelValue:s(t)[R],"onUpdate:modelValue":S=>s(t)[R]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):N("",!0),E=="String"&&typeof W<"u"?(g(),w(l,{key:1,type:"textarea",modelValue:s(t)[W][R],"onUpdate:modelValue":S=>s(t)[W][R]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):N("",!0),E=="Boolean"?(g(),w(c,{key:2,modelValue:s(t)[R],"onUpdate:modelValue":S=>s(t)[R]=S},null,8,["modelValue","onUpdate:modelValue"])):N("",!0),E=="Number"?(g(),w(u,{key:3,modelValue:s(t)[R],"onUpdate:modelValue":S=>s(t)[R]=S,min:0},null,8,["modelValue","onUpdate:modelValue"])):N("",!0),E=="Array"?(g(),w(b,{key:4,modelValue:s(t)[R],"onUpdate:modelValue":S=>s(t)[R]=S},{default:p(()=>[(g(!0),x(O,null,j(z,(S,$)=>(g(),w(k,{value:$,key:S,label:S},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):N("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},to=J(eo,[["__scopeId","data-v-0cb9f194"]]),oo={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:"bookSourceGr
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"}]}},ro={class:"editor"},so={__name:"SourceEditor",setup(e){qe();let o;return/bookSource/i.test(location.href)?(o=oo,document.title="书源管理"):(o=no,document.title="订阅源管理"),(t,r)=>{const n=to,l=Zt,c=Ht;return g(),x("div",ro,[m(n,{class:"left",config:s(o)},null,8,["config"]),m(l),m(c,{class:"right"})])}}},ge=J(so,[["__scopeId","data-v-9682883a"]]),ve=[{path:"/bookSource",name:"book-home",component:ge},{path:"/rssSource",name:"rss-home",component:ge}];ne({history:re(),routes:ve});const we=ne({history:re(),routes:ke.concat(ve)});we.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});ze(Xe).use(Dt).use(we).mount("#app");le(()=>Jt().isNight,e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});export{H as A,J as _,A as l,st as s,Jt as u,rt as v};
|
||||
@@ -1,10 +0,0 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BookShelf-D1_BelLi.js","./vendor-Bo0wn8_e.js","./vendor-Bui7wm94.css","./loading-RAa6Kw1J.js","./loading-DyaW7RXx.css","./BookShelf-C4XD-pJE.css","./BookChapter-e1byV9kG.js","./BookChapter-BgNMFAcT.css"])))=>i.map(i=>d[i]);
|
||||
import{r as Ee,o as g,c as w,a as ne,b as re,d as x,e as m,w as p,f as y,u as s,l as R,g as h,F as O,E as xe,h as me,i as Ie,j as B,k as Se,m as J,t as X,n as he,p as fe,q as se,s as Ne,v as P,x as H,y as ye,z as Ve,A as Te,B as ue,V as Le,C as Re,D as Y,G as Oe,H as ie,I as Pe,J as V,K as $e,L as Je,M as j,N as be,O as _e,P as F,Q as De,R as je,S as Ae,T as He,U as Ke,W as Me,X as We,Y as Fe,Z as qe,_ as ze,$ as Ge}from"./vendor-Bo0wn8_e.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(n){if(n.ep)return;n.ep=!0;const i=t(n);fetch(n.href,i)}})();const $=(e,o)=>{const t=e.__vccOpts||e;for(const[r,n]of o)t[r]=n;return t},Qe={};function Xe(e,o){const t=Ee("router-view");return g(),w(t)}const Ye=$(Qe,[["render",Xe]]),Ze="modulepreload",et=function(e,o){return new URL(e,o).href},ce={},de=function(o,t,r){let n=Promise.resolve();if(t&&t.length>0){const u=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),k=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));n=Promise.allSettled(t.map(b=>{if(b=et(b,r),b in ce)return;ce[b]=!0;const U=b.endsWith(".css"),I=U?'[rel="stylesheet"]':"";if(!!r)for(let _=u.length-1;_>=0;_--){const v=u[_];if(v.href===b&&(!U||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${b}"]${I}`))return;const l=document.createElement("link");if(l.rel=U?"stylesheet":Ze,U||(l.as="script"),l.crossOrigin="",l.href=b,k&&l.setAttribute("nonce",k),document.head.appendChild(l),U)return new Promise((_,v)=>{l.addEventListener("load",_),l.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${b}`)))})}))}function i(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return n.then(u=>{for(const c of u||[])c.status==="rejected"&&i(c.reason);return o().catch(i)})},ke=[{path:"/",name:"shelf",component:()=>de(()=>import("./BookShelf-D1_BelLi.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},{path:"/chapter",name:"chapter",component:()=>de(()=>import("./BookChapter-e1byV9kG.js"),__vite__mapDeps([6,1,2,3,4,7]),import.meta.url)}];ne({history:re(),routes:ke});const tt={style:{"margin-top":"20px"}},ot={__name:"SourceHelp",setup(e){return(o,t)=>{const r=xe,n=me;return g(),x(O,null,[m(r,{icon:s(R),href:"/help/#appHelp",target:"_blank"},{default:p(()=>t[0]||(t[0]=[y("APP帮助文档")])),_:1},8,["icon"]),t[19]||(t[19]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#ruleHelp",target:"_blank"},{default:p(()=>t[1]||(t[1]=[y("书源制作教程")])),_:1},8,["icon"]),t[20]||(t[20]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#jsHelp",target:"_blank"},{default:p(()=>t[2]||(t[2]=[y("js变量和函数")])),_:1},8,["icon"]),t[21]||(t[21]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#xpathHelp",target:"_blank"},{default:p(()=>t[3]||(t[3]=[y("xpath语法教程")])),_:1},8,["icon"]),t[22]||(t[22]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#regexHelp",target:"_blank"},{default:p(()=>t[4]||(t[4]=[y("正则表达式教程")])),_:1},8,["icon"]),t[23]||(t[23]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#txtTocRuleHelp",target:"_blank"},{default:p(()=>t[5]||(t[5]=[y("txt目录正则说明")])),_:1},8,["icon"]),t[24]||(t[24]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#debugHelp",target:"_blank"},{default:p(()=>t[6]||(t[6]=[y("书源调试说明")])),_:1},8,["icon"]),t[25]||(t[25]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#httpTTSHelp",target:"_blank"},{default:p(()=>t[7]||(t[7]=[y("在线朗读规则")])),_:1},8,["icon"]),t[26]||(t[26]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#webDavBookHelp",target:"_blank"},{default:p(()=>t[8]||(t[8]=[y(" WebDav书籍简明使用教程")])),_:1},8,["icon"]),t[27]||(t[27]=h("br",null,null,-1)),m(r,{icon:s(R),href:"/help/#webDavHelp",target:"_blank"},{default:p(()=>t[9]||(t[9]=[y(" WebDav备份教程")])),_:1},8,["icon"]),t[28]||(t[28]=h("br",null,null,-1)),m(r,{icon:s(R),href:"https://regexr-cn.com/",target:"_blank"},{default:p(()=>t[10]||(t[10]=[y("正则表达式在线验证工具")])),_:1},8,["icon"]),t[29]||(t[29]=h("br",null,null,-1)),h("div",tt,[h("span",null,[m(n,null,{default:p(()=>t[11]||(t[11]=[h("code",null,"^$()[]{}.?+*|",-1),y(" 这些是Java正则特殊符号,匹配需转义")])),_:1})]),t[15]||(t[15]=h("br",null,null,-1)),h("span",null,[m(n,null,{default:p(()=>t[12]||(t[12]=[h("code",null,"(?sLine truncated
|
||||
`},i=async()=>{t.value="";try{await A.saveSource(o.currentSource)}catch(c){throw o.debugFinish(),c}A.debug(o.currentSourceUrl,r.value||o.searchKey,n,o.debugFinish)},u=J(()=>/bookSource/i.test(window.location.href));return(c,k)=>{const b=Y;return g(),x(O,null,[s(u)?(g(),w(b,{key:0,id:"debug-key",modelValue:s(r),"onUpdate:modelValue":k[0]||(k[0]=U=>H(r)?r.value=U:null),placeholder:"搜索书名、作者","prefix-icon":s(ye),style:{"padding-bottom":"4px"},onKeydown:Pe(i,["enter"])},null,8,["modelValue","prefix-icon"])):V("",!0),m(b,{id:"debug-text",modelValue:s(t),"onUpdate:modelValue":k[1]||(k[1]=U=>H(t)?t.value=U:null),type:"textarea",readonly:"",rows:29,placeholder:"这里用于输出调试信息"},null,8,["modelValue"])],64)}}},Ot=$(Rt,[["__scopeId","data-v-e289b5e4"]]),Pt=Se("book",{state:()=>({connectStatus:"正在连接后端服务器……",connectType:"primary",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:"",jumpDuration:1e3,spacing:{paragraph:1,line:.8,letter:0}},miniInterface:!1,readSettingsVisible:!1}),getters:{bookProgress:e=>{var u;if(e.catalog.length==0)return;const{index:o,chapterPos:t,bookName:r,bookAuthor:n}=e.readingBook;let i=(u=e.catalog[o])==null?void 0:u.title;if(i)return{name:r,author:n,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},addBooks(e){this.shelf=e},clearBooks(){this.shelf=[]},setCatalog(e){this.catalog=e},setPopCataVisible(e){this.popCataVisible=e},setContentLoading(e){this.contentLoading=e},setReadingBook(e){this.readingBook=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.find(r=>r.bookUrl==o.bookUrl)===void 0&&this.searchBooks.push(o)})},clearSearchBooks(){this.searchBooks=[]},async saveBookProgress(){return this.bookProgress?A.saveBookProgress(this.bookProgress):Promise.resolve()}}}),$t=$e(),Jt={__name:"SourceJson",setup(e){const o=M(),t=P(""),r=async n=>{try{o.changeEditTabSource(JSON.parse(n))}catch{B({message:"粘贴的源格式错误",type:"error"})}};return Je(async()=>{let n=o.editTabSource;Object.keys(n).length>0?t.value=JSON.stringify(n,null,4):t.value=""}),(n,i)=>{const u=Y;return g(),w(u,{id:"source-json",modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=c=>H(t)?t.value=c:null),type:"textarea",placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP",rows:30,onChange:r,style:{"margin-bottom":"4px"}},null,8,["modelValue"])}}},Dt=$(Jt,[["__scopeId","data-v-4e022d46"]]),jt={__name:"SourceTabTools",setup(e){const o=M(),t=J({get:()=>o.currentTab,set:n=>o.currentTab=n}),r=P([["editTab","编辑源"],["editDebug","调试源"],["editList","源列表"],["editHelp","帮助信息"]]);return(n,i)=>{const u=Dt,c=Ot,k=Lt,b=nt,U=be,I=_e;return g(),w(I,{modelValue:s(t),"onUpdate:modelValue":i[0]||(i[0]=d=>H(t)?t.value=d:null)},{default:p(()=>[(g(!0),x(O,null,j(s(r),(d,l)=>(g(),w(U,{key:d[0],name:d[0],label:d[1]},{default:p(()=>[l==0?(g(),w(u,{key:0})):V("",!0),l==1?(g(),w(c,{key:1})):V("",!0),l==2?(g(),w(k,{key:2})):V("",!0),l==3?(g(),w(b,{key:3})):V("",!0)]),_:2},1032,["name","label"]))),128))]),_:1},8,["modelValue"])}}},At=$(jt,[["__scopeId","data-v-8249c810"]]),Ht={class:"menu flex-column-center"},Kt={class:"hotkeys-header flex-space-between"},Mt=["id"],Wt={key:0},Ft={class:"hotkeys-settings flex-column-center"},qt={class:"title"},zt={class:"hotkeys-item__content"},Gt={key:0},Qt={key:0},Xt={__name:"ToolBar",setup(e){const o=M(),t=()=>{const f=B({message:"加载中……",showClose:!0,duration:0});A.getSources().then(({data:a})=>{a.isSuccess?(o.changeTabName("editList"),o.saveSources(a.data),B({message:`成功拉取${a.data.length}条源`,type:"success"})):B({message:a.errorMsg??"后端错误",type:"error"})}).finally(()=>f.close())},r=()=>{let f=o.sources;if(o.changeTabName("editList"),f.length===0)return B({message:"空空如也",type:"info"});B({message:"正在推送中",type:"info"}),A.saveSources(f).then(({data:a})=>{if(a.isSuccess){let S=a.data;if(Array.isArray(S)){let D="";f.length>S.length&&(D=`
|
||||
推送失败的源将用红色字体标注!`,o.setPushReturnSources(S)),B({message:`批量推送源到「阅读3.0APP」
|
||||
共计: ${f.length} 条
|
||||
成功: ${S.length} 条
|
||||
失败: ${f.length-S.length} 条${D}`,type:"success"})}}else B({message:`批量推送源失败!
|
||||
ErrorMsg: ${a.errorMsg}`,type:"error"})})},n=()=>{o.changeTabName("editTab"),o.changeEditTabSource(o.currentSource)},i=()=>{o.changeCurrentSource(o.editTabSource)},u=()=>{o.editHistoryUndo()},c=()=>{o.clearEdit(),B({message:"已清除",type:"success"})},k=()=>{o.clearEdit(),o.clearAllHistory(),B({message:"已清除所有历史记录",type:"success"})},b=()=>{let f=/bookSource/i.test(location.href),a=o.currentSource;Ut(a)?A.saveSource(a).then(({data:S})=>{S.isSuccess?(B({message:`源《${f?a.bookSourceName:a.sourceName}》已成功保存到「阅读3.0APP」`,type:"success"}),o.saveCurrentSource()):B({message:`源《${f?a.bookSourceName:a.sourceName}》保存失败!
|
||||
ErrorMsg: ${S.errorMsg}`,type:"error"})}):B({message:"请检查<必填>项是否全部填写",type:"error"})},U=()=>{o.startDebug()},I=P(Array.of({name:"⇈推送源",hotKeys:[],action:r},{name:"⇊拉取源",hotKeys:[],action:t},{name:"⋙生成源",hotKeys:[],action:n},{name:"⋘编辑源",hotKeys:[],action:i},{name:"✗清空表单",hotKeys:[],action:c},{name:"↶撤销操作",hotKeys:[],action:u},{name:"↷重做操作",hotKeys:[],action:k},{name:"⇏调试源",hotKeys:[],action:U},{name:"✓保存源",hotKeys:[],action:b})),d=P(!0),l=P(!1),_=P(-1),v=()=>{l.value||(d.value=!1),l.value=!1};ie(d,f=>{if(!f){F.unbind("*"),z(),W();return}z(),F.unbind(),F("*",a=>{a.preventDefault();let S=F.getPressedKeyString();S.length==1&&S[0]=="esc"||l.value&&_.value>-1&&(I.value[_.value].hotKeys=S)})},{immediate:!0});const E=f=>{l.value=!0,B({message:"按ESC键或者点击空白处结束录入",type:"info"}),I.value[f].hotKeys=[],_.value=f},L=()=>{const f=[];I.value.forEach(({hotKeys:a})=>{f.push(a)}),T(f),d.value=!1},W=()=>{F.filter=()=>!0,I.value.forEach(({hotKeys:f,action:a})=>{f.length!=0&&F(f.join("+"),S=>{S.preventDefault(),a.call(null)})})},T=f=>{localStorage.setItem("legado_web_hotkeys",JSON.stringify(f))};function z(){try{const f=JSON.parse(localStorage.getItem("legado_web_hotkeys"));return!Array.isArray(f)||f.length==0?!1:(I.value.forEach((a,S)=>a.hotKeys=f[S]),!0)}catch{B({message:"快捷键配置错误",type:"error"}),localStorage.removeItem("legado_web_hotkeys")}return!1}return De(()=>{z()&&(d.value=!1)}),(f,a)=>{const S=se,D=me,Ue=Ae;return g(),x(O,null,[h("div",Ht,[(g(!0),x(O,null,j(s(I),N=>(g(),w(S,{size:"large",key:N.name,onClick:N.action},{default:p(()=>[y(X(N.name),1)]),_:2},1032,["onClick"]))),128)),m(S,{size:"large",onClick:a[0]||(a[0]=()=>d.value=!0)},{default:p(()=>a[2]||(a[2]=[y("快捷键")])),_:1})]),m(Ue,{modelValue:s(d),"onUpdate:modelValue":a[1]||(a[1]=N=>H(d)?d.value=N:null),"show-close":!1,"before-close":v},{header:p(({titleClass:N,titleId:ee})=>[h("div",Kt,[h("div",{id:ee,class:fe(N)},[a[4]||(a[4]=y(" 快捷键设置 ")),s(l)?(g(),x("span",Wt,[m(D,null,{default:p(()=>a[3]||(a[3]=[y(" / 录入中 ")])),_:1})])):V("",!0)],10,Mt),m(S,{disabled:s(l),onClick:L,icon:s(je)},{default:p(()=>a[5]||(a[5]=[y("保存")])),_:1},8,["disabled","icon"])])]),default:p(()=>[h("div",Ft,[(g(!0),x(O,null,j(s(I),(N,ee)=>(g(),x("div",{key:N.name,class:"hotkeys-item flex-space-between"},[h("span",qt,[m(D,null,{default:p(()=>[y(X(N.name),1)]),_:2},1024)]),h("div",zt,[(g(!0),x(O,null,j(N.hotKeys,(te,Be)=>(g(),x("div",{key:te},[h("kbd",null,X(te),1),Be+1<N.hotKeys.length?(g(),x("span",Gt,[m(D,null,{default:p(()=>a[6]||(a[6]=[y("+")])),_:1})])):V("",!0)]))),128)),N.hotKeys.length==0?(g(),x("span",Qt,"未设置")):V("",!0)]),m(S,{disabled:s(l),text:"",icon:s(he),onClick:te=>E(ee)},{default:p(()=>a[7]||(a[7]=[y("编辑")])),_:2},1032,["disabled","icon","onClick"])]))),128))])]),_:1},8,["modelValue"])],64)}}},Yt=$(Xt,[["__scopeId","data-v-9f61bfde"]]),Zt={__name:"SourceTabForm",props:["config"],setup(e){const o=M(),t=J(()=>o.currentSource);return(r,n)=>{const i=Y,u=He,c=Ke,k=Me,b=We,U=Fe,I=qe,d=be,l=_e;return g(),w(l,{id:"source-edit"},{default:p(()=>[(g(!0),x(O,null,j(Object.values(e.config),({name:_,children:v})=>(g(),w(d,{label:_,key:_},{default:p(()=>[m(I,{"label-position":"right","label-width":"auto"},{default:p(()=>[(g(!0),x(O,null,j(v,({type:E,title:L,namespace:W,id:T,array:z,hint:f,required:a})=>(g(),w(U,{label:L,key:L,required:a},{default:p(()=>[E=="String"&&typeof W>"u"?(g(),w(i,{key:0,type:"textarea",modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),E=="String"&&typeof W<"u"?(g(),w(i,{key:1,type:"textarea",modelValue:s(t)[W][T],"onUpdate:modelValue":S=>s(t)[W][T]=S,placeholder:f,autosize:""},null,8,["modelValue","onUpdate:modelValue","placeholder"])):V("",!0),E=="Boolean"?(g(),w(u,{key:2,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),E=="Number"?(g(),w(c,{key:3,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S,min:0},null,8,["modelValue","onUpdate:modelValue"])):V("",!0),E=="Array"?(g(),w(b,{key:4,modelValue:s(t)[T],"onUpdate:modelValue":S=>s(t)[T]=S},{default:p(()=>[(g(!0),x(O,null,j(z,(S,D)=>(g(),w(k,{value:D,key:S,label:S},null,8,["value","label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):V("",!0)]),_:2},1032,["label","required"]))),128))]),_:2},1024)]),_:2},1032,["label"]))),128))]),_:1})}}},eo=$(Zt,[["__scopeId","data-v-0cb9f194"]]),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:"bookSourceGr
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"}]}},no={class:"editor"},ro={__name:"SourceEditor",setup(e){ze();let o;return/bookSource/i.test(location.href)?(o=to,document.title="书源管理"):(o=oo,document.title="订阅源管理"),(t,r)=>{const n=eo,i=Yt,u=At;return g(),x("div",no,[m(n,{class:"left",config:s(o)},null,8,["config"]),m(i),m(u,{class:"right"})])}}},ge=$(ro,[["__scopeId","data-v-9682883a"]]),we=[{path:"/bookSource",name:"book-home",component:ge},{path:"/rssSource",name:"rss-home",component:ge}];ne({history:re(),routes:we});const Ce=ne({history:re(),routes:ke.concat(we)});Ce.afterEach(e=>{e.name=="shelf"&&(document.title="书架")});Ge(Ye).use($t).use(Ce).mount("#app");ie(()=>Pt().isNight,e=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});export{A,$ as _,Pt as u};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{ah as f,v as g,H as u,ai as c,u as d,a6 as h,aj as m}from"./vendor-Bo0wn8_e.js";const L=a=>/,\s*\{/.test(a)||!(a.startsWith("http")||a.startsWith("data:")||a.startsWith("blob:")),M=a=>{let r=new Date().getTime(),e=Math.floor((r-a)/1e3),t="";return e<=30?t="刚刚":e<60?t=e+"秒前":e<3600?t=Math.floor(e/60)+"分钟前":e<86400?t=Math.floor(e/3600)+"小时前":e<2592e3?t=Math.floor(e/86400)+"天前":t=f(new Date(a),"YYYY-MM-DD"),t},b=(a,r,e=m)=>{const t=g(!1);let s=null;const n=()=>t.value=!1,i=()=>t.value=!0;u(t,o=>{if(!o)return s==null?void 0:s.close();s=c.service({target:d(a),spinner:e,text:r,lock:!0,background:"rgba(0, 0, 0, 0)"})});const l=o=>{if(!(o instanceof Promise))throw TypeError("loadingWrapper argument must be Promise");return i(),o.finally(n)};return h(()=>{n()}),{isLoading:t,showLoading:i,closeLoading:n,loadingWrapper:l}};export{M as d,L as i,b as u};
|
||||
import{ah as f,v as g,H as u,ai as c,u as d,a6 as h,aj as m}from"./vendor-JTttPx12.js";const L=a=>/,\s*\{/.test(a)||!(a.startsWith("http")||a.startsWith("data:")||a.startsWith("blob:")),M=a=>{let r=new Date().getTime(),e=Math.floor((r-a)/1e3),t="";return e<=30?t="刚刚":e<60?t=e+"秒前":e<3600?t=Math.floor(e/60)+"分钟前":e<86400?t=Math.floor(e/3600)+"小时前":e<2592e3?t=Math.floor(e/86400)+"天前":t=f(new Date(a),"YYYY-MM-DD"),t},b=(a,r,e=m)=>{const t=g(!1);let s=null;const n=()=>t.value=!1,i=()=>t.value=!0;u(t,o=>{if(!o)return s==null?void 0:s.close();s=c.service({target:d(a),spinner:e,text:r,lock:!0,background:"rgba(0, 0, 0, 0)"})});const l=o=>{if(!(o instanceof Promise))throw TypeError("loadingWrapper argument must be Promise");return i(),o.finally(n)};return h(()=>{n()}),{isLoading:t,showLoading:i,closeLoading:n,loadingWrapper:l}};export{M as d,L as i,b as u};
|
||||
+14
-14
@@ -2,23 +2,23 @@
|
||||
* @vue/shared v3.5.11
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function Du(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ye={},xo=[],ht=()=>{},zy=()=>!1,Sa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vu=e=>e.startsWith("onUpdate:"),dt=Object.assign,ju=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hy=Object.prototype.hasOwnProperty,je=(e,t)=>Hy.call(e,t),he=Array.isArray,Ro=e=>Ys(e)==="[object Map]",_a=e=>Ys(e)==="[object Set]",Zc=e=>Ys(e)==="[object Date]",me=e=>typeof e=="function",Ce=e=>typeof e=="string",Fn=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Ji=e=>(Ae(e)||me(e))&&me(e.then)&&me(e.catch),ph=Object.prototype.toString,Ys=e=>ph.call(e),Li=e=>Ys(e).slice(8,-1),hh=e=>Ys(e)==="[object Object]",zu=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cs=Du(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ea=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ky=/-(\w)/g,en=Ea(e=>e.replace(Ky,(t,n)=>n?n.toUpperCase():"")),Uy=/\B([A-Z])/g,rr=Ea(e=>e.replace(Uy,"-$1").toLowerCase()),Js=Ea(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ni=Ea(e=>e?`on${Js(e)}`:""),xr=(e,t)=>!Object.is(e,t),Fi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},vh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Wl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qy=e=>{const t=Ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Qc;const mh=()=>Qc||(Qc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ce(r)?Jy(r):it(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ce(e)||Ae(e))return e}const Wy=/;(?![^(]*\))/g,Gy=/:([^]+)/,Yy=/\/\*[^]*?\*\//g;function Jy(e){const t={};return e.replace(Yy,"").split(Wy).forEach(n=>{if(n){const r=n.split(Gy);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function j(e){let t="";if(Ce(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=j(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zy=Du(Xy);function gh(e){return!!e||e===""}function Qy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ca(e[r],t[r]);return n}function Ca(e,t){if(e===t)return!0;let n=Zc(e),r=Zc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Fn(e),r=Fn(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?Qy(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Ca(e[i],t[i]))return!1}}return String(e)===String(t)}function yh(e,t){return e.findIndex(n=>Ca(n,t))}const bh=e=>!!(e&&e.__v_isRef===!0),He=e=>Ce(e)?e:e==null?"":he(e)||Ae(e)&&(e.toString===ph||!me(e.toString))?bh(e)?He(e.value):JSON.stringify(e,wh,2):String(e),wh=(e,t)=>bh(t)?wh(e,t.value):Ro(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[dl(r,s)+" =>"]=o,n),{})}:_a(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>dl(n))}:Fn(t)?dl(t):Ae(t)&&!he(t)&&!hh(t)?String(t):t,dl=(e,t="")=>{var n;return Fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||||
**//*! #__NO_SIDE_EFFECTS__ */function Vu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ye={},Ro=[],ht=()=>{},zy=()=>!1,Ea=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ju=e=>e.startsWith("onUpdate:"),dt=Object.assign,zu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hy=Object.prototype.hasOwnProperty,je=(e,t)=>Hy.call(e,t),he=Array.isArray,Po=e=>Js(e)==="[object Map]",Ca=e=>Js(e)==="[object Set]",Qc=e=>Js(e)==="[object Date]",me=e=>typeof e=="function",Ce=e=>typeof e=="string",Bn=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Xi=e=>(Ae(e)||me(e))&&me(e.then)&&me(e.catch),ph=Object.prototype.toString,Js=e=>ph.call(e),Ni=e=>Js(e).slice(8,-1),hh=e=>Js(e)==="[object Object]",Hu=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fs=Vu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ta=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ky=/-(\w)/g,en=Ta(e=>e.replace(Ky,(t,n)=>n?n.toUpperCase():"")),Uy=/\B([A-Z])/g,or=Ta(e=>e.replace(Uy,"-$1").toLowerCase()),Xs=Ta(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fi=Ta(e=>e?`on${Xs(e)}`:""),Rr=(e,t)=>!Object.is(e,t),Bi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},vh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Gl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qy=e=>{const t=Ce(e)?Number(e):NaN;return isNaN(t)?e:t};let ef;const mh=()=>ef||(ef=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ce(r)?Jy(r):it(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ce(e)||Ae(e))return e}const Wy=/;(?![^(]*\))/g,Gy=/:([^]+)/,Yy=/\/\*[^]*?\*\//g;function Jy(e){const t={};return e.replace(Yy,"").split(Wy).forEach(n=>{if(n){const r=n.split(Gy);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function j(e){let t="";if(Ce(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=j(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xy="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zy=Vu(Xy);function gh(e){return!!e||e===""}function Qy(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Oa(e[r],t[r]);return n}function Oa(e,t){if(e===t)return!0;let n=Qc(e),r=Qc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Bn(e),r=Bn(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?Qy(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Oa(e[i],t[i]))return!1}}return String(e)===String(t)}function yh(e,t){return e.findIndex(n=>Oa(n,t))}const bh=e=>!!(e&&e.__v_isRef===!0),He=e=>Ce(e)?e:e==null?"":he(e)||Ae(e)&&(e.toString===ph||!me(e.toString))?bh(e)?He(e.value):JSON.stringify(e,wh,2):String(e),wh=(e,t)=>bh(t)?wh(e,t.value):Po(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[pl(r,s)+" =>"]=o,n),{})}:Ca(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>pl(n))}:Bn(t)?pl(t):Ae(t)&&!he(t)&&!hh(t)?String(t):t,pl=(e,t="")=>{var n;return Bn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||||
* @vue/reactivity v3.5.11
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let Mt;class Sh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){Mt=this}off(){Mt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function _h(e){return new Sh(e)}function Ta(){return Mt}function Oa(e,t=!1){Mt&&Mt.cleanups.push(e)}let nt;const pl=new WeakSet;class Eh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Mt&&Mt.active&&Mt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pl.has(this)&&(pl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Th(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ef(this),Oh(this);const t=nt,n=gn;nt=this,gn=!0;try{return this.fn()}finally{Ah(this),nt=t,gn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Uu(t);this.deps=this.depsTail=void 0,ef(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gl(this)&&this.run()}get dirty(){return Gl(this)}}let Ch=0,fs,ds;function Th(e,t=!1){if(e.flags|=8,t){e.next=ds,ds=e;return}e.next=fs,fs=e}function Hu(){Ch++}function Ku(){if(--Ch>0)return;if(ds){let t=ds;for(ds=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;fs;){let t=fs;for(fs=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Oh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ah(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Uu(r),eb(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Gl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===As))return;e.globalVersion=As;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Gl(e)){e.flags&=-3;return}const n=nt,r=gn;nt=e,gn=!0;try{Oh(e);const o=e.fn(e._value);(t.version===0||xr(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{nt=n,gn=r,Ah(e),e.flags&=-3}}function Uu(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Uu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gn=!0;const Rh=[];function Pr(){Rh.push(gn),gn=!1}function Ir(){const e=Rh.pop();gn=e===void 0?!0:e}function ef(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=nt;nt=void 0;try{t()}finally{nt=n}}}let As=0,tb=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Aa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!nt||!gn||nt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==nt)n=this.activeLink=new tb(nt,this),nt.deps?(n.prevDep=nt.depsTail,nt.depsTail.nextDep=n,nt.depsTail=n):nt.deps=nt.depsTail=n,Ph(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=nt.depsTail,n.nextDep=void 0,nt.depsTail.nextDep=n,nt.depsTail=n,nt.deps===n&&(nt.deps=r)}return n}trigger(t){this.version++,As++,this.notify(t)}notify(t){Hu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ku()}}}function Ph(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ph(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSubLine truncated
|
||||
**/let Mt;class Sh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Mt,!t&&Mt&&(this.index=(Mt.scopes||(Mt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Mt;try{return Mt=this,t()}finally{Mt=n}}}on(){Mt=this}off(){Mt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function _h(e){return new Sh(e)}function Aa(){return Mt}function xa(e,t=!1){Mt&&Mt.cleanups.push(e)}let nt;const hl=new WeakSet;class Eh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Mt&&Mt.active&&Mt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,hl.has(this)&&(hl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Th(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tf(this),Oh(this);const t=nt,n=gn;nt=this,gn=!0;try{return this.fn()}finally{Ah(this),nt=t,gn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)qu(t);this.deps=this.depsTail=void 0,tf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?hl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yl(this)&&this.run()}get dirty(){return Yl(this)}}let Ch=0,ds,ps;function Th(e,t=!1){if(e.flags|=8,t){e.next=ps,ps=e;return}e.next=ds,ds=e}function Ku(){Ch++}function Uu(){if(--Ch>0)return;if(ps){let t=ps;for(ps=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ds;){let t=ds;for(ds=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Oh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ah(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),qu(r),eb(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Yl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xs))return;e.globalVersion=xs;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Yl(e)){e.flags&=-3;return}const n=nt,r=gn;nt=e,gn=!0;try{Oh(e);const o=e.fn(e._value);(t.version===0||Rr(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{nt=n,gn=r,Ah(e),e.flags&=-3}}function qu(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)qu(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gn=!0;const Rh=[];function Ir(){Rh.push(gn),gn=!1}function $r(){const e=Rh.pop();gn=e===void 0?!0:e}function tf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=nt;nt=void 0;try{t()}finally{nt=n}}}let xs=0,tb=class{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Ra{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!nt||!gn||nt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==nt)n=this.activeLink=new tb(nt,this),nt.deps?(n.prevDep=nt.depsTail,nt.depsTail.nextDep=n,nt.depsTail=n):nt.deps=nt.depsTail=n,Ph(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=nt.depsTail,n.nextDep=void 0,nt.depsTail.nextDep=n,nt.depsTail=n,nt.deps===n&&(nt.deps=r)}return n}trigger(t){this.version++,xs++,this.notify(t)}notify(t){Ku();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Uu()}}}function Ph(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ph(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSubLine truncated
|
||||
* @vue/runtime-core v3.5.11
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function Xs(e,t,n,r){try{return r?e(...r):e()}catch(o){Pa(o,t,n)}}function wn(e,t,n,r){if(me(e)){const o=Xs(e,t,n,r);return o&&Ji(o)&&o.catch(s=>{Pa(s,t,n)}),o}if(he(e)){const o=[];for(let s=0;s<e.length;s++)o.push(wn(e[s],t,n,r));return o}}function Pa(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){Pr(),Xs(s,null,10,[e,l,u]),Ir();return}}$b(e,n,o,r,i)}function $b(e,t,n,r=!0,o=!1){if(o)throw e}const kt=[];let Rn=-1;const Po=[];let Sr=null,Eo=0;const Vh=Promise.resolve();let Qi=null;function $e(e){const t=Qi||Vh;return e?t.then(this?e.bind(this):e):t}function Mb(e){let t=Rn+1,n=kt.length;for(;t<n;){const r=t+n>>>1,o=kt[r],s=Ps(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Zu(e){if(!(e.flags&1)){const t=Ps(e),n=kt[kt.length-1];!n||!(e.flags&2)&&t>=Ps(n)?kt.push(e):kt.splice(Mb(t),0,e),e.flags|=1,jh()}}function jh(){Qi||(Qi=Vh.then(Hh))}function kb(e){he(e)?Po.push(...e):Sr&&e.id===-1?Sr.splice(Eo+1,0,e):e.flags&1||(Po.push(e),e.flags|=1),jh()}function af(e,t,n=Rn+1){for(;n<kt.length;n++){const r=kt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;kt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function zh(e){if(Po.length){const t=[...new Set(Po)].sort((n,r)=>Ps(n)-Ps(r));if(Po.length=0,Sr){Sr.push(...t);return}for(Sr=t,Eo=0;Eo<Sr.length;Eo++){const n=Sr[Eo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Sr=null,Eo=0}}const Ps=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hh(e){try{for(Rn=0;Rn<kt.length;Rn++){const t=kt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Xs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rn<kt.length;Rn++){const t=kt[Rn];t&&(t.flags&=-2)}Rn=-1,kt.length=0,zh(),Qi=null,(kt.length||Po.length)&&Hh()}}let pt=null,Kh=null;function ea(e){const t=pt;return pt=e,Kh=e&&e.type.__scopeId||null,t}function ue(e,t=pt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&wf(-1);const s=ea(t);let i;try{i=e(...o)}finally{ea(s),r._d&&wf(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ct(e,t){if(pt===null)return e;const n=Da(pt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ye]=t[o];s&&(me(s)&&(s={mounted:s,updated:s}),s.deep&&Wn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Br(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Pr(),wn(l,n,8,[e.el,a,e,t]),Ir())}}const Uh=Symbol("_vte"),qh=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),Lb=e=>e&&(e.defer||e.defer===""),lf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,uf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Jl=(e,t)=>{const n=e&&e.to;return Ce(n)?t?t(n):null:n},Nb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:v,querySelector:p,createText:h,createComment:y}}=u,m=ps(t.props);let{shapeFlag:_,children:E,dynamicChildren:w}=t;if(e==null){const b=t.el=h(""),O=t.anchor=h("");v(b,n,r),v(O,n,r);const A=(R,I)=>{_&16&&(o&&o.isCE&&(o.ce._teleportTarget=R),c(E,R,I,o,s,i,a,l))},P=()=>{const R=t.target=Jl(t.props,p),I=Wh(R,t,h,v);R&&(i!=="svg"&&lf(R)?i="svg":i!=="mathml"&&uf(R)&&(i="mathml"),m||(A(R,I),Bi(t)))};m&&(A(n,O),Bi(t)),Lb(t.props)?Nt(P,s):P()}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,O=t.target=e.target,A=t.targetAnchor=e.targetAnchor,P=ps(e.props),R=P?n:O,I=P?b:A;if(i==="svg"||lf(O)?i="svg":(i==="mathml"||uf(O))&&(i="mathml"),w?(d(e.dynamicChildren,w,R,o,s,i,a),sc(e,t,!0)):l||f(e,t,R,I,o,s,i,a,!1),m)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yi(t,n,b,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Jl(t.props,p);N&&yi(t,N,null,u,0)}else P&&yi(t,O,A,u,1);Bi(t)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),s&&o(l),i&16){const v=s||!ps(d);for(let p=0;p<a.length;p++){const h=a[p];r(h,t,n,v,!!h.dynamicChildren)}}},move:yi,hydrate:Fb};function yi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),(!f||ps(c))&&l&16)for(let d=0;d<u.length;d++)o(u[d],t,n,2);f&&r(a,t,n)}function Fb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=Jl(t.props,l);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(ps(t.props))t.anchor=f(i(e),t,a(e),n,r,o,s),t.targetStart=v,t.targetAnchor=v&&i(v);else{t.anchor=i(e);let p=v;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}p=i(p)}t.targetAnchor||Wh(d,t,c,u),f(v&&i(v),t,d,n,r,o,s
Line truncated
|
||||
**/function Zs(e,t,n,r){try{return r?e(...r):e()}catch(o){$a(o,t,n)}}function wn(e,t,n,r){if(me(e)){const o=Zs(e,t,n,r);return o&&Xi(o)&&o.catch(s=>{$a(s,t,n)}),o}if(he(e)){const o=[];for(let s=0;s<e.length;s++)o.push(wn(e[s],t,n,r));return o}}function $a(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(s){Ir(),Zs(s,null,10,[e,l,u]),$r();return}}$b(e,n,o,r,i)}function $b(e,t,n,r=!0,o=!1){if(o)throw e}const kt=[];let Rn=-1;const Io=[];let _r=null,Co=0;const Vh=Promise.resolve();let ea=null;function $e(e){const t=ea||Vh;return e?t.then(this?e.bind(this):e):t}function Mb(e){let t=Rn+1,n=kt.length;for(;t<n;){const r=t+n>>>1,o=kt[r],s=Is(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Qu(e){if(!(e.flags&1)){const t=Is(e),n=kt[kt.length-1];!n||!(e.flags&2)&&t>=Is(n)?kt.push(e):kt.splice(Mb(t),0,e),e.flags|=1,jh()}}function jh(){ea||(ea=Vh.then(Hh))}function kb(e){he(e)?Io.push(...e):_r&&e.id===-1?_r.splice(Co+1,0,e):e.flags&1||(Io.push(e),e.flags|=1),jh()}function lf(e,t,n=Rn+1){for(;n<kt.length;n++){const r=kt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;kt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function zh(e){if(Io.length){const t=[...new Set(Io)].sort((n,r)=>Is(n)-Is(r));if(Io.length=0,_r){_r.push(...t);return}for(_r=t,Co=0;Co<_r.length;Co++){const n=_r[Co];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_r=null,Co=0}}const Is=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hh(e){try{for(Rn=0;Rn<kt.length;Rn++){const t=kt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rn<kt.length;Rn++){const t=kt[Rn];t&&(t.flags&=-2)}Rn=-1,kt.length=0,zh(),ea=null,(kt.length||Io.length)&&Hh()}}let pt=null,Kh=null;function ta(e){const t=pt;return pt=e,Kh=e&&e.type.__scopeId||null,t}function ue(e,t=pt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Sf(-1);const s=ta(t);let i;try{i=e(...o)}finally{ta(s),r._d&&Sf(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ct(e,t){if(pt===null)return e;const n=ja(pt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ye]=t[o];s&&(me(s)&&(s={mounted:s,updated:s}),s.deep&&Gn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Dr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Ir(),wn(l,n,8,[e.el,a,e,t]),$r())}}const Uh=Symbol("_vte"),qh=e=>e.__isTeleport,hs=e=>e&&(e.disabled||e.disabled===""),Lb=e=>e&&(e.defer||e.defer===""),uf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Xl=(e,t)=>{const n=e&&e.to;return Ce(n)?t?t(n):null:n},Nb={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:f,pbc:d,o:{insert:v,querySelector:p,createText:h,createComment:y}}=u,m=hs(t.props);let{shapeFlag:_,children:E,dynamicChildren:w}=t;if(e==null){const b=t.el=h(""),O=t.anchor=h("");v(b,n,r),v(O,n,r);const A=(R,I)=>{_&16&&(o&&o.isCE&&(o.ce._teleportTarget=R),c(E,R,I,o,s,i,a,l))},P=()=>{const R=t.target=Xl(t.props,p),I=Wh(R,t,h,v);R&&(i!=="svg"&&uf(R)?i="svg":i!=="mathml"&&cf(R)&&(i="mathml"),m||(A(R,I),Di(t)))};m&&(A(n,O),Di(t)),Lb(t.props)?Nt(P,s):P()}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,O=t.target=e.target,A=t.targetAnchor=e.targetAnchor,P=hs(e.props),R=P?n:O,I=P?b:A;if(i==="svg"||uf(O)?i="svg":(i==="mathml"||cf(O))&&(i="mathml"),w?(d(e.dynamicChildren,w,R,o,s,i,a),ic(e,t,!0)):l||f(e,t,R,I,o,s,i,a,!1),m)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):bi(t,n,b,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Xl(t.props,p);N&&bi(t,N,null,u,0)}else P&&bi(t,O,A,u,1);Di(t)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(o(u),o(c)),s&&o(l),i&16){const v=s||!hs(d);for(let p=0;p<a.length;p++){const h=a[p];r(h,t,n,v,!!h.dynamicChildren)}}},move:bi,hydrate:Fb};function bi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=s===2;if(f&&r(i,t,n),(!f||hs(c))&&l&16)for(let d=0;d<u.length;d++)o(u[d],t,n,2);f&&r(a,t,n)}function Fb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){const d=t.target=Xl(t.props,l);if(d){const v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(hs(t.props))t.anchor=f(i(e),t,a(e),n,r,o,s),t.targetStart=v,t.targetAnchor=v&&i(v);else{t.anchor=i(e);let p=v;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}p=i(p)}t.targetAnchor||Wh(d,t,c,u),f(v&&i(v),t,d,n,r,o,s
Line truncated
|
||||
* @vue/runtime-dom v3.5.11
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let ru;const Cf=typeof window<"u"&&window.trustedTypes;if(Cf)try{ru=Cf.createPolicy("vue",{createHTML:e=>e})}catch{}const Tv=ru?e=>ru.createHTML(e):e=>e,D0="http://www.w3.org/2000/svg",V0="http://www.w3.org/1998/Math/MathML",Kn=typeof document<"u"?document:null,Tf=Kn&&Kn.createElement("template"),j0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Kn.createElementNS(D0,e):t==="mathml"?Kn.createElementNS(V0,e):n?Kn.createElement(e,{is:n}):Kn.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Kn.createTextNode(e),createComment:e=>Kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Tf.innerHTML=Tv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Tf.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dr="transition",ts="animation",Mo=Symbol("_vtc"),Ov={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Av=dt({},Yh,Ov),z0=e=>(e.displayName="Transition",e.props=Av,e),Mr=z0((e,{slots:t})=>Gn(Vb,xv(e),t)),Vr=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Of=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function xv(e){const t={};for(const k in e)k in Ov||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,p=H0(o),h=p&&p[0],y=p&&p[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:E,onLeave:w,onLeaveCancelled:b,onBeforeAppear:O=m,onAppear:A=_,onAppearCancelled:P=E}=t,R=(k,D,X)=>{mr(k,D?c:a),mr(k,D?u:i),X&&X()},I=(k,D)=>{k._isLeaving=!1,mr(k,f),mr(k,v),mr(k,d),D&&D()},N=k=>(D,X)=>{const $=k?A:_,x=()=>R(D,k,X);Vr($,[D,x]),Af(()=>{mr(D,k?l:s),Hn(D,k?c:a),Of($)||xf(D,r,h,x)})};return dt(t,{onBeforeEnter(k){Vr(m,[k]),Hn(k,s),Hn(k,i)},onBeforeAppear(k){Vr(O,[k]),Hn(k,l),Hn(k,u)},onEnter:N(!1),onAppear:N(!0),onLeave(k,D){k._isLeaving=!0;const X=()=>I(k,D);Hn(k,f),Hn(k,d),Pv(),Af(()=>{k._isLeaving&&(mr(k,f),Hn(k,v),Of(w)||xf(k,r,y,X))}),Vr(w,[k,X])},onEnterCancelled(k){R(k,!1),Vr(E,[k])},onAppearCancelled(k){R(k,!0),Vr(P,[k])},onLeaveCancelled(k){I(k),Vr(b,[k])}})}function H0(e){if(e==null)return null;if(Ae(e))return[wl(e.enter),wl(e.leave)];{const t=wl(e);return[t,t]}}function wl(e){return qy(e)}function Hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Mo]||(e[Mo]=new Set)).add(t)}function mr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Mo];n&&(n.delete(t),n.size||(e[Mo]=void 0))}function Af(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let K0=0;function xf(e,t,n,r){const o=e._endId=++K0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Rv(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=v=>{v.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function Rv(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${dr}Delay`),s=r(`${dr}Duration`),i=Rf(o,s),a=r(`${ts}Delay`),l=r(`${ts}Duration`),u=Rf(a,l);let c=null,f=0,d=0;t===dr?i>0&&(c=dr,f=i,d=s.length):t===ts?u>0&&(c=ts,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?dr:ts:null,d=c?c===dr?s.length:l.length:0);const v=c===dr&&/\b(transform|all)(,|$)/.test(r(`${dr}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:v}}function Rf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Pf(n)+Pf(e[r])))}function Pf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pv(){return document.body.offsetHeight}function U0(e,t,n){const r=e[Mo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ra=Symbol("_vod"),Iv=Symbol("_vsh"),Xt={beforeMount(e,{value:t},{transition:n}){e[ra]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ns(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ns(e,!0
Line truncated
|
||||
**/let ou;const Tf=typeof window<"u"&&window.trustedTypes;if(Tf)try{ou=Tf.createPolicy("vue",{createHTML:e=>e})}catch{}const Tv=ou?e=>ou.createHTML(e):e=>e,D0="http://www.w3.org/2000/svg",V0="http://www.w3.org/1998/Math/MathML",Un=typeof document<"u"?document:null,Of=Un&&Un.createElement("template"),j0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Un.createElementNS(D0,e):t==="mathml"?Un.createElementNS(V0,e):n?Un.createElement(e,{is:n}):Un.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Un.createTextNode(e),createComment:e=>Un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Of.innerHTML=Tv(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Of.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pr="transition",ns="animation",ko=Symbol("_vtc"),Ov={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Av=dt({},Yh,Ov),z0=e=>(e.displayName="Transition",e.props=Av,e),kr=z0((e,{slots:t})=>Yn(Vb,xv(e),t)),jr=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Af=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function xv(e){const t={};for(const k in e)k in Ov||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,p=H0(o),h=p&&p[0],y=p&&p[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:E,onLeave:w,onLeaveCancelled:b,onBeforeAppear:O=m,onAppear:A=_,onAppearCancelled:P=E}=t,R=(k,D,X)=>{gr(k,D?c:a),gr(k,D?u:i),X&&X()},I=(k,D)=>{k._isLeaving=!1,gr(k,f),gr(k,v),gr(k,d),D&&D()},N=k=>(D,X)=>{const $=k?A:_,x=()=>R(D,k,X);jr($,[D,x]),xf(()=>{gr(D,k?l:s),Kn(D,k?c:a),Af($)||Rf(D,r,h,x)})};return dt(t,{onBeforeEnter(k){jr(m,[k]),Kn(k,s),Kn(k,i)},onBeforeAppear(k){jr(O,[k]),Kn(k,l),Kn(k,u)},onEnter:N(!1),onAppear:N(!0),onLeave(k,D){k._isLeaving=!0;const X=()=>I(k,D);Kn(k,f),Kn(k,d),Pv(),xf(()=>{k._isLeaving&&(gr(k,f),Kn(k,v),Af(w)||Rf(k,r,y,X))}),jr(w,[k,X])},onEnterCancelled(k){R(k,!1),jr(E,[k])},onAppearCancelled(k){R(k,!0),jr(P,[k])},onLeaveCancelled(k){I(k),jr(b,[k])}})}function H0(e){if(e==null)return null;if(Ae(e))return[Sl(e.enter),Sl(e.leave)];{const t=Sl(e);return[t,t]}}function Sl(e){return qy(e)}function Kn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ko]||(e[ko]=new Set)).add(t)}function gr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ko];n&&(n.delete(t),n.size||(e[ko]=void 0))}function xf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let K0=0;function Rf(e,t,n,r){const o=e._endId=++K0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Rv(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,d),s()},d=v=>{v.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,d)}function Rv(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${pr}Delay`),s=r(`${pr}Duration`),i=Pf(o,s),a=r(`${ns}Delay`),l=r(`${ns}Duration`),u=Pf(a,l);let c=null,f=0,d=0;t===pr?i>0&&(c=pr,f=i,d=s.length):t===ns?u>0&&(c=ns,f=u,d=l.length):(f=Math.max(i,u),c=f>0?i>u?pr:ns:null,d=c?c===pr?s.length:l.length:0);const v=c===pr&&/\b(transform|all)(,|$)/.test(r(`${pr}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:v}}function Pf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>If(n)+If(e[r])))}function If(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pv(){return document.body.offsetHeight}function U0(e,t,n){const r=e[ko];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oa=Symbol("_vod"),Iv=Symbol("_vsh"),Xt={beforeMount(e,{value:t},{transition:n}){e[oa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):rs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),rs(e,!0
Line truncated
|
||||
* vue-router v4.4.5
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/const Co=typeof document<"u";function Fv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fv(e.default)}const qe=Object.assign;function El(e,t){const n={};for(const r in t){const o=t[r];n[r]=Sn(o)?o.map(e):e(o)}return n}const ms=()=>{},Sn=Array.isArray,Bv=/#/g,_w=/&/g,Ew=/\//g,Cw=/=/g,Tw=/\?/g,Dv=/\+/g,Ow=/%5B/g,Aw=/%5D/g,Vv=/%5E/g,xw=/%60/g,jv=/%7B/g,Rw=/%7C/g,zv=/%7D/g,Pw=/%20/g;function ac(e){return encodeURI(""+e).replace(Rw,"|").replace(Ow,"[").replace(Aw,"]")}function Iw(e){return ac(e).replace(jv,"{").replace(zv,"}").replace(Vv,"^")}function su(e){return ac(e).replace(Dv,"%2B").replace(Pw,"+").replace(Bv,"%23").replace(_w,"%26").replace(xw,"`").replace(jv,"{").replace(zv,"}").replace(Vv,"^")}function $w(e){return su(e).replace(Cw,"%3D")}function Mw(e){return ac(e).replace(Bv,"%23").replace(Tw,"%3F")}function kw(e){return e==null?"":Mw(e).replace(Ew,"%2F")}function Ms(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lw=/\/$/,Nw=e=>e.replace(Lw,"");function Cl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Vw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Ms(i)}}function Fw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ko(t.matched[r],n.matched[o])&&Hv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ko(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dw(e[n],t[n]))return!1;return!0}function Dw(e,t){return Sn(e)?Kf(e,t):Sn(t)?Kf(t,e):e===t}function Kf(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Vw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const pr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ks;(function(e){e.pop="pop",e.push="push"})(ks||(ks={}));var gs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gs||(gs={}));function jw(e){if(!e)if(Co){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Nw(e)}const zw=/^[^#]+#/;function Hw(e,t){return e.replace(zw,"#")+t}function Kw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Va=()=>({left:window.scrollX,top:window.scrollY});function Uw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Kw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Uf(e,t){return(history.state?history.state.position-t:-1)+e}const iu=new Map;function qw(e,t){iu.set(e,t)}function Ww(e){const t=iu.get(e);return iu.delete(e),t}let Gw=()=>location.protocol+"//"+location.host;function Kv(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Hf(l,"")}return Hf(n,e)+r+o}function Yw(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=Kv(e,location),p=n.value,h=t.value;let y=0;if(d){if(n.value=v,t.value=d,i&&i===p){i=null;return}y=h?d.position-h.position:0}else r(v);o.forEach(m=>{m(n.value,p,{delta:y,type:ks.pop,direction:y?y>0?gs.forward:gs.back:gs.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(qe({},d.state,{scroll:Va()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function qf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Va():null}}function Jw(e){const{history:t,location:n}=window,r={value:Kv(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scLine truncated
|
||||
*/const To=typeof document<"u";function Fv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fv(e.default)}const qe=Object.assign;function Cl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Sn(o)?o.map(e):e(o)}return n}const gs=()=>{},Sn=Array.isArray,Bv=/#/g,_w=/&/g,Ew=/\//g,Cw=/=/g,Tw=/\?/g,Dv=/\+/g,Ow=/%5B/g,Aw=/%5D/g,Vv=/%5E/g,xw=/%60/g,jv=/%7B/g,Rw=/%7C/g,zv=/%7D/g,Pw=/%20/g;function lc(e){return encodeURI(""+e).replace(Rw,"|").replace(Ow,"[").replace(Aw,"]")}function Iw(e){return lc(e).replace(jv,"{").replace(zv,"}").replace(Vv,"^")}function iu(e){return lc(e).replace(Dv,"%2B").replace(Pw,"+").replace(Bv,"%23").replace(_w,"%26").replace(xw,"`").replace(jv,"{").replace(zv,"}").replace(Vv,"^")}function $w(e){return iu(e).replace(Cw,"%3D")}function Mw(e){return lc(e).replace(Bv,"%23").replace(Tw,"%3F")}function kw(e){return e==null?"":Mw(e).replace(Ew,"%2F")}function ks(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lw=/\/$/,Nw=e=>e.replace(Lw,"");function Tl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=Vw(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:ks(i)}}function Fw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Lo(t.matched[r],n.matched[o])&&Hv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dw(e[n],t[n]))return!1;return!0}function Dw(e,t){return Sn(e)?Uf(e,t):Sn(t)?Uf(t,e):e===t}function Uf(e,t){return Sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Vw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const hr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ls;(function(e){e.pop="pop",e.push="push"})(Ls||(Ls={}));var ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ys||(ys={}));function jw(e){if(!e)if(To){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Nw(e)}const zw=/^[^#]+#/;function Hw(e,t){return e.replace(zw,"#")+t}function Kw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const za=()=>({left:window.scrollX,top:window.scrollY});function Uw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Kw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qf(e,t){return(history.state?history.state.position-t:-1)+e}const au=new Map;function qw(e,t){au.set(e,t)}function Ww(e){const t=au.get(e);return au.delete(e),t}let Gw=()=>location.protocol+"//"+location.host;function Kv(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Kf(l,"")}return Kf(n,e)+r+o}function Yw(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const v=Kv(e,location),p=n.value,h=t.value;let y=0;if(d){if(n.value=v,t.value=d,i&&i===p){i=null;return}y=h?d.position-h.position:0}else r(v);o.forEach(m=>{m(n.value,p,{delta:y,type:Ls.pop,direction:y?y>0?ys.forward:ys.back:ys.unknown})})};function l(){i=n.value}function u(d){o.push(d);const v=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(v),v}function c(){const{history:d}=window;d.state&&d.replaceState(qe({},d.state,{scroll:za()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Wf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?za():null}}function Jw(e){const{history:t,location:n}=window,r={value:Kv(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scLine truncated
|
||||
(?:
|
||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||
@@ -29,7 +29,7 @@
|
||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),a=new RegExp("^"+o+"$"),l=function(w){return w&&w.exact?s:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+o+t(w)+")","g")};l.v4=function(E){return E&&E.exact?i:new RegExp(""+t(E)+n+t(E),"g")},l.v6=function(E){return E&&E.exact?a:new RegExp(""+t(E)+o+t(E),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',_="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+p+h+")"+y+m;return Ci=new RegExp("(?:^"+_+"$)","i"),Ci},yp={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},us={integer:function(t){return us.number(t)&&parseInt(t,10)===t},float:function(t){return us.number(t)&&!us.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!us.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(yp.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(J4())},hex:function(t){return typeof t=="string"&&!!t.match(yp.hex)}},X4=function(t,n,r,o,s){if(t.required&&n===void 0){cg(t,n,r,o,s);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;i.indexOf(a)>-1?us[a](n)||o.push(Jt(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Jt(s.messages.types[a],t.fullField,t.type))},Z4=function(t,n,r,o,s){var i=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",v=typeof n=="string",p=Array.isArray(n);if(d?f="number":v?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Jt(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Jt(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Jt(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Jt(s.messages[f].range,t.fullField,t.min,t.max))},yo="enum",Q4=function(t,n,r,o,s){t[yo]=Array.isArray(t[yo])?t[yo]:[],t[yo].indexOf(n)===-1&&o.push(Jt(s.messages[yo],t.fullField,t[yo].join(", ")))},eA=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},De={required:cg,whitespace:Y4,type:X4,range:Z4,enum:Q4,pattern:eA},tA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n,"string")&&!t.required)return r();De.required(t,n,o,i,s,"string"),vt(n,"string")||(De.type(t,n,o,i,s),De.range(t,n,o,i,s),De.pattern(t,n,o,i,s),t.whitespace===!0&&De.whitespace(t,n,o,i,s))}r(i)},nA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},rA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},oA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},sA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),vt(n)||De.type(t,n,o,i,s)}r(i)},iA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},aA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},lA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();De.required(t,n,o,i,s,"array"),n!=null&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},uA=function(t,n,r,o,s){var
Line truncated
|
||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),i=new RegExp("^"+n+"$"),a=new RegExp("^"+o+"$"),l=function(w){return w&&w.exact?s:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+o+t(w)+")","g")};l.v4=function(E){return E&&E.exact?i:new RegExp(""+t(E)+n+t(E),"g")},l.v6=function(E){return E&&E.exact?a:new RegExp(""+t(E)+o+t(E),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=l.v4().source,d=l.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",h="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',_="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+v+p+h+")"+y+m;return Ti=new RegExp("(?:^"+_+"$)","i"),Ti},bp={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},cs={integer:function(t){return cs.number(t)&&parseInt(t,10)===t},float:function(t){return cs.number(t)&&!cs.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!cs.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(bp.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(J4())},hex:function(t){return typeof t=="string"&&!!t.match(bp.hex)}},X4=function(t,n,r,o,s){if(t.required&&n===void 0){cg(t,n,r,o,s);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;i.indexOf(a)>-1?cs[a](n)||o.push(Jt(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&o.push(Jt(s.messages.types[a],t.fullField,t.type))},Z4=function(t,n,r,o,s){var i=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",v=typeof n=="string",p=Array.isArray(n);if(d?f="number":v?f="string":p&&(f="array"),!f)return!1;p&&(c=n.length),v&&(c=n.replace(u,"_").length),i?c!==t.len&&o.push(Jt(s.messages[f].len,t.fullField,t.len)):a&&!l&&c<t.min?o.push(Jt(s.messages[f].min,t.fullField,t.min)):l&&!a&&c>t.max?o.push(Jt(s.messages[f].max,t.fullField,t.max)):a&&l&&(c<t.min||c>t.max)&&o.push(Jt(s.messages[f].range,t.fullField,t.min,t.max))},bo="enum",Q4=function(t,n,r,o,s){t[bo]=Array.isArray(t[bo])?t[bo]:[],t[bo].indexOf(n)===-1&&o.push(Jt(s.messages[bo],t.fullField,t[bo].join(", ")))},eA=function(t,n,r,o,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Jt(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},De={required:cg,whitespace:Y4,type:X4,range:Z4,enum:Q4,pattern:eA},tA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n,"string")&&!t.required)return r();De.required(t,n,o,i,s,"string"),vt(n,"string")||(De.type(t,n,o,i,s),De.range(t,n,o,i,s),De.pattern(t,n,o,i,s),t.whitespace===!0&&De.whitespace(t,n,o,i,s))}r(i)},nA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},rA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},oA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&De.type(t,n,o,i,s)}r(i)},sA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),vt(n)||De.type(t,n,o,i,s)}r(i)},iA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},aA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(vt(n)&&!t.required)return r();De.required(t,n,o,i,s),n!==void 0&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},lA=function(t,n,r,o,s){var i=[],a=t.required||!t.required&&o.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();De.required(t,n,o,i,s,"array"),n!=null&&(De.type(t,n,o,i,s),De.range(t,n,o,i,s))}r(i)},uA=function(t,n,r,o,s){var
Line truncated
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
${nS()?"":"overflow:hidden !important;"}
|
||||
@@ -37,14 +37,14 @@
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
right:0 !important;
|
||||
`,_A=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function EA(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:_A.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function wp(e,t=1,n){var r;dn||(dn=document.createElement("textarea"),document.body.appendChild(dn));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=EA(e);dn.setAttribute("style",`${a};${SA}`),dn.value=e.value||e.placeholder||"";let l=dn.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),dn.value="";const c=dn.scrollHeight-o;if(ze(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(ze(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=dn.parentNode)==null||r.removeChild(dn),dn=void 0,u}const CA=Re({id:{type:String,default:void 0},size:vo,disabled:Boolean,modelValue:{type:ye([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ye([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Dt},prefixIcon:{type:Dt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ye([Object,Array,String]),default:()=>Ja({})},autofocus:Boolean,rows:{type:Number,default:2},...lr(["ariaLabel"])}),TA={[st]:e=>Ce(e),input:e=>Ce(e),change:e=>Ce(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},OA=J({name:"ElInput",inheritAttrs:!1}),AA=J({...OA,props:CA,emits:TA,setup(e,{expose:t,emit:n}){const r=e,o=Jb(),s=co(),i=T(()=>{const F={};return r.containerRole==="combobox"&&(F["aria-haspopup"]=o["aria-haspopup"],F["aria-owns"]=o["aria-owns"],F["aria-expanded"]=o["aria-expanded"]),F}),a=T(()=>[r.type==="textarea"?y.b():h.b(),h.m(v.value),h.is("disabled",p.value),h.is("exceed",Ee.value),{[h.b("group")]:s.prepend||s.append,[h.m("prefix")]:s.prefix||r.prefixIcon,[h.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[h.bm("suffix","password-clear")]:ge.value&&Ne.value,[h.b("hidden")]:r.type==="hidden"},o.class]),l=T(()=>[h.e("wrapper"),h.is("focus",R.value)]),u=YT({excludeKeys:T(()=>Object.keys(i.value))}),{form:c,formItem:f}=Nr(),{inputId:d}=oi(r,{formItemContext:f}),v=En(),p=Go(),h=ke("input"),y=ke("textarea"),m=Zn(),_=Zn(),E=B(!1),w=B(!1),b=B(),O=Zn(r.inputStyle),A=T(()=>m.value||_.value),{wrapperRef:P,isFocused:R,handleFocus:I,handleBlur:N}=sg(A,{beforeFocus(){return p.value},afterBlur(){var F;r.validateEvent&&((F=f==null?void 0:f.validate)==null||F.call(f,"blur").catch(fe=>void 0))}}),k=T(()=>{var F;return(F=c==null?void 0:c.statusIcon)!=null?F:!1}),D=T(()=>(f==null?void 0:f.validateState)||""),X=T(()=>D.value&&Lm[D.value]),$=T(()=>w.value?DT:RT),x=T(()=>[o.style]),H=T(()=>[r.inputStyle,O.value,{resize:r.resize}]),ee=T(()=>Ln(r.modelValue)?"":String(r.modelValue)),ge=T(()=>r.clearable&&!p.value&&!r.readonly&&!!ee.value&&(R.value||E.value)),Ne=T(()=>r.showPassword&&!p.value&&!r.readonly&&!!ee.value&&(!!ee.value||R.value)),Fe=T(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),Pe=T(()=>ee.value.length),Ee=T(()=>!!Fe.value&&Pe.value>Number(r.maxlength)),Ge=T(()=>!!s.suffix||!!r.suffixIcon||ge.value||r.showPassword||Fe.value||!!D.value&&k.value),[We,Te]=m4(m);Ft(_,F=>{if(W(),!Fe.value||r.resize!=="both")return;const fe=F[0],{width:_e}=fe.contentRect;b.value={right:`calc(100% - ${_e+15+6}px)`}});const V=()=>{const{type:F,autosize:fe}=r;if(!(!at||F!=="textarea"||!_.value))if(fe){const _e=Ae(fe)?fe.minRows:void 0,Ve=Ae(fe)?fe.maxRows:void 0,Le=wp(_.value,_e,Ve);O.value={overflowY:"hidden",...Le},$e(()=>{_.value.offsetHeight,O.value=Le})}else O.value={minHeight:wp(_.value).minHeight}},W=(F=>{let fe=!1;return()=>{var _e;if(fe||!r.autosize)return;((_e=_.value)==null?void 0:_e.offsetParent)===null||(F(),fe=!0)}})(V),ne=()=>{const F=A.value,fe=r.formatter?r.formatter(ee.value):ee.value;!F||F.value===
Line truncated
|
||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&jI[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Gp=Symbol("internals");function is(e){return e&&String(e).trim().toLowerCase()}function Yi(e){return e===!1||e==null?e:z.isArray(e)?e.map(Yi):String(e)}function HI(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const KI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vl(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function UI(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qI(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Ht{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=is(l);if(!c)throw new Error("header name must be a non-empty string");const f=z.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=Yi(a))}const i=(a,l)=>z.forEach(a,(u,c)=>s(u,c,l));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(z.isString(t)&&(t=t.trim())&&!KI(t))i(zI(t),n);else if(z.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=is(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return HI(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=is(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=is(i),i){const a=z.findKey(r,i);a&&(!n||Vl(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Vl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=Yi(o),delete n[s];return}const a=t?UI(s):String(s).trim();a!==s&&delete n[s],n[a]=Yi(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Gp]=this[Gp]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=is(i);r[a]||(qI(o,i),r[a]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Ht.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Ht);function jl(e,t){const n=this||ai,r=t||n,o=Ht.from(r.headers);let s=r.data;return z.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function ry(e){return!!(e&&e.__CANCEL__)}function Zo(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(Zo,xe,{__CANCEL__:!0});function oy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function WI(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function GI(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const v=c&&u-c;return v?Math.round(d*1e3/v):void 0}}function YI(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const ba=(e,t,n=3)=>{let r=0;const o=GI(50,250);return YI(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),c=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Yp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Jp=e=>(...t)=>z.asap(()=>e(...t)),JI=zt.hasStandardBrowserEnv?function(){const t=zt.navigator&&/(msie|trident)/i.test(zt.navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=z.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),XI=zt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZI(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function QI(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function sy(e,t){return e&&!ZI(t)?QI(e,t):t}const Xp=e=>e instanceof Ht?{...e}:e;function ao(e,t){t=t||{};const n={};function r(u,c,f){return z.isPlainObject(u)&&z.isPlainObject(c)?z.merge.call({caseless:f},u,c):z.isPlainObject(c)?z.merge({},c):z.isArray(c)?c.slice():c}function o(u,c,f){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function s(u,c){if(!z.isUndefined(c))return r(void 0,c)}function i(u,c){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Xp(u),Xp(c),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||o,d=f(e[c],t[c],c);z.isUndefined(d)&&f!==a||(n[c]=d)}),n}const iy=e=>{const t=ao({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=Ht.from(i),t.url=ey(sy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));l
Line truncated
|
||||
`+s.map(eh).join(`
|
||||
`):" "+eh(s[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:$u};function zl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zo(null,e)}function th(e){return zl(e),e.headers=Ht.from(e.headers),e.data=jl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),uy.getAdapter(e.adapter||ai.adapter)(e).then(function(r){return zl(e),r.data=jl.call(e,e.transformResponse,r),r.headers=Ht.from(r.headers),r},function(r){return ry(r)||(zl(e),r&&r.response&&(r.response.data=jl.call(e,e.transformResponse,r.response),r.response.headers=Ht.from(r.response.headers))),Promise.reject(r)})}const cy="1.7.7",Uc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Uc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const nh={};Uc.transitional=function(t,n,r){function o(s,i){return"[Axios v"+cy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new xe(o(i," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!nh[i]&&(nh[i]=!0),t?t(s,i,a):!0}};function d8(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new xe("option "+s+" must be "+l,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+s,xe.ERR_BAD_OPTION)}}const Mu={assertOptions:d8,validators:Uc},vr=Mu.validators;class to{constructor(t){this.defaults=t,this.interceptors={request:new Wp,response:new Wp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ao(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Mu.assertOptions(r,{silentJSONParsing:vr.transitional(vr.boolean),forcedJSONParsing:vr.transitional(vr.boolean),clarifyTimeoutError:vr.transitional(vr.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:Mu.assertOptions(o,{encode:vr.function,serialize:vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=Ht.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,f=0,d;if(!l){const p=[th.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=a.length;let v=n;for(f=0;f<d;){const p=a[f++],h=a[f++];try{v=p(v)}catch(y){h.call(this,y);break}}try{c=th.call(this,v)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=ao(this.defaults,t);const n=sy(t.baseURL,t.url);return ey(n,t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(t){to.prototype[t]=function(n,r){return this.request(ao(r||{},{method:t,url:n,data:(r||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(ao(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}to.prototype[t]=n(),to.prototype[t+"Form"]=n(!0)});class qc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Zo(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qc(function(o){t=o}),cancel:t}}}function p8(e){return function(n){return e.apply(null,n)}}function h8(e){return z.isObject(e)&&e.isAxiosError===!0}const ku={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ku).forEach(([e,t])=>{ku[t]=e});function fy(e){const t=new to(e),n=zg(to.prototype.request,t);return z.extend(n,to.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return fy(ao(e,o))},n}const mt=fy(ai);mt.Axios=to;mt.CanceledError=Zo;mt.CancelToken=qc;mt.isCancel=ry;mt.VERSION=cy;mt.toFormData=al;mt.AxiosError=xe;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=p8;mt.isAxiosError=h8;mt.mergeConfig=ao;mt.AxiosHeaders=Ht;mt.formToJSON=e=>ny(z.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=uy.getAdapter;mt.HttpStatusCode=ku;mt.default=mt;function rh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ii(e){for(var t=1;t<arguments.length;t++)
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var So={FRONT:"FRONT",BEHIND:"BEHIND"},zr={INIT:"INIT",FIXED:"FIXED",DYNAMIC:"DYNAMIC"},oh=2,C8=function(){function e(t,n){v8(this,e),this.init(t,n)}return g8(e,[{key:"init",value:function(n,r){this.param=n,this.callUpdate=r,this.sizes=new Map,this.firstRangeTotalSize=0,this.firstRangeAverageSize=0,this.lastCalcIndex=0,this.fixedSizeValue=0,this.calcType=zr.INIT,this.offset=0,this.direction="",this.range=Object.create(null),n&&this.checkRange(0,n.keeps-1)}},{key:"destroy",value:function(){this.init(null,null)}},{key:"getRange",value:function(){var n=Object.create(null);return n.start=this.range.start,n.end=this.range.end,n.padFront=this.range.padFront,n.padBehind=this.range.padBehind,n}},{key:"isBehind",value:function(){return this.direction===So.BEHIND}},{key:"isFront",value:function(){return this.direction===So.FRONT}},{key:"getOffset",value:function(n){return(n<1?0:this.getIndexOffset(n))+this.param.slotHeaderSize}},{key:"updateParam",value:function(n,r){var o=this;this.param&&n in this.param&&(n==="uniqueIds"&&this.sizes.forEach(function(s,i){r.includes(i)||o.sizes.delete(i)}),this.param[n]=r)}},{key:"saveSize",value:function(n,r){this.sizes.set(n,r),this.calcType===zr.INIT?(this.fixedSizeValue=r,this.calcType=zr.FIXED):this.calcType===zr.FIXED&&this.fixedSizeValue!==r&&(this.calcType=zr.DYNAMIC,delete this.fixedSizeValue),this.calcType!==zr.FIXED&&typeof this.firstRangeTotalSize<"u"&&(this.sizes.size<Math.min(this.param.keeps,this.param.uniqueIds.length)?(this.firstRangeTotalSize=b8(this.sizes.values()).reduce(function(o,s){return o+s},0),this.firstRangeAverageSize=Math.round(this.firstRangeTotalSize/this.sizes.size)):delete this.firstRangeTotalSize)}},{key:"handleDataSourcesChange",value:function(){var n=this.range.start;this.isFront()?n=n-oh:this.isBehind()&&(n=n+oh),n=Math.max(n,0),this.updateRange(this.range.start,this.getEndByStart(n))}},{key:"handleSlotSizeChange",value:function(){this.handleDataSourcesChange()}},{key:"handleScroll",value:function(n){this.direction=n<this.offset?So.FRONT:So.BEHIND,this.offset=n,this.param&&(this.direction===So.FRONT?this.handleFront():this.direction===So.BEHIND&&this.handleBehind())}},{key:"handleFront",value:function(){var n=this.getScrollOvers();if(!(n>this.range.start)){var r=Math.max(n-this.param.buffer,0);this.checkRange(r,this.getEndByStart(r))}}},{key:"handleBehind",value:function(){var n=this.getScrollOvers();n<this.range.start+this.param.buffer||this.checkRange(n,this.getEndByStart(n))}},{key:"getScrollOvers",value:function(){var n=this.offset-this.param.slotHeaderSize;if(n<=0)return 0;if(this.isFixedType())return Math.floor(n/this.fixedSizeValue);for(var r=0,o=0,s=0,i=this.param.uniqueIds.length;r<=i;){if(o=r+Math.floor((i-r)/2),s=this.getIndexOffset(o),s===n)return o;s<n?r=o+1:s>n&&(i=o-1)}return r>0?--r:0}},{key:"getIndexOffset",value:function(n){if(!n)return 0;for(var r=0,o=0,s=0;s<n;s++)o=this.sizes.get(this.param.uniqueIds[s]),r=r+(typeof o=="number"?o:this.getEstimateSize());return this.lastCalcIndex=Math.max(this.lastCalcIndex,n-1),this.lastCalcIndex=Math.min(this.lastCalcIndex,this.getLastIndex()),r}},{key:"isFixedType",value:function(){return this.calcType===zr.FIXED}},{key:"getLastIndex",value:function(){return this.param.uniqueIds.length-1}},{key:"checkRange",value:function(n,r){var o=this.param.keeps,s=this.param.uniqueIds.length;s<=o?(n=0,r=this.getLastIndex()):r-n<o-1&&(n=r-o+1),this.range.start!==n&&this.updateRange(n,r)}},{key:"updateRange",value:function(n,r){this.range.start=n,this.range.end=r,this.range.padFront=this.getPadFront(),this.range.padBehind=this.getPadBehind(),this.callUpdate(this.getRange())}},{key:"getEndByStart",value:function(n){var r=n+this.param.keeps-1,o=Math.min(r,this.getLastIndex());return o}},{key:"getPadFront",value:function(){return this.isFixedType()?this.fixedSizeValue*this.range.start:this.getIndexOffset(this.range.start)}},{key:"getPadBehind",value:function(){var n=this.range.end,r=this.getLastIndex();return this.isFixedType()?(r-n)*this.fixedSizeValue:this.lastCalcIndex===r?this.getIndexOffset(r)-this.getIndexOffset(n):(r-n)*this.getEstimateSize()}},{key:"getEstimateSize",value:function(){return this.isFixedType()?this.fixedSizeValue:this.firstRangeAverageSize||this.param.estimateSize}}]),e}(),T8={dataKey:{type:[String,Function],required:!0},dataSources:{type:Array,required:!0,default:function(){return[]}},dataComponent:{type:[Object,Function],required:!0},keeps:{type:Number,default:30},extraProps:{type:Object},estimateSize:{type:Number,default:50},direction:{type:String,default:"vertical"},start:{type:Number,default:0},offset:{type:Number,default:0},topThreshold:{type:Number,default:0},bottomThreshold:{type:Number,default:0},pageMode:{type:Boolean,default:!1},rootTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},wrapClass:{type:String,default:"wrap"},wrapStyle:{type:Object},itemTag:{type:String,default:
Line truncated
|
||||
`,_A=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function EA(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:_A.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function Sp(e,t=1,n){var r;dn||(dn=document.createElement("textarea"),document.body.appendChild(dn));const{paddingSize:o,borderSize:s,boxSizing:i,contextStyle:a}=EA(e);dn.setAttribute("style",`${a};${SA}`),dn.value=e.value||e.placeholder||"";let l=dn.scrollHeight;const u={};i==="border-box"?l=l+s:i==="content-box"&&(l=l-o),dn.value="";const c=dn.scrollHeight-o;if(ze(t)){let f=c*t;i==="border-box"&&(f=f+o+s),l=Math.max(f,l),u.minHeight=`${f}px`}if(ze(n)){let f=c*n;i==="border-box"&&(f=f+o+s),l=Math.min(f,l)}return u.height=`${l}px`,(r=dn.parentNode)==null||r.removeChild(dn),dn=void 0,u}const CA=Re({id:{type:String,default:void 0},size:mo,disabled:Boolean,modelValue:{type:ye([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ye([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Dt},prefixIcon:{type:Dt},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ye([Object,Array,String]),default:()=>Za({})},autofocus:Boolean,rows:{type:Number,default:2},...ur(["ariaLabel"])}),TA={[st]:e=>Ce(e),input:e=>Ce(e),change:e=>Ce(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},OA=J({name:"ElInput",inheritAttrs:!1}),AA=J({...OA,props:CA,emits:TA,setup(e,{expose:t,emit:n}){const r=e,o=Jb(),s=fo(),i=T(()=>{const F={};return r.containerRole==="combobox"&&(F["aria-haspopup"]=o["aria-haspopup"],F["aria-owns"]=o["aria-owns"],F["aria-expanded"]=o["aria-expanded"]),F}),a=T(()=>[r.type==="textarea"?y.b():h.b(),h.m(v.value),h.is("disabled",p.value),h.is("exceed",Ee.value),{[h.b("group")]:s.prepend||s.append,[h.m("prefix")]:s.prefix||r.prefixIcon,[h.m("suffix")]:s.suffix||r.suffixIcon||r.clearable||r.showPassword,[h.bm("suffix","password-clear")]:ge.value&&Ne.value,[h.b("hidden")]:r.type==="hidden"},o.class]),l=T(()=>[h.e("wrapper"),h.is("focus",R.value)]),u=YT({excludeKeys:T(()=>Object.keys(i.value))}),{form:c,formItem:f}=Fr(),{inputId:d}=si(r,{formItemContext:f}),v=En(),p=Yo(),h=ke("input"),y=ke("textarea"),m=Qn(),_=Qn(),E=B(!1),w=B(!1),b=B(),O=Qn(r.inputStyle),A=T(()=>m.value||_.value),{wrapperRef:P,isFocused:R,handleFocus:I,handleBlur:N}=sg(A,{beforeFocus(){return p.value},afterBlur(){var F;r.validateEvent&&((F=f==null?void 0:f.validate)==null||F.call(f,"blur").catch(fe=>void 0))}}),k=T(()=>{var F;return(F=c==null?void 0:c.statusIcon)!=null?F:!1}),D=T(()=>(f==null?void 0:f.validateState)||""),X=T(()=>D.value&&Lm[D.value]),$=T(()=>w.value?DT:RT),x=T(()=>[o.style]),H=T(()=>[r.inputStyle,O.value,{resize:r.resize}]),ee=T(()=>Nn(r.modelValue)?"":String(r.modelValue)),ge=T(()=>r.clearable&&!p.value&&!r.readonly&&!!ee.value&&(R.value||E.value)),Ne=T(()=>r.showPassword&&!p.value&&!r.readonly&&!!ee.value&&(!!ee.value||R.value)),Fe=T(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),Pe=T(()=>ee.value.length),Ee=T(()=>!!Fe.value&&Pe.value>Number(r.maxlength)),Ge=T(()=>!!s.suffix||!!r.suffixIcon||ge.value||r.showPassword||Fe.value||!!D.value&&k.value),[We,Te]=m4(m);Ft(_,F=>{if(W(),!Fe.value||r.resize!=="both")return;const fe=F[0],{width:_e}=fe.contentRect;b.value={right:`calc(100% - ${_e+15+6}px)`}});const V=()=>{const{type:F,autosize:fe}=r;if(!(!at||F!=="textarea"||!_.value))if(fe){const _e=Ae(fe)?fe.minRows:void 0,Ve=Ae(fe)?fe.maxRows:void 0,Le=Sp(_.value,_e,Ve);O.value={overflowY:"hidden",...Le},$e(()=>{_.value.offsetHeight,O.value=Le})}else O.value={minHeight:Sp(_.value).minHeight}},W=(F=>{let fe=!1;return()=>{var _e;if(fe||!r.autosize)return;((_e=_.value)==null?void 0:_e.offsetParent)===null||(F(),fe=!0)}})(V),ne=()=>{const F=A.value,fe=r.formatter?r.formatter(ee.value):ee.value;!F||F.value===
Line truncated
|
||||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&jI[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Yp=Symbol("internals");function as(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:z.isArray(e)?e.map(Ji):String(e)}function HI(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const KI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jl(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function UI(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qI(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Ht{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=as(l);if(!c)throw new Error("header name must be a non-empty string");const f=z.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=Ji(a))}const i=(a,l)=>z.forEach(a,(u,c)=>s(u,c,l));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(z.isString(t)&&(t=t.trim())&&!KI(t))i(zI(t),n);else if(z.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=as(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return HI(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=as(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||jl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=as(i),i){const a=z.findKey(r,i);a&&(!n||jl(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||jl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=Ji(o),delete n[s];return}const a=t?UI(s):String(s).trim();a!==s&&delete n[s],n[a]=Ji(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Yp]=this[Yp]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=as(i);r[a]||(qI(o,i),r[a]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Ht.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});z.freezeMethods(Ht);function zl(e,t){const n=this||li,r=t||n,o=Ht.from(r.headers);let s=r.data;return z.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function ry(e){return!!(e&&e.__CANCEL__)}function Qo(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(Qo,xe,{__CANCEL__:!0});function oy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function WI(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function GI(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let f=s,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const v=c&&u-c;return v?Math.round(d*1e3/v):void 0}}function YI(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-f)))},()=>o&&i(o)]}const wa=(e,t,n=3)=>{let r=0;const o=GI(50,250);return YI(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),c=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Jp=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Xp=e=>(...t)=>z.asap(()=>e(...t)),JI=zt.hasStandardBrowserEnv?function(){const t=zt.navigator&&/(msie|trident)/i.test(zt.navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=z.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),XI=zt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),z.isString(r)&&i.push("path="+r),z.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZI(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function QI(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function sy(e,t){return e&&!ZI(t)?QI(e,t):t}const Zp=e=>e instanceof Ht?{...e}:e;function lo(e,t){t=t||{};const n={};function r(u,c,f){return z.isPlainObject(u)&&z.isPlainObject(c)?z.merge.call({caseless:f},u,c):z.isPlainObject(c)?z.merge({},c):z.isArray(c)?c.slice():c}function o(u,c,f){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function s(u,c){if(!z.isUndefined(c))return r(void 0,c)}function i(u,c){if(z.isUndefined(c)){if(!z.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,c)=>o(Zp(u),Zp(c),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||o,d=f(e[c],t[c],c);z.isUndefined(d)&&f!==a||(n[c]=d)}),n}const iy=e=>{const t=lo({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=Ht.from(i),t.url=ey(sy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));l
Line truncated
|
||||
`+s.map(th).join(`
|
||||
`):" "+th(s[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Mu};function Hl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qo(null,e)}function nh(e){return Hl(e),e.headers=Ht.from(e.headers),e.data=zl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),uy.getAdapter(e.adapter||li.adapter)(e).then(function(r){return Hl(e),r.data=zl.call(e,e.transformResponse,r),r.headers=Ht.from(r.headers),r},function(r){return ry(r)||(Hl(e),r&&r.response&&(r.response.data=zl.call(e,e.transformResponse,r.response),r.response.headers=Ht.from(r.response.headers))),Promise.reject(r)})}const cy="1.7.7",qc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const rh={};qc.transitional=function(t,n,r){function o(s,i){return"[Axios v"+cy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new xe(o(i," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!rh[i]&&(rh[i]=!0),t?t(s,i,a):!0}};function d8(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new xe("option "+s+" must be "+l,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+s,xe.ERR_BAD_OPTION)}}const ku={assertOptions:d8,validators:qc},mr=ku.validators;class no{constructor(t){this.defaults=t,this.interceptors={request:new Gp,response:new Gp}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=lo(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&ku.assertOptions(r,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:ku.assertOptions(o,{encode:mr.function,serialize:mr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=Ht.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,f=0,d;if(!l){const p=[nh.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f<d;)c=c.then(p[f++],p[f++]);return c}d=a.length;let v=n;for(f=0;f<d;){const p=a[f++],h=a[f++];try{v=p(v)}catch(y){h.call(this,y);break}}try{c=nh.call(this,v)}catch(p){return Promise.reject(p)}for(f=0,d=u.length;f<d;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=lo(this.defaults,t);const n=sy(t.baseURL,t.url);return ey(n,t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(t){no.prototype[t]=function(n,r){return this.request(lo(r||{},{method:t,url:n,data:(r||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(lo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}no.prototype[t]=n(),no.prototype[t+"Form"]=n(!0)});class Wc{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Qo(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Wc(function(o){t=o}),cancel:t}}}function p8(e){return function(n){return e.apply(null,n)}}function h8(e){return z.isObject(e)&&e.isAxiosError===!0}const Lu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lu).forEach(([e,t])=>{Lu[t]=e});function fy(e){const t=new no(e),n=zg(no.prototype.request,t);return z.extend(n,no.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return fy(lo(e,o))},n}const mt=fy(li);mt.Axios=no;mt.CanceledError=Qo;mt.CancelToken=Wc;mt.isCancel=ry;mt.VERSION=cy;mt.toFormData=ul;mt.AxiosError=xe;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=p8;mt.isAxiosError=h8;mt.mergeConfig=lo;mt.AxiosHeaders=Ht;mt.formToJSON=e=>ny(z.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=uy.getAdapter;mt.HttpStatusCode=Lu;mt.default=mt;function oh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $i(e){for(var t=1;t<arguments.length;t++)
Line truncated
|
||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _o={FRONT:"FRONT",BEHIND:"BEHIND"},Hr={INIT:"INIT",FIXED:"FIXED",DYNAMIC:"DYNAMIC"},sh=2,C8=function(){function e(t,n){v8(this,e),this.init(t,n)}return g8(e,[{key:"init",value:function(n,r){this.param=n,this.callUpdate=r,this.sizes=new Map,this.firstRangeTotalSize=0,this.firstRangeAverageSize=0,this.lastCalcIndex=0,this.fixedSizeValue=0,this.calcType=Hr.INIT,this.offset=0,this.direction="",this.range=Object.create(null),n&&this.checkRange(0,n.keeps-1)}},{key:"destroy",value:function(){this.init(null,null)}},{key:"getRange",value:function(){var n=Object.create(null);return n.start=this.range.start,n.end=this.range.end,n.padFront=this.range.padFront,n.padBehind=this.range.padBehind,n}},{key:"isBehind",value:function(){return this.direction===_o.BEHIND}},{key:"isFront",value:function(){return this.direction===_o.FRONT}},{key:"getOffset",value:function(n){return(n<1?0:this.getIndexOffset(n))+this.param.slotHeaderSize}},{key:"updateParam",value:function(n,r){var o=this;this.param&&n in this.param&&(n==="uniqueIds"&&this.sizes.forEach(function(s,i){r.includes(i)||o.sizes.delete(i)}),this.param[n]=r)}},{key:"saveSize",value:function(n,r){this.sizes.set(n,r),this.calcType===Hr.INIT?(this.fixedSizeValue=r,this.calcType=Hr.FIXED):this.calcType===Hr.FIXED&&this.fixedSizeValue!==r&&(this.calcType=Hr.DYNAMIC,delete this.fixedSizeValue),this.calcType!==Hr.FIXED&&typeof this.firstRangeTotalSize<"u"&&(this.sizes.size<Math.min(this.param.keeps,this.param.uniqueIds.length)?(this.firstRangeTotalSize=b8(this.sizes.values()).reduce(function(o,s){return o+s},0),this.firstRangeAverageSize=Math.round(this.firstRangeTotalSize/this.sizes.size)):delete this.firstRangeTotalSize)}},{key:"handleDataSourcesChange",value:function(){var n=this.range.start;this.isFront()?n=n-sh:this.isBehind()&&(n=n+sh),n=Math.max(n,0),this.updateRange(this.range.start,this.getEndByStart(n))}},{key:"handleSlotSizeChange",value:function(){this.handleDataSourcesChange()}},{key:"handleScroll",value:function(n){this.direction=n<this.offset?_o.FRONT:_o.BEHIND,this.offset=n,this.param&&(this.direction===_o.FRONT?this.handleFront():this.direction===_o.BEHIND&&this.handleBehind())}},{key:"handleFront",value:function(){var n=this.getScrollOvers();if(!(n>this.range.start)){var r=Math.max(n-this.param.buffer,0);this.checkRange(r,this.getEndByStart(r))}}},{key:"handleBehind",value:function(){var n=this.getScrollOvers();n<this.range.start+this.param.buffer||this.checkRange(n,this.getEndByStart(n))}},{key:"getScrollOvers",value:function(){var n=this.offset-this.param.slotHeaderSize;if(n<=0)return 0;if(this.isFixedType())return Math.floor(n/this.fixedSizeValue);for(var r=0,o=0,s=0,i=this.param.uniqueIds.length;r<=i;){if(o=r+Math.floor((i-r)/2),s=this.getIndexOffset(o),s===n)return o;s<n?r=o+1:s>n&&(i=o-1)}return r>0?--r:0}},{key:"getIndexOffset",value:function(n){if(!n)return 0;for(var r=0,o=0,s=0;s<n;s++)o=this.sizes.get(this.param.uniqueIds[s]),r=r+(typeof o=="number"?o:this.getEstimateSize());return this.lastCalcIndex=Math.max(this.lastCalcIndex,n-1),this.lastCalcIndex=Math.min(this.lastCalcIndex,this.getLastIndex()),r}},{key:"isFixedType",value:function(){return this.calcType===Hr.FIXED}},{key:"getLastIndex",value:function(){return this.param.uniqueIds.length-1}},{key:"checkRange",value:function(n,r){var o=this.param.keeps,s=this.param.uniqueIds.length;s<=o?(n=0,r=this.getLastIndex()):r-n<o-1&&(n=r-o+1),this.range.start!==n&&this.updateRange(n,r)}},{key:"updateRange",value:function(n,r){this.range.start=n,this.range.end=r,this.range.padFront=this.getPadFront(),this.range.padBehind=this.getPadBehind(),this.callUpdate(this.getRange())}},{key:"getEndByStart",value:function(n){var r=n+this.param.keeps-1,o=Math.min(r,this.getLastIndex());return o}},{key:"getPadFront",value:function(){return this.isFixedType()?this.fixedSizeValue*this.range.start:this.getIndexOffset(this.range.start)}},{key:"getPadBehind",value:function(){var n=this.range.end,r=this.getLastIndex();return this.isFixedType()?(r-n)*this.fixedSizeValue:this.lastCalcIndex===r?this.getIndexOffset(r)-this.getIndexOffset(n):(r-n)*this.getEstimateSize()}},{key:"getEstimateSize",value:function(){return this.isFixedType()?this.fixedSizeValue:this.firstRangeAverageSize||this.param.estimateSize}}]),e}(),T8={dataKey:{type:[String,Function],required:!0},dataSources:{type:Array,required:!0,default:function(){return[]}},dataComponent:{type:[Object,Function],required:!0},keeps:{type:Number,default:30},extraProps:{type:Object},estimateSize:{type:Number,default:50},direction:{type:String,default:"vertical"},start:{type:Number,default:0},offset:{type:Number,default:0},topThreshold:{type:Number,default:0},bottomThreshold:{type:Number,default:0},pageMode:{type:Boolean,default:!1},rootTag:{type:String,default:"div"},wrapTag:{type:String,default:"div"},wrapClass:{type:String,default:"wrap"},wrapStyle:{type:Object},itemTag:{type:String,default:
Line truncated
|
||||
* pinia v2.2.4
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/let py;const ul=e=>py=e,hy=Symbol();function Nu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ts;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ts||(Ts={}));function q$(){const e=_h(!0),t=e.run(()=>B({}));let n=[],r=[];const o=Rs({install(s){ul(o),o._a=s,s.provide(hy,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!T1?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const vy=()=>{};function ih(e,t,n,r=vy){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Ta()&&Oa(o),o}function _o(e,...t){e.slice().forEach(n=>{n(...t)})}const R8=e=>e(),ah=Symbol(),Hl=Symbol();function Fu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Nu(o)&&Nu(r)&&e.hasOwnProperty(n)&&!Ue(r)&&!Xn(r)?e[n]=Fu(o,r):e[n]=r}return e}const P8=Symbol();function I8(e){return!Nu(e)||!e.hasOwnProperty(P8)}const{assign:wr}=Object;function $8(e){return!!(Ue(e)&&e.effect)}function M8(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=or(n.state.value[e]);return wr(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Rs(T(()=>{ul(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=my(e,u,t,n,r,!0),l}function my(e,t,n={},r,o,s){let i;const a=wr({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],v;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={}),B({});let h;function y(P){let R;u=c=!1,typeof P=="function"?(P(r.state.value[e]),R={type:Ts.patchFunction,storeId:e,events:v}):(Fu(r.state.value[e],P),R={type:Ts.patchObject,payload:P,storeId:e,events:v});const I=h=Symbol();$e().then(()=>{h===I&&(u=!0)}),c=!0,_o(f,R,r.state.value[e])}const m=s?function(){const{state:R}=n,I=R?R():{};this.$patch(N=>{wr(N,I)})}:vy;function _(){i.stop(),f=[],d=[],r._s.delete(e)}const E=(P,R="")=>{if(ah in P)return P[Hl]=R,P;const I=function(){ul(r);const N=Array.from(arguments),k=[],D=[];function X(H){k.push(H)}function $(H){D.push(H)}_o(d,{args:N,name:I[Hl],store:b,after:X,onError:$});let x;try{x=P.apply(this&&this.$id===e?this:b,N)}catch(H){throw _o(D,H),H}return x instanceof Promise?x.then(H=>(_o(k,H),H)).catch(H=>(_o(D,H),Promise.reject(H))):(_o(k,x),x)};return I[ah]=!0,I[Hl]=R,I},w={_p:r,$id:e,$onAction:ih.bind(null,d),$patch:y,$reset:m,$subscribe(P,R={}){const I=ih(f,P,R.detached,()=>N()),N=i.run(()=>ve(()=>r.state.value[e],k=>{(R.flush==="sync"?c:u)&&P({storeId:e,type:Ts.direct,events:v},k)},wr({},l,R)));return I},$dispose:_},b=St(w);r._s.set(e,b);const A=(r._a&&r._a.runWithContext||R8)(()=>r._e.run(()=>(i=_h()).run(()=>t({action:E}))));for(const P in A){const R=A[P];if(Ue(R)&&!$8(R)||Xn(R))s||(p&&I8(R)&&(Ue(R)?R.value=p[P]:Fu(R,p[P])),r.state.value[e][P]=R);else if(typeof R=="function"){const I=E(R,P);A[P]=I,a.actions[P]=R}}return wr(b,A),wr(Me(b),A),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:P=>{y(R=>{wr(R,P)})}}),r._p.forEach(P=>{wr(b,i.run(()=>P({store:b,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),u=!0,c=!0,b}function W$(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const u=o0();return a=a||(u?Se(hy,null):null),a&&ul(a),a=py,a._s.has(r)||(s?my(r,t,o,a):M8(r,o,a)),a._s.get(r)}return i.$id=r,i}function G$(e){{e=Me(e);const t={};for(const n in e){const r=e[n];(Ue(r)||Xn(r))&&(t[n]=Gt(e,n))}return t}}const Kl=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Ul(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function as(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on".concat(t),n)}function gy(e,t){const n=t.slice(0,t.length-1);for(let r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function yy(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");const t=e.split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function k8(e,t){const n=e.length>=t.length?e:t,r=e.length>=t.length?t:e;let o=!0;for(let s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(o=!1);return o}const Ws={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Kl?173:189,"=":Kl?61:187,";":Kl?59:186,"'":222,"[":219,"]":221,"\\":220},Dn={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:Line truncated
|
||||
*/let py;const fl=e=>py=e,hy=Symbol();function Fu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Os;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Os||(Os={}));function H$(){const e=_h(!0),t=e.run(()=>B({}));let n=[],r=[];const o=Ps({install(s){fl(o),o._a=s,s.provide(hy,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!T1?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const vy=()=>{};function ah(e,t,n,r=vy){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Aa()&&xa(o),o}function Eo(e,...t){e.slice().forEach(n=>{n(...t)})}const R8=e=>e(),lh=Symbol(),Kl=Symbol();function Bu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Fu(o)&&Fu(r)&&e.hasOwnProperty(n)&&!Ue(r)&&!Zn(r)?e[n]=Bu(o,r):e[n]=r}return e}const P8=Symbol();function I8(e){return!Fu(e)||!e.hasOwnProperty(P8)}const{assign:Sr}=Object;function $8(e){return!!(Ue(e)&&e.effect)}function M8(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=sr(n.state.value[e]);return Sr(c,s,Object.keys(i||{}).reduce((f,d)=>(f[d]=Ps(T(()=>{fl(n);const v=n._s.get(e);return i[d].call(v,v)})),f),{}))}return l=my(e,u,t,n,r,!0),l}function my(e,t,n={},r,o,s){let i;const a=Sr({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],v;const p=r.state.value[e];!s&&!p&&(r.state.value[e]={}),B({});let h;function y(P){let R;u=c=!1,typeof P=="function"?(P(r.state.value[e]),R={type:Os.patchFunction,storeId:e,events:v}):(Bu(r.state.value[e],P),R={type:Os.patchObject,payload:P,storeId:e,events:v});const I=h=Symbol();$e().then(()=>{h===I&&(u=!0)}),c=!0,Eo(f,R,r.state.value[e])}const m=s?function(){const{state:R}=n,I=R?R():{};this.$patch(N=>{Sr(N,I)})}:vy;function _(){i.stop(),f=[],d=[],r._s.delete(e)}const E=(P,R="")=>{if(lh in P)return P[Kl]=R,P;const I=function(){fl(r);const N=Array.from(arguments),k=[],D=[];function X(H){k.push(H)}function $(H){D.push(H)}Eo(d,{args:N,name:I[Kl],store:b,after:X,onError:$});let x;try{x=P.apply(this&&this.$id===e?this:b,N)}catch(H){throw Eo(D,H),H}return x instanceof Promise?x.then(H=>(Eo(k,H),H)).catch(H=>(Eo(D,H),Promise.reject(H))):(Eo(k,x),x)};return I[lh]=!0,I[Kl]=R,I},w={_p:r,$id:e,$onAction:ah.bind(null,d),$patch:y,$reset:m,$subscribe(P,R={}){const I=ah(f,P,R.detached,()=>N()),N=i.run(()=>ve(()=>r.state.value[e],k=>{(R.flush==="sync"?c:u)&&P({storeId:e,type:Os.direct,events:v},k)},Sr({},l,R)));return I},$dispose:_},b=St(w);r._s.set(e,b);const A=(r._a&&r._a.runWithContext||R8)(()=>r._e.run(()=>(i=_h()).run(()=>t({action:E}))));for(const P in A){const R=A[P];if(Ue(R)&&!$8(R)||Zn(R))s||(p&&I8(R)&&(Ue(R)?R.value=p[P]:Bu(R,p[P])),r.state.value[e][P]=R);else if(typeof R=="function"){const I=E(R,P);A[P]=I,a.actions[P]=R}}return Sr(b,A),Sr(Me(b),A),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:P=>{y(R=>{Sr(R,P)})}}),r._p.forEach(P=>{Sr(b,i.run(()=>P({store:b,app:r._a,pinia:r,options:a})))}),p&&s&&n.hydrate&&n.hydrate(b.$state,p),u=!0,c=!0,b}function K$(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const u=o0();return a=a||(u?Se(hy,null):null),a&&fl(a),a=py,a._s.has(r)||(s?my(r,t,o,a):M8(r,o,a)),a._s.get(r)}return i.$id=r,i}function U$(e){{e=Me(e);const t={};for(const n in e){const r=e[n];(Ue(r)||Zn(r))&&(t[n]=Gt(e,n))}return t}}const Ul=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function ql(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function ls(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on".concat(t),n)}function gy(e,t){const n=t.slice(0,t.length-1);for(let r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function yy(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");const t=e.split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function k8(e,t){const n=e.length>=t.length?e:t,r=e.length>=t.length?t:e;let o=!0;for(let s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(o=!1);return o}const Gs={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Ul?173:189,"=":Ul?61:187,";":Ul?59:186,"'":222,"[":219,"]":221,"\\":220},Vn={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:Line truncated
|
||||
@@ -4,8 +4,8 @@
|
||||
<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-Cqf6Acgt.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-Bo0wn8_e.js">
|
||||
<script type="module" crossorigin src="./assets/index-2f7oRvfk.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-JTttPx12.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/vendor-Bui7wm94.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-BLTQ_MWi.css">
|
||||
</head>
|
||||
|
||||
Reference in new issue
Block a user