0740016ad8
Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
124 KiB
JavaScript
27 lines
124 KiB
JavaScript
(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 l of r)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(r){if(r.ep)return;r.ep=!0;const l=n(r);fetch(r.href,l)}})();/**
|
||
* @vue/shared v3.5.43
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Vt=[],it=()=>{},ul=()=>!1,Zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),es=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pi=Object.prototype.hasOwnProperty,te=(e,t)=>Pi.call(e,t),K=Array.isArray,Rt=e=>Cn(e)==="[object Map]",Ut=e=>Cn(e)==="[object Set]",hr=e=>Cn(e)==="[object Date]",q=e=>typeof e=="function",me=e=>typeof e=="string",We=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",al=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),cl=Object.prototype.toString,Cn=e=>cl.call(e),Ni=e=>Cn(e).slice(8,-1),fl=e=>Cn(e)==="[object Object]",qs=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fn=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ts=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ki=/-\w/g,Me=ts(e=>e.replace(ki,t=>t.slice(1).toUpperCase())),Di=/\B([A-Z])/g,Ht=ts(e=>e.replace(Di,"-$1").toLowerCase()),ns=ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=ts(e=>e?`on${ns(e)}`:""),lt=(e,t)=>!Object.is(e,t),Vn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},dl=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let gr;const rs=()=>gr||(gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function An(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=me(s)?Li(s):An(s);if(r)for(const l in r)t[l]=r[l]}return t}else if(me(e)||ne(e))return e}const Mi=/;(?![^(]*\))/g,Vi=/:([^]+)/,$i=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Li(e){const t={};return e.replace($i,n=>n.startsWith("/*")?"":n).split(Mi).forEach(n=>{if(n){const s=n.split(Vi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Re(e){let t="";if(me(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Re(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Fi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ui=Gs(Fi);function pl(e){return!!e||e===""}function ji(e,t,n){if(e.length!==t.length)return!1;let s=!0;for(let r=0;s&&r<e.length;r++)s=Tt(e[r],t[r],n);return s}function mr(e,t,n){if(e.size!==t.size)return!1;const s=Array.from(t),r=new Uint8Array(s.length);for(const l of e){let i=-1;for(let o=0;o<s.length;o++)if(!r[o]&&Tt(l,s[o],n)){i=o;break}if(i<0)return!1;r[i]=1}return!0}function Hi(e,t,n){let s=Rt(e),r=Rt(t);if(s||r||(s=Ut(e),r=Ut(t),s||r))return s&&r?mr(e,t,n):!1;const l=Object.keys(e).length,i=Object.keys(t).length;if(l!==i)return!1;for(const o in e){const u=e.hasOwnProperty(o),d=t.hasOwnProperty(o);if(u&&!d||!u&&d||!Tt(e[o],t[o],n))return!1}return String(e)===String(t)}function vr(e,t,n,s){n||(n=[new Map,new Map]);const[r,l]=n;if(r.has(e)||l.has(t))return r.get(e)===t&&l.get(t)===e;r.set(e,t),l.set(t,e);const i=s(e,t,n);return r.delete(e),l.delete(t),i}function Tt(e,t,n){if(e===t)return!0;let s=hr(e),r=hr(t);return s||r?s&&r?e.getTime()===t.getTime():!1:(s=We(e),r=We(t),s||r?e===t:(s=K(e),r=K(t),s||r?s&&r?vr(e,t,n,ji):!1:(s=ne(e),r=ne(t),s||r?!s||!r?!1:vr(e,t,n,Hi):String(e)===String(t))))}function Bi(e,t){return e.findIndex(n=>Tt(n,t))}const hl=e=>!!(e&&e.__v_isRef===!0),O=e=>me(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===cl||!q(e.toString))?hl(e)?O(e.value):JSON.stringify(e,gl,2):String(e),gl=(e,t)=>hl(t)?gl(e,t.value):Rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],l)=>(n[ms(s,l)+" =>"]=r,n),{})}:Ut(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ms(n))}:We(t)?ms(t):ne(t)&&!K(t)&&!fl(t)?String(t):t,ms=(e,t="")=>{var n;return We(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.43
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let we;class Ki{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&we&&(we.active?(this.parent=we,this.index=(we.scopes||(we.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){++this._on===1&&(this.prevScope=we,we=this)}off(){if(this._on>0&&--this._on===0){if(we===this)we=this.prevScope;else{let t=we;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Gi(){return we}let ae;const vs=new WeakSet;class ml{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,we&&(we.active?we.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,vs.has(this)&&(vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||yl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,yr(this),_l(this);const t=ae,n=Ge;ae=this,Ge=!0;try{return this.fn()}finally{bl(this),ae=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ys(t);this.deps=this.depsTail=void 0,yr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Is(this)&&this.run()}get dirty(){return Is(this)}}let vl=0,dn,pn;function yl(e,t=!1){if(e.flags|=8,t){e.next=pn,pn=e;return}e.next=dn,dn=e}function Js(){vl++}function zs(){if(--vl>0)return;if(pn){let t=pn;for(pn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;dn;){let t=dn;for(dn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function _l(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function bl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ys(s),Wi(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Is(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vn)||(e.globalVersion=vn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Is(e))))return;e.flags|=2;const t=e.dep,n=ae,s=Ge;ae=e,Ge=!0;try{_l(e);const r=e.fn(e._value);(t.version===0||lt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ae=n,Ge=s,bl(e),e.flags&=-3}}function Ys(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Ys(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wi(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Sl=[];function bt(){Sl.push(Ge),Ge=!1}function wt(){const e=Sl.pop();Ge=e===void 0?!0:e}function yr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ae;ae=void 0;try{t()}finally{ae=n}}}let vn=0;class qi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ae||!Ge||ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ae)n=this.activeLink=new qi(ae,this),ae.deps?(n.prevDep=ae.depsTail,ae.depsTail.nextDep=n,ae.depsTail=n):ae.deps=ae.depsTail=n,xl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ae.depsTail,n.nextDep=void 0,ae.depsTail.nextDep=n,ae.depsTail=n,ae.deps===n&&(ae.deps=s)}return n}trigger(t){this.version++,vn++,this.notify(t)}notify(t){Js();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{zs()}}}function xl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)xl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ps=new WeakMap,Ft=Symbol(""),Ns=Symbol(""),yn=Symbol("");function Ae(e,t,n){if(Ge&&ae){let s=Ps.get(e);s||Ps.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Qs),r.map=s,r.key=n),r.track()}}function mt(e,t,n,s,r,l){const i=Ps.get(e);if(!i){vn++;return}const o=u=>{u&&u.trigger()};if(Js(),t==="clear")i.forEach(o);else{const u=K(e),d=u&&qs(n);if(u&&n==="length"){const c=Number(s);i.forEach((h,_)=>{(_==="length"||_===yn||!We(_)&&_>=c)&&o(h)})}else switch((n!==void 0||i.has(void 0))&&o(i.get(n)),d&&o(i.get(yn)),t){case"add":u?d&&o(i.get("length")):(o(i.get(Ft)),Rt(e)&&o(i.get(Ns)));break;case"delete":u||(o(i.get(Ft)),Rt(e)&&o(i.get(Ns)));break;case"set":Rt(e)&&o(i.get(Ft));break}}zs()}function Wt(e){const t=ee(e);return t===e||(Ae(t,"iterate",yn),He(e))?t:ut(e)?Ot(e)?t.map(n=>It(Be(n))):t.map(It):t.map(Be)}function ls(e){return Ae(e=ee(e),"iterate",yn),e}function nt(e,t){return ut(e)?It(Ot(e)?Be(t):t):Be(t)}const Ji={__proto__:null,[Symbol.iterator](){return ys(this,Symbol.iterator,e=>nt(this,e))},concat(...e){return Wt(this).concat(...e.map(t=>K(t)?Wt(t):t))},entries(){return ys(this,"entries",e=>(e[1]=nt(this,e[1]),e))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,n=>n.map(s=>nt(this,s)),arguments)},find(e,t){return dt(this,"find",e,t,n=>nt(this,n),arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,n=>nt(this,n),arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return _s(this,"includes",e)},indexOf(...e){return _s(this,"indexOf",e)},join(e){return Wt(this).join(e)},lastIndexOf(...e){return _s(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return ln(this,"pop")},push(...e){return ln(this,"push",e)},reduce(e,...t){return _r(this,"reduce",e,t)},reduceRight(e,...t){return _r(this,"reduceRight",e,t)},shift(){return ln(this,"shift")},some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return ln(this,"splice",e)},toReversed(){return Wt(this).toReversed()},toSorted(e){return Wt(this).toSorted(e)},toSpliced(...e){return Wt(this).toSpliced(...e)},unshift(...e){return ln(this,"unshift",e)},values(){return ys(this,"values",e=>nt(this,e))}};function ys(e,t,n){const s=ls(e),r=s[t]();return s!==e&&!He(e)&&(r._next=r.next,r.next=()=>{const l=r._next();return l.done||(l.value=n(l.value)),l}),r}const zi=Array.prototype;function dt(e,t,n,s,r,l){const i=ls(e),o=i!==e&&!He(e),u=i[t];if(u!==zi[t]){const h=u.apply(e,l);return o?Be(h):h}let d=n;i!==e&&(o?d=function(h,_){return n.call(this,nt(e,h),_,e)}:n.length>2&&(d=function(h,_){return n.call(this,h,_,e)}));const c=u.call(i,d,s);return o&&r?r(c):c}function _r(e,t,n,s){const r=ls(e),l=r!==e&&!He(e);let i=n,o=!1;r!==e&&(l?(o=s.length===0,i=function(d,c,h){return o&&(o=!1,d=nt(e,d)),n.call(this,d,nt(e,c),h,e)}):n.length>3&&(i=function(d,c,h){return n.call(this,d,c,h,e)}));const u=r[t](i,...s);return o?nt(e,u):u}function _s(e,t,n){const s=ee(e);Ae(s,"iterate",yn);const r=s[t](...n);return(r===-1||r===!1)&&er(n[0])?(n[0]=ee(n[0]),s[t](...n)):r}function ln(e,t,n=[]){bt(),Js();const s=ee(e)[t].apply(e,n);return zs(),wt(),s}const Yi=Gs("__proto__,__v_isRef,__isVue"),El=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(We));function Qi(e){We(e)||(e=String(e));const t=ee(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class Cl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(r?l?oo:Tl:l?Ol:Rl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=K(t);if(!r){let u;if(i&&(u=Ji[n]))return u;if(n==="hasOwnProperty")return Qi}const o=Reflect.get(t,n,Te(t)?t:s);if((We(n)?El.has(n):Yi(n))||(r||Ae(t,"get",n),l))return o;if(Te(o)){const u=i&&qs(n)?o:o.value;return r&&ne(u)?Ds(u):u}return ne(o)?r?Ds(o):is(o):o}}class Al extends Cl{constructor(t=!1){super(!1,t)}set(t,n,s,r){let l=t[n];const i=K(t)&&qs(n);if(!this._isShallow){const d=ut(l);if(!He(s)&&!ut(s)&&(l=ee(l),s=ee(s)),!i&&Te(l)&&!Te(s))return d||(l.value=s),!0}const o=i?Number(n)<t.length:te(t,n),u=Reflect.set(t,n,s,Te(t)?t:r);return t===ee(r)&&u&&(o?lt(s,l)&&mt(t,"set",n,s):mt(t,"add",n,s)),u}deleteProperty(t,n){const s=te(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&mt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!We(n)||!El.has(n))&&Ae(t,"has",n),s}ownKeys(t){return Ae(t,"iterate",K(t)?"length":Ft),Reflect.ownKeys(t)}}class Xi extends Cl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Zi=new Al,eo=new Xi,to=new Al(!0);const ks=e=>e,Pn=e=>Reflect.getPrototypeOf(e);function no(e,t,n){return function(...s){const r=this.__v_raw,l=ee(r),i=Rt(l),o=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,d=r[e](...s),c=n?ks:t?It:Be;return!t&&Ae(l,"iterate",u?Ns:Ft),Ee(Object.create(d),{next(){const{value:h,done:_}=d.next();return _?{value:h,done:_}:{value:o?[c(h[0]),c(h[1])]:c(h),done:_}}})}}function Nn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function so(e,t){const n={get(r){const l=this.__v_raw,i=ee(l),o=ee(r);e||(lt(r,o)&&Ae(i,"get",r),Ae(i,"get",o));const{has:u}=Pn(i),d=t?ks:e?It:Be;if(u.call(i,r))return d(l.get(r));if(u.call(i,o))return d(l.get(o));l!==i&&l.get(r)},get size(){const r=this.__v_raw;return!e&&Ae(ee(r),"iterate",Ft),r.size},has(r){const l=this.__v_raw,i=ee(l),o=ee(r);return e||(lt(r,o)&&Ae(i,"has",r),Ae(i,"has",o)),r===o?l.has(r):l.has(r)||l.has(o)},forEach(r,l){const i=this,o=i.__v_raw,u=ee(o),d=t?ks:e?It:Be;return!e&&Ae(u,"iterate",Ft),o.forEach((c,h)=>r.call(l,d(c),d(h),i))}};return Ee(n,e?{add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear")}:{add(r){const l=ee(this),i=Pn(l),o=ee(r),u=!t&&!He(r)&&!ut(r)?o:r;return i.has.call(l,u)||lt(r,u)&&i.has.call(l,r)||lt(o,u)&&i.has.call(l,o)||(l.add(u),mt(l,"add",u,u)),this},set(r,l){!t&&!He(l)&&!ut(l)&&(l=ee(l));const i=ee(this),{has:o,get:u}=Pn(i);let d=o.call(i,r);d||(r=ee(r),d=o.call(i,r));const c=u.call(i,r);return i.set(r,l),d?lt(l,c)&&mt(i,"set",r,l):mt(i,"add",r,l),this},delete(r){const l=ee(this),{has:i,get:o}=Pn(l);let u=i.call(l,r);u||(r=ee(r),u=i.call(l,r)),o&&o.call(l,r);const d=l.delete(r);return u&&mt(l,"delete",r,void 0),d},clear(){const r=ee(this),l=r.size!==0,i=r.clear();return l&&mt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=no(r,e,t)}),n}function Xs(e,t){const n=so(e,t);return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,l)}const ro={get:Xs(!1,!1)},lo={get:Xs(!1,!0)},io={get:Xs(!0,!1)};const Rl=new WeakMap,Ol=new WeakMap,Tl=new WeakMap,oo=new WeakMap;function uo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function is(e){return ut(e)?e:Zs(e,!1,Zi,ro,Rl)}function Il(e){return Zs(e,!1,to,lo,Ol)}function Ds(e){return Zs(e,!0,eo,io,Tl)}function Zs(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const l=r.get(e);if(l)return l;const i=uo(Ni(e));if(i===0)return e;const o=new Proxy(e,i===2?s:n);return r.set(e,o),o}function Ot(e){return ut(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function er(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function ao(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&dl(e,"__v_skip",!0),e}const Be=e=>ne(e)?is(e):e,It=e=>ne(e)?Ds(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function oe(e){return Pl(e,!1)}function co(e){return Pl(e,!0)}function Pl(e,t){return Te(e)?e:new fo(e,t)}class fo{constructor(t,n){this.dep=new Qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ee(t),this._value=n?t:Be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||He(t)||ut(t);t=s?t:ee(t),lt(t,n)&&(this._rawValue=t,this._value=s?t:Be(t),this.dep.trigger())}}function J(e){return Te(e)?e.value:e}const po={get:(e,t,n)=>t==="__v_raw"?e:J(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Nl(e){return Ot(e)?e:new Proxy(e,po)}class ho{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return yl(this,!0),!0}get value(){const t=this.dep.track();return wl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function go(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new ho(s,r,n)}const kn={},Hn=new WeakMap;let Dt;function mo(e,t=!1,n=Dt){if(n){let s=Hn.get(n);s||Hn.set(n,s=[]),s.push(e)}}function vo(e,t,n=ue){const{immediate:s,deep:r,once:l,scheduler:i,augmentJob:o,call:u}=n,d=M=>r?M:He(M)||r===!1||r===0?vt(M,1):vt(M);let c,h,_,v,E=!1,R=!1;if(Te(e)?(h=()=>e.value,E=He(e)):Ot(e)?(h=()=>d(e),E=!0):K(e)?(R=!0,E=e.some(M=>Ot(M)||He(M)),h=()=>e.map(M=>{if(Te(M))return M.value;if(Ot(M))return d(M);if(q(M))return u?u(M,2):M()})):q(e)?t?h=u?()=>u(e,2):e:h=()=>{if(_){bt();try{_()}finally{wt()}}const M=Dt;Dt=c;try{return u?u(e,3,[v]):e(v)}finally{Dt=M}}:h=it,t&&r){const M=h,Q=r===!0?1/0:r;h=()=>vt(M(),Q)}const G=Gi(),k=()=>{c.stop(),G&&G.active&&Ws(G.effects,c)};if(l&&t){const M=t;t=(...Q)=>{const fe=M(...Q);return k(),fe}}let y=R?new Array(e.length).fill(kn):kn;const F=M=>{if(!(!(c.flags&1)||!c.dirty&&!M))if(t){const Q=c.run();if(M||r||E||(R?Q.some((fe,V)=>lt(fe,y[V])):lt(Q,y))){_&&_();const fe=Dt;Dt=c;try{const V=[Q,y===kn?void 0:R&&y[0]===kn?[]:y,v];y=Q,u?u(t,3,V):t(...V)}finally{Dt=fe}}}else c.run()};return o&&o(F),c=new ml(h),c.scheduler=i?()=>i(F,!1):F,v=M=>mo(M,!1,c),_=c.onStop=()=>{const M=Hn.get(c);if(M){if(u)u(M,4);else for(const Q of M)Q();Hn.delete(c)}},t?s?F(!0):y=c.run():i?i(F.bind(null,!0),!0):c.run(),k.pause=c.pause.bind(c),k.resume=c.resume.bind(c),k.stop=k,k}function vt(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))vt(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)vt(e[s],t,n);else if(Ut(e)||Rt(e))e.forEach(s=>{vt(s,t,n)});else if(fl(e)){for(const s in e)vt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&vt(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.43
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Rn(e,t,n,s){try{return s?e(...s):e()}catch(r){os(r,t,n)}}function qe(e,t,n,s){if(q(e)){const r=Rn(e,t,n,s);return r&&al(r)&&r.catch(l=>{os(l,t,n)}),r}if(K(e)){const r=[];for(let l=0;l<e.length;l++)r.push(qe(e[l],t,n,s));return r}}function os(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ue;if(t){let o=t.parent;const u=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](e,u,d)===!1)return}o=o.parent}if(l){bt(),Rn(l,null,10,[e,u,d]),wt();return}}yo(e,n,r,s,i)}function yo(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const De=[];let tt=-1;const zt=[];let Ct=null,qt=0;const kl=Promise.resolve();let Bn=null;function tr(e){const t=Bn||kl;return e?t.then(this?e.bind(this):e):t}function _o(e){let t=tt+1,n=De.length;for(;t<n;){const s=t+n>>>1,r=De[s],l=_n(r);l<e||l===e&&r.flags&2?t=s+1:n=s}return t}function nr(e){if(!(e.flags&1)){const t=_n(e),n=De[De.length-1];!n||!(e.flags&2)&&t>=_n(n)?De.push(e):De.splice(_o(t),0,e),e.flags|=1,Dl()}}function Dl(){Bn||(Bn=kl.then(Vl))}function bo(e){if(!K(e))Ct&&e.id===-1?Ct.splice(qt+1,0,e):e.flags&1||(zt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)zt.push(e[t]);Dl()}function br(e,t,n=tt+1){for(;n<De.length;n++){const s=De[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;De.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Ml(e){if(zt.length){const t=[...new Set(zt)].sort((n,s)=>_n(n)-_n(s));if(zt.length=0,Ct){for(let n=0;n<t.length;n++)Ct.push(t[n]);return}for(Ct=t,qt=0;qt<Ct.length;qt++){const n=Ct[qt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ct=null,qt=0}}const _n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vl(e){try{for(tt=0;tt<De.length;tt++){const t=De[tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Rn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;tt<De.length;tt++){const t=De[tt];t&&(t.flags&=-2)}tt=-1,De.length=0,Ml(),Bn=null,(De.length||zt.length)&&Vl()}}let Se=null,$l=null;function Kn(e){const t=Se;return Se=e,$l=e&&e.type.__scopeId||null,t}function Yt(e,t=Se,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&qn(-1);const l=Kn(t),i=_t.length;let o;try{o=e(...r)}finally{for(let u=_t.length;u>i;u--)or();Kn(l),s._d&&qn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function ke(e,t){if(Se===null)return e;const n=ds(Se),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[l,i,o,u=ue]=t[r];l&&(q(l)&&(l={mounted:l,updated:l}),l.deep&&vt(i),s.push({dir:l,instance:n,value:i,oldValue:void 0,arg:o,modifiers:u}))}return e}function Nt(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let i=0;i<r.length;i++){const o=r[i];l&&(o.oldValue=l[i].value);let u=o.dir[s];u&&(bt(),qe(u,n,8,[e.el,o,e,t]),wt())}}function $n(e,t){if(Oe){let n=Oe.provides;const s=Oe.parent&&Oe.parent.provides;s===n&&(n=Oe.provides=Object.create(s)),n[e]=t}}function ot(e,t,n=!1){const s=bu();if(s||Xt){let r=Xt?Xt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&q(t)?t.call(s&&s.proxy):t}}const wo=Symbol.for("v-scx"),So=()=>ot(wo);function Ln(e,t,n){return Ll(e,t,n)}function Ll(e,t,n=ue){const{immediate:s,deep:r,flush:l,once:i}=n,o=Ee({},n),u=t&&s||!t&&l!=="post";let d;if(xn){if(l==="sync"){const v=So();d=v.__watcherHandles||(v.__watcherHandles=[])}else if(!u){const v=()=>{};return v.stop=it,v.resume=it,v.pause=it,v}}const c=Oe;o.call=(v,E,R)=>qe(v,c,E,R);let h=!1;l==="post"?o.scheduler=v=>{Ve(v,c&&c.suspense)}:l!=="sync"&&(h=!0,o.scheduler=(v,E)=>{E?v():nr(v)}),o.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,c&&(v.id=c.uid,v.i=c))};const _=vo(e,t,o);return xn&&(d?d.push(_):u&&_()),_}function xo(e,t,n){const s=this.proxy,r=me(e)?e.includes(".")?Fl(s,e):()=>s[e]:e.bind(s,s);let l;q(t)?l=t:(l=t.handler,n=t);const i=In(this),o=Ll(r,l.bind(s),n);return i(),o}function Fl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Eo=Symbol("_vte"),us=e=>e.__isTeleport,bs=Symbol("_leaveCb");function Co(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==at){t=n;break}}return t}function Ul(e){if(!rr(e))return us(e.type)&&e.children?Co(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function sr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;sr(us(n.type)&&Ul(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function jl(e,t){return q(e)?Ee({name:e.name},t,{setup:e}):e}function Hl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Gn=new WeakMap;function hn(e,t,n,s,r=!1){if(K(e)){e.forEach((R,G)=>hn(R,t&&(K(t)?t[G]:t),n,s,r));return}if(Qt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&hn(e,t,n,s.component.subTree);return}const l=s.shapeFlag&4?ds(s.component):s.el,i=r?null:l,{i:o,r:u}=e,d=t&&t.r,c=o.refs===ue?o.refs={}:o.refs,h=o.setupState,_=ee(h),v=h===ue?ul:R=>wr(c,R)?!1:te(_,R),E=(R,G)=>!(G&&wr(c,G));if(d!=null&&d!==u){if(Sr(t),me(d))c[d]=null,v(d)&&(h[d]=null);else if(Te(d)){const R=t;E(d,R.k)&&(d.value=null),R.k&&(c[R.k]=null)}}if(q(u))Rn(u,o,12,[i,c]);else{const R=me(u),G=Te(u);if(R||G){const k=()=>{if(e.f){const y=R?v(u)?h[u]:c[u]:E()||!e.k?u.value:c[e.k];if(r)K(y)&&Ws(y,l);else if(K(y))y.includes(l)||y.push(l);else if(R)c[u]=[l],v(u)&&(h[u]=c[u]);else{const F=[l];E(u,e.k)&&(u.value=F),e.k&&(c[e.k]=F)}}else R?(c[u]=i,v(u)&&(h[u]=i)):G&&(E(u,e.k)&&(u.value=i),e.k&&(c[e.k]=i))};if(i){const y=()=>{k(),Gn.delete(e)};y.id=-1,Gn.set(e,y),Ve(y,n)}else Sr(e),k()}}}function Sr(e){const t=Gn.get(e);t&&(t.flags|=8,Gn.delete(e))}rs().requestIdleCallback;rs().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,rr=e=>e.type.__isKeepAlive;function Ao(e,t){Bl(e,"a",t)}function Ro(e,t){Bl(e,"da",t)}function Bl(e,t,n=Oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(as(t,s,n),n){let r=n.parent;for(;r&&r.parent;)rr(r.parent.vnode)&&Oo(s,t,n,r),r=r.parent}}function Oo(e,t,n,s){const r=as(t,e,s,!0);Tn(()=>{Ws(s[t],r)},n)}function as(e,t,n=Oe,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...i)=>{bt();const o=In(n),u=qe(t,n,e,i);return o(),wt(),u});return s?r.unshift(l):r.push(l),l}}const St=e=>(t,n=Oe)=>{(!xn||e==="sp")&&as(e,(...s)=>t(...s),n)},To=St("bm"),On=St("m"),Io=St("bu"),Po=St("u"),No=St("bum"),Tn=St("um"),ko=St("sp"),Do=St("rtg"),Mo=St("rtc");function Vo(e,t=Oe){as("ec",e,t)}const $o="components";function Kl(e,t){return Fo($o,e,!0,t)||e}const Lo=Symbol.for("v-ndc");function Fo(e,t,n=!0,s=!1){const r=Se||Oe;if(r){const l=r.type;{const o=Cu(l,!1);if(o&&(o===t||o===Me(t)||o===ns(Me(t))))return l}const i=xr(r[e]||l[e],t)||xr(r.appContext[e],t);return!i&&s?l:i}}function xr(e,t){return e&&(e[t]||e[Me(t)]||e[ns(Me(t))])}function st(e,t,n,s){let r;const l=n,i=K(e);if(i||me(e)){const o=i&&Ot(e);let u=!1,d=!1;o&&(u=!He(e),d=ut(e),e=ls(e)),r=new Array(e.length);for(let c=0,h=e.length;c<h;c++)r[c]=t(u?d?It(Be(e[c])):Be(e[c]):e[c],c,void 0,l)}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,l)}else if(ne(e))if(e[Symbol.iterator])r=Array.from(e,(o,u)=>t(o,u,void 0,l));else{const o=Object.keys(e);r=new Array(o.length);for(let u=0,d=o.length;u<d;u++){const c=o[u];r[u]=t(e[c],c,u,l)}}else r=[];return r}function Uo(e,t,n,s,r,l){if(n==null&&(n={}),Se.ce||Se.parent&&Qt(Se.parent)&&Se.parent.ce){const d=n,c=Object.keys(d).length>0;return $(),jt(ge,null,[xe("slot",d,s)],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const o=_t.length;$();let u;try{const d=i&&Gl(i(n)),c=n.key||l||d&&d.key;u=jt(ge,{key:(c&&!We(c)?c:`_${t}`)+(!d&&s?"_fb":"")},d||(s?s():[]),d&&e._===1?64:-2)}catch(d){for(let c=_t.length;c>o;c--)or();throw d}finally{i&&i._c&&(i._d=!0)}return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function Gl(e){return e.some(t=>wn(t)?!(t.type===at||t.type===ge&&!Gl(t.children)):!0)?e:null}const Ms=e=>e?fi(e)?ds(e):Ms(e.parent):null,gn=Ee(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=>Ms(e.parent),$root:e=>Ms(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ql(e),$forceUpdate:e=>e.f||(e.f=()=>{nr(e.update)}),$nextTick:e=>e.n||(e.n=tr.bind(e.proxy)),$watch:e=>xo.bind(e)}),ws=(e,t)=>e!==ue&&!e.__isScriptSetup&&te(e,t),jo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:l,accessCache:i,type:o,appContext:u}=e;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(ws(s,t))return i[t]=1,s[t];if(r!==ue&&te(r,t))return i[t]=2,r[t];if(te(l,t))return i[t]=3,l[t];if(n!==ue&&te(n,t))return i[t]=4,n[t];Vs&&(i[t]=0)}}const d=gn[t];let c,h;if(d)return t==="$attrs"&&Ae(e.attrs,"get",""),d(e);if((c=o.__cssModules)&&(c=c[t]))return c;if(n!==ue&&te(n,t))return i[t]=4,n[t];if(h=u.config.globalProperties,te(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;return ws(r,t)?(r[t]=n,!0):s!==ue&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:l,type:i}},o){let u;return!!(n[o]||e!==ue&&o[0]!=="$"&&te(e,o)||ws(t,o)||te(l,o)||te(s,o)||te(gn,o)||te(r.config.globalProperties,o)||(u=i.__cssModules)&&u[o])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Er(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Vs=!0;function Ho(e){const t=ql(e),n=e.proxy,s=e.ctx;Vs=!1,t.beforeCreate&&Cr(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:i,watch:o,provide:u,inject:d,created:c,beforeMount:h,mounted:_,beforeUpdate:v,updated:E,activated:R,deactivated:G,beforeDestroy:k,beforeUnmount:y,destroyed:F,unmounted:M,render:Q,renderTracked:fe,renderTriggered:V,errorCaptured:g,serverPrefetch:A,expose:pe,inheritAttrs:ze,components:ct,directives:Ue,filters:sn}=t;if(d&&Bo(d,s,null),i)for(const se in i){const X=i[se];q(X)&&(s[se]=X.bind(n))}if(r){const se=r.call(n,n);ne(se)&&(e.data=is(se))}if(Vs=!0,l)for(const se in l){const X=l[se],ft=q(X)?X.bind(n,n):q(X.get)?X.get.bind(n,n):it,xt=!q(X)&&q(X.set)?X.set.bind(n):it,Ye=Ke({get:ft,set:xt});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ie=>Ye.value=Ie})}if(o)for(const se in o)Wl(o[se],s,n,se);if(u){const se=q(u)?u.call(n):u;Reflect.ownKeys(se).forEach(X=>{$n(X,se[X])})}c&&Cr(c,e,"c");function _e(se,X){K(X)?X.forEach(ft=>se(ft.bind(n))):X&&se(X.bind(n))}if(_e(To,h),_e(On,_),_e(Io,v),_e(Po,E),_e(Ao,R),_e(Ro,G),_e(Vo,g),_e(Mo,fe),_e(Do,V),_e(No,y),_e(Tn,M),_e(ko,A),K(pe))if(pe.length){const se=e.exposed||(e.exposed={});pe.forEach(X=>{Object.defineProperty(se,X,{get:()=>n[X],set:ft=>n[X]=ft,enumerable:!0})})}else e.exposed||(e.exposed={});Q&&e.render===it&&(e.render=Q),ze!=null&&(e.inheritAttrs=ze),ct&&(e.components=ct),Ue&&(e.directives=Ue),A&&Hl(e)}function Bo(e,t,n=it){K(e)&&(e=$s(e));for(const s in e){const r=e[s];let l;ne(r)?"default"in r?l=ot(r.from||s,r.default,!0):l=ot(r.from||s):l=ot(r),Te(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:i=>l.value=i}):t[s]=l}}function Cr(e,t,n){qe(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Wl(e,t,n,s){let r=s.includes(".")?Fl(n,s):()=>n[s];if(me(e)){const l=t[e];q(l)&&Ln(r,l)}else if(q(e))Ln(r,e.bind(n));else if(ne(e))if(K(e))e.forEach(l=>Wl(l,t,n,s));else{const l=q(e.handler)?e.handler.bind(n):t[e.handler];q(l)&&Ln(r,l,e)}}function ql(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,o=l.get(t);let u;return o?u=o:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Wn(u,d,i,!0)),Wn(u,t,i)),ne(t)&&l.set(t,u),u}function Wn(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&Wn(e,l,n,!0),r&&r.forEach(i=>Wn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const o=Ko[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Ko={data:Ar,props:Rr,emits:Rr,methods:an,computed:an,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:an,directives:an,watch:Wo,provide:Ar,inject:Go};function Ar(e,t){return t?e?function(){return Ee(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Go(e,t){return an($s(e),$s(t))}function $s(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function an(e,t){return e?Ee(Object.create(null),e,t):t}function Rr(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Er(e),Er(t??{})):t}function Wo(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const s in t)n[s]=Pe(e[s],t[s]);return n}function Jl(){return{app:null,config:{isNativeTag:ul,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qo=0;function Jo(e,t){return function(s,r=null){q(s)||(s=Ee({},s)),r!=null&&!ne(r)&&(r=null);const l=Jl(),i=new WeakSet,o=[];let u=!1;const d=l.app={_uid:qo++,_component:s,_props:r,_container:null,_context:l,_instance:null,version:Ru,get config(){return l.config},set config(c){},use(c,...h){return i.has(c)||(c&&q(c.install)?(i.add(c),c.install(d,...h)):q(c)&&(i.add(c),c(d,...h))),d},mixin(c){return l.mixins.includes(c)||l.mixins.push(c),d},component(c,h){return h?(l.components[c]=h,d):l.components[c]},directive(c,h){return h?(l.directives[c]=h,d):l.directives[c]},mount(c,h,_){if(!u){const v=d._ceVNode||xe(s,r);return v.appContext=l,_===!0?_="svg":_===!1&&(_=void 0),e(v,c,_),u=!0,d._container=c,c.__vue_app__=d,ds(v.component)}},onUnmount(c){o.push(c)},unmount(){u&&(qe(o,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(c,h){return l.provides[c]=h,d},runWithContext(c){const h=Xt;Xt=d;try{return c()}finally{Xt=h}}};return d}}let Xt=null;const zo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Me(t)}Modifiers`]||e[`${Ht(t)}Modifiers`];function Yo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;let r=n;const l=t.startsWith("update:"),i=l&&zo(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>me(c)?c.trim():c)),i.number&&(r=r.map(ss)));let o,u=s[o=gs(t)]||s[o=gs(Me(t))];!u&&l&&(u=s[o=gs(Ht(t))]),u&&qe(u,e,6,r);const d=s[o+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,qe(d,e,6,r)}}const Qo=new WeakMap;function zl(e,t,n=!1){const s=n?Qo:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let i={},o=!1;if(!q(e)){const u=d=>{const c=zl(d,t,!0);c&&(o=!0,Ee(i,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!o?(ne(e)&&s.set(e,null),null):(K(l)?l.forEach(u=>i[u]=null):Ee(i,l),ne(e)&&s.set(e,i),i)}function cs(e,t){return!e||!Zn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Ht(t))||te(e,t))}function Or(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[l],slots:i,attrs:o,emit:u,render:d,renderCache:c,props:h,data:_,setupState:v,ctx:E,inheritAttrs:R}=e,G=Kn(e);let k,y;try{if(n.shapeFlag&4){const M=r||s,Q=M;k=rt(d.call(Q,M,c,h,v,_,E)),y=o}else{const M=t;k=rt(M.length>1?M(h,{attrs:o,slots:i,emit:u}):M(h,null)),y=t.props?o:Xo(o)}}catch(M){_t.length=0,os(M,e,1),k=xe(at)}let F=k;if(y&&R!==!1){const M=Object.keys(y),{shapeFlag:Q}=F;M.length&&Q&7&&(l&&M.some(es)&&(y=Zo(y,l)),F=en(F,y,!1,!0))}if(n.dirs&&(F=en(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition){const M=us(F.type)&&Ul(F)||F;sr(M,n.transition)}return k=F,Kn(G),k}const Xo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zn(n))&&((t||(t={}))[n]=e[n]);return t},Zo=(e,t)=>{const n={};for(const s in e)(!es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function eu(e,t,n){const{props:s,children:r,component:l}=e,{props:i,children:o,patchFlag:u}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Tr(s,i,d):!!i;if(u&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const _=c[h];if(Yl(i,s,_)&&!cs(d,_))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:s===i?!1:s?i?Tr(s,i,d):!0:!!i;return!1}function Tr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const l=s[r];if(Yl(t,e,l)&&!cs(n,l))return!0}return!1}function Yl(e,t,n){const s=e[n],r=t[n];return n==="style"&&ne(s)&&ne(r)?!Tt(s,r):s!==r}function tu({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Ql={},Xl=()=>Object.create(Ql),Zl=e=>Object.getPrototypeOf(e)===Ql;function nu(e,t,n,s=!1){const r={},l=Xl();e.propsDefaults=Object.create(null),ei(e,t,r,l);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Il(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function su(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:i}}=e,o=ee(r),[u]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let _=c[h];if(cs(e.emitsOptions,_))continue;const v=t[_];if(u)if(te(l,_))v!==l[_]&&(l[_]=v,d=!0);else{const E=Me(_);r[E]=Ls(u,o,E,v,e,!1)}else v!==l[_]&&(l[_]=v,d=!0)}}}else{ei(e,t,r,l)&&(d=!0);let c;for(const h in o)(!t||!te(t,h)&&((c=Ht(h))===h||!te(t,c)))&&(u?n&&(n[h]!==void 0||n[c]!==void 0)&&(r[h]=Ls(u,o,h,void 0,e,!0)):delete r[h]);if(l!==o)for(const h in l)(!t||!te(t,h))&&(delete l[h],d=!0)}d&&mt(e.attrs,"set","")}function ei(e,t,n,s){const[r,l]=e.propsOptions;let i=!1,o;if(t)for(let u in t){if(fn(u))continue;const d=t[u];let c;r&&te(r,c=Me(u))?!l||!l.includes(c)?n[c]=d:(o||(o={}))[c]=d:cs(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,i=!0)}if(l){const u=ee(n),d=o||ue;for(let c=0;c<l.length;c++){const h=l[c];n[h]=Ls(r,u,h,d[h],e,!te(d,h))}}return i}function Ls(e,t,n,s,r,l){const i=e[n];if(i!=null){const o=te(i,"default");if(o&&s===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&q(u)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const c=In(r);s=d[n]=u.call(null,t),c()}}else s=u;r.ce&&r.ce._setProp(n,s)}i[0]&&(l&&!o?s=!1:i[1]&&(s===""||s===Ht(n))&&(s=!0))}return s}const ru=new WeakMap;function ti(e,t,n=!1){const s=n?ru:t.propsCache,r=s.get(e);if(r)return r;const l=e.props,i={},o=[];let u=!1;if(!q(e)){const c=h=>{u=!0;const[_,v]=ti(h,t,!0);Ee(i,_),v&&o.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!l&&!u)return ne(e)&&s.set(e,Vt),Vt;if(K(l))for(let c=0;c<l.length;c++){const h=Me(l[c]);Ir(h)&&(i[h]=ue)}else if(l)for(const c in l){const h=Me(c);if(Ir(h)){const _=l[c],v=i[h]=K(_)||q(_)?{type:_}:Ee({},_),E=v.type;let R=!1,G=!0;if(K(E))for(let k=0;k<E.length;++k){const y=E[k],F=q(y)&&y.name;if(F==="Boolean"){R=!0;break}else F==="String"&&(G=!1)}else R=q(E)&&E.name==="Boolean";v[0]=R,v[1]=G,(R||te(v,"default"))&&o.push(h)}}const d=[i,o];return ne(e)&&s.set(e,d),d}function Ir(e){return e[0]!=="$"&&!fn(e)}const lr=e=>e==="_"||e==="_ctx"||e==="$stable",ir=e=>K(e)?e.map(rt):[rt(e)],lu=(e,t,n)=>{if(t._n)return t;const s=Yt((...r)=>ir(t(...r)),n);return s._c=!1,s},ni=(e,t,n)=>{const s=e._ctx;for(const r in e){if(lr(r))continue;const l=e[r];if(q(l))t[r]=lu(r,l,s);else if(l!=null){const i=ir(l);t[r]=()=>i}}},si=(e,t)=>{const n=ir(t);e.slots.default=()=>n},ri=(e,t,n)=>{for(const s in t)(n||!lr(s))&&(e[s]=t[s])},iu=(e,t,n)=>{const s=e.slots=Xl();if(e.vnode.shapeFlag&32){const r=t._;r?(ri(s,t,n),n&&dl(s,"_",r,!0)):ni(t,s)}else t&&si(e,t)},ou=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,i=ue;if(s.shapeFlag&32){const o=t._;o?n&&o===1?l=!1:ri(r,t,n):(l=!t.$stable,ni(t,r)),i=t}else t&&(si(e,t),i={default:1});if(l)for(const o in r)!lr(o)&&i[o]==null&&delete r[o]},Ve=du;function uu(e){return au(e)}function au(e,t){const n=rs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:i,createText:o,createComment:u,setText:d,setElementText:c,parentNode:h,nextSibling:_,setScopeId:v=it,insertStaticContent:E}=e,R=(f,p,m,w=null,x=null,b=null,P=void 0,I=null,T=!!p.dynamicChildren)=>{if(f===p)return;f&&!on(f,p)&&(w=S(f),Ie(f,x,b,!0),f=null),p.patchFlag===-2&&(T=!1,p.dynamicChildren=null),p.dynamicChildren&&f&&f.dynamicChildren&&f.dynamicChildren.hasOnce&&(p.dynamicChildren===Vt&&(p.dynamicChildren=[]),p.dynamicChildren.hasOnce=!0);const{type:C,ref:B,shapeFlag:D}=p;switch(C){case fs:G(f,p,m,w);break;case at:k(f,p,m,w);break;case Fn:f==null&&y(p,m,w,P);break;case ge:ct(f,p,m,w,x,b,P,I,T);break;default:D&1?Q(f,p,m,w,x,b,P,I,T):D&6?Ue(f,p,m,w,x,b,P,I,T):(D&64||D&128)&&C.process(f,p,m,w,x,b,P,I,T,j)}B!=null&&x?hn(B,f&&f.ref,b,p||f,!p):B==null&&f&&f.ref!=null&&hn(f.ref,null,b,f,!0)},G=(f,p,m,w)=>{if(f==null)s(p.el=o(p.children),m,w);else{const x=p.el=f.el;p.children!==f.children&&d(x,p.children)}},k=(f,p,m,w)=>{f==null?s(p.el=u(p.children||""),m,w):p.el=f.el},y=(f,p,m,w)=>{[f.el,f.anchor]=E(f.children,p,m,w,f.el,f.anchor)},F=({el:f,anchor:p},m,w)=>{let x;for(;f&&f!==p;)x=_(f),s(f,m,w),f=x;s(p,m,w)},M=({el:f,anchor:p})=>{let m;for(;f&&f!==p;)m=_(f),r(f),f=m;r(p)},Q=(f,p,m,w,x,b,P,I,T)=>{if(p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),f==null)fe(p,m,w,x,b,P,I,T);else{const C=f.el&&f.el._isVueCE?f.el:null;try{C&&C._beginPatch(),A(f,p,x,b,P,I,T)}finally{C&&C._endPatch()}}},fe=(f,p,m,w,x,b,P,I)=>{let T,C;const{props:B,shapeFlag:D,transition:H,dirs:W}=f;if(T=f.el=i(f.type,b,B&&B.is,B),D&8?c(T,f.children):D&16&&g(f.children,T,null,w,x,Ss(f,b),P,I),W&&Nt(f,null,w,"created"),V(T,f,f.scopeId,P,w),B){for(const ie in B)ie!=="value"&&!fn(ie)&&l(T,ie,null,B[ie],b,w);"value"in B&&l(T,"value",null,B.value,b),(C=B.onVnodeBeforeMount)&&et(C,w,f)}W&&Nt(f,null,w,"beforeMount");const Y=cu(x,H);Y&&H.beforeEnter(T),s(T,p,m),((C=B&&B.onVnodeMounted)||Y||W)&&Ve(()=>{try{C&&et(C,w,f),Y&&H.enter(T),W&&Nt(f,null,w,"mounted")}finally{}},x)},V=(f,p,m,w,x)=>{if(m&&v(f,m),w)for(let b=0;b<w.length;b++)v(f,w[b]);if(x){let b=x.subTree;if(p===b||ui(b.type)&&(b.ssContent===p||b.ssFallback===p)){const P=x.vnode;V(f,P,P.scopeId,P.slotScopeIds,x.parent)}}},g=(f,p,m,w,x,b,P,I,T=0)=>{for(let C=T;C<f.length;C++){const B=f[C]=I?gt(f[C]):rt(f[C]);R(null,B,p,m,w,x,b,P,I)}},A=(f,p,m,w,x,b,P)=>{const I=p.el=f.el;let{patchFlag:T,dynamicChildren:C,dirs:B}=p;T|=f.patchFlag&16;const D=f.props||ue,H=p.props||ue;let W;if(m&&kt(m,!1),(W=H.onVnodeBeforeUpdate)&&et(W,m,p,f),B&&Nt(p,f,m,"beforeUpdate"),m&&kt(m,!0),C&&(!f.dynamicChildren||f.dynamicChildren.length!==C.length)&&(T=0,P=!1,C=null),(D.innerHTML&&H.innerHTML==null||D.textContent&&H.textContent==null)&&c(I,""),C?pe(f.dynamicChildren,C,I,m,w,Ss(p,x),b):P||X(f,p,I,null,m,w,Ss(p,x),b,!1),T>0){if(T&16)ze(I,D,H,m,x);else if(T&2&&D.class!==H.class&&l(I,"class",null,H.class,x),T&4&&l(I,"style",D.style,H.style,x),T&8){const Y=p.dynamicProps;for(let ie=0;ie<Y.length;ie++){const re=Y[ie],ve=D[re],be=H[re];(be!==ve||re==="value")&&l(I,re,ve,be,x,m)}}T&1&&f.children!==p.children&&c(I,p.children)}else!P&&C==null&&ze(I,D,H,m,x);((W=H.onVnodeUpdated)||B)&&Ve(()=>{W&&et(W,m,p,f),B&&Nt(p,f,m,"updated")},w)},pe=(f,p,m,w,x,b,P)=>{for(let I=0;I<p.length;I++){const T=f[I],C=p[I],B=T.el&&(T.type===ge||!on(T,C)||T.shapeFlag&198)?h(T.el):m;R(T,C,B,null,w,x,b,P,!0)}},ze=(f,p,m,w,x)=>{if(p!==m){if(p!==ue)for(const b in p)!fn(b)&&!(b in m)&&l(f,b,p[b],null,x,w);for(const b in m){if(fn(b))continue;const P=m[b],I=p[b];P!==I&&b!=="value"&&l(f,b,I,P,x,w)}"value"in m&&l(f,"value",p.value,m.value,x)}},ct=(f,p,m,w,x,b,P,I,T)=>{const C=p.el=f?f.el:o(""),B=p.anchor=f?f.anchor:o("");let{patchFlag:D,dynamicChildren:H,slotScopeIds:W}=p;W&&(I=I?I.concat(W):W),f==null?(s(C,m,w),s(B,m,w),g(p.children||[],m,B,x,b,P,I,T)):D>0&&D&64&&H&&f.dynamicChildren&&f.dynamicChildren.length===H.length?(pe(f.dynamicChildren,H,m,x,b,P,I),(p.key!=null||x&&p===x.subTree)&&li(f,p,!0)):X(f,p,m,B,x,b,P,I,T)},Ue=(f,p,m,w,x,b,P,I,T)=>{p.slotScopeIds=I,f==null?p.shapeFlag&512?x.ctx.activate(p,m,w,P,T):sn(p,m,w,x,b,P,T):Bt(f,p,T)},sn=(f,p,m,w,x,b,P)=>{const I=f.component=_u(f,w,x);if(rr(f)&&(I.ctx.renderer=j),wu(I,!1,P),I.asyncDep){if(x&&x.registerDep(I,_e,P),!f.el){const T=I.subTree=xe(at);k(null,T,p,m),f.placeholder=T.el}}else _e(I,f,p,m,x,b,P)},Bt=(f,p,m)=>{const w=p.component=f.component;if(eu(f,p,m))if(w.asyncDep&&!w.asyncResolved){p.el=f.el,se(w,p,m);return}else w.next=p,w.update();else p.el=f.el,w.vnode=p},_e=(f,p,m,w,x,b,P)=>{const I=()=>{if(f.isMounted){let{next:D,bu:H,u:W,parent:Y,vnode:ie}=f;{const Xe=ii(f);if(Xe){D&&(D.el=ie.el,se(f,D,P)),Xe.asyncDep.then(()=>{Ve(()=>{f.isUnmounted||C()},x)});return}}let re=D,ve;kt(f,!1),D?(D.el=ie.el,se(f,D,P)):D=ie,H&&Vn(H),(ve=D.props&&D.props.onVnodeBeforeUpdate)&&et(ve,Y,D,ie),kt(f,!0);const be=Or(f),Qe=f.subTree;f.subTree=be,R(Qe,be,h(Qe.el),S(Qe),f,x,b),D.el=be.el,re===null&&tu(f,be.el),W&&Ve(W,x),(ve=D.props&&D.props.onVnodeUpdated)&&Ve(()=>et(ve,Y,D,ie),x)}else{let D;const{el:H,props:W}=p,{bm:Y,m:ie,parent:re,root:ve,type:be}=f,Qe=Qt(p);kt(f,!1),Y&&Vn(Y),!Qe&&(D=W&&W.onVnodeBeforeMount)&&et(D,re,p),kt(f,!0);{ve.ce&&ve.ce._hasShadowRoot()&&ve.ce._injectChildStyle(be,f.parent?f.parent.type:void 0);const Xe=f.subTree=Or(f);R(null,Xe,m,w,f,x,b),p.el=Xe.el}if(ie&&Ve(ie,x),!Qe&&(D=W&&W.onVnodeMounted)){const Xe=p;Ve(()=>et(D,re,Xe),x)}(p.shapeFlag&256||re&&Qt(re.vnode)&&re.vnode.shapeFlag&256)&&f.a&&Ve(f.a,x),f.isMounted=!0,p=m=w=null}};f.scope.on();const T=f.effect=new ml(I);f.scope.off();const C=f.update=T.run.bind(T),B=f.job=T.runIfDirty.bind(T);B.i=f,B.id=f.uid,T.scheduler=()=>nr(B),kt(f,!0),C()},se=(f,p,m)=>{p.component=f;const w=f.vnode.props;f.vnode=p,f.next=null,su(f,p.props,w,m),ou(f,p.children,m),bt(),br(f),wt()},X=(f,p,m,w,x,b,P,I,T=!1)=>{const C=f&&f.children,B=f?f.shapeFlag:0,D=p.children,{patchFlag:H,shapeFlag:W}=p;if(H>0){if(H&128){xt(C,D,m,w,x,b,P,I,T);return}else if(H&256){ft(C,D,m,w,x,b,P,I,T);return}}W&8?(B&16&&je(C,x,b),D!==C&&c(m,D)):B&16?W&16?xt(C,D,m,w,x,b,P,I,T):je(C,x,b,!0):(B&8&&c(m,""),W&16&&g(D,m,w,x,b,P,I,T))},ft=(f,p,m,w,x,b,P,I,T)=>{f=f||Vt,p=p||Vt;const C=f.length,B=p.length,D=Math.min(C,B);let H;for(H=0;H<D;H++){const W=p[H]=T?gt(p[H]):rt(p[H]);R(f[H],W,m,null,x,b,P,I,T)}C>B?je(f,x,b,!0,!1,D):g(p,m,w,x,b,P,I,T,D)},xt=(f,p,m,w,x,b,P,I,T)=>{let C=0;const B=p.length;let D=f.length-1,H=B-1;for(;C<=D&&C<=H;){const W=f[C],Y=p[C]=T?gt(p[C]):rt(p[C]);if(on(W,Y))R(W,Y,m,null,x,b,P,I,T);else break;C++}for(;C<=D&&C<=H;){const W=f[D],Y=p[H]=T?gt(p[H]):rt(p[H]);if(on(W,Y))R(W,Y,m,null,x,b,P,I,T);else break;D--,H--}if(C>D){if(C<=H){const W=H+1,Y=W<B?p[W].el:w;for(;C<=H;)R(null,p[C]=T?gt(p[C]):rt(p[C]),m,Y,x,b,P,I,T),C++}}else if(C>H)for(;C<=D;)Ie(f[C],x,b,!0),C++;else{const W=C,Y=C,ie=new Map;for(C=Y;C<=H;C++){const Le=p[C]=T?gt(p[C]):rt(p[C]);Le.key!=null&&ie.set(Le.key,C)}let re,ve=0;const be=H-Y+1;let Qe=!1,Xe=0;const rn=new Array(be);for(C=0;C<be;C++)rn[C]=0;for(C=W;C<=D;C++){const Le=f[C];if(ve>=be){Ie(Le,x,b,!0);continue}let Ze;if(Le.key!=null)Ze=ie.get(Le.key);else for(re=Y;re<=H;re++)if(rn[re-Y]===0&&on(Le,p[re])){Ze=re;break}Ze===void 0?Ie(Le,x,b,!0):(rn[Ze-Y]=C+1,Ze>=Xe?Xe=Ze:Qe=!0,R(Le,p[Ze],m,null,x,b,P,I,T),ve++)}const fr=Qe?fu(rn):Vt;for(re=fr.length-1,C=be-1;C>=0;C--){const Le=Y+C,Ze=p[Le],dr=p[Le+1],pr=Le+1<B?dr.el||oi(dr):w;rn[C]===0?R(null,Ze,m,pr,x,b,P,I,T):Qe&&(re<0||C!==fr[re]?Ye(Ze,m,pr,2):re--)}}},Ye=(f,p,m,w,x=null)=>{const{el:b,type:P,transition:I,children:T,shapeFlag:C}=f;if(C&6){Ye(f.component.subTree,p,m,w);return}if(C&128){f.suspense.move(p,m,w);return}if(C&64){P.move(f,p,m,j);return}if(P===ge){s(b,p,m);for(let D=0;D<T.length;D++)Ye(T[D],p,m,w);s(f.anchor,p,m);return}if(P===Fn){F(f,p,m);return}if(w!==2&&C&1&&I)if(w===0)I.persisted&&!b[bs]?s(b,p,m):(I.beforeEnter(b),s(b,p,m),Ve(()=>I.enter(b),x));else{const{leave:D,delayLeave:H,afterLeave:W}=I,Y=()=>{f.ctx.isUnmounted?r(b):s(b,p,m)},ie=()=>{const re=b._isLeaving||!!b[bs];b._isLeaving&&b[bs](!0),I.persisted&&!re?Y():D(b,()=>{Y(),W&&W()})};H?H(b,Y,ie):ie()}else s(b,p,m)},Ie=(f,p,m,w=!1,x=!1)=>{const{type:b,props:P,ref:I,children:T,dynamicChildren:C,shapeFlag:B,patchFlag:D,dirs:H,cacheIndex:W,memo:Y}=f;if((D===-2||C&&C.hasOnce)&&(x=!1),I!=null&&(bt(),hn(I,null,m,f,!0),wt()),W!=null&&(!f.ctx||f.ctx===p)&&(p.renderCache[W]=void 0),B&256){p.ctx.deactivate(f);return}const ie=B&1&&H,re=!Qt(f);let ve;if(re&&(ve=P&&P.onVnodeBeforeUnmount)&&et(ve,p,f),B&6)Pt(f.component,m,w);else{if(B&128){f.suspense.unmount(m,w);return}ie&&Nt(f,null,p,"beforeUnmount"),B&64?f.type.remove(f,p,m,j,w):C&&!C.hasOnce&&(b!==ge||D>0&&D&64)?je(C,p,m,!1,!0):(b===ge&&D&384||!x&&B&16)&&je(T,p,m),w&&Kt(f)}const be=Y!=null&&W==null;(re&&(ve=P&&P.onVnodeUnmounted)||ie||be)&&Ve(()=>{ve&&et(ve,p,f),ie&&Nt(f,null,p,"unmounted"),be&&(f.el=null)},m)},Kt=f=>{const{type:p,el:m,anchor:w,transition:x}=f;if(p===ge){Gt(m,w);return}if(p===Fn){M(f),x&&!x.persisted&&x.afterLeave&&x.afterLeave();return}const b=()=>{r(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(f.shapeFlag&1&&x&&!x.persisted){const{leave:P,delayLeave:I}=x,T=()=>P(m,b);I?I(f.el,b,T):T()}else b()},Gt=(f,p)=>{let m;for(;f!==p;)m=_(f),r(f),f=m;r(p)},Pt=(f,p,m)=>{const{bum:w,scope:x,job:b,subTree:P,um:I,m:T,a:C}=f;Pr(T),Pr(C),w&&Vn(w),x.stop(),b?(b.flags|=8,Ie(P,f,p,m)):f.vnode.el&&P&&(P.transition=f.vnode.transition,Ie(P,f,p,m)),I&&Ve(I,p),Ve(()=>{f.isUnmounted=!0},p)},je=(f,p,m,w=!1,x=!1,b=0)=>{for(let P=b;P<f.length;P++)Ie(f[P],p,m,w,x)},S=f=>{if(f.shapeFlag&6)return S(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const p=_(f.anchor||f.el),m=p&&p[Eo];return m?_(m):p};let L=!1;const N=(f,p,m)=>{let w;f==null?p._vnode&&(Ie(p._vnode,null,null,!0),w=p._vnode.component):R(p._vnode||null,f,p,null,null,null,m),p._vnode=f,L||(L=!0,br(w),Ml(),L=!1)},j={p:R,um:Ie,m:Ye,r:Kt,mt:sn,mc:g,pc:X,pbc:pe,n:S,o:e};return{render:N,hydrate:void 0,createApp:Jo(N)}}function Ss({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 kt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function cu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function li(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let l=0;l<s.length;l++){const i=s[l];let o=r[l];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[l]=gt(r[l]),o.el=i.el),!n&&o.patchFlag!==-2&&li(i,o)),o.type===fs&&(o.patchFlag===-1&&(o=r[l]=gt(o)),o.el=i.el),o.type===at&&!o.el&&(o.el=i.el)}}function fu(e){const t=e.slice(),n=[0];let s,r,l,i,o;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(l=0,i=n.length-1;l<i;)o=l+i>>1,e[n[o]]<d?l=o+1:i=o;d<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,i=n[l-1];l-- >0;)n[l]=i,i=t[i];return n}function ii(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ii(t)}function Pr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function oi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?oi(t.subTree):null}const ui=e=>e.__isSuspense;function du(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):bo(e)}const ge=Symbol.for("v-fgt"),fs=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Fn=Symbol.for("v-stc"),_t=[];let Fe=null;function $(e=!1){_t.push(Fe=e?null:[])}function or(){_t.pop(),Fe=_t[_t.length-1]||null}let bn=1;function qn(e,t=!1){bn+=e,e<0&&Fe&&t&&(Fe.hasOnce=!0)}function ai(e){return e.dynamicChildren=bn>0?Fe||Vt:null,or(),bn>0&&Fe&&Fe.push(e),e}function U(e,t,n,s,r,l){return ai(a(e,t,n,s,r,l,!0))}function jt(e,t,n,s,r){return ai(xe(e,t,n,s,r,!0))}function wn(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const ci=({key:e})=>e??null,Un=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||Te(e)||q(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function a(e,t=null,n=null,s=0,r=null,l=e===ge?0:1,i=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ci(t),ref:t&&Un(t),scopeId:$l,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:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return o?(Jn(u,n),l&128&&e.normalize(u)):n&&(u.shapeFlag|=me(n)?8:16),bn>0&&!i&&Fe&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Fe.push(u),u}const xe=pu;function pu(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===Lo)&&(e=at),wn(e)){const o=en(e,t,!0);return n&&Jn(o,n),bn>0&&!l&&Fe&&(o.shapeFlag&6?Fe[Fe.indexOf(e)]=o:Fe.push(o)),o.patchFlag=-2,o}if(Au(e)&&(e=e.__vccOpts),t){t=hu(t);let{class:o,style:u}=t;o&&!me(o)&&(t.class=Re(o)),ne(u)&&(er(u)&&!K(u)&&(u=Ee({},u)),t.style=An(u))}const i=me(e)?1:ui(e)?128:us(e)?64:ne(e)?4:q(e)?2:0;return a(e,t,n,s,r,i,l,!0)}function hu(e){return e?er(e)||Zl(e)?Ee({},e):e:null}function en(e,t,n=!1,s=!1){const{props:r,ref:l,patchFlag:i,children:o,transition:u}=e,d=t?mu(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&ci(d),ref:t&&t.ref?n&&l?K(l)?l.concat(Un(t)):[l,Un(t)]:Un(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return u&&s&&sr(c,u.clone(c)),c}function ce(e=" ",t=0){return xe(fs,null,e,t)}function gu(e,t){const n=xe(Fn,null,e);return n.staticCount=t,n}function le(e="",t=!1){return t?($(),jt(at,null,e)):xe(at,null,e)}function rt(e){return e==null||typeof e=="boolean"?xe(at):K(e)?xe(ge,null,e.slice()):wn(e)?gt(e):xe(fs,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function Jn(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),Jn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Zl(t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(q(t)){if(s&65){Jn(e,{default:t});return}t={default:t,_ctx:Se},n=32}else t=String(t),s&64?(n=16,t=[ce(t)]):n=8;e.children=t,e.shapeFlag|=n}function mu(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Re([t.class,s.class]));else if(r==="style")t.style=An([t.style,s.style]);else if(Zn(r)){const l=t[r],i=s[r];i&&l!==i&&!(K(l)&&l.includes(i))?t[r]=l?[].concat(l,i):i:i==null&&l==null&&!es(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function et(e,t,n,s=null){qe(e,t,7,[n,s])}const vu=Jl();let yu=0;function _u(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||vu,l={uid:yu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ki(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ti(s,r),emitsOptions:zl(s,r),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Yo.bind(null,l),e.ce&&e.ce(l),l}let Oe=null;const bu=()=>Oe||Se;let zn,Sn;{const e=rs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),l=>{r.length>1?r.forEach(i=>i(l)):r[0](l)}};zn=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),Sn=t("__VUE_SSR_SETTERS__",n=>xn=n)}const In=e=>{const t=Oe;return zn(e),e.scope.on(),()=>{e.scope.off(),zn(t)}},Nr=()=>{Oe&&Oe.scope.off(),zn(null)};function fi(e){return e.vnode.shapeFlag&4}let xn=!1;function wu(e,t=!1,n=!1){t&&Sn(t);const{props:s,children:r}=e.vnode,l=fi(e);nu(e,s,l,t),iu(e,r,n||t);const i=l?Su(e,t):void 0;return t&&Sn(!1),i}function Su(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jo);const{setup:s}=n;if(s){bt();const r=e.setupContext=s.length>1?Eu(e):null,l=In(e),i=Rn(s,e,0,[e.props,r]),o=al(i);if(wt(),l(),(o||e.sp)&&!Qt(e)&&Hl(e),o){if(i.then(Nr,Nr),t)return i.then(u=>{Sn(!0);try{kr(e,u,t)}finally{Sn(!1)}}).catch(u=>{os(u,e,0)});e.asyncDep=i}else kr(e,i)}else di(e)}function kr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Nl(t)),di(e)}function di(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=In(e);bt();try{Ho(e)}finally{wt(),r()}}}const xu={get(e,t){return Ae(e,"get",""),e[t]}};function Eu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xu),slots:e.slots,emit:e.emit,expose:t}}function ds(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nl(ao(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in gn)return gn[n](e)},has(t,n){return n in t||n in gn}})):e.proxy}function Cu(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Au(e){return q(e)&&"__vccOpts"in e}const Ke=(e,t)=>go(e,t,xn);function pi(e,t,n){try{qn(-1);const s=arguments.length;return s===2?ne(t)&&!K(t)?wn(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wn(n)&&(n=[n]),xe(e,t,n))}finally{qn(1)}}const Ru="3.5.43";/**
|
||
* @vue/runtime-dom v3.5.43
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Fs;const Dr=typeof window<"u"&&window.trustedTypes;if(Dr)try{Fs=Dr.createPolicy("vue",{createHTML:e=>e})}catch{}const hi=Fs?e=>Fs.createHTML(e):e=>e,Ou="http://www.w3.org/2000/svg",Tu="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,Mr=ht&&ht.createElement("template"),Iu={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"?ht.createElementNS(Ou,e):t==="mathml"?ht.createElementNS(Tu,e):n?ht.createElement(e,{is:n}):ht.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,l){const i=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===l||!(r=r.nextSibling)););else{Mr.innerHTML=hi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const o=Mr.content;if(s==="svg"||s==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pu=Symbol("_vtc");function Nu(e,t,n){const s=e[Pu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Vr=Symbol("_vod"),ku=Symbol("_vsh"),Du=Symbol(""),Mu=/(?:^|;)\s*display\s*:/;function Vu(e,t,n){const s=e.style,r=me(n);let l=!1;if(n&&!r){if(t)if(me(t))for(const i of t.split(";")){const o=i.slice(0,i.indexOf(":")).trim();n[o]==null&&cn(s,o,"")}else for(const i in t)n[i]==null&&cn(s,i,"");for(const i in n){i==="display"&&(l=!0);const o=n[i];o!=null?Lu(e,i,!me(t)&&t?t[i]:void 0,o)||cn(s,i,o):cn(s,i,"")}}else if(r){if(t!==n){const i=s[Du];i&&(n+=";"+i),s.cssText=n,l=Mu.test(n)}}else t&&e.removeAttribute("style");Vr in e&&(e[Vr]=l?s.display:"",e[ku]&&(s.display="none"))}const Dn=/\s*!important$/;function cn(e,t,n){if(K(n))n.forEach(s=>cn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))Dn.test(n)?e.setProperty(t,n.replace(Dn,""),"important"):e.setProperty(t,n);else{const s=$u(e,t);Dn.test(n)?e.setProperty(Ht(s),n.replace(Dn,""),"important"):e[s]=n}}const $r=["Webkit","Moz","ms"],xs={};function $u(e,t){const n=xs[t];if(n)return n;let s=Me(t);if(s!=="filter"&&s in e)return xs[t]=s;s=ns(s);for(let r=0;r<$r.length;r++){const l=$r[r]+s;if(l in e)return xs[t]=l}return t}function Lu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&me(s)&&n===s}const Lr="http://www.w3.org/1999/xlink";function Fr(e,t,n,s,r,l=Ui(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Lr,t.slice(6,t.length)):e.setAttributeNS(Lr,t,n):n==null||l&&!pl(n)?e.removeAttribute(t):e.setAttribute(t,l?"":We(n)?String(n):n)}function Ur(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?hi(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const o=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(o!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=pl(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Mt(e,t,n,s){e.addEventListener(t,n,s)}function Fu(e,t,n,s){e.removeEventListener(t,n,s)}const jr=Symbol("_vei");function Uu(e,t,n,s,r=null){const l=e[jr]||(e[jr]={}),i=l[t];if(s&&i)i.value=s;else{const[o,u]=Bu(t);if(s){const d=l[t]=Wu(s,r);Mt(e,o,d,u)}else i&&(Fu(e,o,i,u),l[t]=void 0)}}const ju=/(Once|Passive|Capture)$/,Hu=/^on:?(?:Once|Passive|Capture)$/;function Bu(e){let t,n;for(;(n=e.match(ju))&&!Hu.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ht(e.slice(2)),t]}let Es=0;const Ku=Promise.resolve(),Gu=()=>Es||(Ku.then(()=>Es=0),Es=Date.now());function Wu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(K(r)){const l=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{l.call(s),s._stopped=!0};const i=r.slice(),o=[s];for(let u=0;u<i.length&&!s._stopped;u++){const d=i[u];d&&qe(d,t,5,o)}}else qe(r,t,5,[s])};return n.value=e,n.attached=Gu(),n}const Hr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qu=(e,t,n,s,r,l)=>{const i=r==="svg";t==="class"?Nu(e,s,i):t==="style"?Vu(e,n,s):Zn(t)?es(t)||Uu(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ju(e,t,s,i))?(Ur(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fr(e,t,s,i,l,t!=="value")):e._isVueCE&&(zu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!me(s)))?Ur(e,Me(t),s,l,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fr(e,t,s,i))};function Ju(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hr(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 Hr(t)&&me(n)?!1:t in e}function zu(e,t){const n=e._def.props;if(!n)return!1;const s=Me(t);return Array.isArray(n)?n.some(r=>Me(r)===s):Object.keys(n).some(r=>Me(r)===s)}const Yn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Vn(t,n):t};function Yu(e){e.target.composing=!0}function Br(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const $t=Symbol("_assign"),Mn=Symbol("_initialValue");function Cs(e,t,n){return t&&(e=e.trim()),n&&(e=ss(e)),e}const $e={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[Mn]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Mn]=e.defaultValue.replace(/\r\n?/g,`
|
||
`))),e[$t]=Yn(r);const l=s||r.props&&r.props.type==="number";Mt(e,t?"change":"input",i=>{i.target.composing||e[$t](Cs(e.value,n,l))}),(n||l)&&Mt(e,"change",()=>{e.value=Cs(e.value,n,l)}),t||(Mt(e,"compositionstart",Yu),Mt(e,"compositionend",Br),Mt(e,"change",Br))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",l=e[Mn];delete e[Mn],l!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==l?e[$t](Cs(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:l}},i){if(e[$t]=Yn(i),e.composing)return;const o=(l||e.type==="number")&&!/^0\d/.test(e.value)?ss(e.value):e.value,u=t??"";if(o===u)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u)}},Qu={deep:!0,created(e,{value:t,modifiers:{number:n}},s){e._modelValue=t,Mt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,u=>u.selected).map(u=>n?ss(Qn(u)):Qn(u)),l=e.multiple,i=l?Ut(e._modelValue)?new Set(r):r:r[0],o=e._pendingValue=[l,l?K(i)?r.slice():r:i];try{e[$t](i)}finally{tr(()=>{e._pendingValue===o&&(e._pendingValue=void 0)})}}),e[$t]=Yn(s)},mounted(e,{value:t}){Kr(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[$t]=Yn(n)},updated(e,{value:t}){const n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!Xu(t,n[1],n[0]))&&Kr(e,t)}};function Xu(e,t,n){if(!n||K(e))return Tt(e,t);if(Ut(e)){if(e.size!==t.length)return!1;for(const s of t)if(!e.has(s))return!1;return!0}return!1}function Kr(e,t){const n=e.multiple,s=K(t);if(!(n&&!s&&!Ut(t))){for(let r=0,l=e.options.length;r<l;r++){const i=e.options[r],o=Qn(i);if(n)if(s){const u=typeof o;u==="string"||u==="number"?i.selected=t.some(d=>String(d)===String(o)):i.selected=Bi(t,o)>-1}else i.selected=t.has(o);else if(Tt(Qn(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qn(e){return"_value"in e?e._value:e.value}const Zu=["ctrl","shift","alt","meta"],ea={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)=>Zu.some(n=>e[`${n}Key`]&&!t.includes(n))},Zt=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...l)=>{for(let i=0;i<t.length;i++){const o=ea[t[i]];if(o&&o(r,t))return}return e(r,...l)})},ta=Ee({patchProp:qu},Iu);let Gr;function na(){return Gr||(Gr=uu(ta))}const sa=(...e)=>{const t=na().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=la(s);if(!r)return;const l=t._component;!q(l)&&!l.render&&!l.template&&(l.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,ra(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function ra(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function la(e){return me(e)?document.querySelector(e):e}const ia=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},oa={};function ua(e,t){const n=Kl("router-view");return $(),jt(n)}const aa=ia(oa,[["render",ua]]);/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Jt=typeof document<"u";function gi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ca(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&gi(e.default)}const Z=Object.assign;function As(e,t){const n={};for(const s in t){const r=t[s];n[s]=Je(r)?r.map(e):e(r)}return n}const mn=()=>{},Je=Array.isArray;function Wr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const mi=/#/g,fa=/&/g,da=/\//g,pa=/=/g,ha=/\?/g,vi=/\+/g,ga=/%5B/g,ma=/%5D/g,yi=/%5E/g,va=/%60/g,_i=/%7B/g,ya=/%7C/g,bi=/%7D/g,_a=/%20/g;function ur(e){return e==null?"":encodeURI(""+e).replace(ya,"|").replace(ga,"[").replace(ma,"]")}function ba(e){return ur(e).replace(_i,"{").replace(bi,"}").replace(yi,"^")}function Us(e){return ur(e).replace(vi,"%2B").replace(_a,"+").replace(mi,"%23").replace(fa,"%26").replace(va,"`").replace(_i,"{").replace(bi,"}").replace(yi,"^")}function wa(e){return Us(e).replace(pa,"%3D")}function Sa(e){return ur(e).replace(mi,"%23").replace(ha,"%3F")}function xa(e){return Sa(e).replace(da,"%2F")}function En(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Ea=/\/$/,Ca=e=>e.replace(Ea,"");function Rs(e,t,n="/"){let s,r={},l="",i="";const o=t.indexOf("#");let u=t.indexOf("?");return u=o>=0&&u>o?-1:u,u>=0&&(s=t.slice(0,u),l=t.slice(u,o>0?o:t.length),r=e(l.slice(1))),o>=0&&(s=s||t.slice(0,o),i=t.slice(o,t.length)),s=Ta(s??t,n),{fullPath:s+l+i,path:s,query:r,hash:En(i)}}function Aa(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ra(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&tn(t.matched[s],n.matched[r])&&wi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function tn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Oa(e[n],t[n]))return!1;return!0}function Oa(e,t){return Je(e)?Jr(e,t):Je(t)?Jr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Jr(e,t){return Je(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ta(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let l=n.length-1,i,o;for(i=0;i<s.length;i++)if(o=s[i],o!==".")if(o==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+s.slice(i).join("/")}const Et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let js=function(e){return e.pop="pop",e.push="push",e}({}),Os=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Ia(e){if(!e)if(Jt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ca(e)}const Pa=/^[^#]+#/;function Na(e,t){return e.replace(Pa,"#")+t}function ka(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ps=()=>({left:window.scrollX,top:window.scrollY});function Da(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=ka(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zr(e,t){return(history.state?history.state.position-t:-1)+e}const Hs=new Map;function Ma(e,t){Hs.set(e,t)}function Va(e){const t=Hs.get(e);return Hs.delete(e),t}function $a(e){return typeof e=="string"||e&&typeof e=="object"}function Si(e){return typeof e=="string"||typeof e=="symbol"}let he=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const xi=Symbol("");he.MATCHER_NOT_FOUND+"",he.NAVIGATION_GUARD_REDIRECT+"",he.NAVIGATION_ABORTED+"",he.NAVIGATION_CANCELLED+"",he.NAVIGATION_DUPLICATED+"";function nn(e,t){return Z(new Error,{type:e,[xi]:!0},t)}function pt(e,t){return e instanceof Error&&xi in e&&(t==null||!!(e.type&t))}const La=["params","query","hash"];function Fa(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of La)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ua(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(vi," "),l=r.indexOf("="),i=En(l<0?r:r.slice(0,l)),o=l<0?null:En(r.slice(l+1));if(i in t){let u=t[i];Je(u)||(u=t[i]=[u]),u.push(o)}else t[i]=o}return t}function Yr(e){let t="";for(let n in e){const s=e[n];if(n=wa(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Je(s)?s.map(r=>r&&Us(r)):[s&&Us(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ja(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Je(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ha=Symbol(""),Qr=Symbol(""),hs=Symbol(""),Ei=Symbol(""),Bs=Symbol("");function un(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function At(e,t,n,s,r,l=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const d=_=>{_===!1?u(nn(he.NAVIGATION_ABORTED,{from:n,to:t})):_ instanceof Error?u(_):$a(_)?u(nn(he.NAVIGATION_GUARD_REDIRECT,{from:t,to:_})):(i&&s.enterCallbacks[r]===i&&typeof _=="function"&&i.push(_),o())},c=l(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(c);e.length<3&&(h=h.then(d)),h.catch(_=>u(_))})}function Ts(e,t,n,s,r=l=>l()){const l=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(gi(u)){const d=(u.__vccOpts||u)[t];d&&l.push(At(d,n,s,i,o,r))}else{let d=u();l.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${o}" at "${i.path}"`);const h=ca(c)?c.default:c;i.mods[o]=c,i.components[o]=h;const _=(h.__vccOpts||h)[t];return _&&At(_,n,s,i,o,r)()}))}}return l}function Ba(e,t){const n=[],s=[],r=[],l=Math.max(t.matched.length,e.matched.length);for(let i=0;i<l;i++){const o=t.matched[i];o&&(e.matched.find(d=>tn(d,o))?s.push(o):n.push(o));const u=e.matched[i];u&&(t.matched.find(d=>tn(d,u))||r.push(u))}return[n,s,r]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Ka=()=>location.protocol+"//"+location.host;function Ci(e,t){const{pathname:n,search:s,hash:r}=t,l=e.indexOf("#");if(l>-1){let i=r.includes(e.slice(l))?e.slice(l).length:1,o=r.slice(i);return o[0]!=="/"&&(o="/"+o),qr(o,"")}return qr(n,e)+s+r}function Ga(e,t,n,s){let r=[],l=[],i=null;const o=({state:_})=>{const v=Ci(e,location),E=n.value,R=t.value;let G=0;if(_){if(n.value=v,t.value=_,i&&i===E){i=null;return}G=R?_.position-R.position:0}else s(v);r.forEach(k=>{k(n.value,E,{delta:G,type:js.pop,direction:G?G>0?Os.forward:Os.back:Os.unknown})})};function u(){i=n.value}function d(_){r.push(_);const v=()=>{const E=r.indexOf(_);E>-1&&r.splice(E,1)};return l.push(v),v}function c(){if(document.visibilityState==="hidden"){const{history:_}=window;if(!_.state)return;_.replaceState(Z({},_.state,{scroll:ps()}),"")}}function h(){for(const _ of l)_();l=[],window.removeEventListener("popstate",o),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",o),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:u,listen:d,destroy:h}}function Xr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ps():null}}function Wa(e){const{history:t,location:n}=window,s={value:Ci(e,n)},r={value:t.state};r.value||l(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(u,d,c){const h=e.indexOf("#"),_=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:Ka()+e+u;try{t[c?"replaceState":"pushState"](d,"",_),r.value=d}catch(v){console.error(v),n[c?"replace":"assign"](_)}}function i(u,d){l(u,Z({},t.state,Xr(r.value.back,u,r.value.forward,!0),d,{position:r.value.position}),!0),s.value=u}function o(u,d){const c=Z({},r.value,t.state,{forward:u,scroll:ps()});l(c.current,c,!0),l(u,Z({},Xr(s.value,u,null),{position:c.position+1},d),!1),s.value=u}return{location:s,state:r,push:o,replace:i}}function qa(e){e=Ia(e);const t=Wa(e),n=Ga(e,t.state,t.location,t.replace);function s(l,i=!0){i||n.pauseListeners(),history.go(l)}const r=Z({location:"",base:e,go:s,createHref:Na.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Lt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ye=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(ye||{});const Ja={type:Lt.Static,value:""},za=/[a-zA-Z0-9_]/;function Ya(e){if(!e)return[[]];if(e==="/")return[[Ja]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${d}": ${v}`)}let n=ye.Static,s=n;const r=[];let l;function i(){l&&r.push(l),l=[]}let o=0,u,d="",c="";function h(){d&&(n===ye.Static?l.push({type:Lt.Static,value:d}):n===ye.Param||n===ye.ParamRegExp||n===ye.ParamRegExpEnd?(l.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),l.push({type:Lt.Param,value:d,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),d="")}function _(){d+=u}for(;o<e.length;){if(u=e[o++],u==="\\"&&n!==ye.ParamRegExp){s=n,n=ye.EscapeNext;continue}switch(n){case ye.Static:u==="/"?(d&&h(),i()):u===":"?(h(),n=ye.Param):_();break;case ye.EscapeNext:_(),n=s;break;case ye.Param:u==="("?n=ye.ParamRegExp:za.test(u)?_():(h(),n=ye.Static,u!=="*"&&u!=="?"&&u!=="+"&&o--);break;case ye.ParamRegExp:u===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+u:n=ye.ParamRegExpEnd:c+=u;break;case ye.ParamRegExpEnd:h(),n=ye.Static,u!=="*"&&u!=="?"&&u!=="+"&&o--,c="";break;default:t("Unknown state");break}}return n===ye.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),h(),i(),r}const Zr="[^/]+?",Qa={sensitive:!1,strict:!1,start:!0,end:!0};var Ne=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Ne||{});const Xa=/[.+*?^${}()[\]/\\]/g;function Za(e,t){const n=Z({},Qa,t),s=[];let r=n.start?"^":"";const l=[];for(const d of e){const c=d.length?[]:[Ne.Root];n.strict&&!d.length&&(r+="/");for(let h=0;h<d.length;h++){const _=d[h];let v=Ne.Segment+(n.sensitive?Ne.BonusCaseSensitive:0);if(_.type===Lt.Static)h||(r+="/"),r+=_.value.replace(Xa,"\\$&"),v+=Ne.Static;else if(_.type===Lt.Param){const{value:E,repeatable:R,optional:G,regexp:k}=_;l.push({name:E,repeatable:R,optional:G});const y=k||Zr;if(y!==Zr){v+=Ne.BonusCustomRegExp;try{`${y}`}catch(M){throw new Error(`Invalid custom RegExp for param "${E}" (${y}): `+M.message)}}let F=R?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;h||(F=G&&d.length<2?`(?:/${F})`:"/"+F),G&&(F+="?"),r+=F,v+=Ne.Dynamic,G&&(v+=Ne.BonusOptional),R&&(v+=Ne.BonusRepeatable),y===".*"&&(v+=Ne.BonusWildcard)}c.push(v)}s.push(c)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=Ne.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function o(d){const c=d.match(i),h={};if(!c)return null;for(let _=1;_<c.length;_++){const v=c[_]||"",E=l[_-1];h[E.name]=v&&E.repeatable?v.split("/"):v}return h}function u(d){let c="",h=!1;for(const _ of e){(!h||!c.endsWith("/"))&&(c+="/"),h=!1;for(const v of _)if(v.type===Lt.Static)c+=v.value;else if(v.type===Lt.Param){const{value:E,repeatable:R,optional:G}=v,k=E in d?d[E]:"";if(Je(k)&&!R)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const y=Je(k)?k.join("/"):k;if(!y)if(G)_.length<2&&(c.endsWith("/")?c=c.slice(0,-1):h=!0);else throw new Error(`Missing required param "${E}"`);c+=y}}return c||"/"}return{re:i,score:s,keys:l,parse:o,stringify:u}}function ec(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ne.Static+Ne.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ne.Static+Ne.Segment?1:-1:0}function Ai(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const l=ec(s[n],r[n]);if(l)return l;n++}if(Math.abs(r.length-s.length)===1){if(el(s))return 1;if(el(r))return-1}return r.length-s.length}function el(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tc={strict:!1,end:!0,sensitive:!1};function nc(e,t,n){const s=Za(Ya(e.path),n),r=Z(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function sc(e,t){const n=[],s=new Map;t=Wr(tc,t);function r(h){return s.get(h)}function l(h,_,v){const E=!v,R=nl(h);R.aliasOf=v&&v.record;const G=Wr(t,h),k=[R];if("alias"in h){const M=typeof h.alias=="string"?[h.alias]:h.alias;for(const Q of M)k.push(nl(Z({},R,{components:v?v.record.components:R.components,path:Q,aliasOf:v?v.record:R})))}let y,F;for(const M of k){const{path:Q}=M;if(_&&Q[0]!=="/"){const fe=_.record.path,V=fe[fe.length-1]==="/"?"":"/";M.path=_.record.path+(Q&&V+Q)}if(y=nc(M,_,G),v?v.alias.push(y):(F=F||y,F!==y&&F.alias.push(y),E&&h.name&&!sl(y)&&i(h.name)),Ri(y)&&u(y),R.children){const fe=R.children;for(let V=0;V<fe.length;V++)l(fe[V],y,v&&v.children[V])}v=v||y}return F?()=>{i(F)}:mn}function i(h){if(Si(h)){const _=s.get(h);_&&(s.delete(h),n.splice(n.indexOf(_),1),_.children.forEach(i),_.alias.forEach(i))}else{const _=n.indexOf(h);_>-1&&(n.splice(_,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function o(){return n}function u(h){const _=ic(h,n);n.splice(_,0,h),h.record.name&&!sl(h)&&s.set(h.record.name,h)}function d(h,_){let v,E={},R,G;if("name"in h&&h.name){if(v=s.get(h.name),!v)throw nn(he.MATCHER_NOT_FOUND,{location:h});G=v.record.name,E=Z(tl(_.params,v.keys.filter(F=>!F.optional).concat(v.parent?v.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),h.params&&tl(h.params,v.keys.map(F=>F.name))),R=v.stringify(E)}else if(h.path!=null)R=h.path,v=n.find(F=>F.re.test(R)),v&&(E=v.parse(R),G=v.record.name);else{if(v=_.name?s.get(_.name):n.find(F=>F.re.test(_.path)),!v)throw nn(he.MATCHER_NOT_FOUND,{location:h,currentLocation:_});G=v.record.name,E=Z({},_.params,h.params),R=v.stringify(E)}const k=[];let y=v;for(;y;)k.unshift(y.record),y=y.parent;return{name:G,path:R,params:E,matched:k,meta:lc(k)}}e.forEach(h=>l(h));function c(){n.length=0,s.clear()}return{addRoute:l,resolve:d,removeRoute:i,clearRoutes:c,getRoutes:o,getRecordMatcher:r}}function tl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function nl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:rc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function rc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function sl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lc(e){return e.reduce((t,n)=>Z(t,n.meta),{})}function ic(e,t){let n=0,s=t.length;for(;n!==s;){const l=n+s>>1;Ai(e,t[l])<0?s=l:n=l+1}const r=oc(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function oc(e){let t=e;for(;t=t.parent;)if(Ri(t)&&Ai(e,t)===0)return t}function Ri({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function rl(e){const t=ot(hs),n=ot(Ei),s=Ke(()=>{const u=J(e.to);return t.resolve(u)}),r=Ke(()=>{const{matched:u}=s.value,{length:d}=u,c=u[d-1],h=n.matched;if(!c||!h.length)return-1;const _=h.findIndex(tn.bind(null,c));if(_>-1)return _;const v=ll(u[d-2]);return d>1&&ll(c)===v&&h[h.length-1].path!==v?h.findIndex(tn.bind(null,u[d-2])):_}),l=Ke(()=>r.value>-1&&dc(n.params,s.value.params)),i=Ke(()=>r.value>-1&&r.value===n.matched.length-1&&wi(n.params,s.value.params));function o(u={}){if(fc(u)){const d=t[J(e.replace)?"replace":"push"](J(e.to)).catch(mn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:Ke(()=>s.value.href),isActive:l,isExactActive:i,navigate:o}}function uc(e){return e.length===1?e[0]:e}const ac=jl({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:rl,setup(e,{slots:t}){const n=is(rl(e)),{options:s}=ot(hs),r=Ke(()=>({[il(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[il(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&uc(t.default(n));return e.custom?l:pi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},l)}}}),cc=ac;function fc(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function dc(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Je(r)||r.length!==s.length||s.some((l,i)=>l.valueOf()!==r[i].valueOf()))return!1}return!0}function ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const il=(e,t,n)=>e??t??n,pc=jl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(Bs),r=Ke(()=>e.route||s.value),l=ot(Qr,0),i=Ke(()=>{let d=J(l);const{matched:c}=r.value;let h;for(;(h=c[d])&&!h.components;)d++;return d}),o=Ke(()=>r.value.matched[i.value]);$n(Qr,Ke(()=>i.value+1)),$n(Ha,o),$n(Bs,r);const u=oe();return Ln(()=>[u.value,o.value,e.name],([d,c,h],[_,v,E])=>{c&&(c.instances[h]=d,v&&v!==c&&d&&d===_&&(c.leaveGuards.size||(c.leaveGuards=v.leaveGuards),c.updateGuards.size||(c.updateGuards=v.updateGuards))),d&&c&&(!v||!tn(c,v)||!_)&&(c.enterCallbacks[h]||[]).forEach(R=>R(d))},{flush:"post"}),()=>{const d=r.value,c=e.name,h=o.value,_=h&&h.components[c];if(!_)return ol(n.default,{Component:_,route:d});const v=h.props[c],E=v?v===!0?d.params:typeof v=="function"?v(d):v:null,G=pi(_,Z({},E,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(h.instances[c]=null)},ref:u}));return ol(n.default,{Component:G,route:d})||G}}});function ol(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hc=pc;function gc(e){const t=sc(e.routes,e),n=e.parseQuery||Ua,s=e.stringifyQuery||Yr,r=e.history,l=un(),i=un(),o=un(),u=co(Et);let d=Et;Jt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=As.bind(null,S=>""+S),h=As.bind(null,xa),_=As.bind(null,En);function v(S,L){let N,j;return Si(S)?(N=t.getRecordMatcher(S),j=L):j=S,t.addRoute(j,N)}function E(S){const L=t.getRecordMatcher(S);L&&t.removeRoute(L)}function R(){return t.getRoutes().map(S=>S.record)}function G(S){return!!t.getRecordMatcher(S)}function k(S,L){if(L=Z({},L||u.value),typeof S=="string"){const m=Rs(n,S,L.path),w=t.resolve({path:m.path},L),x=r.createHref(m.fullPath);return Z(m,w,{params:_(w.params),hash:En(m.hash),redirectedFrom:void 0,href:x})}let N;if(S.path!=null)N=Z({},S,{path:Rs(n,S.path,L.path).path});else{const m=Z({},S.params);for(const w in m)m[w]==null&&delete m[w];N=Z({},S,{params:h(m)}),L.params=h(L.params)}const j=t.resolve(N,L),z=S.hash||"";j.params=c(_(j.params));const f=Aa(s,Z({},S,{hash:ba(z),path:j.path})),p=r.createHref(f);return Z({fullPath:f,hash:z,query:s===Yr?ja(S.query):S.query||{}},j,{redirectedFrom:void 0,href:p})}function y(S){return typeof S=="string"?Rs(n,S,u.value.path):Z({},S)}function F(S,L){if(d!==S)return nn(he.NAVIGATION_CANCELLED,{from:L,to:S})}function M(S){return V(S)}function Q(S){return M(Z(y(S),{replace:!0}))}function fe(S,L){const N=S.matched[S.matched.length-1];if(N&&N.redirect){const{redirect:j}=N;let z=typeof j=="function"?j(S,L):j;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=y(z):{path:z},z.params={}),Z({query:S.query,hash:S.hash,params:z.path!=null?{}:S.params},z)}}function V(S,L){const N=d=k(S),j=u.value,z=S.state,f=S.force,p=S.replace===!0,m=fe(N,j);if(m)return V(Z(y(m),{state:typeof m=="object"?Z({},z,m.state):z,force:f,replace:p}),L||N);const w=N;w.redirectedFrom=L;let x;return!f&&Ra(s,j,N)&&(x=nn(he.NAVIGATION_DUPLICATED,{to:w,from:j}),Ye(j,j,!0,!1)),(x?Promise.resolve(x):pe(w,j)).catch(b=>pt(b)?pt(b,he.NAVIGATION_GUARD_REDIRECT)?b:xt(b):X(b,w,j)).then(b=>{if(b){if(pt(b,he.NAVIGATION_GUARD_REDIRECT))return V(Z({replace:p},y(b.to),{state:typeof b.to=="object"?Z({},z,b.to.state):z,force:f}),L||w)}else b=ct(w,j,!0,p,z);return ze(w,j,b),b})}function g(S,L){const N=F(S,L);return N?Promise.reject(N):Promise.resolve()}function A(S){const L=Gt.values().next().value;return L&&typeof L.runWithContext=="function"?L.runWithContext(S):S()}function pe(S,L){let N;const[j,z,f]=Ba(S,L);N=Ts(j.reverse(),"beforeRouteLeave",S,L);for(const m of j)m.leaveGuards.forEach(w=>{N.push(At(w,S,L))});const p=g.bind(null,S,L);return N.push(p),je(N).then(()=>{N=[];for(const m of l.list())N.push(At(m,S,L));return N.push(p),je(N)}).then(()=>{N=Ts(z,"beforeRouteUpdate",S,L);for(const m of z)m.updateGuards.forEach(w=>{N.push(At(w,S,L))});return N.push(p),je(N)}).then(()=>{N=[];for(const m of f)if(m.beforeEnter)if(Je(m.beforeEnter))for(const w of m.beforeEnter)N.push(At(w,S,L));else N.push(At(m.beforeEnter,S,L));return N.push(p),je(N)}).then(()=>(S.matched.forEach(m=>m.enterCallbacks={}),N=Ts(f,"beforeRouteEnter",S,L,A),N.push(p),je(N))).then(()=>{N=[];for(const m of i.list())N.push(At(m,S,L));return N.push(p),je(N)}).catch(m=>pt(m,he.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function ze(S,L,N){o.list().forEach(j=>A(()=>j(S,L,N)))}function ct(S,L,N,j,z){const f=F(S,L);if(f)return f;const p=L===Et,m=Jt?history.state:{};N&&(j||p?r.replace(S.fullPath,Z({scroll:p&&m&&m.scroll},z)):r.push(S.fullPath,z)),u.value=S,Ye(S,L,N,p),xt()}let Ue;function sn(){Ue||(Ue=r.listen((S,L,N)=>{if(!Pt.listening)return;const j=k(S),z=fe(j,Pt.currentRoute.value);if(z){V(Z(z,{replace:!0,force:!0}),j).catch(mn);return}d=j;const f=u.value;Jt&&Ma(zr(f.fullPath,N.delta),ps()),pe(j,f).catch(p=>pt(p,he.NAVIGATION_ABORTED|he.NAVIGATION_CANCELLED)?p:pt(p,he.NAVIGATION_GUARD_REDIRECT)?(V(Z(y(p.to),{force:!0}),j).then(m=>{pt(m,he.NAVIGATION_ABORTED|he.NAVIGATION_DUPLICATED)&&!N.delta&&N.type===js.pop&&r.go(-1,!1)}).catch(mn),Promise.reject()):(N.delta&&r.go(-N.delta,!1),X(p,j,f))).then(p=>{p=p||ct(j,f,!1),p&&(N.delta&&!pt(p,he.NAVIGATION_CANCELLED)?r.go(-N.delta,!1):N.type===js.pop&&pt(p,he.NAVIGATION_ABORTED|he.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ze(j,f,p)}).catch(mn)}))}let Bt=un(),_e=un(),se;function X(S,L,N){xt(S);const j=_e.list();return j.length?j.forEach(z=>z(S,L,N)):console.error(S),Promise.reject(S)}function ft(){return se&&u.value!==Et?Promise.resolve():new Promise((S,L)=>{Bt.add([S,L])})}function xt(S){return se||(se=!S,sn(),Bt.list().forEach(([L,N])=>S?N(S):L()),Bt.reset()),S}function Ye(S,L,N,j){const{scrollBehavior:z}=e;if(!Jt||!z)return Promise.resolve();const f=!N&&Va(zr(S.fullPath,0))||(j||!N)&&history.state&&history.state.scroll||null;return tr().then(()=>z(S,L,f)).then(p=>p&&Da(p)).catch(p=>X(p,S,L))}const Ie=S=>r.go(S);let Kt;const Gt=new Set,Pt={currentRoute:u,listening:!0,addRoute:v,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:G,getRoutes:R,resolve:k,options:e,push:M,replace:Q,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:l.add,beforeResolve:i.add,afterEach:o.add,onError:_e.add,isReady:ft,install(S){S.component("RouterLink",cc),S.component("RouterView",hc),S.config.globalProperties.$router=Pt,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>J(u)}),Jt&&!Kt&&u.value===Et&&(Kt=!0,M(r.location).catch(j=>{}));const L={};for(const j in Et)Object.defineProperty(L,j,{get:()=>u.value[j],enumerable:!0});S.provide(hs,Pt),S.provide(Ei,Il(L)),S.provide(Bs,u);const N=S.unmount;Gt.add(S),S.unmount=function(){Gt.delete(S),Gt.size<1&&(d=Et,Ue&&Ue(),Ue=null,u.value=Et,Kt=!1,se=!1),N()}}};function je(S){return S.reduce((L,N)=>L.then(()=>A(N)),Promise.resolve())}return Pt}function Oi(){return ot(hs)}const mc=["token","role","wallet","username"];function ar(){return{token:localStorage.getItem("token")||"",role:localStorage.getItem("role")||"",wallet:localStorage.getItem("wallet")||"",username:localStorage.getItem("username")||""}}function vc(e){localStorage.setItem("token",e.access_token),localStorage.setItem("role",e.role),localStorage.setItem("wallet",e.wallet_address),localStorage.setItem("username",e.username||"")}function cr(){mc.forEach(e=>localStorage.removeItem(e))}async function de(e,t={}){const n={...t.headers||{}};t.body&&!n["Content-Type"]&&(n["Content-Type"]="application/json");const s=localStorage.getItem("token");s&&(n.Authorization=`Bearer ${s}`);const r=await fetch(`/api/v1${e}`,{...t,headers:n}),l=await r.text(),i=l?JSON.parse(l):null;if(r.status===401)throw cr(),location.pathname!=="/login"&&location.assign("/login"),new Error(Ks(i)||"登录已失效");if(!r.ok)throw new Error(Ks(i)||"请求失败");return i}async function yc(e,t){const n={},s=localStorage.getItem("token");s&&(n.Authorization=`Bearer ${s}`);const r=await fetch(`/api/v1${e}`,{headers:n});if(r.status===401)throw cr(),location.pathname!=="/login"&&location.assign("/login"),new Error("登录已失效");if(!r.ok){const u=await r.text(),d=u?JSON.parse(u):null;throw new Error(Ks(d)||"下载失败")}const l=await r.blob(),i=URL.createObjectURL(l),o=document.createElement("a");o.href=i,o.download=t,o.click(),URL.revokeObjectURL(i)}function Ks(e){return e?typeof e.detail=="string"?e.detail:Array.isArray(e.detail)?e.detail.map(t=>t.msg).filter(Boolean).join(";"):"":""}const _c={class:"gate"},bc={class:"gate-copy"},wc={key:0,class:"network-line"},Sc={class:"switch"},xc={key:0,class:"switch slim"},Ec={key:1},Cc={key:2},Ac={key:3},Rc={key:4},Oc={key:5,class:"form-error"},Tc=["disabled"],Ic={class:"hint"},Pc={class:"panel agreement-sheet"},Nc={__name:"Login",setup(e){const t=Oi(),n=oe("login"),s=oe("wallet"),r=oe(""),l=oe(!1),i=oe({wallet_address:"",username:"",password:"",confirm:""}),o=oe(!1),u=oe(null),d=oe(null);On(async()=>{try{const v=await de("/network");u.value=v.nodes,d.value=v.online}catch{u.value=null}});async function c(){if(r.value="",n.value==="register"&&i.value.password!==i.value.confirm){r.value="两次密码不一致";return}l.value=!0;try{const v=n.value==="register"?await _():await h();vc(v),t.push(v.role==="admin"?"/admin":"/dashboard")}catch(v){r.value=v.message}finally{l.value=!1}}function h(){return s.value==="wallet"?de("/auth/login",{method:"POST",body:JSON.stringify({wallet_address:i.value.wallet_address.trim()})}):de("/auth/login",{method:"POST",body:JSON.stringify({username:i.value.username.trim(),password:i.value.password})})}function _(){return de("/auth/register",{method:"POST",body:JSON.stringify({wallet_address:i.value.wallet_address.trim(),username:i.value.username.trim(),password:i.value.password})})}return(v,E)=>($(),U("div",_c,[a("section",bc,[E[11]||(E[11]=a("p",{class:"eyebrow"},"HyperNode",-1)),E[12]||(E[12]=a("h1",null,"连接全球 DePIN 分布式算力网络",-1)),E[13]||(E[13]=a("p",null,"基于去中心化节点的推理验证与任务调度平台。连接您的算力节点,实时监控质押释放与算力收益。",-1)),u.value!==null?($(),U("p",wc,"全网节点 "+O(u.value)+" · 在线 "+O(d.value),1)):le("",!0)]),a("form",{class:"gate-card",onSubmit:Zt(c,["prevent"])},[a("div",Sc,[a("button",{type:"button",class:Re({on:n.value==="login"}),onClick:E[0]||(E[0]=R=>n.value="login")},"登录",2),a("button",{type:"button",class:Re({on:n.value==="register"}),onClick:E[1]||(E[1]=R=>n.value="register")},"注册",2)]),n.value==="login"?($(),U("div",xc,[a("button",{type:"button",class:Re({on:s.value==="wallet"}),onClick:E[2]||(E[2]=R=>s.value="wallet")},"钱包地址",2),a("button",{type:"button",class:Re({on:s.value==="account"}),onClick:E[3]||(E[3]=R=>s.value="account")},"账号密码",2)])):le("",!0),n.value==="register"||s.value==="wallet"?($(),U("label",Ec,[E[14]||(E[14]=ce(" 钱包地址 ",-1)),ke(a("input",{"onUpdate:modelValue":E[4]||(E[4]=R=>i.value.wallet_address=R),required:"",minlength:"4",placeholder:"请填写您的 USDT (TRC20/ERC20) 收益接收地址",autocomplete:"username"},null,512),[[$e,i.value.wallet_address]])])):le("",!0),n.value==="register"||s.value==="account"?($(),U("label",Cc,[E[15]||(E[15]=ce(" 用户名 ",-1)),ke(a("input",{"onUpdate:modelValue":E[5]||(E[5]=R=>i.value.username=R),required:"",minlength:"3",maxlength:"32",placeholder:"miner",autocomplete:"username"},null,512),[[$e,i.value.username]])])):le("",!0),n.value==="register"||s.value==="account"?($(),U("label",Ac,[E[16]||(E[16]=ce(" 密码 ",-1)),ke(a("input",{"onUpdate:modelValue":E[6]||(E[6]=R=>i.value.password=R),required:"",minlength:"6",type:"password",autocomplete:"current-password"},null,512),[[$e,i.value.password]])])):le("",!0),n.value==="register"?($(),U("label",Rc,[E[17]||(E[17]=ce(" 确认密码 ",-1)),ke(a("input",{"onUpdate:modelValue":E[7]||(E[7]=R=>i.value.confirm=R),required:"",minlength:"6",type:"password",autocomplete:"new-password"},null,512),[[$e,i.value.confirm]])])):le("",!0),r.value?($(),U("p",Oc,O(r.value),1)):le("",!0),a("button",{class:"gold wide",type:"submit",disabled:l.value},O(l.value?"请稍候":n.value==="login"?"进入":"创建账号"),9,Tc),a("p",Ic,[E[18]||(E[18]=ce(" 注册即代表您已阅读并同意 ",-1)),a("button",{type:"button",class:"agreement-link",onClick:E[8]||(E[8]=R=>o.value=!0)},"《算力节点质押与服务协议》")])],32),o.value?($(),U("div",{key:0,class:"agreement-mask",onClick:E[10]||(E[10]=Zt(R=>o.value=!1,["self"]))},[a("article",Pc,[E[19]||(E[19]=gu('<p class="eyebrow">HyperNode</p><h2>算力节点质押与服务协议</h2><p class="sub">生效日期:2026年10月 · 协议版本:v1.2</p><p>欢迎您申请参与 HyperNode 去中心化 AI 算力网络(以下简称“本网络”或“平台”)。在您勾选“同意协议”或完成 USDT 质押激活节点之前,请务必仔细阅读本协议的所有条款。</p><h3>一、定义与说明</h3><p>算力节点(Compute Node):指由用户运行或绑定的、通过轻量级客户端接入 HyperNode 网络的边缘计算节点。</p><p>节点履约质押金(Collateral Stake):指用户为保障节点运行质量(SLA)、防止网络作弊或恶意掉线,向平台系统质押的 1500 USDT 保证金。</p><p>节点 Token(Node Token):平台下发给已激活节点的专属加密凭证,用于客户端与网络服务端的鉴权与通信。</p><p>算力积分与收益(Yield / Points):指节点通过维持在线、响应网络数据推理验证与任务调度所获得的贡献奖励。</p><h3>二、质押与激活规则</h3><p>门槛与额度:激活单个标准 AI 算力节点需提交 1500 USDT 作为履约质押金。</p><p>审核与开通:用户提交链上交易哈希(TxID)后,需经系统及管理员清算审核。审核通过后,节点正式进入 12 个月的授权运行周期,并解锁客户端下载及 Node Token 绑定权限。</p><p>质押金优先抵扣与赎回:节点每日产生的算力收益,将优先计入“质押金赎回额度”。当累计释放收益达到 1500 USDT(即本金全额解锁)后,后续产生的收益自动转为“网络算力激励”。</p><h3>三、节点运行规范与 SLA 服务质量考核</h3><p>在线率要求:节点需保持每天不少于规定时长的在线状态,并正常响应服务端的随机任务下发与心跳检测。</p><p>收益衰减与扣罚机制:每日算力收益由“网络在线率”与“任务响应率”共同决定。若节点频繁离线、断网或拒绝响应计算任务,当天的表现系数将自动降低,导致当日算力收益缩减或清零,质押金赎回周期将相应顺延。</p><p>全网算力难度调整:平台根据全网总激活节点数量与每日总奖池,动态调整分配系数。节点收益受全网总算力竞争影响。</p><h3>四、提现与清算机制</h3><p>提现申请:用户可在控制台申请将已解冻的积分/USDT 提现至指定的个人加密钱包地址(TRC20 / ERC20)。</p><p>人工审核与安全排查:为防范 Sybil 攻击(女巫攻击)与自动化作弊,所有提现申请需经过平台安全清算与管理员审核。平台有权在发现异常流量或欺诈挂机时冻结相关节点。</p><h3>五、免责声明与风险提示</h3><p>网络与硬件风险:用户需自行承担因个人宽带中断、设备损坏、电力故障或客户端被防火墙拦截导致的节点掉线损失。</p><p>区块链与资产风险:请务必确认填写的 USDT 接收地址准确无误。因用户个人地址填写错误导致的资产损失,平台概不负责。</p><p>协议修改:平台保留根据网络发展与技术升级对本协议条款、产出算法进行微调的权利,更新后的条款将于控制台公示后生效。</p><p>点击“同意”或继续提交质押申请,即代表您已完全理解并接受上述所有条款与风险提示。</p>',25)),a("button",{class:"gold",type:"button",onClick:E[9]||(E[9]=R=>o.value=!1)},"同意")])])):le("",!0)]))}},kc={class:"shell"},Dc={class:"rail"},Mc={class:"nav"},Vc={class:"rail-foot"},$c={class:"who"},Lc={class:"stage"},Fc={class:"top"},Uc={class:"eyebrow"},jc={class:"clock"},Hc={class:"view"},Ti={__name:"Shell",props:{eyebrow:{type:String,default:"控制面"},title:{type:String,required:!0}},setup(e){const t=Oi(),n=ar(),s=oe("--:--:--");let r=0;function l(){s.value=new Intl.DateTimeFormat("zh-CN",{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:"Asia/Shanghai"}).format(new Date)}function i(){cr(),t.push("/login")}return On(()=>{l(),r=window.setInterval(l,1e3)}),Tn(()=>window.clearInterval(r)),(o,u)=>{const d=Kl("router-link");return $(),U("div",kc,[a("aside",Dc,[xe(d,{class:"brand",to:"/"},{default:Yt(()=>[...u[0]||(u[0]=[a("span",{class:"mark","aria-hidden":"true"},[a("svg",{viewBox:"0 0 32 32",width:"28",height:"28"},[a("path",{d:"M16 3 L27 9.5 V22.5 L16 29 L5 22.5 V9.5 Z",fill:"none",stroke:"currentColor","stroke-width":"1.4"}),a("circle",{cx:"16",cy:"16",r:"2.2",fill:"currentColor"})])],-1),a("span",null,[a("strong",null,"HyperNode"),a("em",null,"Compute Atelier")],-1)])]),_:1}),a("nav",Mc,[xe(d,{to:"/dashboard"},{default:Yt(()=>[...u[1]||(u[1]=[ce("我的节点",-1)])]),_:1}),J(n).role==="admin"?($(),jt(d,{key:0,to:"/admin"},{default:Yt(()=>[...u[2]||(u[2]=[ce("管理后台",-1)])]),_:1})):le("",!0)]),a("div",Vc,[a("span",$c,O(J(n).username||J(n).wallet),1),a("button",{type:"button",class:"texty",onClick:i},"退出")])]),a("div",Lc,[a("header",Fc,[a("div",null,[a("p",Uc,O(e.eyebrow),1),a("h1",null,O(e.title),1)]),a("div",jc,[u[3]||(u[3]=a("span",null,"北京时间",-1)),a("strong",null,O(s.value),1)])]),a("main",Hc,[Uo(o.$slots,"default")])])])}}};function Ce(e){const[t,n=""]=String(e??"0").split("."),s=t.replace(/\B(?=(\d{3})+(?!\d))/g,","),r=n.replace(/0+$/,"");return r?`${s}.${r}`:s}function Xn(e){const t=Number(e)*100;return Number.isFinite(t)?`${t.toFixed(t>=10?0:1)}%`:"0%"}function jn(e){if(!e)return"—";const t=new Date(e);return Number.isNaN(t.getTime())?"—":new Intl.DateTimeFormat("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(t)}const yt={online:"在线",offline:"离线",pending:"待审核",approved:"已开通",completed:"已打款",rejected:"已拒绝",failed:"失败",settled:"已入账",user:"用户",admin:"管理员"},Bc={key:0,class:"form-error banner"},Kc={key:1,class:"banner ok"},Gc={key:2,class:"metrics"},Wc={class:"metric"},qc={class:"metric"},Jc={class:"metric"},zc={class:"board"},Yc={class:"wallet"},Qc={key:0,class:"sub"},Xc={key:1,class:"sub"},Zc={key:2,class:"actions"},ef={key:0,class:"genesis-tag"},tf={key:1,class:"sub"},nf={class:"rate"},sf=["value"],rf={class:"actions"},lf=["disabled","onClick"],of=["disabled","onClick"],uf={key:0,class:"empty"},af={class:"forms"},cf={class:"sub"},ff={class:"mini"},df={class:"mini"},pf={__name:"Dashboard",setup(e){const t=oe(null),n=oe(""),s=oe(""),r=oe(""),l=oe({amount:"",asset_symbol:"POINT"}),i=oe({contact:"",node_count:"5",subnet_ip:"",hardware_proof:"",gpu_generation:"40"});let o=0;async function u(){t.value=await de("/me/dashboard")}async function d(k,y){n.value="",s.value="";try{await k(),s.value=y,await u()}catch(F){n.value=F.message}}function c(k){return k.gpu_model?k.vram_gb?`${k.gpu_model} · ${k.vram_gb} GB`:k.gpu_model:"未上报"}function h(k){return k.gpu_generation==="40"?"40系及以上":k.gpu_generation==="30"?"30系":"10系及以下"}function _(){return d(async()=>{await de("/me/orders",{method:"POST",body:JSON.stringify({tx_id:r.value.trim()})}),r.value=""},"支付凭证已提交,等待审核")}async function v(k){n.value="";try{await navigator.clipboard.writeText(k),s.value="Token 已复制"}catch{n.value="复制失败,请手动选择 Token"}}function E(k){return d(()=>yc(`/me/nodes/${encodeURIComponent(k.sn)}/client`,`hypernode-${k.sn}.py`),"客户端已开始下载")}function R(){return d(async()=>{await de("/me/datacenter-applications",{method:"POST",body:JSON.stringify({contact:i.value.contact.trim(),node_count:Number(i.value.node_count),subnet_ip:i.value.subnet_ip.trim(),hardware_proof:i.value.hardware_proof.trim(),gpu_generation:i.value.gpu_generation})}),i.value.subnet_ip="",i.value.hardware_proof=""},"机房申请已提交,等待审核")}function G(){return d(async()=>{await de("/me/withdrawals",{method:"POST",body:JSON.stringify({amount:l.value.amount,asset_symbol:l.value.asset_symbol||"POINT"})}),l.value.amount=""},"提现申请已提交")}return On(async()=>{try{await u()}catch(k){n.value=k.message}o=window.setInterval(()=>{u().catch(k=>{n.value=k.message})},1e4)}),Tn(()=>window.clearInterval(o)),(k,y)=>($(),jt(Ti,{eyebrow:"用户控制台",title:"我的算力"},{default:Yt(()=>{var F,M,Q,fe,V;return[n.value?($(),U("p",Bc,O(n.value),1)):le("",!0),s.value?($(),U("p",Kc,O(s.value),1)):le("",!0),t.value?($(),U("section",Gc,[a("article",Wc,[y[8]||(y[8]=a("span",null,"可用积分",-1)),a("strong",null,O(J(Ce)(t.value.available_points)),1),a("em",null,"已入账 "+O(J(Ce)(t.value.settled_points)),1)]),a("article",qc,[y[9]||(y[9]=a("span",null,"今日预计",-1)),a("strong",null,O(J(Ce)(t.value.today_points)),1),y[10]||(y[10]=a("em",null,"按当前在线实时估算",-1))]),a("article",Jc,[y[11]||(y[11]=a("span",null,"全网节点",-1)),a("strong",null,O(t.value.network_nodes),1),a("em",null,"在线 "+O(t.value.network_online),1)]),y[12]||(y[12]=a("p",{class:"fine"},"* 算力积分兑换汇率:1 积分 = 0.8 ~ 1.0 USDT(根据全网算力动态浮动,当前基准约 0.95 USDT)",-1))])):le("",!0),a("section",zc,[($(!0),U(ge,null,st(((F=t.value)==null?void 0:F.orders)||[],g=>($(),U("article",{key:g.id,class:Re(["plate",{locked:g.status!=="approved"}])},[a("header",null,[a("strong",null,"订单 #"+O(g.id),1),a("span",{class:Re(["pill",g.status])},[y[13]||(y[13]=a("i",null,null,-1)),ce(O(J(yt)[g.status]),1)],2)]),a("p",Yc,O(J(Ce)(g.amount))+" "+O(g.asset_symbol)+" · "+O(g.tx_id),1),g.status==="pending"?($(),U("p",Qc,"审核通过前不能复制 Token,也不能下载客户端。")):g.display_node_id?($(),U("p",Xc,"节点 "+O(g.display_node_id),1)):le("",!0),g.status!=="approved"?($(),U("div",Zc,[...y[14]||(y[14]=[a("button",{class:"gold",type:"button",disabled:""},"复制 Token",-1),a("button",{class:"texty",type:"button",disabled:""},"下载客户端",-1)])])):le("",!0)],2))),128)),($(!0),U(ge,null,st(((M=t.value)==null?void 0:M.nodes)||[],g=>($(),U("article",{key:g.sn,class:"plate"},[a("header",null,[a("strong",null,O(g.display_node_id||g.sn),1),a("span",{class:Re(["pill",g.activated?g.status:"pending"])},[y[15]||(y[15]=a("i",null,null,-1)),ce(O(g.activated?J(yt)[g.status]:"待审核"),1)],2)]),g.genesis?($(),U("p",ef,"[Genesis Special Node - 30 Days Recovery]")):le("",!0),g.genesis?($(),U("p",tf,"创世特权节点 - 30天回本")):le("",!0),a("p",nf,[a("b",{style:An({width:J(Xn)(g.online_rate)})},null,4),ce(O(J(Xn)(g.online_rate))+" 今日在线",1)]),a("dl",null,[a("div",null,[y[16]||(y[16]=a("dt",null,"购买金额",-1)),a("dd",null,O(J(Ce)(g.purchase_amount)),1)]),a("div",null,[y[17]||(y[17]=a("dt",null,"今日积分",-1)),a("dd",null,O(J(Ce)(g.today_points)),1)]),a("div",null,[y[18]||(y[18]=a("dt",null,"最近心跳",-1)),a("dd",null,O(J(jn)(g.last_heartbeat_at)),1)]),a("div",null,[y[19]||(y[19]=a("dt",null,"显卡",-1)),a("dd",null,O(c(g)),1)]),a("div",null,[y[20]||(y[20]=a("dt",null,"硬件权重",-1)),a("dd",null,O(g.hardware_weight),1)]),a("div",null,[y[21]||(y[21]=a("dt",null,"显卡世代",-1)),a("dd",null,O(h(g)),1)]),a("div",null,[y[22]||(y[22]=a("dt",null,"回本周期",-1)),a("dd",null,O(g.recovery_days)+" 天",1)]),a("div",null,[y[23]||(y[23]=a("dt",null,"待返还质押",-1)),a("dd",null,O(J(Ce)(g.recoverable_stake_amount||0)),1)])]),a("label",null,[y[24]||(y[24]=ce("挂机 Token",-1)),a("input",{class:"token-box",value:g.activated?g.node_token:"审核通过后发放",readonly:""},null,8,sf)]),a("div",rf,[a("button",{class:"gold",type:"button",disabled:!g.activated,onClick:A=>v(g.node_token)},"复制 Token",8,lf),a("button",{class:"texty",type:"button",disabled:!g.activated,onClick:A=>E(g)},"下载客户端",8,of)])]))),128)),t.value&&!t.value.nodes.length&&!t.value.orders.length?($(),U("p",uf,"还没有节点。下面可以购买授权。")):le("",!0)]),a("section",af,[a("form",{class:"panel",onSubmit:Zt(_,["prevent"])},[y[26]||(y[26]=a("h2",null,"购买节点授权",-1)),a("p",cf,O(t.value?J(Ce)(t.value.license_price):"1,500")+" "+O(((Q=t.value)==null?void 0:Q.license_asset)||"USDT")+"。提交链上 TxID 后进入待审核,通过后开通 12 个月并签发 Token。",1),a("label",null,[y[25]||(y[25]=ce("TxID",-1)),ke(a("input",{"onUpdate:modelValue":y[0]||(y[0]=g=>r.value=g),required:"",minlength:"6",placeholder:"链上交易哈希"},null,512),[[$e,r.value]])]),y[27]||(y[27]=a("button",{class:"gold",type:"submit"},"提交支付凭证",-1))],32),a("form",{class:"panel",onSubmit:Zt(G,["prevent"])},[y[30]||(y[30]=a("h2",null,"申请提现",-1)),y[31]||(y[31]=a("p",{class:"sub"},"提交申请后,相应资产将进入安全清算锁定状态,审核通过后将统一打款至您的绑定地址。",-1)),a("label",null,[y[28]||(y[28]=ce("金额",-1)),ke(a("input",{"onUpdate:modelValue":y[1]||(y[1]=g=>l.value.amount=g),required:"",placeholder:"1.25"},null,512),[[$e,l.value.amount]])]),a("label",null,[y[29]||(y[29]=ce("资产",-1)),ke(a("input",{"onUpdate:modelValue":y[2]||(y[2]=g=>l.value.asset_symbol=g)},null,512),[[$e,l.value.asset_symbol]])]),y[32]||(y[32]=a("button",{class:"gold",type:"submit"},"提交申请",-1)),a("ul",ff,[($(!0),U(ge,null,st(((fe=t.value)==null?void 0:fe.withdrawals)||[],g=>($(),U("li",{key:g.id},[a("span",null,"#"+O(g.id)+" · "+O(J(Ce)(g.amount))+" "+O(g.asset_symbol),1),a("span",{class:Re(["pill",g.status])},O(J(yt)[g.status]),3)]))),128))])],32),a("form",{class:"panel span-2",onSubmit:Zt(R,["prevent"])},[y[39]||(y[39]=a("h2",null,"机房白名单申请",-1)),y[40]||(y[40]=a("p",{class:"sub"},"同一公网出口批量接入,需至少 5 台且全部为 30 系或 40 系显卡。审核通过后,该网段内硬件指纹不同的机器可以一起挂载。",-1)),a("label",null,[y[33]||(y[33]=ce("联系方式",-1)),ke(a("input",{"onUpdate:modelValue":y[3]||(y[3]=g=>i.value.contact=g),required:"",minlength:"4",placeholder:"Telegram / 邮箱 / 手机"},null,512),[[$e,i.value.contact]])]),a("label",null,[y[34]||(y[34]=ce("预估节点数",-1)),ke(a("input",{"onUpdate:modelValue":y[4]||(y[4]=g=>i.value.node_count=g),required:"",type:"number",min:"5",placeholder:"5"},null,512),[[$e,i.value.node_count]])]),a("label",null,[y[35]||(y[35]=ce("出口网段",-1)),ke(a("input",{"onUpdate:modelValue":y[5]||(y[5]=g=>i.value.subnet_ip=g),required:"",placeholder:"203.0.113.0/24"},null,512),[[$e,i.value.subnet_ip]])]),a("label",null,[y[37]||(y[37]=ce("显卡世代 ",-1)),ke(a("select",{"onUpdate:modelValue":y[6]||(y[6]=g=>i.value.gpu_generation=g)},[...y[36]||(y[36]=[a("option",{value:"40"},"40 系及以上",-1),a("option",{value:"30"},"30 系",-1)])],512),[[Qu,i.value.gpu_generation]])]),a("label",null,[y[38]||(y[38]=ce("硬件配置证明",-1)),ke(a("textarea",{"onUpdate:modelValue":y[7]||(y[7]=g=>i.value.hardware_proof=g),required:"",minlength:"4",placeholder:"例如 8 台 RTX 4090,附采购或机房照片说明"},null,512),[[$e,i.value.hardware_proof]])]),y[41]||(y[41]=a("button",{class:"gold",type:"submit"},"提交机房申请",-1)),a("ul",df,[($(!0),U(ge,null,st(((V=t.value)==null?void 0:V.datacenter_applications)||[],g=>($(),U("li",{key:g.id},[a("span",null,"#"+O(g.id)+" · "+O(g.subnet_ip)+" · "+O(g.node_count)+" 台",1),a("span",{class:Re(["pill",g.status])},O(J(yt)[g.status]),3)]))),128))])],32)])]}),_:1}))}},hf={key:0,class:"form-error banner"},gf={key:1,class:"banner ok"},mf={key:2,class:"metrics"},vf={class:"metric"},yf={class:"metric"},_f={class:"metric"},bf={class:"metric"},wf={class:"table-wrap"},Sf={class:"mono"},xf={class:"mono"},Ef={key:0,class:"actions"},Cf=["onClick"],Af=["onClick"],Rf={key:1},Of={key:0},Tf={class:"board"},If={class:"whitelist-row"},Pf={key:0,class:"pill pending"},Nf={class:"toggle"},kf=["checked","onChange"],Df={key:0,class:"genesis-tag"},Mf={key:1,class:"sub"},Vf={class:"wallet"},$f={class:"sub"},Lf={class:"rate"},Ff={key:0,class:"empty"},Uf={class:"panel whitelist-panel"},jf={class:"table-wrap"},Hf={class:"mono"},Bf={class:"actions"},Kf=["onClick"],Gf={key:0},Wf={class:"table-wrap"},qf={class:"mono"},Jf={class:"mono"},zf={key:0,class:"actions"},Yf=["onClick"],Qf=["onClick"],Xf={key:1},Zf={key:0},ed={class:"table-wrap"},td={class:"mono"},nd=["onUpdate:modelValue"],sd={key:1,class:"mono"},rd={key:0,class:"actions"},ld=["onClick"],id=["onClick"],od={key:1},ud={key:0},ad={class:"table-wrap"},cd={class:"mono"},fd={__name:"AdminOverview",setup(e){const t=oe(null),n=oe([]),s=oe([]),r=oe([]),l=oe([]),i=oe({}),o=oe([]),u=oe([]),d=oe({ip_address:"",note:""}),c=oe(""),h=oe("");let _=0;async function v(){const[V,g,A,pe,ze,ct,Ue]=await Promise.all([de("/admin/summary"),de("/admin/users"),de("/admin/nodes"),de("/admin/withdrawals"),de("/admin/orders"),de("/admin/ip-whitelist"),de("/admin/datacenter-applications")]);t.value=V,n.value=g,s.value=A,r.value=pe,l.value=ze,o.value=ct,u.value=Ue}async function E(V){c.value="",h.value="";try{const g=await de(`/admin/orders/${V.id}/approve`,{method:"POST"});h.value=`订单 #${V.id} 已开通,节点 ${g.display_node_id||g.sn}`,await v()}catch(g){c.value=g.message}}async function R(V){c.value="",h.value="";try{await de(`/admin/orders/${V.id}/reject`,{method:"POST",body:JSON.stringify({note:"支付凭证未通过"})}),h.value=`订单 #${V.id} 已拒绝`,await v()}catch(g){c.value=g.message}}async function G(V){const g=(i.value[V.id]||"").trim();if(!g){c.value="请先填写链上哈希";return}c.value="",h.value="";try{await de(`/admin/withdrawals/${V.id}/confirm`,{method:"POST",body:JSON.stringify({tx_hash:g})}),h.value=`提现 #${V.id} 已打款`,await v()}catch(A){c.value=A.message}}async function k(V){c.value="",h.value="";const g=!V.is_whitelist;try{await de(`/admin/nodes/${encodeURIComponent(V.sn)}/whitelist`,{method:"POST",body:JSON.stringify({is_whitelist:g})}),h.value=g?`节点 ${V.display_node_id||V.sn} 已加入白名单`:`节点 ${V.display_node_id||V.sn} 已取消白名单`,await v()}catch(A){c.value=A.message}}async function y(){c.value="",h.value="";try{await de("/admin/ip-whitelist",{method:"POST",body:JSON.stringify({ip_address:d.value.ip_address.trim(),note:d.value.note.trim()})}),d.value={ip_address:"",note:""},h.value="白名单 IP 已添加",await v()}catch(V){c.value=V.message}}async function F(V){c.value="",h.value="";try{await de(`/admin/datacenter-applications/${V.id}/approve`,{method:"POST"}),h.value=`机房申请 #${V.id} 已通过,网段 ${V.subnet_ip} 已加入白名单`,await v()}catch(g){c.value=g.message}}async function M(V){c.value="",h.value="";try{await de(`/admin/datacenter-applications/${V.id}/reject`,{method:"POST",body:JSON.stringify({note:"未达到机房门槛"})}),h.value=`机房申请 #${V.id} 已拒绝`,await v()}catch(g){c.value=g.message}}async function Q(V){c.value="",h.value="";try{await de(`/admin/ip-whitelist/${V.id}`,{method:"DELETE"}),h.value=`${V.ip_address} 已移出白名单`,await v()}catch(g){c.value=g.message}}async function fe(V){c.value="",h.value="";try{await de(`/admin/withdrawals/${V.id}/reject`,{method:"POST",body:JSON.stringify({note:"管理后台拒绝"})}),h.value=`提现 #${V.id} 已拒绝`,await v()}catch(g){c.value=g.message}}return On(async()=>{try{await v()}catch(V){c.value=V.message}_=window.setInterval(()=>{v().catch(V=>{c.value=V.message})},1e4)}),Tn(()=>window.clearInterval(_)),(V,g)=>($(),jt(Ti,{eyebrow:"管理后台",title:"全网概览"},{default:Yt(()=>[c.value?($(),U("p",hf,O(c.value),1)):le("",!0),h.value?($(),U("p",gf,O(h.value),1)):le("",!0),t.value?($(),U("section",mf,[a("article",vf,[g[2]||(g[2]=a("span",null,"用户",-1)),a("strong",null,O(t.value.users),1),g[3]||(g[3]=a("em",null,"已注册钱包",-1))]),a("article",yf,[g[4]||(g[4]=a("span",null,"全网节点",-1)),a("strong",null,O(t.value.nodes),1),a("em",null,"在线 "+O(t.value.online)+" · 离线 "+O(t.value.offline),1)]),a("article",_f,[g[5]||(g[5]=a("span",null,"总产出",-1)),a("strong",null,O(J(Ce)(t.value.settled_points)),1),a("em",null,"授权 "+O(J(Ce)(t.value.authorized_amount)),1)]),a("article",bf,[g[6]||(g[6]=a("span",null,"待审核",-1)),a("strong",null,O(J(Ce)(t.value.pending_withdrawals)),1),g[7]||(g[7]=a("em",null,"占用中的提现",-1))])])):le("",!0),g[27]||(g[27]=a("h2",{class:"section-title"},"授权订单",-1)),a("div",wf,[a("table",null,[g[9]||(g[9]=a("thead",null,[a("tr",null,[a("th",null,"单号"),a("th",null,"钱包"),a("th",null,"金额"),a("th",null,"TxID"),a("th",null,"状态"),a("th",null,"节点"),a("th")])],-1)),a("tbody",null,[($(!0),U(ge,null,st(l.value,A=>($(),U("tr",{key:A.id},[a("td",null,"#"+O(A.id),1),a("td",Sf,O(A.wallet_address),1),a("td",null,O(J(Ce)(A.amount))+" "+O(A.asset_symbol),1),a("td",xf,O(A.tx_id),1),a("td",null,[a("span",{class:Re(["pill",A.status])},O(J(yt)[A.status]),3)]),a("td",null,O(A.display_node_id||A.sn||"—"),1),A.status==="pending"?($(),U("td",Ef,[a("button",{class:"gold",type:"button",onClick:pe=>E(A)},"通过",8,Cf),a("button",{class:"texty",type:"button",onClick:pe=>R(A)},"拒绝",8,Af)])):($(),U("td",Rf))]))),128)),l.value.length?le("",!0):($(),U("tr",Of,[...g[8]||(g[8]=[a("td",{colspan:"7",class:"empty"},"还没有授权订单。",-1)])]))])])]),g[28]||(g[28]=a("h2",{class:"section-title"},"节点监控",-1)),a("section",Tf,[($(!0),U(ge,null,st(s.value,A=>($(),U("article",{key:A.sn,class:"plate"},[a("header",null,[a("strong",null,O(A.display_node_id||A.sn),1),a("span",{class:Re(["pill",A.status])},[g[10]||(g[10]=a("i",null,null,-1)),ce(O(J(yt)[A.status]),1)],2)]),a("div",If,[A.is_whitelist?($(),U("span",Pf,"白名单")):le("",!0),a("label",Nf,[a("input",{type:"checkbox",checked:A.is_whitelist,onChange:pe=>k(A)},null,40,kf),g[11]||(g[11]=a("span",null,null,-1)),g[12]||(g[12]=ce(" 白名单 ",-1))])]),A.genesis?($(),U("p",Df,"[Genesis Special Node - 30 Days Recovery]")):le("",!0),A.genesis?($(),U("p",Mf,"创世特权节点 - 30天回本")):le("",!0),a("p",Vf,O(A.wallet_address),1),a("p",$f,O(A.sn),1),a("p",Lf,[a("b",{style:An({width:J(Xn)(A.online_rate)})},null,4),ce(O(J(Xn)(A.online_rate))+" 今日在线率",1)]),a("dl",null,[a("div",null,[g[13]||(g[13]=a("dt",null,"今日积分",-1)),a("dd",null,O(J(Ce)(A.today_points)),1)]),a("div",null,[g[14]||(g[14]=a("dt",null,"心跳",-1)),a("dd",null,O(J(jn)(A.last_heartbeat_at)),1)]),a("div",null,[g[15]||(g[15]=a("dt",null,"绑定 IP",-1)),a("dd",null,O(A.client_ip||"—"),1)])])]))),128)),s.value.length?le("",!0):($(),U("p",Ff,"还没有节点。"))]),g[29]||(g[29]=a("h2",{class:"section-title"},"IP 白名单设置",-1)),a("section",Uf,[g[21]||(g[21]=a("p",{class:"sub"},"可以填写单 IP,或整个机房网段,例如 203.0.113.0/24。网段内的地址都可以挂载多台设备。",-1)),a("form",{class:"ip-form",onSubmit:Zt(y,["prevent"])},[a("label",null,[g[16]||(g[16]=ce("豁免 IP / 网段",-1)),ke(a("input",{"onUpdate:modelValue":g[0]||(g[0]=A=>d.value.ip_address=A),required:"",placeholder:"203.0.113.0/24"},null,512),[[$e,d.value.ip_address]])]),a("label",null,[g[17]||(g[17]=ce("备注",-1)),ke(a("input",{"onUpdate:modelValue":g[1]||(g[1]=A=>d.value.note=A),placeholder:"自营机房出口"},null,512),[[$e,d.value.note]])]),g[18]||(g[18]=a("button",{class:"gold",type:"submit"},"添加",-1))],32),a("div",jf,[a("table",null,[g[20]||(g[20]=a("thead",null,[a("tr",null,[a("th",null,"IP"),a("th",null,"备注"),a("th",null,"添加时间"),a("th")])],-1)),a("tbody",null,[($(!0),U(ge,null,st(o.value,A=>($(),U("tr",{key:A.id},[a("td",Hf,O(A.ip_address),1),a("td",null,O(A.note||"—"),1),a("td",null,O(J(jn)(A.created_at)),1),a("td",Bf,[a("button",{class:"texty",type:"button",onClick:pe=>Q(A)},"删除",8,Kf)])]))),128)),o.value.length?le("",!0):($(),U("tr",Gf,[...g[19]||(g[19]=[a("td",{colspan:"4",class:"empty"},"还没有豁免 IP。",-1)])]))])])])]),g[30]||(g[30]=a("h2",{class:"section-title"},"机房大客户申请",-1)),a("div",Wf,[a("table",null,[g[23]||(g[23]=a("thead",null,[a("tr",null,[a("th",null,"单号"),a("th",null,"钱包"),a("th",null,"联系方式"),a("th",null,"节点数"),a("th",null,"网段"),a("th",null,"显卡"),a("th",null,"证明"),a("th",null,"状态"),a("th")])],-1)),a("tbody",null,[($(!0),U(ge,null,st(u.value,A=>($(),U("tr",{key:A.id},[a("td",null,"#"+O(A.id),1),a("td",qf,O(A.wallet_address),1),a("td",null,O(A.contact),1),a("td",null,O(A.node_count),1),a("td",Jf,O(A.subnet_ip),1),a("td",null,O(A.gpu_generation)+" 系",1),a("td",null,O(A.hardware_proof),1),a("td",null,[a("span",{class:Re(["pill",A.status])},O(J(yt)[A.status]),3)]),A.status==="pending"?($(),U("td",zf,[a("button",{class:"gold",type:"button",onClick:pe=>F(A)},"通过",8,Yf),a("button",{class:"texty",type:"button",onClick:pe=>M(A)},"拒绝",8,Qf)])):($(),U("td",Xf))]))),128)),u.value.length?le("",!0):($(),U("tr",Zf,[...g[22]||(g[22]=[a("td",{colspan:"9",class:"empty"},"还没有机房申请。",-1)])]))])])]),g[31]||(g[31]=a("h2",{class:"section-title"},"提现审核",-1)),a("div",ed,[a("table",null,[g[25]||(g[25]=a("thead",null,[a("tr",null,[a("th",null,"单号"),a("th",null,"钱包"),a("th",null,"金额"),a("th",null,"状态"),a("th",null,"链上哈希"),a("th")])],-1)),a("tbody",null,[($(!0),U(ge,null,st(r.value,A=>($(),U("tr",{key:A.id},[a("td",null,"#"+O(A.id),1),a("td",td,O(A.wallet_address),1),a("td",null,O(J(Ce)(A.amount))+" "+O(A.asset_symbol),1),a("td",null,[a("span",{class:Re(["pill",A.status])},O(J(yt)[A.status]),3)]),a("td",null,[A.status==="pending"?ke(($(),U("input",{key:0,"onUpdate:modelValue":pe=>i.value[A.id]=pe,placeholder:"交易哈希"},null,8,nd)),[[$e,i.value[A.id]]]):($(),U("span",sd,O(A.tx_hash||"—"),1))]),A.status==="pending"?($(),U("td",rd,[a("button",{class:"gold",type:"button",onClick:pe=>G(A)},"打款",8,ld),a("button",{class:"texty",type:"button",onClick:pe=>fe(A)},"拒绝",8,id)])):($(),U("td",od))]))),128)),r.value.length?le("",!0):($(),U("tr",ud,[...g[24]||(g[24]=[a("td",{colspan:"6",class:"empty"},"还没有提现申请。",-1)])]))])])]),g[32]||(g[32]=a("h2",{class:"section-title"},"用户",-1)),a("div",ad,[a("table",null,[g[26]||(g[26]=a("thead",null,[a("tr",null,[a("th",null,"钱包"),a("th",null,"用户名"),a("th",null,"角色"),a("th",null,"节点"),a("th",null,"可用积分"),a("th",null,"注册")])],-1)),a("tbody",null,[($(!0),U(ge,null,st(n.value,A=>($(),U("tr",{key:A.id},[a("td",cd,O(A.wallet_address),1),a("td",null,O(A.username||"—"),1),a("td",null,O(J(yt)[A.role]),1),a("td",null,O(A.node_count),1),a("td",null,O(J(Ce)(A.available_points)),1),a("td",null,O(J(jn)(A.created_at)),1)]))),128))])])])]),_:1}))}},Ii=gc({history:qa(),routes:[{path:"/",redirect:()=>ar().role==="admin"?"/admin":"/dashboard"},{path:"/login",component:Nc},{path:"/dashboard",component:pf,meta:{auth:!0}},{path:"/admin",component:fd,meta:{auth:!0,admin:!0}}]});Ii.beforeEach(e=>{const t=ar();return e.meta.auth&&!t.token?"/login":e.meta.admin&&t.role!=="admin"?"/dashboard":e.path==="/login"&&t.token?t.role==="admin"?"/admin":"/dashboard":!0});sa(aa).use(Ii).mount("#app");
|