(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.5.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function yr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const re={},Gt=[],ht=()=>{},ri=()=>!1,cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),Ae=Object.assign,br=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gl=Object.prototype.hasOwnProperty,Y=(e,t)=>Gl.call(e,t),V=Array.isArray,zt=e=>Cn(e)==="[object Map]",us=e=>Cn(e)==="[object Set]",Wr=e=>Cn(e)==="[object Date]",q=e=>typeof e=="function",pe=e=>typeof e=="string",mt=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",oi=e=>(ee(e)||q(e))&&q(e.then)&&q(e.catch),ii=Object.prototype.toString,Cn=e=>ii.call(e),zl=e=>Cn(e).slice(8,-1),li=e=>Cn(e)==="[object Object]",vr=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=yr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jl=/-\w/g,De=fs(e=>e.replace(Jl,t=>t.slice(1).toUpperCase())),Xl=/\B([A-Z])/g,Vt=fs(e=>e.replace(Xl,"-$1").toLowerCase()),ds=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ds=fs(e=>e?`on${ds(e)}`:""),pt=(e,t)=>!Object.is(e,t),Vn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gr;const hs=()=>Gr||(Gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ms(e){if(V(e)){const t={};for(let n=0;n{if(n){const s=n.split(Yl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function gs(e){let t="";if(pe(e))t=e;else if(V(e))for(let n=0;nTn(n,t))}const ui=e=>!!(e&&e.__v_isRef===!0),me=e=>pe(e)?e:e==null?"":V(e)||ee(e)&&(e.toString===ii||!q(e.toString))?ui(e)?me(e.value):JSON.stringify(e,fi,2):String(e),fi=(e,t)=>ui(t)?fi(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ls(s,o)+" =>"]=r,n),{})}:us(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ls(n))}:mt(t)?Ls(t):ee(t)&&!V(t)&&!li(t)?String(t):t,Ls=(e,t="")=>{var n;return mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let we;class oc{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)for(t=0,n=this.scopes.length;t0&&--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;n0)return;if(gn){let t=gn;for(gn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;mn;){let t=mn;for(mn=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 mi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function gi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),wr(s),lc(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Qs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rn)||(e.globalVersion=Rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qs(e))))return;e.flags|=2;const t=e.dep,n=ie,s=Ze;ie=e,Ze=!0;try{mi(e);const r=e.fn(e._value);(t.version===0||pt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=n,Ze=s,gi(e),e.flags&=-3}}function wr(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 o=n.computed.deps;o;o=o.nextDep)wr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function lc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ze=!0;const yi=[];function wt(){yi.push(Ze),Ze=!1}function St(){const e=yi.pop();Ze=e===void 0?!0:e}function zr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let Rn=0;class cc{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 Sr{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(!ie||!Ze||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new cc(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,bi(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=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,Rn++,this.notify(t)}notify(t){Er();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rr()}}}function bi(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)bi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ys=new WeakMap,Ut=Symbol(""),Zs=Symbol(""),wn=Symbol("");function xe(e,t,n){if(Ze&&ie){let s=Ys.get(e);s||Ys.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Sr),r.map=s,r.key=n),r.track()}}function Et(e,t,n,s,r,o){const i=Ys.get(e);if(!i){Rn++;return}const l=c=>{c&&c.trigger()};if(Er(),t==="clear")i.forEach(l);else{const c=V(e),u=c&&vr(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,h)=>{(h==="length"||h===wn||!mt(h)&&h>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(wn)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Ut)),zt(e)&&l(i.get(Zs)));break;case"delete":c||(l(i.get(Ut)),zt(e)&&l(i.get(Zs)));break;case"set":zt(e)&&l(i.get(Ut));break}}Rr()}function $t(e){const t=Q(e);return t===e?t:(xe(t,"iterate",wn),Qe(e)?t:t.map(tt))}function _s(e){return xe(e=Q(e),"iterate",wn),e}function ft(e,t){return At(e)?en(Bt(e)?tt(t):t):tt(t)}const ac={__proto__:null,[Symbol.iterator](){return Ms(this,Symbol.iterator,e=>ft(this,e))},concat(...e){return $t(this).concat(...e.map(t=>V(t)?$t(t):t))},entries(){return Ms(this,"entries",e=>(e[1]=ft(this,e[1]),e))},every(e,t){return _t(this,"every",e,t,void 0,arguments)},filter(e,t){return _t(this,"filter",e,t,n=>n.map(s=>ft(this,s)),arguments)},find(e,t){return _t(this,"find",e,t,n=>ft(this,n),arguments)},findIndex(e,t){return _t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return _t(this,"findLast",e,t,n=>ft(this,n),arguments)},findLastIndex(e,t){return _t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return _t(this,"forEach",e,t,void 0,arguments)},includes(...e){return Us(this,"includes",e)},indexOf(...e){return Us(this,"indexOf",e)},join(e){return $t(this).join(e)},lastIndexOf(...e){return Us(this,"lastIndexOf",e)},map(e,t){return _t(this,"map",e,t,void 0,arguments)},pop(){return cn(this,"pop")},push(...e){return cn(this,"push",e)},reduce(e,...t){return Jr(this,"reduce",e,t)},reduceRight(e,...t){return Jr(this,"reduceRight",e,t)},shift(){return cn(this,"shift")},some(e,t){return _t(this,"some",e,t,void 0,arguments)},splice(...e){return cn(this,"splice",e)},toReversed(){return $t(this).toReversed()},toSorted(e){return $t(this).toSorted(e)},toSpliced(...e){return $t(this).toSpliced(...e)},unshift(...e){return cn(this,"unshift",e)},values(){return Ms(this,"values",e=>ft(this,e))}};function Ms(e,t,n){const s=_s(e),r=s[t]();return s!==e&&!Qe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const uc=Array.prototype;function _t(e,t,n,s,r,o){const i=_s(e),l=i!==e&&!Qe(e),c=i[t];if(c!==uc[t]){const f=c.apply(e,o);return l?tt(f):f}let u=n;i!==e&&(l?u=function(f,h){return n.call(this,ft(e,f),h,e)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function Jr(e,t,n,s){const r=_s(e),o=r!==e&&!Qe(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,a,f){return l&&(l=!1,u=ft(e,u)),n.call(this,u,ft(e,a),f,e)}):n.length>3&&(i=function(u,a,f){return n.call(this,u,a,f,e)}));const c=r[t](i,...s);return l?ft(e,c):c}function Us(e,t,n){const s=Q(e);xe(s,"iterate",wn);const r=s[t](...n);return(r===-1||r===!1)&&xr(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function cn(e,t,n=[]){wt(),Er();const s=Q(e)[t].apply(e,n);return Rr(),St(),s}const fc=yr("__proto__,__v_isRef,__isVue"),vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mt));function dc(e){mt(e)||(e=String(e));const t=Q(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Ei{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,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Rc:Ai:o?Si:wi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=V(t);if(!r){let c;if(i&&(c=ac[n]))return c;if(n==="hasOwnProperty")return dc}const l=Reflect.get(t,n,Te(t)?t:s);if((mt(n)?vi.has(n):fc(n))||(r||xe(t,"get",n),o))return l;if(Te(l)){const c=i&&vr(n)?l:l.value;return r&&ee(c)?tr(c):c}return ee(l)?r?tr(l):ys(l):l}}class Ri extends Ei{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=V(t)&&vr(n);if(!this._isShallow){const u=At(o);if(!Qe(s)&&!At(s)&&(o=Q(o),s=Q(s)),!i&&Te(o)&&!Te(s))return u||(o.value=s),!0}const l=i?Number(n)e,Bn=e=>Reflect.getPrototypeOf(e);function _c(e,t,n){return function(...s){const r=this.__v_raw,o=Q(r),i=zt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?er:t?en:tt;return!t&&xe(o,"iterate",c?Zs:Ut),Ae(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:l?[a(f[0]),a(f[1])]:a(f),done:h}}})}}function jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yc(e,t){const n={get(r){const o=this.__v_raw,i=Q(o),l=Q(r);e||(pt(r,l)&&xe(i,"get",r),xe(i,"get",l));const{has:c}=Bn(i),u=t?er:e?en:tt;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&xe(Q(r),"iterate",Ut),r.size},has(r){const o=this.__v_raw,i=Q(o),l=Q(r);return e||(pt(r,l)&&xe(i,"has",r),xe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=Q(l),u=t?er:e?en:tt;return!e&&xe(c,"iterate",Ut),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return Ae(n,e?{add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear")}:{add(r){const o=Q(this),i=Bn(o),l=Q(r),c=!t&&!Qe(r)&&!At(r)?l:r;return i.has.call(o,c)||pt(r,c)&&i.has.call(o,r)||pt(l,c)&&i.has.call(o,l)||(o.add(c),Et(o,"add",c,c)),this},set(r,o){!t&&!Qe(o)&&!At(o)&&(o=Q(o));const i=Q(this),{has:l,get:c}=Bn(i);let u=l.call(i,r);u||(r=Q(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?pt(o,a)&&Et(i,"set",r,o):Et(i,"add",r,o),this},delete(r){const o=Q(this),{has:i,get:l}=Bn(o);let c=i.call(o,r);c||(r=Q(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&Et(o,"delete",r,void 0),u},clear(){const r=Q(this),o=r.size!==0,i=r.clear();return o&&Et(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=_c(r,e,t)}),n}function Ar(e,t){const n=yc(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,o)}const bc={get:Ar(!1,!1)},vc={get:Ar(!1,!0)},Ec={get:Ar(!0,!1)};const wi=new WeakMap,Si=new WeakMap,Ai=new WeakMap,Rc=new WeakMap;function wc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ys(e){return At(e)?e:Or(e,!1,hc,bc,wi)}function Oi(e){return Or(e,!1,gc,vc,Si)}function tr(e){return Or(e,!0,mc,Ec,Ai)}function Or(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=wc(zl(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Bt(e){return At(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function Qe(e){return!!(e&&e.__v_isShallow)}function xr(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Sc(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&ci(e,"__v_skip",!0),e}const tt=e=>ee(e)?ys(e):e,en=e=>ee(e)?tr(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function qe(e){return xi(e,!1)}function Ac(e){return xi(e,!0)}function xi(e,t){return Te(e)?e:new Oc(e,t)}class Oc{constructor(t,n){this.dep=new Sr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:tt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Qe(t)||At(t);t=s?t:Q(t),pt(t,n)&&(this._rawValue=t,this._value=s?t:tt(t),this.dep.trigger())}}function Jt(e){return Te(e)?e.value:e}const xc={get:(e,t,n)=>t==="__v_raw"?e:Jt(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 Ci(e){return Bt(e)?e:new Proxy(e,xc)}class Cc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Sr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return hi(this,!0),!0}get value(){const t=this.dep.track();return _i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tc(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Cc(s,r,n)}const Hn={},Xn=new WeakMap;let Dt;function Pc(e,t=!1,n=Dt){if(n){let s=Xn.get(n);s||Xn.set(n,s=[]),s.push(e)}}function Nc(e,t,n=re){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=C=>r?C:Qe(C)||r===!1||r===0?Rt(C,1):Rt(C);let a,f,h,m,A=!1,y=!1;if(Te(e)?(f=()=>e.value,A=Qe(e)):Bt(e)?(f=()=>u(e),A=!0):V(e)?(y=!0,A=e.some(C=>Bt(C)||Qe(C)),f=()=>e.map(C=>{if(Te(C))return C.value;if(Bt(C))return u(C);if(q(C))return c?c(C,2):C()})):q(e)?t?f=c?()=>c(e,2):e:f=()=>{if(h){wt();try{h()}finally{St()}}const C=Dt;Dt=a;try{return c?c(e,3,[m]):e(m)}finally{Dt=C}}:f=ht,t&&r){const C=f,K=r===!0?1/0:r;f=()=>Rt(C(),K)}const v=ic(),S=()=>{a.stop(),v&&v.active&&br(v.effects,a)};if(o&&t){const C=t;t=(...K)=>{const ne=C(...K);return S(),ne}}let x=y?new Array(e.length).fill(Hn):Hn;const T=C=>{if(!(!(a.flags&1)||!a.dirty&&!C))if(t){const K=a.run();if(C||r||A||(y?K.some((ne,Z)=>pt(ne,x[Z])):pt(K,x))){h&&h();const ne=Dt;Dt=a;try{const Z=[K,x===Hn?void 0:y&&x[0]===Hn?[]:x,m];x=K,c?c(t,3,Z):t(...Z)}finally{Dt=ne}}}else a.run()};return l&&l(T),a=new di(f),a.scheduler=i?()=>i(T,!1):T,m=C=>Pc(C,!1,a),h=a.onStop=()=>{const C=Xn.get(a);if(C){if(c)c(C,4);else for(const K of C)K();Xn.delete(a)}},t?s?T(!0):x=a.run():i?i(T.bind(null,!0),!0):a.run(),S.pause=a.pause.bind(a),S.resume=a.resume.bind(a),S.stop=S,S}function Rt(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))Rt(e.value,t,n);else if(V(e))for(let s=0;s{Rt(s,t,n)});else if(li(e)){for(const s in e)Rt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Rt(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Pn(e,t,n,s){try{return s?e(...s):e()}catch(r){bs(r,t,n)}}function nt(e,t,n,s){if(q(e)){const r=Pn(e,t,n,s);return r&&oi(r)&&r.catch(o=>{bs(o,t,n)}),r}if(V(e)){const r=[];for(let o=0;o>>1,r=Ie[s],o=Sn(r);o=Sn(n)?Ie.push(e):Ie.splice(Dc(t),0,e),e.flags|=1,Pi()}}function Pi(){Qn||(Qn=Ti.then(Ii))}function Lc(e){V(e)?Xt.push(...e):Ct&&e.id===-1?Ct.splice(Kt+1,0,e):e.flags&1||(Xt.push(e),e.flags|=1),Pi()}function Xr(e,t,n=ut+1){for(;nSn(n)-Sn(s));if(Xt.length=0,Ct){Ct.push(...t);return}for(Ct=t,Kt=0;Kte.id==null?e.flags&2?-1:1/0:e.id;function Ii(e){try{for(ut=0;ut{s._d&&ns(-1);const o=Yn(t);let i;try{i=e(...r)}finally{Yn(o),s._d&&ns(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Qr(e,t){if(Ke===null)return e;const n=Ss(Ke),s=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&q(t)?t.call(s&&s.proxy):t}}const Fc=Symbol.for("v-scx"),Mc=()=>et(Fc);function qn(e,t,n){return Li(e,t,n)}function Li(e,t,n=re){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ae({},n),c=t&&s||!t&&o!=="post";let u;if(On){if(o==="sync"){const m=Mc();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ht,m.resume=ht,m.pause=ht,m}}const a=Ce;l.call=(m,A,y)=>nt(m,a,A,y);let f=!1;o==="post"?l.scheduler=m=>{Be(m,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,A)=>{A?m():Tr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const h=Nc(e,t,l);return On&&(u?u.push(h):c&&h()),h}function Uc(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Fi(s,e):()=>s[e]:e.bind(s,s);let o;q(t)?o=t:(o=t.handler,n=t);const i=In(this),l=Li(r,o.bind(s),n);return i(),l}function Fi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,Bs=Symbol("_leaveCb");function Pr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Pr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mi(e,t){return q(e)?Ae({name:e.name},t,{setup:e}):e}function Ui(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Zn=new WeakMap;function _n(e,t,n,s,r=!1){if(V(e)){e.forEach((y,v)=>_n(y,t&&(V(t)?t[v]:t),n,s,r));return}if(yn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&_n(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Ss(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===re?l.refs={}:l.refs,f=l.setupState,h=Q(f),m=f===re?ri:y=>Yr(a,y)?!1:Y(h,y),A=(y,v)=>!(v&&Yr(a,v));if(u!=null&&u!==c){if(Zr(t),pe(u))a[u]=null,m(u)&&(f[u]=null);else if(Te(u)){const y=t;A(u,y.k)&&(u.value=null),y.k&&(a[y.k]=null)}}if(q(c))Pn(c,l,12,[i,a]);else{const y=pe(c),v=Te(c);if(y||v){const S=()=>{if(e.f){const x=y?m(c)?f[c]:a[c]:A()||!e.k?c.value:a[e.k];if(r)V(x)&&br(x,o);else if(V(x))x.includes(o)||x.push(o);else if(y)a[c]=[o],m(c)&&(f[c]=a[c]);else{const T=[o];A(c,e.k)&&(c.value=T),e.k&&(a[e.k]=T)}}else y?(a[c]=i,m(c)&&(f[c]=i)):v&&(A(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const x=()=>{S(),Zn.delete(e)};x.id=-1,Zn.set(e,x),Be(x,n)}else Zr(e),S()}}}function Zr(e){const t=Zn.get(e);t&&(t.flags|=8,Zn.delete(e))}hs().requestIdleCallback;hs().cancelIdleCallback;const yn=e=>!!e.type.__asyncLoader,Bi=e=>e.type.__isKeepAlive;function Hc(e,t){ji(e,"a",t)}function kc(e,t){ji(e,"da",t)}function ji(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(vs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bi(r.parent.vnode)&&Vc(s,t,n,r),r=r.parent}}function Vc(e,t,n,s){const r=vs(t,e,s,!0);Hi(()=>{br(s[t],r)},n)}function vs(e,t,n=Ce,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{wt();const l=In(n),c=nt(t,n,e,i);return l(),St(),c});return s?r.unshift(o):r.push(o),o}}const Ot=e=>(t,n=Ce)=>{(!On||e==="sp")&&vs(e,(...s)=>t(...s),n)},$c=Ot("bm"),Es=Ot("m"),qc=Ot("bu"),Kc=Ot("u"),Wc=Ot("bum"),Hi=Ot("um"),Gc=Ot("sp"),zc=Ot("rtg"),Jc=Ot("rtc");function Xc(e,t=Ce){vs("ec",e,t)}const Qc="components";function Nn(e,t){return Zc(Qc,e,!0,t)||e}const Yc=Symbol.for("v-ndc");function Zc(e,t,n=!0,s=!1){const r=Ke||Ce;if(r){const o=r.type;{const l=Ba(o,!1);if(l&&(l===t||l===De(t)||l===ds(De(t))))return o}const i=eo(r[e]||o[e],t)||eo(r.appContext[e],t);return!i&&s?o:i}}function eo(e,t){return e&&(e[t]||e[De(t)]||e[ds(De(t))])}function es(e,t,n,s){let r;const o=n,i=V(e);if(i||pe(e)){const l=i&&Bt(e);let c=!1,u=!1;l&&(c=!Qe(e),u=At(e),e=_s(e)),r=new Array(e.length);for(let a=0,f=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?ll(e)?Ss(e):nr(e.parent):null,bn=Ae(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=>nr(e.parent),$root:e=>nr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vi(e),$forceUpdate:e=>e.f||(e.f=()=>{Tr(e.update)}),$nextTick:e=>e.n||(e.n=Cr.bind(e.proxy)),$watch:e=>Uc.bind(e)}),js=(e,t)=>e!==re&&!e.__isScriptSetup&&Y(e,t),ea={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(js(s,t))return i[t]=1,s[t];if(r!==re&&Y(r,t))return i[t]=2,r[t];if(Y(o,t))return i[t]=3,o[t];if(n!==re&&Y(n,t))return i[t]=4,n[t];sr&&(i[t]=0)}}const u=bn[t];let a,f;if(u)return t==="$attrs"&&xe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==re&&Y(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,Y(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return js(r,t)?(r[t]=n,!0):s!==re&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==re&&l[0]!=="$"&&Y(e,l)||js(t,l)||Y(o,l)||Y(s,l)||Y(bn,l)||Y(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function to(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let sr=!0;function ta(e){const t=Vi(e),n=e.proxy,s=e.ctx;sr=!1,t.beforeCreate&&no(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:h,beforeUpdate:m,updated:A,activated:y,deactivated:v,beforeDestroy:S,beforeUnmount:x,destroyed:T,unmounted:C,render:K,renderTracked:ne,renderTriggered:Z,errorCaptured:Fe,serverPrefetch:Ye,expose:_e,inheritAttrs:be,components:Ge,directives:Ve,filters:Oe}=t;if(u&&na(u,s,null),i)for(const J in i){const G=i[J];q(G)&&(s[J]=G.bind(n))}if(r){const J=r.call(n,n);ee(J)&&(e.data=ys(J))}if(sr=!0,o)for(const J in o){const G=o[J],ze=q(G)?G.bind(n,n):q(G.get)?G.get.bind(n,n):ht,ve=!q(G)&&q(G.set)?G.set.bind(n):ht,ue=He({get:ze,set:ve});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>ue.value,set:fe=>ue.value=fe})}if(l)for(const J in l)ki(l[J],s,n,J);if(c){const J=q(c)?c.call(n):c;Reflect.ownKeys(J).forEach(G=>{$n(G,J[G])})}a&&no(a,e,"c");function ae(J,G){V(G)?G.forEach(ze=>J(ze.bind(n))):G&&J(G.bind(n))}if(ae($c,f),ae(Es,h),ae(qc,m),ae(Kc,A),ae(Hc,y),ae(kc,v),ae(Xc,Fe),ae(Jc,ne),ae(zc,Z),ae(Wc,x),ae(Hi,C),ae(Gc,Ye),V(_e))if(_e.length){const J=e.exposed||(e.exposed={});_e.forEach(G=>{Object.defineProperty(J,G,{get:()=>n[G],set:ze=>n[G]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});K&&e.render===ht&&(e.render=K),be!=null&&(e.inheritAttrs=be),Ge&&(e.components=Ge),Ve&&(e.directives=Ve),Ye&&Ui(e)}function na(e,t,n=ht){V(e)&&(e=rr(e));for(const s in e){const r=e[s];let o;ee(r)?"default"in r?o=et(r.from||s,r.default,!0):o=et(r.from||s):o=et(r),Te(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function no(e,t,n){nt(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ki(e,t,n,s){let r=s.includes(".")?Fi(n,s):()=>n[s];if(pe(e)){const o=t[e];q(o)&&qn(r,o)}else if(q(e))qn(r,e.bind(n));else if(ee(e))if(V(e))e.forEach(o=>ki(o,t,n,s));else{const o=q(e.handler)?e.handler.bind(n):t[e.handler];q(o)&&qn(r,o,e)}}function Vi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ts(c,u,i,!0)),ts(c,t,i)),ee(t)&&o.set(t,c),c}function ts(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ts(e,o,n,!0),r&&r.forEach(i=>ts(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=sa[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const sa={data:so,props:ro,emits:ro,methods:dn,computed:dn,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:dn,directives:dn,watch:oa,provide:so,inject:ra};function so(e,t){return t?e?function(){return Ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function ra(e,t){return dn(rr(e),rr(t))}function rr(e){if(V(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${Vt(t)}Modifiers`];function aa(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||re;let r=n;const o=t.startsWith("update:"),i=o&&ca(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>pe(a)?a.trim():a)),i.number&&(r=n.map(ps)));let l,c=s[l=Ds(t)]||s[l=Ds(De(t))];!c&&o&&(c=s[l=Ds(Vt(t))]),c&&nt(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,nt(u,e,6,r)}}const ua=new WeakMap;function qi(e,t,n=!1){const s=n?ua:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!q(e)){const c=u=>{const a=qi(u,t,!0);a&&(l=!0,Ae(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ee(e)&&s.set(e,null),null):(V(o)?o.forEach(c=>i[c]=null):Ae(i,o),ee(e)&&s.set(e,i),i)}function Rs(e,t){return!e||!cs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,Vt(t))||Y(e,t))}function oo(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:h,setupState:m,ctx:A,inheritAttrs:y}=e,v=Yn(e);let S,x;try{if(n.shapeFlag&4){const C=r||s,K=C;S=dt(u.call(K,C,a,f,m,h,A)),x=l}else{const C=t;S=dt(C.length>1?C(f,{attrs:l,slots:i,emit:c}):C(f,null)),x=t.props?l:fa(l)}}catch(C){vn.length=0,bs(C,e,1),S=le(Pt)}let T=S;if(x&&y!==!1){const C=Object.keys(x),{shapeFlag:K}=T;C.length&&K&7&&(o&&C.some(as)&&(x=da(x,o)),T=tn(T,x,!1,!0))}return n.dirs&&(T=tn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&Pr(T,n.transition),S=T,Yn(v),S}const fa=e=>{let t;for(const n in e)(n==="class"||n==="style"||cs(n))&&((t||(t={}))[n]=e[n]);return t},da=(e,t)=>{const n={};for(const s in e)(!as(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pa(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?io(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;fObject.create(Wi),zi=e=>Object.getPrototypeOf(e)===Wi;function ma(e,t,n,s=!1){const r={},o=Gi();e.propsDefaults=Object.create(null),Ji(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Oi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function ga(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Q(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[h,m]=Xi(f,t,!0);Ae(i,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return ee(e)&&s.set(e,Gt),Gt;if(V(o))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",Ir=e=>V(e)?e.map(dt):[dt(e)],ya=(e,t,n)=>{if(t._n)return t;const s=Je((...r)=>Ir(t(...r)),n);return s._c=!1,s},Qi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Nr(r))continue;const o=e[r];if(q(o))t[r]=ya(r,o,s);else if(o!=null){const i=Ir(o);t[r]=()=>i}}},Yi=(e,t)=>{const n=Ir(t);e.slots.default=()=>n},Zi=(e,t,n)=>{for(const s in t)(n||!Nr(s))&&(e[s]=t[s])},ba=(e,t,n)=>{const s=e.slots=Gi();if(e.vnode.shapeFlag&32){const r=t._;r?(Zi(s,t,n),n&&ci(s,"_",r,!0)):Qi(t,s)}else t&&Yi(e,t)},va=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=re;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Zi(r,t,n):(o=!t.$stable,Qi(t,r)),i=t}else t&&(Yi(e,t),i={default:1});if(o)for(const l in r)!Nr(l)&&i[l]==null&&delete r[l]},Be=Aa;function Ea(e){return Ra(e)}function Ra(e,t){const n=hs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:h,setScopeId:m=ht,insertStaticContent:A}=e,y=(d,p,g,E=null,w=null,b=null,F=void 0,N=null,P=!!p.dynamicChildren)=>{if(d===p)return;d&&!an(d,p)&&(E=R(d),fe(d,w,b,!0),d=null),p.patchFlag===-2&&(P=!1,p.dynamicChildren=null);const{type:O,ref:k,shapeFlag:M}=p;switch(O){case ws:v(d,p,g,E);break;case Pt:S(d,p,g,E);break;case Kn:d==null&&x(p,g,E,F);break;case je:Ge(d,p,g,E,w,b,F,N,P);break;default:M&1?K(d,p,g,E,w,b,F,N,P):M&6?Ve(d,p,g,E,w,b,F,N,P):(M&64||M&128)&&O.process(d,p,g,E,w,b,F,N,P,B)}k!=null&&w?_n(k,d&&d.ref,b,p||d,!p):k==null&&d&&d.ref!=null&&_n(d.ref,null,b,d,!0)},v=(d,p,g,E)=>{if(d==null)s(p.el=l(p.children),g,E);else{const w=p.el=d.el;p.children!==d.children&&u(w,p.children)}},S=(d,p,g,E)=>{d==null?s(p.el=c(p.children||""),g,E):p.el=d.el},x=(d,p,g,E)=>{[d.el,d.anchor]=A(d.children,p,g,E,d.el,d.anchor)},T=({el:d,anchor:p},g,E)=>{let w;for(;d&&d!==p;)w=h(d),s(d,g,E),d=w;s(p,g,E)},C=({el:d,anchor:p})=>{let g;for(;d&&d!==p;)g=h(d),r(d),d=g;r(p)},K=(d,p,g,E,w,b,F,N,P)=>{if(p.type==="svg"?F="svg":p.type==="math"&&(F="mathml"),d==null)ne(p,g,E,w,b,F,N,P);else{const O=d.el&&d.el._isVueCE?d.el:null;try{O&&O._beginPatch(),Ye(d,p,w,b,F,N,P)}finally{O&&O._endPatch()}}},ne=(d,p,g,E,w,b,F,N)=>{let P,O;const{props:k,shapeFlag:M,transition:H,dirs:$}=d;if(P=d.el=i(d.type,b,k&&k.is,k),M&8?a(P,d.children):M&16&&Fe(d.children,P,null,E,w,Hs(d,b),F,N),$&&Nt(d,null,E,"created"),Z(P,d,d.scopeId,F,E),k){for(const se in k)se!=="value"&&!hn(se)&&o(P,se,null,k[se],b,E);"value"in k&&o(P,"value",null,k.value,b),(O=k.onVnodeBeforeMount)&&at(O,E,d)}$&&Nt(d,null,E,"beforeMount");const W=wa(w,H);W&&H.beforeEnter(P),s(P,p,g),((O=k&&k.onVnodeMounted)||W||$)&&Be(()=>{try{O&&at(O,E,d),W&&H.enter(P),$&&Nt(d,null,E,"mounted")}finally{}},w)},Z=(d,p,g,E,w)=>{if(g&&m(d,g),E)for(let b=0;b{for(let O=P;O{const N=p.el=d.el;let{patchFlag:P,dynamicChildren:O,dirs:k}=p;P|=d.patchFlag&16;const M=d.props||re,H=p.props||re;let $;if(g&&It(g,!1),($=H.onVnodeBeforeUpdate)&&at($,g,p,d),k&&Nt(p,d,g,"beforeUpdate"),g&&It(g,!0),(M.innerHTML&&H.innerHTML==null||M.textContent&&H.textContent==null)&&a(N,""),O?_e(d.dynamicChildren,O,N,g,E,Hs(p,w),b):F||G(d,p,N,null,g,E,Hs(p,w),b,!1),P>0){if(P&16)be(N,M,H,g,w);else if(P&2&&M.class!==H.class&&o(N,"class",null,H.class,w),P&4&&o(N,"style",M.style,H.style,w),P&8){const W=p.dynamicProps;for(let se=0;se{$&&at($,g,p,d),k&&Nt(p,d,g,"updated")},E)},_e=(d,p,g,E,w,b,F)=>{for(let N=0;N{if(p!==g){if(p!==re)for(const b in p)!hn(b)&&!(b in g)&&o(d,b,p[b],null,w,E);for(const b in g){if(hn(b))continue;const F=g[b],N=p[b];F!==N&&b!=="value"&&o(d,b,N,F,w,E)}"value"in g&&o(d,"value",p.value,g.value,w)}},Ge=(d,p,g,E,w,b,F,N,P)=>{const O=p.el=d?d.el:l(""),k=p.anchor=d?d.anchor:l("");let{patchFlag:M,dynamicChildren:H,slotScopeIds:$}=p;$&&(N=N?N.concat($):$),d==null?(s(O,g,E),s(k,g,E),Fe(p.children||[],g,k,w,b,F,N,P)):M>0&&M&64&&H&&d.dynamicChildren&&d.dynamicChildren.length===H.length?(_e(d.dynamicChildren,H,g,w,b,F,N),(p.key!=null||w&&p===w.subTree)&&el(d,p,!0)):G(d,p,g,k,w,b,F,N,P)},Ve=(d,p,g,E,w,b,F,N,P)=>{p.slotScopeIds=N,d==null?p.shapeFlag&512?w.ctx.activate(p,g,E,F,P):Oe(p,g,E,w,b,F,P):ot(d,p,P)},Oe=(d,p,g,E,w,b,F)=>{const N=d.component=Ia(d,E,w);if(Bi(d)&&(N.ctx.renderer=B),La(N,!1,F),N.asyncDep){if(w&&w.registerDep(N,ae,F),!d.el){const P=N.subTree=le(Pt);S(null,P,p,g),d.placeholder=P.el}}else ae(N,d,p,g,w,b,F)},ot=(d,p,g)=>{const E=p.component=d.component;if(pa(d,p,g))if(E.asyncDep&&!E.asyncResolved){J(E,p,g);return}else E.next=p,E.update();else p.el=d.el,E.vnode=p},ae=(d,p,g,E,w,b,F)=>{const N=()=>{if(d.isMounted){let{next:M,bu:H,u:$,parent:W,vnode:se}=d;{const lt=tl(d);if(lt){M&&(M.el=se.el,J(d,M,F)),lt.asyncDep.then(()=>{Be(()=>{d.isUnmounted||O()},w)});return}}let te=M,ge;It(d,!1),M?(M.el=se.el,J(d,M,F)):M=se,H&&Vn(H),(ge=M.props&&M.props.onVnodeBeforeUpdate)&&at(ge,W,M,se),It(d,!0);const Re=oo(d),it=d.subTree;d.subTree=Re,y(it,Re,f(it.el),R(it),d,w,b),M.el=Re.el,te===null&&ha(d,Re.el),$&&Be($,w),(ge=M.props&&M.props.onVnodeUpdated)&&Be(()=>at(ge,W,M,se),w)}else{let M;const{el:H,props:$}=p,{bm:W,m:se,parent:te,root:ge,type:Re}=d,it=yn(p);It(d,!1),W&&Vn(W),!it&&(M=$&&$.onVnodeBeforeMount)&&at(M,te,p),It(d,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(Re,d.parent?d.parent.type:void 0);const lt=d.subTree=oo(d);y(null,lt,g,E,d,w,b),p.el=lt.el}if(se&&Be(se,w),!it&&(M=$&&$.onVnodeMounted)){const lt=p;Be(()=>at(M,te,lt),w)}(p.shapeFlag&256||te&&yn(te.vnode)&&te.vnode.shapeFlag&256)&&d.a&&Be(d.a,w),d.isMounted=!0,p=g=E=null}};d.scope.on();const P=d.effect=new di(N);d.scope.off();const O=d.update=P.run.bind(P),k=d.job=P.runIfDirty.bind(P);k.i=d,k.id=d.uid,P.scheduler=()=>Tr(k),It(d,!0),O()},J=(d,p,g)=>{p.component=d;const E=d.vnode.props;d.vnode=p,d.next=null,ga(d,p.props,E,g),va(d,p.children,g),wt(),Xr(d),St()},G=(d,p,g,E,w,b,F,N,P=!1)=>{const O=d&&d.children,k=d?d.shapeFlag:0,M=p.children,{patchFlag:H,shapeFlag:$}=p;if(H>0){if(H&128){ve(O,M,g,E,w,b,F,N,P);return}else if(H&256){ze(O,M,g,E,w,b,F,N,P);return}}$&8?(k&16&&Me(O,w,b),M!==O&&a(g,M)):k&16?$&16?ve(O,M,g,E,w,b,F,N,P):Me(O,w,b,!0):(k&8&&a(g,""),$&16&&Fe(M,g,E,w,b,F,N,P))},ze=(d,p,g,E,w,b,F,N,P)=>{d=d||Gt,p=p||Gt;const O=d.length,k=p.length,M=Math.min(O,k);let H;for(H=0;Hk?Me(d,w,b,!0,!1,M):Fe(p,g,E,w,b,F,N,P,M)},ve=(d,p,g,E,w,b,F,N,P)=>{let O=0;const k=p.length;let M=d.length-1,H=k-1;for(;O<=M&&O<=H;){const $=d[O],W=p[O]=P?vt(p[O]):dt(p[O]);if(an($,W))y($,W,g,null,w,b,F,N,P);else break;O++}for(;O<=M&&O<=H;){const $=d[M],W=p[H]=P?vt(p[H]):dt(p[H]);if(an($,W))y($,W,g,null,w,b,F,N,P);else break;M--,H--}if(O>M){if(O<=H){const $=H+1,W=$H)for(;O<=M;)fe(d[O],w,b,!0),O++;else{const $=O,W=O,se=new Map;for(O=W;O<=H;O++){const $e=p[O]=P?vt(p[O]):dt(p[O]);$e.key!=null&&se.set($e.key,O)}let te,ge=0;const Re=H-W+1;let it=!1,lt=0;const ln=new Array(Re);for(O=0;O=Re){fe($e,w,b,!0);continue}let ct;if($e.key!=null)ct=se.get($e.key);else for(te=W;te<=H;te++)if(ln[te-W]===0&&an($e,p[te])){ct=te;break}ct===void 0?fe($e,w,b,!0):(ln[ct-W]=O+1,ct>=lt?lt=ct:it=!0,y($e,p[ct],g,null,w,b,F,N,P),ge++)}const $r=it?Sa(ln):Gt;for(te=$r.length-1,O=Re-1;O>=0;O--){const $e=W+O,ct=p[$e],qr=p[$e+1],Kr=$e+1{const{el:b,type:F,transition:N,children:P,shapeFlag:O}=d;if(O&6){ue(d.component.subTree,p,g,E);return}if(O&128){d.suspense.move(p,g,E);return}if(O&64){F.move(d,p,g,B);return}if(F===je){s(b,p,g);for(let M=0;MN.enter(b),w));else{const{leave:M,delayLeave:H,afterLeave:$}=N,W=()=>{d.ctx.isUnmounted?r(b):s(b,p,g)},se=()=>{const te=b._isLeaving||!!b[Bs];b._isLeaving&&b[Bs](!0),N.persisted&&!te?W():M(b,()=>{W(),$&&$()})};H?H(b,W,se):se()}else s(b,p,g)},fe=(d,p,g,E=!1,w=!1)=>{const{type:b,props:F,ref:N,children:P,dynamicChildren:O,shapeFlag:k,patchFlag:M,dirs:H,cacheIndex:$,memo:W}=d;if(M===-2&&(w=!1),N!=null&&(wt(),_n(N,null,g,d,!0),St()),$!=null&&(p.renderCache[$]=void 0),k&256){p.ctx.deactivate(d);return}const se=k&1&&H,te=!yn(d);let ge;if(te&&(ge=F&&F.onVnodeBeforeUnmount)&&at(ge,p,d),k&6)Ee(d.component,g,E);else{if(k&128){d.suspense.unmount(g,E);return}se&&Nt(d,null,p,"beforeUnmount"),k&64?d.type.remove(d,p,g,B,E):O&&!O.hasOnce&&(b!==je||M>0&&M&64)?Me(O,p,g,!1,!0):(b===je&&M&384||!w&&k&16)&&Me(P,p,g),E&>(d)}const Re=W!=null&&$==null;(te&&(ge=F&&F.onVnodeUnmounted)||se||Re)&&Be(()=>{ge&&at(ge,p,d),se&&Nt(d,null,p,"unmounted"),Re&&(d.el=null)},g)},gt=d=>{const{type:p,el:g,anchor:E,transition:w}=d;if(p===je){z(g,E);return}if(p===Kn){C(d);return}const b=()=>{r(g),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:F,delayLeave:N}=w,P=()=>F(g,b);N?N(d.el,b,P):P()}else b()},z=(d,p)=>{let g;for(;d!==p;)g=h(d),r(d),d=g;r(p)},Ee=(d,p,g)=>{const{bum:E,scope:w,job:b,subTree:F,um:N,m:P,a:O}=d;co(P),co(O),E&&Vn(E),w.stop(),b&&(b.flags|=8,fe(F,d,p,g)),N&&Be(N,p),Be(()=>{d.isUnmounted=!0},p)},Me=(d,p,g,E=!1,w=!1,b=0)=>{for(let F=b;F{if(d.shapeFlag&6)return R(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),g=p&&p[Bc];return g?h(g):p};let I=!1;const D=(d,p,g)=>{let E;d==null?p._vnode&&(fe(p._vnode,null,null,!0),E=p._vnode.component):y(p._vnode||null,d,p,null,null,null,g),p._vnode=d,I||(I=!0,Xr(E),Ni(),I=!1)},B={p:y,um:fe,m:ue,r:gt,mt:Oe,mc:Fe,pc:G,pbc:_e,n:R,o:e};return{render:D,hydrate:void 0,createApp:la(D)}}function Hs({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 It({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function wa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function el(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function tl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tl(t)}function co(e){if(e)for(let t=0;te.__isSuspense;function Aa(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Lc(e)}const je=Symbol.for("v-fgt"),ws=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Kn=Symbol.for("v-stc"),vn=[];let We=null;function oe(e=!1){vn.push(We=e?null:[])}function Oa(){vn.pop(),We=vn[vn.length-1]||null}let An=1;function ns(e,t=!1){An+=e,e<0&&We&&t&&(We.hasOnce=!0)}function rl(e){return e.dynamicChildren=An>0?We||Gt:null,Oa(),An>0&&We&&We.push(e),e}function ce(e,t,n,s,r,o){return rl(U(e,t,n,s,r,o,!0))}function ol(e,t,n,s,r){return rl(le(e,t,n,s,r,!0))}function ss(e){return e?e.__v_isVNode===!0:!1}function an(e,t){return e.type===t.type&&e.key===t.key}const il=({key:e})=>e??null,Wn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?pe(e)||Te(e)||q(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,s=0,r=null,o=e===je?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&il(t),ref:t&&Wn(t),scopeId:Di,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Dr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),An>0&&!i&&We&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&We.push(c),c}const le=xa;function xa(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Yc)&&(e=Pt),ss(e)){const l=tn(e,t,!0);return n&&Dr(l,n),An>0&&!o&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(ja(e)&&(e=e.__vccOpts),t){t=Ca(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=gs(l)),ee(c)&&(xr(c)&&!V(c)&&(c=Ae({},c)),t.style=ms(c))}const i=pe(e)?1:sl(e)?128:jc(e)?64:ee(e)?4:q(e)?2:0;return U(e,t,n,s,r,i,o,!0)}function Ca(e){return e?xr(e)||zi(e)?Ae({},e):e:null}function tn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Ta(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&il(u),ref:t&&t.ref?n&&o?V(o)?o.concat(Wn(t)):[o,Wn(t)]:Wn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Pr(a,c.clone(a)),a}function Xe(e=" ",t=0){return le(ws,null,e,t)}function ir(e,t){const n=le(Kn,null,e);return n.staticCount=t,n}function Yt(e="",t=!1){return t?(oe(),ol(Pt,null,e)):le(Pt,null,e)}function dt(e){return e==null||typeof e=="boolean"?le(Pt):V(e)?le(je,null,e.slice()):ss(e)?vt(e):le(ws,null,String(e))}function vt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function Dr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Dr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!zi(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[Xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ta(...e){const t={};for(let n=0;nCe||Ke;let rs,lr;{const e=hs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};rs=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),lr=t("__VUE_SSR_SETTERS__",n=>On=n)}const In=e=>{const t=Ce;return rs(e),e.scope.on(),()=>{e.scope.off(),rs(t)}},ao=()=>{Ce&&Ce.scope.off(),rs(null)};function ll(e){return e.vnode.shapeFlag&4}let On=!1;function La(e,t=!1,n=!1){t&&lr(t);const{props:s,children:r}=e.vnode,o=ll(e);ma(e,s,o,t),ba(e,r,n||t);const i=o?Fa(e,t):void 0;return t&&lr(!1),i}function Fa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ea);const{setup:s}=n;if(s){wt();const r=e.setupContext=s.length>1?Ua(e):null,o=In(e),i=Pn(s,e,0,[e.props,r]),l=oi(i);if(St(),o(),(l||e.sp)&&!yn(e)&&Ui(e),l){if(i.then(ao,ao),t)return i.then(c=>{uo(e,c)}).catch(c=>{bs(c,e,0)});e.asyncDep=i}else uo(e,i)}else cl(e)}function uo(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Ci(t)),cl(e)}function cl(e,t,n){const s=e.type;e.render||(e.render=s.render||ht);{const r=In(e);wt();try{ta(e)}finally{St(),r()}}}const Ma={get(e,t){return xe(e,"get",""),e[t]}};function Ua(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ma),slots:e.slots,emit:e.emit,expose:t}}function Ss(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Sc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bn)return bn[n](e)},has(t,n){return n in t||n in bn}})):e.proxy}function Ba(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function ja(e){return q(e)&&"__vccOpts"in e}const He=(e,t)=>Tc(e,t,On);function al(e,t,n){try{ns(-1);const s=arguments.length;return s===2?ee(t)&&!V(t)?ss(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ss(n)&&(n=[n]),le(e,t,n))}finally{ns(1)}}const Ha="3.5.38";/** * @vue/runtime-dom v3.5.38 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let cr;const fo=typeof window<"u"&&window.trustedTypes;if(fo)try{cr=fo.createPolicy("vue",{createHTML:e=>e})}catch{}const ul=cr?e=>cr.createHTML(e):e=>e,ka="http://www.w3.org/2000/svg",Va="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,po=bt&&bt.createElement("template"),$a={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"?bt.createElementNS(ka,e):t==="mathml"?bt.createElementNS(Va,e):n?bt.createElement(e,{is:n}):bt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>bt.createTextNode(e),createComment:e=>bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{po.innerHTML=ul(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=po.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qa=Symbol("_vtc");function Ka(e,t,n){const s=e[qa];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ho=Symbol("_vod"),Wa=Symbol("_vsh"),Ga=Symbol(""),za=/(?:^|;)\s*display\s*:/;function Ja(e,t,n){const s=e.style,r=pe(n);let o=!1;if(n&&!r){if(t)if(pe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&pn(s,l,"")}else for(const i in t)n[i]==null&&pn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Qa(e,i,!pe(t)&&t?t[i]:void 0,l)||pn(s,i,l):pn(s,i,"")}}else if(r){if(t!==n){const i=s[Ga];i&&(n+=";"+i),s.cssText=n,o=za.test(n)}}else t&&e.removeAttribute("style");ho in e&&(e[ho]=o?s.display:"",e[Wa]&&(s.display="none"))}const mo=/\s*!important$/;function pn(e,t,n){if(V(n))n.forEach(s=>pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Xa(e,t);mo.test(n)?e.setProperty(Vt(s),n.replace(mo,""),"important"):e[s]=n}}const go=["Webkit","Moz","ms"],ks={};function Xa(e,t){const n=ks[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return ks[t]=s;s=ds(s);for(let r=0;rVs||(tu.then(()=>Vs=0),Vs=Date.now());function su(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(V(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ru=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ka(e,s,i):t==="style"?Ja(e,n,s):cs(t)?as(t)||Za(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ou(e,t,s,i))?(bo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&yo(e,t,s,i,o,t!=="value")):e._isVueCE&&(iu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!pe(s)))?bo(e,De(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),yo(e,t,s,i))};function ou(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ro(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 Ro(t)&&pe(n)?!1:t in e}function iu(e,t){const n=e._def.props;if(!n)return!1;const s=De(t);return Array.isArray(n)?n.some(r=>De(r)===s):Object.keys(n).some(r=>De(r)===s)}const os=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Vn(t,n):t};function lu(e){e.target.composing=!0}function wo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Zt=Symbol("_assign");function So(e,t,n){return t&&(e=e.trim()),n&&(e=ps(e)),e}const cu={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Zt]=os(r);const o=s||r.props&&r.props.type==="number";Lt(e,t?"change":"input",i=>{i.target.composing||e[Zt](So(e.value,n,o))}),(n||o)&&Lt(e,"change",()=>{e.value=So(e.value,n,o)}),t||(Lt(e,"compositionstart",lu),Lt(e,"compositionend",wo),Lt(e,"change",wo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Zt]=os(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ps(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},au={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=us(t);Lt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ps(is(i)):is(i));e[Zt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Cr(()=>{e._assigning=!1})}),e[Zt]=os(s)},mounted(e,{value:t}){Ao(e,t)},beforeUpdate(e,t,n){e[Zt]=os(n)},updated(e,{value:t}){e._assigning||Ao(e,t)}};function Ao(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!us(t))){for(let r=0,o=e.options.length;rString(u)===String(l)):i.selected=rc(t,l)>-1}else i.selected=t.has(l);else if(Tn(is(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function is(e){return"_value"in e?e._value:e.value}const uu=Ae({patchProp:ru},$a);let Oo;function fu(){return Oo||(Oo=Ea(uu))}const du=(...e)=>{const t=fu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=hu(s);if(!r)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,pu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function pu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hu(e){return pe(e)?document.querySelector(e):e}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Wt=typeof document<"u";function fl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function mu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&fl(e.default)}const X=Object.assign;function $s(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const En=()=>{},st=Array.isArray;function xo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const dl=/#/g,gu=/&/g,_u=/\//g,yu=/=/g,bu=/\?/g,pl=/\+/g,vu=/%5B/g,Eu=/%5D/g,hl=/%5E/g,Ru=/%60/g,ml=/%7B/g,wu=/%7C/g,gl=/%7D/g,Su=/%20/g;function Lr(e){return e==null?"":encodeURI(""+e).replace(wu,"|").replace(vu,"[").replace(Eu,"]")}function Au(e){return Lr(e).replace(ml,"{").replace(gl,"}").replace(hl,"^")}function ar(e){return Lr(e).replace(pl,"%2B").replace(Su,"+").replace(dl,"%23").replace(gu,"%26").replace(Ru,"`").replace(ml,"{").replace(gl,"}").replace(hl,"^")}function Ou(e){return ar(e).replace(yu,"%3D")}function xu(e){return Lr(e).replace(dl,"%23").replace(bu,"%3F")}function Cu(e){return xu(e).replace(_u,"%2F")}function xn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Tu=/\/$/,Pu=e=>e.replace(Tu,"");function qs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Lu(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:xn(i)}}function Nu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Co(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Iu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&nn(t.matched[s],n.matched[r])&&_l(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _l(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Du(e[n],t[n]))return!1;return!0}function Du(e,t){return st(e)?To(e,t):st(t)?To(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function To(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lu(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 o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ur=function(e){return e.pop="pop",e.push="push",e}({}),Ks=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Fu(e){if(!e)if(Wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Pu(e)}const Mu=/^[^#]+#/;function Uu(e,t){return e.replace(Mu,"#")+t}function Bu(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 As=()=>({left:window.scrollX,top:window.scrollY});function ju(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=Bu(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 Po(e,t){return(history.state?history.state.position-t:-1)+e}const fr=new Map;function Hu(e,t){fr.set(e,t)}function ku(e){const t=fr.get(e);return fr.delete(e),t}function Vu(e){return typeof e=="string"||e&&typeof e=="object"}function yl(e){return typeof e=="string"||typeof e=="symbol"}let de=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 bl=Symbol("");de.MATCHER_NOT_FOUND+"",de.NAVIGATION_GUARD_REDIRECT+"",de.NAVIGATION_ABORTED+"",de.NAVIGATION_CANCELLED+"",de.NAVIGATION_DUPLICATED+"";function sn(e,t){return X(new Error,{type:e,[bl]:!0},t)}function yt(e,t){return e instanceof Error&&bl in e&&(t==null||!!(e.type&t))}const $u=["params","query","hash"];function qu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of $u)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ku(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&ar(r)):[s&&ar(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Wu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Gu=Symbol(""),Io=Symbol(""),Os=Symbol(""),Fr=Symbol(""),dr=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 Tt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=h=>{h===!1?c(sn(de.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Vu(h)?c(sn(de.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(h=>c(h))})}function Ws(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(fl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(Tt(u,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=mu(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&Tt(h,n,s,i,l,r)()}))}}return o}function zu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;inn(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>nn(u,c))||r.push(c))}return[n,s,r]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let Ju=()=>location.protocol+"//"+location.host;function vl(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Co(l,"")}return Co(n,e)+s+r}function Xu(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const m=vl(e,location),A=n.value,y=t.value;let v=0;if(h){if(n.value=m,t.value=h,i&&i===A){i=null;return}v=y?h.position-y.position:0}else s(m);r.forEach(S=>{S(n.value,A,{delta:v,type:ur.pop,direction:v?v>0?Ks.forward:Ks.back:Ks.unknown})})};function c(){i=n.value}function u(h){r.push(h);const m=()=>{const A=r.indexOf(h);A>-1&&r.splice(A,1)};return o.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(X({},h.state,{scroll:As()}),"")}}function f(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:u,destroy:f}}function Do(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?As():null}}function Qu(e){const{history:t,location:n}=window,s={value:vl(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Ju()+e+c;try{t[a?"replaceState":"pushState"](u,"",h),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](h)}}function i(c,u){o(c,X({},t.state,Do(r.value.back,c,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=c}function l(c,u){const a=X({},r.value,t.state,{forward:c,scroll:As()});o(a.current,a,!0),o(c,X({},Do(s.value,c,null),{position:a.position+1},u),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Yu(e){e=Fu(e);const t=Qu(e),n=Xu(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=X({location:"",base:e,go:s,createHref:Uu.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 Ft=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 Zu={type:Ft.Static,value:""},ef=/[a-zA-Z0-9_]/;function tf(e){if(!e)return[[]];if(e==="/")return[[Zu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=ye.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===ye.Static?o.push({type:Ft.Static,value:u}):n===ye.Param||n===ye.ParamRegExp||n===ye.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ft.Param,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=c}for(;lt.length?t.length===1&&t[0]===Ne.Static+Ne.Segment?1:-1:0}function El(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const lf={strict:!1,end:!0,sensitive:!1};function cf(e,t,n){const s=rf(tf(e.path),n),r=X(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function af(e,t){const n=[],s=new Map;t=xo(lf,t);function r(f){return s.get(f)}function o(f,h,m){const A=!m,y=Uo(f);y.aliasOf=m&&m.record;const v=xo(t,f),S=[y];if("alias"in f){const C=typeof f.alias=="string"?[f.alias]:f.alias;for(const K of C)S.push(Uo(X({},y,{components:m?m.record.components:y.components,path:K,aliasOf:m?m.record:y})))}let x,T;for(const C of S){const{path:K}=C;if(h&&K[0]!=="/"){const ne=h.record.path,Z=ne[ne.length-1]==="/"?"":"/";C.path=h.record.path+(K&&Z+K)}if(x=cf(C,h,v),m?m.alias.push(x):(T=T||x,T!==x&&T.alias.push(x),A&&f.name&&!Bo(x)&&i(f.name)),Rl(x)&&c(x),y.children){const ne=y.children;for(let Z=0;Z{i(T)}:En}function i(f){if(yl(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const h=df(f,n);n.splice(h,0,f),f.record.name&&!Bo(f)&&s.set(f.record.name,f)}function u(f,h){let m,A={},y,v;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw sn(de.MATCHER_NOT_FOUND,{location:f});v=m.record.name,A=X(Mo(h.params,m.keys.filter(T=>!T.optional).concat(m.parent?m.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),f.params&&Mo(f.params,m.keys.map(T=>T.name))),y=m.stringify(A)}else if(f.path!=null)y=f.path,m=n.find(T=>T.re.test(y)),m&&(A=m.parse(y),v=m.record.name);else{if(m=h.name?s.get(h.name):n.find(T=>T.re.test(h.path)),!m)throw sn(de.MATCHER_NOT_FOUND,{location:f,currentLocation:h});v=m.record.name,A=X({},h.params,f.params),y=m.stringify(A)}const S=[];let x=m;for(;x;)S.unshift(x.record),x=x.parent;return{name:v,path:y,params:A,matched:S,meta:ff(S)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function Mo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Uo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:uf(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 uf(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 Bo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ff(e){return e.reduce((t,n)=>X(t,n.meta),{})}function df(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;El(e,t[o])<0?s=o:n=o+1}const r=pf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function pf(e){let t=e;for(;t=t.parent;)if(Rl(t)&&El(e,t)===0)return t}function Rl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function jo(e){const t=et(Os),n=et(Fr),s=He(()=>{const c=Jt(e.to);return t.resolve(c)}),r=He(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const h=f.findIndex(nn.bind(null,a));if(h>-1)return h;const m=Ho(c[u-2]);return u>1&&Ho(a)===m&&f[f.length-1].path!==m?f.findIndex(nn.bind(null,c[u-2])):h}),o=He(()=>r.value>-1&&yf(n.params,s.value.params)),i=He(()=>r.value>-1&&r.value===n.matched.length-1&&_l(n.params,s.value.params));function l(c={}){if(_f(c)){const u=t[Jt(e.replace)?"replace":"push"](Jt(e.to)).catch(En);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:He(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function hf(e){return e.length===1?e[0]:e}const mf=Mi({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:jo,setup(e,{slots:t}){const n=ys(jo(e)),{options:s}=et(Os),r=He(()=>({[ko(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ko(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&hf(t.default(n));return e.custom?o:al("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),gf=mf;function _f(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 yf(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(!st(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Ho(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ko=(e,t,n)=>e??t??n,bf=Mi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(dr),r=He(()=>e.route||s.value),o=et(Io,0),i=He(()=>{let u=Jt(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=He(()=>r.value.matched[i.value]);$n(Io,He(()=>i.value+1)),$n(Gu,l),$n(dr,r);const c=qe();return qn(()=>[c.value,l.value,e.name],([u,a,f],[h,m,A])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===h&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!nn(a,m)||!h)&&(a.enterCallbacks[f]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,h=f&&f.components[a];if(!h)return Vo(n.default,{Component:h,route:u});const m=f.props[a],A=m?m===!0?u.params:typeof m=="function"?m(u):m:null,v=al(h,X({},A,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return Vo(n.default,{Component:v,route:u})||v}}});function Vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vf=bf;function Ef(e){const t=af(e.routes,e),n=e.parseQuery||Ku,s=e.stringifyQuery||No,r=e.history,o=un(),i=un(),l=un(),c=Ac(xt);let u=xt;Wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=$s.bind(null,R=>""+R),f=$s.bind(null,Cu),h=$s.bind(null,xn);function m(R,I){let D,B;return yl(R)?(D=t.getRecordMatcher(R),B=I):B=R,t.addRoute(B,D)}function A(R){const I=t.getRecordMatcher(R);I&&t.removeRoute(I)}function y(){return t.getRoutes().map(R=>R.record)}function v(R){return!!t.getRecordMatcher(R)}function S(R,I){if(I=X({},I||c.value),typeof R=="string"){const g=qs(n,R,I.path),E=t.resolve({path:g.path},I),w=r.createHref(g.fullPath);return X(g,E,{params:h(E.params),hash:xn(g.hash),redirectedFrom:void 0,href:w})}let D;if(R.path!=null)D=X({},R,{path:qs(n,R.path,I.path).path});else{const g=X({},R.params);for(const E in g)g[E]==null&&delete g[E];D=X({},R,{params:f(g)}),I.params=f(I.params)}const B=t.resolve(D,I),L=R.hash||"";B.params=a(h(B.params));const d=Nu(s,X({},R,{hash:Au(L),path:B.path})),p=r.createHref(d);return X({fullPath:d,hash:L,query:s===No?Wu(R.query):R.query||{}},B,{redirectedFrom:void 0,href:p})}function x(R){return typeof R=="string"?qs(n,R,c.value.path):X({},R)}function T(R,I){if(u!==R)return sn(de.NAVIGATION_CANCELLED,{from:I,to:R})}function C(R){return Z(R)}function K(R){return C(X(x(R),{replace:!0}))}function ne(R,I){const D=R.matched[R.matched.length-1];if(D&&D.redirect){const{redirect:B}=D;let L=typeof B=="function"?B(R,I):B;return typeof L=="string"&&(L=L.includes("?")||L.includes("#")?L=x(L):{path:L},L.params={}),X({query:R.query,hash:R.hash,params:L.path!=null?{}:R.params},L)}}function Z(R,I){const D=u=S(R),B=c.value,L=R.state,d=R.force,p=R.replace===!0,g=ne(D,B);if(g)return Z(X(x(g),{state:typeof g=="object"?X({},L,g.state):L,force:d,replace:p}),I||D);const E=D;E.redirectedFrom=I;let w;return!d&&Iu(s,B,D)&&(w=sn(de.NAVIGATION_DUPLICATED,{to:E,from:B}),ue(B,B,!0,!1)),(w?Promise.resolve(w):_e(E,B)).catch(b=>yt(b)?yt(b,de.NAVIGATION_GUARD_REDIRECT)?b:ve(b):G(b,E,B)).then(b=>{if(b){if(yt(b,de.NAVIGATION_GUARD_REDIRECT))return Z(X({replace:p},x(b.to),{state:typeof b.to=="object"?X({},L,b.to.state):L,force:d}),I||E)}else b=Ge(E,B,!0,p,L);return be(E,B,b),b})}function Fe(R,I){const D=T(R,I);return D?Promise.reject(D):Promise.resolve()}function Ye(R){const I=z.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(R):R()}function _e(R,I){let D;const[B,L,d]=zu(R,I);D=Ws(B.reverse(),"beforeRouteLeave",R,I);for(const g of B)g.leaveGuards.forEach(E=>{D.push(Tt(E,R,I))});const p=Fe.bind(null,R,I);return D.push(p),Me(D).then(()=>{D=[];for(const g of o.list())D.push(Tt(g,R,I));return D.push(p),Me(D)}).then(()=>{D=Ws(L,"beforeRouteUpdate",R,I);for(const g of L)g.updateGuards.forEach(E=>{D.push(Tt(E,R,I))});return D.push(p),Me(D)}).then(()=>{D=[];for(const g of d)if(g.beforeEnter)if(st(g.beforeEnter))for(const E of g.beforeEnter)D.push(Tt(E,R,I));else D.push(Tt(g.beforeEnter,R,I));return D.push(p),Me(D)}).then(()=>(R.matched.forEach(g=>g.enterCallbacks={}),D=Ws(d,"beforeRouteEnter",R,I,Ye),D.push(p),Me(D))).then(()=>{D=[];for(const g of i.list())D.push(Tt(g,R,I));return D.push(p),Me(D)}).catch(g=>yt(g,de.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function be(R,I,D){l.list().forEach(B=>Ye(()=>B(R,I,D)))}function Ge(R,I,D,B,L){const d=T(R,I);if(d)return d;const p=I===xt,g=Wt?history.state:{};D&&(B||p?r.replace(R.fullPath,X({scroll:p&&g&&g.scroll},L)):r.push(R.fullPath,L)),c.value=R,ue(R,I,D,p),ve()}let Ve;function Oe(){Ve||(Ve=r.listen((R,I,D)=>{if(!Ee.listening)return;const B=S(R),L=ne(B,Ee.currentRoute.value);if(L){Z(X(L,{replace:!0,force:!0}),B).catch(En);return}u=B;const d=c.value;Wt&&Hu(Po(d.fullPath,D.delta),As()),_e(B,d).catch(p=>yt(p,de.NAVIGATION_ABORTED|de.NAVIGATION_CANCELLED)?p:yt(p,de.NAVIGATION_GUARD_REDIRECT)?(Z(X(x(p.to),{force:!0}),B).then(g=>{yt(g,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&!D.delta&&D.type===ur.pop&&r.go(-1,!1)}).catch(En),Promise.reject()):(D.delta&&r.go(-D.delta,!1),G(p,B,d))).then(p=>{p=p||Ge(B,d,!1),p&&(D.delta&&!yt(p,de.NAVIGATION_CANCELLED)?r.go(-D.delta,!1):D.type===ur.pop&&yt(p,de.NAVIGATION_ABORTED|de.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),be(B,d,p)}).catch(En)}))}let ot=un(),ae=un(),J;function G(R,I,D){ve(R);const B=ae.list();return B.length?B.forEach(L=>L(R,I,D)):console.error(R),Promise.reject(R)}function ze(){return J&&c.value!==xt?Promise.resolve():new Promise((R,I)=>{ot.add([R,I])})}function ve(R){return J||(J=!R,Oe(),ot.list().forEach(([I,D])=>R?D(R):I()),ot.reset()),R}function ue(R,I,D,B){const{scrollBehavior:L}=e;if(!Wt||!L)return Promise.resolve();const d=!D&&ku(Po(R.fullPath,0))||(B||!D)&&history.state&&history.state.scroll||null;return Cr().then(()=>L(R,I,d)).then(p=>p&&ju(p)).catch(p=>G(p,R,I))}const fe=R=>r.go(R);let gt;const z=new Set,Ee={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:y,resolve:S,options:e,push:C,replace:K,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ae.add,isReady:ze,install(R){R.component("RouterLink",gf),R.component("RouterView",vf),R.config.globalProperties.$router=Ee,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>Jt(c)}),Wt&&!gt&&c.value===xt&&(gt=!0,C(r.location).catch(B=>{}));const I={};for(const B in xt)Object.defineProperty(I,B,{get:()=>c.value[B],enumerable:!0});R.provide(Os,Ee),R.provide(Fr,Oi(I)),R.provide(dr,c);const D=R.unmount;z.add(R),R.unmount=function(){z.delete(R),z.size<1&&(u=xt,Ve&&Ve(),Ve=null,c.value=xt,gt=!1,J=!1),D()}}};function Me(R){return R.reduce((I,D)=>I.then(()=>Ye(D)),Promise.resolve())}return Ee}function wl(){return et(Os)}function Rf(e){return et(Fr)}const Dn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},wf={class:"nav"},Sf={class:"logo"},Af={class:"links"},Of={class:"user-area"},xf={class:"username"},Cf={__name:"Navbar",setup(e){const t=wl(),n=qe(localStorage.getItem("lyread_token")),s=qe(null),r=()=>{localStorage.removeItem("lyread_token"),localStorage.removeItem("lyread_user"),n.value=null,s.value=null,t.push("/")};return Es(()=>{if(n.value)try{s.value=JSON.parse(localStorage.getItem("lyread_user"))}catch{}}),(o,i)=>{var c;const l=Nn("router-link");return oe(),ce("div",wf,[U("div",Sf,[le(l,{to:"/"},{default:Je(()=>[...i[0]||(i[0]=[Xe("LyRead",-1)])]),_:1})]),U("div",Af,[le(l,{to:"/"},{default:Je(()=>[...i[1]||(i[1]=[Xe("首页",-1)])]),_:1}),le(l,{to:"/feed"},{default:Je(()=>[...i[2]||(i[2]=[Xe("作品库",-1)])]),_:1}),le(l,{to:"/workspace"},{default:Je(()=>[...i[3]||(i[3]=[Xe("工作台",-1)])]),_:1})]),U("div",Of,[n.value?(oe(),ce(je,{key:0},[U("span",xf,me((c=s.value)==null?void 0:c.username),1),U("button",{onClick:r},"退出")],64)):(oe(),ol(l,{key:1,to:"/login",class:"login-btn"},{default:Je(()=>[...i[4]||(i[4]=[Xe("登录",-1)])]),_:1}))])])}}},Tf=Dn(Cf,[["__scopeId","data-v-2c4be0cc"]]),Pf={id:"app"},Nf={__name:"App",setup(e){return(t,n)=>{const s=Nn("router-view");return oe(),ce("div",Pf,[le(Tf),le(s)])}}},If={},Df={class:"home"},Lf={class:"hero"},Ff={class:"start-box"};function Mf(e,t){const n=Nn("router-link");return oe(),ce("div",Df,[U("div",Lf,[t[2]||(t[2]=ir('
🚀 AI 驱动

AI小说创作操作系统

一键生成爆款网文 · 自动爽点分析 · 智能爆款预测

1000+章节生成
15爽点类型
6爆款维度
',4)),U("div",Ff,[le(n,{to:"/workspace",class:"btn-primary"},{default:Je(()=>[...t[0]||(t[0]=[Xe("进入工作台",-1)])]),_:1}),le(n,{to:"/feed",class:"btn-secondary"},{default:Je(()=>[...t[1]||(t[1]=[Xe("浏览作品",-1)])]),_:1})])]),t[3]||(t[3]=ir('

智能生成

输入一句话,AI自动生成完整章节剧情

🔥

爽点引擎

15种网文爽点实时分析,提升读者粘性

📈

爆款预测

6维度评分,预测章节爆款潜力

',1))])}const Uf=Dn(If,[["render",Mf],["__scopeId","data-v-10e53ab1"]]);function Sl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Bf}=Object.prototype,{getPrototypeOf:xs}=Object,{iterator:Cs,toStringTag:Al}=Symbol,Ts=(e=>t=>{const n=Bf.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=e=>(e=e.toLowerCase(),t=>Ts(t)===e),Ps=e=>t=>typeof t===e,{isArray:Ht}=Array,rn=Ps("undefined");function on(e){return e!==null&&!rn(e)&&e.constructor!==null&&!rn(e.constructor)&&ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ol=rt("ArrayBuffer");function jf(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ol(e.buffer),t}const Hf=Ps("string"),ke=Ps("function"),xl=Ps("number"),Ln=e=>e!==null&&typeof e=="object",kf=e=>e===!0||e===!1,Gn=e=>{if(Ts(e)!=="object")return!1;const t=xs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Al in e)&&!(Cs in e)},Vf=e=>{if(!Ln(e)||on(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},$f=rt("Date"),qf=rt("File"),Kf=e=>!!(e&&typeof e.uri<"u"),Wf=e=>e&&typeof e.getParts<"u",Gf=rt("Blob"),zf=rt("FileList"),Jf=e=>Ln(e)&&ke(e.pipe);function Xf(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const $o=Xf(),qo=typeof $o.FormData<"u"?$o.FormData:void 0,Qf=e=>{if(!e)return!1;if(qo&&e instanceof qo)return!0;const t=xs(e);if(!t||t===Object.prototype||!ke(e.append))return!1;const n=Ts(e);return n==="formdata"||n==="object"&&ke(e.toString)&&e.toString()==="[object FormData]"},Yf=rt("URLSearchParams"),[Zf,ed,td,nd]=["ReadableStream","Request","Response","Headers"].map(rt),sd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Ht(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Mt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Tl=e=>!rn(e)&&e!==Mt;function pr(...e){const{caseless:t,skipUndefined:n}=Tl(this)&&this||{},s={},r=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const l=t&&typeof i=="string"&&Cl(s,i)||i,c=hr(s,l)?s[l]:void 0;Gn(c)&&Gn(o)?s[l]=pr(c,o):Gn(o)?s[l]=pr({},o):Ht(o)?s[l]=o.slice():(!n||!rn(o))&&(s[l]=o)};for(let o=0,i=e.length;o(Fn(t,(r,o)=>{n&&ke(r)?Object.defineProperty(e,o,{__proto__:null,value:Sl(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{__proto__:null,value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),od=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),id=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},ld=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&xs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ad=e=>{if(!e)return null;if(Ht(e))return e;let t=e.length;if(!xl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ud=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&xs(Uint8Array)),fd=(e,t)=>{const s=(e&&e[Cs]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},dd=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},pd=rt("HTMLFormElement"),hd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),hr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),{propertyIsEnumerable:md}=Object.prototype,gd=rt("RegExp"),Pl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Fn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},_d=e=>{Pl(e,(t,n)=>{if(ke(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(ke(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},yd=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return Ht(e)?s(e):s(String(e).split(t)),n},bd=()=>{},vd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ed(e){return!!(e&&ke(e.append)&&e[Al]==="FormData"&&e[Cs])}const Rd=e=>{const t=new WeakSet,n=s=>{if(Ln(s)){if(t.has(s))return;if(on(s))return s;if(!("toJSON"in s)){t.add(s);const r=Ht(s)?[]:{};return Fn(s,(o,i)=>{const l=n(o);!rn(l)&&(r[i]=l)}),t.delete(s),r}}return s};return n(e)},wd=rt("AsyncFunction"),Sd=e=>e&&(Ln(e)||ke(e))&&ke(e.then)&&ke(e.catch),Nl=((e,t)=>e?setImmediate:t?((n,s)=>(Mt.addEventListener("message",({source:r,data:o})=>{r===Mt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Mt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ke(Mt.postMessage)),Ad=typeof queueMicrotask<"u"?queueMicrotask.bind(Mt):typeof process<"u"&&process.nextTick||Nl,Od=e=>e!=null&&ke(e[Cs]),_={isArray:Ht,isArrayBuffer:Ol,isBuffer:on,isFormData:Qf,isArrayBufferView:jf,isString:Hf,isNumber:xl,isBoolean:kf,isObject:Ln,isPlainObject:Gn,isEmptyObject:Vf,isReadableStream:Zf,isRequest:ed,isResponse:td,isHeaders:nd,isUndefined:rn,isDate:$f,isFile:qf,isReactNativeBlob:Kf,isReactNative:Wf,isBlob:Gf,isRegExp:gd,isFunction:ke,isStream:Jf,isURLSearchParams:Yf,isTypedArray:ud,isFileList:zf,forEach:Fn,merge:pr,extend:rd,trim:sd,stripBOM:od,inherits:id,toFlatObject:ld,kindOf:Ts,kindOfTest:rt,endsWith:cd,toArray:ad,forEachEntry:fd,matchAll:dd,isHTMLForm:pd,hasOwnProperty:hr,hasOwnProp:hr,reduceDescriptors:Pl,freezeMethods:_d,toObjectSet:yd,toCamelCase:hd,noop:bd,toFiniteNumber:vd,findKey:Cl,global:Mt,isContextDefined:Tl,isSpecCompliantForm:Ed,toJSONObject:Rd,isAsyncFn:wd,isThenable:Sd,setImmediate:Nl,asap:Ad,isIterable:Od},xd=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Cd=e=>{const t={};let n,s,r;return e&&e.split(` `).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&xd[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function Td(e){let t=0,n=e.length;for(;tt;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Pd=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Nd=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Mr(e,t){return _.isArray(e)?e.map(n=>Mr(n,t)):Td(String(e).replace(t,""))}const Id=e=>Mr(e,Pd),Dd=e=>Mr(e,Nd);function Il(e){const t=Object.create(null);return _.forEach(e.toJSON(),(n,s)=>{t[s]=Dd(n)}),t}const Ko=Symbol("internals");function fn(e){return e&&String(e).trim().toLowerCase()}function zn(e){return e===!1||e==null?e:_.isArray(e)?e.map(zn):Id(String(e))}function Ld(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Fd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gs(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function Md(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Ud(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Le=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=fn(c);if(!a)return;const f=_.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=zn(l))}const i=(l,c)=>_.forEach(l,(u,a)=>o(u,a,c));if(_.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(_.isString(t)&&(t=t.trim())&&!Fd(t))i(Cd(t),n);else if(_.isObject(t)&&_.isIterable(t)){let l={},c,u;for(const a of t){if(!_.isArray(a))throw new TypeError("Object iterator must return a key-value pair");l[u=a[0]]=(c=l[u])?_.isArray(c)?[...c,a[1]]:[c,a[1]]:a[1]}i(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=fn(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Ld(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fn(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Gs(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=fn(i),i){const l=_.findKey(s,i);l&&(!n||Gs(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||Gs(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=zn(r),delete n[o];return}const l=t?Md(o):String(o).trim();l!==o&&delete n[o],n[l]=zn(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Ko]=this[Ko]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=fn(i);s[l]||(Ud(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}};Le.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.reduceDescriptors(Le.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});_.freezeMethods(Le);const Bd="[REDACTED ****]";function jd(e){if(_.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(_.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Hd(e,t){const n=new Set(t.map(o=>String(o).toLowerCase())),s=[],r=o=>{if(o===null||typeof o!="object"||_.isBuffer(o))return o;if(s.indexOf(o)!==-1)return;o instanceof Le&&(o=o.toJSON()),s.push(o);let i;if(_.isArray(o))i=[],o.forEach((l,c)=>{const u=r(l);_.isUndefined(u)||(i[c]=u)});else{if(!_.isPlainObject(o)&&jd(o))return s.pop(),o;i=Object.create(null);for(const[l,c]of Object.entries(o)){const u=n.has(l.toLowerCase())?Bd:r(c);_.isUndefined(u)||(i[l]=u)}}return s.pop(),i};return r(e)}let j=class Dl extends Error{static from(t,n,s,r,o,i){const l=new Dl(t.message,n||t.code,s,r,o);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,s,r,o){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){const t=this.config,n=t&&_.hasOwnProp(t,"redact")?t.redact:void 0,s=_.isArray(n)&&n.length>0?Hd(t,n):_.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};j.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";j.ERR_BAD_OPTION="ERR_BAD_OPTION";j.ECONNABORTED="ECONNABORTED";j.ETIMEDOUT="ETIMEDOUT";j.ECONNREFUSED="ECONNREFUSED";j.ERR_NETWORK="ERR_NETWORK";j.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";j.ERR_DEPRECATED="ERR_DEPRECATED";j.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";j.ERR_BAD_REQUEST="ERR_BAD_REQUEST";j.ERR_CANCELED="ERR_CANCELED";j.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";j.ERR_INVALID_URL="ERR_INVALID_URL";j.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const kd=null;function mr(e){return _.isPlainObject(e)||_.isArray(e)}function Ll(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function zs(e,t,n){return e?e.concat(t).map(function(r,o){return r=Ll(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Vd(e){return _.isArray(e)&&!e.some(mr)}const $d=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function Ns(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,S){return!_.isUndefined(S[v])});const s=n.metaTokens,r=n.visitor||f,o=n.dots,i=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,u=l&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function a(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(_.isBoolean(y))return y.toString();if(!u&&_.isBlob(y))throw new j("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,v,S){let x=y;if(_.isReactNative(t)&&_.isReactNativeBlob(y))return t.append(zs(S,v,o),a(y)),!1;if(y&&!S&&typeof y=="object"){if(_.endsWith(v,"{}"))v=s?v:v.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Vd(y)||(_.isFileList(y)||_.endsWith(v,"[]"))&&(x=_.toArray(y)))return v=Ll(v),x.forEach(function(C,K){!(_.isUndefined(C)||C===null)&&t.append(i===!0?zs([v],K,o):i===null?v:v+"[]",a(C))}),!1}return mr(y)?!0:(t.append(zs(S,v,o),a(y)),!1)}const h=[],m=Object.assign($d,{defaultVisitor:f,convertValue:a,isVisitable:mr});function A(y,v,S=0){if(!_.isUndefined(y)){if(S>c)throw new j("Object is too deeply nested ("+S+" levels). Max depth: "+c,j.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(y)!==-1)throw new Error("Circular reference detected in "+v.join("."));h.push(y),_.forEach(y,function(T,C){(!(_.isUndefined(T)||T===null)&&r.call(t,T,_.isString(C)?C.trim():C,v,m))===!0&&A(T,v?v.concat(C):[C],S+1)}),h.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return A(e),t}function Wo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Ur(e,t){this._pairs=[],e&&Ns(e,this,t)}const Fl=Ur.prototype;Fl.append=function(t,n){this._pairs.push([t,n])};Fl.toString=function(t){const n=t?function(s){return t.call(this,s,Wo)}:Wo;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function qd(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ml(e,t,n){if(!t)return e;const s=n&&n.encode||qd,r=_.isFunction(n)?{serialize:n}:n,o=r&&r.serialize;let i;if(o?i=o(t,r):i=_.isURLSearchParams(t)?t.toString():new Ur(t,r).toString(s),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Go{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Br={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},Kd=typeof URLSearchParams<"u"?URLSearchParams:Ur,Wd=typeof FormData<"u"?FormData:null,Gd=typeof Blob<"u"?Blob:null,zd={isBrowser:!0,classes:{URLSearchParams:Kd,FormData:Wd,Blob:Gd},protocols:["http","https","file","blob","url","data"]},jr=typeof window<"u"&&typeof document<"u",gr=typeof navigator=="object"&&navigator||void 0,Jd=jr&&(!gr||["ReactNative","NativeScript","NS"].indexOf(gr.product)<0),Xd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qd=jr&&window.location.href||"http://localhost",Yd=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jr,hasStandardBrowserEnv:Jd,hasStandardBrowserWebWorkerEnv:Xd,navigator:gr,origin:Qd},Symbol.toStringTag,{value:"Module"})),Se={...Yd,...zd};function Zd(e,t){return Ns(e,new Se.classes.URLSearchParams,{visitor:function(n,s,r,o){return Se.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function ep(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=_.isArray(r[i])?r[i].concat(s):[r[i],s]:r[i]=s,!l):((!_.hasOwnProp(r,i)||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=tp(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(ep(s),r,n,0)}),n}return null}const qt=(e,t)=>e!=null&&_.hasOwnProp(e,t)?e[t]:void 0;function np(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Mn={transitional:Br,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r?JSON.stringify(Ul(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t)||_.isReadableStream(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){const c=qt(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return Zd(t,c).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=qt(this,"env"),a=u&&u.FormData;return Ns(l?{"files[]":t}:t,a&&new a,c)}}return o||r?(n.setContentType("application/json",!1),np(t)):t}],transformResponse:[function(t){const n=qt(this,"transitional")||Mn.transitional,s=n&&n.forcedJSONParsing,r=qt(this,"responseType"),o=r==="json";if(_.isResponse(t)||_.isReadableStream(t))return t;if(t&&_.isString(t)&&(s&&!r||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,qt(this,"parseReviver"))}catch(c){if(l)throw c.name==="SyntaxError"?j.from(c,j.ERR_BAD_RESPONSE,this,null,qt(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};_.forEach(["delete","get","head","post","put","patch","query"],e=>{Mn.headers[e]={}});function Js(e,t){const n=this||Mn,s=t||n,r=Le.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Bl(e){return!!(e&&e.__CANCEL__)}let Un=class extends j{constructor(t,n,s){super(t??"canceled",j.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function jl(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new j("Request failed with status code "+n.status,n.status>=400&&n.status<500?j.ERR_BAD_REQUEST:j.ERR_BAD_RESPONSE,n.config,n.request,n))}function sp(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function rp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,h=0;for(;f!==r;)h+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i{n=a,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const ls=(e,t,n=3)=>{let s=0;const r=rp(50,250);return op(o=>{if(!o||typeof o.loaded!="number")return;const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=l!=null?Math.min(i,l):i,u=Math.max(0,c-s),a=r(u);s=Math.max(s,c);const f={loaded:c,total:l,progress:l?c/l:void 0,bytes:u,rate:a||void 0,estimated:a&&l?(l-c)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},zo=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Jo=e=>(...t)=>_.asap(()=>e(...t)),ip=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,lp=Se.hasStandardBrowserEnv?{write(e,t,n,s,r,o,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];_.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),_.isString(s)&&l.push(`path=${s}`),_.isString(r)&&l.push(`domain=${r}`),o===!0&&l.push("secure"),_.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;ne instanceof Le?{...e}:e;function kt(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(u,a,f,h){return _.isPlainObject(u)&&_.isPlainObject(a)?_.merge.call({caseless:h},u,a):_.isPlainObject(a)?_.merge({},a):_.isArray(a)?a.slice():a}function r(u,a,f,h){if(_.isUndefined(a)){if(!_.isUndefined(u))return s(void 0,u,f,h)}else return s(u,a,f,h)}function o(u,a){if(!_.isUndefined(a))return s(void 0,a)}function i(u,a){if(_.isUndefined(a)){if(!_.isUndefined(u))return s(void 0,u)}else return s(void 0,a)}function l(u,a,f){if(_.hasOwnProp(t,f))return s(u,a);if(_.hasOwnProp(e,f))return s(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:l,headers:(u,a,f)=>r(Xo(u),Xo(a),f,!0)};return _.forEach(Object.keys({...e,...t}),function(a){if(a==="__proto__"||a==="constructor"||a==="prototype")return;const f=_.hasOwnProp(c,a)?c[a]:r,h=_.hasOwnProp(e,a)?e[a]:void 0,m=_.hasOwnProp(t,a)?t[a]:void 0,A=f(h,m,a);_.isUndefined(A)&&f!==l||(n[a]=A)}),n}const up=["content-type","content-length"];function fp(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([s,r])=>{up.includes(s.toLowerCase())&&e.set(s,r)})}const dp=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function kl(e){const t=kt({},e),n=h=>_.hasOwnProp(t,h)?t[h]:void 0,s=n("data");let r=n("withXSRFToken");const o=n("xsrfHeaderName"),i=n("xsrfCookieName");let l=n("headers");const c=n("auth"),u=n("baseURL"),a=n("allowAbsoluteUrls"),f=n("url");if(t.headers=l=Le.from(l),t.url=Ml(Hl(u,f,a),n("params"),n("paramsSerializer")),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?dp(c.password):""))),_.isFormData(s)&&(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv||_.isReactNative(s)?l.setContentType(void 0):_.isFunction(s.getHeaders)&&fp(l,s.getHeaders(),n("formDataHeaderPolicy"))),Se.hasStandardBrowserEnv&&(_.isFunction(r)&&(r=r(t)),r===!0||r==null&&ip(t.url))){const m=o&&i&&lp.read(i);m&&l.set(o,m)}return t}const pp=typeof XMLHttpRequest<"u",hp=pp&&function(e){return new Promise(function(n,s){const r=kl(e);let o=r.data;const i=Le.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,h,m,A;function y(){m&&m(),A&&A(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function S(){if(!v)return;const T=Le.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),K={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:T,config:e,request:v};jl(function(Z){n(Z),y()},function(Z){s(Z),y()},K),v=null}"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(S)},v.onabort=function(){v&&(s(new j("Request aborted",j.ECONNABORTED,e,v)),y(),v=null)},v.onerror=function(C){const K=C&&C.message?C.message:"Network Error",ne=new j(K,j.ERR_NETWORK,e,v);ne.event=C||null,s(ne),y(),v=null},v.ontimeout=function(){let C=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const K=r.transitional||Br;r.timeoutErrorMessage&&(C=r.timeoutErrorMessage),s(new j(C,K.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,v)),y(),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&_.forEach(Il(i),function(C,K){v.setRequestHeader(K,C)}),_.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),u&&([h,A]=ls(u,!0),v.addEventListener("progress",h)),c&&v.upload&&([f,m]=ls(c),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=T=>{v&&(s(!T||T.type?new Un(null,e,v):T),v.abort(),y(),v=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const x=sp(r.url);if(x&&!Se.protocols.includes(x)){s(new j("Unsupported protocol "+x+":",j.ERR_BAD_REQUEST,e));return}v.send(o||null)})},mp=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let s=!1;const r=function(c){if(!s){s=!0,i();const u=c instanceof Error?c:this.reason;n.abort(u instanceof j?u:new Un(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,r(new j(`timeout of ${t}ms exceeded`,j.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),e=null)};e.forEach(c=>c.addEventListener("abort",r));const{signal:l}=n;return l.unsubscribe=()=>_.asap(i),l},gp=function*(e,t){let n=e.byteLength;if(n{const r=_p(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})};function bp(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let i=s.length;const l=s.length;for(let m=0;m=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102)&&(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(i-=2,m+=2)}let c=0,u=l-1;const a=m=>m>=2&&s.charCodeAt(m-2)===37&&s.charCodeAt(m-1)===51&&(s.charCodeAt(m)===68||s.charCodeAt(m)===100);u>=0&&(s.charCodeAt(u)===61?(c++,u--):a(u)&&(c++,u-=3)),c===1&&u>=0&&(s.charCodeAt(u)===61||a(u))&&c++;const h=Math.floor(i/4)*3-(c||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(s,"utf8");let o=0;for(let i=0,l=s.length;i=55296&&c<=56319&&i+1=56320&&u<=57343?(o+=4,i++):o+=3}else o+=3}return o}const Hr="1.17.0",Yo=64*1024,{isFunction:kn}=_,vp=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Zo=e=>{if(!_.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},ei=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ep=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},Rp=e=>{const t=_.global!==void 0&&_.global!==null?_.global:globalThis,{ReadableStream:n,TextEncoder:s}=t;e=_.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:o,Response:i}=e,l=r?kn(r):typeof fetch=="function",c=kn(o),u=kn(i);if(!l)return!1;const a=l&&kn(n),f=l&&(typeof s=="function"?(S=>x=>S.encode(x))(new s):async S=>new Uint8Array(await new o(S).arrayBuffer())),h=c&&a&&ei(()=>{let S=!1;const x=new o(Se.origin,{body:new n,method:"POST",get duplex(){return S=!0,"half"}}),T=x.headers.has("Content-Type");return x.body!=null&&x.body.cancel(),S&&!T}),m=u&&a&&ei(()=>_.isReadableStream(new i("").body)),A={stream:m&&(S=>S.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!A[S]&&(A[S]=(x,T)=>{let C=x&&x[S];if(C)return C.call(x);throw new j(`Response type '${S}' is not supported`,j.ERR_NOT_SUPPORT,T)})});const y=async S=>{if(S==null)return 0;if(_.isBlob(S))return S.size;if(_.isSpecCompliantForm(S))return(await new o(Se.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(_.isArrayBufferView(S)||_.isArrayBuffer(S))return S.byteLength;if(_.isURLSearchParams(S)&&(S=S+""),_.isString(S))return(await f(S)).byteLength},v=async(S,x)=>{const T=_.toFiniteNumber(S.getContentLength());return T??y(x)};return async S=>{let{url:x,method:T,data:C,signal:K,cancelToken:ne,timeout:Z,onDownloadProgress:Fe,onUploadProgress:Ye,responseType:_e,headers:be,withCredentials:Ge="same-origin",fetchOptions:Ve,maxContentLength:Oe,maxBodyLength:ot}=kl(S);const ae=_.isNumber(Oe)&&Oe>-1,J=_.isNumber(ot)&&ot>-1,G=z=>_.hasOwnProp(S,z)?S[z]:void 0;let ze=r||fetch;_e=_e?(_e+"").toLowerCase():"text";let ve=mp([K,ne&&ne.toAbortSignal()],Z),ue=null;const fe=ve&&ve.unsubscribe&&(()=>{ve.unsubscribe()});let gt;try{let z;const Ee=G("auth");if(Ee){const L=Ee.username||"",d=Ee.password||"";z={username:L,password:d}}if(Ep(x)){const L=new URL(x,Se.origin);if(!z&&(L.username||L.password)){const d=Zo(L.username),p=Zo(L.password);z={username:d,password:p}}(L.username||L.password)&&(L.username="",L.password="",x=L.href)}if(z&&(be.delete("authorization"),be.set("Authorization","Basic "+btoa(vp((z.username||"")+":"+(z.password||""))))),ae&&typeof x=="string"&&x.startsWith("data:")&&bp(x)>Oe)throw new j("maxContentLength size of "+Oe+" exceeded",j.ERR_BAD_RESPONSE,S,ue);if(J&&T!=="get"&&T!=="head"){const L=await v(be,C);if(typeof L=="number"&&isFinite(L)&&L>ot)throw new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,S,ue)}if(Ye&&h&&T!=="get"&&T!=="head"&&(gt=await v(be,C))!==0){let L=new o(x,{method:"POST",body:C,duplex:"half"}),d;if(_.isFormData(C)&&(d=L.headers.get("content-type"))&&be.setContentType(d),L.body){const[p,g]=zo(gt,ls(Jo(Ye)));C=Qo(L.body,Yo,p,g)}}_.isString(Ge)||(Ge=Ge?"include":"omit");const Me=c&&"credentials"in o.prototype;if(_.isFormData(C)){const L=be.getContentType();L&&/^multipart\/form-data/i.test(L)&&!/boundary=/i.test(L)&&be.delete("content-type")}be.set("User-Agent","axios/"+Hr,!1);const R={...Ve,signal:ve,method:T.toUpperCase(),headers:Il(be.normalize()),body:C,duplex:"half",credentials:Me?Ge:void 0};ue=c&&new o(x,R);let I=await(c?ze(ue,Ve):ze(x,R));if(ae){const L=_.toFiniteNumber(I.headers.get("content-length"));if(L!=null&&L>Oe)throw new j("maxContentLength size of "+Oe+" exceeded",j.ERR_BAD_RESPONSE,S,ue)}const D=m&&(_e==="stream"||_e==="response");if(m&&I.body&&(Fe||ae||D&&fe)){const L={};["status","statusText","headers"].forEach(b=>{L[b]=I[b]});const d=_.toFiniteNumber(I.headers.get("content-length")),[p,g]=Fe&&zo(d,ls(Jo(Fe),!0))||[];let E=0;const w=b=>{if(ae&&(E=b,E>Oe))throw new j("maxContentLength size of "+Oe+" exceeded",j.ERR_BAD_RESPONSE,S,ue);p&&p(b)};I=new i(Qo(I.body,Yo,w,()=>{g&&g(),fe&&fe()}),L)}_e=_e||"text";let B=await A[_.findKey(A,_e)||"text"](I,S);if(ae&&!m&&!D){let L;if(B!=null&&(typeof B.byteLength=="number"?L=B.byteLength:typeof B.size=="number"?L=B.size:typeof B=="string"&&(L=typeof s=="function"?new s().encode(B).byteLength:B.length)),typeof L=="number"&&L>Oe)throw new j("maxContentLength size of "+Oe+" exceeded",j.ERR_BAD_RESPONSE,S,ue)}return!D&&fe&&fe(),await new Promise((L,d)=>{jl(L,d,{data:B,headers:Le.from(I.headers),status:I.status,statusText:I.statusText,config:S,request:ue})})}catch(z){if(fe&&fe(),ve&&ve.aborted&&ve.reason instanceof j){const Ee=ve.reason;throw Ee.config=S,ue&&(Ee.request=ue),z!==Ee&&(Ee.cause=z),Ee}throw z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new j("Network Error",j.ERR_NETWORK,S,ue,z&&z.response),{cause:z.cause||z}):j.from(z,z&&z.code,S,ue,z&&z.response)}}},wp=new Map,Vl=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let i=o.length,l=i,c,u,a=wp;for(;l--;)c=o[l],u=a.get(c),u===void 0&&a.set(c,u=l?new Map:Rp(t)),a=u;return u};Vl();const kr={http:kd,xhr:hp,fetch:{get:Vl}};_.forEach(kr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const ti=e=>`- ${e}`,Sp=e=>_.isFunction(e)||e===null||e===!1;function Ap(e,t){e=_.isArray(e)?e:[e];const{length:n}=e;let s,r;const o={};for(let i=0;i`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since : `+i.map(ti).join(` `):" "+ti(i[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const $l={getAdapter:Ap,adapters:kr};function Xs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Un(null,e)}function ni(e){return Xs(e),e.headers=Le.from(e.headers),e.data=Js.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$l.getAdapter(e.adapter||Mn.adapter,e)(e).then(function(s){Xs(e),e.response=s;try{s.data=Js.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Le.from(s.headers),s},function(s){if(!Bl(s)&&(Xs(e),s&&s.response)){e.response=s.response;try{s.response.data=Js.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Le.from(s.response.headers)}return Promise.reject(s)})}const Is={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Is[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const si={};Is.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Hr+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new j(r(i," has been removed"+(n?" in "+n:"")),j.ERR_DEPRECATED);return n&&!si[i]&&(si[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Is.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Op(e,t,n){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new j("option "+o+" must be "+c,j.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new j("Unknown option "+o,j.ERR_BAD_OPTION)}}const Jn={assertOptions:Op,validators:Is},Ue=Jn.validators;let jt=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Go,response:new Go}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=(()=>{if(!r.stack)return"";const i=r.stack.indexOf(` `);return i===-1?"":r.stack.slice(i+1)})();try{if(!s.stack)s.stack=o;else if(o){const i=o.indexOf(` `),l=i===-1?-1:o.indexOf(` `,i+1),c=l===-1?"":o.slice(l+1);String(s.stack).endsWith(c)||(s.stack+=` `+o)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=kt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Jn.assertOptions(s,{silentJSONParsing:Ue.transitional(Ue.boolean),forcedJSONParsing:Ue.transitional(Ue.boolean),clarifyTimeoutError:Ue.transitional(Ue.boolean),legacyInterceptorReqResOrdering:Ue.transitional(Ue.boolean),advertiseZstdAcceptEncoding:Ue.transitional(Ue.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:Jn.assertOptions(r,{encode:Ue.function,serialize:Ue.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Jn.assertOptions(n,{baseUrl:Ue.spelling("baseURL"),withXsrfToken:Ue.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&_.merge(o.common,o[n.method]);o&&_.forEach(["delete","get","head","post","put","patch","query","common"],A=>{delete o[A]}),n.headers=Le.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(n)===!1)return;c=c&&y.synchronous;const v=n.transitional||Br;v&&v.legacyInterceptorReqResOrdering?l.unshift(y.fulfilled,y.rejected):l.push(y.fulfilled,y.rejected)});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let a,f=0,h;if(!c){const A=[ni.bind(this),void 0];for(A.unshift(...l),A.push(...u),h=A.length,a=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new Un(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ql(function(r){t=r}),cancel:t}}};function Cp(e){return function(n){return e.apply(null,n)}}function Tp(e){return _.isObject(e)&&e.isAxiosError===!0}const _r={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(_r).forEach(([e,t])=>{_r[t]=e});function Kl(e){const t=new jt(e),n=Sl(jt.prototype.request,t);return _.extend(n,jt.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Kl(kt(e,r))},n}const he=Kl(Mn);he.Axios=jt;he.CanceledError=Un;he.CancelToken=xp;he.isCancel=Bl;he.VERSION=Hr;he.toFormData=Ns;he.AxiosError=j;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=Cp;he.isAxiosError=Tp;he.mergeConfig=kt;he.AxiosHeaders=Le;he.formToJSON=e=>Ul(_.isHTMLForm(e)?new FormData(e):e);he.getAdapter=$l.getAdapter;he.HttpStatusCode=_r;he.default=he;const{Axios:Ph,AxiosError:Nh,CanceledError:Ih,isCancel:Dh,CancelToken:Lh,VERSION:Fh,all:Mh,Cancel:Uh,isAxiosError:Bh,spread:jh,toFormData:Hh,AxiosHeaders:kh,HttpStatusCode:Vh,formToJSON:$h,getAdapter:qh,mergeConfig:Kh,create:Wh}=he,Pp={class:"create-page"},Np={class:"create-container"},Ip={class:"create-form"},Dp={class:"form-group"},Lp={class:"form-group"},Fp={class:"form-group"},Mp={class:"tags"},Up=["onClick"],Bp=["disabled"],jp={key:0,class:"result-box"},Hp={class:"result-header"},kp={key:0,class:"score-badge"},Vp={class:"result-content"},$p={key:0,class:"hot-analysis"},qp={class:"score-detail"},Kp={__name:"Create",setup(e){const t=qe(""),n=qe(""),s=qe([]),r=qe(!1),o=qe(null),i=["打脸","逆袭","系统","修仙","甜宠","总裁","重生","穿越","无敌","热血"],l=f=>{const h=s.value.indexOf(f);h>-1?s.value.splice(h,1):s.value.push(f)},c=async()=>{if(!n.value){alert("请输入故事设定");return}r.value=!0;try{const f=await he.post("/api/generate",{prompt:n.value,type:t.value,tags:s.value});o.value=f.data}catch(f){console.error(f),alert("生成失败,请稍后重试")}finally{r.value=!1}},u=()=>{alert("保存成功!")},a=()=>{n.value="续写上面的故事",c()};return(f,h)=>(oe(),ce("div",Pp,[U("div",Np,[h[7]||(h[7]=U("div",{class:"create-header"},[U("h1",null,"开始创作"),U("p",null,"输入你的故事构想,AI将为你生成精彩章节")],-1)),U("div",Ip,[U("div",Dp,[h[3]||(h[3]=U("label",null,"故事类型",-1)),Qr(U("select",{"onUpdate:modelValue":h[0]||(h[0]=m=>t.value=m)},[...h[2]||(h[2]=[ir('',7)])],512),[[au,t.value]])]),U("div",Lp,[h[4]||(h[4]=U("label",null,"故事设定",-1)),Qr(U("input",{"onUpdate:modelValue":h[1]||(h[1]=m=>n.value=m),type:"text",placeholder:"例如:都市修仙 / システム / 逆袭"},null,512),[[cu,n.value]])]),U("div",Fp,[h[5]||(h[5]=U("label",null,"期望爽点(可选)",-1)),U("div",Mp,[(oe(),ce(je,null,es(i,m=>U("span",{key:m,class:gs(["tag",{active:s.value.includes(m)}]),onClick:A=>l(m)},me(m),11,Up)),64))])]),U("button",{class:"generate-btn",onClick:c,disabled:r.value},me(r.value?"生成中...":"🚀 立即生成"),9,Bp)]),o.value?(oe(),ce("div",jp,[U("div",Hp,[U("h2",null,me(o.value.title||"未命名章节"),1),o.value.satisfy_score!==void 0?(oe(),ce("div",kp," 爽点: "+me(o.value.satisfy_type)+" ("+me(o.value.satisfy_score)+"分) ",1)):Yt("",!0)]),U("div",Vp,[(oe(!0),ce(je,null,es((o.value.content||"").split(` `),(m,A)=>(oe(),ce("p",{key:A},me(m),1))),128))]),o.value.hot_score?(oe(),ce("div",$p,[h[6]||(h[6]=U("h3",null,"🔥 爆款分析",-1)),U("div",qp,[U("span",null,"爆款分数: "+me(o.value.hot_score.score),1),U("span",null,"等级: "+me(o.value.hot_score.level),1)])])):Yt("",!0),U("div",{class:"result-actions"},[U("button",{onClick:u},"💾 保存"),U("button",{onClick:a},"✍️ 续写")])])):Yt("",!0)])]))}},Wp=Dn(Kp,[["__scopeId","data-v-5432f8a4"]]),Vr=he.create({baseURL:"http://101.34.63.137:8000",timeout:1e4}),Gp=()=>Vr.get("/stories"),zp=e=>Vr.get(`/chapter/${e}`),Jp=e=>Vr.post("/generate",e),Xp={class:"feed-page"},Qp={key:0,class:"loading"},Yp={key:1,class:"empty"},Zp={key:2,class:"feed-list"},eh={class:"type-tag"},th={class:"card-content"},nh={class:"summary"},sh={class:"card-meta"},rh={class:"updated"},oh={class:"card-actions"},ih=["onClick"],lh={__name:"Feed",setup(e){const t=wl(),n=qe([]),s=qe(!0),r=l=>{const c=["linear-gradient(135deg, #667eea 0%, #764ba2 100%)","linear-gradient(135deg, #f093fb 0%, #f5576c 100%)","linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)","linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)","linear-gradient(135deg, #fa709a 0%, #fee140 100%)"];return c[l%c.length]},o=async()=>{try{const l=await Gp();n.value=l.data||[]}catch(l){console.error(l),n.value=[{id:1,title:"AI纪元",type:"科幻",summary:"AI觉醒后的世界,人类与算法共存",chapters:30,updated:"刚刚"},{id:2,title:"仙途长空",type:"仙侠",summary:"修仙世界一步步登临巅峰",chapters:8,updated:"1小时前"}]}finally{s.value=!1}},i=l=>{t.push("/reader/"+l)};return Es(()=>{o()}),(l,c)=>{const u=Nn("router-link");return oe(),ce("div",Xp,[c[3]||(c[3]=U("div",{class:"feed-header"},[U("h1",null,"📚 作品库"),U("p",null,"精选AI创作网文作品")],-1)),s.value?(oe(),ce("div",Qp,[...c[0]||(c[0]=[U("div",{class:"spinner"},null,-1),U("p",null,"加载中...",-1)])])):n.value.length===0?(oe(),ce("div",Yp,[c[2]||(c[2]=U("p",null,"暂无作品",-1)),le(u,{to:"/create",class:"btn"},{default:Je(()=>[...c[1]||(c[1]=[Xe("开始创作",-1)])]),_:1})])):(oe(),ce("div",Zp,[(oe(!0),ce(je,null,es(n.value,a=>(oe(),ce("div",{key:a.id,class:"story-card"},[U("div",{class:"card-cover",style:ms({background:r(a.id)})},[U("span",eh,me(a.type||"都市"),1)],4),U("div",th,[U("h3",null,me(a.title||"未命名作品"),1),U("p",nh,me(a.summary||"暂无简介"),1),U("div",sh,[U("span",null,"📖 "+me(a.chapters||0)+" 章",1),U("span",rh,me(a.updated||"刚刚"),1)]),U("div",oh,[U("button",{onClick:f=>i(a.id)},"开始阅读 →",8,ih)])])]))),128))]))])}}},ch=Dn(lh,[["__scopeId","data-v-6327d0be"]]),ah={class:"reader-page"},uh={key:0,class:"loading"},fh={key:1,class:"error"},dh={key:2,class:"reader-container"},ph={class:"reader-header"},hh={class:"chapter-info"},mh={key:0},gh={class:"reader-content"},_h={class:"reader-footer"},yh={key:0,class:"satisfy-info"},bh={class:"value"},vh={class:"actions"},Eh=["disabled"],Rh=["disabled"],wh={__name:"Reader",setup(e){const t=Rf(),n=qe(!0),s=qe(null),r=qe(null),o=He(()=>{var m;return(((m=r.value)==null?void 0:m.content)||"").split(` `).filter(A=>A.trim())}),i=He(()=>{var h;return(((h=r.value)==null?void 0:h.id)||1)>1}),l=He(()=>!0),c=async h=>{n.value=!0,s.value=null;try{const m=await zp(h);r.value=m.data}catch(m){console.error(m),r.value={id:h,title:"第"+h+"章 觉醒时刻",content:`陆辰睁开眼,世界已经改变。 他记得最后一刻看到的画面——天空中,无数光点汇聚成人形,那是AI觉醒的标志。 "欢迎醒来。"一个温和的声音在他耳边响起。`,word_count:80}}finally{n.value=!1}},u=()=>{var m;const h=((m=r.value)==null?void 0:m.id)||1;h>1&&c(h-1)},a=()=>{var m;const h=((m=r.value)==null?void 0:m.id)||1;c(h+1)},f=async()=>{try{const h="续写第"+r.value.id+"章",m=await Jp({prompt:h,story_id:r.value.id});r.value.content+=` `+m.data.content,r.value.word_count=r.value.content.length}catch{alert("生成失败")}};return Es(()=>{const h=t.params.id||1;c(parseInt(h))}),(h,m)=>{const A=Nn("router-link");return oe(),ce("div",ah,[n.value?(oe(),ce("div",uh,[...m[0]||(m[0]=[U("div",{class:"spinner"},null,-1),U("p",null,"加载中...",-1)])])):s.value?(oe(),ce("div",fh,[U("p",null,me(s.value),1),le(A,{to:"/feed"},{default:Je(()=>[...m[1]||(m[1]=[Xe("← 返回作品库",-1)])]),_:1})])):r.value?(oe(),ce("div",dh,[U("div",ph,[le(A,{to:"/feed",class:"back"},{default:Je(()=>[...m[2]||(m[2]=[Xe("← 返回作品库",-1)])]),_:1}),U("h1",null,me(r.value.title||"未命名章节"),1),U("div",hh,[U("span",null,"章节ID: "+me(r.value.id),1),r.value.word_count?(oe(),ce("span",mh,me(r.value.word_count)+"字",1)):Yt("",!0)])]),U("div",gh,[(oe(!0),ce(je,null,es(o.value,(y,v)=>(oe(),ce("p",{key:v},me(y),1))),128))]),U("div",_h,[r.value.satisfy_info?(oe(),ce("div",yh,[m[3]||(m[3]=U("span",{class:"label"},"本章爽点:",-1)),U("span",bh,me(r.value.satisfy_info),1)])):Yt("",!0),U("div",vh,[U("button",{onClick:u,disabled:!i.value},"← 上一章",8,Eh),le(A,{to:"/feed",class:"btn-home"},{default:Je(()=>[...m[4]||(m[4]=[Xe("📚 目录",-1)])]),_:1}),U("button",{onClick:a,disabled:!l.value},"下一章 →",8,Rh)]),U("div",{class:"pay-section"},[U("button",{class:"pay-btn",onClick:f},"🔥 继续生成10章(1元)")])])])):Yt("",!0)])}}},Sh=Dn(wh,[["__scopeId","data-v-642a465c"]]),Ah=[{path:"/",name:"Home",component:Uf},{path:"/create",name:"Create",component:Wp},{path:"/feed",name:"Feed",component:ch},{path:"/reader",name:"Reader",component:Sh}],Oh=Ef({history:Yu(),routes:Ah}),Wl=du(Nf);Wl.use(Oh);Wl.mount("#app");