@@ -138,7 +134,6 @@
Dark: false,
Light: false,
},
- longTimeout: false,
isoDates: false,
autoTheme: false,
}
@@ -154,7 +149,6 @@
axios.get('/api/settingsOpened')
.then(response => {
this.filters = response.data;
- this.longTimeout = response.data.longTimeout;
this.isoDates = response.data.isoDates;
this.autoTheme = response.data.autoTheme;
})
From 4a3062ea9604d18a62b7f5305724179442e003fa Mon Sep 17 00:00:00 2001
From: BLCK <123077751+BLCK-B@users.noreply.github.com>
Date: Fri, 24 May 2024 16:33:53 +0200
Subject: [PATCH 16/22] removed files
---
.../static/assets/index-C3_hPEEi.css | 1 +
.../resources/static/assets/index-CB9h-D7W.js | 26 ++++++++++++++++++
src/test/testresources/testdb.db | Bin 0 -> 32768 bytes
3 files changed, 27 insertions(+)
create mode 100644 src/main/resources/static/assets/index-C3_hPEEi.css
create mode 100644 src/main/resources/static/assets/index-CB9h-D7W.js
create mode 100644 src/test/testresources/testdb.db
diff --git a/src/main/resources/static/assets/index-C3_hPEEi.css b/src/main/resources/static/assets/index-C3_hPEEi.css
new file mode 100644
index 0000000..852bf15
--- /dev/null
+++ b/src/main/resources/static/assets/index-C3_hPEEi.css
@@ -0,0 +1 @@
+*[data-v-18b2502f]::-webkit-scrollbar{width:8px;background:transparent}*[data-v-18b2502f]::-webkit-scrollbar-thumb{background-color:var(--dull-color)}.listbtn[data-v-18b2502f]{width:92%;height:28px;border-radius:0;margin:0;display:flex;align-items:center;white-space:nowrap;overflow:hidden;padding-left:7px}.artistlist[data-v-18b2502f]{height:calc(100vh - 40px);overflow-y:scroll}.artistlist li[data-v-18b2502f]{list-style-type:none}.buttonspace[data-v-18b2502f]{margin-bottom:5px}.addbtn[data-v-18b2502f],.morebtn[data-v-18b2502f]{font-size:12px;width:75px;height:28px;border:2px solid var(--dull-color);border-radius:6px;background-color:transparent;color:var(--contrast-color)}.addbtn[data-v-18b2502f]{margin-left:5px}.addbtn[data-v-18b2502f]:hover,.morebtn[data-v-18b2502f]:hover{background-color:var(--accent-color);border:2px solid var(--accent-color);color:var(--accent-contrast)}.addbtn[data-v-18b2502f]:active,.morebtn[data-v-18b2502f]:active{opacity:75%}.morebtn[data-v-18b2502f]{margin-left:5px}.dropdown[data-v-18b2502f]{position:relative;display:grid;grid-template-columns:repeat(1,1fr);background-color:var(--subtle-color);padding-right:10px;padding-left:6px}.dropdown .deletebtn[data-v-18b2502f]{font-size:12px;height:25px;margin-top:3px;border:2px solid var(--dull-color);border-radius:6px;background-color:transparent;color:var(--contrast-color)}.deletebtn[data-v-18b2502f]:hover{background-color:red;border:2px solid red}.listbtn[data-v-18b2502f]:hover{background-color:var(--duller-color)}.highlighted[data-v-18b2502f]{background-color:var(--accent-color);color:var(--accent-contrast)}.highlighted[data-v-18b2502f]:hover{background-color:var(--accent-color)}[data-v-18b2502f]:disabled{opacity:.5;pointer-events:none}.wrapper[data-v-671de189]{min-width:500px;width:100%;display:flex;align-items:center;height:38px}.tabs[data-v-671de189]{display:flex;text-align:center;font-weight:700;flex-grow:1;height:38px}.image[data-v-671de189]{height:32px;width:32px}.imgbutton1[data-v-671de189]:hover,.imgbutton2[data-v-671de189]:hover{opacity:70%}.imgbutton1[data-v-671de189]{padding:0;margin-left:8px;background-color:var(--accent-color);border:none;margin-top:2px;height:32px;width:32px}.imgbutton2[data-v-671de189]{padding:0;margin-left:8px;margin-right:20px;border:none;margin-top:2px;border-radius:50px;height:32px;width:32px}.cvtab[data-v-671de189]{width:80%;max-width:390px;padding:8px;border:solid 3px transparent;border-bottom:solid 3px var(--accent-color)}.stab[data-v-671de189]{width:20%;max-width:110px;padding:8px;border:solid 3px transparent;border-bottom:solid 3px var(--accent-color);white-space:nowrap;overflow:hidden}.tabs[data-v-671de189] :hover{border-bottom:solid 3px var(--dull-color)}.active[data-v-671de189]{transition:.15s;background-color:var(--accent-color);color:var(--accent-contrast);border-bottom:solid 3px var(--accent-color);border-radius:5px}.active[data-v-671de189]:hover{border-bottom:solid 3px var(--accent-color)}.scrapenotice[data-v-671de189]{position:absolute;z-index:50;background-color:var(--duller-color);border-radius:5px;padding-right:10px;padding-left:10px;right:14px;top:42px}.fade-enter-from[data-v-671de189],.fade-leave-to[data-v-671de189]{opacity:0}.fade-enter-active[data-v-671de189],.fade-leave-active[data-v-671de189]{transition:.15s}[data-v-671de189]:disabled{opacity:.5;pointer-events:none}.table-header[data-v-19adbfff]{flex-shrink:0;overflow:hidden;z-index:3;position:fixed;width:calc(100% - 170px)}.table-body[data-v-19adbfff]{flex-grow:1;overflow-y:auto;-webkit-user-select:text;user-select:text;margin-bottom:10vh}table[data-v-19adbfff]{width:100%;min-width:500px;border-collapse:collapse}th[data-v-19adbfff],td[data-v-19adbfff]{padding:4px}th[data-v-19adbfff]{background-color:var(--primary-color);border:none;position:sticky;top:0}.song[data-v-19adbfff],.tdsong[data-v-19adbfff],.artist[data-v-19adbfff],.tdartist[data-v-19adbfff]{width:50%;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date[data-v-19adbfff],.tddate[data-v-19adbfff]{width:100px;min-width:100px}.future-date[data-v-19adbfff]{opacity:40%}.emptynotice[data-v-19adbfff]{position:absolute;left:40%;top:40%;color:var(--dull-color)}.quickstart[data-v-19adbfff]{position:relative;font-size:15px;line-height:22px;left:5%;top:5%}.quickstart .title[data-v-19adbfff]{font-weight:700}.tddate[data-v-19adbfff]{display:flex;justify-content:flex-end;margin-right:30px}p[data-v-0fe96286]{line-height:1.4}.dialog[data-v-0fe96286]{width:375px;height:280px;background-color:var(--primary-color);border:2px solid var(--contrast-color);border-radius:3px;color:var(--contrast-color);padding:8px}input[data-v-0fe96286]{background-color:var(--duller-color);color:var(--contrast-color);border:none;width:345px;position:absolute;bottom:5px;left:5px;font-size:13px;height:18px}input[data-v-0fe96286]:focus{outline:none}button[data-v-0fe96286]{color:#000;border:none;position:absolute;right:5px;bottom:5px}button[data-v-0fe96286]:hover{opacity:70%}a[data-v-0fe96286]{color:var(--accent-color);font-weight:700;text-decoration:none}a[data-v-0fe96286]:hover{text-decoration:underline}h1[data-v-0fe96286]{font-size:17px;font-weight:400}.variabletext[data-v-0fe96286]{color:var(--accent-color)}.artist[data-v-0fe96286]{-webkit-user-select:text;user-select:text}.imgbutton[data-v-0fe96286],.image[data-v-0fe96286]{height:23px;width:23px;padding:0;float:right;margin-right:2px;background-color:transparent}.imgbutton[data-v-0fe96286]:hover{opacity:50%}[data-v-0fe96286]:disabled{opacity:.5;pointer-events:none}.wrapper[data-v-cb695d37]{top:25%;left:35%;width:325px;height:240px;position:absolute;z-index:3;background-color:var(--primary-color);border:2px solid var(--contrast-color);border-radius:3px;padding:8px}.diag-actions[data-v-cb695d37]{position:absolute;bottom:3px;left:5px}button[data-v-cb695d37]{border:none}input[data-v-cb695d37]{background-color:var(--duller-color);color:var(--contrast-color);width:200px;margin-right:58px;margin-left:10px;border:none}input[data-v-cb695d37]:focus{outline:none}.imgbutton[data-v-cb695d37],.image[data-v-cb695d37]{height:23px;width:23px;padding:0;float:right;margin-left:5px;margin-right:2px;background-color:transparent}.imgbutton[data-v-cb695d37]{position:relative}.imgbutton[data-v-cb695d37]:hover{opacity:50%}[data-v-cb695d37]:disabled{opacity:.3;pointer-events:none}*[data-v-d29e2d3a]{transition:.2s}.progress-container[data-v-d29e2d3a]{background-color:transparent}.progressbar[data-v-d29e2d3a]{height:5px;line-height:5px;text-align:center;background-color:var(--accent-color)}*[data-v-6b545924]{transition:.1s}.title[data-v-6b545924]{font-weight:700}.settings[data-v-6b545924]{font-family:arial,sans-serif;font-size:14px;-webkit-user-select:none;user-select:none;background-color:var(--primary-color);color:var(--contrast-color);overflow-y:scroll;overflow-x:hidden;display:grid;align-content:start;width:100%;justify-content:center;accent-color:var(--contrast-color)}@media screen and (min-width: 950px){.settings[data-v-6b545924]{display:grid;grid-template-columns:repeat(2,0fr)}section[data-v-6b545924]{margin-right:90px}}.filters-buttons[data-v-6b545924]{margin-top:10px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;max-height:80px}.flex-items[data-v-6b545924]{display:flex;flex-direction:column}.flex-padding[data-v-6b545924]{padding:5px}.appearancecont[data-v-6b545924]{display:flex;accent-color:var(--dull-color)}.theme-buttons[data-v-6b545924]{display:grid;grid-template-columns:repeat(2,1fr);width:30%;padding-right:20px;line-height:18px}.accent-buttons[data-v-6b545924]{display:grid;grid-template-columns:repeat(4,1fr)}.belowAppearance[data-v-6b545924]{margin-left:15px;margin-top:6px}.imgbutton[data-v-6b545924]{position:absolute;right:0;top:0;padding:0;margin:10px;background-color:transparent;border:none;transition:0s}.imgbutton[data-v-6b545924]:hover{opacity:60%}.image[data-v-6b545924]{height:33px}input[data-v-6b545924]{margin-right:5px}section[data-v-6b545924]{position:relative;margin-top:20px;left:40px;padding:1px 15px 10px;background-color:var(--duller-color);border-radius:5px;transition:.15s;width:345px}.self[data-v-6b545924]{justify-self:center;width:280px;background-color:transparent}.blckimg[data-v-6b545924]{height:48px;background-color:#000;border-radius:5px;padding:12px;margin-right:22px}.mrtimg[data-v-6b545924]{height:72px;border-radius:10px}.colorindicator[data-v-6b545924]{position:absolute;right:0;top:0;height:100%;width:8px;background-color:var(--accent-color);border-top-right-radius:5px;border-bottom-right-radius:5px}.dangercont[data-v-6b545924]{display:flex;justify-content:space-evenly}.danger button[data-v-6b545924]{border-radius:5px;background-color:transparent;color:var(--contrast-color);border:2px solid red;padding:4px;width:120px}.danger button[data-v-6b545924]:hover{background-color:red}.disabled[data-v-6b545924]{opacity:.3}.preview[data-v-85018fb6]{width:100%;height:100%;background-color:var(--subtle-color);font-size:15px}h1[data-v-85018fb6]{font-size:18px;color:var(--accent-color)}p[data-v-85018fb6],h1[data-v-85018fb6]{position:relative;left:6px}button[data-v-85018fb6]{margin-left:8px;border:none;border-radius:5px;width:60px}.imgbutton[data-v-85018fb6],.image[data-v-85018fb6]{margin-left:22px;height:26px;width:26px;padding:0;background-color:transparent}.imgbutton[data-v-85018fb6]:hover{opacity:50%}[data-v-85018fb6]:disabled{opacity:.5;pointer-events:none}*[data-v-e34fd722]{scrollbar-color:var(--dull-color) transparent}*[data-v-e34fd722]::-webkit-scrollbar-thumb{background-color:var(--dull-color)}*[data-v-e34fd722]::-webkit-scrollbar{width:8px;background:transparent}.app[data-v-e34fd722]{font-family:arial,sans-serif;font-size:14px;-webkit-user-select:none;user-select:none;display:flex;position:fixed;top:0;left:0;padding-left:5px;padding-top:3px;width:100%;height:100%;background-color:var(--primary-color);color:var(--contrast-color);transition:.15s}.list[data-v-e34fd722]{width:170px;min-width:170px;padding-top:5px;padding-left:2px;top:-3px;left:-5px;position:relative;background-color:var(--subtle-color)}.maincontent[data-v-e34fd722]{flex-grow:1;height:100vh}.topbar[data-v-e34fd722]{left:5px;position:relative}.dialogsurl[data-v-e34fd722]{top:25%;left:35%;position:absolute}.sourcetable[data-v-e34fd722]{position:relative;top:6px;height:100%;overflow-y:scroll;margin-right:4px}.progressbar[data-v-e34fd722]{position:absolute;bottom:3px;left:0;z-index:5;width:100%}
diff --git a/src/main/resources/static/assets/index-CB9h-D7W.js b/src/main/resources/static/assets/index-CB9h-D7W.js
new file mode 100644
index 0000000..64f54dd
--- /dev/null
+++ b/src/main/resources/static/assets/index-CB9h-D7W.js
@@ -0,0 +1,26 @@
+(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
+* @vue/shared v3.4.21
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function Zs(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Z={},Ft=[],Le=()=>{},vl=()=>!1,Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),er=e=>e.startsWith("onUpdate:"),he=Object.assign,tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cl=Object.prototype.hasOwnProperty,W=(e,t)=>Cl.call(e,t),k=Array.isArray,Ut=e=>hn(e)==="[object Map]",Kn=e=>hn(e)==="[object Set]",kr=e=>hn(e)==="[object Date]",M=e=>typeof e=="function",ce=e=>typeof e=="string",pt=e=>typeof e=="symbol",Y=e=>e!==null&&typeof e=="object",No=e=>(Y(e)||M(e))&&M(e.then)&&M(e.catch),Fo=Object.prototype.toString,hn=e=>Fo.call(e),El=e=>hn(e).slice(8,-1),Uo=e=>hn(e)==="[object Object]",nr=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,tn=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wl=/-(\w)/g,Ke=qn(e=>e.replace(wl,(t,n)=>n?n.toUpperCase():"")),Al=/\B([A-Z])/g,jt=qn(e=>e.replace(Al,"-$1").toLowerCase()),Wn=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=qn(e=>e?`on${Wn(e)}`:""),Ot=(e,t)=>!Object.is(e,t),Rn=(e,t)=>{for(let n=0;n
{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tl=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Nr;const Do=()=>Nr||(Nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pn(e){if(k(e)){const t={};for(let n=0;n{if(n){const s=n.split(Rl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ee(e){let t="";if(ce(e))t=e;else if(k(e))for(let n=0;nBt(n,t))}const ze=e=>ce(e)?e:e==null?"":k(e)||Y(e)&&(e.toString===Fo||!M(e.toString))?JSON.stringify(e,Mo,2):String(e),Mo=(e,t)=>t&&t.__v_isRef?Mo(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ps(s,o)+" =>"]=r,n),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ps(n))}:pt(t)?ps(t):Y(t)&&!k(t)&&!Uo(t)?String(t):t,ps=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
+* @vue/reactivity v3.4.21
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/let Ne;class $o{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=dt,n=At;try{return dt=!0,At=this,this._runnings++,Fr(this),this.fn()}finally{Ur(this),this._runnings--,At=n,dt=t}}stop(){var t;this.active&&(Fr(this),Ur(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Dl(e){return e.value}function Fr(e){e._trackId++,e._depsLength=0}function Ur(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Is=new WeakMap,Tt=Symbol(""),Ps=Symbol("");function we(e,t,n){if(dt&&At){let s=Is.get(e);s||Is.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Wo(()=>s.delete(n))),Ko(At,r)}}function Je(e,t,n,s,r,o){const i=Is.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(s);i.forEach((f,u)=>{(u==="length"||!pt(u)&&u>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?nr(n)&&l.push(i.get("length")):(l.push(i.get(Tt)),Ut(e)&&l.push(i.get(Ps)));break;case"delete":k(e)||(l.push(i.get(Tt)),Ut(e)&&l.push(i.get(Ps)));break;case"set":Ut(e)&&l.push(i.get(Tt));break}rr();for(const c of l)c&&qo(c,4);or()}const Vl=Zs("__proto__,__v_isRef,__isVue"),Go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt)),Dr=Bl();function Bl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=G(this);for(let o=0,i=this.length;o{e[t]=function(...n){Rt(),rr();const s=G(this)[t].apply(this,n);return or(),xt(),s}}),e}function Ml(e){const t=G(this);return we(t,"has",e),t.hasOwnProperty(e)}class zo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Zl:Qo:o?Xo:Yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=k(t);if(!r){if(i&&W(Dr,n))return Reflect.get(Dr,n,s);if(n==="hasOwnProperty")return Ml}const l=Reflect.get(t,n,s);return(pt(n)?Go.has(n):Vl(n))||(r||we(t,"get",n),o)?l:Re(l)?i&&nr(n)?l:l.value:Y(l)?r?Zo(l):zn(l):l}}class Jo extends zo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=ln(o);if(!ks(s)&&!ln(s)&&(o=G(o),s=G(s)),!k(t)&&Re(o)&&!Re(s))return c?!1:(o.value=s,!0)}const i=k(t)&&nr(n)?Number(n)e,Gn=e=>Reflect.getPrototypeOf(e);function vn(e,t,n=!1,s=!1){e=e.__v_raw;const r=G(e),o=G(t);n||(Ot(t,o)&&we(r,"get",t),we(r,"get",o));const{has:i}=Gn(r),l=s?ir:n?ur:ar;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Cn(e,t=!1){const n=this.__v_raw,s=G(n),r=G(e);return t||(Ot(e,r)&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function En(e,t=!1){return e=e.__v_raw,!t&&we(G(e),"iterate",Tt),Reflect.get(e,"size",e)}function Vr(e){e=G(e);const t=G(this);return Gn(t).has.call(t,e)||(t.add(e),Je(t,"add",e,e)),this}function Br(e,t){t=G(t);const n=G(this),{has:s,get:r}=Gn(n);let o=s.call(n,e);o||(e=G(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Ot(t,i)&&Je(n,"set",e,t):Je(n,"add",e,t),this}function Mr(e){const t=G(this),{has:n,get:s}=Gn(t);let r=n.call(t,e);r||(e=G(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Je(t,"delete",e,void 0),o}function $r(){const e=G(this),t=e.size!==0,n=e.clear();return t&&Je(e,"clear",void 0,void 0),n}function wn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=G(i),c=t?ir:e?ur:ar;return!e&&we(l,"iterate",Tt),i.forEach((f,u)=>s.call(r,c(f),c(u),o))}}function An(e,t,n){return function(...s){const r=this.__v_raw,o=G(r),i=Ut(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),u=n?ir:t?ur:ar;return!t&&we(o,"iterate",c?Ps:Tt),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function tt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ql(){const e={get(o){return vn(this,o)},get size(){return En(this)},has:Cn,add:Vr,set:Br,delete:Mr,clear:$r,forEach:wn(!1,!1)},t={get(o){return vn(this,o,!1,!0)},get size(){return En(this)},has:Cn,add:Vr,set:Br,delete:Mr,clear:$r,forEach:wn(!1,!0)},n={get(o){return vn(this,o,!0)},get size(){return En(this,!0)},has(o){return Cn.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:wn(!0,!1)},s={get(o){return vn(this,o,!0,!0)},get size(){return En(this,!0)},has(o){return Cn.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=An(o,!1,!1),n[o]=An(o,!0,!1),t[o]=An(o,!1,!0),s[o]=An(o,!0,!0)}),[e,n,t,s]}const[Wl,Gl,zl,Jl]=ql();function lr(e,t){const n=t?e?Jl:zl:e?Gl:Wl;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Yl={get:lr(!1,!1)},Xl={get:lr(!1,!0)},Ql={get:lr(!0,!1)},Yo=new WeakMap,Xo=new WeakMap,Qo=new WeakMap,Zl=new WeakMap;function ec(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tc(e){return e.__v_skip||!Object.isExtensible(e)?0:ec(El(e))}function zn(e){return ln(e)?e:cr(e,!1,jl,Yl,Yo)}function nc(e){return cr(e,!1,Kl,Xl,Xo)}function Zo(e){return cr(e,!0,Hl,Ql,Qo)}function cr(e,t,n,s,r){if(!Y(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=tc(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Dt(e){return ln(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function ks(e){return!!(e&&e.__v_isShallow)}function ei(e){return Dt(e)||ln(e)}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function ti(e){return Object.isExtensible(e)&&Dn(e,"__v_skip",!0),e}const ar=e=>Y(e)?zn(e):e,ur=e=>Y(e)?Zo(e):e;class ni{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new sr(()=>t(this._value),()=>ms(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=G(this);return(!t._cacheable||t.effect.dirty)&&Ot(t._value,t._value=t.effect.run())&&ms(t,4),rc(t),t.effect._dirtyLevel>=2&&ms(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function sc(e,t,n=!1){let s,r;const o=M(e);return o?(s=e,r=Le):(s=e.get,r=e.set),new ni(s,r,o||!r,n)}function rc(e){var t;dt&&At&&(e=G(e),Ko(At,(t=e.dep)!=null?t:e.dep=Wo(()=>e.dep=void 0,e instanceof ni?e:void 0)))}function ms(e,t=4,n){e=G(e);const s=e.dep;s&&qo(s,t)}function Re(e){return!!(e&&e.__v_isRef===!0)}function oc(e){return Re(e)?e.value:e}const ic={get:(e,t,n)=>oc(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function si(e){return Dt(e)?e:new Proxy(e,ic)}/**
+* @vue/runtime-core v3.4.21
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/function ht(e,t,n,s){try{return s?e(...s):e()}catch(r){Jn(r,t,n)}}function Ie(e,t,n,s){if(M(e)){const o=ht(e,t,n,s);return o&&No(o)&&o.catch(i=>{Jn(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=be[s],o=an(r);oje&&be.splice(t,1)}function fc(e){k(e)?Vt.push(...e):(!lt||!lt.includes(e,e.allowRecurse?Ct+1:Ct))&&Vt.push(e),oi()}function jr(e,t,n=cn?je+1:0){for(;nan(n)-an(s));if(Vt.length=0,lt){lt.push(...t);return}for(lt=t,Ct=0;Cte.id==null?1/0:e.id,dc=(e,t)=>{const n=an(e)-an(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function li(e){Ns=!1,cn=!0,be.sort(dc);try{for(je=0;jece(C)?C.trim():C)),d&&(r=n.map(Rs))}let l,c=s[l=hs(t)]||s[l=hs(Ke(t))];!c&&o&&(c=s[l=hs(jt(t))]),c&&Ie(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ie(f,e,6,r)}}function ci(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!M(e)){const c=f=>{const u=ci(f,t,!0);u&&(l=!0,he(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Y(e)&&s.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):he(i,o),Y(e)&&s.set(e,i),i)}function Yn(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,jt(t))||W(e,t))}let ve=null,Xn=null;function Vn(e){const t=ve;return ve=e,Xn=e&&e.type.__scopeId||null,t}function Ht(e){Xn=e}function Kt(){Xn=null}function ai(e,t=ve,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&eo(-1);const o=Vn(t);let i;try{i=e(...r)}finally{Vn(o),s._d&&eo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gs(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:u,renderCache:d,data:g,setupState:C,ctx:A,inheritAttrs:E}=e;let D,$;const ee=Vn(e);try{if(n.shapeFlag&4){const z=r||s,re=z;D=$e(u.call(re,z,d,o,C,g,A)),$=c}else{const z=t;D=$e(z.length>1?z(o,{attrs:c,slots:l,emit:f}):z(o,null)),$=t.props?c:pc(c)}}catch(z){on.length=0,Jn(z,e,1),D=le(Ue)}let j=D;if($&&E!==!1){const z=Object.keys($),{shapeFlag:re}=j;z.length&&re&7&&(i&&z.some(er)&&($=mc($,i)),j=mt(j,$))}return n.dirs&&(j=mt(j),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),D=j,Vn(ee),D}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hn(n))&&((t||(t={}))[n]=e[n]);return t},mc=(e,t)=>{const n={};for(const s in e)(!er(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Hr(s,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function vc(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):fc(e)}const Cc=Symbol.for("v-scx"),Ec=()=>Ln(Cc),Tn={};function nn(e,t,n){return fi(e,t,n)}function fi(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=Z){if(t&&o){const H=t;t=(...ye)=>{H(...ye),re()}}const c=me,f=H=>s===!0?H:wt(H,s===!1?1:void 0);let u,d=!1,g=!1;if(Re(e)?(u=()=>e.value,d=ks(e)):Dt(e)?(u=()=>f(e),d=!0):k(e)?(g=!0,d=e.some(H=>Dt(H)||ks(H)),u=()=>e.map(H=>{if(Re(H))return H.value;if(Dt(H))return f(H);if(M(H))return ht(H,c,2)})):M(e)?t?u=()=>ht(e,c,2):u=()=>(C&&C(),Ie(e,c,3,[A])):u=Le,t&&s){const H=u;u=()=>wt(H())}let C,A=H=>{C=j.onStop=()=>{ht(H,c,4),C=j.onStop=void 0}},E;if(ns)if(A=Le,t?n&&Ie(t,c,3,[u(),g?[]:void 0,A]):u(),r==="sync"){const H=Ec();E=H.__watcherHandles||(H.__watcherHandles=[])}else return Le;let D=g?new Array(e.length).fill(Tn):Tn;const $=()=>{if(!(!j.active||!j.dirty))if(t){const H=j.run();(s||d||(g?H.some((ye,V)=>Ot(ye,D[V])):Ot(H,D)))&&(C&&C(),Ie(t,c,3,[H,D===Tn?void 0:g&&D[0]===Tn?[]:D,A]),D=H)}else j.run()};$.allowRecurse=!!t;let ee;r==="sync"?ee=$:r==="post"?ee=()=>Ce($,c&&c.suspense):($.pre=!0,c&&($.id=c.uid),ee=()=>dr($));const j=new sr(u,Le,ee),z=Ul(),re=()=>{j.stop(),z&&tr(z.effects,j)};return t?n?$():D=j.run():r==="post"?Ce(j.run.bind(j),c&&c.suspense):j.run(),E&&E.push(re),re}function wc(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?di(s,e):()=>s[e]:e.bind(s,s);let o;M(t)?o=t:(o=t.handler,n=t);const i=mn(this),l=fi(r,o.bind(s),n);return i(),l}function di(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Re(e))wt(e.value,t,n,s);else if(k(e))for(let r=0;r{wt(r,t,n,s)});else if(Uo(e))for(const r in e)wt(e[r],t,n,s);return e}function ie(e,t){if(ve===null)return e;const n=ss(ve)||ve.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),bi(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],hi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},Tc={name:"BaseTransition",props:hi,setup(e,{slots:t}){const n=fa(),s=Ac();return()=>{const r=t.default&&mi(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==Ue){o=g;break}}const i=G(e),{mode:l}=i;if(s.isLeaving)return _s(o);const c=qr(o);if(!c)return _s(o);const f=Fs(c,i,s,n);Us(c,f);const u=n.subTree,d=u&&qr(u);if(d&&d.type!==Ue&&!Et(c,d)){const g=Fs(d,i,s,n);if(Us(d,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},_s(o);l==="in-out"&&c.type!==Ue&&(g.delayLeave=(C,A,E)=>{const D=pi(s,d);D[String(d.key)]=d,C[ct]=()=>{A(),C[ct]=void 0,delete f.delayedLeave},f.delayedLeave=E})}return o}}},Oc=Tc;function pi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Fs(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:C,onLeaveCancelled:A,onBeforeAppear:E,onAppear:D,onAfterAppear:$,onAppearCancelled:ee}=t,j=String(e.key),z=pi(n,e),re=(V,oe)=>{V&&Ie(V,s,9,oe)},H=(V,oe)=>{const Q=oe[1];re(V,oe),k(V)?V.every(ge=>ge.length<=1)&&Q():V.length<=1&&Q()},ye={mode:o,persisted:i,beforeEnter(V){let oe=l;if(!n.isMounted)if(r)oe=E||l;else return;V[ct]&&V[ct](!0);const Q=z[j];Q&&Et(e,Q)&&Q.el[ct]&&Q.el[ct](),re(oe,[V])},enter(V){let oe=c,Q=f,ge=u;if(!n.isMounted)if(r)oe=D||c,Q=$||f,ge=ee||u;else return;let I=!1;const ne=V[On]=Te=>{I||(I=!0,Te?re(ge,[V]):re(Q,[V]),ye.delayedLeave&&ye.delayedLeave(),V[On]=void 0)};oe?H(oe,[V,ne]):ne()},leave(V,oe){const Q=String(e.key);if(V[On]&&V[On](!0),n.isUnmounting)return oe();re(d,[V]);let ge=!1;const I=V[ct]=ne=>{ge||(ge=!0,oe(),ne?re(A,[V]):re(C,[V]),V[ct]=void 0,z[Q]===e&&delete z[Q])};z[Q]=e,g?H(g,[V,I]):I()},clone(V){return Fs(V,t,n,s)}};return ye}function _s(e){if(Qn(e))return e=mt(e),e.children=null,e}function qr(e){return Qn(e)?e.children?e.children[0]:void 0:e}function Us(e,t){e.shapeFlag&6&&e.component?Us(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mi(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function Rc(e,t){gi(e,"a",t)}function xc(e,t){gi(e,"da",t)}function gi(e,t,n=me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&Lc(s,t,n,r),r=r.parent}}function Lc(e,t,n,s){const r=Zn(t,e,s,!0);yi(()=>{tr(s[t],r)},n)}function Zn(e,t,n=me,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Rt();const l=mn(n),c=Ie(t,n,e,i);return l(),xt(),c});return s?r.unshift(o):r.push(o),o}}const Qe=e=>(t,n=me)=>(!ns||e==="sp")&&Zn(e,(...s)=>t(...s),n),Ic=Qe("bm"),_i=Qe("m"),Pc=Qe("bu"),kc=Qe("u"),bi=Qe("bum"),yi=Qe("um"),Nc=Qe("sp"),Fc=Qe("rtg"),Uc=Qe("rtc");function Dc(e,t=me){Zn("ec",e,t)}function Ds(e,t,n,s){let r;const o=n&&n[s];if(k(e)||ce(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;le?Ii(e)?ss(e)||e.proxy:Vs(e.parent):null,sn=he(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,dr(e.update)}),$nextTick:e=>e.n||(e.n=cc.bind(e.proxy)),$watch:e=>wc.bind(e)}),bs=(e,t)=>e!==Z&&!e.__isScriptSetup&&W(e,t),Vc={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const C=i[t];if(C!==void 0)switch(C){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(bs(s,t))return i[t]=1,s[t];if(r!==Z&&W(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&W(f,t))return i[t]=3,o[t];if(n!==Z&&W(n,t))return i[t]=4,n[t];Bs&&(i[t]=0)}}const u=sn[t];let d,g;if(u)return t==="$attrs"&&we(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Z&&W(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,W(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return bs(r,t)?(r[t]=n,!0):s!==Z&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Z&&W(e,i)||bs(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(sn,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wr(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Bs=!0;function Bc(e){const t=hr(e),n=e.proxy,s=e.ctx;Bs=!1,t.beforeCreate&&Gr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:d,mounted:g,beforeUpdate:C,updated:A,activated:E,deactivated:D,beforeDestroy:$,beforeUnmount:ee,destroyed:j,unmounted:z,render:re,renderTracked:H,renderTriggered:ye,errorCaptured:V,serverPrefetch:oe,expose:Q,inheritAttrs:ge,components:I,directives:ne,filters:Te}=t;if(f&&Mc(f,s,null),i)for(const se in i){const X=i[se];M(X)&&(s[se]=X.bind(n))}if(r){const se=r.call(n,n);Y(se)&&(e.data=zn(se))}if(Bs=!0,o)for(const se in o){const X=o[se],gt=M(X)?X.bind(n,n):M(X.get)?X.get.bind(n,n):Le,yn=!M(X)&&M(X.set)?X.set.bind(n):Le,_t=ki({get:gt,set:yn});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>_t.value,set:Ve=>_t.value=Ve})}if(l)for(const se in l)Si(l[se],s,n,se);if(c){const se=M(c)?c.call(n):c;Reflect.ownKeys(se).forEach(X=>{Wc(X,se[X])})}u&&Gr(u,e,"c");function fe(se,X){k(X)?X.forEach(gt=>se(gt.bind(n))):X&&se(X.bind(n))}if(fe(Ic,d),fe(_i,g),fe(Pc,C),fe(kc,A),fe(Rc,E),fe(xc,D),fe(Dc,V),fe(Uc,H),fe(Fc,ye),fe(bi,ee),fe(yi,z),fe(Nc,oe),k(Q))if(Q.length){const se=e.exposed||(e.exposed={});Q.forEach(X=>{Object.defineProperty(se,X,{get:()=>n[X],set:gt=>n[X]=gt})})}else e.exposed||(e.exposed={});re&&e.render===Le&&(e.render=re),ge!=null&&(e.inheritAttrs=ge),I&&(e.components=I),ne&&(e.directives=ne)}function Mc(e,t,n=Le){k(e)&&(e=Ms(e));for(const s in e){const r=e[s];let o;Y(r)?"default"in r?o=Ln(r.from||s,r.default,!0):o=Ln(r.from||s):o=Ln(r),Re(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Gr(e,t,n){Ie(k(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Si(e,t,n,s){const r=s.includes(".")?di(n,s):()=>n[s];if(ce(e)){const o=t[e];M(o)&&nn(r,o)}else if(M(e))nn(r,e.bind(n));else if(Y(e))if(k(e))e.forEach(o=>Si(o,t,n,s));else{const o=M(e.handler)?e.handler.bind(n):t[e.handler];M(o)&&nn(r,o,e)}}function hr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Bn(c,f,i,!0)),Bn(c,t,i)),Y(t)&&o.set(t,c),c}function Bn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Bn(e,o,n,!0),r&&r.forEach(i=>Bn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=$c[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const $c={data:zr,props:Jr,emits:Jr,methods:Zt,computed:Zt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:Zt,directives:Zt,watch:Hc,provide:zr,inject:jc};function zr(e,t){return t?e?function(){return he(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function jc(e,t){return Zt(Ms(e),Ms(t))}function Ms(e){if(k(e)){const t={};for(let n=0;n1)return n&&M(t)?t.call(s&&s.proxy):t}}function Gc(e,t,n,s=!1){const r={},o={};Dn(o,ts,1),e.propsDefaults=Object.create(null),Ci(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:nc(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function zc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=G(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[g,C]=Ei(d,t,!0);he(i,g),C&&l.push(...C)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return Y(e)&&s.set(e,Ft),Ft;if(k(o))for(let u=0;u-1,C[1]=E<0||A-1||W(C,"default"))&&l.push(d)}}}const f=[i,l];return Y(e)&&s.set(e,f),f}function Yr(e){return e[0]!=="$"&&!tn(e)}function Xr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Qr(e,t){return Xr(e)===Xr(t)}function Zr(e,t){return k(t)?t.findIndex(n=>Qr(n,e)):M(t)&&Qr(t,e)?0:-1}const wi=e=>e[0]==="_"||e==="$stable",pr=e=>k(e)?e.map($e):[$e(e)],Jc=(e,t,n)=>{if(t._n)return t;const s=ai((...r)=>pr(t(...r)),n);return s._c=!1,s},Ai=(e,t,n)=>{const s=e._ctx;for(const r in e){if(wi(r))continue;const o=e[r];if(M(o))t[r]=Jc(r,o,s);else if(o!=null){const i=pr(o);t[r]=()=>i}}},Ti=(e,t)=>{const n=pr(t);e.slots.default=()=>n},Yc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=G(t),Dn(t,"_",n)):Ai(t,e.slots={})}else e.slots={},t&&Ti(e,t);Dn(e.slots,ts,1)},Xc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(he(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Ai(t,r)),i=t}else t&&(Ti(e,t),i={default:1});if(o)for(const l in r)!wi(l)&&i[l]==null&&delete r[l]};function js(e,t,n,s,r=!1){if(k(e)){e.forEach((g,C)=>js(g,t&&(k(t)?t[C]:t),n,s,r));return}if(xn(s)&&!r)return;const o=s.shapeFlag&4?ss(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===Z?l.refs={}:l.refs,d=l.setupState;if(f!=null&&f!==c&&(ce(f)?(u[f]=null,W(d,f)&&(d[f]=null)):Re(f)&&(f.value=null)),M(c))ht(c,l,12,[i,u]);else{const g=ce(c),C=Re(c);if(g||C){const A=()=>{if(e.f){const E=g?W(d,c)?d[c]:u[c]:c.value;r?k(E)&&tr(E,o):k(E)?E.includes(o)||E.push(o):g?(u[c]=[o],W(d,c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else g?(u[c]=i,W(d,c)&&(d[c]=i)):C&&(c.value=i,e.k&&(u[e.k]=i))};i?(A.id=-1,Ce(A,n)):A()}}}const Ce=vc;function Qc(e){return Zc(e)}function Zc(e,t){const n=Do();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:d,nextSibling:g,setScopeId:C=Le,insertStaticContent:A}=e,E=(a,h,m,b=null,y=null,w=null,O=void 0,v=null,T=!!h.dynamicChildren)=>{if(a===h)return;a&&!Et(a,h)&&(b=Sn(a),Ve(a,y,w,!0),a=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:S,ref:R,shapeFlag:N}=h;switch(S){case es:D(a,h,m,b);break;case Ue:$(a,h,m,b);break;case In:a==null&&ee(h,m,b,O);break;case _e:I(a,h,m,b,y,w,O,v,T);break;default:N&1?re(a,h,m,b,y,w,O,v,T):N&6?ne(a,h,m,b,y,w,O,v,T):(N&64||N&128)&&S.process(a,h,m,b,y,w,O,v,T,It)}R!=null&&y&&js(R,a&&a.ref,w,h||a,!h)},D=(a,h,m,b)=>{if(a==null)s(h.el=l(h.children),m,b);else{const y=h.el=a.el;h.children!==a.children&&f(y,h.children)}},$=(a,h,m,b)=>{a==null?s(h.el=c(h.children||""),m,b):h.el=a.el},ee=(a,h,m,b)=>{[a.el,a.anchor]=A(a.children,h,m,b,a.el,a.anchor)},j=({el:a,anchor:h},m,b)=>{let y;for(;a&&a!==h;)y=g(a),s(a,m,b),a=y;s(h,m,b)},z=({el:a,anchor:h})=>{let m;for(;a&&a!==h;)m=g(a),r(a),a=m;r(h)},re=(a,h,m,b,y,w,O,v,T)=>{h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),a==null?H(h,m,b,y,w,O,v,T):oe(a,h,y,w,O,v,T)},H=(a,h,m,b,y,w,O,v)=>{let T,S;const{props:R,shapeFlag:N,transition:P,dirs:F}=a;if(T=a.el=i(a.type,w,R&&R.is,R),N&8?u(T,a.children):N&16&&V(a.children,T,null,b,y,ys(a,w),O,v),F&&bt(a,null,b,"created"),ye(T,a,a.scopeId,O,b),R){for(const J in R)J!=="value"&&!tn(J)&&o(T,J,null,R[J],w,a.children,b,y,We);"value"in R&&o(T,"value",null,R.value,w),(S=R.onVnodeBeforeMount)&&Me(S,b,a)}F&&bt(a,null,b,"beforeMount");const K=ea(y,P);K&&P.beforeEnter(T),s(T,h,m),((S=R&&R.onVnodeMounted)||K||F)&&Ce(()=>{S&&Me(S,b,a),K&&P.enter(T),F&&bt(a,null,b,"mounted")},y)},ye=(a,h,m,b,y)=>{if(m&&C(a,m),b)for(let w=0;w{for(let S=T;S{const v=h.el=a.el;let{patchFlag:T,dynamicChildren:S,dirs:R}=h;T|=a.patchFlag&16;const N=a.props||Z,P=h.props||Z;let F;if(m&&yt(m,!1),(F=P.onVnodeBeforeUpdate)&&Me(F,m,h,a),R&&bt(h,a,m,"beforeUpdate"),m&&yt(m,!0),S?Q(a.dynamicChildren,S,v,m,b,ys(h,y),w):O||X(a,h,v,null,m,b,ys(h,y),w,!1),T>0){if(T&16)ge(v,h,N,P,m,b,y);else if(T&2&&N.class!==P.class&&o(v,"class",null,P.class,y),T&4&&o(v,"style",N.style,P.style,y),T&8){const K=h.dynamicProps;for(let J=0;J{F&&Me(F,m,h,a),R&&bt(h,a,m,"updated")},b)},Q=(a,h,m,b,y,w,O)=>{for(let v=0;v{if(m!==b){if(m!==Z)for(const v in m)!tn(v)&&!(v in b)&&o(a,v,m[v],null,O,h.children,y,w,We);for(const v in b){if(tn(v))continue;const T=b[v],S=m[v];T!==S&&v!=="value"&&o(a,v,S,T,O,h.children,y,w,We)}"value"in b&&o(a,"value",m.value,b.value,O)}},I=(a,h,m,b,y,w,O,v,T)=>{const S=h.el=a?a.el:l(""),R=h.anchor=a?a.anchor:l("");let{patchFlag:N,dynamicChildren:P,slotScopeIds:F}=h;F&&(v=v?v.concat(F):F),a==null?(s(S,m,b),s(R,m,b),V(h.children||[],m,R,y,w,O,v,T)):N>0&&N&64&&P&&a.dynamicChildren?(Q(a.dynamicChildren,P,m,y,w,O,v),(h.key!=null||y&&h===y.subTree)&&Oi(a,h,!0)):X(a,h,m,R,y,w,O,v,T)},ne=(a,h,m,b,y,w,O,v,T)=>{h.slotScopeIds=v,a==null?h.shapeFlag&512?y.ctx.activate(h,m,b,O,T):Te(h,m,b,y,w,O,T):Jt(a,h,T)},Te=(a,h,m,b,y,w,O)=>{const v=a.component=ua(a,b,y);if(Qn(a)&&(v.ctx.renderer=It),da(v),v.asyncDep){if(y&&y.registerDep(v,fe),!a.el){const T=v.subTree=le(Ue);$(null,T,h,m)}}else fe(v,a,h,m,y,w,O)},Jt=(a,h,m)=>{const b=h.component=a.component;if(gc(a,h,m))if(b.asyncDep&&!b.asyncResolved){se(b,h,m);return}else b.next=h,uc(b.update),b.effect.dirty=!0,b.update();else h.el=a.el,b.vnode=h},fe=(a,h,m,b,y,w,O)=>{const v=()=>{if(a.isMounted){let{next:R,bu:N,u:P,parent:F,vnode:K}=a;{const Pt=Ri(a);if(Pt){R&&(R.el=K.el,se(a,R,O)),Pt.asyncDep.then(()=>{a.isUnmounted||v()});return}}let J=R,te;yt(a,!1),R?(R.el=K.el,se(a,R,O)):R=K,N&&Rn(N),(te=R.props&&R.props.onVnodeBeforeUpdate)&&Me(te,F,R,K),yt(a,!0);const de=gs(a),ke=a.subTree;a.subTree=de,E(ke,de,d(ke.el),Sn(ke),a,y,w),R.el=de.el,J===null&&_c(a,de.el),P&&Ce(P,y),(te=R.props&&R.props.onVnodeUpdated)&&Ce(()=>Me(te,F,R,K),y)}else{let R;const{el:N,props:P}=h,{bm:F,m:K,parent:J}=a,te=xn(h);if(yt(a,!1),F&&Rn(F),!te&&(R=P&&P.onVnodeBeforeMount)&&Me(R,J,h),yt(a,!0),N&&ds){const de=()=>{a.subTree=gs(a),ds(N,a.subTree,a,y,null)};te?h.type.__asyncLoader().then(()=>!a.isUnmounted&&de()):de()}else{const de=a.subTree=gs(a);E(null,de,m,b,a,y,w),h.el=de.el}if(K&&Ce(K,y),!te&&(R=P&&P.onVnodeMounted)){const de=h;Ce(()=>Me(R,J,de),y)}(h.shapeFlag&256||J&&xn(J.vnode)&&J.vnode.shapeFlag&256)&&a.a&&Ce(a.a,y),a.isMounted=!0,h=m=b=null}},T=a.effect=new sr(v,Le,()=>dr(S),a.scope),S=a.update=()=>{T.dirty&&T.run()};S.id=a.uid,yt(a,!0),S()},se=(a,h,m)=>{h.component=a;const b=a.vnode.props;a.vnode=h,a.next=null,zc(a,h.props,b,m),Xc(a,h.children,m),Rt(),jr(a),xt()},X=(a,h,m,b,y,w,O,v,T=!1)=>{const S=a&&a.children,R=a?a.shapeFlag:0,N=h.children,{patchFlag:P,shapeFlag:F}=h;if(P>0){if(P&128){yn(S,N,m,b,y,w,O,v,T);return}else if(P&256){gt(S,N,m,b,y,w,O,v,T);return}}F&8?(R&16&&We(S,y,w),N!==S&&u(m,N)):R&16?F&16?yn(S,N,m,b,y,w,O,v,T):We(S,y,w,!0):(R&8&&u(m,""),F&16&&V(N,m,b,y,w,O,v,T))},gt=(a,h,m,b,y,w,O,v,T)=>{a=a||Ft,h=h||Ft;const S=a.length,R=h.length,N=Math.min(S,R);let P;for(P=0;PR?We(a,y,w,!0,!1,N):V(h,m,b,y,w,O,v,T,N)},yn=(a,h,m,b,y,w,O,v,T)=>{let S=0;const R=h.length;let N=a.length-1,P=R-1;for(;S<=N&&S<=P;){const F=a[S],K=h[S]=T?at(h[S]):$e(h[S]);if(Et(F,K))E(F,K,m,null,y,w,O,v,T);else break;S++}for(;S<=N&&S<=P;){const F=a[N],K=h[P]=T?at(h[P]):$e(h[P]);if(Et(F,K))E(F,K,m,null,y,w,O,v,T);else break;N--,P--}if(S>N){if(S<=P){const F=P+1,K=FP)for(;S<=N;)Ve(a[S],y,w,!0),S++;else{const F=S,K=S,J=new Map;for(S=K;S<=P;S++){const Oe=h[S]=T?at(h[S]):$e(h[S]);Oe.key!=null&&J.set(Oe.key,S)}let te,de=0;const ke=P-K+1;let Pt=!1,Lr=0;const Yt=new Array(ke);for(S=0;S=ke){Ve(Oe,y,w,!0);continue}let Be;if(Oe.key!=null)Be=J.get(Oe.key);else for(te=K;te<=P;te++)if(Yt[te-K]===0&&Et(Oe,h[te])){Be=te;break}Be===void 0?Ve(Oe,y,w,!0):(Yt[Be-K]=S+1,Be>=Lr?Lr=Be:Pt=!0,E(Oe,h[Be],m,null,y,w,O,v,T),de++)}const Ir=Pt?ta(Yt):Ft;for(te=Ir.length-1,S=ke-1;S>=0;S--){const Oe=K+S,Be=h[Oe],Pr=Oe+1{const{el:w,type:O,transition:v,children:T,shapeFlag:S}=a;if(S&6){_t(a.component.subTree,h,m,b);return}if(S&128){a.suspense.move(h,m,b);return}if(S&64){O.move(a,h,m,It);return}if(O===_e){s(w,h,m);for(let N=0;Nv.enter(w),y);else{const{leave:N,delayLeave:P,afterLeave:F}=v,K=()=>s(w,h,m),J=()=>{N(w,()=>{K(),F&&F()})};P?P(w,K,J):J()}else s(w,h,m)},Ve=(a,h,m,b=!1,y=!1)=>{const{type:w,props:O,ref:v,children:T,dynamicChildren:S,shapeFlag:R,patchFlag:N,dirs:P}=a;if(v!=null&&js(v,null,m,a,!0),R&256){h.ctx.deactivate(a);return}const F=R&1&&P,K=!xn(a);let J;if(K&&(J=O&&O.onVnodeBeforeUnmount)&&Me(J,h,a),R&6)Sl(a.component,m,b);else{if(R&128){a.suspense.unmount(m,b);return}F&&bt(a,null,h,"beforeUnmount"),R&64?a.type.remove(a,h,m,y,It,b):S&&(w!==_e||N>0&&N&64)?We(S,h,m,!1,!0):(w===_e&&N&384||!y&&R&16)&&We(T,h,m),b&&Rr(a)}(K&&(J=O&&O.onVnodeUnmounted)||F)&&Ce(()=>{J&&Me(J,h,a),F&&bt(a,null,h,"unmounted")},m)},Rr=a=>{const{type:h,el:m,anchor:b,transition:y}=a;if(h===_e){yl(m,b);return}if(h===In){z(a);return}const w=()=>{r(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(a.shapeFlag&1&&y&&!y.persisted){const{leave:O,delayLeave:v}=y,T=()=>O(m,w);v?v(a.el,w,T):T()}else w()},yl=(a,h)=>{let m;for(;a!==h;)m=g(a),r(a),a=m;r(h)},Sl=(a,h,m)=>{const{bum:b,scope:y,update:w,subTree:O,um:v}=a;b&&Rn(b),y.stop(),w&&(w.active=!1,Ve(O,a,h,m)),v&&Ce(v,h),Ce(()=>{a.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(a,h,m,b=!1,y=!1,w=0)=>{for(let O=w;Oa.shapeFlag&6?Sn(a.component.subTree):a.shapeFlag&128?a.suspense.next():g(a.anchor||a.el);let us=!1;const xr=(a,h,m)=>{a==null?h._vnode&&Ve(h._vnode,null,null,!0):E(h._vnode||null,a,h,null,null,null,m),us||(us=!0,jr(),ii(),us=!1),h._vnode=a},It={p:E,um:Ve,m:_t,r:Rr,mt:Te,mc:V,pc:X,pbc:Q,n:Sn,o:e};let fs,ds;return t&&([fs,ds]=t(It)),{render:xr,hydrate:fs,createApp:qc(xr,fs)}}function ys({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ea(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oi(e,t,n=!1){const s=e.children,r=t.children;if(k(s)&&k(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ri(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ri(t)}const na=e=>e.__isTeleport,_e=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),In=Symbol.for("v-stc"),on=[];let Fe=null;function x(e=!1){on.push(Fe=e?null:[])}function sa(){on.pop(),Fe=on[on.length-1]||null}let un=1;function eo(e){un+=e}function xi(e){return e.dynamicChildren=un>0?Fe||Ft:null,sa(),un>0&&Fe&&Fe.push(e),e}function L(e,t,n,s,r,o){return xi(p(e,t,n,s,r,o,!0))}function Hs(e,t,n,s,r){return xi(le(e,t,n,s,r,!0))}function Ks(e){return e?e.__v_isVNode===!0:!1}function Et(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",Li=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Re(e)||M(e)?{i:ve,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,s=0,r=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Li(t),ref:t&&Pn(t),scopeId:Xn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ve};return l?(mr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),un>0&&!i&&Fe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Fe.push(c),c}const le=ra;function ra(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===bc)&&(e=Ue),Ks(e)){const l=mt(e,t,!0);return n&&mr(l,n),un>0&&!o&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(_a(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=Ee(l)),Y(c)&&(ei(c)&&!k(c)&&(c=he({},c)),t.style=pn(c))}const i=ce(e)?1:Sc(e)?128:na(e)?64:Y(e)?4:M(e)?2:0;return p(e,t,n,s,r,i,o,!0)}function oa(e){return e?ei(e)||ts in e?he({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?la(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Li(l),ref:t&&t.ref?n&&r?k(r)?r.concat(Pn(t)):[r,Pn(t)]:Pn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pe(e=" ",t=0){return le(es,null,e,t)}function ia(e,t){const n=le(In,null,e);return n.staticCount=t,n}function B(e="",t=!1){return t?(x(),Hs(Ue,null,e)):le(Ue,null,e)}function $e(e){return e==null||typeof e=="boolean"?le(Ue):k(e)?le(_e,null,e.slice()):typeof e=="object"?at(e):le(es,null,String(e))}function at(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function mr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),mr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(ts in t)?t._ctx=ve:r===3&&ve&&(ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:ve},n=32):(t=String(t),s&64?(n=16,t=[pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function la(...e){const t={};for(let n=0;nme||ve;let Mn,qs;{const e=Do(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Mn=t("__VUE_INSTANCE_SETTERS__",n=>me=n),qs=t("__VUE_SSR_SETTERS__",n=>ns=n)}const mn=e=>{const t=me;return Mn(e),e.scope.on(),()=>{e.scope.off(),Mn(t)}},to=()=>{me&&me.scope.off(),Mn(null)};function Ii(e){return e.vnode.shapeFlag&4}let ns=!1;function da(e,t=!1){t&&qs(t);const{props:n,children:s}=e.vnode,r=Ii(e);Gc(e,n,r,t),Yc(e,s);const o=r?ha(e,t):void 0;return t&&qs(!1),o}function ha(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ti(new Proxy(e.ctx,Vc));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ma(e):null,o=mn(e);Rt();const i=ht(s,e,0,[e.props,r]);if(xt(),o(),No(i)){if(i.then(to,to),t)return i.then(l=>{no(e,l,t)}).catch(l=>{Jn(l,e,0)});e.asyncDep=i}else no(e,i,t)}else Pi(e,t)}function no(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=si(t)),Pi(e,n)}let so;function Pi(e,t,n){const s=e.type;if(!e.render){if(!t&&so&&!s.render){const r=s.template||hr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=he(he({isCustomElement:o,delimiters:l},i),c);s.render=so(r,f)}}e.render=s.render||Le}{const r=mn(e);Rt();try{Bc(e)}finally{xt(),r()}}}function pa(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}}))}function ma(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return pa(e)},slots:e.slots,emit:e.emit,expose:t}}function ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(si(ti(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}}))}function ga(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function _a(e){return M(e)&&"__vccOpts"in e}const ki=(e,t)=>sc(e,t,ns);function ba(e,t,n){const s=arguments.length;return s===2?Y(t)&&!k(t)?Ks(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ks(n)&&(n=[n]),le(e,t,n))}const ya="3.4.21";/**
+* @vue/runtime-dom v3.4.21
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/const Sa="http://www.w3.org/2000/svg",va="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,ro=ut&&ut.createElement("template"),Ca={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ut.createElementNS(Sa,e):t==="mathml"?ut.createElementNS(va,e):ut.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ro.innerHTML=s==="svg"?``:s==="mathml"?``:e;const l=ro.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},st="transition",Xt="animation",fn=Symbol("_vtc"),gr=(e,{slots:t})=>ba(Oc,Ea(e),t);gr.displayName="Transition";const Ni={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};gr.props=he({},hi,Ni);const St=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},oo=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Ea(e){const t={};for(const I in e)I in Ni||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,A=wa(r),E=A&&A[0],D=A&&A[1],{onBeforeEnter:$,onEnter:ee,onEnterCancelled:j,onLeave:z,onLeaveCancelled:re,onBeforeAppear:H=$,onAppear:ye=ee,onAppearCancelled:V=j}=t,oe=(I,ne,Te)=>{vt(I,ne?u:l),vt(I,ne?f:i),Te&&Te()},Q=(I,ne)=>{I._isLeaving=!1,vt(I,d),vt(I,C),vt(I,g),ne&&ne()},ge=I=>(ne,Te)=>{const Jt=I?ye:ee,fe=()=>oe(ne,I,Te);St(Jt,[ne,fe]),io(()=>{vt(ne,I?c:o),rt(ne,I?u:l),oo(Jt)||lo(ne,s,E,fe)})};return he(t,{onBeforeEnter(I){St($,[I]),rt(I,o),rt(I,i)},onBeforeAppear(I){St(H,[I]),rt(I,c),rt(I,f)},onEnter:ge(!1),onAppear:ge(!0),onLeave(I,ne){I._isLeaving=!0;const Te=()=>Q(I,ne);rt(I,d),Oa(),rt(I,g),io(()=>{I._isLeaving&&(vt(I,d),rt(I,C),oo(z)||lo(I,s,D,Te))}),St(z,[I,Te])},onEnterCancelled(I){oe(I,!1),St(j,[I])},onAppearCancelled(I){oe(I,!0),St(V,[I])},onLeaveCancelled(I){Q(I),St(re,[I])}})}function wa(e){if(e==null)return null;if(Y(e))return[Ss(e.enter),Ss(e.leave)];{const t=Ss(e);return[t,t]}}function Ss(e){return Tl(e)}function rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fn]||(e[fn]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[fn];n&&(n.delete(t),n.size||(e[fn]=void 0))}function io(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Aa=0;function lo(e,t,n,s){const r=e._endId=++Aa,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Ta(e,t);if(!i)return s();const f=i+"end";let u=0;const d=()=>{e.removeEventListener(f,g),o()},g=C=>{C.target===e&&++u>=c&&d()};setTimeout(()=>{u(n[A]||"").split(", "),r=s(`${st}Delay`),o=s(`${st}Duration`),i=co(r,o),l=s(`${Xt}Delay`),c=s(`${Xt}Duration`),f=co(l,c);let u=null,d=0,g=0;t===st?i>0&&(u=st,d=i,g=o.length):t===Xt?f>0&&(u=Xt,d=f,g=c.length):(d=Math.max(i,f),u=d>0?i>f?st:Xt:null,g=u?u===st?o.length:c.length:0);const C=u===st&&/\b(transform|all)(,|$)/.test(s(`${st}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:C}}function co(e,t){for(;e.lengthao(n)+ao(e[s])))}function ao(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Oa(){return document.body.offsetHeight}function Ra(e,t,n){const s=e[fn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const uo=Symbol("_vod"),xa=Symbol("_vsh"),La=Symbol(""),Ia=/(^|;)\s*display\s*:/;function Pa(e,t,n){const s=e.style,r=ce(n);let o=!1;if(n&&!r){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&kn(s,l,"")}else for(const i in t)n[i]==null&&kn(s,i,"");for(const i in n)i==="display"&&(o=!0),kn(s,i,n[i])}else if(r){if(t!==n){const i=s[La];i&&(n+=";"+i),s.cssText=n,o=Ia.test(n)}}else t&&e.removeAttribute("style");uo in e&&(e[uo]=o?s.display:"",e[xa]&&(s.display="none"))}const fo=/\s*!important$/;function kn(e,t,n){if(k(n))n.forEach(s=>kn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ka(e,t);fo.test(n)?e.setProperty(jt(s),n.replace(fo,""),"important"):e[s]=n}}const ho=["Webkit","Moz","ms"],vs={};function ka(e,t){const n=vs[t];if(n)return n;let s=Ke(t);if(s!=="filter"&&s in e)return vs[t]=s;s=Wn(s);for(let r=0;rCs||(Ba.then(()=>Cs=0),Cs=Date.now());function $a(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ie(ja(s,n.value),t,5,[s])};return n.value=e,n.attached=Ma(),n}function ja(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const _o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ha=(e,t,n,s,r,o,i,l,c)=>{const f=r==="svg";t==="class"?Ra(e,s,f):t==="style"?Pa(e,n,s):Hn(t)?er(t)||Da(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ka(e,t,s,f))?Fa(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Na(e,t,s,f))};function Ka(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_o(t)&&M(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return _o(t)&&ce(n)?!1:t in e}const Mt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>Rn(t,n):t};function qa(e){e.target.composing=!0}function bo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye=Symbol("_assign"),en={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ye]=Mt(r);const o=s||r.props&&r.props.type==="number";ft(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Rs(l)),e[Ye](l)}),n&&ft(e,"change",()=>{e.value=e.value.trim()}),t||(ft(e,"compositionstart",qa),ft(e,"compositionend",bo),ft(e,"change",bo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[Ye]=Mt(o),e.composing)return;const i=r||e.type==="number"?Rs(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},ot={deep:!0,created(e,t,n){e[Ye]=Mt(n),ft(e,"change",()=>{const s=e._modelValue,r=Fi(e),o=e.checked,i=e[Ye];if(k(s)){const l=Bo(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const f=[...s];f.splice(l,1),i(f)}}else if(Kn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ui(e,o))})},mounted:yo,beforeUpdate(e,t,n){e[Ye]=Mt(n),yo(e,t,n)}};function yo(e,{value:t,oldValue:n},s){e._modelValue=t,k(t)?e.checked=Bo(t,s.props.value)>-1:Kn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Bt(t,Ui(e,!0)))}const Ge={created(e,{value:t},n){e.checked=Bt(t,n.props.value),e[Ye]=Mt(n),ft(e,"change",()=>{e[Ye](Fi(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ye]=Mt(s),t!==n&&(e.checked=Bt(t,s.props.value))}};function Fi(e){return"_value"in e?e._value:e.value}function Ui(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Wa=he({patchProp:Ha},Ca);let So;function Ga(){return So||(So=Qc(Wa))}const za=(...e)=>{const t=Ga().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ya(s);if(!r)return;const o=t._component;!M(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Ja(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ja(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ya(e){return ce(e)?document.querySelector(e):e}function Di(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xa}=Object.prototype,{getPrototypeOf:_r}=Object,rs=(e=>t=>{const n=Xa.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qe=e=>(e=e.toLowerCase(),t=>rs(t)===e),os=e=>t=>typeof t===e,{isArray:qt}=Array,dn=os("undefined");function Qa(e){return e!==null&&!dn(e)&&e.constructor!==null&&!dn(e.constructor)&&Pe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vi=qe("ArrayBuffer");function Za(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vi(e.buffer),t}const eu=os("string"),Pe=os("function"),Bi=os("number"),is=e=>e!==null&&typeof e=="object",tu=e=>e===!0||e===!1,Nn=e=>{if(rs(e)!=="object")return!1;const t=_r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nu=qe("Date"),su=qe("File"),ru=qe("Blob"),ou=qe("FileList"),iu=e=>is(e)&&Pe(e.pipe),lu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Pe(e.append)&&((t=rs(e))==="formdata"||t==="object"&&Pe(e.toString)&&e.toString()==="[object FormData]"))},cu=qe("URLSearchParams"),au=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),qt(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const $i=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ji=e=>!dn(e)&&e!==$i;function Ws(){const{caseless:e}=ji(this)&&this||{},t={},n=(s,r)=>{const o=e&&Mi(t,r)||r;Nn(t[o])&&Nn(s)?t[o]=Ws(t[o],s):Nn(s)?t[o]=Ws({},s):qt(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(gn(t,(r,o)=>{n&&Pe(r)?e[o]=Di(r,n):e[o]=r},{allOwnKeys:s}),e),fu=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),du=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hu=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&_r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pu=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},mu=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!Bi(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gu=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_r(Uint8Array)),_u=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},bu=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},yu=qe("HTMLFormElement"),Su=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),vo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vu=qe("RegExp"),Hi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};gn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Cu=e=>{Hi(e,(t,n)=>{if(Pe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Pe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Eu=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return qt(e)?s(e):s(String(e).split(t)),n},wu=()=>{},Au=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Es="abcdefghijklmnopqrstuvwxyz",Co="0123456789",Ki={DIGIT:Co,ALPHA:Es,ALPHA_DIGIT:Es+Es.toUpperCase()+Co},Tu=(e=16,t=Ki.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Ou(e){return!!(e&&Pe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ru=e=>{const t=new Array(10),n=(s,r)=>{if(is(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=qt(s)?[]:{};return gn(s,(i,l)=>{const c=n(i,r+1);!dn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},xu=qe("AsyncFunction"),Lu=e=>e&&(is(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),_={isArray:qt,isArrayBuffer:Vi,isBuffer:Qa,isFormData:lu,isArrayBufferView:Za,isString:eu,isNumber:Bi,isBoolean:tu,isObject:is,isPlainObject:Nn,isUndefined:dn,isDate:nu,isFile:su,isBlob:ru,isRegExp:vu,isFunction:Pe,isStream:iu,isURLSearchParams:cu,isTypedArray:gu,isFileList:ou,forEach:gn,merge:Ws,extend:uu,trim:au,stripBOM:fu,inherits:du,toFlatObject:hu,kindOf:rs,kindOfTest:qe,endsWith:pu,toArray:mu,forEachEntry:_u,matchAll:bu,isHTMLForm:yu,hasOwnProperty:vo,hasOwnProp:vo,reduceDescriptors:Hi,freezeMethods:Cu,toObjectSet:Eu,toCamelCase:Su,noop:wu,toFiniteNumber:Au,findKey:Mi,global:$i,isContextDefined:ji,ALPHABET:Ki,generateString:Tu,isSpecCompliantForm:Ou,toJSONObject:Ru,isAsyncFn:xu,isThenable:Lu};function q(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}_.inherits(q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const qi=q.prototype,Wi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wi[e]={value:e}});Object.defineProperties(q,Wi);Object.defineProperty(qi,"isAxiosError",{value:!0});q.from=(e,t,n,s,r,o)=>{const i=Object.create(qi);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),q.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Iu=null;function Gs(e){return _.isPlainObject(e)||_.isArray(e)}function Gi(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function Eo(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gi(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Pu(e){return _.isArray(e)&&!e.some(Gs)}const ku=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function ls(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,D){return!_.isUndefined(D[E])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function f(A){if(A===null)return"";if(_.isDate(A))return A.toISOString();if(!c&&_.isBlob(A))throw new q("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(A)||_.isTypedArray(A)?c&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function u(A,E,D){let $=A;if(A&&!D&&typeof A=="object"){if(_.endsWith(E,"{}"))E=s?E:E.slice(0,-2),A=JSON.stringify(A);else if(_.isArray(A)&&Pu(A)||(_.isFileList(A)||_.endsWith(E,"[]"))&&($=_.toArray(A)))return E=Gi(E),$.forEach(function(j,z){!(_.isUndefined(j)||j===null)&&t.append(i===!0?Eo([E],z,o):i===null?E:E+"[]",f(j))}),!1}return Gs(A)?!0:(t.append(Eo(D,E,o),f(A)),!1)}const d=[],g=Object.assign(ku,{defaultVisitor:u,convertValue:f,isVisitable:Gs});function C(A,E){if(!_.isUndefined(A)){if(d.indexOf(A)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(A),_.forEach(A,function($,ee){(!(_.isUndefined($)||$===null)&&r.call(t,$,_.isString(ee)?ee.trim():ee,E,g))===!0&&C($,E?E.concat(ee):[ee])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return C(e),t}function wo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function br(e,t){this._pairs=[],e&&ls(e,this,t)}const zi=br.prototype;zi.append=function(t,n){this._pairs.push([t,n])};zi.toString=function(t){const n=t?function(s){return t.call(this,s,wo)}:wo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Nu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ji(e,t,n){if(!t)return e;const s=n&&n.encode||Nu,r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new br(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ao{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fu=typeof URLSearchParams<"u"?URLSearchParams:br,Uu=typeof FormData<"u"?FormData:null,Du=typeof Blob<"u"?Blob:null,Vu={isBrowser:!0,classes:{URLSearchParams:Fu,FormData:Uu,Blob:Du},protocols:["http","https","file","blob","url","data"]},Xi=typeof window<"u"&&typeof document<"u",Bu=(e=>Xi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Mu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$u=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xi,hasStandardBrowserEnv:Bu,hasStandardBrowserWebWorkerEnv:Mu},Symbol.toStringTag,{value:"Module"})),He={...$u,...Vu};function ju(e,t){return ls(e,new He.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return He.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Hu(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ku(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Ku(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Hu(s),r,n,0)}),n}return null}function qu(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const yr={transitional:Yi,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Qi(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return ju(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ls(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),qu(t)):t}],transformResponse:[function(t){const n=this.transitional||yr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?q.from(l,q.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:He.classes.FormData,Blob:He.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{yr.headers[e]={}});const Sr=yr,Wu=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gu=e=>{const t={};let n,s,r;return e&&e.split(`
+`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Wu[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},To=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Fn(e){return e===!1||e==null?e:_.isArray(e)?e.map(Fn):String(e)}function zu(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Ju=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ws(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function Yu(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Xu(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class cs{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,f){const u=Qt(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||f===!0||f===void 0&&r[d]!==!1)&&(r[d||c]=Fn(l))}const i=(l,c)=>_.forEach(l,(f,u)=>o(f,u,c));return _.isPlainObject(t)||t instanceof this.constructor?i(t,n):_.isString(t)&&(t=t.trim())&&!Ju(t)?i(Gu(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=Qt(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return zu(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qt(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ws(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=Qt(i),i){const l=_.findKey(s,i);l&&(!n||ws(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||ws(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=Fn(r),delete n[o];return}const l=t?Yu(o):String(o).trim();l!==o&&delete n[o],n[l]=Fn(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),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 s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[To]=this[To]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=Qt(i);s[l]||(Xu(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}cs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(cs.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(cs);const Xe=cs;function As(e,t){const n=this||Sr,s=t||n,r=Xe.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Zi(e){return!!(e&&e.__CANCEL__)}function _n(e,t,n){q.call(this,e??"canceled",q.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(_n,q,{__CANCEL__:!0});function Qu(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new q("Request failed with status code "+n.status,[q.ERR_BAD_REQUEST,q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Zu=He.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!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 ef(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function el(e,t){return e&&!ef(t)?tf(e,t):t}const nf=He.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;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 s=r(window.location.href),function(i){const l=_.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}();function sf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rf(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const f=Date.now(),u=s[o];i||(i=f),n[r]=c,s[r]=f;let d=o,g=0;for(;d!==r;)g+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),f-i{const o=r.loaded,i=r.lengthComputable?r.total:void 0,l=o-n,c=s(l),f=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&f?(i-o)/c:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const of=typeof XMLHttpRequest<"u",lf=of&&function(e){return new Promise(function(n,s){let r=e.data;const o=Xe.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,c;function f(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let u;if(_.isFormData(r)){if(He.hasStandardBrowserEnv||He.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[E,...D]=u?u.split(";").map($=>$.trim()).filter(Boolean):[];o.setContentType([E||"multipart/form-data",...D].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const E=e.auth.username||"",D=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(E+":"+D))}const g=el(e.baseURL,e.url);d.open(e.method.toUpperCase(),Ji(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function C(){if(!d)return;const E=Xe.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),$={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:E,config:e,request:d};Qu(function(j){n(j),f()},function(j){s(j),f()},$),d=null}if("onloadend"in d?d.onloadend=C:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(C)},d.onabort=function(){d&&(s(new q("Request aborted",q.ECONNABORTED,e,d)),d=null)},d.onerror=function(){s(new q("Network Error",q.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let D=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const $=e.transitional||Yi;e.timeoutErrorMessage&&(D=e.timeoutErrorMessage),s(new q(D,$.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,e,d)),d=null},He.hasStandardBrowserEnv&&(l&&_.isFunction(l)&&(l=l(e)),l||l!==!1&&nf(g))){const E=e.xsrfHeaderName&&e.xsrfCookieName&&Zu.read(e.xsrfCookieName);E&&o.set(e.xsrfHeaderName,E)}r===void 0&&o.setContentType(null),"setRequestHeader"in d&&_.forEach(o.toJSON(),function(D,$){d.setRequestHeader($,D)}),_.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),i&&i!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Oo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Oo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=E=>{d&&(s(!E||E.type?new _n(null,e,d):E),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const A=sf(g);if(A&&He.protocols.indexOf(A)===-1){s(new q("Unsupported protocol "+A+":",q.ERR_BAD_REQUEST,e));return}d.send(r||null)})},zs={http:Iu,xhr:lf};_.forEach(zs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ro=e=>`- ${e}`,cf=e=>_.isFunction(e)||e===null||e===!1,tl={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
+`+o.map(Ro).join(`
+`):" "+Ro(o[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:zs};function Ts(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _n(null,e)}function xo(e){return Ts(e),e.headers=Xe.from(e.headers),e.data=As.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tl.getAdapter(e.adapter||Sr.adapter)(e).then(function(s){return Ts(e),s.data=As.call(e,e.transformResponse,s),s.headers=Xe.from(s.headers),s},function(s){return Zi(s)||(Ts(e),s&&s.response&&(s.response.data=As.call(e,e.transformResponse,s.response),s.response.headers=Xe.from(s.response.headers))),Promise.reject(s)})}const Lo=e=>e instanceof Xe?{...e}:e;function $t(e,t){t=t||{};const n={};function s(f,u,d){return _.isPlainObject(f)&&_.isPlainObject(u)?_.merge.call({caseless:d},f,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(f,u,d){if(_.isUndefined(u)){if(!_.isUndefined(f))return s(void 0,f,d)}else return s(f,u,d)}function o(f,u){if(!_.isUndefined(u))return s(void 0,u)}function i(f,u){if(_.isUndefined(u)){if(!_.isUndefined(f))return s(void 0,f)}else return s(void 0,u)}function l(f,u,d){if(d in t)return s(f,u);if(d in e)return s(void 0,f)}const c={url:o,method:o,data:o,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:l,headers:(f,u)=>r(Lo(f),Lo(u),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,g=d(e[u],t[u],u);_.isUndefined(g)&&d!==l||(n[u]=g)}),n}const nl="1.6.8",vr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Io={};vr.transitional=function(t,n,s){function r(o,i){return"[Axios v"+nl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new q(r(i," has been removed"+(n?" in "+n:"")),q.ERR_DEPRECATED);return n&&!Io[i]&&(Io[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function af(e,t,n){if(typeof e!="object")throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new q("option "+o+" must be "+c,q.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new q("Unknown option "+o,q.ERR_BAD_OPTION)}}const Js={assertOptions:af,validators:vr},it=Js.validators;class $n{constructor(t){this.defaults=t,this.interceptors={request:new Ao,response:new Ao}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
+`+o):s.stack=o}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$t(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Js.assertOptions(s,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:Js.assertOptions(r,{encode:it.function,serialize:it.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],A=>{delete o[A]}),n.headers=Xe.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(c=c&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const f=[];this.interceptors.response.forEach(function(E){f.push(E.fulfilled,E.rejected)});let u,d=0,g;if(!c){const A=[xo.bind(this),void 0];for(A.unshift.apply(A,l),A.push.apply(A,f),g=A.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new _n(o,i,l),n(s.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)}static source(){let t;return{token:new Cr(function(r){t=r}),cancel:t}}}const uf=Cr;function ff(e){return function(n){return e.apply(null,n)}}function df(e){return _.isObject(e)&&e.isAxiosError===!0}const Ys={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(Ys).forEach(([e,t])=>{Ys[t]=e});const hf=Ys;function sl(e){const t=new Un(e),n=Di(Un.prototype.request,t);return _.extend(n,Un.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return sl($t(e,r))},n}const U=sl(Sr);U.Axios=Un;U.CanceledError=_n;U.CancelToken=uf;U.isCancel=Zi;U.VERSION=nl;U.toFormData=ls;U.AxiosError=q;U.Cancel=U.CanceledError;U.all=function(t){return Promise.all(t)};U.spread=ff;U.isAxiosError=df;U.mergeConfig=$t;U.AxiosHeaders=Xe;U.formToJSON=e=>Qi(_.isHTMLForm(e)?new FormData(e):e);U.getAdapter=tl.getAdapter;U.HttpStatusCode=hf;U.default=U;function pf(){return rl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function rl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const mf=typeof Proxy=="function",gf="devtools-plugin:setup",_f="plugin:settings:set";let kt,Xs;function bf(){var e;return kt!==void 0||(typeof window<"u"&&window.performance?(kt=!0,Xs=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(kt=!0,Xs=globalThis.perf_hooks.performance):kt=!1),kt}function yf(){return bf()?Xs.now():Date.now()}class Sf{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const l=t.settings[i];s[i]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(r),l=JSON.parse(i);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch{}o=i},now(){return yf()}},n&&n.on(_f,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(f=>{this.targetQueue.push({method:l,args:c,resolve:f})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function vf(e,t){const n=e,s=rl(),r=pf(),o=mf&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(gf,e,t);else{const i=o?new Sf(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
+ * vuex v4.1.0
+ * (c) 2022 Evan You
+ * @license MIT
+ */var Cf="store";function Wt(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function ol(e){return e!==null&&typeof e=="object"}function Ef(e){return e&&typeof e.then=="function"}function wf(e,t){return function(){return e(t)}}function il(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function ll(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;as(e,n,[],e._modules.root,!0),Er(e,n,t)}function Er(e,t,n){var s=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},l={},c=Nl(!0);c.run(function(){Wt(o,function(f,u){i[u]=wf(f,e),l[u]=ki(function(){return i[u]()}),Object.defineProperty(e.getters,u,{get:function(){return l[u].value},enumerable:!0})})}),e._state=zn({data:t}),e._scope=c,e.strict&&xf(e),s&&n&&e._withCommit(function(){s.data=null}),r&&r.stop()}function as(e,t,n,s,r){var o=!n.length,i=e._modules.getNamespace(n);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!r){var l=wr(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit(function(){l[c]=s.state})}var f=s.context=Af(e,i,n);s.forEachMutation(function(u,d){var g=i+d;Tf(e,g,u,f)}),s.forEachAction(function(u,d){var g=u.root?d:i+d,C=u.handler||u;Of(e,g,C,f)}),s.forEachGetter(function(u,d){var g=i+d;Rf(e,g,u,f)}),s.forEachChild(function(u,d){as(e,t,n.concat(d),u,r)})}function Af(e,t,n){var s=t==="",r={dispatch:s?e.dispatch:function(o,i,l){var c=jn(o,i,l),f=c.payload,u=c.options,d=c.type;return(!u||!u.root)&&(d=t+d),e.dispatch(d,f)},commit:s?e.commit:function(o,i,l){var c=jn(o,i,l),f=c.payload,u=c.options,d=c.type;(!u||!u.root)&&(d=t+d),e.commit(d,f,u)}};return Object.defineProperties(r,{getters:{get:s?function(){return e.getters}:function(){return cl(e,t)}},state:{get:function(){return wr(e.state,n)}}}),r}function cl(e,t){if(!e._makeLocalGettersCache[t]){var n={},s=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,s)===t){var o=r.slice(s);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Tf(e,t,n,s){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(i){n.call(e,s.state,i)})}function Of(e,t,n,s){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(i){var l=n.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return Ef(l)||(l=Promise.resolve(l)),e._devtoolHook?l.catch(function(c){throw e._devtoolHook.emit("vuex:error",c),c}):l})}function Rf(e,t,n,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(s.state,s.getters,o.state,o.getters)})}function xf(e){nn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function wr(e,t){return t.reduce(function(n,s){return n[s]},e)}function jn(e,t,n){return ol(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Lf="vuex bindings",Po="vuex:mutations",Os="vuex:actions",Nt="vuex",If=0;function Pf(e,t){vf({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Lf]},function(n){n.addTimelineLayer({id:Po,label:"Vuex Mutations",color:ko}),n.addTimelineLayer({id:Os,label:"Vuex Actions",color:ko}),n.addInspector({id:Nt,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===Nt)if(s.filter){var r=[];dl(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[fl(t._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===Nt){var r=s.nodeId;cl(t,r),s.state=Ff(Df(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===Nt){var r=s.nodeId,o=s.path;r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,r){var o={};s.payload&&(o.payload=s.payload),o.state=r,n.notifyComponentUpdate(),n.sendInspectorTree(Nt),n.sendInspectorState(Nt),n.addTimelineEvent({layerId:Po,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,r){var o={};s.payload&&(o.payload=s.payload),s._id=If++,s._time=Date.now(),o.state=r,n.addTimelineEvent({layerId:Os,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,r){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=r,n.addTimelineEvent({layerId:Os,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var ko=8702998,kf=6710886,Nf=16777215,al={label:"namespaced",textColor:Nf,backgroundColor:kf};function ul(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function fl(e,t){return{id:t||"root",label:ul(t),tags:e.namespaced?[al]:[],children:Object.keys(e._children).map(function(n){return fl(e._children[n],t+n+"/")})}}function dl(e,t,n,s){s.includes(n)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[al]:[]}),Object.keys(t._children).forEach(function(r){dl(e,t._children[r],n,s+r+"/")})}function Ff(e,t,n){t=n==="root"?t:t[n];var s=Object.keys(t),r={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=Uf(t);r.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?ul(i):i,editable:!1,value:Qs(function(){return o[i]})}})}return r}function Uf(e){var t={};return Object.keys(e).forEach(function(n){var s=n.split("/");if(s.length>1){var r=t,o=s.pop();s.forEach(function(i){r[i]||(r[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),r=r[i]._custom.value}),r[o]=Qs(function(){return e[n]})}else t[n]=Qs(function(){return e[n]})}),t}function Df(e,t){var n=t.split("/").filter(function(s){return s});return n.reduce(function(s,r,o){var i=s[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Qs(e){try{return e()}catch(t){return t}}var De=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},hl={namespaced:{configurable:!0}};hl.namespaced.get=function(){return!!this._rawModule.namespaced};De.prototype.addChild=function(t,n){this._children[t]=n};De.prototype.removeChild=function(t){delete this._children[t]};De.prototype.getChild=function(t){return this._children[t]};De.prototype.hasChild=function(t){return t in this._children};De.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};De.prototype.forEachChild=function(t){Wt(this._children,t)};De.prototype.forEachGetter=function(t){this._rawModule.getters&&Wt(this._rawModule.getters,t)};De.prototype.forEachAction=function(t){this._rawModule.actions&&Wt(this._rawModule.actions,t)};De.prototype.forEachMutation=function(t){this._rawModule.mutations&&Wt(this._rawModule.mutations,t)};Object.defineProperties(De.prototype,hl);var Lt=function(t){this.register([],t,!1)};Lt.prototype.get=function(t){return t.reduce(function(n,s){return n.getChild(s)},this.root)};Lt.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(s,r){return n=n.getChild(r),s+(n.namespaced?r+"/":"")},"")};Lt.prototype.update=function(t){pl([],this.root,t)};Lt.prototype.register=function(t,n,s){var r=this;s===void 0&&(s=!0);var o=new De(n,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&Wt(n.modules,function(l,c){r.register(t.concat(c),l,s)})};Lt.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1],r=n.getChild(s);r&&r.runtime&&n.removeChild(s)};Lt.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1];return n?n.hasChild(s):!1};function pl(e,t,n){if(t.update(n),n.modules)for(var s in n.modules){if(!t.getChild(s))return;pl(e.concat(s),t.getChild(s),n.modules[s])}}function Vf(e){return new Ae(e)}var Ae=function(t){var n=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Lt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,l=this,c=l.dispatch,f=l.commit;this.dispatch=function(g,C){return c.call(i,g,C)},this.commit=function(g,C,A){return f.call(i,g,C,A)},this.strict=r;var u=this._modules.root.state;as(this,u,[],this._modules.root),Er(this,u),s.forEach(function(d){return d(n)})},Ar={state:{configurable:!0}};Ae.prototype.install=function(t,n){t.provide(n||Cf,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&Pf(t,this)};Ar.state.get=function(){return this._state.data};Ar.state.set=function(e){};Ae.prototype.commit=function(t,n,s){var r=this,o=jn(t,n,s),i=o.type,l=o.payload,c={type:i,payload:l},f=this._mutations[i];f&&(this._withCommit(function(){f.forEach(function(d){d(l)})}),this._subscribers.slice().forEach(function(u){return u(c,r.state)}))};Ae.prototype.dispatch=function(t,n){var s=this,r=jn(t,n),o=r.type,i=r.payload,l={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(l,s.state)})}catch{}var f=c.length>1?Promise.all(c.map(function(u){return u(i)})):c[0](i);return new Promise(function(u,d){f.then(function(g){try{s._actionSubscribers.filter(function(C){return C.after}).forEach(function(C){return C.after(l,s.state)})}catch{}u(g)},function(g){try{s._actionSubscribers.filter(function(C){return C.error}).forEach(function(C){return C.error(l,s.state,g)})}catch{}d(g)})})}};Ae.prototype.subscribe=function(t,n){return il(t,this._subscribers,n)};Ae.prototype.subscribeAction=function(t,n){var s=typeof t=="function"?{before:t}:t;return il(s,this._actionSubscribers,n)};Ae.prototype.watch=function(t,n,s){var r=this;return nn(function(){return t(r.state,r.getters)},n,Object.assign({},s))};Ae.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Ae.prototype.registerModule=function(t,n,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),as(this,this.state,t,this._modules.get(t),s.preserveState),Er(this,this.state)};Ae.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=wr(n.state,t.slice(0,-1));delete s[t[t.length-1]]}),ll(this)};Ae.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Ae.prototype.hotUpdate=function(t){this._modules.update(t),ll(this,!0)};Ae.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Ae.prototype,Ar);var Ze=gl(function(e,t){var n={};return ml(t).forEach(function(s){var r=s.key,o=s.val;n[r]=function(){var l=this.$store.state,c=this.$store.getters;if(e){var f=_l(this.$store,"mapState",e);if(!f)return;l=f.context.state,c=f.context.getters}return typeof o=="function"?o.call(this,l,c):l[o]},n[r].vuex=!0}),n}),Bf=gl(function(e,t){var n={};return ml(t).forEach(function(s){var r=s.key,o=s.val;n[r]=function(){for(var l=[],c=arguments.length;c--;)l[c]=arguments[c];var f=this.$store.commit;if(e){var u=_l(this.$store,"mapMutations",e);if(!u)return;f=u.context.commit}return typeof o=="function"?o.apply(this,[f].concat(l)):f.apply(this.$store,[o].concat(l))}}),n});function ml(e){return Mf(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Mf(e){return Array.isArray(e)||ol(e)}function gl(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function _l(e,t,n){var s=e._modulesNamespaceMap[n];return s}const et=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},$f={data(){return{artistsArrayList:[],lastClickedItem:null,showDrop:!1}},created(){this.loadList(),U.get("/api/getLastArtist").then(e=>{e.data!==""&&(this.lastClickedItem=e.data)})},computed:{...Ze(["allowButtons","sourceTab","artist"])},watch:{"$store.state.loadListRequest"(e){e&&(this.$store.commit("SET_LOAD_REQUEST",!1),this.loadList())}},methods:{loadList(){U.get("/api/loadList").then(e=>{this.artistsArrayList=e.data}).catch(e=>{console.error(e)})},handleItemClick(e){this.lastClickedItem=e,U.post("/api/listOrTabClick",{item:e,origin:"list"}).then(t=>{this.$store.commit("SET_SELECTED_ARTIST",e),this.$store.commit("SET_TABLE_CONTENT",t.data)}).catch(t=>{console.error(t)})},clickAddArtist(){this.$store.commit("SET_ADD_VIS",!0)},clickDeleteArtist(){this.lastClickedItem!==""&&U.get("/api/clickArtistDelete").then(()=>{this.$store.commit("SET_SELECTED_ARTIST",""),this.$store.commit("SET_SOURCE_TAB","combview"),this.loadList()}).catch(e=>{console.error(e)})},showMore(){this.showDrop=!this.showDrop},deleteUrl(){U.post("/api/deleteUrl").then(()=>{this.handleItemClick(this.lastClickedItem)})}}},jf={class:"buttonspace"},Hf=["disabled"],Kf={key:0,class:"dropdown"},qf=["disabled"],Wf=["disabled"],Gf={class:"artistlist"},zf=["onMousedown"],Jf={class:"listitems"};function Yf(e,t,n,s,r,o){return x(),L(_e,null,[p("div",jf,[p("button",{onMousedown:t[0]||(t[0]=i=>o.clickAddArtist()),class:"addbtn",disabled:!e.allowButtons},"add",40,Hf),p("button",{onClick:t[1]||(t[1]=i=>o.showMore()),class:"morebtn"},"more"),r.showDrop?(x(),L("div",Kf,[p("button",{onClick:t[2]||(t[2]=i=>o.deleteUrl()),disabled:e.sourceTab==null||e.sourceTab=="combview"||e.artist==""||!e.allowButtons,class:"deletebtn"},"delete selected URL",8,qf),p("button",{onClick:t[3]||(t[3]=i=>o.clickDeleteArtist()),disabled:e.artist==""||!e.allowButtons,class:"deletebtn"},"delete artist",8,Wf)])):B("",!0)]),p("div",Gf,[(x(!0),L(_e,null,Ds(r.artistsArrayList,i=>(x(),L("li",{key:i,onMousedown:l=>o.handleItemClick(i),class:Ee([{highlighted:i===r.lastClickedItem},"listbtn"])},[p("div",Jf,ze(i),1)],42,zf))),128)),(x(!0),L(_e,null,Ds(r.artistsArrayList,i=>(x(),L("li",{key:i}))),128))])],64)}const Xf=et($f,[["render",Yf],["__scopeId","data-v-18b2502f"]]),Qf="/assets/optionsblack-vjTCXWXl.png",Zf="/assets/optionsdark-ymr6Vwzk.png",ed="/assets/optionslight-B8QchSUy.png",td="/assets/refreshuniversal-3TIkIW2C.png",nd={data(){return{activeTab:"",eventSource:null,scrapeColor:"var(--accent-color)",scrapeNotice:!1,scrapeLast:"-"}},computed:{...Ze(["sourceTab","allowButtons","primaryColor"])},created(){this.activeTab=this.sourceTab,U.post("/api/fillCombview").catch(e=>{console.error(e)}).then(()=>{this.sourceTab===""?this.setStoreTab("combview"):this.handleSourceClick(this.sourceTab)}),U.get("/api/getScrapeDate").then(e=>{this.scrapeLast=e.data})},watch:{sourceTab(e){this.activeTab=e,e&&this.handleSourceClick(e)}},methods:{setStoreTab(e){this.$store.commit("SET_SOURCE_TAB",e)},handleSourceClick(e){U.post("/api/listOrTabClick",{item:e,origin:"tab"}).then(t=>{this.$store.commit("SET_TABLE_CONTENT",t.data)}).catch(t=>{console.error(t)})},clickScrape(){this.allowButtons?(this.$store.commit("SET_ALLOW_BUTTONS",!1),this.scrapeColor="var(--dull-color)",this.eventSource=new EventSource("/progress"),this.eventSource.onmessage=t=>{const n=parseFloat(t.data);this.$store.commit("SET_PROGRESS",n)},U.post("/api/clickScrape").then(()=>{this.scrapeColor="var(--accent-color)",this.$store.commit("SET_ALLOW_BUTTONS",!0),this.eventSource.close();let t=new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",hour:"2-digit",minute:"2-digit"}).replace(/\//g,".").replace(",","").replace(/(\d{2})\.(\d{2})/,"$1.$2.");this.scrapeLast=t,this.scrapeNotice=!0,this.handleSourceClick("combview"),U.post("/api/setSetting",{name:"lastScrape",value:t}).catch(n=>{console.error(n)})})):U.post("/api/cancelScrape").then(()=>{this.$store.commit("SET_ALLOW_BUTTONS",!0),this.scrapeColor="var(--accent-color)"})},scrapeHover(){this.scrapeNotice=!0},scrapeMouseOff(){this.scrapeNotice=!1},openSettings(){this.$store.commit("SET_SETTINGS_OPEN",!0)}}},sd=e=>(Ht("data-v-671de189"),e=e(),Kt(),e),rd={class:"wrapper"},od={class:"tabs"},id=["disabled"],ld={key:0,class:"image",src:Qf,alt:"Settings"},cd={key:1,class:"image",src:Zf,alt:"Settings"},ad={key:2,class:"image",src:ed,alt:"Settings"},ud=sd(()=>p("img",{class:"image",src:td,alt:"Refresh"},null,-1)),fd=[ud];function dd(e,t,n,s,r,o){return x(),L("div",rd,[p("div",od,[p("div",{onMousedown:t[0]||(t[0]=i=>o.setStoreTab("combview")),class:Ee([{active:r.activeTab==="combview"},"cvtab"])},"Combined view",34),p("div",{onMousedown:t[1]||(t[1]=i=>o.setStoreTab("beatport")),class:Ee([{active:r.activeTab==="beatport"},"stab"])},"BP",34),p("div",{onMousedown:t[2]||(t[2]=i=>o.setStoreTab("musicbrainz")),class:Ee([{active:r.activeTab==="musicbrainz"},"stab"])},"MB",34),p("div",{onMousedown:t[3]||(t[3]=i=>o.setStoreTab("junodownload")),class:Ee([{active:r.activeTab==="junodownload"},"stab"])},"JD",34),p("div",{onMousedown:t[4]||(t[4]=i=>o.setStoreTab("youtube")),class:Ee([{active:r.activeTab==="youtube"},"stab"])},"YT",34)]),p("button",{onClick:t[5]||(t[5]=i=>o.openSettings()),class:"imgbutton1",disabled:!e.allowButtons},[e.primaryColor==="Black"?(x(),L("img",ld)):e.primaryColor==="Dark"?(x(),L("img",cd)):e.primaryColor==="Light"?(x(),L("img",ad)):B("",!0)],8,id),p("button",{onClick:t[6]||(t[6]=i=>o.clickScrape()),onMouseover:t[7]||(t[7]=i=>o.scrapeHover()),onMouseleave:t[8]||(t[8]=i=>o.scrapeMouseOff()),style:pn({"background-color":r.scrapeColor}),class:"imgbutton2"},fd,36),le(gr,{name:"fade"},{default:ai(()=>[r.scrapeNotice?(x(),L("div",{key:0,class:"scrapenotice",onMouseover:t[9]||(t[9]=i=>o.scrapeMouseOff())},[p("p",null,"Last scrape: "+ze(r.scrapeLast),1)],32)):B("",!0)]),_:1})])}const hd=et(nd,[["render",dd],["__scopeId","data-v-671de189"]]),pd={mounted(){this.isDateInFuture},computed:{...Ze(["tableData","previewVis","artist","isoDates","sourceTab","urlExists"]),hideArtistColumn(){return this.tableData.some(e=>e.artist===null)},hideTable(){return this.tableData.some(e=>e.song!==null)}},methods:{isDateInFuture(e){return new Date(e)>new Date},formatDate(e){if(this.isoDates)return e;{const t=new Date(e),n=t.getDate(),s=t.getMonth()+1,r=t.getFullYear();return`${n}. ${s}. ${r}`}}}},bn=e=>(Ht("data-v-19adbfff"),e=e(),Kt(),e),md={key:0,class:"table-container"},gd={class:"table-header"},_d=bn(()=>p("th",{class:"song"},"song",-1)),bd={key:0,class:"artist"},yd=bn(()=>p("th",{class:"date"},"date",-1)),Sd={class:"table-body"},vd=bn(()=>p("td",null,[p("br")],-1)),Cd={class:"tdsong"},Ed={key:0,class:"tdartist"},wd={class:"tddate"},Ad={key:1,class:"emptynotice"},Td=bn(()=>p("p",null,"table empty",-1)),Od=[Td],Rd={key:2,class:"quickstart"},xd=bn(()=>p("p",null,[p("span",{class:"title"},"Quickstart guide"),pe(),p("br"),pe(' 1. click "add" to add an artist, select the artist '),p("br"),pe(" 2. click on any BP / MB / JD / YT button at the top to select a source "),p("br"),pe(" 3. find the artist on the website, copy & paste the link or ID "),p("br"),pe(" 4. to scrape, click refresh button in the top right corner "),p("br")],-1)),Ld=[xd];function Id(e,t,n,s,r,o){return x(),L(_e,null,[o.hideTable?(x(),L("div",md,[p("div",gd,[p("table",null,[p("tr",null,[_d,o.hideArtistColumn?B("",!0):(x(),L("th",bd,"artist")),yd])])]),p("div",Sd,[p("table",null,[p("tbody",null,[vd,(x(!0),L(_e,null,Ds(e.tableData,(i,l)=>(x(),L("tr",{key:l,class:Ee({"future-date":o.isDateInFuture(i.date)})},[p("td",Cd,ze(i.song),1),o.hideArtistColumn?B("",!0):(x(),L("td",Ed,ze(i.artist),1)),p("td",wd,ze(o.formatDate(i.date)),1)],2))),128))])])])])):B("",!0),e.urlExists&&!o.hideTable&&!e.previewVis&&e.sourceTab!=="combview"?(x(),L("div",Ad,Od)):B("",!0),!e.urlExists&&!o.hideTable&&!e.previewVis&&e.sourceTab==="combview"?(x(),L("div",Rd,Ld)):B("",!0)],64)}const Pd=et(pd,[["render",Id],["__scopeId","data-v-19adbfff"]]),Gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAYCAAAGAgHyxpylAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABwpJREFUeJzt3UmMFGUYh/FnlBiNGxITTbjoRQ+elBAFObpePLmgLAm7u8ywyQ7KIsuwGRdgALeIaDx4cDfRRGKMRr0YE2+Y6MEtosZoXGgP73ScNDD2VL1vfbX8fxcCTH1dyTz5uqq66uueVquFiLdTUu+A1JPCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQo1LvgCR1KTABuAD4CjgMfO0xsMJqpsuBXcCkjn8/BrwC9GKhZdajhdca5xbgGeD0YX7mR+Ba4LOsL6KwmuU24Dm6e6f6BrgM+DnLC+ngvTkm031UAGOBhVlfTDNWM0wGnmXkx9RHgIuzvKDCqr/bsahOzbj9GOCnkW6kt8J6u4N8UQGckWUjhVVfU7CzvzxR/QH8kGVDhVVPU4GnyRcVwHvAn1k2VFj1Mw14ivxRAfRn3VBh1ct04AA+UT0GvJN1Y50V1sd0YD8+UT0/ON4/WQdQWPWQ95LCUC9iB/5/5xlEb4XVNwO7ou4R1SEcogKFVXUzgAF8fo+HsLPJ3FGBwqqymfhF9QKOUYHCqqqZwF78opqGY1SgG/2qyDuqqeQ4+zsZzVjVMgu/qA4SFBUorCqZBezB53d2gMCoQGFVxWx8o5qN3d8eRmGV32xgNz6/q/0UEBUorLKbg29UcyggKlBYZTYHeJIKRgUKq6w8Z6p9FBwVKKwymotF1eMw1r7B8QqNChRW2czF3v48ohogUVSgsMpkHr5RzSNRVKCwymIe8AQ+Ue0lcVSgsMrgTnyjupPEUYHCSm0+8Dg1mqnaFFY684Ht+ES1B4uqNPeZK6w0erGoPOzB3v5KExUorBR6gW1OY+2mhFGBwipaH75R3UUJowKFVaQ+cjxZ3GEHJY4KFFZRFuAbVS8ljgoUVhEWAFudxtqORVV6CivWQnyj6nMaK5zCirMQ2OI01jYqFBUorCiL8I1qgdNYhVFY/hYBm53G6qeCUYHC8rYY36gyL4edmsLysxjY5DTWViocFSgsL0vwjWqR01jJKKz8lgCPOI21hRpEBcUvCjIKuBK4ZPDvXwIf4bzSSYG8o1rsNFZyRYV1GnZ20wec3/F/32MHqtuAvwraHw9rgNVOY23GIq2NItYgHQ28Ckz8n587DNxEhq/XSGANimpY0WH1AG8B13T5859g35NX5rjWAqucxtoEPOg0VqlEH7xPofuoAMYBbwPnxexOboqqS9Fh3Zthm3HYLDfaeV/yeghF1bXIt8KzgKNkXyb6Y+C6wTFSexhY4TTWGmzmq7XIGetC8q09Pp5yzFyKKoPIsH53GGM88CZwrsNYWazDL6rVNCQqiH0r7AG+4/jrVll8ip0EFHm2uA5Y7jTWauwYrTEiZ6wW8LLTWFcAr1PczLUev6hW0bCoIP461kXA58CZTuN9CFwP/OI03omsB5Y5jbUKO0ZrnOjLDUewZaS91hO4CngDOMdpvE4b8ItqJQ2NCoq5u+EQvksVTiAmrg3AUqexVmLHaI1V1G0z+/FdXa4d19lO423EL6oVNDwqKPZ+LO/1ML3i2ojfVfAV2DFa46X4hlXPBfEBPgBuAH4d4XY92LN6Dzjtx3Ls7VRIcwep9/qYE7FLESOZuRRVsFS3Jg/gu/zO1XQfVw+2/oFXVMtQVMdJec97e2nDIuNqR3W/02suw47RpEPqhyki4noNu7OiUw+wE7+olqKoTip1WPDfSr9ecU3CZq6hcbWjus/pNZbi9xBFLaU4KzwZz29lALuH/kbgN2AX2W467NTClhHa6TBWrZUpLPBdSB/gfeCLwXHzUlQjULawwM7WvJap9tLCls/elXpHqqIMx1iddlKutaAUVQZFPwndrR2Df3qthZ5VC5tBH028H5VTxhmrbQdpZy5FlUOZwwKbsVIsktHCziIVVUZlDwtsWZ8iF8toAfdgX54kGVUhLLCVWIpY36AF3I1d8pAcyni5YTiea6Z3amHf9rA7aPxGqcqM1daP352eQ7Wwj5UUlZOqhQX2GZ3XAw9g94XNw76eTZxUMSywuwo8nvtrR7XXYSwZoqphgd1cl+fx92PYB98DPrsjQ1U5LLAHF1Zm3HYu9oCHBKh6WGCPWo30wdC1KKpQVbvcMJx+uvsIqP19fxKoTmEB3IxdMhhzgv87il38PFjoHjVU3cJqmwTcCowFvgVeAt5NukcNU9ewJLE6HLxLCSksCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAnxL3WBYWyxSXBfAAAAAElFTkSuQmCC",zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAYCAAAGAgHyxpylAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABw9JREFUeJzt3cmrHFUUx/HvcULBIbpRcKMbXbhSUBHc6l/gbBTU5MUJNM6zRo1Gk5gYccjkjCMuXIkDKjiigjvBnYIKThhBUETfcVH1NDxMeK/6nLq3qn9fqE1e+tbtqg/1uvt13zZ3R6no9ig9ATXOBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEp7lZ6AKpeZHQ2cBBwKfA287+7fhIyt9bGmLzM7FtgEnDzvR7PAq8BKd/96on0I1nRlZqcDTwP77ua//Qyc4u6fd96PYE1PZnYm8CwLewj0LXCMu//aZV968D4lmdlZLBwVwOHANZ33pyvW+GtRPcPin6x95e5HdtqnYI07MzubBtWeHYc4xN1/WeyN9KtwxJnZOUyGCmC/LjcSrJFmZufSPPubBNUfwE9dbihYI8zMlgJPMRkqgHfd/c8uNxSskWVm5wFPMjkqgPVdbyhYI8rMzgeeIAbVw+7+Vue56FnhOGpRPU4MqueA8939787zEazhF/CSws69BJzr7n9NMoh+FQ48M7uA5hX1CFQvEoAKBGvQtai2EXMeXwSWRqACwRpsZnYhcaheIBAVCNYga1FtJQ7VeZGoQO8gHVwJqJZO8uxvV+mKNaDM7CLiUD1PEioQrMHUotpCzDl7gkRUIFiDyMyWEYtqmbvPBoy1ywSr8lpUm4k5V4/TAyoQrKozs+XEolreByoQrGprUT3GAFGBYFVZ8JVqOz2jAsGqLjOboUFlAcNtB2b6RgWCVVUtqseIQbWNQqhAsKrJzFYQi2pFKVQgWFXUonqUGFRbKYwKBKt4ZnYxsaguLo0KBKtoZnYl8AgjulLNJViFalFtIAbVFhpU1bzPXLAKZGYraVBFtIXm1181qECweq9F9UDQcJupEBUIVq+Z2VXEorqkRlQgWL3Vour8yeJ5baRiVKC3JveSmV0NrAsabqO7rwwaKy1dsZILRrVhCKhAsFIzs2uIRXVV0FjpCVZSLaq1QcM9MCRUIFgpmdm1xKK6Omis3hKs4FpU9wcNt36IqECwQjOz64hF1Xk57NIJVlAtqvuChls3ZFQgWCGZ2fXEoro2aKxiCdaEtajWBA23dgyooOdX3s1sL+BE4Kj2n74EPole6aSvElBdFzRW+dw9fQP2AW4EfgR83vYDcD2wdx9zCbxPd/zPfem63Vf6/oQfnx5OwBLggwUc3PeAg0sfEKEaACyad0e+uYiD/FntuIBVgajWlL4/Q4W1tMPBrhaXUNUD6+OOB/1TYEnpgzPvvtwpVAvf0tZ5N7P9gR10Xyb6U+BUd98RN6tumdldwC1Bw93h7quCxqq2zNexDmOytcePB94wsyVB8+mUUHUrE9bvAWMcD7xuZgcFjLXozOxu4lDdPi2oIBfWd3T8rrt5nQC8bWYHB4y14FpUNwcNd7u73xk01iBKg+XNg7dXgoY7DnitryuXma0mDtVt04YKSH9WeATwG3HPpj4CDkye8+rA+d5a+tlZqS1/B3Am8HfgyfowCxdwT+A8byl9ckcNqz1hF9aOS6gGCKs9cRcl4DogaG73Bs7r5tIntYat353F4/pgUlxCNQJY7YlcVgMumj+Qbwycx02lT2ZNW5mdxuN6fzG4hGqksNqTuxyY7RtXi+rBwP3eWPok1riV3XnPuIRqSmAl4XoP2H8XqDYF7ueG0seu5q34BNqTPpOJS6imFFYmrhbVQ0FjzgJXlD5WQ9jS3ujXpeCF9KHB9QWwImAsB1a6+4MBY42+qmABmNkVxC1THZUDV7r7ptITGUrVfRK6vSLUtBaUUHWoOlgA7r4RqGFJRKd5TCVUi6xKWPAvrpJXrjlUDxWcw2CrFhaAu28ASiyS4cDlQtW9qmEBuPs6oM/FMhy4zN0f6XGfo6t6WADuvpZm4ZD0XQGXuvujPexr1FX3csPuCl4zfX5O820Pm5PGn6oGccWay93X0yyHFD40zZcdCVVQg4IF4O5rgJsCh5yl+a6/LYFjTn2DgwXg7vcS87m/OVRbA8ZSOzVIWADufg+Tffx9Fphx921BU1I7NVhYAO6+Gri1481n3H175HzUfw0aFoC73w3ctcibrRKq3Ab1csPuMrP1LOxPQIP4vr+hNxpYAGZ2Gs1X2h7yPz/eQfPi5/P9zmo6GxWsuczsZOAM4HDge+Bld3+n7Kymq1HCUuUb/IN3VWeCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqpX8Abns5VFEOJoIAAAAASUVORK5CYII=",kd={data:()=>({input:""}),computed:{...Ze(["tableData","sourceTab","allowButtons","artist","addDialogVis","primaryColor","urlExists"])},watch:{tableData(){this.determineDiagShow()}},methods:{clickURL(){const e=encodeURIComponent(this.input);this.input="",e&&U.post("/api/clickAddURL",e).then(()=>{const t=this.artist;U.post("/api/listOrTabClick",{item:t,origin:"list"}).then(n=>{this.$store.commit("SET_TABLE_CONTENT",n.data),this.$store.commit("SET_PREVIEW_VIS",!0)})}).catch(t=>{console.error(t)})},determineDiagShow(){this.tableData.length===0?U.get("/api/checkExistURL").then(e=>{this.$store.commit("SET_URL_EXISTS",e.data)}).catch(e=>{console.error(e)}):this.$store.commit("SET_URL_EXISTS",!0)}}},ae=e=>(Ht("data-v-0fe96286"),e=e(),Kt(),e),Nd={key:0},Fd={key:0,class:"dialog"},Ud=ae(()=>p("h1",null,"MusicBrainz source",-1)),Dd={class:"artist"},Vd=ae(()=>p("p",null,[p("a",{href:"https://musicbrainz.org",target:"_blank"},"https://musicbrainz.org"),pe(" > find artist > copy URL")],-1)),Bd=ae(()=>p("br",null,null,-1)),Md=ae(()=>p("p",null,"Example link:",-1)),$d=ae(()=>p("p",null,[pe("https://musicbrainz.org/artist/"),p("span",{class:"variabletext"},"id/...")],-1)),jd={key:0,class:"image",src:Gt,alt:"OK"},Hd={key:1,class:"image",src:zt,alt:"OK"},Kd={key:1,class:"dialog"},qd=ae(()=>p("h1",null,"Beatport source",-1)),Wd={class:"artist"},Gd=ae(()=>p("p",null,[p("a",{href:"https://beatport.com",target:"_blank"},"https://beatport.com"),pe(" > find artist > copy URL")],-1)),zd=ae(()=>p("br",null,null,-1)),Jd=ae(()=>p("p",null,"Example link:",-1)),Yd=ae(()=>p("p",null,[pe("https://beatport.com/artist/"),p("span",{class:"variabletext"},"artistname/id/...")],-1)),Xd={key:0,class:"image",src:Gt,alt:"OK"},Qd={key:1,class:"image",src:zt,alt:"OK"},Zd={key:2,class:"dialog"},eh=ae(()=>p("h1",null,"Junodownload source",-1)),th={class:"artist"},nh=ae(()=>p("p",null,[p("a",{href:"https://junodownload.com",target:"_blank"},"https://junodownload.com"),pe(" > find artist > copy URL")],-1)),sh=ae(()=>p("br",null,null,-1)),rh=ae(()=>p("p",null,"Example link:",-1)),oh=ae(()=>p("p",null,[pe("https://junodownload.com/artists/"),p("span",{class:"variabletext"},"artistname/...")],-1)),ih={key:0,class:"image",src:Gt,alt:"OK"},lh={key:1,class:"image",src:zt,alt:"OK"},ch={key:3,class:"dialog"},ah=ae(()=>p("h1",null,"Youtube source",-1)),uh={class:"artist"},fh=ae(()=>p("p",null,[p("a",{href:"https://youtube.com",target:"_blank"},"https://youtube.com")],-1)),dh=ae(()=>p("p",null,[pe(' Find an auto-generated channel with "Topic" in its name. '),p("br"),pe("Obtain the ID (share > copy channel ID) or copy URL. "),p("br"),pe("An ID needs to be provided, not a channel handle. ")],-1)),hh=ae(()=>p("p",null,"Example link:",-1)),ph=ae(()=>p("p",null,[pe("https://youtube.com/channel/"),p("span",{class:"variabletext"},"UCwZEU0wAwIyZb...")],-1)),mh={key:0,class:"image",src:Gt,alt:"OK"},gh={key:1,class:"image",src:zt,alt:"OK"};function _h(e,t,n,s,r,o){return!e.urlExists&&e.allowButtons&&e.artist&&!e.addDialogVis?(x(),L("div",Nd,[e.sourceTab==="musicbrainz"?(x(),L("div",Fd,[Ud,p("p",Dd,ze(e.artist),1),Vd,Bd,Md,$d,ie(p("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",jd)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Hd)):B("",!0)])])):e.sourceTab==="beatport"?(x(),L("div",Kd,[qd,p("p",Wd,ze(e.artist),1),Gd,zd,Jd,Yd,ie(p("input",{"onUpdate:modelValue":t[2]||(t[2]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[3]||(t[3]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",Xd)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Qd)):B("",!0)])])):e.sourceTab==="junodownload"?(x(),L("div",Zd,[eh,p("p",th,ze(e.artist),1),nh,sh,rh,oh,ie(p("input",{"onUpdate:modelValue":t[4]||(t[4]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[5]||(t[5]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",ih)):B("",!0),e.primaryColor==="Light"?(x(),L("img",lh)):B("",!0)])])):e.sourceTab==="youtube"?(x(),L("div",ch,[ah,p("p",uh,ze(e.artist),1),fh,dh,hh,ph,ie(p("input",{"onUpdate:modelValue":t[6]||(t[6]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[7]||(t[7]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",mh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",gh)):B("",!0)])])):B("",!0)])):B("",!0)}const bh=et(kd,[["render",_h],["__scopeId","data-v-0fe96286"]]),Tr="/assets/crossdark-CYntds6r.png",Or="/assets/crosslight-CRspF710.png",yh={data:()=>({input:"",rules:[e=>!!e.trim(),e=>(e||"").length<=25]}),computed:{...Ze(["addDialogVis","primaryColor"]),isValid(){return this.rules.every(e=>e(this.input)===!0)}},methods:{clickAdd(){const e=encodeURIComponent(this.input);U.post("/api/clickArtistAdd",e).then(()=>{this.input="",this.$store.commit("SET_SELECTED_ARTIST",""),this.$store.commit("SET_ADD_VIS",!1),this.$store.commit("SET_LOAD_REQUEST",!0)}).catch(t=>{console.error(t)})},clickClose(){this.$store.commit("SET_ADD_VIS",!1)}}},Sh=e=>(Ht("data-v-cb695d37"),e=e(),Kt(),e),vh={key:0,class:"wrapper"},Ch=Sh(()=>p("div",{class:"card-text"},[p("p",{class:"text--primary"},"Type artist's name and confirm.")],-1)),Eh={class:"diag-actions"},wh={key:0,class:"image",src:Tr,alt:"X"},Ah={key:1,class:"image",src:Or,alt:"X"},Th=["disabled"],Oh={key:0,class:"image",src:Gt,alt:"OK"},Rh={key:1,class:"image",src:zt,alt:"OK"};function xh(e,t,n,s,r,o){return e.addDialogVis?(x(),L("div",vh,[Ch,p("div",Eh,[ie(p("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i),class:Ee({invalid:!o.isValid})},null,2),[[en,e.input]]),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickClose&&o.clickClose(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",wh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Ah)):B("",!0)]),p("button",{onClick:t[2]||(t[2]=(...i)=>o.clickAdd&&o.clickAdd(...i)),class:"imgbutton",disabled:!o.isValid},[e.primaryColor!=="Light"?(x(),L("img",Oh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Rh)):B("",!0)],8,Th)])])):B("",!0)}const Lh=et(yh,[["render",xh],["__scopeId","data-v-cb695d37"]]),Ih={computed:{...Ze(["progress"])},methods:{...Bf(["setProgress"])}},Ph={class:"progress-container"};function kh(e,t,n,s,r,o){return x(),L("div",Ph,[p("div",{class:"progressbar",style:pn({width:`${e.progress}%`})},null,4)])}const Nh=et(Ih,[["render",kh],["__scopeId","data-v-d29e2d3a"]]),Fh="/assets/blcktext-QjjfTEs8.png",Uh="/assets/MRTlogo-BpL2l-3G.png",Dh={data(){return{theme:"",accent:"",settingsProtection:!0,dbProtection:!0,filters:{Remix:!1,VIP:!1,Instrumental:!1,Acoustic:!1,Extended:!1,Remaster:!1},theme:{Black:!1,Dark:!1,Light:!1},isoDates:!1,autoTheme:!1}},computed:{...Ze(["primaryColor","accentColor"])},created(){U.get("/api/settingsOpened").then(e=>{this.filters=e.data,this.isoDates=e.data.isoDates,this.autoTheme=e.data.autoTheme}).catch(e=>{console.error(e)}),this.theme=this.primaryColor,this.accent=this.accentColor},methods:{clickClose(){this.$store.commit("SET_SETTINGS_OPEN",!1)},setSetting(e,t){switch(e){case"theme":this.$store.commit("SET_PRIMARY_COLOR",this.theme);case"accent":this.$store.commit("SET_ACCENT_COLOR",this.accent);case"isoDates":this.$store.commit("SET_ISODATES",this.isoDates)}U.post("/api/setSetting",{name:e,value:t}).catch(n=>{console.error(n)})},resetSettings(){this.settingsProtection==!0?this.settingsProtection=!1:U.post("/api/resetSettings").then(()=>{this.clickClose()}).catch(e=>{console.error(e)})},resetDB(){this.dbProtection==!0?this.dbProtection=!1:U.post("/api/resetDB").then(()=>{this.clickClose()}).catch(e=>{console.error(e)})},resetProtection(){this.settingsProtection=!0,this.dbProtection=!0}}},ue=e=>(Ht("data-v-6b545924"),e=e(),Kt(),e),Vh={class:"settings"},Bh={key:0,class:"image",src:Tr,alt:"X"},Mh={key:1,class:"image",src:Or,alt:"X"},$h={class:"filterscont"},jh=ue(()=>p("p",null,[p("span",{class:"title"},"Exclusion filters"),p("br"),pe("Select types of songs to be hidden in Combined view.")],-1)),Hh={class:"filters-buttons"},Kh=ue(()=>p("label",null,"Remix",-1)),qh=ue(()=>p("label",null,"VIP",-1)),Wh=ue(()=>p("label",null,"Instrumental",-1)),Gh=ue(()=>p("label",null,"Acoustic",-1)),zh=ue(()=>p("label",null,"Extended",-1)),Jh=ue(()=>p("label",null,"Remaster",-1)),Yh={class:"appearance"},Xh=ue(()=>p("p",{class:"title"},"Appearance",-1)),Qh={class:"appearancecont"},Zh={class:"theme-buttons"},ep=["disabled"],tp=["disabled"],np=["disabled"],sp=ue(()=>p("div",{class:"colorindicator"},null,-1)),rp={class:"accent-buttons"},op=ue(()=>p("label",null,"Lavender",-1)),ip=ue(()=>p("label",null,"Cactus",-1)),lp=ue(()=>p("label",null,"Rose",-1)),cp=ue(()=>p("label",null,"Warm",-1)),ap=ue(()=>p("label",null,"Cloud",-1)),up=ue(()=>p("label",null,"Ocean",-1)),fp={class:"belowAppearance"},dp=ue(()=>p("label",null,"Match system theme",-1)),hp={class:"other"},pp=ue(()=>p("p",{class:"title"},"Other",-1)),mp={class:"flex-items"},gp={class:"flex-padding"},_p=ue(()=>p("label",null,"Dates in yyyy-MM-dd (ISO 8601)",-1)),bp={class:"danger"},yp=ue(()=>p("p",{class:"title"},"Danger zone",-1)),Sp={class:"dangercont"},vp=ia('',1);function Cp(e,t,n,s,r,o){return x(),L("div",Vh,[p("button",{onClick:t[0]||(t[0]=i=>o.clickClose()),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",Bh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Mh)):B("",!0)]),p("section",$h,[jh,p("div",Hh,[p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=i=>r.filters.Remix=i),onChange:t[2]||(t[2]=i=>o.setSetting("filters.Remix",i.target.checked))},null,544),[[ot,r.filters.Remix]]),Kh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=i=>r.filters.VIP=i),onChange:t[4]||(t[4]=i=>o.setSetting("filters.VIP",i.target.checked))},null,544),[[ot,r.filters.VIP]]),qh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=i=>r.filters.Instrumental=i),onChange:t[6]||(t[6]=i=>o.setSetting("filters.Instrumental",i.target.checked))},null,544),[[ot,r.filters.Instrumental]]),Wh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[7]||(t[7]=i=>r.filters.Acoustic=i),onChange:t[8]||(t[8]=i=>o.setSetting("filters.Acoustic",i.target.checked))},null,544),[[ot,r.filters.Acoustic]]),Gh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[9]||(t[9]=i=>r.filters.Extended=i),onChange:t[10]||(t[10]=i=>o.setSetting("filters.Extended",i.target.checked))},null,544),[[ot,r.filters.Extended]]),zh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[11]||(t[11]=i=>r.filters.Remaster=i),onChange:t[12]||(t[12]=i=>o.setSetting("filters.Remaster",i.target.checked))},null,544),[[ot,r.filters.Remaster]]),Jh])])]),p("section",Yh,[Xh,p("div",Qh,[p("div",Zh,[ie(p("input",{type:"radio","onUpdate:modelValue":t[13]||(t[13]=i=>r.theme=i),value:"Black",onChange:t[14]||(t[14]=i=>o.setSetting("theme","Black")),disabled:r.autoTheme},null,40,ep),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Black",2),ie(p("input",{type:"radio","onUpdate:modelValue":t[15]||(t[15]=i=>r.theme=i),value:"Dark",onChange:t[16]||(t[16]=i=>o.setSetting("theme","Dark")),disabled:r.autoTheme},null,40,tp),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Dark",2),ie(p("input",{type:"radio","onUpdate:modelValue":t[17]||(t[17]=i=>r.theme=i),value:"Light",onChange:t[18]||(t[18]=i=>o.setSetting("theme","Light")),disabled:r.autoTheme},null,40,np),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Light",2),sp]),p("div",rp,[ie(p("input",{type:"radio","onUpdate:modelValue":t[19]||(t[19]=i=>r.accent=i),value:"Lavender",onChange:t[20]||(t[20]=i=>o.setSetting("accent","Lavender"))},null,544),[[Ge,r.accent]]),op,ie(p("input",{type:"radio","onUpdate:modelValue":t[21]||(t[21]=i=>r.accent=i),value:"Cactus",onChange:t[22]||(t[22]=i=>o.setSetting("accent","Cactus"))},null,544),[[Ge,r.accent]]),ip,ie(p("input",{type:"radio","onUpdate:modelValue":t[23]||(t[23]=i=>r.accent=i),value:"Rose",onChange:t[24]||(t[24]=i=>o.setSetting("accent","Rose"))},null,544),[[Ge,r.accent]]),lp,ie(p("input",{type:"radio","onUpdate:modelValue":t[25]||(t[25]=i=>r.accent=i),value:"Warm",onChange:t[26]||(t[26]=i=>o.setSetting("accent","Warm"))},null,544),[[Ge,r.accent]]),cp,ie(p("input",{type:"radio","onUpdate:modelValue":t[27]||(t[27]=i=>r.accent=i),value:"Cloud",onChange:t[28]||(t[28]=i=>o.setSetting("accent","Cloud"))},null,544),[[Ge,r.accent]]),ap,ie(p("input",{type:"radio","onUpdate:modelValue":t[29]||(t[29]=i=>r.accent=i),value:"Ocean",onChange:t[30]||(t[30]=i=>o.setSetting("accent","Ocean"))},null,544),[[Ge,r.accent]]),up])]),p("div",fp,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[31]||(t[31]=i=>r.autoTheme=i),onChange:t[32]||(t[32]=i=>o.setSetting("autoTheme",i.target.checked))},null,544),[[ot,r.autoTheme]]),dp])]),p("section",hp,[pp,p("div",mp,[p("div",gp,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[33]||(t[33]=i=>r.isoDates=i),onChange:t[34]||(t[34]=i=>o.setSetting("isoDates",i.target.checked))},null,544),[[ot,r.isoDates]]),_p])])]),p("section",bp,[yp,p("div",Sp,[r.settingsProtection?(x(),L("button",{key:0,onClick:t[35]||(t[35]=i=>o.resetSettings())},"Reset settings")):B("",!0),r.settingsProtection?B("",!0):(x(),L("button",{key:1,onClick:t[36]||(t[36]=i=>o.resetSettings()),onMouseleave:t[37]||(t[37]=i=>o.resetProtection())},"confirm",32)),r.dbProtection?(x(),L("button",{key:2,onClick:t[38]||(t[38]=i=>o.resetDB())},"Reset database")):B("",!0),r.dbProtection?B("",!0):(x(),L("button",{key:3,onClick:t[39]||(t[39]=i=>o.resetDB()),onMouseleave:t[40]||(t[40]=i=>o.resetProtection())},"confirm",32))])]),vp])}const Ep=et(Dh,[["render",Cp],["__scopeId","data-v-6b545924"]]),wp={computed:{...Ze(["tableData","primaryColor"]),hideTable(){return this.tableData.length==0}},methods:{clickCancel(){U.request("/api/cleanArtistSource").catch(e=>{console.error(e)}),this.$store.commit("SET_PREVIEW_VIS",!1)},clickConfirm(){U.request("/api/saveUrl").catch(e=>{console.error(e)}),this.$store.commit("SET_PREVIEW_VIS",!1)}}},Ap=e=>(Ht("data-v-85018fb6"),e=e(),Kt(),e),Tp={class:"preview"},Op=Ap(()=>p("h1",null,"preview",-1)),Rp={key:0},xp={key:1},Lp=["disabled"],Ip={key:0,class:"image",src:Gt,alt:"OK"},Pp={key:1,class:"image",src:zt,alt:"OK"},kp={key:0,class:"image",src:Tr,alt:"X"},Np={key:1,class:"image",src:Or,alt:"X"};function Fp(e,t,n,s,r,o){return x(),L("div",Tp,[Op,o.hideTable?B("",!0):(x(),L("p",Rp,"Confirm only if the table has usable information.")),o.hideTable?(x(),L("p",xp,"Incorrect link.")):B("",!0),p("button",{onClick:t[0]||(t[0]=(...i)=>o.clickConfirm&&o.clickConfirm(...i)),class:"imgbutton",disabled:o.hideTable},[e.primaryColor!=="Light"?(x(),L("img",Ip)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Pp)):B("",!0)],8,Lp),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickCancel&&o.clickCancel(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",kp)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Np)):B("",!0)])])}const Up=et(wp,[["render",Fp],["__scopeId","data-v-85018fb6"]]);U.defaults.baseURL="http://localhost:57782";const Dp={data(){return{appliedStyles:[],theme:"",accent:""}},components:{ArtistList:Xf,SourceMenu:hd,SourceTable:Pd,DialogsURL:bh,AddArtistDialog:Lh,ProgressBar:Nh,SettingsWindow:Ep,PreviewDialog:Up},created(){this.loadTheme(),this.detectTheme()},computed:{...Ze(["settingsOpen","primaryColor","accentColor","previewVis"])},watch:{primaryColor(e){this.theme=e,this.applyTheme(e,this.accent)},accentColor(e){this.accent=e,this.applyTheme(this.theme,e)}},methods:{loadTheme(){U.get("/api/getThemeConfig").then(e=>{this.$store.commit("SET_PRIMARY_COLOR",e.data.theme),this.$store.commit("SET_ACCENT_COLOR",e.data.accent)}).catch(e=>{console.error(e)})},detectTheme(){U.get("/api/settingsOpened").then(e=>{const t=window.matchMedia("(prefers-color-scheme: dark)");e.data.autoTheme==!0&&(t.matches?this.$store.commit("SET_PRIMARY_COLOR","Black"):this.$store.commit("SET_PRIMARY_COLOR","Light"))}).catch(e=>{console.error(e)})},applyTheme(e,t){this.appliedStyles.forEach(r=>{r.remove()}),this.appliedStyles=[];let n,s;e!==""&&(n=`./primary${e}.css`,s=document.createElement("link"),s.rel="stylesheet",s.href=n,document.head.appendChild(s),this.appliedStyles.push(s)),t!==""&&(n=`./secondary${t}.css`,s=document.createElement("link"),s.rel="stylesheet",s.href=n,document.head.appendChild(s),this.appliedStyles.push(s))}}},Vp={key:0,class:"app"},Bp={class:"list"},Mp={class:"maincontent"},$p={key:0,class:"topbar"},jp={class:"sourcetable"},Hp={key:1,class:"dialogsurl"},Kp={class:"progressbar"},qp={key:1,class:"app"};function Wp(e,t,n,s,r,o){const i=nt("ArtistList"),l=nt("PreviewDialog"),c=nt("SourceMenu"),f=nt("AddArtistDialog"),u=nt("SourceTable"),d=nt("DialogsURL"),g=nt("ProgressBar"),C=nt("SettingsWindow");return x(),L(_e,null,[e.settingsOpen?B("",!0):(x(),L("div",Vp,[p("div",Bp,[e.previewVis?B("",!0):(x(),Hs(i,{key:0})),e.previewVis?(x(),Hs(l,{key:1,class:"preview"})):B("",!0)]),p("div",Mp,[e.previewVis?B("",!0):(x(),L("div",$p,[le(c)])),le(f),p("div",jp,[le(u)]),e.previewVis?B("",!0):(x(),L("div",Hp,[le(d)]))]),p("div",Kp,[le(g)])])),e.settingsOpen?(x(),L("div",qp,[le(C)])):B("",!0)],64)}const Gp=et(Dp,[["render",Wp],["__scopeId","data-v-e34fd722"]]),zp={artist:"",sourceTab:"",tableData:[],addDialogVis:!1,loadListRequest:!1,allowButtons:!0,progress:0,settingsOpen:!1,primaryColor:"",accentColor:"",previewVis:!1,isoDates:!1,urlExists:!1},Jp={SET_SOURCE_TAB(e,t){e.sourceTab=t},SET_SELECTED_ARTIST(e,t){e.artist=t},SET_TABLE_CONTENT(e,t){e.tableData=t,e.addDialogVis=!1},SET_ADD_VIS(e,t){e.addDialogVis=t},SET_LOAD_REQUEST(e,t){e.loadListRequest=t},SET_ALLOW_BUTTONS(e,t){e.allowButtons=t},SET_PROGRESS(e,t){e.progress=t*100,e.progress==100&&(e.progress=0)},SET_SETTINGS_OPEN(e,t){e.settingsOpen=t},SET_PRIMARY_COLOR(e,t){e.primaryColor=t},SET_ACCENT_COLOR(e,t){e.accentColor=t},SET_PREVIEW_VIS(e,t){e.previewVis=t},SET_ISODATES(e,t){e.isoDates=t},SET_URL_EXISTS(e,t){e.urlExists=t}},Yp={},Xp={},Qp=Vf({state:zp,mutations:Jp,actions:Yp,getters:Xp}),bl=za(Gp);bl.use(Qp);bl.mount("#app");
diff --git a/src/test/testresources/testdb.db b/src/test/testresources/testdb.db
new file mode 100644
index 0000000000000000000000000000000000000000..189e3ce11637b21719ab683c4ea79be8651c2f26
GIT binary patch
literal 32768
zcmeI)&1=(O90%|xP1mq!Ovg|+
zExVyRYL1K(jwAO}l@M~s-XrWCz7nh;ggb1@MariY56P{a*U98BB3}JK=)u^}vE8wF
zQcHefyLdqW0uX=z1Rwwb2tWV=5IDO)OBCg)DXw$J(W`Z1!)jD_Ok+3Pjx3c6`AR{p
z98LjCoH|nV=&33NGMOjg}gHf+n
z{|{TiCehPp5M*6On_nvzSMuej>Vv}5IjL>e8|{|4QMGlm`NHeV3sw!?*|uzdL|$a8
z-Lz`fZnJLbwUc`LR@-S;{Xt5z^NECw4RqM{J$v1{BuY5Mi6p`
zTfV2~FgjqbbCR>a-FH5{HEb}rBGfeMD75H+$E6V
z+&bRk|E5`Y47*|UJsaSz|MT>S(C_p!J)-Z1#Sim@00bZa0SG_<0uX=z1Rwwb2wX6M
zYg|G}$%J^h`>2qZaL2c087ZE{Q$gIx6_-~Qi_42^saQ0ub;E8e-P+kOEU~tDdQ9jK
zb_L*=ez{_Gfk3#zE1bXLpW{!;T1?`V
z(cn&i==1;d?P(1n4gm;200Izz00bZa0SG_<0uX?}{}Pzw!|(C$|3<)neg6M95Bjeq
literal 0
HcmV?d00001
From 837305c0739e37ebe3fe688c8f59f63381c08460 Mon Sep 17 00:00:00 2001
From: BLCK <123077751+BLCK-B@users.noreply.github.com>
Date: Sun, 26 May 2024 10:00:57 +0200
Subject: [PATCH 17/22] fixed slow batching
---
.../Core/ErrorLogging.java | 2 -
.../MusicReleaseTracker/DB/DBqueries.java | 113 ++++++++----------
.../DB/ManageMigrateDB.java | 23 ++--
.../MusicReleaseTracker/GUIController.java | 8 +-
.../Scraping/ScrapeProcess.java | 15 ++-
.../blck/MusicReleaseTracker/StartSetup.java | 2 -
.../Scraping/ScrapeProcessTest.java | 9 +-
.../blck/MusicReleaseTracker/helperDB.java | 23 ++--
src/test/testresources/testdb.db | Bin 32768 -> 32768 bytes
9 files changed, 91 insertions(+), 104 deletions(-)
diff --git a/src/main/java/com/blck/MusicReleaseTracker/Core/ErrorLogging.java b/src/main/java/com/blck/MusicReleaseTracker/Core/ErrorLogging.java
index 5b93fb8..2ee2fc3 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/Core/ErrorLogging.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/Core/ErrorLogging.java
@@ -41,7 +41,6 @@ public void error(Exception e, Severity level, String message) {
FileHandler fileHandler = null;
try {
final String errorLogs = store.getErrorLogsPath();
- // filehandler logging the error
fileHandler = new FileHandler(errorLogs, true);
fileHandler.setFormatter(new SimpleFormatter());
// clear log when it reaches approx 0.1 MB
@@ -50,7 +49,6 @@ public void error(Exception e, Severity level, String message) {
if (logFileSize > 100000) {
Files.write(path, new byte[0], StandardOpenOption.TRUNCATE_EXISTING);
}
- // log the error
logger.addHandler(fileHandler);
switch (level) {
case SEVERE -> logger.log(Level.SEVERE, message, e);
diff --git a/src/main/java/com/blck/MusicReleaseTracker/DB/DBqueries.java b/src/main/java/com/blck/MusicReleaseTracker/DB/DBqueries.java
index 3d4242f..7abd04e 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/DB/DBqueries.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/DB/DBqueries.java
@@ -49,9 +49,8 @@ public List getArtistList() {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT artist FROM artists ORDER BY artist LIMIT 500");
- while (rs.next()) {
+ while (rs.next())
dataList.add(rs.getString("artist"));
- }
stmt.close();
rs.close();
} catch (SQLException e) {
@@ -61,17 +60,15 @@ public List getArtistList() {
}
public List loadTable(SourcesEnum source, String name) {
- // adding data to tableContent
List tableContent = new ArrayList<>();
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- String sql = "SELECT song, date FROM " + source + " WHERE artist = ? ORDER BY date DESC LIMIT 100";
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement(
+ "SELECT song, date FROM " + source + " WHERE artist = ? ORDER BY date DESC LIMIT 100");
pstmt.setString(1, name);
ResultSet rs = pstmt.executeQuery();
while (rs.next()) {
- String songsCol = rs.getString("song");
- String datesCol = rs.getString("date");
- tableContent.add(new TableModel(songsCol, null, datesCol));
+ tableContent.add(new TableModel(
+ rs.getString("song"), null, rs.getString("date")));
}
pstmt.close();
rs.close();
@@ -88,10 +85,8 @@ public List loadCombviewTable() {
PreparedStatement pstmt = conn.prepareStatement(sql);
ResultSet rs = pstmt.executeQuery();
while (rs.next()) {
- String songsCol = rs.getString("song");
- String artistsCol = rs.getString("artist");
- String datesCol = rs.getString("date");
- tableContent.add(new TableModel(songsCol, artistsCol, datesCol));
+ tableContent.add(new TableModel(
+ rs.getString("song"), rs.getString("artist"), rs.getString("date")));
}
pstmt.close();
rs.close();
@@ -103,8 +98,8 @@ public List loadCombviewTable() {
public void insertIntoArtistList(String name) {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- String sql = "INSERT INTO artists (artist) values(?)";
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement(
+ "INSERT INTO artists (artist) values(?)");
pstmt.setString(1, name);
pstmt.executeUpdate();
pstmt.close();
@@ -136,9 +131,9 @@ public void updateArtistSourceID(String name, SourcesEnum source, String newID)
public String getArtistSourceID(String name, SourcesEnum source) {
String ID = null;
- String sql = "SELECT url" + source + " FROM artists WHERE artist = ?";
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement(
+ "SELECT url" + source + " FROM artists WHERE artist = ?");
pstmt.setString(1, name);
ID = pstmt.executeQuery().getString(1);
pstmt.close();
@@ -150,8 +145,8 @@ public String getArtistSourceID(String name, SourcesEnum source) {
public void clearArtistDataFrom(String name, String table) {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- String sql = "DELETE FROM " + table + " WHERE artist = ?";
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement(
+ "DELETE FROM " + table + " WHERE artist = ?");
pstmt.setString(1, name);
pstmt.executeUpdate();
} catch (SQLException e) {
@@ -166,16 +161,16 @@ public void removeArtist(String name) {
public void truncateScrapeData(boolean all) {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
+ Statement stmt = conn.createStatement();
if (all) {
- for (SourcesEnum sourceTable : SourcesEnum.values()) {
- String sql = "DELETE FROM " + sourceTable;
- Statement stmt = conn.createStatement();
- stmt.executeUpdate(sql);
- }
+ for (SourcesEnum sourceTable : SourcesEnum.values())
+ stmt.addBatch("DELETE FROM " + sourceTable);
}
- String sql = "DELETE FROM combview";
- Statement stmt = conn.createStatement();
- stmt.executeUpdate(sql);
+ stmt.addBatch("DELETE FROM combview");
+ conn.setAutoCommit(false);
+ stmt.executeBatch();
+ conn.setAutoCommit(true);
+ stmt.close();
} catch (SQLException e) {
log.error(e, ErrorLogging.Severity.WARNING, "error clearing DB");
}
@@ -186,9 +181,8 @@ public ArrayList getSourceTablesDataForCombview() {
ArrayList songObjectList = new ArrayList<>();
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
for (SourcesEnum source : SourcesEnum.values()) {
- String sql = "SELECT * FROM " + source + " ORDER BY date DESC LIMIT 200";
Statement stmt = conn.createStatement();
- ResultSet rs = stmt.executeQuery(sql);
+ ResultSet rs = stmt.executeQuery("SELECT * FROM " + source + " ORDER BY date DESC LIMIT 200");
while (rs.next()) {
String songName = rs.getString("song");
String songArtist = rs.getString("artist");
@@ -214,7 +208,6 @@ public ArrayList getSourceTablesDataForCombview() {
}
private boolean filterWords(String songName, String songType) {
- // filtering user-selected keywords
for (String checkword : store.getFilterWords()) {
if (songType != null) {
if ((songType.toLowerCase()).contains(checkword.toLowerCase()))
@@ -230,26 +223,26 @@ public LinkedList getAllScrapers() {
// creating a list of scraper objects: one scraper holds one URL
LinkedList scrapers = new LinkedList<>();
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- String sql = "SELECT artist FROM artists LIMIT 500";
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement(
+ "SELECT artist FROM artists LIMIT 500");
ResultSet artistResults = pstmt.executeQuery();
// cycling artists
while (artistResults.next()) {
String artist = artistResults.getString("artist");
// cycling sources
for (SourcesEnum webSource : SourcesEnum.values()) {
- sql = "SELECT * FROM artists WHERE artist = ? LIMIT 100";
- pstmt = conn.prepareStatement(sql);
+ pstmt = conn.prepareStatement(
+ "SELECT * FROM artists WHERE artist = ? LIMIT 100");
pstmt.setString(1, artist);
ResultSet rs = pstmt.executeQuery();
String url = rs.getString("url" + webSource);
if (url == null)
continue;
switch (webSource) {
- case musicbrainz -> scrapers.add(new ScraperMusicbrainz(log, this, artist, url));
- case beatport -> scrapers.add(new ScraperBeatport(log, this, artist, url));
- case junodownload -> scrapers.add(new ScraperJunodownload(log, this, artist, url));
- case youtube -> scrapers.add(new ScraperYoutube(log, this, artist, url));
+ case musicbrainz -> scrapers.add(new ScraperMusicbrainz(log, this, artist, url));
+ case beatport -> scrapers.add(new ScraperBeatport(log, this, artist, url));
+ case junodownload -> scrapers.add(new ScraperJunodownload(log, this, artist, url));
+ case youtube -> scrapers.add(new ScraperYoutube(log, this, artist, url));
}
}
}
@@ -262,44 +255,42 @@ public LinkedList getAllScrapers() {
public void batchInsertSongs(ArrayList songList, SourcesEnum source, int limit) {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- int i = 0;
String sql;
- PreparedStatement pstmt = null;
+ boolean types = false;
+ if (songList.get(0).getType() != null && source != null) {
+ sql = "insert into " + source + "(song, artist, date, type) values(?, ?, ?, ?)";
+ types = true;
+ } else {
+ if (source != null)
+ sql = "insert into " + source + "(song, artist, date) values(?, ?, ?)";
+ else
+ sql = "insert into combview(song, artist, date) values(?, ?, ?)";
+ }
+ PreparedStatement pstmt = conn.prepareStatement(sql);
+ int i = 0;
for (Song songObject : songList) {
if (i == limit)
break;
- if (songObject.getType() != null && source != null) {
- sql = "insert into " + source + "(song, artist, date, type) values(?, ?, ?, ?)";
- pstmt = conn.prepareStatement(sql);
- pstmt.setString(1, songObject.getName());
- pstmt.setString(2, songObject.getArtist());
- pstmt.setString(3, songObject.getDate());
+ pstmt.setString(1, songObject.getName());
+ pstmt.setString(2, songObject.getArtist());
+ pstmt.setString(3, songObject.getDate());
+ if (types)
pstmt.setString(4, songObject.getType());
- } else {
- if (source != null)
- sql = "insert into " + source + "(song, artist, date) values(?, ?, ?)";
- else
- sql = "insert into combview(song, artist, date) values(?, ?, ?)";
- pstmt = conn.prepareStatement(sql);
- pstmt.setString(1, songObject.getName());
- pstmt.setString(2, songObject.getArtist());
- pstmt.setString(3, songObject.getDate());
- }
- pstmt.executeUpdate();
- i++;
+ ++i;
+ pstmt.addBatch();
}
conn.setAutoCommit(false);
- conn.commit();
+ pstmt.executeBatch();
conn.setAutoCommit(true);
+ pstmt.close();
} catch (SQLException e) {
- log.error(e, ErrorLogging.Severity.SEVERE, "error inserting a set of songs");
+ log.error(e, ErrorLogging.Severity.SEVERE, "error inserting a batch of songs");
}
}
public void vacuum() {
try (Connection conn = DriverManager.getConnection(store.getDBpath())) {
- String sql = "VACUUM;";
- PreparedStatement pstmt = conn.prepareStatement(sql);
+ PreparedStatement pstmt = conn.prepareStatement("VACUUM;");
pstmt.execute();
pstmt.close();
} catch (SQLException e) {
diff --git a/src/main/java/com/blck/MusicReleaseTracker/DB/ManageMigrateDB.java b/src/main/java/com/blck/MusicReleaseTracker/DB/ManageMigrateDB.java
index dde7001..6a21939 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/DB/ManageMigrateDB.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/DB/ManageMigrateDB.java
@@ -37,6 +37,7 @@ public ManageMigrateDB(ValueStore valueStore, ErrorLogging errorLogging) {
public void createDBandSourceTables(String path) {
// note: generate by string templates after preview
try (Connection conn = DriverManager.getConnection(path)) {
+ Statement stmt = conn.createStatement();
String sql = """
CREATE TABLE IF NOT EXISTS musicbrainz (
song text NOT NULL,
@@ -44,8 +45,7 @@ CREATE TABLE IF NOT EXISTS musicbrainz (
date text NOT NULL
);
""";
- Statement stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
sql = """
CREATE TABLE IF NOT EXISTS beatport (
@@ -55,8 +55,7 @@ CREATE TABLE IF NOT EXISTS beatport (
type text NOT NULL
);
""";
- stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
sql = """
CREATE TABLE IF NOT EXISTS junodownload (
@@ -65,8 +64,7 @@ CREATE TABLE IF NOT EXISTS junodownload (
date text NOT NULL
);
""";
- stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
sql = """
CREATE TABLE IF NOT EXISTS youtube (
@@ -75,8 +73,7 @@ CREATE TABLE IF NOT EXISTS youtube (
date text NOT NULL
);
""";
- stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
sql = """
CREATE TABLE IF NOT EXISTS artists (
@@ -87,8 +84,7 @@ CREATE TABLE IF NOT EXISTS artists (
urlyoutube text
);
""";
- stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
sql = """
CREATE TABLE IF NOT EXISTS combview (
@@ -97,9 +93,11 @@ CREATE TABLE IF NOT EXISTS combview (
date text NOT NULL
);
""";
- stmt = conn.createStatement();
- stmt.execute(sql);
+ stmt.addBatch(sql);
+ conn.setAutoCommit(false);
+ stmt.executeBatch();
+ conn.setAutoCommit(true);
stmt.close();
} catch (SQLException e) {
log.error(e, ErrorLogging.Severity.SEVERE, "error creating DB file");
@@ -148,7 +146,6 @@ public void migrateDB() {
pstmt.executeBatch();
connDBtemplate.commit();
connDBtemplate.setAutoCommit(true);
- pstmt.clearBatch();
pstmt.close();
} catch (Exception e) {
log.error(e, ErrorLogging.Severity.SEVERE, "error updating DB file");
diff --git a/src/main/java/com/blck/MusicReleaseTracker/GUIController.java b/src/main/java/com/blck/MusicReleaseTracker/GUIController.java
index 20158a8..d086779 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/GUIController.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/GUIController.java
@@ -162,12 +162,8 @@ public HashMap settingsOpened() {
config.readConfig(ConfigTools.configOptions.filters);
ArrayList filterWords = store.getFilterWords();
String[] allFilters = new String[]{"Acoustic", "Extended", "Instrumental", "Remaster", "Remix", "VIP"};
- for (String filter : allFilters) {
- if (filterWords.contains(filter))
- configData.put(filter, true);
- else
- configData.put(filter, false);
- }
+ for (String filter : allFilters)
+ configData.put(filter, filterWords.contains(filter));
config.readConfig(ConfigTools.configOptions.isoDates);
configData.put("isoDates", store.getIsoDates());
diff --git a/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java b/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
index 489e85c..a6752e9 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
@@ -7,6 +7,9 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -37,9 +40,9 @@ public class ScrapeProcess {
private final SSEController SSE;
@Autowired
- public ScrapeProcess(ErrorLogging errorLogging, DBqueries DB, SSEController sseController) {
+ public ScrapeProcess(ErrorLogging errorLogging, DBqueries dBqueries, SSEController sseController) {
this.log = errorLogging;
- this.DB = DB;
+ this.DB = dBqueries;
this.SSE = sseController;
}
@@ -53,12 +56,10 @@ public void scrapeData(ScraperManager scraperManager) {
return;
int remaining = 1;
double progress = 0.0;
- while (remaining != 0) {
- SSE.sendProgress(progress);
- if (scrapeCancel)
- break;
+ while (remaining != 0 && !scrapeCancel) {
remaining = scraperManager.scrapeNext();
progress = ((double) initSize - (double) remaining) / (double) initSize;
+ SSE.sendProgress(progress);
}
SSE.sendProgress(1.0);
System.gc();
@@ -67,6 +68,8 @@ public void scrapeData(ScraperManager scraperManager) {
public void fillCombviewTable() {
DB.truncateScrapeData(false);
ArrayList songObjectList = DB.getSourceTablesDataForCombview();
+ if (songObjectList.isEmpty())
+ return;
ArrayList finalSortedList = processSongs(songObjectList);
DB.batchInsertSongs(finalSortedList, null, 115);
System.gc();
diff --git a/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java b/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
index d22dc4f..66535a7 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
@@ -1,10 +1,8 @@
package com.blck.MusicReleaseTracker;
-
import com.blck.MusicReleaseTracker.Core.ErrorLogging;
import com.blck.MusicReleaseTracker.Core.ValueStore;
import org.springframework.beans.factory.annotation.Autowired;
-import org.sqlite.core.DB;
import java.io.File;
diff --git a/src/test/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcessTest.java b/src/test/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcessTest.java
index b0f105e..06bf84d 100644
--- a/src/test/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcessTest.java
+++ b/src/test/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcessTest.java
@@ -82,11 +82,10 @@ void calculatesCorrectProgress() {
verify(sseController, atLeastOnce()).sendProgress(progressCaptor.capture());
List values = progressCaptor.getAllValues();
- assertEquals(0.0, values.get(0));
- assertEquals(0.25, values.get(1));
- assertEquals(0.5, values.get(2));
- assertEquals(0.75, values.get(3));
- assertEquals(1, values.get(4));
+ assertEquals(0.25, values.get(0));
+ assertEquals(0.5, values.get(1));
+ assertEquals(0.75, values.get(2));
+ assertEquals(1, values.get(3));
}
@Test
diff --git a/src/test/java/com/blck/MusicReleaseTracker/helperDB.java b/src/test/java/com/blck/MusicReleaseTracker/helperDB.java
index 9df80ad..2e4fefc 100644
--- a/src/test/java/com/blck/MusicReleaseTracker/helperDB.java
+++ b/src/test/java/com/blck/MusicReleaseTracker/helperDB.java
@@ -72,13 +72,14 @@ private static void clearTables() {
try (Connection conn = DriverManager.getConnection(testDBpath)) {
Statement stmt = conn.createStatement();
for (SourcesEnum sourceTable : SourcesEnum.values()) {
- String sql = "DELETE FROM " + sourceTable;
- stmt.executeUpdate(sql);
+ stmt.addBatch("DELETE FROM " + sourceTable);
}
- String sql = "DELETE FROM combview";
- stmt.executeUpdate(sql);
- sql = "DELETE FROM artists";
- stmt.executeUpdate(sql);
+ stmt.addBatch("DELETE FROM combview");
+ stmt.addBatch("DELETE FROM artists");
+ conn.setAutoCommit(false);
+ stmt.executeBatch();
+ conn.setAutoCommit(true);
+ stmt.close();
} catch (SQLException e) {
throw new RuntimeException(e);
}
@@ -86,14 +87,18 @@ private static void clearTables() {
private static void insertIntoArtists(String... artists) {
try (Connection conn = DriverManager.getConnection(testDBpath)) {
+ String sql = "INSERT INTO artists (artist, urlmusicbrainz, urlbeatport) values(?, ?, ?)";
+ PreparedStatement pstmt = conn.prepareStatement(sql);
for (String artist : artists) {
- String sql = "INSERT INTO artists (artist, urlmusicbrainz, urlbeatport) values(?, ?, ?)";
- PreparedStatement pstmt = conn.prepareStatement(sql);
pstmt.setString(1, artist);
pstmt.setString(2, "IDMB");
pstmt.setString(3, "IDBP");
- pstmt.executeUpdate();
+ pstmt.addBatch();
}
+ conn.setAutoCommit(false);
+ pstmt.executeBatch();
+ conn.setAutoCommit(true);
+ pstmt.close();
} catch (SQLException e) {
throw new RuntimeException(e);
}
diff --git a/src/test/testresources/testdb.db b/src/test/testresources/testdb.db
index 189e3ce11637b21719ab683c4ea79be8651c2f26..67641b26360220c5ba9ae4e7a7021026327b8318 100644
GIT binary patch
delta 19
acmZo@U}|V!njp<+Fj2;t(O_f3f_eZuHwH2Q
delta 19
acmZo@U}|V!njp=%exi&s
Date: Mon, 27 May 2024 16:34:21 +0200
Subject: [PATCH 18/22] scrape style
---
.../Scraping/ScrapeProcess.java | 5 +-
.../blck/MusicReleaseTracker/StartSetup.java | 13 ++++++
.../static/assets/index-C3_hPEEi.css | 1 -
.../resources/static/assets/index-CB9h-D7W.js | 26 -----------
src/main/resources/static/index.html | 4 +-
vue/src/components/SourceMenu.vue | 46 +++++++++++--------
6 files changed, 45 insertions(+), 50 deletions(-)
delete mode 100644 src/main/resources/static/assets/index-C3_hPEEi.css
delete mode 100644 src/main/resources/static/assets/index-CB9h-D7W.js
diff --git a/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java b/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
index a6752e9..6466f1e 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/Scraping/ScrapeProcess.java
@@ -58,8 +58,11 @@ public void scrapeData(ScraperManager scraperManager) {
double progress = 0.0;
while (remaining != 0 && !scrapeCancel) {
remaining = scraperManager.scrapeNext();
+ if (scrapeCancel)
+ break;
progress = ((double) initSize - (double) remaining) / (double) initSize;
- SSE.sendProgress(progress);
+ if (progress != 1.0)
+ SSE.sendProgress(progress);
}
SSE.sendProgress(1.0);
System.gc();
diff --git a/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java b/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
index 66535a7..8e7af39 100644
--- a/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
+++ b/src/main/java/com/blck/MusicReleaseTracker/StartSetup.java
@@ -6,6 +6,19 @@
import java.io.File;
+/* MusicReleaseTracker
+ Copyright (C) 2023 BLCK
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .*/
+
public class StartSetup {
private final ValueStore store;
private final ErrorLogging log;
diff --git a/src/main/resources/static/assets/index-C3_hPEEi.css b/src/main/resources/static/assets/index-C3_hPEEi.css
deleted file mode 100644
index 852bf15..0000000
--- a/src/main/resources/static/assets/index-C3_hPEEi.css
+++ /dev/null
@@ -1 +0,0 @@
-*[data-v-18b2502f]::-webkit-scrollbar{width:8px;background:transparent}*[data-v-18b2502f]::-webkit-scrollbar-thumb{background-color:var(--dull-color)}.listbtn[data-v-18b2502f]{width:92%;height:28px;border-radius:0;margin:0;display:flex;align-items:center;white-space:nowrap;overflow:hidden;padding-left:7px}.artistlist[data-v-18b2502f]{height:calc(100vh - 40px);overflow-y:scroll}.artistlist li[data-v-18b2502f]{list-style-type:none}.buttonspace[data-v-18b2502f]{margin-bottom:5px}.addbtn[data-v-18b2502f],.morebtn[data-v-18b2502f]{font-size:12px;width:75px;height:28px;border:2px solid var(--dull-color);border-radius:6px;background-color:transparent;color:var(--contrast-color)}.addbtn[data-v-18b2502f]{margin-left:5px}.addbtn[data-v-18b2502f]:hover,.morebtn[data-v-18b2502f]:hover{background-color:var(--accent-color);border:2px solid var(--accent-color);color:var(--accent-contrast)}.addbtn[data-v-18b2502f]:active,.morebtn[data-v-18b2502f]:active{opacity:75%}.morebtn[data-v-18b2502f]{margin-left:5px}.dropdown[data-v-18b2502f]{position:relative;display:grid;grid-template-columns:repeat(1,1fr);background-color:var(--subtle-color);padding-right:10px;padding-left:6px}.dropdown .deletebtn[data-v-18b2502f]{font-size:12px;height:25px;margin-top:3px;border:2px solid var(--dull-color);border-radius:6px;background-color:transparent;color:var(--contrast-color)}.deletebtn[data-v-18b2502f]:hover{background-color:red;border:2px solid red}.listbtn[data-v-18b2502f]:hover{background-color:var(--duller-color)}.highlighted[data-v-18b2502f]{background-color:var(--accent-color);color:var(--accent-contrast)}.highlighted[data-v-18b2502f]:hover{background-color:var(--accent-color)}[data-v-18b2502f]:disabled{opacity:.5;pointer-events:none}.wrapper[data-v-671de189]{min-width:500px;width:100%;display:flex;align-items:center;height:38px}.tabs[data-v-671de189]{display:flex;text-align:center;font-weight:700;flex-grow:1;height:38px}.image[data-v-671de189]{height:32px;width:32px}.imgbutton1[data-v-671de189]:hover,.imgbutton2[data-v-671de189]:hover{opacity:70%}.imgbutton1[data-v-671de189]{padding:0;margin-left:8px;background-color:var(--accent-color);border:none;margin-top:2px;height:32px;width:32px}.imgbutton2[data-v-671de189]{padding:0;margin-left:8px;margin-right:20px;border:none;margin-top:2px;border-radius:50px;height:32px;width:32px}.cvtab[data-v-671de189]{width:80%;max-width:390px;padding:8px;border:solid 3px transparent;border-bottom:solid 3px var(--accent-color)}.stab[data-v-671de189]{width:20%;max-width:110px;padding:8px;border:solid 3px transparent;border-bottom:solid 3px var(--accent-color);white-space:nowrap;overflow:hidden}.tabs[data-v-671de189] :hover{border-bottom:solid 3px var(--dull-color)}.active[data-v-671de189]{transition:.15s;background-color:var(--accent-color);color:var(--accent-contrast);border-bottom:solid 3px var(--accent-color);border-radius:5px}.active[data-v-671de189]:hover{border-bottom:solid 3px var(--accent-color)}.scrapenotice[data-v-671de189]{position:absolute;z-index:50;background-color:var(--duller-color);border-radius:5px;padding-right:10px;padding-left:10px;right:14px;top:42px}.fade-enter-from[data-v-671de189],.fade-leave-to[data-v-671de189]{opacity:0}.fade-enter-active[data-v-671de189],.fade-leave-active[data-v-671de189]{transition:.15s}[data-v-671de189]:disabled{opacity:.5;pointer-events:none}.table-header[data-v-19adbfff]{flex-shrink:0;overflow:hidden;z-index:3;position:fixed;width:calc(100% - 170px)}.table-body[data-v-19adbfff]{flex-grow:1;overflow-y:auto;-webkit-user-select:text;user-select:text;margin-bottom:10vh}table[data-v-19adbfff]{width:100%;min-width:500px;border-collapse:collapse}th[data-v-19adbfff],td[data-v-19adbfff]{padding:4px}th[data-v-19adbfff]{background-color:var(--primary-color);border:none;position:sticky;top:0}.song[data-v-19adbfff],.tdsong[data-v-19adbfff],.artist[data-v-19adbfff],.tdartist[data-v-19adbfff]{width:50%;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date[data-v-19adbfff],.tddate[data-v-19adbfff]{width:100px;min-width:100px}.future-date[data-v-19adbfff]{opacity:40%}.emptynotice[data-v-19adbfff]{position:absolute;left:40%;top:40%;color:var(--dull-color)}.quickstart[data-v-19adbfff]{position:relative;font-size:15px;line-height:22px;left:5%;top:5%}.quickstart .title[data-v-19adbfff]{font-weight:700}.tddate[data-v-19adbfff]{display:flex;justify-content:flex-end;margin-right:30px}p[data-v-0fe96286]{line-height:1.4}.dialog[data-v-0fe96286]{width:375px;height:280px;background-color:var(--primary-color);border:2px solid var(--contrast-color);border-radius:3px;color:var(--contrast-color);padding:8px}input[data-v-0fe96286]{background-color:var(--duller-color);color:var(--contrast-color);border:none;width:345px;position:absolute;bottom:5px;left:5px;font-size:13px;height:18px}input[data-v-0fe96286]:focus{outline:none}button[data-v-0fe96286]{color:#000;border:none;position:absolute;right:5px;bottom:5px}button[data-v-0fe96286]:hover{opacity:70%}a[data-v-0fe96286]{color:var(--accent-color);font-weight:700;text-decoration:none}a[data-v-0fe96286]:hover{text-decoration:underline}h1[data-v-0fe96286]{font-size:17px;font-weight:400}.variabletext[data-v-0fe96286]{color:var(--accent-color)}.artist[data-v-0fe96286]{-webkit-user-select:text;user-select:text}.imgbutton[data-v-0fe96286],.image[data-v-0fe96286]{height:23px;width:23px;padding:0;float:right;margin-right:2px;background-color:transparent}.imgbutton[data-v-0fe96286]:hover{opacity:50%}[data-v-0fe96286]:disabled{opacity:.5;pointer-events:none}.wrapper[data-v-cb695d37]{top:25%;left:35%;width:325px;height:240px;position:absolute;z-index:3;background-color:var(--primary-color);border:2px solid var(--contrast-color);border-radius:3px;padding:8px}.diag-actions[data-v-cb695d37]{position:absolute;bottom:3px;left:5px}button[data-v-cb695d37]{border:none}input[data-v-cb695d37]{background-color:var(--duller-color);color:var(--contrast-color);width:200px;margin-right:58px;margin-left:10px;border:none}input[data-v-cb695d37]:focus{outline:none}.imgbutton[data-v-cb695d37],.image[data-v-cb695d37]{height:23px;width:23px;padding:0;float:right;margin-left:5px;margin-right:2px;background-color:transparent}.imgbutton[data-v-cb695d37]{position:relative}.imgbutton[data-v-cb695d37]:hover{opacity:50%}[data-v-cb695d37]:disabled{opacity:.3;pointer-events:none}*[data-v-d29e2d3a]{transition:.2s}.progress-container[data-v-d29e2d3a]{background-color:transparent}.progressbar[data-v-d29e2d3a]{height:5px;line-height:5px;text-align:center;background-color:var(--accent-color)}*[data-v-6b545924]{transition:.1s}.title[data-v-6b545924]{font-weight:700}.settings[data-v-6b545924]{font-family:arial,sans-serif;font-size:14px;-webkit-user-select:none;user-select:none;background-color:var(--primary-color);color:var(--contrast-color);overflow-y:scroll;overflow-x:hidden;display:grid;align-content:start;width:100%;justify-content:center;accent-color:var(--contrast-color)}@media screen and (min-width: 950px){.settings[data-v-6b545924]{display:grid;grid-template-columns:repeat(2,0fr)}section[data-v-6b545924]{margin-right:90px}}.filters-buttons[data-v-6b545924]{margin-top:10px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;max-height:80px}.flex-items[data-v-6b545924]{display:flex;flex-direction:column}.flex-padding[data-v-6b545924]{padding:5px}.appearancecont[data-v-6b545924]{display:flex;accent-color:var(--dull-color)}.theme-buttons[data-v-6b545924]{display:grid;grid-template-columns:repeat(2,1fr);width:30%;padding-right:20px;line-height:18px}.accent-buttons[data-v-6b545924]{display:grid;grid-template-columns:repeat(4,1fr)}.belowAppearance[data-v-6b545924]{margin-left:15px;margin-top:6px}.imgbutton[data-v-6b545924]{position:absolute;right:0;top:0;padding:0;margin:10px;background-color:transparent;border:none;transition:0s}.imgbutton[data-v-6b545924]:hover{opacity:60%}.image[data-v-6b545924]{height:33px}input[data-v-6b545924]{margin-right:5px}section[data-v-6b545924]{position:relative;margin-top:20px;left:40px;padding:1px 15px 10px;background-color:var(--duller-color);border-radius:5px;transition:.15s;width:345px}.self[data-v-6b545924]{justify-self:center;width:280px;background-color:transparent}.blckimg[data-v-6b545924]{height:48px;background-color:#000;border-radius:5px;padding:12px;margin-right:22px}.mrtimg[data-v-6b545924]{height:72px;border-radius:10px}.colorindicator[data-v-6b545924]{position:absolute;right:0;top:0;height:100%;width:8px;background-color:var(--accent-color);border-top-right-radius:5px;border-bottom-right-radius:5px}.dangercont[data-v-6b545924]{display:flex;justify-content:space-evenly}.danger button[data-v-6b545924]{border-radius:5px;background-color:transparent;color:var(--contrast-color);border:2px solid red;padding:4px;width:120px}.danger button[data-v-6b545924]:hover{background-color:red}.disabled[data-v-6b545924]{opacity:.3}.preview[data-v-85018fb6]{width:100%;height:100%;background-color:var(--subtle-color);font-size:15px}h1[data-v-85018fb6]{font-size:18px;color:var(--accent-color)}p[data-v-85018fb6],h1[data-v-85018fb6]{position:relative;left:6px}button[data-v-85018fb6]{margin-left:8px;border:none;border-radius:5px;width:60px}.imgbutton[data-v-85018fb6],.image[data-v-85018fb6]{margin-left:22px;height:26px;width:26px;padding:0;background-color:transparent}.imgbutton[data-v-85018fb6]:hover{opacity:50%}[data-v-85018fb6]:disabled{opacity:.5;pointer-events:none}*[data-v-e34fd722]{scrollbar-color:var(--dull-color) transparent}*[data-v-e34fd722]::-webkit-scrollbar-thumb{background-color:var(--dull-color)}*[data-v-e34fd722]::-webkit-scrollbar{width:8px;background:transparent}.app[data-v-e34fd722]{font-family:arial,sans-serif;font-size:14px;-webkit-user-select:none;user-select:none;display:flex;position:fixed;top:0;left:0;padding-left:5px;padding-top:3px;width:100%;height:100%;background-color:var(--primary-color);color:var(--contrast-color);transition:.15s}.list[data-v-e34fd722]{width:170px;min-width:170px;padding-top:5px;padding-left:2px;top:-3px;left:-5px;position:relative;background-color:var(--subtle-color)}.maincontent[data-v-e34fd722]{flex-grow:1;height:100vh}.topbar[data-v-e34fd722]{left:5px;position:relative}.dialogsurl[data-v-e34fd722]{top:25%;left:35%;position:absolute}.sourcetable[data-v-e34fd722]{position:relative;top:6px;height:100%;overflow-y:scroll;margin-right:4px}.progressbar[data-v-e34fd722]{position:absolute;bottom:3px;left:0;z-index:5;width:100%}
diff --git a/src/main/resources/static/assets/index-CB9h-D7W.js b/src/main/resources/static/assets/index-CB9h-D7W.js
deleted file mode 100644
index 64f54dd..0000000
--- a/src/main/resources/static/assets/index-CB9h-D7W.js
+++ /dev/null
@@ -1,26 +0,0 @@
-(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
-* @vue/shared v3.4.21
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/function Zs(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const Z={},Ft=[],Le=()=>{},vl=()=>!1,Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),er=e=>e.startsWith("onUpdate:"),he=Object.assign,tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cl=Object.prototype.hasOwnProperty,W=(e,t)=>Cl.call(e,t),k=Array.isArray,Ut=e=>hn(e)==="[object Map]",Kn=e=>hn(e)==="[object Set]",kr=e=>hn(e)==="[object Date]",M=e=>typeof e=="function",ce=e=>typeof e=="string",pt=e=>typeof e=="symbol",Y=e=>e!==null&&typeof e=="object",No=e=>(Y(e)||M(e))&&M(e.then)&&M(e.catch),Fo=Object.prototype.toString,hn=e=>Fo.call(e),El=e=>hn(e).slice(8,-1),Uo=e=>hn(e)==="[object Object]",nr=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,tn=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wl=/-(\w)/g,Ke=qn(e=>e.replace(wl,(t,n)=>n?n.toUpperCase():"")),Al=/\B([A-Z])/g,jt=qn(e=>e.replace(Al,"-$1").toLowerCase()),Wn=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hs=qn(e=>e?`on${Wn(e)}`:""),Ot=(e,t)=>!Object.is(e,t),Rn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tl=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Nr;const Do=()=>Nr||(Nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pn(e){if(k(e)){const t={};for(let n=0;n{if(n){const s=n.split(Rl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ee(e){let t="";if(ce(e))t=e;else if(k(e))for(let n=0;nBt(n,t))}const ze=e=>ce(e)?e:e==null?"":k(e)||Y(e)&&(e.toString===Fo||!M(e.toString))?JSON.stringify(e,Mo,2):String(e),Mo=(e,t)=>t&&t.__v_isRef?Mo(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ps(s,o)+" =>"]=r,n),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ps(n))}:pt(t)?ps(t):Y(t)&&!k(t)&&!Uo(t)?String(t):t,ps=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
-* @vue/reactivity v3.4.21
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/let Ne;class $o{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),xt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=dt,n=At;try{return dt=!0,At=this,this._runnings++,Fr(this),this.fn()}finally{Ur(this),this._runnings--,At=n,dt=t}}stop(){var t;this.active&&(Fr(this),Ur(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Dl(e){return e.value}function Fr(e){e._trackId++,e._depsLength=0}function Ur(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Is=new WeakMap,Tt=Symbol(""),Ps=Symbol("");function we(e,t,n){if(dt&&At){let s=Is.get(e);s||Is.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Wo(()=>s.delete(n))),Ko(At,r)}}function Je(e,t,n,s,r,o){const i=Is.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(s);i.forEach((f,u)=>{(u==="length"||!pt(u)&&u>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?nr(n)&&l.push(i.get("length")):(l.push(i.get(Tt)),Ut(e)&&l.push(i.get(Ps)));break;case"delete":k(e)||(l.push(i.get(Tt)),Ut(e)&&l.push(i.get(Ps)));break;case"set":Ut(e)&&l.push(i.get(Tt));break}rr();for(const c of l)c&&qo(c,4);or()}const Vl=Zs("__proto__,__v_isRef,__isVue"),Go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt)),Dr=Bl();function Bl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=G(this);for(let o=0,i=this.length;o{e[t]=function(...n){Rt(),rr();const s=G(this)[t].apply(this,n);return or(),xt(),s}}),e}function Ml(e){const t=G(this);return we(t,"has",e),t.hasOwnProperty(e)}class zo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Zl:Qo:o?Xo:Yo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=k(t);if(!r){if(i&&W(Dr,n))return Reflect.get(Dr,n,s);if(n==="hasOwnProperty")return Ml}const l=Reflect.get(t,n,s);return(pt(n)?Go.has(n):Vl(n))||(r||we(t,"get",n),o)?l:Re(l)?i&&nr(n)?l:l.value:Y(l)?r?Zo(l):zn(l):l}}class Jo extends zo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=ln(o);if(!ks(s)&&!ln(s)&&(o=G(o),s=G(s)),!k(t)&&Re(o)&&!Re(s))return c?!1:(o.value=s,!0)}const i=k(t)&&nr(n)?Number(n)e,Gn=e=>Reflect.getPrototypeOf(e);function vn(e,t,n=!1,s=!1){e=e.__v_raw;const r=G(e),o=G(t);n||(Ot(t,o)&&we(r,"get",t),we(r,"get",o));const{has:i}=Gn(r),l=s?ir:n?ur:ar;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Cn(e,t=!1){const n=this.__v_raw,s=G(n),r=G(e);return t||(Ot(e,r)&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function En(e,t=!1){return e=e.__v_raw,!t&&we(G(e),"iterate",Tt),Reflect.get(e,"size",e)}function Vr(e){e=G(e);const t=G(this);return Gn(t).has.call(t,e)||(t.add(e),Je(t,"add",e,e)),this}function Br(e,t){t=G(t);const n=G(this),{has:s,get:r}=Gn(n);let o=s.call(n,e);o||(e=G(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Ot(t,i)&&Je(n,"set",e,t):Je(n,"add",e,t),this}function Mr(e){const t=G(this),{has:n,get:s}=Gn(t);let r=n.call(t,e);r||(e=G(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Je(t,"delete",e,void 0),o}function $r(){const e=G(this),t=e.size!==0,n=e.clear();return t&&Je(e,"clear",void 0,void 0),n}function wn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=G(i),c=t?ir:e?ur:ar;return!e&&we(l,"iterate",Tt),i.forEach((f,u)=>s.call(r,c(f),c(u),o))}}function An(e,t,n){return function(...s){const r=this.__v_raw,o=G(r),i=Ut(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),u=n?ir:t?ur:ar;return!t&&we(o,"iterate",c?Ps:Tt),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function tt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ql(){const e={get(o){return vn(this,o)},get size(){return En(this)},has:Cn,add:Vr,set:Br,delete:Mr,clear:$r,forEach:wn(!1,!1)},t={get(o){return vn(this,o,!1,!0)},get size(){return En(this)},has:Cn,add:Vr,set:Br,delete:Mr,clear:$r,forEach:wn(!1,!0)},n={get(o){return vn(this,o,!0)},get size(){return En(this,!0)},has(o){return Cn.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:wn(!0,!1)},s={get(o){return vn(this,o,!0,!0)},get size(){return En(this,!0)},has(o){return Cn.call(this,o,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=An(o,!1,!1),n[o]=An(o,!0,!1),t[o]=An(o,!1,!0),s[o]=An(o,!0,!0)}),[e,n,t,s]}const[Wl,Gl,zl,Jl]=ql();function lr(e,t){const n=t?e?Jl:zl:e?Gl:Wl;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Yl={get:lr(!1,!1)},Xl={get:lr(!1,!0)},Ql={get:lr(!0,!1)},Yo=new WeakMap,Xo=new WeakMap,Qo=new WeakMap,Zl=new WeakMap;function ec(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tc(e){return e.__v_skip||!Object.isExtensible(e)?0:ec(El(e))}function zn(e){return ln(e)?e:cr(e,!1,jl,Yl,Yo)}function nc(e){return cr(e,!1,Kl,Xl,Xo)}function Zo(e){return cr(e,!0,Hl,Ql,Qo)}function cr(e,t,n,s,r){if(!Y(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=tc(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Dt(e){return ln(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function ks(e){return!!(e&&e.__v_isShallow)}function ei(e){return Dt(e)||ln(e)}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function ti(e){return Object.isExtensible(e)&&Dn(e,"__v_skip",!0),e}const ar=e=>Y(e)?zn(e):e,ur=e=>Y(e)?Zo(e):e;class ni{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new sr(()=>t(this._value),()=>ms(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=G(this);return(!t._cacheable||t.effect.dirty)&&Ot(t._value,t._value=t.effect.run())&&ms(t,4),rc(t),t.effect._dirtyLevel>=2&&ms(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function sc(e,t,n=!1){let s,r;const o=M(e);return o?(s=e,r=Le):(s=e.get,r=e.set),new ni(s,r,o||!r,n)}function rc(e){var t;dt&&At&&(e=G(e),Ko(At,(t=e.dep)!=null?t:e.dep=Wo(()=>e.dep=void 0,e instanceof ni?e:void 0)))}function ms(e,t=4,n){e=G(e);const s=e.dep;s&&qo(s,t)}function Re(e){return!!(e&&e.__v_isRef===!0)}function oc(e){return Re(e)?e.value:e}const ic={get:(e,t,n)=>oc(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Re(r)&&!Re(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function si(e){return Dt(e)?e:new Proxy(e,ic)}/**
-* @vue/runtime-core v3.4.21
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/function ht(e,t,n,s){try{return s?e(...s):e()}catch(r){Jn(r,t,n)}}function Ie(e,t,n,s){if(M(e)){const o=ht(e,t,n,s);return o&&No(o)&&o.catch(i=>{Jn(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=be[s],o=an(r);oje&&be.splice(t,1)}function fc(e){k(e)?Vt.push(...e):(!lt||!lt.includes(e,e.allowRecurse?Ct+1:Ct))&&Vt.push(e),oi()}function jr(e,t,n=cn?je+1:0){for(;nan(n)-an(s));if(Vt.length=0,lt){lt.push(...t);return}for(lt=t,Ct=0;Cte.id==null?1/0:e.id,dc=(e,t)=>{const n=an(e)-an(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function li(e){Ns=!1,cn=!0,be.sort(dc);try{for(je=0;jece(C)?C.trim():C)),d&&(r=n.map(Rs))}let l,c=s[l=hs(t)]||s[l=hs(Ke(t))];!c&&o&&(c=s[l=hs(jt(t))]),c&&Ie(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ie(f,e,6,r)}}function ci(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!M(e)){const c=f=>{const u=ci(f,t,!0);u&&(l=!0,he(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Y(e)&&s.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):he(i,o),Y(e)&&s.set(e,i),i)}function Yn(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,jt(t))||W(e,t))}let ve=null,Xn=null;function Vn(e){const t=ve;return ve=e,Xn=e&&e.type.__scopeId||null,t}function Ht(e){Xn=e}function Kt(){Xn=null}function ai(e,t=ve,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&eo(-1);const o=Vn(t);let i;try{i=e(...r)}finally{Vn(o),s._d&&eo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gs(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:u,renderCache:d,data:g,setupState:C,ctx:A,inheritAttrs:E}=e;let D,$;const ee=Vn(e);try{if(n.shapeFlag&4){const z=r||s,re=z;D=$e(u.call(re,z,d,o,C,g,A)),$=c}else{const z=t;D=$e(z.length>1?z(o,{attrs:c,slots:l,emit:f}):z(o,null)),$=t.props?c:pc(c)}}catch(z){on.length=0,Jn(z,e,1),D=le(Ue)}let j=D;if($&&E!==!1){const z=Object.keys($),{shapeFlag:re}=j;z.length&&re&7&&(i&&z.some(er)&&($=mc($,i)),j=mt(j,$))}return n.dirs&&(j=mt(j),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),D=j,Vn(ee),D}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hn(n))&&((t||(t={}))[n]=e[n]);return t},mc=(e,t)=>{const n={};for(const s in e)(!er(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function gc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Hr(s,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function vc(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):fc(e)}const Cc=Symbol.for("v-scx"),Ec=()=>Ln(Cc),Tn={};function nn(e,t,n){return fi(e,t,n)}function fi(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=Z){if(t&&o){const H=t;t=(...ye)=>{H(...ye),re()}}const c=me,f=H=>s===!0?H:wt(H,s===!1?1:void 0);let u,d=!1,g=!1;if(Re(e)?(u=()=>e.value,d=ks(e)):Dt(e)?(u=()=>f(e),d=!0):k(e)?(g=!0,d=e.some(H=>Dt(H)||ks(H)),u=()=>e.map(H=>{if(Re(H))return H.value;if(Dt(H))return f(H);if(M(H))return ht(H,c,2)})):M(e)?t?u=()=>ht(e,c,2):u=()=>(C&&C(),Ie(e,c,3,[A])):u=Le,t&&s){const H=u;u=()=>wt(H())}let C,A=H=>{C=j.onStop=()=>{ht(H,c,4),C=j.onStop=void 0}},E;if(ns)if(A=Le,t?n&&Ie(t,c,3,[u(),g?[]:void 0,A]):u(),r==="sync"){const H=Ec();E=H.__watcherHandles||(H.__watcherHandles=[])}else return Le;let D=g?new Array(e.length).fill(Tn):Tn;const $=()=>{if(!(!j.active||!j.dirty))if(t){const H=j.run();(s||d||(g?H.some((ye,V)=>Ot(ye,D[V])):Ot(H,D)))&&(C&&C(),Ie(t,c,3,[H,D===Tn?void 0:g&&D[0]===Tn?[]:D,A]),D=H)}else j.run()};$.allowRecurse=!!t;let ee;r==="sync"?ee=$:r==="post"?ee=()=>Ce($,c&&c.suspense):($.pre=!0,c&&($.id=c.uid),ee=()=>dr($));const j=new sr(u,Le,ee),z=Ul(),re=()=>{j.stop(),z&&tr(z.effects,j)};return t?n?$():D=j.run():r==="post"?Ce(j.run.bind(j),c&&c.suspense):j.run(),E&&E.push(re),re}function wc(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?di(s,e):()=>s[e]:e.bind(s,s);let o;M(t)?o=t:(o=t.handler,n=t);const i=mn(this),l=fi(r,o.bind(s),n);return i(),l}function di(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Re(e))wt(e.value,t,n,s);else if(k(e))for(let r=0;r{wt(r,t,n,s)});else if(Uo(e))for(const r in e)wt(e[r],t,n,s);return e}function ie(e,t){if(ve===null)return e;const n=ss(ve)||ve.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),bi(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],hi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},Tc={name:"BaseTransition",props:hi,setup(e,{slots:t}){const n=fa(),s=Ac();return()=>{const r=t.default&&mi(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==Ue){o=g;break}}const i=G(e),{mode:l}=i;if(s.isLeaving)return _s(o);const c=qr(o);if(!c)return _s(o);const f=Fs(c,i,s,n);Us(c,f);const u=n.subTree,d=u&&qr(u);if(d&&d.type!==Ue&&!Et(c,d)){const g=Fs(d,i,s,n);if(Us(d,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},_s(o);l==="in-out"&&c.type!==Ue&&(g.delayLeave=(C,A,E)=>{const D=pi(s,d);D[String(d.key)]=d,C[ct]=()=>{A(),C[ct]=void 0,delete f.delayedLeave},f.delayedLeave=E})}return o}}},Oc=Tc;function pi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Fs(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:C,onLeaveCancelled:A,onBeforeAppear:E,onAppear:D,onAfterAppear:$,onAppearCancelled:ee}=t,j=String(e.key),z=pi(n,e),re=(V,oe)=>{V&&Ie(V,s,9,oe)},H=(V,oe)=>{const Q=oe[1];re(V,oe),k(V)?V.every(ge=>ge.length<=1)&&Q():V.length<=1&&Q()},ye={mode:o,persisted:i,beforeEnter(V){let oe=l;if(!n.isMounted)if(r)oe=E||l;else return;V[ct]&&V[ct](!0);const Q=z[j];Q&&Et(e,Q)&&Q.el[ct]&&Q.el[ct](),re(oe,[V])},enter(V){let oe=c,Q=f,ge=u;if(!n.isMounted)if(r)oe=D||c,Q=$||f,ge=ee||u;else return;let I=!1;const ne=V[On]=Te=>{I||(I=!0,Te?re(ge,[V]):re(Q,[V]),ye.delayedLeave&&ye.delayedLeave(),V[On]=void 0)};oe?H(oe,[V,ne]):ne()},leave(V,oe){const Q=String(e.key);if(V[On]&&V[On](!0),n.isUnmounting)return oe();re(d,[V]);let ge=!1;const I=V[ct]=ne=>{ge||(ge=!0,oe(),ne?re(A,[V]):re(C,[V]),V[ct]=void 0,z[Q]===e&&delete z[Q])};z[Q]=e,g?H(g,[V,I]):I()},clone(V){return Fs(V,t,n,s)}};return ye}function _s(e){if(Qn(e))return e=mt(e),e.children=null,e}function qr(e){return Qn(e)?e.children?e.children[0]:void 0:e}function Us(e,t){e.shapeFlag&6&&e.component?Us(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mi(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function Rc(e,t){gi(e,"a",t)}function xc(e,t){gi(e,"da",t)}function gi(e,t,n=me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Zn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&Lc(s,t,n,r),r=r.parent}}function Lc(e,t,n,s){const r=Zn(t,e,s,!0);yi(()=>{tr(s[t],r)},n)}function Zn(e,t,n=me,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Rt();const l=mn(n),c=Ie(t,n,e,i);return l(),xt(),c});return s?r.unshift(o):r.push(o),o}}const Qe=e=>(t,n=me)=>(!ns||e==="sp")&&Zn(e,(...s)=>t(...s),n),Ic=Qe("bm"),_i=Qe("m"),Pc=Qe("bu"),kc=Qe("u"),bi=Qe("bum"),yi=Qe("um"),Nc=Qe("sp"),Fc=Qe("rtg"),Uc=Qe("rtc");function Dc(e,t=me){Zn("ec",e,t)}function Ds(e,t,n,s){let r;const o=n&&n[s];if(k(e)||ce(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;le?Ii(e)?ss(e)||e.proxy:Vs(e.parent):null,sn=he(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$emit:e=>e.emit,$options:e=>hr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,dr(e.update)}),$nextTick:e=>e.n||(e.n=cc.bind(e.proxy)),$watch:e=>wc.bind(e)}),bs=(e,t)=>e!==Z&&!e.__isScriptSetup&&W(e,t),Vc={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const C=i[t];if(C!==void 0)switch(C){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(bs(s,t))return i[t]=1,s[t];if(r!==Z&&W(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&W(f,t))return i[t]=3,o[t];if(n!==Z&&W(n,t))return i[t]=4,n[t];Bs&&(i[t]=0)}}const u=sn[t];let d,g;if(u)return t==="$attrs"&&we(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Z&&W(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,W(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return bs(r,t)?(r[t]=n,!0):s!==Z&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==Z&&W(e,i)||bs(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(sn,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wr(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Bs=!0;function Bc(e){const t=hr(e),n=e.proxy,s=e.ctx;Bs=!1,t.beforeCreate&&Gr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:d,mounted:g,beforeUpdate:C,updated:A,activated:E,deactivated:D,beforeDestroy:$,beforeUnmount:ee,destroyed:j,unmounted:z,render:re,renderTracked:H,renderTriggered:ye,errorCaptured:V,serverPrefetch:oe,expose:Q,inheritAttrs:ge,components:I,directives:ne,filters:Te}=t;if(f&&Mc(f,s,null),i)for(const se in i){const X=i[se];M(X)&&(s[se]=X.bind(n))}if(r){const se=r.call(n,n);Y(se)&&(e.data=zn(se))}if(Bs=!0,o)for(const se in o){const X=o[se],gt=M(X)?X.bind(n,n):M(X.get)?X.get.bind(n,n):Le,yn=!M(X)&&M(X.set)?X.set.bind(n):Le,_t=ki({get:gt,set:yn});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>_t.value,set:Ve=>_t.value=Ve})}if(l)for(const se in l)Si(l[se],s,n,se);if(c){const se=M(c)?c.call(n):c;Reflect.ownKeys(se).forEach(X=>{Wc(X,se[X])})}u&&Gr(u,e,"c");function fe(se,X){k(X)?X.forEach(gt=>se(gt.bind(n))):X&&se(X.bind(n))}if(fe(Ic,d),fe(_i,g),fe(Pc,C),fe(kc,A),fe(Rc,E),fe(xc,D),fe(Dc,V),fe(Uc,H),fe(Fc,ye),fe(bi,ee),fe(yi,z),fe(Nc,oe),k(Q))if(Q.length){const se=e.exposed||(e.exposed={});Q.forEach(X=>{Object.defineProperty(se,X,{get:()=>n[X],set:gt=>n[X]=gt})})}else e.exposed||(e.exposed={});re&&e.render===Le&&(e.render=re),ge!=null&&(e.inheritAttrs=ge),I&&(e.components=I),ne&&(e.directives=ne)}function Mc(e,t,n=Le){k(e)&&(e=Ms(e));for(const s in e){const r=e[s];let o;Y(r)?"default"in r?o=Ln(r.from||s,r.default,!0):o=Ln(r.from||s):o=Ln(r),Re(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Gr(e,t,n){Ie(k(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Si(e,t,n,s){const r=s.includes(".")?di(n,s):()=>n[s];if(ce(e)){const o=t[e];M(o)&&nn(r,o)}else if(M(e))nn(r,e.bind(n));else if(Y(e))if(k(e))e.forEach(o=>Si(o,t,n,s));else{const o=M(e.handler)?e.handler.bind(n):t[e.handler];M(o)&&nn(r,o,e)}}function hr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Bn(c,f,i,!0)),Bn(c,t,i)),Y(t)&&o.set(t,c),c}function Bn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Bn(e,o,n,!0),r&&r.forEach(i=>Bn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=$c[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const $c={data:zr,props:Jr,emits:Jr,methods:Zt,computed:Zt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:Zt,directives:Zt,watch:Hc,provide:zr,inject:jc};function zr(e,t){return t?e?function(){return he(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function jc(e,t){return Zt(Ms(e),Ms(t))}function Ms(e){if(k(e)){const t={};for(let n=0;n1)return n&&M(t)?t.call(s&&s.proxy):t}}function Gc(e,t,n,s=!1){const r={},o={};Dn(o,ts,1),e.propsDefaults=Object.create(null),Ci(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:nc(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function zc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=G(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[g,C]=Ei(d,t,!0);he(i,g),C&&l.push(...C)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return Y(e)&&s.set(e,Ft),Ft;if(k(o))for(let u=0;u-1,C[1]=E<0||A-1||W(C,"default"))&&l.push(d)}}}const f=[i,l];return Y(e)&&s.set(e,f),f}function Yr(e){return e[0]!=="$"&&!tn(e)}function Xr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Qr(e,t){return Xr(e)===Xr(t)}function Zr(e,t){return k(t)?t.findIndex(n=>Qr(n,e)):M(t)&&Qr(t,e)?0:-1}const wi=e=>e[0]==="_"||e==="$stable",pr=e=>k(e)?e.map($e):[$e(e)],Jc=(e,t,n)=>{if(t._n)return t;const s=ai((...r)=>pr(t(...r)),n);return s._c=!1,s},Ai=(e,t,n)=>{const s=e._ctx;for(const r in e){if(wi(r))continue;const o=e[r];if(M(o))t[r]=Jc(r,o,s);else if(o!=null){const i=pr(o);t[r]=()=>i}}},Ti=(e,t)=>{const n=pr(t);e.slots.default=()=>n},Yc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=G(t),Dn(t,"_",n)):Ai(t,e.slots={})}else e.slots={},t&&Ti(e,t);Dn(e.slots,ts,1)},Xc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(he(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Ai(t,r)),i=t}else t&&(Ti(e,t),i={default:1});if(o)for(const l in r)!wi(l)&&i[l]==null&&delete r[l]};function js(e,t,n,s,r=!1){if(k(e)){e.forEach((g,C)=>js(g,t&&(k(t)?t[C]:t),n,s,r));return}if(xn(s)&&!r)return;const o=s.shapeFlag&4?ss(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===Z?l.refs={}:l.refs,d=l.setupState;if(f!=null&&f!==c&&(ce(f)?(u[f]=null,W(d,f)&&(d[f]=null)):Re(f)&&(f.value=null)),M(c))ht(c,l,12,[i,u]);else{const g=ce(c),C=Re(c);if(g||C){const A=()=>{if(e.f){const E=g?W(d,c)?d[c]:u[c]:c.value;r?k(E)&&tr(E,o):k(E)?E.includes(o)||E.push(o):g?(u[c]=[o],W(d,c)&&(d[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else g?(u[c]=i,W(d,c)&&(d[c]=i)):C&&(c.value=i,e.k&&(u[e.k]=i))};i?(A.id=-1,Ce(A,n)):A()}}}const Ce=vc;function Qc(e){return Zc(e)}function Zc(e,t){const n=Do();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:d,nextSibling:g,setScopeId:C=Le,insertStaticContent:A}=e,E=(a,h,m,b=null,y=null,w=null,O=void 0,v=null,T=!!h.dynamicChildren)=>{if(a===h)return;a&&!Et(a,h)&&(b=Sn(a),Ve(a,y,w,!0),a=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:S,ref:R,shapeFlag:N}=h;switch(S){case es:D(a,h,m,b);break;case Ue:$(a,h,m,b);break;case In:a==null&&ee(h,m,b,O);break;case _e:I(a,h,m,b,y,w,O,v,T);break;default:N&1?re(a,h,m,b,y,w,O,v,T):N&6?ne(a,h,m,b,y,w,O,v,T):(N&64||N&128)&&S.process(a,h,m,b,y,w,O,v,T,It)}R!=null&&y&&js(R,a&&a.ref,w,h||a,!h)},D=(a,h,m,b)=>{if(a==null)s(h.el=l(h.children),m,b);else{const y=h.el=a.el;h.children!==a.children&&f(y,h.children)}},$=(a,h,m,b)=>{a==null?s(h.el=c(h.children||""),m,b):h.el=a.el},ee=(a,h,m,b)=>{[a.el,a.anchor]=A(a.children,h,m,b,a.el,a.anchor)},j=({el:a,anchor:h},m,b)=>{let y;for(;a&&a!==h;)y=g(a),s(a,m,b),a=y;s(h,m,b)},z=({el:a,anchor:h})=>{let m;for(;a&&a!==h;)m=g(a),r(a),a=m;r(h)},re=(a,h,m,b,y,w,O,v,T)=>{h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),a==null?H(h,m,b,y,w,O,v,T):oe(a,h,y,w,O,v,T)},H=(a,h,m,b,y,w,O,v)=>{let T,S;const{props:R,shapeFlag:N,transition:P,dirs:F}=a;if(T=a.el=i(a.type,w,R&&R.is,R),N&8?u(T,a.children):N&16&&V(a.children,T,null,b,y,ys(a,w),O,v),F&&bt(a,null,b,"created"),ye(T,a,a.scopeId,O,b),R){for(const J in R)J!=="value"&&!tn(J)&&o(T,J,null,R[J],w,a.children,b,y,We);"value"in R&&o(T,"value",null,R.value,w),(S=R.onVnodeBeforeMount)&&Me(S,b,a)}F&&bt(a,null,b,"beforeMount");const K=ea(y,P);K&&P.beforeEnter(T),s(T,h,m),((S=R&&R.onVnodeMounted)||K||F)&&Ce(()=>{S&&Me(S,b,a),K&&P.enter(T),F&&bt(a,null,b,"mounted")},y)},ye=(a,h,m,b,y)=>{if(m&&C(a,m),b)for(let w=0;w{for(let S=T;S{const v=h.el=a.el;let{patchFlag:T,dynamicChildren:S,dirs:R}=h;T|=a.patchFlag&16;const N=a.props||Z,P=h.props||Z;let F;if(m&&yt(m,!1),(F=P.onVnodeBeforeUpdate)&&Me(F,m,h,a),R&&bt(h,a,m,"beforeUpdate"),m&&yt(m,!0),S?Q(a.dynamicChildren,S,v,m,b,ys(h,y),w):O||X(a,h,v,null,m,b,ys(h,y),w,!1),T>0){if(T&16)ge(v,h,N,P,m,b,y);else if(T&2&&N.class!==P.class&&o(v,"class",null,P.class,y),T&4&&o(v,"style",N.style,P.style,y),T&8){const K=h.dynamicProps;for(let J=0;J{F&&Me(F,m,h,a),R&&bt(h,a,m,"updated")},b)},Q=(a,h,m,b,y,w,O)=>{for(let v=0;v{if(m!==b){if(m!==Z)for(const v in m)!tn(v)&&!(v in b)&&o(a,v,m[v],null,O,h.children,y,w,We);for(const v in b){if(tn(v))continue;const T=b[v],S=m[v];T!==S&&v!=="value"&&o(a,v,S,T,O,h.children,y,w,We)}"value"in b&&o(a,"value",m.value,b.value,O)}},I=(a,h,m,b,y,w,O,v,T)=>{const S=h.el=a?a.el:l(""),R=h.anchor=a?a.anchor:l("");let{patchFlag:N,dynamicChildren:P,slotScopeIds:F}=h;F&&(v=v?v.concat(F):F),a==null?(s(S,m,b),s(R,m,b),V(h.children||[],m,R,y,w,O,v,T)):N>0&&N&64&&P&&a.dynamicChildren?(Q(a.dynamicChildren,P,m,y,w,O,v),(h.key!=null||y&&h===y.subTree)&&Oi(a,h,!0)):X(a,h,m,R,y,w,O,v,T)},ne=(a,h,m,b,y,w,O,v,T)=>{h.slotScopeIds=v,a==null?h.shapeFlag&512?y.ctx.activate(h,m,b,O,T):Te(h,m,b,y,w,O,T):Jt(a,h,T)},Te=(a,h,m,b,y,w,O)=>{const v=a.component=ua(a,b,y);if(Qn(a)&&(v.ctx.renderer=It),da(v),v.asyncDep){if(y&&y.registerDep(v,fe),!a.el){const T=v.subTree=le(Ue);$(null,T,h,m)}}else fe(v,a,h,m,y,w,O)},Jt=(a,h,m)=>{const b=h.component=a.component;if(gc(a,h,m))if(b.asyncDep&&!b.asyncResolved){se(b,h,m);return}else b.next=h,uc(b.update),b.effect.dirty=!0,b.update();else h.el=a.el,b.vnode=h},fe=(a,h,m,b,y,w,O)=>{const v=()=>{if(a.isMounted){let{next:R,bu:N,u:P,parent:F,vnode:K}=a;{const Pt=Ri(a);if(Pt){R&&(R.el=K.el,se(a,R,O)),Pt.asyncDep.then(()=>{a.isUnmounted||v()});return}}let J=R,te;yt(a,!1),R?(R.el=K.el,se(a,R,O)):R=K,N&&Rn(N),(te=R.props&&R.props.onVnodeBeforeUpdate)&&Me(te,F,R,K),yt(a,!0);const de=gs(a),ke=a.subTree;a.subTree=de,E(ke,de,d(ke.el),Sn(ke),a,y,w),R.el=de.el,J===null&&_c(a,de.el),P&&Ce(P,y),(te=R.props&&R.props.onVnodeUpdated)&&Ce(()=>Me(te,F,R,K),y)}else{let R;const{el:N,props:P}=h,{bm:F,m:K,parent:J}=a,te=xn(h);if(yt(a,!1),F&&Rn(F),!te&&(R=P&&P.onVnodeBeforeMount)&&Me(R,J,h),yt(a,!0),N&&ds){const de=()=>{a.subTree=gs(a),ds(N,a.subTree,a,y,null)};te?h.type.__asyncLoader().then(()=>!a.isUnmounted&&de()):de()}else{const de=a.subTree=gs(a);E(null,de,m,b,a,y,w),h.el=de.el}if(K&&Ce(K,y),!te&&(R=P&&P.onVnodeMounted)){const de=h;Ce(()=>Me(R,J,de),y)}(h.shapeFlag&256||J&&xn(J.vnode)&&J.vnode.shapeFlag&256)&&a.a&&Ce(a.a,y),a.isMounted=!0,h=m=b=null}},T=a.effect=new sr(v,Le,()=>dr(S),a.scope),S=a.update=()=>{T.dirty&&T.run()};S.id=a.uid,yt(a,!0),S()},se=(a,h,m)=>{h.component=a;const b=a.vnode.props;a.vnode=h,a.next=null,zc(a,h.props,b,m),Xc(a,h.children,m),Rt(),jr(a),xt()},X=(a,h,m,b,y,w,O,v,T=!1)=>{const S=a&&a.children,R=a?a.shapeFlag:0,N=h.children,{patchFlag:P,shapeFlag:F}=h;if(P>0){if(P&128){yn(S,N,m,b,y,w,O,v,T);return}else if(P&256){gt(S,N,m,b,y,w,O,v,T);return}}F&8?(R&16&&We(S,y,w),N!==S&&u(m,N)):R&16?F&16?yn(S,N,m,b,y,w,O,v,T):We(S,y,w,!0):(R&8&&u(m,""),F&16&&V(N,m,b,y,w,O,v,T))},gt=(a,h,m,b,y,w,O,v,T)=>{a=a||Ft,h=h||Ft;const S=a.length,R=h.length,N=Math.min(S,R);let P;for(P=0;PR?We(a,y,w,!0,!1,N):V(h,m,b,y,w,O,v,T,N)},yn=(a,h,m,b,y,w,O,v,T)=>{let S=0;const R=h.length;let N=a.length-1,P=R-1;for(;S<=N&&S<=P;){const F=a[S],K=h[S]=T?at(h[S]):$e(h[S]);if(Et(F,K))E(F,K,m,null,y,w,O,v,T);else break;S++}for(;S<=N&&S<=P;){const F=a[N],K=h[P]=T?at(h[P]):$e(h[P]);if(Et(F,K))E(F,K,m,null,y,w,O,v,T);else break;N--,P--}if(S>N){if(S<=P){const F=P+1,K=FP)for(;S<=N;)Ve(a[S],y,w,!0),S++;else{const F=S,K=S,J=new Map;for(S=K;S<=P;S++){const Oe=h[S]=T?at(h[S]):$e(h[S]);Oe.key!=null&&J.set(Oe.key,S)}let te,de=0;const ke=P-K+1;let Pt=!1,Lr=0;const Yt=new Array(ke);for(S=0;S=ke){Ve(Oe,y,w,!0);continue}let Be;if(Oe.key!=null)Be=J.get(Oe.key);else for(te=K;te<=P;te++)if(Yt[te-K]===0&&Et(Oe,h[te])){Be=te;break}Be===void 0?Ve(Oe,y,w,!0):(Yt[Be-K]=S+1,Be>=Lr?Lr=Be:Pt=!0,E(Oe,h[Be],m,null,y,w,O,v,T),de++)}const Ir=Pt?ta(Yt):Ft;for(te=Ir.length-1,S=ke-1;S>=0;S--){const Oe=K+S,Be=h[Oe],Pr=Oe+1{const{el:w,type:O,transition:v,children:T,shapeFlag:S}=a;if(S&6){_t(a.component.subTree,h,m,b);return}if(S&128){a.suspense.move(h,m,b);return}if(S&64){O.move(a,h,m,It);return}if(O===_e){s(w,h,m);for(let N=0;Nv.enter(w),y);else{const{leave:N,delayLeave:P,afterLeave:F}=v,K=()=>s(w,h,m),J=()=>{N(w,()=>{K(),F&&F()})};P?P(w,K,J):J()}else s(w,h,m)},Ve=(a,h,m,b=!1,y=!1)=>{const{type:w,props:O,ref:v,children:T,dynamicChildren:S,shapeFlag:R,patchFlag:N,dirs:P}=a;if(v!=null&&js(v,null,m,a,!0),R&256){h.ctx.deactivate(a);return}const F=R&1&&P,K=!xn(a);let J;if(K&&(J=O&&O.onVnodeBeforeUnmount)&&Me(J,h,a),R&6)Sl(a.component,m,b);else{if(R&128){a.suspense.unmount(m,b);return}F&&bt(a,null,h,"beforeUnmount"),R&64?a.type.remove(a,h,m,y,It,b):S&&(w!==_e||N>0&&N&64)?We(S,h,m,!1,!0):(w===_e&&N&384||!y&&R&16)&&We(T,h,m),b&&Rr(a)}(K&&(J=O&&O.onVnodeUnmounted)||F)&&Ce(()=>{J&&Me(J,h,a),F&&bt(a,null,h,"unmounted")},m)},Rr=a=>{const{type:h,el:m,anchor:b,transition:y}=a;if(h===_e){yl(m,b);return}if(h===In){z(a);return}const w=()=>{r(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(a.shapeFlag&1&&y&&!y.persisted){const{leave:O,delayLeave:v}=y,T=()=>O(m,w);v?v(a.el,w,T):T()}else w()},yl=(a,h)=>{let m;for(;a!==h;)m=g(a),r(a),a=m;r(h)},Sl=(a,h,m)=>{const{bum:b,scope:y,update:w,subTree:O,um:v}=a;b&&Rn(b),y.stop(),w&&(w.active=!1,Ve(O,a,h,m)),v&&Ce(v,h),Ce(()=>{a.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},We=(a,h,m,b=!1,y=!1,w=0)=>{for(let O=w;Oa.shapeFlag&6?Sn(a.component.subTree):a.shapeFlag&128?a.suspense.next():g(a.anchor||a.el);let us=!1;const xr=(a,h,m)=>{a==null?h._vnode&&Ve(h._vnode,null,null,!0):E(h._vnode||null,a,h,null,null,null,m),us||(us=!0,jr(),ii(),us=!1),h._vnode=a},It={p:E,um:Ve,m:_t,r:Rr,mt:Te,mc:V,pc:X,pbc:Q,n:Sn,o:e};let fs,ds;return t&&([fs,ds]=t(It)),{render:xr,hydrate:fs,createApp:qc(xr,fs)}}function ys({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ea(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oi(e,t,n=!1){const s=e.children,r=t.children;if(k(s)&&k(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ri(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ri(t)}const na=e=>e.__isTeleport,_e=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),In=Symbol.for("v-stc"),on=[];let Fe=null;function x(e=!1){on.push(Fe=e?null:[])}function sa(){on.pop(),Fe=on[on.length-1]||null}let un=1;function eo(e){un+=e}function xi(e){return e.dynamicChildren=un>0?Fe||Ft:null,sa(),un>0&&Fe&&Fe.push(e),e}function L(e,t,n,s,r,o){return xi(p(e,t,n,s,r,o,!0))}function Hs(e,t,n,s,r){return xi(le(e,t,n,s,r,!0))}function Ks(e){return e?e.__v_isVNode===!0:!1}function Et(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",Li=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Re(e)||M(e)?{i:ve,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,s=0,r=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Li(t),ref:t&&Pn(t),scopeId:Xn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ve};return l?(mr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),un>0&&!i&&Fe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Fe.push(c),c}const le=ra;function ra(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===bc)&&(e=Ue),Ks(e)){const l=mt(e,t,!0);return n&&mr(l,n),un>0&&!o&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag|=-2,l}if(_a(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=Ee(l)),Y(c)&&(ei(c)&&!k(c)&&(c=he({},c)),t.style=pn(c))}const i=ce(e)?1:Sc(e)?128:na(e)?64:Y(e)?4:M(e)?2:0;return p(e,t,n,s,r,i,o,!0)}function oa(e){return e?ei(e)||ts in e?he({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?la(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Li(l),ref:t&&t.ref?n&&r?k(r)?r.concat(Pn(t)):[r,Pn(t)]:Pn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function pe(e=" ",t=0){return le(es,null,e,t)}function ia(e,t){const n=le(In,null,e);return n.staticCount=t,n}function B(e="",t=!1){return t?(x(),Hs(Ue,null,e)):le(Ue,null,e)}function $e(e){return e==null||typeof e=="boolean"?le(Ue):k(e)?le(_e,null,e.slice()):typeof e=="object"?at(e):le(es,null,String(e))}function at(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function mr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),mr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(ts in t)?t._ctx=ve:r===3&&ve&&(ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:ve},n=32):(t=String(t),s&64?(n=16,t=[pe(t)]):n=8);e.children=t,e.shapeFlag|=n}function la(...e){const t={};for(let n=0;nme||ve;let Mn,qs;{const e=Do(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Mn=t("__VUE_INSTANCE_SETTERS__",n=>me=n),qs=t("__VUE_SSR_SETTERS__",n=>ns=n)}const mn=e=>{const t=me;return Mn(e),e.scope.on(),()=>{e.scope.off(),Mn(t)}},to=()=>{me&&me.scope.off(),Mn(null)};function Ii(e){return e.vnode.shapeFlag&4}let ns=!1;function da(e,t=!1){t&&qs(t);const{props:n,children:s}=e.vnode,r=Ii(e);Gc(e,n,r,t),Yc(e,s);const o=r?ha(e,t):void 0;return t&&qs(!1),o}function ha(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ti(new Proxy(e.ctx,Vc));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ma(e):null,o=mn(e);Rt();const i=ht(s,e,0,[e.props,r]);if(xt(),o(),No(i)){if(i.then(to,to),t)return i.then(l=>{no(e,l,t)}).catch(l=>{Jn(l,e,0)});e.asyncDep=i}else no(e,i,t)}else Pi(e,t)}function no(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=si(t)),Pi(e,n)}let so;function Pi(e,t,n){const s=e.type;if(!e.render){if(!t&&so&&!s.render){const r=s.template||hr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=he(he({isCustomElement:o,delimiters:l},i),c);s.render=so(r,f)}}e.render=s.render||Le}{const r=mn(e);Rt();try{Bc(e)}finally{xt(),r()}}}function pa(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}}))}function ma(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return pa(e)},slots:e.slots,emit:e.emit,expose:t}}function ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(si(ti(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sn)return sn[n](e)},has(t,n){return n in t||n in sn}}))}function ga(e,t=!0){return M(e)?e.displayName||e.name:e.name||t&&e.__name}function _a(e){return M(e)&&"__vccOpts"in e}const ki=(e,t)=>sc(e,t,ns);function ba(e,t,n){const s=arguments.length;return s===2?Y(t)&&!k(t)?Ks(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ks(n)&&(n=[n]),le(e,t,n))}const ya="3.4.21";/**
-* @vue/runtime-dom v3.4.21
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/const Sa="http://www.w3.org/2000/svg",va="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,ro=ut&&ut.createElement("template"),Ca={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ut.createElementNS(Sa,e):t==="mathml"?ut.createElementNS(va,e):ut.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ro.innerHTML=s==="svg"?``:s==="mathml"?``:e;const l=ro.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},st="transition",Xt="animation",fn=Symbol("_vtc"),gr=(e,{slots:t})=>ba(Oc,Ea(e),t);gr.displayName="Transition";const Ni={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};gr.props=he({},hi,Ni);const St=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},oo=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Ea(e){const t={};for(const I in e)I in Ni||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,A=wa(r),E=A&&A[0],D=A&&A[1],{onBeforeEnter:$,onEnter:ee,onEnterCancelled:j,onLeave:z,onLeaveCancelled:re,onBeforeAppear:H=$,onAppear:ye=ee,onAppearCancelled:V=j}=t,oe=(I,ne,Te)=>{vt(I,ne?u:l),vt(I,ne?f:i),Te&&Te()},Q=(I,ne)=>{I._isLeaving=!1,vt(I,d),vt(I,C),vt(I,g),ne&&ne()},ge=I=>(ne,Te)=>{const Jt=I?ye:ee,fe=()=>oe(ne,I,Te);St(Jt,[ne,fe]),io(()=>{vt(ne,I?c:o),rt(ne,I?u:l),oo(Jt)||lo(ne,s,E,fe)})};return he(t,{onBeforeEnter(I){St($,[I]),rt(I,o),rt(I,i)},onBeforeAppear(I){St(H,[I]),rt(I,c),rt(I,f)},onEnter:ge(!1),onAppear:ge(!0),onLeave(I,ne){I._isLeaving=!0;const Te=()=>Q(I,ne);rt(I,d),Oa(),rt(I,g),io(()=>{I._isLeaving&&(vt(I,d),rt(I,C),oo(z)||lo(I,s,D,Te))}),St(z,[I,Te])},onEnterCancelled(I){oe(I,!1),St(j,[I])},onAppearCancelled(I){oe(I,!0),St(V,[I])},onLeaveCancelled(I){Q(I),St(re,[I])}})}function wa(e){if(e==null)return null;if(Y(e))return[Ss(e.enter),Ss(e.leave)];{const t=Ss(e);return[t,t]}}function Ss(e){return Tl(e)}function rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fn]||(e[fn]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[fn];n&&(n.delete(t),n.size||(e[fn]=void 0))}function io(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Aa=0;function lo(e,t,n,s){const r=e._endId=++Aa,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Ta(e,t);if(!i)return s();const f=i+"end";let u=0;const d=()=>{e.removeEventListener(f,g),o()},g=C=>{C.target===e&&++u>=c&&d()};setTimeout(()=>{u(n[A]||"").split(", "),r=s(`${st}Delay`),o=s(`${st}Duration`),i=co(r,o),l=s(`${Xt}Delay`),c=s(`${Xt}Duration`),f=co(l,c);let u=null,d=0,g=0;t===st?i>0&&(u=st,d=i,g=o.length):t===Xt?f>0&&(u=Xt,d=f,g=c.length):(d=Math.max(i,f),u=d>0?i>f?st:Xt:null,g=u?u===st?o.length:c.length:0);const C=u===st&&/\b(transform|all)(,|$)/.test(s(`${st}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:C}}function co(e,t){for(;e.lengthao(n)+ao(e[s])))}function ao(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Oa(){return document.body.offsetHeight}function Ra(e,t,n){const s=e[fn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const uo=Symbol("_vod"),xa=Symbol("_vsh"),La=Symbol(""),Ia=/(^|;)\s*display\s*:/;function Pa(e,t,n){const s=e.style,r=ce(n);let o=!1;if(n&&!r){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&kn(s,l,"")}else for(const i in t)n[i]==null&&kn(s,i,"");for(const i in n)i==="display"&&(o=!0),kn(s,i,n[i])}else if(r){if(t!==n){const i=s[La];i&&(n+=";"+i),s.cssText=n,o=Ia.test(n)}}else t&&e.removeAttribute("style");uo in e&&(e[uo]=o?s.display:"",e[xa]&&(s.display="none"))}const fo=/\s*!important$/;function kn(e,t,n){if(k(n))n.forEach(s=>kn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ka(e,t);fo.test(n)?e.setProperty(jt(s),n.replace(fo,""),"important"):e[s]=n}}const ho=["Webkit","Moz","ms"],vs={};function ka(e,t){const n=vs[t];if(n)return n;let s=Ke(t);if(s!=="filter"&&s in e)return vs[t]=s;s=Wn(s);for(let r=0;rCs||(Ba.then(()=>Cs=0),Cs=Date.now());function $a(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ie(ja(s,n.value),t,5,[s])};return n.value=e,n.attached=Ma(),n}function ja(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const _o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ha=(e,t,n,s,r,o,i,l,c)=>{const f=r==="svg";t==="class"?Ra(e,s,f):t==="style"?Pa(e,n,s):Hn(t)?er(t)||Da(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ka(e,t,s,f))?Fa(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Na(e,t,s,f))};function Ka(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_o(t)&&M(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return _o(t)&&ce(n)?!1:t in e}const Mt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>Rn(t,n):t};function qa(e){e.target.composing=!0}function bo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye=Symbol("_assign"),en={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ye]=Mt(r);const o=s||r.props&&r.props.type==="number";ft(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Rs(l)),e[Ye](l)}),n&&ft(e,"change",()=>{e.value=e.value.trim()}),t||(ft(e,"compositionstart",qa),ft(e,"compositionend",bo),ft(e,"change",bo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e[Ye]=Mt(o),e.composing)return;const i=r||e.type==="number"?Rs(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===l)||(e.value=l))}},ot={deep:!0,created(e,t,n){e[Ye]=Mt(n),ft(e,"change",()=>{const s=e._modelValue,r=Fi(e),o=e.checked,i=e[Ye];if(k(s)){const l=Bo(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const f=[...s];f.splice(l,1),i(f)}}else if(Kn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ui(e,o))})},mounted:yo,beforeUpdate(e,t,n){e[Ye]=Mt(n),yo(e,t,n)}};function yo(e,{value:t,oldValue:n},s){e._modelValue=t,k(t)?e.checked=Bo(t,s.props.value)>-1:Kn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Bt(t,Ui(e,!0)))}const Ge={created(e,{value:t},n){e.checked=Bt(t,n.props.value),e[Ye]=Mt(n),ft(e,"change",()=>{e[Ye](Fi(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ye]=Mt(s),t!==n&&(e.checked=Bt(t,s.props.value))}};function Fi(e){return"_value"in e?e._value:e.value}function Ui(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Wa=he({patchProp:Ha},Ca);let So;function Ga(){return So||(So=Qc(Wa))}const za=(...e)=>{const t=Ga().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ya(s);if(!r)return;const o=t._component;!M(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Ja(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ja(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ya(e){return ce(e)?document.querySelector(e):e}function Di(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xa}=Object.prototype,{getPrototypeOf:_r}=Object,rs=(e=>t=>{const n=Xa.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qe=e=>(e=e.toLowerCase(),t=>rs(t)===e),os=e=>t=>typeof t===e,{isArray:qt}=Array,dn=os("undefined");function Qa(e){return e!==null&&!dn(e)&&e.constructor!==null&&!dn(e.constructor)&&Pe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vi=qe("ArrayBuffer");function Za(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vi(e.buffer),t}const eu=os("string"),Pe=os("function"),Bi=os("number"),is=e=>e!==null&&typeof e=="object",tu=e=>e===!0||e===!1,Nn=e=>{if(rs(e)!=="object")return!1;const t=_r(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nu=qe("Date"),su=qe("File"),ru=qe("Blob"),ou=qe("FileList"),iu=e=>is(e)&&Pe(e.pipe),lu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Pe(e.append)&&((t=rs(e))==="formdata"||t==="object"&&Pe(e.toString)&&e.toString()==="[object FormData]"))},cu=qe("URLSearchParams"),au=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),qt(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const $i=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ji=e=>!dn(e)&&e!==$i;function Ws(){const{caseless:e}=ji(this)&&this||{},t={},n=(s,r)=>{const o=e&&Mi(t,r)||r;Nn(t[o])&&Nn(s)?t[o]=Ws(t[o],s):Nn(s)?t[o]=Ws({},s):qt(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(gn(t,(r,o)=>{n&&Pe(r)?e[o]=Di(r,n):e[o]=r},{allOwnKeys:s}),e),fu=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),du=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hu=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&_r(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pu=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},mu=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!Bi(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gu=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&_r(Uint8Array)),_u=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},bu=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},yu=qe("HTMLFormElement"),Su=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),vo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vu=qe("RegExp"),Hi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};gn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Cu=e=>{Hi(e,(t,n)=>{if(Pe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Pe(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Eu=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return qt(e)?s(e):s(String(e).split(t)),n},wu=()=>{},Au=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Es="abcdefghijklmnopqrstuvwxyz",Co="0123456789",Ki={DIGIT:Co,ALPHA:Es,ALPHA_DIGIT:Es+Es.toUpperCase()+Co},Tu=(e=16,t=Ki.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function Ou(e){return!!(e&&Pe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ru=e=>{const t=new Array(10),n=(s,r)=>{if(is(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=qt(s)?[]:{};return gn(s,(i,l)=>{const c=n(i,r+1);!dn(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},xu=qe("AsyncFunction"),Lu=e=>e&&(is(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),_={isArray:qt,isArrayBuffer:Vi,isBuffer:Qa,isFormData:lu,isArrayBufferView:Za,isString:eu,isNumber:Bi,isBoolean:tu,isObject:is,isPlainObject:Nn,isUndefined:dn,isDate:nu,isFile:su,isBlob:ru,isRegExp:vu,isFunction:Pe,isStream:iu,isURLSearchParams:cu,isTypedArray:gu,isFileList:ou,forEach:gn,merge:Ws,extend:uu,trim:au,stripBOM:fu,inherits:du,toFlatObject:hu,kindOf:rs,kindOfTest:qe,endsWith:pu,toArray:mu,forEachEntry:_u,matchAll:bu,isHTMLForm:yu,hasOwnProperty:vo,hasOwnProp:vo,reduceDescriptors:Hi,freezeMethods:Cu,toObjectSet:Eu,toCamelCase:Su,noop:wu,toFiniteNumber:Au,findKey:Mi,global:$i,isContextDefined:ji,ALPHABET:Ki,generateString:Tu,isSpecCompliantForm:Ou,toJSONObject:Ru,isAsyncFn:xu,isThenable:Lu};function q(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}_.inherits(q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const qi=q.prototype,Wi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Wi[e]={value:e}});Object.defineProperties(q,Wi);Object.defineProperty(qi,"isAxiosError",{value:!0});q.from=(e,t,n,s,r,o)=>{const i=Object.create(qi);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),q.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Iu=null;function Gs(e){return _.isPlainObject(e)||_.isArray(e)}function Gi(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function Eo(e,t,n){return e?e.concat(t).map(function(r,o){return r=Gi(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Pu(e){return _.isArray(e)&&!e.some(Gs)}const ku=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function ls(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,D){return!_.isUndefined(D[E])});const s=n.metaTokens,r=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function f(A){if(A===null)return"";if(_.isDate(A))return A.toISOString();if(!c&&_.isBlob(A))throw new q("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(A)||_.isTypedArray(A)?c&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function u(A,E,D){let $=A;if(A&&!D&&typeof A=="object"){if(_.endsWith(E,"{}"))E=s?E:E.slice(0,-2),A=JSON.stringify(A);else if(_.isArray(A)&&Pu(A)||(_.isFileList(A)||_.endsWith(E,"[]"))&&($=_.toArray(A)))return E=Gi(E),$.forEach(function(j,z){!(_.isUndefined(j)||j===null)&&t.append(i===!0?Eo([E],z,o):i===null?E:E+"[]",f(j))}),!1}return Gs(A)?!0:(t.append(Eo(D,E,o),f(A)),!1)}const d=[],g=Object.assign(ku,{defaultVisitor:u,convertValue:f,isVisitable:Gs});function C(A,E){if(!_.isUndefined(A)){if(d.indexOf(A)!==-1)throw Error("Circular reference detected in "+E.join("."));d.push(A),_.forEach(A,function($,ee){(!(_.isUndefined($)||$===null)&&r.call(t,$,_.isString(ee)?ee.trim():ee,E,g))===!0&&C($,E?E.concat(ee):[ee])}),d.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return C(e),t}function wo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function br(e,t){this._pairs=[],e&&ls(e,this,t)}const zi=br.prototype;zi.append=function(t,n){this._pairs.push([t,n])};zi.toString=function(t){const n=t?function(s){return t.call(this,s,wo)}:wo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Nu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ji(e,t,n){if(!t)return e;const s=n&&n.encode||Nu,r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new br(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ao{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Yi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fu=typeof URLSearchParams<"u"?URLSearchParams:br,Uu=typeof FormData<"u"?FormData:null,Du=typeof Blob<"u"?Blob:null,Vu={isBrowser:!0,classes:{URLSearchParams:Fu,FormData:Uu,Blob:Du},protocols:["http","https","file","blob","url","data"]},Xi=typeof window<"u"&&typeof document<"u",Bu=(e=>Xi&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Mu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$u=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xi,hasStandardBrowserEnv:Bu,hasStandardBrowserWebWorkerEnv:Mu},Symbol.toStringTag,{value:"Module"})),He={...$u,...Vu};function ju(e,t){return ls(e,new He.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return He.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Hu(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ku(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Ku(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(Hu(s),r,n,0)}),n}return null}function qu(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const yr={transitional:Yi,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Qi(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return ju(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ls(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),qu(t)):t}],transformResponse:[function(t){const n=this.transitional||yr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?q.from(l,q.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:He.classes.FormData,Blob:He.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch"],e=>{yr.headers[e]={}});const Sr=yr,Wu=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gu=e=>{const t={};let n,s,r;return e&&e.split(`
-`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Wu[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},To=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Fn(e){return e===!1||e==null?e:_.isArray(e)?e.map(Fn):String(e)}function zu(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Ju=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ws(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function Yu(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Xu(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class cs{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,f){const u=Qt(c);if(!u)throw new Error("header name must be a non-empty string");const d=_.findKey(r,u);(!d||r[d]===void 0||f===!0||f===void 0&&r[d]!==!1)&&(r[d||c]=Fn(l))}const i=(l,c)=>_.forEach(l,(f,u)=>o(f,u,c));return _.isPlainObject(t)||t instanceof this.constructor?i(t,n):_.isString(t)&&(t=t.trim())&&!Ju(t)?i(Gu(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=Qt(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return zu(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qt(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ws(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=Qt(i),i){const l=_.findKey(s,i);l&&(!n||ws(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||ws(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=Fn(r),delete n[o];return}const l=t?Yu(o):String(o).trim();l!==o&&delete n[o],n[l]=Fn(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),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 s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[To]=this[To]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=Qt(i);s[l]||(Xu(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}cs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(cs.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(cs);const Xe=cs;function As(e,t){const n=this||Sr,s=t||n,r=Xe.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Zi(e){return!!(e&&e.__CANCEL__)}function _n(e,t,n){q.call(this,e??"canceled",q.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(_n,q,{__CANCEL__:!0});function Qu(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new q("Request failed with status code "+n.status,[q.ERR_BAD_REQUEST,q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Zu=He.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];_.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),_.isString(s)&&i.push("path="+s),_.isString(r)&&i.push("domain="+r),o===!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 ef(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function el(e,t){return e&&!ef(t)?tf(e,t):t}const nf=He.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;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 s=r(window.location.href),function(i){const l=_.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}();function sf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rf(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const f=Date.now(),u=s[o];i||(i=f),n[r]=c,s[r]=f;let d=o,g=0;for(;d!==r;)g+=n[d++],d=d%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),f-i{const o=r.loaded,i=r.lengthComputable?r.total:void 0,l=o-n,c=s(l),f=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&f?(i-o)/c:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const of=typeof XMLHttpRequest<"u",lf=of&&function(e){return new Promise(function(n,s){let r=e.data;const o=Xe.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,c;function f(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let u;if(_.isFormData(r)){if(He.hasStandardBrowserEnv||He.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((u=o.getContentType())!==!1){const[E,...D]=u?u.split(";").map($=>$.trim()).filter(Boolean):[];o.setContentType([E||"multipart/form-data",...D].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const E=e.auth.username||"",D=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(E+":"+D))}const g=el(e.baseURL,e.url);d.open(e.method.toUpperCase(),Ji(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function C(){if(!d)return;const E=Xe.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),$={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:E,config:e,request:d};Qu(function(j){n(j),f()},function(j){s(j),f()},$),d=null}if("onloadend"in d?d.onloadend=C:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(C)},d.onabort=function(){d&&(s(new q("Request aborted",q.ECONNABORTED,e,d)),d=null)},d.onerror=function(){s(new q("Network Error",q.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let D=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const $=e.transitional||Yi;e.timeoutErrorMessage&&(D=e.timeoutErrorMessage),s(new q(D,$.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,e,d)),d=null},He.hasStandardBrowserEnv&&(l&&_.isFunction(l)&&(l=l(e)),l||l!==!1&&nf(g))){const E=e.xsrfHeaderName&&e.xsrfCookieName&&Zu.read(e.xsrfCookieName);E&&o.set(e.xsrfHeaderName,E)}r===void 0&&o.setContentType(null),"setRequestHeader"in d&&_.forEach(o.toJSON(),function(D,$){d.setRequestHeader($,D)}),_.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),i&&i!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Oo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Oo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=E=>{d&&(s(!E||E.type?new _n(null,e,d):E),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const A=sf(g);if(A&&He.protocols.indexOf(A)===-1){s(new q("Unsupported protocol "+A+":",q.ERR_BAD_REQUEST,e));return}d.send(r||null)})},zs={http:Iu,xhr:lf};_.forEach(zs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ro=e=>`- ${e}`,cf=e=>_.isFunction(e)||e===null||e===!1,tl={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
-`+o.map(Ro).join(`
-`):" "+Ro(o[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:zs};function Ts(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _n(null,e)}function xo(e){return Ts(e),e.headers=Xe.from(e.headers),e.data=As.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tl.getAdapter(e.adapter||Sr.adapter)(e).then(function(s){return Ts(e),s.data=As.call(e,e.transformResponse,s),s.headers=Xe.from(s.headers),s},function(s){return Zi(s)||(Ts(e),s&&s.response&&(s.response.data=As.call(e,e.transformResponse,s.response),s.response.headers=Xe.from(s.response.headers))),Promise.reject(s)})}const Lo=e=>e instanceof Xe?{...e}:e;function $t(e,t){t=t||{};const n={};function s(f,u,d){return _.isPlainObject(f)&&_.isPlainObject(u)?_.merge.call({caseless:d},f,u):_.isPlainObject(u)?_.merge({},u):_.isArray(u)?u.slice():u}function r(f,u,d){if(_.isUndefined(u)){if(!_.isUndefined(f))return s(void 0,f,d)}else return s(f,u,d)}function o(f,u){if(!_.isUndefined(u))return s(void 0,u)}function i(f,u){if(_.isUndefined(u)){if(!_.isUndefined(f))return s(void 0,f)}else return s(void 0,u)}function l(f,u,d){if(d in t)return s(f,u);if(d in e)return s(void 0,f)}const c={url:o,method:o,data:o,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:l,headers:(f,u)=>r(Lo(f),Lo(u),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,g=d(e[u],t[u],u);_.isUndefined(g)&&d!==l||(n[u]=g)}),n}const nl="1.6.8",vr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Io={};vr.transitional=function(t,n,s){function r(o,i){return"[Axios v"+nl+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new q(r(i," has been removed"+(n?" in "+n:"")),q.ERR_DEPRECATED);return n&&!Io[i]&&(Io[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function af(e,t,n){if(typeof e!="object")throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new q("option "+o+" must be "+c,q.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new q("Unknown option "+o,q.ERR_BAD_OPTION)}}const Js={assertOptions:af,validators:vr},it=Js.validators;class $n{constructor(t){this.defaults=t,this.interceptors={request:new Ao,response:new Ao}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
-`+o):s.stack=o}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$t(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Js.assertOptions(s,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:Js.assertOptions(r,{encode:it.function,serialize:it.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","common"],A=>{delete o[A]}),n.headers=Xe.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(c=c&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const f=[];this.interceptors.response.forEach(function(E){f.push(E.fulfilled,E.rejected)});let u,d=0,g;if(!c){const A=[xo.bind(this),void 0];for(A.unshift.apply(A,l),A.push.apply(A,f),g=A.length,u=Promise.resolve(n);d{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new _n(o,i,l),n(s.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)}static source(){let t;return{token:new Cr(function(r){t=r}),cancel:t}}}const uf=Cr;function ff(e){return function(n){return e.apply(null,n)}}function df(e){return _.isObject(e)&&e.isAxiosError===!0}const Ys={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(Ys).forEach(([e,t])=>{Ys[t]=e});const hf=Ys;function sl(e){const t=new Un(e),n=Di(Un.prototype.request,t);return _.extend(n,Un.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return sl($t(e,r))},n}const U=sl(Sr);U.Axios=Un;U.CanceledError=_n;U.CancelToken=uf;U.isCancel=Zi;U.VERSION=nl;U.toFormData=ls;U.AxiosError=q;U.Cancel=U.CanceledError;U.all=function(t){return Promise.all(t)};U.spread=ff;U.isAxiosError=df;U.mergeConfig=$t;U.AxiosHeaders=Xe;U.formToJSON=e=>Qi(_.isHTMLForm(e)?new FormData(e):e);U.getAdapter=tl.getAdapter;U.HttpStatusCode=hf;U.default=U;function pf(){return rl().__VUE_DEVTOOLS_GLOBAL_HOOK__}function rl(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const mf=typeof Proxy=="function",gf="devtools-plugin:setup",_f="plugin:settings:set";let kt,Xs;function bf(){var e;return kt!==void 0||(typeof window<"u"&&window.performance?(kt=!0,Xs=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(kt=!0,Xs=globalThis.perf_hooks.performance):kt=!1),kt}function yf(){return bf()?Xs.now():Date.now()}class Sf{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const l=t.settings[i];s[i]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(r),l=JSON.parse(i);Object.assign(o,l)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch{}o=i},now(){return yf()}},n&&n.on(_f,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(f=>{this.targetQueue.push({method:l,args:c,resolve:f})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function vf(e,t){const n=e,s=rl(),r=pf(),o=mf&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(gf,e,t);else{const i=o?new Sf(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
- * vuex v4.1.0
- * (c) 2022 Evan You
- * @license MIT
- */var Cf="store";function Wt(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function ol(e){return e!==null&&typeof e=="object"}function Ef(e){return e&&typeof e.then=="function"}function wf(e,t){return function(){return e(t)}}function il(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function ll(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;as(e,n,[],e._modules.root,!0),Er(e,n,t)}function Er(e,t,n){var s=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={},l={},c=Nl(!0);c.run(function(){Wt(o,function(f,u){i[u]=wf(f,e),l[u]=ki(function(){return i[u]()}),Object.defineProperty(e.getters,u,{get:function(){return l[u].value},enumerable:!0})})}),e._state=zn({data:t}),e._scope=c,e.strict&&xf(e),s&&n&&e._withCommit(function(){s.data=null}),r&&r.stop()}function as(e,t,n,s,r){var o=!n.length,i=e._modules.getNamespace(n);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!r){var l=wr(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit(function(){l[c]=s.state})}var f=s.context=Af(e,i,n);s.forEachMutation(function(u,d){var g=i+d;Tf(e,g,u,f)}),s.forEachAction(function(u,d){var g=u.root?d:i+d,C=u.handler||u;Of(e,g,C,f)}),s.forEachGetter(function(u,d){var g=i+d;Rf(e,g,u,f)}),s.forEachChild(function(u,d){as(e,t,n.concat(d),u,r)})}function Af(e,t,n){var s=t==="",r={dispatch:s?e.dispatch:function(o,i,l){var c=jn(o,i,l),f=c.payload,u=c.options,d=c.type;return(!u||!u.root)&&(d=t+d),e.dispatch(d,f)},commit:s?e.commit:function(o,i,l){var c=jn(o,i,l),f=c.payload,u=c.options,d=c.type;(!u||!u.root)&&(d=t+d),e.commit(d,f,u)}};return Object.defineProperties(r,{getters:{get:s?function(){return e.getters}:function(){return cl(e,t)}},state:{get:function(){return wr(e.state,n)}}}),r}function cl(e,t){if(!e._makeLocalGettersCache[t]){var n={},s=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,s)===t){var o=r.slice(s);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Tf(e,t,n,s){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(i){n.call(e,s.state,i)})}function Of(e,t,n,s){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(i){var l=n.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return Ef(l)||(l=Promise.resolve(l)),e._devtoolHook?l.catch(function(c){throw e._devtoolHook.emit("vuex:error",c),c}):l})}function Rf(e,t,n,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(s.state,s.getters,o.state,o.getters)})}function xf(e){nn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function wr(e,t){return t.reduce(function(n,s){return n[s]},e)}function jn(e,t,n){return ol(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Lf="vuex bindings",Po="vuex:mutations",Os="vuex:actions",Nt="vuex",If=0;function Pf(e,t){vf({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Lf]},function(n){n.addTimelineLayer({id:Po,label:"Vuex Mutations",color:ko}),n.addTimelineLayer({id:Os,label:"Vuex Actions",color:ko}),n.addInspector({id:Nt,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===Nt)if(s.filter){var r=[];dl(r,t._modules.root,s.filter,""),s.rootNodes=r}else s.rootNodes=[fl(t._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===Nt){var r=s.nodeId;cl(t,r),s.state=Ff(Df(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===Nt){var r=s.nodeId,o=s.path;r!=="root"&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,r){var o={};s.payload&&(o.payload=s.payload),o.state=r,n.notifyComponentUpdate(),n.sendInspectorTree(Nt),n.sendInspectorState(Nt),n.addTimelineEvent({layerId:Po,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,r){var o={};s.payload&&(o.payload=s.payload),s._id=If++,s._time=Date.now(),o.state=r,n.addTimelineEvent({layerId:Os,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,r){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=r,n.addTimelineEvent({layerId:Os,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var ko=8702998,kf=6710886,Nf=16777215,al={label:"namespaced",textColor:Nf,backgroundColor:kf};function ul(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function fl(e,t){return{id:t||"root",label:ul(t),tags:e.namespaced?[al]:[],children:Object.keys(e._children).map(function(n){return fl(e._children[n],t+n+"/")})}}function dl(e,t,n,s){s.includes(n)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[al]:[]}),Object.keys(t._children).forEach(function(r){dl(e,t._children[r],n,s+r+"/")})}function Ff(e,t,n){t=n==="root"?t:t[n];var s=Object.keys(t),r={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=Uf(t);r.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?ul(i):i,editable:!1,value:Qs(function(){return o[i]})}})}return r}function Uf(e){var t={};return Object.keys(e).forEach(function(n){var s=n.split("/");if(s.length>1){var r=t,o=s.pop();s.forEach(function(i){r[i]||(r[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),r=r[i]._custom.value}),r[o]=Qs(function(){return e[n]})}else t[n]=Qs(function(){return e[n]})}),t}function Df(e,t){var n=t.split("/").filter(function(s){return s});return n.reduce(function(s,r,o){var i=s[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Qs(e){try{return e()}catch(t){return t}}var De=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},hl={namespaced:{configurable:!0}};hl.namespaced.get=function(){return!!this._rawModule.namespaced};De.prototype.addChild=function(t,n){this._children[t]=n};De.prototype.removeChild=function(t){delete this._children[t]};De.prototype.getChild=function(t){return this._children[t]};De.prototype.hasChild=function(t){return t in this._children};De.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};De.prototype.forEachChild=function(t){Wt(this._children,t)};De.prototype.forEachGetter=function(t){this._rawModule.getters&&Wt(this._rawModule.getters,t)};De.prototype.forEachAction=function(t){this._rawModule.actions&&Wt(this._rawModule.actions,t)};De.prototype.forEachMutation=function(t){this._rawModule.mutations&&Wt(this._rawModule.mutations,t)};Object.defineProperties(De.prototype,hl);var Lt=function(t){this.register([],t,!1)};Lt.prototype.get=function(t){return t.reduce(function(n,s){return n.getChild(s)},this.root)};Lt.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(s,r){return n=n.getChild(r),s+(n.namespaced?r+"/":"")},"")};Lt.prototype.update=function(t){pl([],this.root,t)};Lt.prototype.register=function(t,n,s){var r=this;s===void 0&&(s=!0);var o=new De(n,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&Wt(n.modules,function(l,c){r.register(t.concat(c),l,s)})};Lt.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1],r=n.getChild(s);r&&r.runtime&&n.removeChild(s)};Lt.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),s=t[t.length-1];return n?n.hasChild(s):!1};function pl(e,t,n){if(t.update(n),n.modules)for(var s in n.modules){if(!t.getChild(s))return;pl(e.concat(s),t.getChild(s),n.modules[s])}}function Vf(e){return new Ae(e)}var Ae=function(t){var n=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var r=t.strict;r===void 0&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Lt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,l=this,c=l.dispatch,f=l.commit;this.dispatch=function(g,C){return c.call(i,g,C)},this.commit=function(g,C,A){return f.call(i,g,C,A)},this.strict=r;var u=this._modules.root.state;as(this,u,[],this._modules.root),Er(this,u),s.forEach(function(d){return d(n)})},Ar={state:{configurable:!0}};Ae.prototype.install=function(t,n){t.provide(n||Cf,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&Pf(t,this)};Ar.state.get=function(){return this._state.data};Ar.state.set=function(e){};Ae.prototype.commit=function(t,n,s){var r=this,o=jn(t,n,s),i=o.type,l=o.payload,c={type:i,payload:l},f=this._mutations[i];f&&(this._withCommit(function(){f.forEach(function(d){d(l)})}),this._subscribers.slice().forEach(function(u){return u(c,r.state)}))};Ae.prototype.dispatch=function(t,n){var s=this,r=jn(t,n),o=r.type,i=r.payload,l={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(l,s.state)})}catch{}var f=c.length>1?Promise.all(c.map(function(u){return u(i)})):c[0](i);return new Promise(function(u,d){f.then(function(g){try{s._actionSubscribers.filter(function(C){return C.after}).forEach(function(C){return C.after(l,s.state)})}catch{}u(g)},function(g){try{s._actionSubscribers.filter(function(C){return C.error}).forEach(function(C){return C.error(l,s.state,g)})}catch{}d(g)})})}};Ae.prototype.subscribe=function(t,n){return il(t,this._subscribers,n)};Ae.prototype.subscribeAction=function(t,n){var s=typeof t=="function"?{before:t}:t;return il(s,this._actionSubscribers,n)};Ae.prototype.watch=function(t,n,s){var r=this;return nn(function(){return t(r.state,r.getters)},n,Object.assign({},s))};Ae.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Ae.prototype.registerModule=function(t,n,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),as(this,this.state,t,this._modules.get(t),s.preserveState),Er(this,this.state)};Ae.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=wr(n.state,t.slice(0,-1));delete s[t[t.length-1]]}),ll(this)};Ae.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Ae.prototype.hotUpdate=function(t){this._modules.update(t),ll(this,!0)};Ae.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Ae.prototype,Ar);var Ze=gl(function(e,t){var n={};return ml(t).forEach(function(s){var r=s.key,o=s.val;n[r]=function(){var l=this.$store.state,c=this.$store.getters;if(e){var f=_l(this.$store,"mapState",e);if(!f)return;l=f.context.state,c=f.context.getters}return typeof o=="function"?o.call(this,l,c):l[o]},n[r].vuex=!0}),n}),Bf=gl(function(e,t){var n={};return ml(t).forEach(function(s){var r=s.key,o=s.val;n[r]=function(){for(var l=[],c=arguments.length;c--;)l[c]=arguments[c];var f=this.$store.commit;if(e){var u=_l(this.$store,"mapMutations",e);if(!u)return;f=u.context.commit}return typeof o=="function"?o.apply(this,[f].concat(l)):f.apply(this.$store,[o].concat(l))}}),n});function ml(e){return Mf(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Mf(e){return Array.isArray(e)||ol(e)}function gl(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function _l(e,t,n){var s=e._modulesNamespaceMap[n];return s}const et=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},$f={data(){return{artistsArrayList:[],lastClickedItem:null,showDrop:!1}},created(){this.loadList(),U.get("/api/getLastArtist").then(e=>{e.data!==""&&(this.lastClickedItem=e.data)})},computed:{...Ze(["allowButtons","sourceTab","artist"])},watch:{"$store.state.loadListRequest"(e){e&&(this.$store.commit("SET_LOAD_REQUEST",!1),this.loadList())}},methods:{loadList(){U.get("/api/loadList").then(e=>{this.artistsArrayList=e.data}).catch(e=>{console.error(e)})},handleItemClick(e){this.lastClickedItem=e,U.post("/api/listOrTabClick",{item:e,origin:"list"}).then(t=>{this.$store.commit("SET_SELECTED_ARTIST",e),this.$store.commit("SET_TABLE_CONTENT",t.data)}).catch(t=>{console.error(t)})},clickAddArtist(){this.$store.commit("SET_ADD_VIS",!0)},clickDeleteArtist(){this.lastClickedItem!==""&&U.get("/api/clickArtistDelete").then(()=>{this.$store.commit("SET_SELECTED_ARTIST",""),this.$store.commit("SET_SOURCE_TAB","combview"),this.loadList()}).catch(e=>{console.error(e)})},showMore(){this.showDrop=!this.showDrop},deleteUrl(){U.post("/api/deleteUrl").then(()=>{this.handleItemClick(this.lastClickedItem)})}}},jf={class:"buttonspace"},Hf=["disabled"],Kf={key:0,class:"dropdown"},qf=["disabled"],Wf=["disabled"],Gf={class:"artistlist"},zf=["onMousedown"],Jf={class:"listitems"};function Yf(e,t,n,s,r,o){return x(),L(_e,null,[p("div",jf,[p("button",{onMousedown:t[0]||(t[0]=i=>o.clickAddArtist()),class:"addbtn",disabled:!e.allowButtons},"add",40,Hf),p("button",{onClick:t[1]||(t[1]=i=>o.showMore()),class:"morebtn"},"more"),r.showDrop?(x(),L("div",Kf,[p("button",{onClick:t[2]||(t[2]=i=>o.deleteUrl()),disabled:e.sourceTab==null||e.sourceTab=="combview"||e.artist==""||!e.allowButtons,class:"deletebtn"},"delete selected URL",8,qf),p("button",{onClick:t[3]||(t[3]=i=>o.clickDeleteArtist()),disabled:e.artist==""||!e.allowButtons,class:"deletebtn"},"delete artist",8,Wf)])):B("",!0)]),p("div",Gf,[(x(!0),L(_e,null,Ds(r.artistsArrayList,i=>(x(),L("li",{key:i,onMousedown:l=>o.handleItemClick(i),class:Ee([{highlighted:i===r.lastClickedItem},"listbtn"])},[p("div",Jf,ze(i),1)],42,zf))),128)),(x(!0),L(_e,null,Ds(r.artistsArrayList,i=>(x(),L("li",{key:i}))),128))])],64)}const Xf=et($f,[["render",Yf],["__scopeId","data-v-18b2502f"]]),Qf="/assets/optionsblack-vjTCXWXl.png",Zf="/assets/optionsdark-ymr6Vwzk.png",ed="/assets/optionslight-B8QchSUy.png",td="/assets/refreshuniversal-3TIkIW2C.png",nd={data(){return{activeTab:"",eventSource:null,scrapeColor:"var(--accent-color)",scrapeNotice:!1,scrapeLast:"-"}},computed:{...Ze(["sourceTab","allowButtons","primaryColor"])},created(){this.activeTab=this.sourceTab,U.post("/api/fillCombview").catch(e=>{console.error(e)}).then(()=>{this.sourceTab===""?this.setStoreTab("combview"):this.handleSourceClick(this.sourceTab)}),U.get("/api/getScrapeDate").then(e=>{this.scrapeLast=e.data})},watch:{sourceTab(e){this.activeTab=e,e&&this.handleSourceClick(e)}},methods:{setStoreTab(e){this.$store.commit("SET_SOURCE_TAB",e)},handleSourceClick(e){U.post("/api/listOrTabClick",{item:e,origin:"tab"}).then(t=>{this.$store.commit("SET_TABLE_CONTENT",t.data)}).catch(t=>{console.error(t)})},clickScrape(){this.allowButtons?(this.$store.commit("SET_ALLOW_BUTTONS",!1),this.scrapeColor="var(--dull-color)",this.eventSource=new EventSource("/progress"),this.eventSource.onmessage=t=>{const n=parseFloat(t.data);this.$store.commit("SET_PROGRESS",n)},U.post("/api/clickScrape").then(()=>{this.scrapeColor="var(--accent-color)",this.$store.commit("SET_ALLOW_BUTTONS",!0),this.eventSource.close();let t=new Date().toLocaleString("en-GB",{day:"2-digit",month:"2-digit",hour:"2-digit",minute:"2-digit"}).replace(/\//g,".").replace(",","").replace(/(\d{2})\.(\d{2})/,"$1.$2.");this.scrapeLast=t,this.scrapeNotice=!0,this.handleSourceClick("combview"),U.post("/api/setSetting",{name:"lastScrape",value:t}).catch(n=>{console.error(n)})})):U.post("/api/cancelScrape").then(()=>{this.$store.commit("SET_ALLOW_BUTTONS",!0),this.scrapeColor="var(--accent-color)"})},scrapeHover(){this.scrapeNotice=!0},scrapeMouseOff(){this.scrapeNotice=!1},openSettings(){this.$store.commit("SET_SETTINGS_OPEN",!0)}}},sd=e=>(Ht("data-v-671de189"),e=e(),Kt(),e),rd={class:"wrapper"},od={class:"tabs"},id=["disabled"],ld={key:0,class:"image",src:Qf,alt:"Settings"},cd={key:1,class:"image",src:Zf,alt:"Settings"},ad={key:2,class:"image",src:ed,alt:"Settings"},ud=sd(()=>p("img",{class:"image",src:td,alt:"Refresh"},null,-1)),fd=[ud];function dd(e,t,n,s,r,o){return x(),L("div",rd,[p("div",od,[p("div",{onMousedown:t[0]||(t[0]=i=>o.setStoreTab("combview")),class:Ee([{active:r.activeTab==="combview"},"cvtab"])},"Combined view",34),p("div",{onMousedown:t[1]||(t[1]=i=>o.setStoreTab("beatport")),class:Ee([{active:r.activeTab==="beatport"},"stab"])},"BP",34),p("div",{onMousedown:t[2]||(t[2]=i=>o.setStoreTab("musicbrainz")),class:Ee([{active:r.activeTab==="musicbrainz"},"stab"])},"MB",34),p("div",{onMousedown:t[3]||(t[3]=i=>o.setStoreTab("junodownload")),class:Ee([{active:r.activeTab==="junodownload"},"stab"])},"JD",34),p("div",{onMousedown:t[4]||(t[4]=i=>o.setStoreTab("youtube")),class:Ee([{active:r.activeTab==="youtube"},"stab"])},"YT",34)]),p("button",{onClick:t[5]||(t[5]=i=>o.openSettings()),class:"imgbutton1",disabled:!e.allowButtons},[e.primaryColor==="Black"?(x(),L("img",ld)):e.primaryColor==="Dark"?(x(),L("img",cd)):e.primaryColor==="Light"?(x(),L("img",ad)):B("",!0)],8,id),p("button",{onClick:t[6]||(t[6]=i=>o.clickScrape()),onMouseover:t[7]||(t[7]=i=>o.scrapeHover()),onMouseleave:t[8]||(t[8]=i=>o.scrapeMouseOff()),style:pn({"background-color":r.scrapeColor}),class:"imgbutton2"},fd,36),le(gr,{name:"fade"},{default:ai(()=>[r.scrapeNotice?(x(),L("div",{key:0,class:"scrapenotice",onMouseover:t[9]||(t[9]=i=>o.scrapeMouseOff())},[p("p",null,"Last scrape: "+ze(r.scrapeLast),1)],32)):B("",!0)]),_:1})])}const hd=et(nd,[["render",dd],["__scopeId","data-v-671de189"]]),pd={mounted(){this.isDateInFuture},computed:{...Ze(["tableData","previewVis","artist","isoDates","sourceTab","urlExists"]),hideArtistColumn(){return this.tableData.some(e=>e.artist===null)},hideTable(){return this.tableData.some(e=>e.song!==null)}},methods:{isDateInFuture(e){return new Date(e)>new Date},formatDate(e){if(this.isoDates)return e;{const t=new Date(e),n=t.getDate(),s=t.getMonth()+1,r=t.getFullYear();return`${n}. ${s}. ${r}`}}}},bn=e=>(Ht("data-v-19adbfff"),e=e(),Kt(),e),md={key:0,class:"table-container"},gd={class:"table-header"},_d=bn(()=>p("th",{class:"song"},"song",-1)),bd={key:0,class:"artist"},yd=bn(()=>p("th",{class:"date"},"date",-1)),Sd={class:"table-body"},vd=bn(()=>p("td",null,[p("br")],-1)),Cd={class:"tdsong"},Ed={key:0,class:"tdartist"},wd={class:"tddate"},Ad={key:1,class:"emptynotice"},Td=bn(()=>p("p",null,"table empty",-1)),Od=[Td],Rd={key:2,class:"quickstart"},xd=bn(()=>p("p",null,[p("span",{class:"title"},"Quickstart guide"),pe(),p("br"),pe(' 1. click "add" to add an artist, select the artist '),p("br"),pe(" 2. click on any BP / MB / JD / YT button at the top to select a source "),p("br"),pe(" 3. find the artist on the website, copy & paste the link or ID "),p("br"),pe(" 4. to scrape, click refresh button in the top right corner "),p("br")],-1)),Ld=[xd];function Id(e,t,n,s,r,o){return x(),L(_e,null,[o.hideTable?(x(),L("div",md,[p("div",gd,[p("table",null,[p("tr",null,[_d,o.hideArtistColumn?B("",!0):(x(),L("th",bd,"artist")),yd])])]),p("div",Sd,[p("table",null,[p("tbody",null,[vd,(x(!0),L(_e,null,Ds(e.tableData,(i,l)=>(x(),L("tr",{key:l,class:Ee({"future-date":o.isDateInFuture(i.date)})},[p("td",Cd,ze(i.song),1),o.hideArtistColumn?B("",!0):(x(),L("td",Ed,ze(i.artist),1)),p("td",wd,ze(o.formatDate(i.date)),1)],2))),128))])])])])):B("",!0),e.urlExists&&!o.hideTable&&!e.previewVis&&e.sourceTab!=="combview"?(x(),L("div",Ad,Od)):B("",!0),!e.urlExists&&!o.hideTable&&!e.previewVis&&e.sourceTab==="combview"?(x(),L("div",Rd,Ld)):B("",!0)],64)}const Pd=et(pd,[["render",Id],["__scopeId","data-v-19adbfff"]]),Gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAYCAAAGAgHyxpylAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABwpJREFUeJzt3UmMFGUYh/FnlBiNGxITTbjoRQ+elBAFObpePLmgLAm7u8ywyQ7KIsuwGRdgALeIaDx4cDfRRGKMRr0YE2+Y6MEtosZoXGgP73ScNDD2VL1vfbX8fxcCTH1dyTz5uqq66uueVquFiLdTUu+A1JPCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQo1LvgCR1KTABuAD4CjgMfO0xsMJqpsuBXcCkjn8/BrwC9GKhZdajhdca5xbgGeD0YX7mR+Ba4LOsL6KwmuU24Dm6e6f6BrgM+DnLC+ngvTkm031UAGOBhVlfTDNWM0wGnmXkx9RHgIuzvKDCqr/bsahOzbj9GOCnkW6kt8J6u4N8UQGckWUjhVVfU7CzvzxR/QH8kGVDhVVPU4GnyRcVwHvAn1k2VFj1Mw14ivxRAfRn3VBh1ct04AA+UT0GvJN1Y50V1sd0YD8+UT0/ON4/WQdQWPWQ95LCUC9iB/5/5xlEb4XVNwO7ou4R1SEcogKFVXUzgAF8fo+HsLPJ3FGBwqqymfhF9QKOUYHCqqqZwF78opqGY1SgG/2qyDuqqeQ4+zsZzVjVMgu/qA4SFBUorCqZBezB53d2gMCoQGFVxWx8o5qN3d8eRmGV32xgNz6/q/0UEBUorLKbg29UcyggKlBYZTYHeJIKRgUKq6w8Z6p9FBwVKKwymotF1eMw1r7B8QqNChRW2czF3v48ohogUVSgsMpkHr5RzSNRVKCwymIe8AQ+Ue0lcVSgsMrgTnyjupPEUYHCSm0+8Dg1mqnaFFY684Ht+ES1B4uqNPeZK6w0erGoPOzB3v5KExUorBR6gW1OY+2mhFGBwipaH75R3UUJowKFVaQ+cjxZ3GEHJY4KFFZRFuAbVS8ljgoUVhEWAFudxtqORVV6CivWQnyj6nMaK5zCirMQ2OI01jYqFBUorCiL8I1qgdNYhVFY/hYBm53G6qeCUYHC8rYY36gyL4edmsLysxjY5DTWViocFSgsL0vwjWqR01jJKKz8lgCPOI21hRpEBcUvCjIKuBK4ZPDvXwIf4bzSSYG8o1rsNFZyRYV1GnZ20wec3/F/32MHqtuAvwraHw9rgNVOY23GIq2NItYgHQ28Ckz8n587DNxEhq/XSGANimpY0WH1AG8B13T5859g35NX5rjWAqucxtoEPOg0VqlEH7xPofuoAMYBbwPnxexOboqqS9Fh3Zthm3HYLDfaeV/yeghF1bXIt8KzgKNkXyb6Y+C6wTFSexhY4TTWGmzmq7XIGetC8q09Pp5yzFyKKoPIsH53GGM88CZwrsNYWazDL6rVNCQqiH0r7AG+4/jrVll8ip0EFHm2uA5Y7jTWauwYrTEiZ6wW8LLTWFcAr1PczLUev6hW0bCoIP461kXA58CZTuN9CFwP/OI03omsB5Y5jbUKO0ZrnOjLDUewZaS91hO4CngDOMdpvE4b8ItqJQ2NCoq5u+EQvksVTiAmrg3AUqexVmLHaI1V1G0z+/FdXa4d19lO423EL6oVNDwqKPZ+LO/1ML3i2ojfVfAV2DFa46X4hlXPBfEBPgBuAH4d4XY92LN6Dzjtx3Ls7VRIcwep9/qYE7FLESOZuRRVsFS3Jg/gu/zO1XQfVw+2/oFXVMtQVMdJec97e2nDIuNqR3W/02suw47RpEPqhyki4noNu7OiUw+wE7+olqKoTip1WPDfSr9ecU3CZq6hcbWjus/pNZbi9xBFLaU4KzwZz29lALuH/kbgN2AX2W467NTClhHa6TBWrZUpLPBdSB/gfeCLwXHzUlQjULawwM7WvJap9tLCls/elXpHqqIMx1iddlKutaAUVQZFPwndrR2Df3qthZ5VC5tBH028H5VTxhmrbQdpZy5FlUOZwwKbsVIsktHCziIVVUZlDwtsWZ8iF8toAfdgX54kGVUhLLCVWIpY36AF3I1d8pAcyni5YTiea6Z3amHf9rA7aPxGqcqM1daP352eQ7Wwj5UUlZOqhQX2GZ3XAw9g94XNw76eTZxUMSywuwo8nvtrR7XXYSwZoqphgd1cl+fx92PYB98DPrsjQ1U5LLAHF1Zm3HYu9oCHBKh6WGCPWo30wdC1KKpQVbvcMJx+uvsIqP19fxKoTmEB3IxdMhhzgv87il38PFjoHjVU3cJqmwTcCowFvgVeAt5NukcNU9ewJLE6HLxLCSksCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAmhsCSEwpIQCktCKCwJobAkhMKSEApLQigsCaGwJITCkhAKS0IoLAnxL3WBYWyxSXBfAAAAAElFTkSuQmCC",zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAYCAAAGAgHyxpylAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABw9JREFUeJzt3cmrHFUUx/HvcULBIbpRcKMbXbhSUBHc6l/gbBTU5MUJNM6zRo1Gk5gYccjkjCMuXIkDKjiigjvBnYIKThhBUETfcVH1NDxMeK/6nLq3qn9fqE1e+tbtqg/1uvt13zZ3R6no9ig9ATXOBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEp7lZ6AKpeZHQ2cBBwKfA287+7fhIyt9bGmLzM7FtgEnDzvR7PAq8BKd/96on0I1nRlZqcDTwP77ua//Qyc4u6fd96PYE1PZnYm8CwLewj0LXCMu//aZV968D4lmdlZLBwVwOHANZ33pyvW+GtRPcPin6x95e5HdtqnYI07MzubBtWeHYc4xN1/WeyN9KtwxJnZOUyGCmC/LjcSrJFmZufSPPubBNUfwE9dbihYI8zMlgJPMRkqgHfd/c8uNxSskWVm5wFPMjkqgPVdbyhYI8rMzgeeIAbVw+7+Vue56FnhOGpRPU4MqueA8939787zEazhF/CSws69BJzr7n9NMoh+FQ48M7uA5hX1CFQvEoAKBGvQtai2EXMeXwSWRqACwRpsZnYhcaheIBAVCNYga1FtJQ7VeZGoQO8gHVwJqJZO8uxvV+mKNaDM7CLiUD1PEioQrMHUotpCzDl7gkRUIFiDyMyWEYtqmbvPBoy1ywSr8lpUm4k5V4/TAyoQrKozs+XEolreByoQrGprUT3GAFGBYFVZ8JVqOz2jAsGqLjOboUFlAcNtB2b6RgWCVVUtqseIQbWNQqhAsKrJzFYQi2pFKVQgWFXUonqUGFRbKYwKBKt4ZnYxsaguLo0KBKtoZnYl8AgjulLNJViFalFtIAbVFhpU1bzPXLAKZGYraVBFtIXm1181qECweq9F9UDQcJupEBUIVq+Z2VXEorqkRlQgWL3Vour8yeJ5baRiVKC3JveSmV0NrAsabqO7rwwaKy1dsZILRrVhCKhAsFIzs2uIRXVV0FjpCVZSLaq1QcM9MCRUIFgpmdm1xKK6Omis3hKs4FpU9wcNt36IqECwQjOz64hF1Xk57NIJVlAtqvuChls3ZFQgWCGZ2fXEoro2aKxiCdaEtajWBA23dgyooOdX3s1sL+BE4Kj2n74EPole6aSvElBdFzRW+dw9fQP2AW4EfgR83vYDcD2wdx9zCbxPd/zPfem63Vf6/oQfnx5OwBLggwUc3PeAg0sfEKEaACyad0e+uYiD/FntuIBVgajWlL4/Q4W1tMPBrhaXUNUD6+OOB/1TYEnpgzPvvtwpVAvf0tZ5N7P9gR10Xyb6U+BUd98RN6tumdldwC1Bw93h7quCxqq2zNexDmOytcePB94wsyVB8+mUUHUrE9bvAWMcD7xuZgcFjLXozOxu4lDdPi2oIBfWd3T8rrt5nQC8bWYHB4y14FpUNwcNd7u73xk01iBKg+XNg7dXgoY7DnitryuXma0mDtVt04YKSH9WeATwG3HPpj4CDkye8+rA+d5a+tlZqS1/B3Am8HfgyfowCxdwT+A8byl9ckcNqz1hF9aOS6gGCKs9cRcl4DogaG73Bs7r5tIntYat353F4/pgUlxCNQJY7YlcVgMumj+Qbwycx02lT2ZNW5mdxuN6fzG4hGqksNqTuxyY7RtXi+rBwP3eWPok1riV3XnPuIRqSmAl4XoP2H8XqDYF7ueG0seu5q34BNqTPpOJS6imFFYmrhbVQ0FjzgJXlD5WQ9jS3ujXpeCF9KHB9QWwImAsB1a6+4MBY42+qmABmNkVxC1THZUDV7r7ptITGUrVfRK6vSLUtBaUUHWoOlgA7r4RqGFJRKd5TCVUi6xKWPAvrpJXrjlUDxWcw2CrFhaAu28ASiyS4cDlQtW9qmEBuPs6oM/FMhy4zN0f6XGfo6t6WADuvpZm4ZD0XQGXuvujPexr1FX3csPuCl4zfX5O820Pm5PGn6oGccWay93X0yyHFD40zZcdCVVQg4IF4O5rgJsCh5yl+a6/LYFjTn2DgwXg7vcS87m/OVRbA8ZSOzVIWADufg+Tffx9Fphx921BU1I7NVhYAO6+Gri1481n3H175HzUfw0aFoC73w3ctcibrRKq3Ab1csPuMrP1LOxPQIP4vr+hNxpYAGZ2Gs1X2h7yPz/eQfPi5/P9zmo6GxWsuczsZOAM4HDge+Bld3+n7Kymq1HCUuUb/IN3VWeCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqJcFSKQmWSkmwVEqCpVISLJWSYKmUBEulJFgqpX8Abns5VFEOJoIAAAAASUVORK5CYII=",kd={data:()=>({input:""}),computed:{...Ze(["tableData","sourceTab","allowButtons","artist","addDialogVis","primaryColor","urlExists"])},watch:{tableData(){this.determineDiagShow()}},methods:{clickURL(){const e=encodeURIComponent(this.input);this.input="",e&&U.post("/api/clickAddURL",e).then(()=>{const t=this.artist;U.post("/api/listOrTabClick",{item:t,origin:"list"}).then(n=>{this.$store.commit("SET_TABLE_CONTENT",n.data),this.$store.commit("SET_PREVIEW_VIS",!0)})}).catch(t=>{console.error(t)})},determineDiagShow(){this.tableData.length===0?U.get("/api/checkExistURL").then(e=>{this.$store.commit("SET_URL_EXISTS",e.data)}).catch(e=>{console.error(e)}):this.$store.commit("SET_URL_EXISTS",!0)}}},ae=e=>(Ht("data-v-0fe96286"),e=e(),Kt(),e),Nd={key:0},Fd={key:0,class:"dialog"},Ud=ae(()=>p("h1",null,"MusicBrainz source",-1)),Dd={class:"artist"},Vd=ae(()=>p("p",null,[p("a",{href:"https://musicbrainz.org",target:"_blank"},"https://musicbrainz.org"),pe(" > find artist > copy URL")],-1)),Bd=ae(()=>p("br",null,null,-1)),Md=ae(()=>p("p",null,"Example link:",-1)),$d=ae(()=>p("p",null,[pe("https://musicbrainz.org/artist/"),p("span",{class:"variabletext"},"id/...")],-1)),jd={key:0,class:"image",src:Gt,alt:"OK"},Hd={key:1,class:"image",src:zt,alt:"OK"},Kd={key:1,class:"dialog"},qd=ae(()=>p("h1",null,"Beatport source",-1)),Wd={class:"artist"},Gd=ae(()=>p("p",null,[p("a",{href:"https://beatport.com",target:"_blank"},"https://beatport.com"),pe(" > find artist > copy URL")],-1)),zd=ae(()=>p("br",null,null,-1)),Jd=ae(()=>p("p",null,"Example link:",-1)),Yd=ae(()=>p("p",null,[pe("https://beatport.com/artist/"),p("span",{class:"variabletext"},"artistname/id/...")],-1)),Xd={key:0,class:"image",src:Gt,alt:"OK"},Qd={key:1,class:"image",src:zt,alt:"OK"},Zd={key:2,class:"dialog"},eh=ae(()=>p("h1",null,"Junodownload source",-1)),th={class:"artist"},nh=ae(()=>p("p",null,[p("a",{href:"https://junodownload.com",target:"_blank"},"https://junodownload.com"),pe(" > find artist > copy URL")],-1)),sh=ae(()=>p("br",null,null,-1)),rh=ae(()=>p("p",null,"Example link:",-1)),oh=ae(()=>p("p",null,[pe("https://junodownload.com/artists/"),p("span",{class:"variabletext"},"artistname/...")],-1)),ih={key:0,class:"image",src:Gt,alt:"OK"},lh={key:1,class:"image",src:zt,alt:"OK"},ch={key:3,class:"dialog"},ah=ae(()=>p("h1",null,"Youtube source",-1)),uh={class:"artist"},fh=ae(()=>p("p",null,[p("a",{href:"https://youtube.com",target:"_blank"},"https://youtube.com")],-1)),dh=ae(()=>p("p",null,[pe(' Find an auto-generated channel with "Topic" in its name. '),p("br"),pe("Obtain the ID (share > copy channel ID) or copy URL. "),p("br"),pe("An ID needs to be provided, not a channel handle. ")],-1)),hh=ae(()=>p("p",null,"Example link:",-1)),ph=ae(()=>p("p",null,[pe("https://youtube.com/channel/"),p("span",{class:"variabletext"},"UCwZEU0wAwIyZb...")],-1)),mh={key:0,class:"image",src:Gt,alt:"OK"},gh={key:1,class:"image",src:zt,alt:"OK"};function _h(e,t,n,s,r,o){return!e.urlExists&&e.allowButtons&&e.artist&&!e.addDialogVis?(x(),L("div",Nd,[e.sourceTab==="musicbrainz"?(x(),L("div",Fd,[Ud,p("p",Dd,ze(e.artist),1),Vd,Bd,Md,$d,ie(p("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",jd)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Hd)):B("",!0)])])):e.sourceTab==="beatport"?(x(),L("div",Kd,[qd,p("p",Wd,ze(e.artist),1),Gd,zd,Jd,Yd,ie(p("input",{"onUpdate:modelValue":t[2]||(t[2]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[3]||(t[3]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",Xd)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Qd)):B("",!0)])])):e.sourceTab==="junodownload"?(x(),L("div",Zd,[eh,p("p",th,ze(e.artist),1),nh,sh,rh,oh,ie(p("input",{"onUpdate:modelValue":t[4]||(t[4]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[5]||(t[5]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",ih)):B("",!0),e.primaryColor==="Light"?(x(),L("img",lh)):B("",!0)])])):e.sourceTab==="youtube"?(x(),L("div",ch,[ah,p("p",uh,ze(e.artist),1),fh,dh,hh,ph,ie(p("input",{"onUpdate:modelValue":t[6]||(t[6]=i=>e.input=i)},null,512),[[en,e.input]]),p("button",{onClick:t[7]||(t[7]=(...i)=>o.clickURL&&o.clickURL(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",mh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",gh)):B("",!0)])])):B("",!0)])):B("",!0)}const bh=et(kd,[["render",_h],["__scopeId","data-v-0fe96286"]]),Tr="/assets/crossdark-CYntds6r.png",Or="/assets/crosslight-CRspF710.png",yh={data:()=>({input:"",rules:[e=>!!e.trim(),e=>(e||"").length<=25]}),computed:{...Ze(["addDialogVis","primaryColor"]),isValid(){return this.rules.every(e=>e(this.input)===!0)}},methods:{clickAdd(){const e=encodeURIComponent(this.input);U.post("/api/clickArtistAdd",e).then(()=>{this.input="",this.$store.commit("SET_SELECTED_ARTIST",""),this.$store.commit("SET_ADD_VIS",!1),this.$store.commit("SET_LOAD_REQUEST",!0)}).catch(t=>{console.error(t)})},clickClose(){this.$store.commit("SET_ADD_VIS",!1)}}},Sh=e=>(Ht("data-v-cb695d37"),e=e(),Kt(),e),vh={key:0,class:"wrapper"},Ch=Sh(()=>p("div",{class:"card-text"},[p("p",{class:"text--primary"},"Type artist's name and confirm.")],-1)),Eh={class:"diag-actions"},wh={key:0,class:"image",src:Tr,alt:"X"},Ah={key:1,class:"image",src:Or,alt:"X"},Th=["disabled"],Oh={key:0,class:"image",src:Gt,alt:"OK"},Rh={key:1,class:"image",src:zt,alt:"OK"};function xh(e,t,n,s,r,o){return e.addDialogVis?(x(),L("div",vh,[Ch,p("div",Eh,[ie(p("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>e.input=i),class:Ee({invalid:!o.isValid})},null,2),[[en,e.input]]),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickClose&&o.clickClose(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",wh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Ah)):B("",!0)]),p("button",{onClick:t[2]||(t[2]=(...i)=>o.clickAdd&&o.clickAdd(...i)),class:"imgbutton",disabled:!o.isValid},[e.primaryColor!=="Light"?(x(),L("img",Oh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Rh)):B("",!0)],8,Th)])])):B("",!0)}const Lh=et(yh,[["render",xh],["__scopeId","data-v-cb695d37"]]),Ih={computed:{...Ze(["progress"])},methods:{...Bf(["setProgress"])}},Ph={class:"progress-container"};function kh(e,t,n,s,r,o){return x(),L("div",Ph,[p("div",{class:"progressbar",style:pn({width:`${e.progress}%`})},null,4)])}const Nh=et(Ih,[["render",kh],["__scopeId","data-v-d29e2d3a"]]),Fh="/assets/blcktext-QjjfTEs8.png",Uh="/assets/MRTlogo-BpL2l-3G.png",Dh={data(){return{theme:"",accent:"",settingsProtection:!0,dbProtection:!0,filters:{Remix:!1,VIP:!1,Instrumental:!1,Acoustic:!1,Extended:!1,Remaster:!1},theme:{Black:!1,Dark:!1,Light:!1},isoDates:!1,autoTheme:!1}},computed:{...Ze(["primaryColor","accentColor"])},created(){U.get("/api/settingsOpened").then(e=>{this.filters=e.data,this.isoDates=e.data.isoDates,this.autoTheme=e.data.autoTheme}).catch(e=>{console.error(e)}),this.theme=this.primaryColor,this.accent=this.accentColor},methods:{clickClose(){this.$store.commit("SET_SETTINGS_OPEN",!1)},setSetting(e,t){switch(e){case"theme":this.$store.commit("SET_PRIMARY_COLOR",this.theme);case"accent":this.$store.commit("SET_ACCENT_COLOR",this.accent);case"isoDates":this.$store.commit("SET_ISODATES",this.isoDates)}U.post("/api/setSetting",{name:e,value:t}).catch(n=>{console.error(n)})},resetSettings(){this.settingsProtection==!0?this.settingsProtection=!1:U.post("/api/resetSettings").then(()=>{this.clickClose()}).catch(e=>{console.error(e)})},resetDB(){this.dbProtection==!0?this.dbProtection=!1:U.post("/api/resetDB").then(()=>{this.clickClose()}).catch(e=>{console.error(e)})},resetProtection(){this.settingsProtection=!0,this.dbProtection=!0}}},ue=e=>(Ht("data-v-6b545924"),e=e(),Kt(),e),Vh={class:"settings"},Bh={key:0,class:"image",src:Tr,alt:"X"},Mh={key:1,class:"image",src:Or,alt:"X"},$h={class:"filterscont"},jh=ue(()=>p("p",null,[p("span",{class:"title"},"Exclusion filters"),p("br"),pe("Select types of songs to be hidden in Combined view.")],-1)),Hh={class:"filters-buttons"},Kh=ue(()=>p("label",null,"Remix",-1)),qh=ue(()=>p("label",null,"VIP",-1)),Wh=ue(()=>p("label",null,"Instrumental",-1)),Gh=ue(()=>p("label",null,"Acoustic",-1)),zh=ue(()=>p("label",null,"Extended",-1)),Jh=ue(()=>p("label",null,"Remaster",-1)),Yh={class:"appearance"},Xh=ue(()=>p("p",{class:"title"},"Appearance",-1)),Qh={class:"appearancecont"},Zh={class:"theme-buttons"},ep=["disabled"],tp=["disabled"],np=["disabled"],sp=ue(()=>p("div",{class:"colorindicator"},null,-1)),rp={class:"accent-buttons"},op=ue(()=>p("label",null,"Lavender",-1)),ip=ue(()=>p("label",null,"Cactus",-1)),lp=ue(()=>p("label",null,"Rose",-1)),cp=ue(()=>p("label",null,"Warm",-1)),ap=ue(()=>p("label",null,"Cloud",-1)),up=ue(()=>p("label",null,"Ocean",-1)),fp={class:"belowAppearance"},dp=ue(()=>p("label",null,"Match system theme",-1)),hp={class:"other"},pp=ue(()=>p("p",{class:"title"},"Other",-1)),mp={class:"flex-items"},gp={class:"flex-padding"},_p=ue(()=>p("label",null,"Dates in yyyy-MM-dd (ISO 8601)",-1)),bp={class:"danger"},yp=ue(()=>p("p",{class:"title"},"Danger zone",-1)),Sp={class:"dangercont"},vp=ia('',1);function Cp(e,t,n,s,r,o){return x(),L("div",Vh,[p("button",{onClick:t[0]||(t[0]=i=>o.clickClose()),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",Bh)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Mh)):B("",!0)]),p("section",$h,[jh,p("div",Hh,[p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=i=>r.filters.Remix=i),onChange:t[2]||(t[2]=i=>o.setSetting("filters.Remix",i.target.checked))},null,544),[[ot,r.filters.Remix]]),Kh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=i=>r.filters.VIP=i),onChange:t[4]||(t[4]=i=>o.setSetting("filters.VIP",i.target.checked))},null,544),[[ot,r.filters.VIP]]),qh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=i=>r.filters.Instrumental=i),onChange:t[6]||(t[6]=i=>o.setSetting("filters.Instrumental",i.target.checked))},null,544),[[ot,r.filters.Instrumental]]),Wh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[7]||(t[7]=i=>r.filters.Acoustic=i),onChange:t[8]||(t[8]=i=>o.setSetting("filters.Acoustic",i.target.checked))},null,544),[[ot,r.filters.Acoustic]]),Gh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[9]||(t[9]=i=>r.filters.Extended=i),onChange:t[10]||(t[10]=i=>o.setSetting("filters.Extended",i.target.checked))},null,544),[[ot,r.filters.Extended]]),zh]),p("div",null,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[11]||(t[11]=i=>r.filters.Remaster=i),onChange:t[12]||(t[12]=i=>o.setSetting("filters.Remaster",i.target.checked))},null,544),[[ot,r.filters.Remaster]]),Jh])])]),p("section",Yh,[Xh,p("div",Qh,[p("div",Zh,[ie(p("input",{type:"radio","onUpdate:modelValue":t[13]||(t[13]=i=>r.theme=i),value:"Black",onChange:t[14]||(t[14]=i=>o.setSetting("theme","Black")),disabled:r.autoTheme},null,40,ep),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Black",2),ie(p("input",{type:"radio","onUpdate:modelValue":t[15]||(t[15]=i=>r.theme=i),value:"Dark",onChange:t[16]||(t[16]=i=>o.setSetting("theme","Dark")),disabled:r.autoTheme},null,40,tp),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Dark",2),ie(p("input",{type:"radio","onUpdate:modelValue":t[17]||(t[17]=i=>r.theme=i),value:"Light",onChange:t[18]||(t[18]=i=>o.setSetting("theme","Light")),disabled:r.autoTheme},null,40,np),[[Ge,r.theme]]),p("label",{class:Ee({disabled:r.autoTheme})},"Light",2),sp]),p("div",rp,[ie(p("input",{type:"radio","onUpdate:modelValue":t[19]||(t[19]=i=>r.accent=i),value:"Lavender",onChange:t[20]||(t[20]=i=>o.setSetting("accent","Lavender"))},null,544),[[Ge,r.accent]]),op,ie(p("input",{type:"radio","onUpdate:modelValue":t[21]||(t[21]=i=>r.accent=i),value:"Cactus",onChange:t[22]||(t[22]=i=>o.setSetting("accent","Cactus"))},null,544),[[Ge,r.accent]]),ip,ie(p("input",{type:"radio","onUpdate:modelValue":t[23]||(t[23]=i=>r.accent=i),value:"Rose",onChange:t[24]||(t[24]=i=>o.setSetting("accent","Rose"))},null,544),[[Ge,r.accent]]),lp,ie(p("input",{type:"radio","onUpdate:modelValue":t[25]||(t[25]=i=>r.accent=i),value:"Warm",onChange:t[26]||(t[26]=i=>o.setSetting("accent","Warm"))},null,544),[[Ge,r.accent]]),cp,ie(p("input",{type:"radio","onUpdate:modelValue":t[27]||(t[27]=i=>r.accent=i),value:"Cloud",onChange:t[28]||(t[28]=i=>o.setSetting("accent","Cloud"))},null,544),[[Ge,r.accent]]),ap,ie(p("input",{type:"radio","onUpdate:modelValue":t[29]||(t[29]=i=>r.accent=i),value:"Ocean",onChange:t[30]||(t[30]=i=>o.setSetting("accent","Ocean"))},null,544),[[Ge,r.accent]]),up])]),p("div",fp,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[31]||(t[31]=i=>r.autoTheme=i),onChange:t[32]||(t[32]=i=>o.setSetting("autoTheme",i.target.checked))},null,544),[[ot,r.autoTheme]]),dp])]),p("section",hp,[pp,p("div",mp,[p("div",gp,[ie(p("input",{type:"checkbox","onUpdate:modelValue":t[33]||(t[33]=i=>r.isoDates=i),onChange:t[34]||(t[34]=i=>o.setSetting("isoDates",i.target.checked))},null,544),[[ot,r.isoDates]]),_p])])]),p("section",bp,[yp,p("div",Sp,[r.settingsProtection?(x(),L("button",{key:0,onClick:t[35]||(t[35]=i=>o.resetSettings())},"Reset settings")):B("",!0),r.settingsProtection?B("",!0):(x(),L("button",{key:1,onClick:t[36]||(t[36]=i=>o.resetSettings()),onMouseleave:t[37]||(t[37]=i=>o.resetProtection())},"confirm",32)),r.dbProtection?(x(),L("button",{key:2,onClick:t[38]||(t[38]=i=>o.resetDB())},"Reset database")):B("",!0),r.dbProtection?B("",!0):(x(),L("button",{key:3,onClick:t[39]||(t[39]=i=>o.resetDB()),onMouseleave:t[40]||(t[40]=i=>o.resetProtection())},"confirm",32))])]),vp])}const Ep=et(Dh,[["render",Cp],["__scopeId","data-v-6b545924"]]),wp={computed:{...Ze(["tableData","primaryColor"]),hideTable(){return this.tableData.length==0}},methods:{clickCancel(){U.request("/api/cleanArtistSource").catch(e=>{console.error(e)}),this.$store.commit("SET_PREVIEW_VIS",!1)},clickConfirm(){U.request("/api/saveUrl").catch(e=>{console.error(e)}),this.$store.commit("SET_PREVIEW_VIS",!1)}}},Ap=e=>(Ht("data-v-85018fb6"),e=e(),Kt(),e),Tp={class:"preview"},Op=Ap(()=>p("h1",null,"preview",-1)),Rp={key:0},xp={key:1},Lp=["disabled"],Ip={key:0,class:"image",src:Gt,alt:"OK"},Pp={key:1,class:"image",src:zt,alt:"OK"},kp={key:0,class:"image",src:Tr,alt:"X"},Np={key:1,class:"image",src:Or,alt:"X"};function Fp(e,t,n,s,r,o){return x(),L("div",Tp,[Op,o.hideTable?B("",!0):(x(),L("p",Rp,"Confirm only if the table has usable information.")),o.hideTable?(x(),L("p",xp,"Incorrect link.")):B("",!0),p("button",{onClick:t[0]||(t[0]=(...i)=>o.clickConfirm&&o.clickConfirm(...i)),class:"imgbutton",disabled:o.hideTable},[e.primaryColor!=="Light"?(x(),L("img",Ip)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Pp)):B("",!0)],8,Lp),p("button",{onClick:t[1]||(t[1]=(...i)=>o.clickCancel&&o.clickCancel(...i)),class:"imgbutton"},[e.primaryColor!=="Light"?(x(),L("img",kp)):B("",!0),e.primaryColor==="Light"?(x(),L("img",Np)):B("",!0)])])}const Up=et(wp,[["render",Fp],["__scopeId","data-v-85018fb6"]]);U.defaults.baseURL="http://localhost:57782";const Dp={data(){return{appliedStyles:[],theme:"",accent:""}},components:{ArtistList:Xf,SourceMenu:hd,SourceTable:Pd,DialogsURL:bh,AddArtistDialog:Lh,ProgressBar:Nh,SettingsWindow:Ep,PreviewDialog:Up},created(){this.loadTheme(),this.detectTheme()},computed:{...Ze(["settingsOpen","primaryColor","accentColor","previewVis"])},watch:{primaryColor(e){this.theme=e,this.applyTheme(e,this.accent)},accentColor(e){this.accent=e,this.applyTheme(this.theme,e)}},methods:{loadTheme(){U.get("/api/getThemeConfig").then(e=>{this.$store.commit("SET_PRIMARY_COLOR",e.data.theme),this.$store.commit("SET_ACCENT_COLOR",e.data.accent)}).catch(e=>{console.error(e)})},detectTheme(){U.get("/api/settingsOpened").then(e=>{const t=window.matchMedia("(prefers-color-scheme: dark)");e.data.autoTheme==!0&&(t.matches?this.$store.commit("SET_PRIMARY_COLOR","Black"):this.$store.commit("SET_PRIMARY_COLOR","Light"))}).catch(e=>{console.error(e)})},applyTheme(e,t){this.appliedStyles.forEach(r=>{r.remove()}),this.appliedStyles=[];let n,s;e!==""&&(n=`./primary${e}.css`,s=document.createElement("link"),s.rel="stylesheet",s.href=n,document.head.appendChild(s),this.appliedStyles.push(s)),t!==""&&(n=`./secondary${t}.css`,s=document.createElement("link"),s.rel="stylesheet",s.href=n,document.head.appendChild(s),this.appliedStyles.push(s))}}},Vp={key:0,class:"app"},Bp={class:"list"},Mp={class:"maincontent"},$p={key:0,class:"topbar"},jp={class:"sourcetable"},Hp={key:1,class:"dialogsurl"},Kp={class:"progressbar"},qp={key:1,class:"app"};function Wp(e,t,n,s,r,o){const i=nt("ArtistList"),l=nt("PreviewDialog"),c=nt("SourceMenu"),f=nt("AddArtistDialog"),u=nt("SourceTable"),d=nt("DialogsURL"),g=nt("ProgressBar"),C=nt("SettingsWindow");return x(),L(_e,null,[e.settingsOpen?B("",!0):(x(),L("div",Vp,[p("div",Bp,[e.previewVis?B("",!0):(x(),Hs(i,{key:0})),e.previewVis?(x(),Hs(l,{key:1,class:"preview"})):B("",!0)]),p("div",Mp,[e.previewVis?B("",!0):(x(),L("div",$p,[le(c)])),le(f),p("div",jp,[le(u)]),e.previewVis?B("",!0):(x(),L("div",Hp,[le(d)]))]),p("div",Kp,[le(g)])])),e.settingsOpen?(x(),L("div",qp,[le(C)])):B("",!0)],64)}const Gp=et(Dp,[["render",Wp],["__scopeId","data-v-e34fd722"]]),zp={artist:"",sourceTab:"",tableData:[],addDialogVis:!1,loadListRequest:!1,allowButtons:!0,progress:0,settingsOpen:!1,primaryColor:"",accentColor:"",previewVis:!1,isoDates:!1,urlExists:!1},Jp={SET_SOURCE_TAB(e,t){e.sourceTab=t},SET_SELECTED_ARTIST(e,t){e.artist=t},SET_TABLE_CONTENT(e,t){e.tableData=t,e.addDialogVis=!1},SET_ADD_VIS(e,t){e.addDialogVis=t},SET_LOAD_REQUEST(e,t){e.loadListRequest=t},SET_ALLOW_BUTTONS(e,t){e.allowButtons=t},SET_PROGRESS(e,t){e.progress=t*100,e.progress==100&&(e.progress=0)},SET_SETTINGS_OPEN(e,t){e.settingsOpen=t},SET_PRIMARY_COLOR(e,t){e.primaryColor=t},SET_ACCENT_COLOR(e,t){e.accentColor=t},SET_PREVIEW_VIS(e,t){e.previewVis=t},SET_ISODATES(e,t){e.isoDates=t},SET_URL_EXISTS(e,t){e.urlExists=t}},Yp={},Xp={},Qp=Vf({state:zp,mutations:Jp,actions:Yp,getters:Xp}),bl=za(Gp);bl.use(Qp);bl.mount("#app");
diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html
index 9650237..95affd6 100644
--- a/src/main/resources/static/index.html
+++ b/src/main/resources/static/index.html
@@ -5,8 +5,8 @@
MusicReleaseTracker
-
-
+
+
diff --git a/vue/src/components/SourceMenu.vue b/vue/src/components/SourceMenu.vue
index 1fe8a18..f7a1d2d 100644
--- a/vue/src/components/SourceMenu.vue
+++ b/vue/src/components/SourceMenu.vue
@@ -9,12 +9,12 @@
YT