diff --git a/assets/index-Cl9RP09-.css b/assets/index-Cl9RP09-.css new file mode 100644 index 0000000..35c150a --- /dev/null +++ b/assets/index-Cl9RP09-.css @@ -0,0 +1 @@ +.modal-overlay[data-v-eff1e6dc]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content[data-v-eff1e6dc]{background-color:#fff;padding:20px;border-radius:8px;max-width:80%;max-height:80%;overflow-y:auto;box-shadow:0 4px 6px #0000001a}.modal-body[data-v-eff1e6dc]{max-height:400px;overflow-y:auto}h2[data-v-eff1e6dc]{color:#fac26e;margin-bottom:15px}.close-button[data-v-eff1e6dc]{background-color:#fac26e;border:none;color:#fff;padding:10px 20px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin-top:20px;cursor:pointer;border-radius:30px;transition:all .3s ease}.close-button[data-v-eff1e6dc]:hover{background-color:#000}.modal-enter-active[data-v-eff1e6dc],.modal-leave-active[data-v-eff1e6dc]{transition:opacity .3s}.modal-enter-from[data-v-eff1e6dc],.modal-leave-to[data-v-eff1e6dc]{opacity:0}hr[data-v-eff1e6dc]{border:none;border-top:1px solid #ccc;margin:10px 0}.app[data-v-8cbe5e4e]{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;max-width:1200px;margin:0 auto;padding:20px;color:#333;background-color:#f5f5f5;border-radius:10px;box-shadow:0 4px 6px #0000001a}.container[data-v-8cbe5e4e]{background-color:#fff;padding:30px;border-radius:8px;box-shadow:0 2px 4px #0000000d;text-align:center}.title[data-v-8cbe5e4e]{font-size:32px;margin-bottom:10px;font-weight:600;white-space:nowrap;display:flex;justify-content:center;align-items:center}.subtitle[data-v-8cbe5e4e]{color:#666;margin-bottom:20px;font-size:14px}.chatbox-color[data-v-8cbe5e4e]{color:#fac26e}.to-color[data-v-8cbe5e4e]{color:#666;margin:0 10px}.webui-color[data-v-8cbe5e4e]{color:#000}.button[data-v-8cbe5e4e]{background-color:#fac26e;border:none;color:#fff;padding:12px 24px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin:4px 2px;cursor:pointer;border-radius:30px;transition:all .3s ease}.button[data-v-8cbe5e4e]:hover{background-color:#000;transform:translateY(-2px)}.button[data-v-8cbe5e4e]:disabled{background-color:#ccc;cursor:not-allowed;transform:none}.export-button[data-v-8cbe5e4e]{margin-top:20px}.conversation-list[data-v-8cbe5e4e]{margin-top:30px;border:1px solid #e0e0e0;border-radius:8px;padding:20px;background-color:#fafafa;text-align:left;position:relative}.list-header[data-v-8cbe5e4e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.model-info[data-v-8cbe5e4e]{width:auto;margin-left:0;display:flex;justify-content:flex-start;align-items:center;margin-top:0;font-size:14px}.input[data-v-8cbe5e4e]{padding:10px;border:1px solid #ddd;border-radius:20px;font-size:14px;transition:all .3s ease;width:calc(100% - 22px);margin-top:5px;box-sizing:border-box}.input[data-v-8cbe5e4e]:focus{outline:none;border-color:#fac26e;box-shadow:0 0 0 2px #fac26e33}.checkbox-label[data-v-8cbe5e4e]{flex-basis:auto;min-width:100px;display:flex;align-items:center;font-size:14px}.checkbox-label input[type=checkbox][data-v-8cbe5e4e]{display:none}.checkbox-custom[data-v-8cbe5e4e]{width:18px;height:18px;border:2px solid #FAC26E;border-radius:3px;margin-right:8px;position:relative;transition:all .2s ease}.checkbox-label input[type=checkbox]:checked+.checkbox-custom[data-v-8cbe5e4e]:after{content:"✔";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fac26e;font-size:14px}.conversation-item[data-v-8cbe5e4e]{display:flex;flex-direction:column;margin-bottom:10px;padding:10px;background-color:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.conversation-item[data-v-8cbe5e4e]:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.conversation-header[data-v-8cbe5e4e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;overflow:hidden}.conversation-header label[data-v-8cbe5e4e]{flex-grow:1;margin-right:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-icons[data-v-8cbe5e4e]{display:flex;gap:5px;flex-shrink:0}.icon[data-v-8cbe5e4e]{width:24px;height:24px;cursor:pointer}.github-link-container[data-v-8cbe5e4e]{display:flex;justify-content:center;margin-top:30px}.github-link[data-v-8cbe5e4e]{color:#fac26e;text-decoration:none;font-weight:600;transition:color .3s}.github-link[data-v-8cbe5e4e]:hover{color:#000}.section[data-v-8cbe5e4e]{margin-top:40px;background-color:#fff;padding:30px;border-radius:8px;box-shadow:0 2px 4px #0000000d}h2[data-v-8cbe5e4e]{color:#fac26e;margin-bottom:20px;font-weight:600}code[data-v-8cbe5e4e]{background-color:#f1f1f1;padding:2px 6px;border-radius:4px;font-family:Courier New,Courier,monospace}blockquote[data-v-8cbe5e4e]{border-left:3px solid #FAC26E;margin:15px 0;padding:10px 20px;background-color:#f9f9f9;border-radius:0 4px 4px 0}ol[data-v-8cbe5e4e]{padding-left:20px}li[data-v-8cbe5e4e]{margin-bottom:10px}.info-icon[data-v-8cbe5e4e]{font-size:18px;color:#666;cursor:pointer;margin-left:5px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:#f0f0f0;transition:background-color .3s ease}.info-icon[data-v-8cbe5e4e]:hover{background-color:#e0e0e0}.tooltip[data-v-8cbe5e4e]{position:absolute;background-color:#333;color:#fff;padding:15px;border-radius:8px;font-size:14px;z-index:1000;white-space:normal;word-wrap:break-word;box-shadow:0 4px 10px #0003;line-height:1.5;pointer-events:none}@media (max-width: 768px){.app[data-v-8cbe5e4e]{padding:10px}.container[data-v-8cbe5e4e]{padding:20px}.title[data-v-8cbe5e4e]{font-size:24px;flex-direction:row;flex-wrap:wrap;justify-content:center}.title span[data-v-8cbe5e4e]{margin:5px}.subtitle[data-v-8cbe5e4e]{font-size:12px}.button[data-v-8cbe5e4e]{padding:10px 20px;font-size:14px}.conversation-list[data-v-8cbe5e4e]{padding:10px}.input[data-v-8cbe5e4e]{font-size:12px}.info-icon[data-v-8cbe5e4e]{font-size:16px;width:20px;height:20px}.conversation-header[data-v-8cbe5e4e]{flex-direction:row;justify-content:space-between;align-items:center}.conversation-header label[data-v-8cbe5e4e]{max-width:calc(100% - 60px)}.conversation-icons[data-v-8cbe5e4e]{margin-left:10px}.model-info[data-v-8cbe5e4e]{width:80%;margin-left:5%;display:flex;justify-content:flex-start;align-items:center;margin-top:0;font-size:12px}.list-header[data-v-8cbe5e4e]{display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}.checkbox-label[data-v-8cbe5e4e]{flex-basis:20%;min-width:80px;display:flex;align-items:center;font-size:12px}.model-info .input[data-v-8cbe5e4e]{flex-grow:1;margin-right:5px;width:calc(100% - 85px);font-size:12px}.tooltip[data-v-8cbe5e4e]{position:absolute;left:10px!important;right:10px!important;max-width:calc(100vw - 20px)}} diff --git a/assets/index-xo05UMkQ.js b/assets/index-xo05UMkQ.js new file mode 100644 index 0000000..ae39916 --- /dev/null +++ b/assets/index-xo05UMkQ.js @@ -0,0 +1,40 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/** +* @vue/shared v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Xn(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const ee={},gt=[],xe=()=>{},Tr=()=>!1,ln=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zn=e=>e.startsWith("onUpdate:"),le=Object.assign,Qn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Or=Object.prototype.hasOwnProperty,j=(e,t)=>Or.call(e,t),I=Array.isArray,mt=e=>$t(e)==="[object Map]",cn=e=>$t(e)==="[object Set]",Ts=e=>$t(e)==="[object Date]",F=e=>typeof e=="function",oe=e=>typeof e=="string",Pe=e=>typeof e=="symbol",Y=e=>e!==null&&typeof e=="object",go=e=>(Y(e)||F(e))&&F(e.then)&&F(e.catch),mo=Object.prototype.toString,$t=e=>mo.call(e),Ir=e=>$t(e).slice(8,-1),_o=e=>$t(e)==="[object Object]",es=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ar=/-(\w)/g,ut=fn(e=>e.replace(Ar,(t,n)=>n?n.toUpperCase():"")),Mr=/\B([A-Z])/g,dt=fn(e=>e.replace(Mr,"-$1").toLowerCase()),bo=fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cn=fn(e=>e?`on${bo(e)}`:""),Ge=(e,t)=>!Object.is(e,t),Gt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Fn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lr=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Os;const vo=()=>Os||(Os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function un(e){if(I(e)){const t={};for(let n=0;n{if(n){const s=n.split(Pr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ts(e){let t="";if(oe(e))t=e;else if(I(e))for(let n=0;nan(n,t))}const wo=e=>!!(e&&e.__v_isRef===!0),Eo=e=>oe(e)?e:e==null?"":I(e)||Y(e)&&(e.toString===mo||!F(e.toString))?wo(e)?Eo(e.value):JSON.stringify(e,So,2):String(e),So=(e,t)=>wo(t)?So(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[wn(s,r)+" =>"]=o,n),{})}:cn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wn(n))}:Pe(t)?wn(t):Y(t)&&!I(t)&&!_o(t)?String(t):t,wn=(e,t="")=>{var n;return Pe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ee;class Vr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){Ee=this}off(){Ee=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),Xe()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qe,n=ct;try{return qe=!0,ct=this,this._runnings++,Is(this),this.fn()}finally{As(this),this._runnings--,ct=n,qe=t}}stop(){this.active&&(Is(this),As(this),this.onStop&&this.onStop(),this.active=!1)}}function Dr(e){return e.value}function Is(e){e._trackId++,e._depsLength=0}function As(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},Un=new WeakMap,ft=Symbol(""),Hn=Symbol("");function pe(e,t,n){if(qe&&ct){let s=Un.get(e);s||Un.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Mo(()=>s.delete(n))),Io(ct,o)}}function Ne(e,t,n,s,o,r){const i=Un.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&I(e)){const f=Number(s);i.forEach((a,d)=>{(d==="length"||!Pe(d)&&d>=f)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":I(e)?es(n)&&l.push(i.get("length")):(l.push(i.get(ft)),mt(e)&&l.push(i.get(Hn)));break;case"delete":I(e)||(l.push(i.get(ft)),mt(e)&&l.push(i.get(Hn)));break;case"set":mt(e)&&l.push(i.get(ft));break}ss();for(const f of l)f&&Ao(f,4);os()}const Kr=Xn("__proto__,__v_isRef,__isVue"),Lo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pe)),Ms=Wr();function Wr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let r=0,i=this.length;r{e[t]=function(...n){Ye(),ss();const s=D(this)[t].apply(this,n);return os(),Xe(),s}}),e}function kr(e){Pe(e)||(e=String(e));const t=D(this);return pe(t,"has",e),t.hasOwnProperty(e)}class Ro{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?oi:$o:r?No:Fo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=I(t);if(!o){if(i&&j(Ms,n))return Reflect.get(Ms,n,s);if(n==="hasOwnProperty")return kr}const l=Reflect.get(t,n,s);return(Pe(n)?Lo.has(n):Kr(n))||(o||pe(t,"get",n),r)?l:ge(l)?i&&es(n)?l:l.value:Y(l)?o?Uo(l):ls(l):l}}class Po extends Ro{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const f=at(r);if(!vt(s)&&!at(s)&&(r=D(r),s=D(s)),!I(t)&&ge(r)&&!ge(s))return f?!1:(r.value=s,!0)}const i=I(t)&&es(n)?Number(n)e,dn=e=>Reflect.getPrototypeOf(e);function Vt(e,t,n=!1,s=!1){e=e.__v_raw;const o=D(e),r=D(t);n||(Ge(t,r)&&pe(o,"get",t),pe(o,"get",r));const{has:i}=dn(o),l=s?rs:n?fs:Lt;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function jt(e,t=!1){const n=this.__v_raw,s=D(n),o=D(e);return t||(Ge(e,o)&&pe(s,"has",e),pe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Bt(e,t=!1){return e=e.__v_raw,!t&&pe(D(e),"iterate",ft),Reflect.get(e,"size",e)}function Ls(e,t=!1){!t&&!vt(e)&&!at(e)&&(e=D(e));const n=D(this);return dn(n).has.call(n,e)||(n.add(e),Ne(n,"add",e,e)),this}function Rs(e,t,n=!1){!n&&!vt(t)&&!at(t)&&(t=D(t));const s=D(this),{has:o,get:r}=dn(s);let i=o.call(s,e);i||(e=D(e),i=o.call(s,e));const l=r.call(s,e);return s.set(e,t),i?Ge(t,l)&&Ne(s,"set",e,t):Ne(s,"add",e,t),this}function Ps(e){const t=D(this),{has:n,get:s}=dn(t);let o=n.call(t,e);o||(e=D(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Ne(t,"delete",e,void 0),r}function Fs(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function Dt(e,t){return function(s,o){const r=this,i=r.__v_raw,l=D(i),f=t?rs:e?fs:Lt;return!e&&pe(l,"iterate",ft),i.forEach((a,d)=>s.call(o,f(a),f(d),r))}}function Kt(e,t,n){return function(...s){const o=this.__v_raw,r=D(o),i=mt(r),l=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=o[e](...s),d=n?rs:t?fs:Lt;return!t&&pe(r,"iterate",f?Hn:ft),{next(){const{value:g,done:y}=a.next();return y?{value:g,done:y}:{value:l?[d(g[0]),d(g[1])]:d(g),done:y}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yr(){const e={get(r){return Vt(this,r)},get size(){return Bt(this)},has:jt,add:Ls,set:Rs,delete:Ps,clear:Fs,forEach:Dt(!1,!1)},t={get(r){return Vt(this,r,!1,!0)},get size(){return Bt(this)},has:jt,add(r){return Ls.call(this,r,!0)},set(r,i){return Rs.call(this,r,i,!0)},delete:Ps,clear:Fs,forEach:Dt(!1,!0)},n={get(r){return Vt(this,r,!0)},get size(){return Bt(this,!0)},has(r){return jt.call(this,r,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Dt(!0,!1)},s={get(r){return Vt(this,r,!0,!0)},get size(){return Bt(this,!0)},has(r){return jt.call(this,r,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Dt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Kt(r,!1,!1),n[r]=Kt(r,!0,!1),t[r]=Kt(r,!1,!0),s[r]=Kt(r,!0,!0)}),[e,n,t,s]}const[Xr,Zr,Qr,ei]=Yr();function is(e,t){const n=t?e?ei:Qr:e?Zr:Xr;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(j(n,o)&&o in s?n:s,o,r)}const ti={get:is(!1,!1)},ni={get:is(!1,!0)},si={get:is(!0,!1)};const Fo=new WeakMap,No=new WeakMap,$o=new WeakMap,oi=new WeakMap;function ri(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ii(e){return e.__v_skip||!Object.isExtensible(e)?0:ri(Ir(e))}function ls(e){return at(e)?e:cs(e,!1,zr,ti,Fo)}function li(e){return cs(e,!1,Jr,ni,No)}function Uo(e){return cs(e,!0,Gr,si,$o)}function cs(e,t,n,s,o){if(!Y(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=ii(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function It(e){return at(e)?It(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function vt(e){return!!(e&&e.__v_isShallow)}function Ho(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function ci(e){return Object.isExtensible(e)&&yo(e,"__v_skip",!0),e}const Lt=e=>Y(e)?ls(e):e,fs=e=>Y(e)?Uo(e):e;class Vo{constructor(t,n,s,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ns(()=>t(this._value),()=>Jt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=D(this);return(!t._cacheable||t.effect.dirty)&&Ge(t._value,t._value=t.effect.run())&&Jt(t,4),jo(t),t.effect._dirtyLevel>=2&&Jt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function fi(e,t,n=!1){let s,o;const r=F(e);return r?(s=e,o=xe):(s=e.get,o=e.set),new Vo(s,o,r||!o,n)}function jo(e){var t;qe&&ct&&(e=D(e),Io(ct,(t=e.dep)!=null?t:e.dep=Mo(()=>e.dep=void 0,e instanceof Vo?e:void 0)))}function Jt(e,t=4,n,s){e=D(e);const o=e.dep;o&&Ao(o,t)}function ge(e){return!!(e&&e.__v_isRef===!0)}function He(e){return ui(e,!1)}function ui(e,t){return ge(e)?e:new ai(e,t)}class ai{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:D(t),this._value=n?t:Lt(t)}get value(){return jo(this),this._value}set value(t){const n=this.__v_isShallow||vt(t)||at(t);t=n?t:D(t),Ge(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Lt(t),Jt(this,4))}}function di(e){return ge(e)?e.value:e}const hi={get:(e,t,n)=>di(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return ge(o)&&!ge(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Bo(e){return It(e)?e:new Proxy(e,hi)}/** +* @vue/runtime-core v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ze(e,t,n,s){try{return s?e(...s):e()}catch(o){hn(o,t,n)}}function Ce(e,t,n,s){if(F(e)){const o=ze(e,t,n,s);return o&&go(o)&&o.catch(r=>{hn(r,t,n)}),o}if(I(e)){const o=[];for(let r=0;r>>1,o=ce[s],r=Pt(o);rRe&&ce.splice(t,1)}function bi(e){I(e)?_t.push(...e):(!De||!De.includes(e,e.allowRecurse?rt+1:rt))&&_t.push(e),Ko()}function Ns(e,t,n=Rt?Re+1:0){for(;nPt(n)-Pt(s));if(_t.length=0,De){De.push(...t);return}for(De=t,rt=0;rte.id==null?1/0:e.id,yi=(e,t)=>{const n=Pt(e)-Pt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ko(e){Vn=!1,Rt=!0,ce.sort(yi);try{for(Re=0;Re{s._d&&Ws(-1);const r=tn(t);let i;try{i=e(...o)}finally{tn(r),s._d&&Ws(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Wt(e,t){if(be===null)return e;const n=vn(be),s=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Zo(()=>{e.isUnmounting=!0}),e}const ve=[Function,Array],zo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ve,onEnter:ve,onAfterEnter:ve,onEnterCancelled:ve,onBeforeLeave:ve,onLeave:ve,onAfterLeave:ve,onLeaveCancelled:ve,onBeforeAppear:ve,onAppear:ve,onAfterAppear:ve,onAppearCancelled:ve},Go=e=>{const t=e.subTree;return t.component?Go(t.component):t},wi={name:"BaseTransition",props:zo,setup(e,{slots:t}){const n=Cl(),s=Ci();return()=>{const o=t.default&&Yo(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const y of o)if(y.type!==_e){r=y;break}}const i=D(e),{mode:l}=i;if(s.isLeaving)return En(r);const f=$s(r);if(!f)return En(r);let a=jn(f,i,s,n,y=>a=y);nn(f,a);const d=n.subTree,g=d&&$s(d);if(g&&g.type!==_e&&!it(f,g)&&Go(n).type!==_e){const y=jn(g,i,s,n);if(nn(g,y),l==="out-in"&&f.type!==_e)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},En(r);l==="in-out"&&f.type!==_e&&(y.delayLeave=(A,$,N)=>{const Q=Jo(s,g);Q[String(g.key)]=g,A[Ke]=()=>{$(),A[Ke]=void 0,delete a.delayedLeave},a.delayedLeave=N})}return r}}},Ei=wi;function Jo(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 jn(e,t,n,s,o){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:f,onEnter:a,onAfterEnter:d,onEnterCancelled:g,onBeforeLeave:y,onLeave:A,onAfterLeave:$,onLeaveCancelled:N,onBeforeAppear:Q,onAppear:k,onAfterAppear:X,onAppearCancelled:U}=t,J=String(e.key),te=Jo(n,e),R=(E,L)=>{E&&Ce(E,s,9,L)},H=(E,L)=>{const q=L[1];R(E,L),I(E)?E.every(S=>S.length<=1)&&q():E.length<=1&&q()},M={mode:i,persisted:l,beforeEnter(E){let L=f;if(!n.isMounted)if(r)L=Q||f;else return;E[Ke]&&E[Ke](!0);const q=te[J];q&&it(e,q)&&q.el[Ke]&&q.el[Ke](),R(L,[E])},enter(E){let L=a,q=d,S=g;if(!n.isMounted)if(r)L=k||a,q=X||d,S=U||g;else return;let z=!1;const se=E[kt]=ae=>{z||(z=!0,ae?R(S,[E]):R(q,[E]),M.delayedLeave&&M.delayedLeave(),E[kt]=void 0)};L?H(L,[E,se]):se()},leave(E,L){const q=String(e.key);if(E[kt]&&E[kt](!0),n.isUnmounting)return L();R(y,[E]);let S=!1;const z=E[Ke]=se=>{S||(S=!0,L(),se?R(N,[E]):R($,[E]),E[Ke]=void 0,te[q]===e&&delete te[q])};te[q]=e,A?H(A,[E,z]):z()},clone(E){const L=jn(E,t,n,s,o);return o&&o(L),L}};return M}function En(e){if(gn(e))return e=Je(e),e.children=null,e}function $s(e){if(!gn(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&F(n.default))return n.default()}}function nn(e,t){e.shapeFlag&6&&e.component?nn(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 Yo(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,gn=e=>e.type.__isKeepAlive;function Si(e,t){Xo(e,"a",t)}function Ti(e,t){Xo(e,"da",t)}function Xo(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(mn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)gn(o.parent.vnode)&&Oi(s,t,n,o),o=o.parent}}function Oi(e,t,n,s){const o=mn(t,e,s,!0);hs(()=>{Qn(s[t],o)},n)}function mn(e,t,n=fe,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Ye();const l=Ut(n),f=Ce(t,n,e,i);return l(),Xe(),f});return s?o.unshift(r):o.push(r),r}}const $e=e=>(t,n=fe)=>{(!yn||e==="sp")&&mn(e,(...s)=>t(...s),n)},Ii=$e("bm"),ds=$e("m"),Ai=$e("bu"),Mi=$e("u"),Zo=$e("bum"),hs=$e("um"),Li=$e("sp"),Ri=$e("rtg"),Pi=$e("rtc");function Fi(e,t=fe){mn("ec",e,t)}const Ni=Symbol.for("v-ndc");function $i(e,t,n,s){let o;const r=n;if(I(e)||oe(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,r));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,f=i.length;le?br(e)?vn(e):Bn(e.parent):null,At=le(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=>Bn(e.parent),$root:e=>Bn(e.root),$emit:e=>e.emit,$options:e=>ps(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,as(e.update)}),$nextTick:e=>e.n||(e.n=gi.bind(e.proxy)),$watch:e=>il.bind(e)}),Sn=(e,t)=>e!==ee&&!e.__isScriptSetup&&j(e,t),Ui={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:f}=e;let a;if(t[0]!=="$"){const A=i[t];if(A!==void 0)switch(A){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Sn(s,t))return i[t]=1,s[t];if(o!==ee&&j(o,t))return i[t]=2,o[t];if((a=e.propsOptions[0])&&j(a,t))return i[t]=3,r[t];if(n!==ee&&j(n,t))return i[t]=4,n[t];Dn&&(i[t]=0)}}const d=At[t];let g,y;if(d)return t==="$attrs"&&pe(e.attrs,"get",""),d(e);if((g=l.__cssModules)&&(g=g[t]))return g;if(n!==ee&&j(n,t))return i[t]=4,n[t];if(y=f.config.globalProperties,j(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Sn(o,t)?(o[t]=n,!0):s!==ee&&j(s,t)?(s[t]=n,!0):j(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==ee&&j(e,i)||Sn(t,i)||(l=r[0])&&j(l,i)||j(s,i)||j(At,i)||j(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Us(e){return I(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Dn=!0;function Hi(e){const t=ps(e),n=e.proxy,s=e.ctx;Dn=!1,t.beforeCreate&&Hs(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:f,inject:a,created:d,beforeMount:g,mounted:y,beforeUpdate:A,updated:$,activated:N,deactivated:Q,beforeDestroy:k,beforeUnmount:X,destroyed:U,unmounted:J,render:te,renderTracked:R,renderTriggered:H,errorCaptured:M,serverPrefetch:E,expose:L,inheritAttrs:q,components:S,directives:z,filters:se}=t;if(a&&Vi(a,s,null),i)for(const B in i){const K=i[B];F(K)&&(s[B]=K.bind(n))}if(o){const B=o.call(n,n);Y(B)&&(e.data=ls(B))}if(Dn=!0,r)for(const B in r){const K=r[B],Oe=F(K)?K.bind(n,n):F(K.get)?K.get.bind(n,n):xe,Ze=!F(K)&&F(K.set)?K.set.bind(n):xe,Qe=Jn({get:Oe,set:Ze});Object.defineProperty(s,B,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Ie=>Qe.value=Ie})}if(l)for(const B in l)Qo(l[B],s,n,B);if(f){const B=F(f)?f.call(n):f;Reflect.ownKeys(B).forEach(K=>{ki(K,B[K])})}d&&Hs(d,e,"c");function ne(B,K){I(K)?K.forEach(Oe=>B(Oe.bind(n))):K&&B(K.bind(n))}if(ne(Ii,g),ne(ds,y),ne(Ai,A),ne(Mi,$),ne(Si,N),ne(Ti,Q),ne(Fi,M),ne(Pi,R),ne(Ri,H),ne(Zo,X),ne(hs,J),ne(Li,E),I(L))if(L.length){const B=e.exposed||(e.exposed={});L.forEach(K=>{Object.defineProperty(B,K,{get:()=>n[K],set:Oe=>n[K]=Oe})})}else e.exposed||(e.exposed={});te&&e.render===xe&&(e.render=te),q!=null&&(e.inheritAttrs=q),S&&(e.components=S),z&&(e.directives=z)}function Vi(e,t,n=xe){I(e)&&(e=Kn(e));for(const s in e){const o=e[s];let r;Y(o)?"default"in o?r=Xt(o.from||s,o.default,!0):r=Xt(o.from||s):r=Xt(o),ge(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Hs(e,t,n){Ce(I(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qo(e,t,n,s){const o=s.includes(".")?hr(n,s):()=>n[s];if(oe(e)){const r=t[e];F(r)&&On(o,r)}else if(F(e))On(o,e.bind(n));else if(Y(e))if(I(e))e.forEach(r=>Qo(r,t,n,s));else{const r=F(e.handler)?e.handler.bind(n):t[e.handler];F(r)&&On(o,r,e)}}function ps(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let f;return l?f=l:!o.length&&!n&&!s?f=t:(f={},o.length&&o.forEach(a=>sn(f,a,i,!0)),sn(f,t,i)),Y(t)&&r.set(t,f),f}function sn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&sn(e,r,n,!0),o&&o.forEach(i=>sn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=ji[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ji={data:Vs,props:js,emits:js,methods:Tt,computed:Tt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Tt,directives:Tt,watch:Di,provide:Vs,inject:Bi};function Vs(e,t){return t?e?function(){return le(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function Bi(e,t){return Tt(Kn(e),Kn(t))}function Kn(e){if(I(e)){const t={};for(let n=0;n1)return n&&F(t)?t.call(s&&s.proxy):t}}const tr={},nr=()=>Object.create(tr),sr=e=>Object.getPrototypeOf(e)===tr;function qi(e,t,n,s=!1){const o={},r=nr();e.propsDefaults=Object.create(null),or(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:li(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function zi(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=D(o),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let g=0;g{f=!0;const[y,A]=rr(g,t,!0);le(i,y),A&&l.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!f)return Y(e)&&s.set(e,gt),gt;if(I(r))for(let d=0;de[0]==="_"||e==="$stable",gs=e=>I(e)?e.map(Le):[Le(e)],Ji=(e,t,n)=>{if(t._n)return t;const s=qo((...o)=>gs(t(...o)),n);return s._c=!1,s},lr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ir(o))continue;const r=e[o];if(F(r))t[o]=Ji(o,r,s);else if(r!=null){const i=gs(r);t[o]=()=>i}}},cr=(e,t)=>{const n=gs(t);e.slots.default=()=>n},fr=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Yi=(e,t,n)=>{const s=e.slots=nr();if(e.vnode.shapeFlag&32){const o=t._;o?(fr(s,t,n),n&&yo(s,"_",o,!0)):lr(t,s)}else t&&cr(e,t)},Xi=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:fr(o,t,n):(r=!t.$stable,lr(t,o)),i=t}else t&&(cr(e,t),i={default:1});if(r)for(const l in o)!ir(l)&&i[l]==null&&delete o[l]};function kn(e,t,n,s,o=!1){if(I(e)){e.forEach((y,A)=>kn(y,t&&(I(t)?t[A]:t),n,s,o));return}if(Yt(s)&&!o)return;const r=s.shapeFlag&4?vn(s.component):s.el,i=o?null:r,{i:l,r:f}=e,a=t&&t.r,d=l.refs===ee?l.refs={}:l.refs,g=l.setupState;if(a!=null&&a!==f&&(oe(a)?(d[a]=null,j(g,a)&&(g[a]=null)):ge(a)&&(a.value=null)),F(f))ze(f,l,12,[i,d]);else{const y=oe(f),A=ge(f);if(y||A){const $=()=>{if(e.f){const N=y?j(g,f)?g[f]:d[f]:f.value;o?I(N)&&Qn(N,r):I(N)?N.includes(r)||N.push(r):y?(d[f]=[r],j(g,f)&&(g[f]=d[f])):(f.value=[r],e.k&&(d[e.k]=f.value))}else y?(d[f]=i,j(g,f)&&(g[f]=i)):A&&(f.value=i,e.k&&(d[e.k]=i))};i?($.id=-1,de($,n)):$()}}}const Zi=Symbol("_vte"),Qi=e=>e.__isTeleport,de=pl;function el(e){return tl(e)}function tl(e,t){const n=vo();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:f,setText:a,setElementText:d,parentNode:g,nextSibling:y,setScopeId:A=xe,insertStaticContent:$}=e,N=(c,u,h,_=null,p=null,b=null,C=void 0,v=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!it(c,u)&&(_=Ht(c),Ie(c,p,b,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:m,ref:w,shapeFlag:O}=u;switch(m){case bn:Q(c,u,h,_);break;case _e:k(c,u,h,_);break;case Zt:c==null&&X(u,h,_,C);break;case Te:S(c,u,h,_,p,b,C,v,x);break;default:O&1?te(c,u,h,_,p,b,C,v,x):O&6?z(c,u,h,_,p,b,C,v,x):(O&64||O&128)&&m.process(c,u,h,_,p,b,C,v,x,wt)}w!=null&&p&&kn(w,c&&c.ref,b,u||c,!u)},Q=(c,u,h,_)=>{if(c==null)s(u.el=l(u.children),h,_);else{const p=u.el=c.el;u.children!==c.children&&a(p,u.children)}},k=(c,u,h,_)=>{c==null?s(u.el=f(u.children||""),h,_):u.el=c.el},X=(c,u,h,_)=>{[c.el,c.anchor]=$(c.children,u,h,_,c.el,c.anchor)},U=({el:c,anchor:u},h,_)=>{let p;for(;c&&c!==u;)p=y(c),s(c,h,_),c=p;s(u,h,_)},J=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=y(c),o(c),c=h;o(u)},te=(c,u,h,_,p,b,C,v,x)=>{u.type==="svg"?C="svg":u.type==="math"&&(C="mathml"),c==null?R(u,h,_,p,b,C,v,x):E(c,u,p,b,C,v,x)},R=(c,u,h,_,p,b,C,v)=>{let x,m;const{props:w,shapeFlag:O,transition:T,dirs:P}=c;if(x=c.el=i(c.type,b,w&&w.is,w),O&8?d(x,c.children):O&16&&M(c.children,x,null,_,p,Tn(c,b),C,v),P&&et(c,null,_,"created"),H(x,c,c.scopeId,C,_),w){for(const Z in w)Z!=="value"&&!Ot(Z)&&r(x,Z,null,w[Z],b,_);"value"in w&&r(x,"value",null,w.value,b),(m=w.onVnodeBeforeMount)&&Me(m,_,c)}P&&et(c,null,_,"beforeMount");const V=nl(p,T);V&&T.beforeEnter(x),s(x,u,h),((m=w&&w.onVnodeMounted)||V||P)&&de(()=>{m&&Me(m,_,c),V&&T.enter(x),P&&et(c,null,_,"mounted")},p)},H=(c,u,h,_,p)=>{if(h&&A(c,h),_)for(let b=0;b<_.length;b++)A(c,_[b]);if(p){let b=p.subTree;if(u===b){const C=p.vnode;H(c,C,C.scopeId,C.slotScopeIds,p.parent)}}},M=(c,u,h,_,p,b,C,v,x=0)=>{for(let m=x;m{const v=u.el=c.el;let{patchFlag:x,dynamicChildren:m,dirs:w}=u;x|=c.patchFlag&16;const O=c.props||ee,T=u.props||ee;let P;if(h&&tt(h,!1),(P=T.onVnodeBeforeUpdate)&&Me(P,h,u,c),w&&et(u,c,h,"beforeUpdate"),h&&tt(h,!0),(O.innerHTML&&T.innerHTML==null||O.textContent&&T.textContent==null)&&d(v,""),m?L(c.dynamicChildren,m,v,h,_,Tn(u,p),b):C||K(c,u,v,null,h,_,Tn(u,p),b,!1),x>0){if(x&16)q(v,O,T,h,p);else if(x&2&&O.class!==T.class&&r(v,"class",null,T.class,p),x&4&&r(v,"style",O.style,T.style,p),x&8){const V=u.dynamicProps;for(let Z=0;Z{P&&Me(P,h,u,c),w&&et(u,c,h,"updated")},_)},L=(c,u,h,_,p,b,C)=>{for(let v=0;v{if(u!==h){if(u!==ee)for(const b in u)!Ot(b)&&!(b in h)&&r(c,b,u[b],null,p,_);for(const b in h){if(Ot(b))continue;const C=h[b],v=u[b];C!==v&&b!=="value"&&r(c,b,v,C,p,_)}"value"in h&&r(c,"value",u.value,h.value,p)}},S=(c,u,h,_,p,b,C,v,x)=>{const m=u.el=c?c.el:l(""),w=u.anchor=c?c.anchor:l("");let{patchFlag:O,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(s(m,h,_),s(w,h,_),M(u.children||[],h,w,p,b,C,v,x)):O>0&&O&64&&T&&c.dynamicChildren?(L(c.dynamicChildren,T,h,p,b,C,v),(u.key!=null||p&&u===p.subTree)&&ur(c,u,!0)):K(c,u,h,w,p,b,C,v,x)},z=(c,u,h,_,p,b,C,v,x)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?p.ctx.activate(u,h,_,C,x):se(u,h,_,p,b,C,x):ae(c,u,x)},se=(c,u,h,_,p,b,C)=>{const v=c.component=xl(c,_,p);if(gn(c)&&(v.ctx.renderer=wt),wl(v,!1,C),v.asyncDep){if(p&&p.registerDep(v,ne,C),!c.el){const x=v.subTree=he(_e);k(null,x,u,h)}}else ne(v,c,u,h,p,b,C)},ae=(c,u,h)=>{const _=u.component=c.component;if(al(c,u,h))if(_.asyncDep&&!_.asyncResolved){B(_,u,h);return}else _.next=u,_i(_.update),_.effect.dirty=!0,_.update();else u.el=c.el,_.vnode=u},ne=(c,u,h,_,p,b,C)=>{const v=()=>{if(c.isMounted){let{next:w,bu:O,u:T,parent:P,vnode:V}=c;{const ht=ar(c);if(ht){w&&(w.el=V.el,B(c,w,C)),ht.asyncDep.then(()=>{c.isUnmounted||v()});return}}let Z=w,W;tt(c,!1),w?(w.el=V.el,B(c,w,C)):w=V,O&&Gt(O),(W=w.props&&w.props.onVnodeBeforeUpdate)&&Me(W,P,w,V),tt(c,!0);const re=In(c),we=c.subTree;c.subTree=re,N(we,re,g(we.el),Ht(we),c,p,b),w.el=re.el,Z===null&&dl(c,re.el),T&&de(T,p),(W=w.props&&w.props.onVnodeUpdated)&&de(()=>Me(W,P,w,V),p)}else{let w;const{el:O,props:T}=u,{bm:P,m:V,parent:Z}=c,W=Yt(u);if(tt(c,!1),P&&Gt(P),!W&&(w=T&&T.onVnodeBeforeMount)&&Me(w,Z,u),tt(c,!0),O&&Cs){const re=()=>{c.subTree=In(c),Cs(O,c.subTree,c,p,null)};W?u.type.__asyncLoader().then(()=>!c.isUnmounted&&re()):re()}else{const re=c.subTree=In(c);N(null,re,h,_,c,p,b),u.el=re.el}if(V&&de(V,p),!W&&(w=T&&T.onVnodeMounted)){const re=u;de(()=>Me(w,Z,re),p)}(u.shapeFlag&256||Z&&Yt(Z.vnode)&&Z.vnode.shapeFlag&256)&&c.a&&de(c.a,p),c.isMounted=!0,u=h=_=null}},x=c.effect=new ns(v,xe,()=>as(m),c.scope),m=c.update=()=>{x.dirty&&x.run()};m.i=c,m.id=c.uid,tt(c,!0),m()},B=(c,u,h)=>{u.component=c;const _=c.vnode.props;c.vnode=u,c.next=null,zi(c,u.props,_,h),Xi(c,u.children,h),Ye(),Ns(c),Xe()},K=(c,u,h,_,p,b,C,v,x=!1)=>{const m=c&&c.children,w=c?c.shapeFlag:0,O=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){Ze(m,O,h,_,p,b,C,v,x);return}else if(T&256){Oe(m,O,h,_,p,b,C,v,x);return}}P&8?(w&16&&Ct(m,p,b),O!==m&&d(h,O)):w&16?P&16?Ze(m,O,h,_,p,b,C,v,x):Ct(m,p,b,!0):(w&8&&d(h,""),P&16&&M(O,h,_,p,b,C,v,x))},Oe=(c,u,h,_,p,b,C,v,x)=>{c=c||gt,u=u||gt;const m=c.length,w=u.length,O=Math.min(m,w);let T;for(T=0;Tw?Ct(c,p,b,!0,!1,O):M(u,h,_,p,b,C,v,x,O)},Ze=(c,u,h,_,p,b,C,v,x)=>{let m=0;const w=u.length;let O=c.length-1,T=w-1;for(;m<=O&&m<=T;){const P=c[m],V=u[m]=x?We(u[m]):Le(u[m]);if(it(P,V))N(P,V,h,null,p,b,C,v,x);else break;m++}for(;m<=O&&m<=T;){const P=c[O],V=u[T]=x?We(u[T]):Le(u[T]);if(it(P,V))N(P,V,h,null,p,b,C,v,x);else break;O--,T--}if(m>O){if(m<=T){const P=T+1,V=PT)for(;m<=O;)Ie(c[m],p,b,!0),m++;else{const P=m,V=m,Z=new Map;for(m=V;m<=T;m++){const me=u[m]=x?We(u[m]):Le(u[m]);me.key!=null&&Z.set(me.key,m)}let W,re=0;const we=T-V+1;let ht=!1,ws=0;const Et=new Array(we);for(m=0;m=we){Ie(me,p,b,!0);continue}let Ae;if(me.key!=null)Ae=Z.get(me.key);else for(W=V;W<=T;W++)if(Et[W-V]===0&&it(me,u[W])){Ae=W;break}Ae===void 0?Ie(me,p,b,!0):(Et[Ae-V]=m+1,Ae>=ws?ws=Ae:ht=!0,N(me,u[Ae],h,null,p,b,C,v,x),re++)}const Es=ht?sl(Et):gt;for(W=Es.length-1,m=we-1;m>=0;m--){const me=V+m,Ae=u[me],Ss=me+1{const{el:b,type:C,transition:v,children:x,shapeFlag:m}=c;if(m&6){Qe(c.component.subTree,u,h,_);return}if(m&128){c.suspense.move(u,h,_);return}if(m&64){C.move(c,u,h,wt);return}if(C===Te){s(b,u,h);for(let O=0;Ov.enter(b),p);else{const{leave:O,delayLeave:T,afterLeave:P}=v,V=()=>s(b,u,h),Z=()=>{O(b,()=>{V(),P&&P()})};T?T(b,V,Z):Z()}else s(b,u,h)},Ie=(c,u,h,_=!1,p=!1)=>{const{type:b,props:C,ref:v,children:x,dynamicChildren:m,shapeFlag:w,patchFlag:O,dirs:T,cacheIndex:P}=c;if(O===-2&&(p=!1),v!=null&&kn(v,null,h,c,!0),P!=null&&(u.renderCache[P]=void 0),w&256){u.ctx.deactivate(c);return}const V=w&1&&T,Z=!Yt(c);let W;if(Z&&(W=C&&C.onVnodeBeforeUnmount)&&Me(W,u,c),w&6)Sr(c.component,h,_);else{if(w&128){c.suspense.unmount(h,_);return}V&&et(c,null,u,"beforeUnmount"),w&64?c.type.remove(c,u,h,wt,_):m&&!m.hasOnce&&(b!==Te||O>0&&O&64)?Ct(m,u,h,!1,!0):(b===Te&&O&384||!p&&w&16)&&Ct(x,u,h),_&&ys(c)}(Z&&(W=C&&C.onVnodeUnmounted)||V)&&de(()=>{W&&Me(W,u,c),V&&et(c,null,u,"unmounted")},h)},ys=c=>{const{type:u,el:h,anchor:_,transition:p}=c;if(u===Te){Er(h,_);return}if(u===Zt){J(c);return}const b=()=>{o(h),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(c.shapeFlag&1&&p&&!p.persisted){const{leave:C,delayLeave:v}=p,x=()=>C(h,b);v?v(c.el,b,x):x()}else b()},Er=(c,u)=>{let h;for(;c!==u;)h=y(c),o(c),c=h;o(u)},Sr=(c,u,h)=>{const{bum:_,scope:p,update:b,subTree:C,um:v,m:x,a:m}=c;Ds(x),Ds(m),_&&Gt(_),p.stop(),b&&(b.active=!1,Ie(C,c,u,h)),v&&de(v,u),de(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Ct=(c,u,h,_=!1,p=!1,b=0)=>{for(let C=b;C{if(c.shapeFlag&6)return Ht(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=y(c.anchor||c.el),h=u&&u[Zi];return h?y(h):u};let xn=!1;const vs=(c,u,h)=>{c==null?u._vnode&&Ie(u._vnode,null,null,!0):N(u._vnode||null,c,u,null,null,null,h),u._vnode=c,xn||(xn=!0,Ns(),Wo(),xn=!1)},wt={p:N,um:Ie,m:Qe,r:ys,mt:se,mc:M,pc:K,pbc:L,n:Ht,o:e};let xs,Cs;return{render:vs,hydrate:xs,createApp:Wi(vs,xs)}}function Tn({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 tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ur(e,t,n=!1){const s=e.children,o=t.children;if(I(s)&&I(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function ar(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ar(t)}function Ds(e){if(e)for(let t=0;tXt(ol),qt={};function On(e,t,n){return dr(e,t,n)}function dr(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:l}=ee){if(t&&r){const R=t;t=(...H)=>{R(...H),te()}}const f=fe,a=R=>s===!0?R:ke(R,s===!1?1:void 0);let d,g=!1,y=!1;if(ge(e)?(d=()=>e.value,g=vt(e)):It(e)?(d=()=>a(e),g=!0):I(e)?(y=!0,g=e.some(R=>It(R)||vt(R)),d=()=>e.map(R=>{if(ge(R))return R.value;if(It(R))return a(R);if(F(R))return ze(R,f,2)})):F(e)?t?d=()=>ze(e,f,2):d=()=>(A&&A(),Ce(e,f,3,[$])):d=xe,t&&s){const R=d;d=()=>ke(R())}let A,$=R=>{A=U.onStop=()=>{ze(R,f,4),A=U.onStop=void 0}},N;if(yn)if($=xe,t?n&&Ce(t,f,3,[d(),y?[]:void 0,$]):d(),o==="sync"){const R=rl();N=R.__watcherHandles||(R.__watcherHandles=[])}else return xe;let Q=y?new Array(e.length).fill(qt):qt;const k=()=>{if(!(!U.active||!U.dirty))if(t){const R=U.run();(s||g||(y?R.some((H,M)=>Ge(H,Q[M])):Ge(R,Q)))&&(A&&A(),Ce(t,f,3,[R,Q===qt?void 0:y&&Q[0]===qt?[]:Q,$]),Q=R)}else U.run()};k.allowRecurse=!!t;let X;o==="sync"?X=k:o==="post"?X=()=>de(k,f&&f.suspense):(k.pre=!0,f&&(k.id=f.uid),X=()=>as(k));const U=new ns(d,xe,X),J=Br(),te=()=>{U.stop(),J&&Qn(J.effects,U)};return t?n?k():Q=U.run():o==="post"?de(U.run.bind(U),f&&f.suspense):U.run(),N&&N.push(te),te}function il(e,t,n){const s=this.proxy,o=oe(e)?e.includes(".")?hr(s,e):()=>s[e]:e.bind(s,s);let r;F(t)?r=t:(r=t.handler,n=t);const i=Ut(this),l=dr(o,r.bind(s),n);return i(),l}function hr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{ke(s,t,n)});else if(_o(e)){for(const s in e)ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ke(e[s],t,n)}return e}const ll=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ut(t)}Modifiers`]||e[`${dt(t)}Modifiers`];function cl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ee;let o=n;const r=t.startsWith("update:"),i=r&&ll(s,t.slice(7));i&&(i.trim&&(o=n.map(d=>oe(d)?d.trim():d)),i.number&&(o=n.map(Fn)));let l,f=s[l=Cn(t)]||s[l=Cn(ut(t))];!f&&r&&(f=s[l=Cn(dt(t))]),f&&Ce(f,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(a,e,6,o)}}function pr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!F(e)){const f=a=>{const d=pr(a,t,!0);d&&(l=!0,le(i,d))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(Y(e)&&s.set(e,null),null):(I(r)?r.forEach(f=>i[f]=null):le(i,r),Y(e)&&s.set(e,i),i)}function _n(e,t){return!e||!ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,dt(t))||j(e,t))}function In(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:f,render:a,renderCache:d,props:g,data:y,setupState:A,ctx:$,inheritAttrs:N}=e,Q=tn(e);let k,X;try{if(n.shapeFlag&4){const J=o||s,te=J;k=Le(a.call(te,J,d,g,A,y,$)),X=l}else{const J=t;k=Le(J.length>1?J(g,{attrs:l,slots:i,emit:f}):J(g,null)),X=t.props?l:fl(l)}}catch(J){Mt.length=0,hn(J,e,1),k=he(_e)}let U=k;if(X&&N!==!1){const J=Object.keys(X),{shapeFlag:te}=U;J.length&&te&7&&(r&&J.some(Zn)&&(X=ul(X,r)),U=Je(U,X,!1,!0))}return n.dirs&&(U=Je(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),k=U,tn(Q),k}const fl=e=>{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},ul=(e,t)=>{const n={};for(const s in e)(!Zn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function al(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:f}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?Ks(s,i,a):!!i;if(f&8){const d=t.dynamicProps;for(let g=0;ge.__isSuspense;function pl(e,t){t&&t.pendingBranch?I(e)?t.effects.push(...e):t.effects.push(e):bi(e)}const Te=Symbol.for("v-fgt"),bn=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),Zt=Symbol.for("v-stc"),Mt=[];let ye=null;function Se(e=!1){Mt.push(ye=e?null:[])}function gl(){Mt.pop(),ye=Mt[Mt.length-1]||null}let Ft=1;function Ws(e){Ft+=e,e<0&&ye&&(ye.hasOnce=!0)}function gr(e){return e.dynamicChildren=Ft>0?ye||gt:null,gl(),Ft>0&&ye&&ye.push(e),e}function Ve(e,t,n,s,o,r){return gr(G(e,t,n,s,o,r,!0))}function ms(e,t,n,s,o){return gr(he(e,t,n,s,o,!0))}function qn(e){return e?e.__v_isVNode===!0:!1}function it(e,t){return e.type===t.type&&e.key===t.key}const mr=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||ge(e)||F(e)?{i:be,r:e,k:t,f:!!n}:e:null);function G(e,t=null,n=null,s=0,o=null,r=e===Te?0:1,i=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mr(t),ref:t&&Qt(t),scopeId:pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:be};return l?(_s(f,n),r&128&&e.normalize(f)):n&&(f.shapeFlag|=oe(n)?8:16),Ft>0&&!i&&ye&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&ye.push(f),f}const he=ml;function ml(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ni)&&(e=_e),qn(e)){const l=Je(e,t,!0);return n&&_s(l,n),Ft>0&&!r&&ye&&(l.shapeFlag&6?ye[ye.indexOf(e)]=l:ye.push(l)),l.patchFlag=-2,l}if(Ol(e)&&(e=e.__vccOpts),t){t=_l(t);let{class:l,style:f}=t;l&&!oe(l)&&(t.class=ts(l)),Y(f)&&(Ho(f)&&!I(f)&&(f=le({},f)),t.style=un(f))}const i=oe(e)?1:hl(e)?128:Qi(e)?64:Y(e)?4:F(e)?2:0;return G(e,t,n,s,o,i,r,!0)}function _l(e){return e?Ho(e)||sr(e)?le({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:f}=e,a=t?bl(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&mr(a),ref:t&&t.ref?n&&r?I(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&nn(d,f.clone(d)),d}function zn(e=" ",t=0){return he(bn,null,e,t)}function _r(e,t){const n=he(Zt,null,e);return n.staticCount=t,n}function pt(e="",t=!1){return t?(Se(),ms(_e,null,e)):he(_e,null,e)}function Le(e){return e==null||typeof e=="boolean"?he(_e):I(e)?he(Te,null,e.slice()):typeof e=="object"?We(e):he(bn,null,String(e))}function We(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function _s(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(I(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),_s(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!sr(t)?t._ctx=be:o===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else F(t)?(t={default:t,_ctx:be},n=32):(t=String(t),s&64?(n=16,t=[zn(t)]):n=8);e.children=t,e.shapeFlag|=n}function bl(...e){const t={};for(let n=0;nfe||be;let on,Gn;{const e=vo(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};on=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),Gn=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Ut=e=>{const t=fe;return on(e),e.scope.on(),()=>{e.scope.off(),on(t)}},ks=()=>{fe&&fe.scope.off(),on(null)};function br(e){return e.vnode.shapeFlag&4}let yn=!1;function wl(e,t=!1,n=!1){t&&Gn(t);const{props:s,children:o}=e.vnode,r=br(e);qi(e,s,r,t),Yi(e,o,n);const i=r?El(e,t):void 0;return t&&Gn(!1),i}function El(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ui);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Tl(e):null,r=Ut(e);Ye();const i=ze(s,e,0,[e.props,o]);if(Xe(),r(),go(i)){if(i.then(ks,ks),t)return i.then(l=>{qs(e,l,t)}).catch(l=>{hn(l,e,0)});e.asyncDep=i}else qs(e,i,t)}else yr(e,t)}function qs(e,t,n){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Y(t)&&(e.setupState=Bo(t)),yr(e,n)}let zs;function yr(e,t,n){const s=e.type;if(!e.render){if(!t&&zs&&!s.render){const o=s.template||ps(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:f}=s,a=le(le({isCustomElement:r,delimiters:l},i),f);s.render=zs(o,a)}}e.render=s.render||xe}{const o=Ut(e);Ye();try{Hi(e)}finally{Xe(),o()}}}const Sl={get(e,t){return pe(e,"get",""),e[t]}};function Tl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sl),slots:e.slots,emit:e.emit,expose:t}}function vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bo(ci(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in At)return At[n](e)},has(t,n){return n in t||n in At}})):e.proxy}function Ol(e){return F(e)&&"__vccOpts"in e}const Jn=(e,t)=>fi(e,t,yn);function Il(e,t,n){const s=arguments.length;return s===2?Y(t)&&!I(t)?qn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qn(n)&&(n=[n]),he(e,t,n))}const Al="3.4.38";/** +* @vue/runtime-dom v3.4.38 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Ml="http://www.w3.org/2000/svg",Ll="http://www.w3.org/1998/Math/MathML",Fe=typeof document<"u"?document:null,Gs=Fe&&Fe.createElement("template"),Rl={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 o=t==="svg"?Fe.createElementNS(Ml,e):t==="mathml"?Fe.createElementNS(Ll,e):n?Fe.createElement(e,{is:n}):Fe.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Fe.createTextNode(e),createComment:e=>Fe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Gs.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Gs.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},je="transition",St="animation",Nt=Symbol("_vtc"),bs=(e,{slots:t})=>Il(Ei,Pl(e),t);bs.displayName="Transition";const vr={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};bs.props=le({},zo,vr);const nt=(e,t=[])=>{I(e)?e.forEach(n=>n(...t)):e&&e(...t)},Js=e=>e?I(e)?e.some(t=>t.length>1):e.length>1:!1;function Pl(e){const t={};for(const S in e)S in vr||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=r,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:A=`${n}-leave-to`}=e,$=Fl(o),N=$&&$[0],Q=$&&$[1],{onBeforeEnter:k,onEnter:X,onEnterCancelled:U,onLeave:J,onLeaveCancelled:te,onBeforeAppear:R=k,onAppear:H=X,onAppearCancelled:M=U}=t,E=(S,z,se)=>{st(S,z?d:l),st(S,z?a:i),se&&se()},L=(S,z)=>{S._isLeaving=!1,st(S,g),st(S,A),st(S,y),z&&z()},q=S=>(z,se)=>{const ae=S?H:X,ne=()=>E(z,S,se);nt(ae,[z,ne]),Ys(()=>{st(z,S?f:r),Be(z,S?d:l),Js(ae)||Xs(z,s,N,ne)})};return le(t,{onBeforeEnter(S){nt(k,[S]),Be(S,r),Be(S,i)},onBeforeAppear(S){nt(R,[S]),Be(S,f),Be(S,a)},onEnter:q(!1),onAppear:q(!0),onLeave(S,z){S._isLeaving=!0;const se=()=>L(S,z);Be(S,g),Be(S,y),Ul(),Ys(()=>{S._isLeaving&&(st(S,g),Be(S,A),Js(J)||Xs(S,s,Q,se))}),nt(J,[S,se])},onEnterCancelled(S){E(S,!1),nt(U,[S])},onAppearCancelled(S){E(S,!0),nt(M,[S])},onLeaveCancelled(S){L(S),nt(te,[S])}})}function Fl(e){if(e==null)return null;if(Y(e))return[An(e.enter),An(e.leave)];{const t=An(e);return[t,t]}}function An(e){return Lr(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Nt]||(e[Nt]=new Set)).add(t)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Nt];n&&(n.delete(t),n.size||(e[Nt]=void 0))}function Ys(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nl=0;function Xs(e,t,n,s){const o=e._endId=++Nl,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:f}=$l(e,t);if(!i)return s();const a=i+"end";let d=0;const g=()=>{e.removeEventListener(a,y),r()},y=A=>{A.target===e&&++d>=f&&g()};setTimeout(()=>{d(n[$]||"").split(", "),o=s(`${je}Delay`),r=s(`${je}Duration`),i=Zs(o,r),l=s(`${St}Delay`),f=s(`${St}Duration`),a=Zs(l,f);let d=null,g=0,y=0;t===je?i>0&&(d=je,g=i,y=r.length):t===St?a>0&&(d=St,g=a,y=f.length):(g=Math.max(i,a),d=g>0?i>a?je:St:null,y=d?d===je?r.length:f.length:0);const A=d===je&&/\b(transform|all)(,|$)/.test(s(`${je}Property`).toString());return{type:d,timeout:g,propCount:y,hasTransform:A}}function Zs(e,t){for(;e.lengthQs(n)+Qs(e[s])))}function Qs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ul(){return document.body.offsetHeight}function Hl(e,t,n){const s=e[Nt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const eo=Symbol("_vod"),Vl=Symbol("_vsh"),jl=Symbol(""),Bl=/(^|;)\s*display\s*:/;function Dl(e,t,n){const s=e.style,o=oe(n);let r=!1;if(n&&!o){if(t)if(oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&en(s,l,"")}else for(const i in t)n[i]==null&&en(s,i,"");for(const i in n)i==="display"&&(r=!0),en(s,i,n[i])}else if(o){if(t!==n){const i=s[jl];i&&(n+=";"+i),s.cssText=n,r=Bl.test(n)}}else t&&e.removeAttribute("style");eo in e&&(e[eo]=r?s.display:"",e[Vl]&&(s.display="none"))}const to=/\s*!important$/;function en(e,t,n){if(I(n))n.forEach(s=>en(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Kl(e,t);to.test(n)?e.setProperty(dt(s),n.replace(to,""),"important"):e[s]=n}}const no=["Webkit","Moz","ms"],Mn={};function Kl(e,t){const n=Mn[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return Mn[t]=s;s=bo(s);for(let o=0;oLn||(Gl.then(()=>Ln=0),Ln=Date.now());function Yl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ce(Xl(s,n.value),t,5,[s])};return n.value=e,n.attached=Jl(),n}function Xl(e,t){if(I(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const lo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zl=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?Hl(e,s,i):t==="style"?Dl(e,n,s):ln(t)?Zn(t)||ql(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ql(e,t,s,i))?(Wl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&oo(e,t,s,i,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),oo(e,t,s,i))};function Ql(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&lo(t)&&F(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return lo(t)&&oe(n)?!1:t in e}const rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return I(t)?n=>Gt(t,n):t};function ec(e){e.target.composing=!0}function co(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const yt=Symbol("_assign"),fo={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[yt]=rn(o);const r=s||o.props&&o.props.type==="number";lt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=Fn(l)),e[yt](l)}),n&<(e,"change",()=>{e.value=e.value.trim()}),t||(lt(e,"compositionstart",ec),lt(e,"compositionend",co),lt(e,"change",co))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[yt]=rn(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Fn(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===f)||(e.value=f))}},uo={deep:!0,created(e,t,n){e[yt]=rn(n),lt(e,"change",()=>{const s=e._modelValue,o=tc(e),r=e.checked,i=e[yt];if(I(s)){const l=Co(s,o),f=l!==-1;if(r&&!f)i(s.concat(o));else if(!r&&f){const a=[...s];a.splice(l,1),i(a)}}else if(cn(s)){const l=new Set(s);r?l.add(o):l.delete(o),i(l)}else i(xr(e,r))})},mounted:ao,beforeUpdate(e,t,n){e[yt]=rn(n),ao(e,t,n)}};function ao(e,{value:t,oldValue:n},s){e._modelValue=t,I(t)?e.checked=Co(t,s.props.value)>-1:cn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=an(t,xr(e,!0)))}function tc(e){return"_value"in e?e._value:e.value}function xr(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const nc=["ctrl","shift","alt","meta"],sc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>nc.some(n=>e[`${n}Key`]&&!t.includes(n))},Cr=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(o,...r)=>{for(let i=0;i{const t=rc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=cc(s);if(!o)return;const r=t._component;!F(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,lc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function lc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cc(e){return oe(e)?document.querySelector(e):e}var ie=[];for(var Rn=0;Rn<256;++Rn)ie.push((Rn+256).toString(16).slice(1));function fc(e,t=0){return(ie[e[t+0]]+ie[e[t+1]]+ie[e[t+2]]+ie[e[t+3]]+"-"+ie[e[t+4]]+ie[e[t+5]]+"-"+ie[e[t+6]]+ie[e[t+7]]+"-"+ie[e[t+8]]+ie[e[t+9]]+"-"+ie[e[t+10]]+ie[e[t+11]]+ie[e[t+12]]+ie[e[t+13]]+ie[e[t+14]]+ie[e[t+15]]).toLowerCase()}var zt,uc=new Uint8Array(16);function ac(){if(!zt&&(zt=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!zt))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zt(uc)}var dc=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const po={randomUUID:dc};function Pn(e,t,n){if(po.randomUUID&&!t&&!e)return po.randomUUID();e=e||{};var s=e.random||(e.rng||ac)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,fc(s)}const wr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},hc=["innerHTML"],pc=["innerHTML"],gc={__name:"Modal",props:["title","content"],emits:["close"],setup(e){return(t,n)=>(Se(),ms(bs,{name:"modal"},{default:qo(()=>[G("div",{class:"modal-overlay",onClick:n[2]||(n[2]=s=>t.$emit("close"))},[G("div",{class:"modal-content",onClick:n[1]||(n[1]=Cr(()=>{},["stop"]))},[G("h2",{innerHTML:e.title},null,8,hc),G("div",{class:"modal-body",innerHTML:e.content},null,8,pc),G("button",{onClick:n[0]||(n[0]=s=>t.$emit("close")),class:"close-button"},"关闭")])])]),_:1}))}},mc=wr(gc,[["__scopeId","data-v-eff1e6dc"]]),Yn="user",ot="assistant",_c="system";function bc(e){let t=null;for(let n of e){if(n.role===t&&(t===Yn||t===ot))return!1;t=n.role}return!0}function yc(e,t){let n=[],s={},o=null,r="";for(let i of e.messages){if(i.role===_c){r=i.content;continue}if(i.role===Yn||i.role===ot){let l=i.content;i.pictures&&i.pictures.length>0&&(l+=` +[该消息原本包含图片,但未被保存]`);let f={id:i.id,parentId:o,childrenIds:[],role:i.role,content:l,timestamp:i.timestamp?Math.floor(i.timestamp/1e3):Math.floor(Date.now()/1e3),models:i.role===Yn?[t]:[],model:i.role===ot?t:null,modelName:i.role===ot?t:null,modelIdx:i.role===ot?0:null,done:i.role===ot?!0:null,userContext:(i.role===ot,null)};o&&n[n.length-1].childrenIds.push(i.id),n.push(f),s[i.id]=f,o=i.id}}return{id:"",title:e.name||"未命名对话",models:[t],system:"",params:{system:r},messages:n,history:{messages:s,currentId:o},tags:[],timestamp:Math.floor(Date.now()/1e3),files:[]}}const xt=e=>(vi("data-v-8cbe5e4e"),e=e(),xi(),e),vc={class:"app"},xc={class:"container"},Cc=_r('

ChatBox to Open WebUI

轻松将 ChatBox 导出的对话记录转换为 Open WebUI 格式,
让我们一起迈向更加广阔的 Open WebUI 吧!

',2),wc=xt(()=>G("label",{for:"fileInput",class:"button"},"选择文件",-1)),Ec={key:0,class:"conversation-list"},Sc={class:"list-header"},Tc={class:"checkbox-label"},Oc=xt(()=>G("span",{class:"checkbox-custom"},null,-1)),Ic={class:"model-info"},Ac={class:"conversation-header"},Mc={class:"checkbox-label"},Lc=["onUpdate:modelValue"],Rc=xt(()=>G("span",{class:"checkbox-custom"},null,-1)),Pc={class:"conversation-icons"},Fc=xt(()=>G("path",{fill:"red",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1)),Nc=[Fc],$c=xt(()=>G("path",{fill:"orange",d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1)),Uc=[$c],Hc=["onUpdate:modelValue"],Vc=["disabled"],jc=xt(()=>G("div",{class:"github-link-container"},[G("a",{href:"https://github.com/CookSleep/ChatBox2OpenWebUI",target:"_blank",class:"github-link"},"GitHub @CookSleep")],-1)),Bc=_r('

聊天记录转移步骤

  1. 在ChatBox的设置-其它-备份与恢复只勾选聊天记录,然后导出
  2. 点击本页面的选择文件按钮,选择刚刚从ChatBox导出的JSON文件
    本网页不会收集也无法收集您的个人数据,一切操作均在您的浏览器本地进行
  3. 查看上传的对话列表,根据需要选择或取消选择从ChatBox中导出的对话
  4. 为每个对话指定使用的模型(可选)
  5. 点击转换并导出按钮生成Open WebUI格式的JSON文件
  6. 在Open WebUI的设置-对话-导入聊天记录中选择刚刚生成的文件
  7. 刷新Open WebUI页面,完成数据导入
    Open WebUI的对话专属系统提示需要在界面右上角的对话高级设置中查看、修改
',1),Dc=["innerHTML"],Kc=` +

如果需要为对话中的AI回复添加头像,
则需要在Open WebUI的工作区内使用"创建一个模型"功能设置相关信息,并在本网页的"该对话使用的模型"中填写你刚刚创建的模型的ID。

+`,Wc=` +

此对话包含不成对的消息,可能无法被正确转换。

+

建议先在ChatBox中手动删除不成对消息。

+`,kc=` +

此对话包含图片,图片将在转换过程中丢失。

+

ChatBox导出的聊天记录文件中并不包含图片数据,因此所有的图片都会被丢弃并被[该消息原本包含图片,但未被保存]替代。

+`,qc={__name:"App",setup(e){const t=He([]),n=He(""),s=He(!1),o=He(""),r=He(""),i=He(!1),l=He(""),f=He({}),a=Jn({get:()=>t.value.every(H=>H.selected),set:H=>t.value.forEach(M=>M.selected=H)}),d=Jn(()=>t.value.some(H=>H.selected));function g(){const H=a.value;t.value.forEach(M=>M.selected=H)}function y(){t.value.forEach(H=>H.model=n.value)}function A(H){t.value=[],n.value="",s.value=!1,i.value=!1;const M=H.target.files;let E=[],L=[],q=0;Array.from(M).forEach(S=>{const z=new FileReader;z.onload=se=>{try{(JSON.parse(se.target.result)["chat-sessions"]||[]).forEach(B=>{if(B.messages&&B.messages.length>0){const K=!bc(B.messages),Oe=B.messages.some(Ze=>Ze.pictures&&Ze.pictures.length>0);t.value.push({id:Pn(),title:B.name||"未命名对话",selected:!K,model:n.value,rawData:B,hasWarning:K,hasImages:Oe}),K&&E.push(B.name||"未命名对话"),Oe&&L.push(B.name||"未命名对话"),q++}}),q===0?$("无有效对话","所选文件中没有有效的对话记录。请确保选择了正确的 ChatBox 导出文件。"):(E.length>0||L.length>0)&&N(E,L)}catch{$("无有效对话","所选文件中没有有效的对话记录。请确保选择了正确的 ChatBox 导出文件。")}},z.readAsText(S)})}function $(H,M){s.value=!0,o.value=H,r.value=M,t.value=[]}function N(H,M){s.value=!0,o.value="转换警告";let E="";H.length>0&&(E+=` +

以下对话包含不成对的消息(存在连续的User/Assistant消息),可能导致Open WebUI功能异常:

+
    + ${H.map(L=>`
  • ${L}
  • `).join("")} +
+

如果您确定要转换这些对话,建议先在ChatBox中手动删除不成对消息。

+
+ `),M.length>0&&(E+=` +

以下对话包含图片,这些图片将在转换过程中丢失:

+
    + ${M.map(L=>`
  • ${L}
  • `).join("")} +
+

ChatBox导出的聊天记录文件中并不包含图片数据,因此所有的图片都会被丢弃并被 [该消息原本包含图片,但未被保存] 替代。

+
+ `),r.value=E}function Q(){const M=t.value.filter(ae=>ae.selected).map(ae=>{const ne=yc(ae.rawData,ae.model);return{id:Pn(),user_id:Pn(),title:ne.title,chat:ne,updated_at:Math.floor(Date.now()/1e3),created_at:Math.floor(Date.now()/1e3),share_id:null,archived:!1}}),E=JSON.stringify(M,null,2),L=new Blob([E],{type:"application/json"}),q=URL.createObjectURL(L),S=document.createElement("a");S.href=q;const se=new Date().toISOString().slice(0,19).replace("T","_").replace(/:/g,"-");S.download=`ChatBox2OpenWebUI_${se}.json`,document.body.appendChild(S),S.click(),document.body.removeChild(S),URL.revokeObjectURL(q),s.value=!0,o.value="转换成功",r.value=`成功转换了 ${M.length} 个对话到 Open WebUI 格式。`}function k(){s.value=!1}function X(H,M){l.value=M;const E=H.target.getBoundingClientRect();window.innerWidth<=768?f.value={position:"absolute",top:`${E.bottom+window.scrollY+5}px`,left:"10px",right:"10px",maxWidth:"calc(100vw - 20px)"}:f.value={position:"absolute",top:`${E.bottom+window.scrollY+5}px`,left:`${E.left+window.scrollX}px`,transform:"translateX(-50%)",maxWidth:"300px"},i.value=!0}let U;function J(H,M){clearTimeout(U),X(H,M)}function te(){U=setTimeout(()=>{i.value=!1},100)}function R(){window.innerWidth<=768&&(i.value=!1)}return ds(()=>{window.addEventListener("scroll",R)}),hs(()=>{window.removeEventListener("scroll",R)}),(H,M)=>(Se(),Ve("div",vc,[G("div",xc,[Cc,G("input",{type:"file",id:"fileInput",onChange:A,accept:".json",multiple:"",style:{display:"none"}},null,32),wc,t.value.length>0?(Se(),Ve("div",Ec,[G("div",Sc,[G("label",Tc,[Wt(G("input",{type:"checkbox","onUpdate:modelValue":M[0]||(M[0]=E=>a.value=E),onChange:g},null,544),[[uo,a.value]]),Oc,zn(" 全选 ")]),G("div",Ic,[Wt(G("input",{"onUpdate:modelValue":M[1]||(M[1]=E=>n.value=E),placeholder:"所有对话使用的模型",onInput:y,class:"input"},null,544),[[fo,n.value]]),G("span",{class:"info-icon",onMouseenter:M[2]||(M[2]=E=>J(E,Kc)),onMouseleave:te},"ⓘ",32)])]),(Se(!0),Ve(Te,null,$i(t.value,E=>(Se(),Ve("div",{key:E.id,class:"conversation-item"},[G("div",Ac,[G("label",Mc,[Wt(G("input",{type:"checkbox","onUpdate:modelValue":L=>E.selected=L},null,8,Lc),[[uo,E.selected]]),Rc,zn(" "+Eo(E.title),1)]),G("div",Pc,[E.hasWarning?(Se(),Ve("svg",{key:0,class:"icon warning",viewBox:"0 0 24 24",onMouseenter:M[3]||(M[3]=L=>J(L,Wc)),onMouseleave:te},Nc,32)):pt("",!0),E.hasImages?(Se(),Ve("svg",{key:1,class:"icon image",viewBox:"0 0 24 24",onMouseenter:M[4]||(M[4]=L=>J(L,kc)),onMouseleave:te},Uc,32)):pt("",!0)])]),Wt(G("input",{"onUpdate:modelValue":L=>E.model=L,placeholder:"本对话使用的模型",class:"input"},null,8,Hc),[[fo,E.model]])]))),128))])):pt("",!0),t.value.length>0?(Se(),Ve("button",{key:1,onClick:Q,class:"button export-button",disabled:!d.value},"转换并导出",8,Vc)):pt("",!0),jc]),Bc,s.value?(Se(),ms(mc,{key:0,title:o.value,content:r.value,onClose:k},null,8,["title","content"])):pt("",!0),i.value?(Se(),Ve("div",{key:1,class:"tooltip",style:un(f.value),onClick:M[5]||(M[5]=Cr(()=>{},["stop"]))},[G("div",{innerHTML:l.value},null,8,Dc)],4)):pt("",!0)]))}},zc=wr(qc,[["__scopeId","data-v-8cbe5e4e"]]);ic(zc).mount("#app"); diff --git a/index.html b/index.html new file mode 100644 index 0000000..2db561f --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + ChatBox to Open WebUI + + + + +
+ + \ No newline at end of file