17 行
103 KiB
JavaScript
17 行
103 KiB
JavaScript
var io=Object.defineProperty;var oo=(e,t,n)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var es=(e,t,n)=>oo(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();/**
|
|
* @vue/shared v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Lt=[],st=()=>{},$l=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),ke=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ro=Object.prototype.hasOwnProperty,te=(e,t)=>ro.call(e,t),V=Array.isArray,Ft=e=>an(e)==="[object Map]",Nn=e=>an(e)==="[object Set]",sl=e=>an(e)==="[object Date]",N=e=>typeof e=="function",_e=e=>typeof e=="string",lt=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Ll=e=>(re(e)||N(e))&&N(e.then)&&N(e.catch),Fl=Object.prototype.toString,an=e=>Fl.call(e),ao=e=>an(e).slice(8,-1),Vl=e=>an(e)==="[object Object]",Es=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zt=ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},uo=/-\w/g,Je=jn(e=>e.replace(uo,t=>t.slice(1).toUpperCase())),co=/\B([A-Z])/g,It=jn(e=>e.replace(co,"-$1").toLowerCase()),Bl=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=jn(e=>e?`on${Bl(e)}`:""),nt=(e,t)=>!Object.is(e,t),Pn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Nl=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Un=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ll;const Hn=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ts(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],l=_e(s)?go(s):Ts(s);if(l)for(const i in l)t[i]=l[i]}return t}else if(_e(e)||re(e))return e}const fo=/;(?![^(]*\))/g,po=/:([^]+)/,ho=/\/\*[^]*?\*\//g;function go(e){const t={};return e.replace(ho,"").split(fo).forEach(n=>{if(n){const s=n.split(po);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wn(e){let t="";if(_e(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=Wn(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_o=ks(vo);function jl(e){return!!e||e===""}function mo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=un(e[s],t[s]);return n}function un(e,t){if(e===t)return!0;let n=sl(e),s=sl(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=lt(e),s=lt(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?mo(e,t):!1;if(n=re(e),s=re(t),n||s){if(!n||!s)return!1;const l=Object.keys(e).length,i=Object.keys(t).length;if(l!==i)return!1;for(const r in e){const a=e.hasOwnProperty(r),c=t.hasOwnProperty(r);if(a&&!c||!a&&c||!un(e[r],t[r]))return!1}}return String(e)===String(t)}function yo(e,t){return e.findIndex(n=>un(n,t))}const Ul=e=>!!(e&&e.__v_isRef===!0),f=e=>_e(e)?e:e==null?"":V(e)||re(e)&&(e.toString===Fl||!N(e.toString))?Ul(e)?f(e.value):JSON.stringify(e,Hl,2):String(e),Hl=(e,t)=>Ul(t)?Hl(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],i)=>(n[ns(s,i)+" =>"]=l,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:lt(t)?ns(t):re(t)&&!V(t)&&!Vl(t)?String(t):t,ns=(e,t="")=>{var n;return lt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Se;class bo{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&&Se&&(Se.active?(this.parent=Se,this.index=(Se.scopes||(Se.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;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){++this._on===1&&(this.prevScope=Se,Se=this)}off(){if(this._on>0&&--this._on===0){if(Se===this)Se=this.prevScope;else{let t=Se;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function wo(){return Se}let fe;const ss=new WeakSet;class Wl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Se&&(Se.active?Se.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ql(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,il(this),Jl(this);const t=fe,n=Ge;fe=this,Ge=!0;try{return this.fn()}finally{Gl(this),fe=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Is(t);this.deps=this.depsTail=void 0,il(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hs(this)&&this.run()}get dirty(){return hs(this)}}let Kl=0,Yt,Qt;function ql(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=Yt,Yt=e}function Os(){Kl++}function Ds(){if(--Kl>0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yt;){let t=Yt;for(Yt=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 Jl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gl(e){let t,n=e.depsTail,s=n;for(;s;){const l=s.prevDep;s.version===-1?(s===n&&(n=l),Is(s),xo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=l}e.deps=t,e.depsTail=n}function hs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nn)||(e.globalVersion=nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hs(e))))return;e.flags|=2;const t=e.dep,n=fe,s=Ge;fe=e,Ge=!0;try{Jl(e);const l=e.fn(e._value);(t.version===0||nt(l,e._value))&&(e.flags|=128,e._value=l,t.version++)}catch(l){throw t.version++,l}finally{fe=n,Ge=s,Gl(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:s,nextSub:l}=e;if(s&&(s.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Yl=[];function it(){Yl.push(Ge),Ge=!1}function ot(){const e=Yl.pop();Ge=e===void 0?!0:e}function il(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let nn=0;class Co{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 As{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(!fe||!Ge||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new Co(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,Ql(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=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,nn++,this.notify(t)}notify(t){Os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ds()}}}function Ql(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)Ql(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const gs=new WeakMap,Ot=Symbol(""),vs=Symbol(""),sn=Symbol("");function Pe(e,t,n){if(Ge&&fe){let s=gs.get(e);s||gs.set(e,s=new Map);let l=s.get(n);l||(s.set(n,l=new As),l.map=s,l.key=n),l.track()}}function ft(e,t,n,s,l,i){const r=gs.get(e);if(!r){nn++;return}const a=c=>{c&&c.trigger()};if(Os(),t==="clear")r.forEach(a);else{const c=V(e),_=c&&Es(n);if(c&&n==="length"){const h=Number(s);r.forEach((b,D)=>{(D==="length"||D===sn||!lt(D)&&D>=h)&&a(b)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),_&&a(r.get(sn)),t){case"add":c?_&&a(r.get("length")):(a(r.get(Ot)),Ft(e)&&a(r.get(vs)));break;case"delete":c||(a(r.get(Ot)),Ft(e)&&a(r.get(vs)));break;case"set":Ft(e)&&a(r.get(Ot));break}}Ds()}function Mt(e){const t=ee(e);return t===e?t:(Pe(t,"iterate",sn),We(e)?t:t.map(ze))}function Kn(e){return Pe(e=ee(e),"iterate",sn),e}function et(e,t){return ht(e)?jt(Dt(e)?ze(t):t):ze(t)}const So={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,e=>et(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>V(t)?Mt(t):t))},entries(){return ls(this,"entries",e=>(e[1]=et(this,e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,n=>n.map(s=>et(this,s)),arguments)},find(e,t){return at(this,"find",e,t,n=>et(this,n),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,n=>et(this,n),arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},push(...e){return Kt(this,"push",e)},reduce(e,...t){return ol(this,"reduce",e,t)},reduceRight(e,...t){return ol(this,"reduceRight",e,t)},shift(){return Kt(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return Kt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Kt(this,"unshift",e)},values(){return ls(this,"values",e=>et(this,e))}};function ls(e,t,n){const s=Kn(e),l=s[t]();return s!==e&&!We(e)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=n(i.value)),i}),l}const ko=Array.prototype;function at(e,t,n,s,l,i){const r=Kn(e),a=r!==e&&!We(e),c=r[t];if(c!==ko[t]){const b=c.apply(e,i);return a?ze(b):b}let _=n;r!==e&&(a?_=function(b,D){return n.call(this,et(e,b),D,e)}:n.length>2&&(_=function(b,D){return n.call(this,b,D,e)}));const h=c.call(r,_,s);return a&&l?l(h):h}function ol(e,t,n,s){const l=Kn(e),i=l!==e&&!We(e);let r=n,a=!1;l!==e&&(i?(a=s.length===0,r=function(_,h,b){return a&&(a=!1,_=et(e,_)),n.call(this,_,et(e,h),b,e)}):n.length>3&&(r=function(_,h,b){return n.call(this,_,h,b,e)}));const c=l[t](r,...s);return a?et(e,c):c}function is(e,t,n){const s=ee(e);Pe(s,"iterate",sn);const l=s[t](...n);return(l===-1||l===!1)&&Ls(n[0])?(n[0]=ee(n[0]),s[t](...n)):l}function Kt(e,t,n=[]){it(),Os();const s=ee(e)[t].apply(e,n);return Ds(),ot(),s}const Po=ks("__proto__,__v_isRef,__isVue"),Xl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lt));function Eo(e){lt(e)||(e=String(e));const t=ee(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class Zl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const l=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(l?i?Fo:si:i?ni:ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=V(t);if(!l){let c;if(r&&(c=So[n]))return c;if(n==="hasOwnProperty")return Eo}const a=Reflect.get(t,n,Ee(t)?t:s);if((lt(n)?Xl.has(n):Po(n))||(l||Pe(t,"get",n),i))return a;if(Ee(a)){const c=r&&Es(n)?a:a.value;return l&&re(c)?ms(c):c}return re(a)?l?ms(a):Rs(a):a}}class ei extends Zl{constructor(t=!1){super(!1,t)}set(t,n,s,l){let i=t[n];const r=V(t)&&Es(n);if(!this._isShallow){const _=ht(i);if(!We(s)&&!ht(s)&&(i=ee(i),s=ee(s)),!r&&Ee(i)&&!Ee(s))return _||(i.value=s),!0}const a=r?Number(n)<t.length:te(t,n),c=Reflect.set(t,n,s,Ee(t)?t:l);return t===ee(l)&&c&&(a?nt(s,i)&&ft(t,"set",n,s):ft(t,"add",n,s)),c}deleteProperty(t,n){const s=te(t,n);t[n];const l=Reflect.deleteProperty(t,n);return l&&s&&ft(t,"delete",n,void 0),l}has(t,n){const s=Reflect.has(t,n);return(!lt(n)||!Xl.has(n))&&Pe(t,"has",n),s}ownKeys(t){return Pe(t,"iterate",V(t)?"length":Ot),Reflect.ownKeys(t)}}class To extends Zl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Oo=new ei,Do=new To,Io=new ei(!0);const _s=e=>e,Cn=e=>Reflect.getPrototypeOf(e);function Ao(e,t,n){return function(...s){const l=this.__v_raw,i=ee(l),r=Ft(i),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,_=l[e](...s),h=n?_s:t?jt:ze;return!t&&Pe(i,"iterate",c?vs:Ot),ke(Object.create(_),{next(){const{value:b,done:D}=_.next();return D?{value:b,done:D}:{value:a?[h(b[0]),h(b[1])]:h(b),done:D}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mo(e,t){const n={get(l){const i=this.__v_raw,r=ee(i),a=ee(l);e||(nt(l,a)&&Pe(r,"get",l),Pe(r,"get",a));const{has:c}=Cn(r),_=t?_s:e?jt:ze;if(c.call(r,l))return _(i.get(l));if(c.call(r,a))return _(i.get(a));i!==r&&i.get(l)},get size(){const l=this.__v_raw;return!e&&Pe(ee(l),"iterate",Ot),l.size},has(l){const i=this.__v_raw,r=ee(i),a=ee(l);return e||(nt(l,a)&&Pe(r,"has",l),Pe(r,"has",a)),l===a?i.has(l):i.has(l)||i.has(a)},forEach(l,i){const r=this,a=r.__v_raw,c=ee(a),_=t?_s:e?jt:ze;return!e&&Pe(c,"iterate",Ot),a.forEach((h,b)=>l.call(i,_(h),_(b),r))}};return ke(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(l){const i=ee(this),r=Cn(i),a=ee(l),c=!t&&!We(l)&&!ht(l)?a:l;return r.has.call(i,c)||nt(l,c)&&r.has.call(i,l)||nt(a,c)&&r.has.call(i,a)||(i.add(c),ft(i,"add",c,c)),this},set(l,i){!t&&!We(i)&&!ht(i)&&(i=ee(i));const r=ee(this),{has:a,get:c}=Cn(r);let _=a.call(r,l);_||(l=ee(l),_=a.call(r,l));const h=c.call(r,l);return r.set(l,i),_?nt(i,h)&&ft(r,"set",l,i):ft(r,"add",l,i),this},delete(l){const i=ee(this),{has:r,get:a}=Cn(i);let c=r.call(i,l);c||(l=ee(l),c=r.call(i,l)),a&&a.call(i,l);const _=i.delete(l);return c&&ft(i,"delete",l,void 0),_},clear(){const l=ee(this),i=l.size!==0,r=l.clear();return i&&ft(l,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=Ao(l,e,t)}),n}function Ms(e,t){const n=Mo(e,t);return(s,l,i)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(te(n,l)&&l in s?n:s,l,i)}const Ro={get:Ms(!1,!1)},$o={get:Ms(!1,!0)},Lo={get:Ms(!0,!1)};const ti=new WeakMap,ni=new WeakMap,si=new WeakMap,Fo=new WeakMap;function Vo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rs(e){return ht(e)?e:$s(e,!1,Oo,Ro,ti)}function Bo(e){return $s(e,!1,Io,$o,ni)}function ms(e){return $s(e,!0,Do,Lo,si)}function $s(e,t,n,s,l){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=l.get(e);if(i)return i;const r=Vo(ao(e));if(r===0)return e;const a=new Proxy(e,r===2?s:n);return l.set(e,a),a}function Dt(e){return ht(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function No(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&Nl(e,"__v_skip",!0),e}const ze=e=>re(e)?Rs(e):e,jt=e=>re(e)?ms(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function j(e){return jo(e,!1)}function jo(e,t){return Ee(e)?e:new Uo(e,t)}class Uo{constructor(t,n){this.dep=new As,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ee(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||ht(t);t=s?t:ee(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:ze(t),this.dep.trigger())}}function Ho(e){return Ee(e)?e.value:e}const Wo={get:(e,t,n)=>t==="__v_raw"?e:Ho(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return Ee(l)&&!Ee(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function li(e){return Dt(e)?e:new Proxy(e,Wo)}class Ko{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new As(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return ql(this,!0),!0}get value(){const t=this.dep.track();return zl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qo(e,t,n=!1){let s,l;return N(e)?s=e:(s=e.get,l=e.set),new Ko(s,l,n)}const kn={},On=new WeakMap;let Et;function Jo(e,t=!1,n=Et){if(n){let s=On.get(n);s||On.set(n,s=[]),s.push(e)}}function Go(e,t,n=ue){const{immediate:s,deep:l,once:i,scheduler:r,augmentJob:a,call:c}=n,_=$=>l?$:We($)||l===!1||l===0?dt($,1):dt($);let h,b,D,I,W=!1,F=!1;if(Ee(e)?(b=()=>e.value,W=We(e)):Dt(e)?(b=()=>_(e),W=!0):V(e)?(F=!0,W=e.some($=>Dt($)||We($)),b=()=>e.map($=>{if(Ee($))return $.value;if(Dt($))return _($);if(N($))return c?c($,2):$()})):N(e)?t?b=c?()=>c(e,2):e:b=()=>{if(D){it();try{D()}finally{ot()}}const $=Et;Et=h;try{return c?c(e,3,[I]):e(I)}finally{Et=$}}:b=st,t&&l){const $=b,de=l===!0?1/0:l;b=()=>dt($(),de)}const ce=wo(),z=()=>{h.stop(),ce&&ce.active&&Ps(ce.effects,h)};if(i&&t){const $=t;t=(...de)=>{const ae=$(...de);return z(),ae}}let U=F?new Array(e.length).fill(kn):kn;const ne=$=>{if(!(!(h.flags&1)||!h.dirty&&!$))if(t){const de=h.run();if($||l||W||(F?de.some((ae,Te)=>nt(ae,U[Te])):nt(de,U))){D&&D();const ae=Et;Et=h;try{const Te=[de,U===kn?void 0:F&&U[0]===kn?[]:U,I];U=de,c?c(t,3,Te):t(...Te)}finally{Et=ae}}}else h.run()};return a&&a(ne),h=new Wl(b),h.scheduler=r?()=>r(ne,!1):ne,I=$=>Jo($,!1,h),D=h.onStop=()=>{const $=On.get(h);if($){if(c)c($,4);else for(const de of $)de();On.delete(h)}},t?s?ne(!0):U=h.run():r?r(ne.bind(null,!0),!0):h.run(),z.pause=h.pause.bind(h),z.resume=h.resume.bind(h),z.stop=z,z}function dt(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ee(e))dt(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)dt(e[s],t,n);else if(Nn(e)||Ft(e))e.forEach(s=>{dt(s,t,n)});else if(Vl(e)){for(const s in e)dt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dt(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function cn(e,t,n,s){try{return s?e(...s):e()}catch(l){qn(l,t,n)}}function Ye(e,t,n,s){if(N(e)){const l=cn(e,t,n,s);return l&&Ll(l)&&l.catch(i=>{qn(i,t,n)}),l}if(V(e)){const l=[];for(let i=0;i<e.length;i++)l.push(Ye(e[i],t,n,s));return l}}function qn(e,t,n,s=!0){const l=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||ue;if(t){let a=t.parent;const c=t.proxy,_=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const h=a.ec;if(h){for(let b=0;b<h.length;b++)if(h[b](e,c,_)===!1)return}a=a.parent}if(i){it(),cn(i,null,10,[e,c,_]),ot();return}}zo(e,n,l,s,r)}function zo(e,t,n,s=!0,l=!1){if(l)throw e;console.error(e)}const Ie=[];let Ze=-1;const Vt=[];let bt=null,Rt=0;const ii=Promise.resolve();let Dn=null;function oi(e){const t=Dn||ii;return e?t.then(this?e.bind(this):e):t}function Yo(e){let t=Ze+1,n=Ie.length;for(;t<n;){const s=t+n>>>1,l=Ie[s],i=ln(l);i<e||i===e&&l.flags&2?t=s+1:n=s}return t}function Fs(e){if(!(e.flags&1)){const t=ln(e),n=Ie[Ie.length-1];!n||!(e.flags&2)&&t>=ln(n)?Ie.push(e):Ie.splice(Yo(t),0,e),e.flags|=1,ri()}}function ri(){Dn||(Dn=ii.then(ui))}function Qo(e){V(e)?Vt.push(...e):bt&&e.id===-1?bt.splice(Rt+1,0,e):e.flags&1||(Vt.push(e),e.flags|=1),ri()}function rl(e,t,n=Ze+1){for(;n<Ie.length;n++){const s=Ie[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ie.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ai(e){if(Vt.length){const t=[...new Set(Vt)].sort((n,s)=>ln(n)-ln(s));if(Vt.length=0,bt){bt.push(...t);return}for(bt=t,Rt=0;Rt<bt.length;Rt++){const n=bt[Rt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}bt=null,Rt=0}}const ln=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ui(e){try{for(Ze=0;Ze<Ie.length;Ze++){const t=Ie[Ze];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),cn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ze<Ie.length;Ze++){const t=Ie[Ze];t&&(t.flags&=-2)}Ze=-1,Ie.length=0,ai(),Dn=null,(Ie.length||Vt.length)&&ui()}}let He=null,ci=null;function In(e){const t=He;return He=e,ci=e&&e.type.__scopeId||null,t}function Xo(e,t=He,n){if(!t||e._n)return e;const s=(...l)=>{s._d&&ml(-1);const i=In(t);let r;try{r=e(...l)}finally{In(i),s._d&&ml(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function X(e,t){if(He===null)return e;const n=Yn(He),s=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[i,r,a,c=ue]=t[l];i&&(N(i)&&(i={mounted:i,updated:i}),i.deep&&dt(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:a,modifiers:c}))}return e}function kt(e,t,n,s){const l=e.dirs,i=t&&t.dirs;for(let r=0;r<l.length;r++){const a=l[r];i&&(a.oldValue=i[r].value);let c=a.dir[s];c&&(it(),Ye(c,n,8,[e.el,a,e,t]),ot())}}function Zo(e,t){if(Ae){let n=Ae.provides;const s=Ae.parent&&Ae.parent.provides;s===n&&(n=Ae.provides=Object.create(s)),n[e]=t}}function En(e,t,n=!1){const s=Zr();if(s||Bt){let l=Bt?Bt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(l&&e in l)return l[e];if(arguments.length>1)return n&&N(t)?t.call(s&&s.proxy):t}}const er=Symbol.for("v-scx"),tr=()=>En(er);function os(e,t,n){return fi(e,t,n)}function fi(e,t,n=ue){const{immediate:s,deep:l,flush:i,once:r}=n,a=ke({},n),c=t&&s||!t&&i!=="post";let _;if(rn){if(i==="sync"){const I=tr();_=I.__watcherHandles||(I.__watcherHandles=[])}else if(!c){const I=()=>{};return I.stop=st,I.resume=st,I.pause=st,I}}const h=Ae;a.call=(I,W,F)=>Ye(I,h,W,F);let b=!1;i==="post"?a.scheduler=I=>{Re(I,h&&h.suspense)}:i!=="sync"&&(b=!0,a.scheduler=(I,W)=>{W?I():Fs(I)}),a.augmentJob=I=>{t&&(I.flags|=4),b&&(I.flags|=2,h&&(I.id=h.uid,I.i=h))};const D=Go(e,t,a);return rn&&(_?_.push(D):c&&D()),D}function nr(e,t,n){const s=this.proxy,l=_e(e)?e.includes(".")?di(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const r=fn(this),a=fi(l,i.bind(s),n);return r(),a}function di(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;l<n.length&&s;l++)s=s[n[l]];return s}}const sr=Symbol("_vte"),lr=e=>e.__isTeleport,rs=Symbol("_leaveCb");function Vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vs(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 ir(e,t){return N(e)?ke({name:e.name},t,{setup:e}):e}function pi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function al(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const An=new WeakMap;function Xt(e,t,n,s,l=!1){if(V(e)){e.forEach((F,ce)=>Xt(F,t&&(V(t)?t[ce]:t),n,s,l));return}if(Zt(s)&&!l){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Xt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Yn(s.component):s.el,r=l?null:i,{i:a,r:c}=e,_=t&&t.r,h=a.refs===ue?a.refs={}:a.refs,b=a.setupState,D=ee(b),I=b===ue?$l:F=>al(h,F)?!1:te(D,F),W=(F,ce)=>!(ce&&al(h,ce));if(_!=null&&_!==c){if(ul(t),_e(_))h[_]=null,I(_)&&(b[_]=null);else if(Ee(_)){const F=t;W(_,F.k)&&(_.value=null),F.k&&(h[F.k]=null)}}if(N(c)){it();try{cn(c,a,12,[r,h])}finally{ot()}}else{const F=_e(c),ce=Ee(c);if(F||ce){const z=()=>{if(e.f){const U=F?I(c)?b[c]:h[c]:W()||!e.k?c.value:h[e.k];if(l)V(U)&&Ps(U,i);else if(V(U))U.includes(i)||U.push(i);else if(F)h[c]=[i],I(c)&&(b[c]=h[c]);else{const ne=[i];W(c,e.k)&&(c.value=ne),e.k&&(h[e.k]=ne)}}else F?(h[c]=r,I(c)&&(b[c]=r)):ce&&(W(c,e.k)&&(c.value=r),e.k&&(h[e.k]=r))};if(r){const U=()=>{z(),An.delete(e)};U.id=-1,An.set(e,U),Re(U,n)}else ul(e),z()}}}function ul(e){const t=An.get(e);t&&(t.flags|=8,An.delete(e))}Hn().requestIdleCallback;Hn().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,hi=e=>e.type.__isKeepAlive;function or(e,t){gi(e,"a",t)}function rr(e,t){gi(e,"da",t)}function gi(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Jn(t,s,n),n){let l=n.parent;for(;l&&l.parent;)hi(l.parent.vnode)&&ar(s,t,n,l),l=l.parent}}function ar(e,t,n,s){const l=Jn(t,e,s,!0);_i(()=>{Ps(s[t],l)},n)}function Jn(e,t,n=Ae,s=!1){if(n){const l=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{it();const a=fn(n),c=Ye(t,n,e,r);return a(),ot(),c});return s?l.unshift(i):l.push(i),i}}const gt=e=>(t,n=Ae)=>{(!rn||e==="sp")&&Jn(e,(...s)=>t(...s),n)},ur=gt("bm"),vi=gt("m"),cr=gt("bu"),fr=gt("u"),dr=gt("bum"),_i=gt("um"),pr=gt("sp"),hr=gt("rtg"),gr=gt("rtc");function vr(e,t=Ae){Jn("ec",e,t)}const _r=Symbol.for("v-ndc");function xe(e,t,n,s){let l;const i=n,r=V(e);if(r||_e(e)){const a=r&&Dt(e);let c=!1,_=!1;a&&(c=!We(e),_=ht(e),e=Kn(e)),l=new Array(e.length);for(let h=0,b=e.length;h<b;h++)l[h]=t(c?_?jt(ze(e[h])):ze(e[h]):e[h],h,void 0,i)}else if(typeof e=="number"){l=new Array(e);for(let a=0;a<e;a++)l[a]=t(a+1,a,void 0,i)}else if(re(e))if(e[Symbol.iterator])l=Array.from(e,(a,c)=>t(a,c,void 0,i));else{const a=Object.keys(e);l=new Array(a.length);for(let c=0,_=a.length;c<_;c++){const h=a[c];l[c]=t(e[h],h,c,i)}}else l=[];return l}const ys=e=>e?Vi(e)?Yn(e):ys(e.parent):null,en=ke(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=>ys(e.parent),$root:e=>ys(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yi(e),$forceUpdate:e=>e.f||(e.f=()=>{Fs(e.update)}),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>nr.bind(e)}),as=(e,t)=>e!==ue&&!e.__isScriptSetup&&te(e,t),mr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:l,props:i,accessCache:r,type:a,appContext:c}=e;if(t[0]!=="$"){const D=r[t];if(D!==void 0)switch(D){case 1:return s[t];case 2:return l[t];case 4:return n[t];case 3:return i[t]}else{if(as(s,t))return r[t]=1,s[t];if(l!==ue&&te(l,t))return r[t]=2,l[t];if(te(i,t))return r[t]=3,i[t];if(n!==ue&&te(n,t))return r[t]=4,n[t];bs&&(r[t]=0)}}const _=en[t];let h,b;if(_)return t==="$attrs"&&Pe(e.attrs,"get",""),_(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==ue&&te(n,t))return r[t]=4,n[t];if(b=c.config.globalProperties,te(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:i}=e;return as(l,t)?(l[t]=n,!0):s!==ue&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:l,props:i,type:r}},a){let c;return!!(n[a]||e!==ue&&a[0]!=="$"&&te(e,a)||as(t,a)||te(i,a)||te(s,a)||te(en,a)||te(l.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cl(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bs=!0;function yr(e){const t=yi(e),n=e.proxy,s=e.ctx;bs=!1,t.beforeCreate&&fl(t.beforeCreate,e,"bc");const{data:l,computed:i,methods:r,watch:a,provide:c,inject:_,created:h,beforeMount:b,mounted:D,beforeUpdate:I,updated:W,activated:F,deactivated:ce,beforeDestroy:z,beforeUnmount:U,destroyed:ne,unmounted:$,render:de,renderTracked:ae,renderTriggered:Te,errorCaptured:$e,serverPrefetch:Qe,expose:Le,inheritAttrs:H,components:Ke,directives:Fe,filters:Ve}=t;if(_&&br(_,s,null),r)for(const K in r){const Y=r[K];N(Y)&&(s[K]=Y.bind(n))}if(l){const K=l.call(n,n);re(K)&&(e.data=Rs(K))}if(bs=!0,i)for(const K in i){const Y=i[K],be=N(Y)?Y.bind(n,n):N(Y.get)?Y.get.bind(n,n):st,rt=!N(Y)&&N(Y.set)?Y.set.bind(n):st,pe=yt({get:be,set:rt});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>pe.value,set:Me=>pe.value=Me})}if(a)for(const K in a)mi(a[K],s,n,K);if(c){const K=N(c)?c.call(n):c;Reflect.ownKeys(K).forEach(Y=>{Zo(Y,K[Y])})}h&&fl(h,e,"c");function J(K,Y){V(Y)?Y.forEach(be=>K(be.bind(n))):Y&&K(Y.bind(n))}if(J(ur,b),J(vi,D),J(cr,I),J(fr,W),J(or,F),J(rr,ce),J(vr,$e),J(gr,ae),J(hr,Te),J(dr,U),J(_i,$),J(pr,Qe),V(Le))if(Le.length){const K=e.exposed||(e.exposed={});Le.forEach(Y=>{Object.defineProperty(K,Y,{get:()=>n[Y],set:be=>n[Y]=be,enumerable:!0})})}else e.exposed||(e.exposed={});de&&e.render===st&&(e.render=de),H!=null&&(e.inheritAttrs=H),Ke&&(e.components=Ke),Fe&&(e.directives=Fe),Qe&&pi(e)}function br(e,t,n=st){V(e)&&(e=ws(e));for(const s in e){const l=e[s];let i;re(l)?"default"in l?i=En(l.from||s,l.default,!0):i=En(l.from||s):i=En(l),Ee(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function fl(e,t,n){Ye(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function mi(e,t,n,s){let l=s.includes(".")?di(n,s):()=>n[s];if(_e(e)){const i=t[e];N(i)&&os(l,i)}else if(N(e))os(l,e.bind(n));else if(re(e))if(V(e))e.forEach(i=>mi(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&os(l,i,e)}}function yi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:l,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,a=i.get(t);let c;return a?c=a:!l.length&&!n&&!s?c=t:(c={},l.length&&l.forEach(_=>Mn(c,_,r,!0)),Mn(c,t,r)),re(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:l,extends:i}=t;i&&Mn(e,i,n,!0),l&&l.forEach(r=>Mn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=wr[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const wr={data:dl,props:pl,emits:pl,methods:Jt,computed:Jt,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:Jt,directives:Jt,watch:Cr,provide:dl,inject:xr};function dl(e,t){return t?e?function(){return ke(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function xr(e,t){return Jt(ws(e),ws(t))}function ws(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function Jt(e,t){return e?ke(Object.create(null),e,t):t}function pl(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:ke(Object.create(null),cl(e),cl(t??{})):t}function Cr(e,t){if(!e)return t;if(!t)return e;const n=ke(Object.create(null),e);for(const s in t)n[s]=De(e[s],t[s]);return n}function bi(){return{app:null,config:{isNativeTag:$l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sr=0;function kr(e,t){return function(s,l=null){N(s)||(s=ke({},s)),l!=null&&!re(l)&&(l=null);const i=bi(),r=new WeakSet,a=[];let c=!1;const _=i.app={_uid:Sr++,_component:s,_props:l,_container:null,_context:i,_instance:null,version:ia,get config(){return i.config},set config(h){},use(h,...b){return r.has(h)||(h&&N(h.install)?(r.add(h),h.install(_,...b)):N(h)&&(r.add(h),h(_,...b))),_},mixin(h){return i.mixins.includes(h)||i.mixins.push(h),_},component(h,b){return b?(i.components[h]=b,_):i.components[h]},directive(h,b){return b?(i.directives[h]=b,_):i.directives[h]},mount(h,b,D){if(!c){const I=_._ceVNode||pt(s,l);return I.appContext=i,D===!0?D="svg":D===!1&&(D=void 0),e(I,h,D),c=!0,_._container=h,h.__vue_app__=_,Yn(I.component)}},onUnmount(h){a.push(h)},unmount(){c&&(Ye(a,_._instance,16),e(null,_._container),delete _._container.__vue_app__)},provide(h,b){return i.provides[h]=b,_},runWithContext(h){const b=Bt;Bt=_;try{return h()}finally{Bt=b}}};return _}}let Bt=null;const Pr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Je(t)}Modifiers`]||e[`${It(t)}Modifiers`];function Er(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;let l=n;const i=t.startsWith("update:"),r=i&&Pr(s,t.slice(7));r&&(r.trim&&(l=n.map(h=>_e(h)?h.trim():h)),r.number&&(l=n.map(Un)));let a,c=s[a=ts(t)]||s[a=ts(Je(t))];!c&&i&&(c=s[a=ts(It(t))]),c&&Ye(c,e,6,l);const _=s[a+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ye(_,e,6,l)}}const Tr=new WeakMap;function wi(e,t,n=!1){const s=n?Tr:t.emitsCache,l=s.get(e);if(l!==void 0)return l;const i=e.emits;let r={},a=!1;if(!N(e)){const c=_=>{const h=wi(_,t,!0);h&&(a=!0,ke(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(re(e)&&s.set(e,null),null):(V(i)?i.forEach(c=>r[c]=null):ke(r,i),re(e)&&s.set(e,r),r)}function Gn(e,t){return!e||!Vn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,It(t))||te(e,t))}function hl(e){const{type:t,vnode:n,proxy:s,withProxy:l,propsOptions:[i],slots:r,attrs:a,emit:c,render:_,renderCache:h,props:b,data:D,setupState:I,ctx:W,inheritAttrs:F}=e,ce=In(e);let z,U;try{if(n.shapeFlag&4){const $=l||s,de=$;z=tt(_.call(de,$,h,b,I,D,W)),U=a}else{const $=t;z=tt($.length>1?$(b,{attrs:a,slots:r,emit:c}):$(b,null)),U=t.props?a:Or(a)}}catch($){tn.length=0,qn($,e,1),z=pt(wt)}let ne=z;if(U&&F!==!1){const $=Object.keys(U),{shapeFlag:de}=ne;$.length&&de&7&&(i&&$.some(Bn)&&(U=Dr(U,i)),ne=Ut(ne,U,!1,!0))}return n.dirs&&(ne=Ut(ne,null,!1,!0),ne.dirs=ne.dirs?ne.dirs.concat(n.dirs):n.dirs),n.transition&&Vs(ne,n.transition),z=ne,In(ce),z}const Or=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vn(n))&&((t||(t={}))[n]=e[n]);return t},Dr=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ir(e,t,n){const{props:s,children:l,component:i}=e,{props:r,children:a,patchFlag:c}=t,_=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?gl(s,r,_):!!r;if(c&8){const h=t.dynamicProps;for(let b=0;b<h.length;b++){const D=h[b];if(xi(r,s,D)&&!Gn(_,D))return!0}}}else return(l||a)&&(!a||!a.$stable)?!0:s===r?!1:s?r?gl(s,r,_):!0:!!r;return!1}function gl(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let l=0;l<s.length;l++){const i=s[l];if(xi(t,e,i)&&!Gn(n,i))return!0}return!1}function xi(e,t,n){const s=e[n],l=t[n];return n==="style"&&re(s)&&re(l)?!un(s,l):s!==l}function Ar({vnode:e,parent:t,suspense:n},s){for(;t;){const l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.suspense.vnode.el=l.el=s,e=l),l===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Ci={},Si=()=>Object.create(Ci),ki=e=>Object.getPrototypeOf(e)===Ci;function Mr(e,t,n,s=!1){const l={},i=Si();e.propsDefaults=Object.create(null),Pi(e,t,l,i);for(const r in e.propsOptions[0])r in l||(l[r]=void 0);n?e.props=s?l:Bo(l):e.type.props?e.props=l:e.props=i,e.attrs=i}function Rr(e,t,n,s){const{props:l,attrs:i,vnode:{patchFlag:r}}=e,a=ee(l),[c]=e.propsOptions;let _=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let b=0;b<h.length;b++){let D=h[b];if(Gn(e.emitsOptions,D))continue;const I=t[D];if(c)if(te(i,D))I!==i[D]&&(i[D]=I,_=!0);else{const W=Je(D);l[W]=xs(c,a,W,I,e,!1)}else I!==i[D]&&(i[D]=I,_=!0)}}}else{Pi(e,t,l,i)&&(_=!0);let h;for(const b in a)(!t||!te(t,b)&&((h=It(b))===b||!te(t,h)))&&(c?n&&(n[b]!==void 0||n[h]!==void 0)&&(l[b]=xs(c,a,b,void 0,e,!0)):delete l[b]);if(i!==a)for(const b in i)(!t||!te(t,b))&&(delete i[b],_=!0)}_&&ft(e.attrs,"set","")}function Pi(e,t,n,s){const[l,i]=e.propsOptions;let r=!1,a;if(t)for(let c in t){if(zt(c))continue;const _=t[c];let h;l&&te(l,h=Je(c))?!i||!i.includes(h)?n[h]=_:(a||(a={}))[h]=_:Gn(e.emitsOptions,c)||(!(c in s)||_!==s[c])&&(s[c]=_,r=!0)}if(i){const c=ee(n),_=a||ue;for(let h=0;h<i.length;h++){const b=i[h];n[b]=xs(l,c,b,_[b],e,!te(_,b))}}return r}function xs(e,t,n,s,l,i){const r=e[n];if(r!=null){const a=te(r,"default");if(a&&s===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&N(c)){const{propsDefaults:_}=l;if(n in _)s=_[n];else{const h=fn(l);s=_[n]=c.call(null,t),h()}}else s=c;l.ce&&l.ce._setProp(n,s)}r[0]&&(i&&!a?s=!1:r[1]&&(s===""||s===It(n))&&(s=!0))}return s}const $r=new WeakMap;function Ei(e,t,n=!1){const s=n?$r:t.propsCache,l=s.get(e);if(l)return l;const i=e.props,r={},a=[];let c=!1;if(!N(e)){const h=b=>{c=!0;const[D,I]=Ei(b,t,!0);ke(r,D),I&&a.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return re(e)&&s.set(e,Lt),Lt;if(V(i))for(let h=0;h<i.length;h++){const b=Je(i[h]);vl(b)&&(r[b]=ue)}else if(i)for(const h in i){const b=Je(h);if(vl(b)){const D=i[h],I=r[b]=V(D)||N(D)?{type:D}:ke({},D),W=I.type;let F=!1,ce=!0;if(V(W))for(let z=0;z<W.length;++z){const U=W[z],ne=N(U)&&U.name;if(ne==="Boolean"){F=!0;break}else ne==="String"&&(ce=!1)}else F=N(W)&&W.name==="Boolean";I[0]=F,I[1]=ce,(F||te(I,"default"))&&a.push(b)}}const _=[r,a];return re(e)&&s.set(e,_),_}function vl(e){return e[0]!=="$"&&!zt(e)}const Bs=e=>e==="_"||e==="_ctx"||e==="$stable",Ns=e=>V(e)?e.map(tt):[tt(e)],Lr=(e,t,n)=>{if(t._n)return t;const s=Xo((...l)=>Ns(t(...l)),n);return s._c=!1,s},Ti=(e,t,n)=>{const s=e._ctx;for(const l in e){if(Bs(l))continue;const i=e[l];if(N(i))t[l]=Lr(l,i,s);else if(i!=null){const r=Ns(i);t[l]=()=>r}}},Oi=(e,t)=>{const n=Ns(t);e.slots.default=()=>n},Di=(e,t,n)=>{for(const s in t)(n||!Bs(s))&&(e[s]=t[s])},Fr=(e,t,n)=>{const s=e.slots=Si();if(e.vnode.shapeFlag&32){const l=t._;l?(Di(s,t,n),n&&Nl(s,"_",l,!0)):Ti(t,s)}else t&&Oi(e,t)},Vr=(e,t,n)=>{const{vnode:s,slots:l}=e;let i=!0,r=ue;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Di(l,t,n):(i=!t.$stable,Ti(t,l)),r=t}else t&&(Oi(e,t),r={default:1});if(i)for(const a in l)!Bs(a)&&r[a]==null&&delete l[a]},Re=Hr;function Br(e){return Nr(e)}function Nr(e,t){const n=Hn();n.__VUE__=!0;const{insert:s,remove:l,patchProp:i,createElement:r,createText:a,createComment:c,setText:_,setElementText:h,parentNode:b,nextSibling:D,setScopeId:I=st,insertStaticContent:W}=e,F=(u,p,m,S=null,C=null,w=null,P=void 0,k=null,y=!!p.dynamicChildren)=>{if(u===p)return;u&&!qt(u,p)&&(S=At(u),Me(u,C,w,!0),u=null),p.patchFlag===-2&&(y=!1,p.dynamicChildren=null);const{type:x,ref:R,shapeFlag:O}=p;switch(x){case zn:ce(u,p,m,S);break;case wt:z(u,p,m,S);break;case cs:u==null&&U(p,m,S,P);break;case le:Ke(u,p,m,S,C,w,P,k,y);break;default:O&1?de(u,p,m,S,C,w,P,k,y):O&6?Fe(u,p,m,S,C,w,P,k,y):(O&64||O&128)&&x.process(u,p,m,S,C,w,P,k,y,xt)}R!=null&&C?Xt(R,u&&u.ref,w,p||u,!p):R==null&&u&&u.ref!=null&&Xt(u.ref,null,w,u,!0)},ce=(u,p,m,S)=>{if(u==null)s(p.el=a(p.children),m,S);else{const C=p.el=u.el;p.children!==u.children&&_(C,p.children)}},z=(u,p,m,S)=>{u==null?s(p.el=c(p.children||""),m,S):p.el=u.el},U=(u,p,m,S)=>{[u.el,u.anchor]=W(u.children,p,m,S,u.el,u.anchor)},ne=({el:u,anchor:p},m,S)=>{let C;for(;u&&u!==p;)C=D(u),s(u,m,S),u=C;s(p,m,S)},$=({el:u,anchor:p})=>{let m;for(;u&&u!==p;)m=D(u),l(u),u=m;l(p)},de=(u,p,m,S,C,w,P,k,y)=>{if(p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),u==null)ae(p,m,S,C,w,P,k,y);else{const x=u.el&&u.el._isVueCE?u.el:null;try{x&&x._beginPatch(),Qe(u,p,C,w,P,k,y)}finally{x&&x._endPatch()}}},ae=(u,p,m,S,C,w,P,k)=>{let y,x;const{props:R,shapeFlag:O,transition:A,dirs:L}=u;if(y=u.el=r(u.type,w,R&&R.is,R),O&8?h(y,u.children):O&16&&$e(u.children,y,null,S,C,us(u,w),P,k),L&&kt(u,null,S,"created"),Te(y,u,u.scopeId,P,S),R){for(const se in R)se!=="value"&&!zt(se)&&i(y,se,null,R[se],w,S);"value"in R&&i(y,"value",null,R.value,w),(x=R.onVnodeBeforeMount)&&Xe(x,S,u)}L&&kt(u,null,S,"beforeMount");const q=jr(C,A);q&&A.beforeEnter(y),s(y,p,m),((x=R&&R.onVnodeMounted)||q||L)&&Re(()=>{try{x&&Xe(x,S,u),q&&A.enter(y),L&&kt(u,null,S,"mounted")}finally{}},C)},Te=(u,p,m,S,C)=>{if(m&&I(u,m),S)for(let w=0;w<S.length;w++)I(u,S[w]);if(C){let w=C.subTree;if(p===w||Ri(w.type)&&(w.ssContent===p||w.ssFallback===p)){const P=C.vnode;Te(u,P,P.scopeId,P.slotScopeIds,C.parent)}}},$e=(u,p,m,S,C,w,P,k,y=0)=>{for(let x=y;x<u.length;x++){const R=u[x]=k?ct(u[x]):tt(u[x]);F(null,R,p,m,S,C,w,P,k)}},Qe=(u,p,m,S,C,w,P)=>{const k=p.el=u.el;let{patchFlag:y,dynamicChildren:x,dirs:R}=p;y|=u.patchFlag&16;const O=u.props||ue,A=p.props||ue;let L;if(m&&Pt(m,!1),(L=A.onVnodeBeforeUpdate)&&Xe(L,m,p,u),R&&kt(p,u,m,"beforeUpdate"),m&&Pt(m,!0),x&&(!u.dynamicChildren||u.dynamicChildren.length!==x.length)&&(y=0,P=!1,x=null),(O.innerHTML&&A.innerHTML==null||O.textContent&&A.textContent==null)&&h(k,""),x?Le(u.dynamicChildren,x,k,m,S,us(p,C),w):P||Y(u,p,k,null,m,S,us(p,C),w,!1),y>0){if(y&16)H(k,O,A,m,C);else if(y&2&&O.class!==A.class&&i(k,"class",null,A.class,C),y&4&&i(k,"style",O.style,A.style,C),y&8){const q=p.dynamicProps;for(let se=0;se<q.length;se++){const Z=q[se],ge=O[Z],we=A[Z];(we!==ge||Z==="value")&&i(k,Z,ge,we,C,m)}}y&1&&u.children!==p.children&&h(k,p.children)}else!P&&x==null&&H(k,O,A,m,C);((L=A.onVnodeUpdated)||R)&&Re(()=>{L&&Xe(L,m,p,u),R&&kt(p,u,m,"updated")},S)},Le=(u,p,m,S,C,w,P)=>{for(let k=0;k<p.length;k++){const y=u[k],x=p[k],R=y.el&&(y.type===le||!qt(y,x)||y.shapeFlag&198)?b(y.el):m;F(y,x,R,null,S,C,w,P,!0)}},H=(u,p,m,S,C)=>{if(p!==m){if(p!==ue)for(const w in p)!zt(w)&&!(w in m)&&i(u,w,p[w],null,C,S);for(const w in m){if(zt(w))continue;const P=m[w],k=p[w];P!==k&&w!=="value"&&i(u,w,k,P,C,S)}"value"in m&&i(u,"value",p.value,m.value,C)}},Ke=(u,p,m,S,C,w,P,k,y)=>{const x=p.el=u?u.el:a(""),R=p.anchor=u?u.anchor:a("");let{patchFlag:O,dynamicChildren:A,slotScopeIds:L}=p;L&&(k=k?k.concat(L):L),u==null?(s(x,m,S),s(R,m,S),$e(p.children||[],m,R,C,w,P,k,y)):O>0&&O&64&&A&&u.dynamicChildren&&u.dynamicChildren.length===A.length?(Le(u.dynamicChildren,A,m,C,w,P,k),(p.key!=null||C&&p===C.subTree)&&Ii(u,p,!0)):Y(u,p,m,R,C,w,P,k,y)},Fe=(u,p,m,S,C,w,P,k,y)=>{p.slotScopeIds=k,u==null?p.shapeFlag&512?C.ctx.activate(p,m,S,P,y):Ve(p,m,S,C,w,P,y):ye(u,p,y)},Ve=(u,p,m,S,C,w,P)=>{const k=u.component=Xr(u,S,C);if(hi(u)&&(k.ctx.renderer=xt),ea(k,!1,P),k.asyncDep){if(C&&C.registerDep(k,J,P),!u.el){const y=k.subTree=pt(wt);z(null,y,p,m),u.placeholder=y.el}}else J(k,u,p,m,C,w,P)},ye=(u,p,m)=>{const S=p.component=u.component;if(Ir(u,p,m))if(S.asyncDep&&!S.asyncResolved){K(S,p,m);return}else S.next=p,S.update();else p.el=u.el,S.vnode=p},J=(u,p,m,S,C,w,P)=>{const k=()=>{if(u.isMounted){let{next:O,bu:A,u:L,parent:q,vnode:se}=u;{const je=Ai(u);if(je){O&&(O.el=se.el,K(u,O,P)),je.asyncDep.then(()=>{Re(()=>{u.isUnmounted||x()},C)});return}}let Z=O,ge;Pt(u,!1),O?(O.el=se.el,K(u,O,P)):O=se,A&&Pn(A),(ge=O.props&&O.props.onVnodeBeforeUpdate)&&Xe(ge,q,O,se),Pt(u,!0);const we=hl(u),Ne=u.subTree;u.subTree=we,F(Ne,we,b(Ne.el),At(Ne),u,C,w),O.el=we.el,Z===null&&Ar(u,we.el),L&&Re(L,C),(ge=O.props&&O.props.onVnodeUpdated)&&Re(()=>Xe(ge,q,O,se),C)}else{let O;const{el:A,props:L}=p,{bm:q,m:se,parent:Z,root:ge,type:we}=u,Ne=Zt(p);Pt(u,!1),q&&Pn(q),!Ne&&(O=L&&L.onVnodeBeforeMount)&&Xe(O,Z,p),Pt(u,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(we,u.parent?u.parent.type:void 0);const je=u.subTree=hl(u);F(null,je,m,S,u,C,w),p.el=je.el}if(se&&Re(se,C),!Ne&&(O=L&&L.onVnodeMounted)){const je=p;Re(()=>Xe(O,Z,je),C)}(p.shapeFlag&256||Z&&Zt(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&Re(u.a,C),u.isMounted=!0,p=m=S=null}};u.scope.on();const y=u.effect=new Wl(k);u.scope.off();const x=u.update=y.run.bind(y),R=u.job=y.runIfDirty.bind(y);R.i=u,R.id=u.uid,y.scheduler=()=>Fs(R),Pt(u,!0),x()},K=(u,p,m)=>{p.component=u;const S=u.vnode.props;u.vnode=p,u.next=null,Rr(u,p.props,S,m),Vr(u,p.children,m),it(),rl(u),ot()},Y=(u,p,m,S,C,w,P,k,y=!1)=>{const x=u&&u.children,R=u?u.shapeFlag:0,O=p.children,{patchFlag:A,shapeFlag:L}=p;if(A>0){if(A&128){rt(x,O,m,S,C,w,P,k,y);return}else if(A&256){be(x,O,m,S,C,w,P,k,y);return}}L&8?(R&16&&_t(x,C,w),O!==x&&h(m,O)):R&16?L&16?rt(x,O,m,S,C,w,P,k,y):_t(x,C,w,!0):(R&8&&h(m,""),L&16&&$e(O,m,S,C,w,P,k,y))},be=(u,p,m,S,C,w,P,k,y)=>{u=u||Lt,p=p||Lt;const x=u.length,R=p.length,O=Math.min(x,R);let A;for(A=0;A<O;A++){const L=p[A]=y?ct(p[A]):tt(p[A]);F(u[A],L,m,null,C,w,P,k,y)}x>R?_t(u,C,w,!0,!1,O):$e(p,m,S,C,w,P,k,y,O)},rt=(u,p,m,S,C,w,P,k,y)=>{let x=0;const R=p.length;let O=u.length-1,A=R-1;for(;x<=O&&x<=A;){const L=u[x],q=p[x]=y?ct(p[x]):tt(p[x]);if(qt(L,q))F(L,q,m,null,C,w,P,k,y);else break;x++}for(;x<=O&&x<=A;){const L=u[O],q=p[A]=y?ct(p[A]):tt(p[A]);if(qt(L,q))F(L,q,m,null,C,w,P,k,y);else break;O--,A--}if(x>O){if(x<=A){const L=A+1,q=L<R?p[L].el:S;for(;x<=A;)F(null,p[x]=y?ct(p[x]):tt(p[x]),m,q,C,w,P,k,y),x++}}else if(x>A)for(;x<=O;)Me(u[x],C,w,!0),x++;else{const L=x,q=x,se=new Map;for(x=q;x<=A;x++){const Oe=p[x]=y?ct(p[x]):tt(p[x]);Oe.key!=null&&se.set(Oe.key,x)}let Z,ge=0;const we=A-q+1;let Ne=!1,je=0;const Ct=new Array(we);for(x=0;x<we;x++)Ct[x]=0;for(x=L;x<=O;x++){const Oe=u[x];if(ge>=we){Me(Oe,C,w,!0);continue}let Ue;if(Oe.key!=null)Ue=se.get(Oe.key);else for(Z=q;Z<=A;Z++)if(Ct[Z-q]===0&&qt(Oe,p[Z])){Ue=Z;break}Ue===void 0?Me(Oe,C,w,!0):(Ct[Ue-q]=x+1,Ue>=je?je=Ue:Ne=!0,F(Oe,p[Ue],m,null,C,w,P,k,y),ge++)}const pn=Ne?Ur(Ct):Lt;for(Z=pn.length-1,x=we-1;x>=0;x--){const Oe=q+x,Ue=p[Oe],hn=p[Oe+1],gn=Oe+1<R?hn.el||Mi(hn):S;Ct[x]===0?F(null,Ue,m,gn,C,w,P,k,y):Ne&&(Z<0||x!==pn[Z]?pe(Ue,m,gn,2):Z--)}}},pe=(u,p,m,S,C=null)=>{const{el:w,type:P,transition:k,children:y,shapeFlag:x}=u;if(x&6){pe(u.component.subTree,p,m,S);return}if(x&128){u.suspense.move(p,m,S);return}if(x&64){P.move(u,p,m,xt);return}if(P===le){s(w,p,m);for(let O=0;O<y.length;O++)pe(y[O],p,m,S);s(u.anchor,p,m);return}if(P===cs){ne(u,p,m);return}if(S!==2&&x&1&&k)if(S===0)k.persisted&&!w[rs]?s(w,p,m):(k.beforeEnter(w),s(w,p,m),Re(()=>k.enter(w),C));else{const{leave:O,delayLeave:A,afterLeave:L}=k,q=()=>{u.ctx.isUnmounted?l(w):s(w,p,m)},se=()=>{const Z=w._isLeaving||!!w[rs];w._isLeaving&&w[rs](!0),k.persisted&&!Z?q():O(w,()=>{q(),L&&L()})};A?A(w,q,se):se()}else s(w,p,m)},Me=(u,p,m,S=!1,C=!1)=>{const{type:w,props:P,ref:k,children:y,dynamicChildren:x,shapeFlag:R,patchFlag:O,dirs:A,cacheIndex:L,memo:q}=u;if(O===-2&&(C=!1),k!=null&&(it(),Xt(k,null,m,u,!0),ot()),L!=null&&(p.renderCache[L]=void 0),R&256){p.ctx.deactivate(u);return}const se=R&1&&A,Z=!Zt(u);let ge;if(Z&&(ge=P&&P.onVnodeBeforeUnmount)&&Xe(ge,p,u),R&6)qe(u.component,m,S);else{if(R&128){u.suspense.unmount(m,S);return}se&&kt(u,null,p,"beforeUnmount"),R&64?u.type.remove(u,p,m,xt,S):x&&!x.hasOnce&&(w!==le||O>0&&O&64)?_t(x,p,m,!1,!0):(w===le&&O&384||!C&&R&16)&&_t(y,p,m),S&&B(u)}const we=q!=null&&L==null;(Z&&(ge=P&&P.onVnodeUnmounted)||se||we)&&Re(()=>{ge&&Xe(ge,p,u),se&&kt(u,null,p,"unmounted"),we&&(u.el=null)},m)},B=u=>{const{type:p,el:m,anchor:S,transition:C}=u;if(p===le){vt(m,S);return}if(p===cs){$(u);return}const w=()=>{l(m),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(u.shapeFlag&1&&C&&!C.persisted){const{leave:P,delayLeave:k}=C,y=()=>P(m,w);k?k(u.el,w,y):y()}else w()},vt=(u,p)=>{let m;for(;u!==p;)m=D(u),l(u),u=m;l(p)},qe=(u,p,m)=>{const{bum:S,scope:C,job:w,subTree:P,um:k,m:y,a:x}=u;_l(y),_l(x),S&&Pn(S),C.stop(),w&&(w.flags|=8,Me(P,u,p,m)),k&&Re(k,p),Re(()=>{u.isUnmounted=!0},p)},_t=(u,p,m,S=!1,C=!1,w=0)=>{for(let P=w;P<u.length;P++)Me(u[P],p,m,S,C)},At=u=>{if(u.shapeFlag&6)return At(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=D(u.anchor||u.el),m=p&&p[sr];return m?D(m):p};let Ht=!1;const dn=(u,p,m)=>{let S;u==null?p._vnode&&(Me(p._vnode,null,null,!0),S=p._vnode.component):F(p._vnode||null,u,p,null,null,null,m),p._vnode=u,Ht||(Ht=!0,rl(S),ai(),Ht=!1)},xt={p:F,um:Me,m:pe,r:B,mt:Ve,mc:$e,pc:Y,pbc:Le,n:At,o:e};return{render:dn,hydrate:void 0,createApp:kr(dn)}}function us({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 Pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ii(e,t,n=!1){const s=e.children,l=t.children;if(V(s)&&V(l))for(let i=0;i<s.length;i++){const r=s[i];let a=l[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=l[i]=ct(l[i]),a.el=r.el),!n&&a.patchFlag!==-2&&Ii(r,a)),a.type===zn&&(a.patchFlag===-1&&(a=l[i]=ct(a)),a.el=r.el),a.type===wt&&!a.el&&(a.el=r.el)}}function Ur(e){const t=e.slice(),n=[0];let s,l,i,r,a;const c=e.length;for(s=0;s<c;s++){const _=e[s];if(_!==0){if(l=n[n.length-1],e[l]<_){t[s]=l,n.push(s);continue}for(i=0,r=n.length-1;i<r;)a=i+r>>1,e[n[a]]<_?i=a+1:r=a;_<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ai(t)}function _l(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mi(t.subTree):null}const Ri=e=>e.__isSuspense;function Hr(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Qo(e)}const le=Symbol.for("v-fgt"),zn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),tn=[];let Be=null;function E(e=!1){tn.push(Be=e?null:[])}function Wr(){tn.pop(),Be=tn[tn.length-1]||null}let on=1;function ml(e,t=!1){on+=e,e<0&&Be&&t&&(Be.hasOnce=!0)}function $i(e){return e.dynamicChildren=on>0?Be||Lt:null,Wr(),on>0&&Be&&Be.push(e),e}function T(e,t,n,s,l,i){return $i(o(e,t,n,s,l,i,!0))}function Kr(e,t,n,s,l){return $i(pt(e,t,n,s,l,!0))}function Li(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Fi=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ee(e)||N(e)?{i:He,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,s=0,l=null,i=e===le?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fi(t),ref:t&&Tn(t),scopeId:ci,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:i,patchFlag:s,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:He};return a?(Rn(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=_e(n)?8:16),on>0&&!r&&Be&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Be.push(c),c}const pt=qr;function qr(e,t=null,n=null,s=0,l=null,i=!1){if((!e||e===_r)&&(e=wt),Li(e)){const a=Ut(e,t,!0);return n&&Rn(a,n),on>0&&!i&&Be&&(a.shapeFlag&6?Be[Be.indexOf(e)]=a:Be.push(a)),a.patchFlag=-2,a}if(la(e)&&(e=e.__vccOpts),t){t=Jr(t);let{class:a,style:c}=t;a&&!_e(a)&&(t.class=Wn(a)),re(c)&&(Ls(c)&&!V(c)&&(c=ke({},c)),t.style=Ts(c))}const r=_e(e)?1:Ri(e)?128:lr(e)?64:re(e)?4:N(e)?2:0;return o(e,t,n,s,l,r,i,!0)}function Jr(e){return e?Ls(e)||ki(e)?ke({},e):e:null}function Ut(e,t,n=!1,s=!1){const{props:l,ref:i,patchFlag:r,children:a,transition:c}=e,_=t?zr(l||{},t):l,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:_,key:_&&Fi(_),ref:t&&t.ref?n&&i?V(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==le?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Vs(h,c.clone(h)),h}function Gr(e=" ",t=0){return pt(zn,null,e,t)}function G(e="",t=!1){return t?(E(),Kr(wt,null,e)):pt(wt,null,e)}function tt(e){return e==null||typeof e=="boolean"?pt(wt):V(e)?pt(le,null,e.slice()):Li(e)?ct(e):pt(zn,null,String(e))}function ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function Rn(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 l=t.default;l&&(l._c&&(l._d=!1),Rn(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!ki(t)?t._ctx=He:l===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(s&65){Rn(e,{default:t});return}t={default:t,_ctx:He},n=32}else t=String(t),s&64?(n=16,t=[Gr(t)]):n=8;e.children=t,e.shapeFlag|=n}function zr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const l in s)if(l==="class")t.class!==s.class&&(t.class=Wn([t.class,s.class]));else if(l==="style")t.style=Ts([t.style,s.style]);else if(Vn(l)){const i=t[l],r=s[l];r&&i!==r&&!(V(i)&&i.includes(r))?t[l]=i?[].concat(i,r):r:r==null&&i==null&&!Bn(l)&&(t[l]=r)}else l!==""&&(t[l]=s[l])}return t}function Xe(e,t,n,s=null){Ye(e,t,7,[n,s])}const Yr=bi();let Qr=0;function Xr(e,t,n){const s=e.type,l=(t?t.appContext:e.appContext)||Yr,i={uid:Qr++,vnode:e,type:s,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new bo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ei(s,l),emitsOptions:wi(s,l),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Er.bind(null,i),e.ce&&e.ce(i),i}let Ae=null;const Zr=()=>Ae||He;let $n,Cs;{const e=Hn(),t=(n,s)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(s),i=>{l.length>1?l.forEach(r=>r(i)):l[0](i)}};$n=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Cs=t("__VUE_SSR_SETTERS__",n=>rn=n)}const fn=e=>{const t=Ae;return $n(e),e.scope.on(),()=>{e.scope.off(),$n(t)}},yl=()=>{Ae&&Ae.scope.off(),$n(null)};function Vi(e){return e.vnode.shapeFlag&4}let rn=!1;function ea(e,t=!1,n=!1){t&&Cs(t);const{props:s,children:l}=e.vnode,i=Vi(e);Mr(e,s,i,t),Fr(e,l,n||t);const r=i?ta(e,t):void 0;return t&&Cs(!1),r}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,mr);const{setup:s}=n;if(s){it();const l=e.setupContext=s.length>1?sa(e):null,i=fn(e),r=cn(s,e,0,[e.props,l]),a=Ll(r);if(ot(),i(),(a||e.sp)&&!Zt(e)&&pi(e),a){if(r.then(yl,yl),t)return r.then(c=>{bl(e,c)}).catch(c=>{qn(c,e,0)});e.asyncDep=r}else bl(e,r)}else Bi(e)}function bl(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=li(t)),Bi(e)}function Bi(e,t,n){const s=e.type;e.render||(e.render=s.render||st);{const l=fn(e);it();try{yr(e)}finally{ot(),l()}}}const na={get(e,t){return Pe(e,"get",""),e[t]}};function sa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,na),slots:e.slots,emit:e.emit,expose:t}}function Yn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(li(No(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in en)return en[n](e)},has(t,n){return n in t||n in en}})):e.proxy}function la(e){return N(e)&&"__vccOpts"in e}const yt=(e,t)=>qo(e,t,rn),ia="3.5.39";/**
|
|
* @vue/runtime-dom v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ss;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{Ss=wl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=Ss?e=>Ss.createHTML(e):e=>e,oa="http://www.w3.org/2000/svg",ra="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,xl=ut&&ut.createElement("template"),aa={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 l=t==="svg"?ut.createElementNS(oa,e):t==="mathml"?ut.createElementNS(ra,e):n?ut.createElement(e,{is:n}):ut.createElement(e);return e==="select"&&s&&s.multiple!=null&&l.setAttribute("multiple",s.multiple),l},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,l,i){const r=n?n.previousSibling:t.lastChild;if(l&&(l===i||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===i||!(l=l.nextSibling)););else{xl.innerHTML=Ni(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=xl.content;if(s==="svg"||s==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ua=Symbol("_vtc");function ca(e,t,n){const s=e[ua];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Cl=Symbol("_vod"),fa=Symbol("_vsh"),da=Symbol(""),pa=/(?:^|;)\s*display\s*:/;function ha(e,t,n){const s=e.style,l=_e(n);let i=!1;if(n&&!l){if(t)if(_e(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&Gt(s,a,"")}else for(const r in t)n[r]==null&&Gt(s,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?va(e,r,!_e(t)&&t?t[r]:void 0,a)||Gt(s,r,a):Gt(s,r,"")}}else if(l){if(t!==n){const r=s[da];r&&(n+=";"+r),s.cssText=n,i=pa.test(n)}}else t&&e.removeAttribute("style");Cl in e&&(e[Cl]=i?s.display:"",e[fa]&&(s.display="none"))}const Sl=/\s*!important$/;function Gt(e,t,n){if(V(n))n.forEach(s=>Gt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ga(e,t);Sl.test(n)?e.setProperty(It(s),n.replace(Sl,""),"important"):e[s]=n}}const kl=["Webkit","Moz","ms"],fs={};function ga(e,t){const n=fs[t];if(n)return n;let s=Je(t);if(s!=="filter"&&s in e)return fs[t]=s;s=Bl(s);for(let l=0;l<kl.length;l++){const i=kl[l]+s;if(i in e)return fs[t]=i}return t}function va(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&_e(s)&&n===s}const Pl="http://www.w3.org/1999/xlink";function El(e,t,n,s,l,i=_o(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Pl,t.slice(6,t.length)):e.setAttributeNS(Pl,t,n):n==null||i&&!jl(n)?e.removeAttribute(t):e.setAttribute(t,i?"":lt(n)?String(n):n)}function Tl(e,t,n,s,l){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ni(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=jl(n):n==null&&a==="string"?(n="",r=!0):a==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(l||t)}function Tt(e,t,n,s){e.addEventListener(t,n,s)}function _a(e,t,n,s){e.removeEventListener(t,n,s)}const Ol=Symbol("_vei");function ma(e,t,n,s,l=null){const i=e[Ol]||(e[Ol]={}),r=i[t];if(s&&r)r.value=s;else{const[a,c]=wa(t);if(s){const _=i[t]=Sa(s,l);Tt(e,a,_,c)}else r&&(_a(e,a,r,c),i[t]=void 0)}}const ya=/(Once|Passive|Capture)$/,ba=/^on:?(?:Once|Passive|Capture)$/;function wa(e){let t,n;for(;(n=e.match(ya))&&!ba.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):It(e.slice(2)),t]}let ds=0;const xa=Promise.resolve(),Ca=()=>ds||(xa.then(()=>ds=0),ds=Date.now());function Sa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const l=n.value;if(V(l)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const r=l.slice(),a=[s];for(let c=0;c<r.length&&!s._stopped;c++){const _=r[c];_&&Ye(_,t,5,a)}}else Ye(l,t,5,[s])};return n.value=e,n.attached=Ca(),n}const Dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ka=(e,t,n,s,l,i)=>{const r=l==="svg";t==="class"?ca(e,s,r):t==="style"?ha(e,n,s):Vn(t)?Bn(t)||ma(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pa(e,t,s,r))?(Tl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&El(e,t,s,r,i,t!=="value")):e._isVueCE&&(Ea(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_e(s)))?Tl(e,Je(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),El(e,t,s,r))};function Pa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dl(t)&&N(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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return Dl(t)&&_e(n)?!1:t in e}function Ea(e,t){const n=e._def.props;if(!n)return!1;const s=Je(t);return Array.isArray(n)?n.some(l=>Je(l)===s):Object.keys(n).some(l=>Je(l)===s)}const Ln=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Pn(t,n):t};function Ta(e){e.target.composing=!0}function Il(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Nt=Symbol("_assign");function Al(e,t,n){return t&&(e=e.trim()),n&&(e=Un(e)),e}const ie={created(e,{modifiers:{lazy:t,trim:n,number:s}},l){e[Nt]=Ln(l);const i=s||l.props&&l.props.type==="number";Tt(e,t?"change":"input",r=>{r.target.composing||e[Nt](Al(e.value,n,i))}),(n||i)&&Tt(e,"change",()=>{e.value=Al(e.value,n,i)}),t||(Tt(e,"compositionstart",Ta),Tt(e,"compositionend",Il),Tt(e,"change",Il))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:l,number:i}},r){if(e[Nt]=Ln(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Un(e.value):e.value,c=t??"";if(a===c)return;const _=e.getRootNode();(_ instanceof Document||_ instanceof ShadowRoot)&&_.activeElement===e&&e.type!=="range"&&(s&&t===n||l&&e.value.trim()===c)||(e.value=c)}},ps={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const l=Nn(t);Tt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Un(Fn(r)):Fn(r));e[Nt](e.multiple?l?new Set(i):i:i[0]),e._assigning=!0,oi(()=>{e._assigning=!1})}),e[Nt]=Ln(s)},mounted(e,{value:t}){Ml(e,t)},beforeUpdate(e,t,n){e[Nt]=Ln(n)},updated(e,{value:t}){e._assigning||Ml(e,t)}};function Ml(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!Nn(t))){for(let l=0,i=e.options.length;l<i;l++){const r=e.options[l],a=Fn(r);if(n)if(s){const c=typeof a;c==="string"||c==="number"?r.selected=t.some(_=>String(_)===String(a)):r.selected=yo(t,a)>-1}else r.selected=t.has(a);else if(un(Fn(r),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fn(e){return"_value"in e?e._value:e.value}const Oa=ke({patchProp:ka},aa);let Rl;function Da(){return Rl||(Rl=Br(Oa))}const Ia=((...e)=>{const t=Da().createApp(...e),{mount:n}=t;return t.mount=s=>{const l=Ma(s);if(!l)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const r=n(l,!1,Aa(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t});function Aa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ma(e){return _e(e)?document.querySelector(e):e}const Ra="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",M={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,quickProfileDraft:"profiles/quick-draft",profileWorkflows:e=>`profiles/${e}/workflows`,workflow:e=>`workflows/${e}`,workflowStart:e=>`workflows/${e}/start`,workflowCancel:e=>`workflows/${e}/cancel`,workflowArchive:e=>`workflows/${e}/archive`,workflowNodes:e=>`workflows/${e}/nodes`,nodeGenerate:e=>`nodes/${e}/generate`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,nodeImages:e=>`nodes/${e}/images`,image:e=>`images/${e}`,imageSelect:e=>`images/${e}/select`,imageUnselect:e=>`images/${e}/unselect`,imageArchive:e=>`images/${e}/archive`,jobs:"jobs",jobCancel:e=>`jobs/${e}/cancel`,jobRetry:e=>`jobs/${e}/retry`,jobDeadLetterRetry:"jobs/dead-letter/retry",jobDeadLetterMoveFailed:"jobs/dead-letter/move-failed",settingsSchema:"settings/schema",settingsCurrent:"settings/current",settingsValidate:"settings/validate",settingsDiff:"settings/diff",settingsSave:"settings/save",settingsReload:"settings/reload",settingsExport:"settings/export",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(e,t)=>`profiles/${e}/wardrobe/${t}`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,privateCompanionDailyOutfit:"integrations/private-companion/daily-outfit",integrationEventLogs:"integrations/logs",apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",apiDiscoveryValidateRenderPlan:"api-discovery/validate-render-plan",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",webManifest:"web/manifest"};class $a extends Error{constructor(n,s,l={}){super(s);es(this,"code");es(this,"details");this.name="ApiClientError",this.code=n,this.details=l}}async function ve(e,t){return $t(e,{method:"GET",query:t})}async function oe(e,t){return $t(e,{method:"POST",body:t})}async function $t(e,t={}){const s=await(await fetch(La(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!s.ok)throw new $a(s.error_code,s.message,s.details);return s.data}function La(e,t){const n=e.replace(/^\/+/,""),s=new URL(`${Ra}/${n}`,window.location.origin);for(const[l,i]of Object.entries(t??{}))i!==void 0&&s.searchParams.set(l,String(i));return`${s.pathname}${s.search}`}const Fa={class:"web-shell"},Va={class:"sidebar"},Ba={class:"brand"},Na=["onClick"],ja={class:"workspace"},Ua={class:"topbar"},Ha={class:"actions"},Wa=["disabled"],Ka={key:0,class:"notice error"},qa={key:1,class:"notice"},Ja={key:0,class:"dashboard-grid"},Ga={key:1,class:"list-view"},za={class:"form-grid"},Ya={class:"wide-field"},Qa=["disabled"],Xa=["disabled"],Za={key:0},eu={class:"inline-actions"},tu={class:"badge"},nu=["disabled","onClick"],su={key:0,class:"empty"},lu={key:2,class:"split-view"},iu={class:"list-view"},ou={class:"form-grid"},ru=["disabled"],au={class:"inline-actions"},uu={class:"badge"},cu=["disabled","onClick"],fu=["disabled","onClick"],du=["disabled","onClick"],pu=["disabled","onClick"],hu={key:0,class:"empty"},gu={class:"list-view"},vu={class:"form-grid"},_u={class:"wide-field"},mu=["disabled"],yu={class:"inline-actions"},bu={class:"badge"},wu=["disabled","onClick"],xu={key:0,class:"empty"},Cu={class:"inline-actions"},Su={key:0,class:"badge"},ku=["disabled","onClick"],Pu=["disabled","onClick"],Eu=["disabled","onClick"],Tu=["disabled","onClick"],Ou=["disabled","onClick"],Du={key:0,class:"empty"},Iu={key:0},Au={key:1},Mu={key:3,class:"split-view"},Ru={class:"list-view"},$u={key:0,class:"empty"},Lu={class:"list-view"},Fu={class:"inline-actions"},Vu=["disabled"],Bu={class:"form-grid"},Nu={value:""},ju=["value"],Uu=["disabled"],Hu={class:"inline-actions"},Wu={class:"badge"},Ku=["disabled","onClick"],qu=["disabled","onClick"],Ju=["disabled","onClick"],Gu={key:0,class:"empty"},zu={key:0},Yu={key:4,class:"list-view"},Qu=["disabled"],Xu={class:"form-grid"},Zu={value:""},ec=["value"],tc=["disabled"],nc={class:"inline-actions"},sc=["disabled","onClick"],lc={key:0,class:"empty"},ic={key:0},oc={class:"form-grid"},rc=["disabled"],ac={key:1},uc={key:5,class:"list-view"},cc={class:"inline-actions"},fc=["disabled"],dc=["disabled"],pc={class:"inline-actions"},hc={class:"badge"},gc=["onClick"],vc=["onClick"],_c={key:0,class:"empty"},mc={key:6,class:"split-view"},yc={class:"list-view"},bc=["disabled"],wc={class:"form-grid"},xc=["disabled"],Cc={key:0},Sc={class:"list-view"},kc={class:"inline-actions"},Pc={class:"badge"},Ec=["disabled","onClick"],Tc=["disabled","onClick"],Oc=["disabled","onClick"],Dc={key:0,class:"empty"},Ic={key:7,class:"logs-view"},Ac={class:"split-view"},Mc={class:"list-view"},Rc={key:0,class:"empty"},$c={class:"list-view"},Lc={class:"badge"},Fc={key:0,class:"empty"},Vc={class:"split-view"},Bc={class:"list-view"},Nc={key:0,class:"empty"},jc={class:"list-view"},Uc={class:"badge"},Hc={key:0,class:"empty"},Wc={class:"list-view"},Kc={key:0,class:"empty"},qc={key:8,class:"settings-view"},Jc={class:"toolbar"},Gc=["disabled"],zc=["disabled"],Yc=["disabled"],Qc=["disabled"],Xc=["disabled"],Zc=["disabled"],ef={class:"settings-sections"},tf={class:"editor-panel"},nf={class:"split-view"},sf={class:"list-view"},lf={class:"list-view"},of={class:"inspector"},rf=ir({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",generate:"生成",adopt:"采纳",select:"选择",unselect:"取选",recognize:"识别",confirm:"确认",name:"名称",identity:"身份",personality:"性格",hairColor:"发色",hairstyle:"发型",eyeColor:"眼色",description:"描述",basePrompt:"基础提示词",appearancePrompt:"外观提示词",stylePrompt:"风格提示词",negativePrompt:"反向提示词",imageUri:"图片 URI",tags:"标签",category:"分类",allCategories:"全部分类",materialCreated:"素材已创建",materialArchived:"素材已归档",importToWardrobe:"加入衣橱",delete:"删除",wardrobeCategory:"衣橱分类",season:"季节",style:"风格",selectMaterial:"选择素材",wardrobeImported:"衣橱条目已加入",wardrobeDeleted:"衣橱条目已删除",dailyOutfit:"每日穿搭",categories:"分类",mood:"心情",weather:"天气",keywords:"关键词",outfitGenerated:"每日穿搭已生成",dashboard:"运行概览",profiles:"角色",workflows:"工作流",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置",profileList:"角色列表",profileCreated:"角色已创建",profileDeleted:"角色已删除",emptyProfiles:"暂无角色",workflowList:"工作流列表",workflowType:"工作流类型",workflowCreated:"工作流已创建",emptyWorkflows:"暂无工作流",nodes:"节点",images:"图片",emptyImages:"暂无图片",modelRoute:"模型路由",prompt:"提示词",generationQueued:"生成已入队",imageArchived:"图片已归档",imageDeleted:"图片已删除",currentBranch:"当前分支",materialCategories:"素材分类",materialItems:"素材条目",emptyCategories:"暂无分类",emptyMaterials:"暂无素材",pendingConfirm:"待确认",signFirstImage:"签名首图",noSignableMaterial:"没有可签名的素材图片",signMaterial:"签名素材",match:"匹配",matchWardrobe:"衣橱匹配",emptyWardrobe:"暂无衣橱条目",moveFailed:"失败转死信",retryDead:"重试死信",retry:"重试",cancel:"取消",emptyJobs:"暂无任务",dialects:"协议方言",safeProbe:"安全探测",capabilityProfiles:"能力档案",renderPlan:"RenderPlan",validatePlan:"校验计划",provider:"Provider",model:"Model",requiredCapabilities:"所需能力",validationStatus:"校验状态",support:"支持",unsupported:"不支持",unconfirmed:"待确认",emptyCapabilities:"暂无能力档案",generationLogs:"生成日志",errorLogs:"错误",workflowLogs:"工作流",integrationLogs:"集成",auditLogs:"审计",emptyGenerationLogs:"暂无生成日志",emptyErrors:"暂无错误",emptyWorkflowLogs:"暂无工作流日志",emptyIntegrationLogs:"暂无集成日志",emptyAuditLogs:"暂无审计日志",noErrorDetail:"无错误详情",reload:"重载",validate:"校验",diff:"对比",save:"保存",reset:"重置",exportRedacted:"导出脱敏配置",exportSettings:"导出设置",exportDone:"导出设置完成,配置已脱敏",settingsEditor:"配置编辑",settingsDraftInvalid:"配置 JSON 格式无效",settingsSaved:"设置已保存",validationResult:"校验结果",diffResult:"变更对比",storage:"存储",running:"运行"},n=[{key:"dashboard",label:"概览"},{key:"profiles",label:t.profiles},{key:"workflows",label:t.workflows},{key:"materials",label:"素材"},{key:"wardrobe",label:"衣橱"},{key:"jobs",label:"队列"},{key:"discovery",label:"探测"},{key:"logs",label:"日志"},{key:"settings",label:t.settings}],s=j("dashboard"),l=j(null),i=j(null),r=j(null),a=j([]),c=j(null),_=j(""),h=j([]),b=j(null),D=j(null),I=j(null),W=j(null),F=j(null),ce=j([]),z=j(null),U=j([]),ne=j([]),$=j([]),de=j(null),ae=j({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),Te=j(null),$e=j(""),Qe=j(null),Le=j(null),H=j({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),Ke=j(null),Fe=j({display_name:"",workflow_type:"single_image"}),Ve=j({model_route:"",prompt:"",negative_prompt:""}),ye=j({display_name:"",image_uri:"",tags:"",category_id:""}),J=j({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),K=j({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),Y=j(null),be=j({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),rt=j(null),pe=j(""),Me=j(!0),B=j(""),vt=j(""),qe=yt(()=>{var v,g;return((g=(v=r.value)==null?void 0:v.items[0])==null?void 0:g.profile_id)??""}),_t=yt(()=>{var v,g;return((g=(v=r.value)==null?void 0:v.items[0])==null?void 0:g.name)??t.noProfile}),At=yt(()=>{var g;const v=(g=i.value)==null?void 0:g.queue;return v?v.pending+v.running+v.failed+v.dead_letter:0}),Ht=yt(()=>{var v;return((v=z.value)==null?void 0:v.items.filter(g=>g.recognition_status!=="confirmed").length)??0}),dn=yt(()=>{var v;return(((v=z.value)==null?void 0:v.items)??[]).filter(g=>g.recognition_status==="confirmed")}),xt=yt(()=>{var v;return((v=c.value)==null?void 0:v.nodes.find(g=>g.node_id===_.value))??null}),js=yt(()=>({dashboard:t.dashboard,profiles:t.profiles,workflows:t.workflows,materials:t.materials,wardrobe:t.wardrobe,jobs:t.jobs,discovery:t.discovery,logs:t.logs,settings:t.settings})[s.value]);vi(u);async function u(){var v,g;Me.value=!0,vt.value="";try{const[Q,he,Ce,mt,_n,Wt,mn,yn,bn,wn,xn]=await Promise.all([ve(M.uiBootstrap),ve(M.dashboardSummary),ve(M.profiles,{page:1,page_size:20}),ve(M.jobs,{page:1,page_size:20}),ve(M.settingsSchema),ve(M.settingsCurrent),ve(M.storageStatus),ve(M.materialCategories),ve(M.materials,{page:1,page_size:24}),ve(M.apiDiscoveryDialects),ve(M.apiDiscoveryCapabilities)]);l.value=Q,i.value=he,r.value=Ce,D.value=mt,I.value=_n,W.value=Wt,vn(Wt.config),F.value=mn,ce.value=yn,z.value=bn,ne.value=wn,$.value=xn,await S((v=Ce.items[0])==null?void 0:v.profile_id),await C((g=Ce.items[0])==null?void 0:g.profile_id),await p()}catch(Q){vt.value=Q instanceof Error?Q.message:t.loadFailed}finally{Me.value=!1}}async function p(){const[v,g,Q,he,Ce]=await Promise.allSettled([ve(M.generationLogs,{limit:12}),ve(M.workflowLogs,{limit:12}),ve(M.errorLogs,{limit:12}),ve(M.integrationLogs,{limit:12}),ve(M.auditLogs,{limit:12})]);ae.value={generation:m(v),workflows:m(g),errors:m(Q),integrations:m(he),audit:m(Ce)}}function m(v){return v.status==="fulfilled"?v.value:[]}async function S(v){if(!v){U.value=[];return}U.value=await ve(M.wardrobe(v))}async function C(v){var he,Ce;if(!v){a.value=[],c.value=null,_.value="",h.value=[];return}a.value=await ve(M.profileWorkflows(v));const g=(he=c.value)==null?void 0:he.workflow.workflow_id,Q=a.value.some(mt=>mt.workflow_id===g)?g:(Ce=a.value[0])==null?void 0:Ce.workflow_id;Q?await w(Q):c.value=null}async function w(v){var Ce;const g=await ve(M.workflow(v));c.value=g;const Q=_.value,he=g.nodes.some(mt=>mt.node_id===Q)?Q:g.workflow.current_node_id||((Ce=g.nodes[0])==null?void 0:Ce.node_id);he?await P(he):(_.value="",h.value=[])}async function P(v){_.value=v,h.value=await ve(M.nodeImages(v))}async function k(){var g;const v=(g=c.value)==null?void 0:g.workflow.workflow_id;v&&await w(v)}async function y(v,g,Q=!0){B.value=v,vt.value="";try{const he=await g();pe.value=`${v}${t.complete}`,v===t.exportSettings&&(pe.value=`${t.exportDone}: ${!!he.redacted}`),Q&&await u()}catch(he){vt.value=he instanceof Error?he.message:`${v}${t.failed}`}finally{B.value=""}}function x(v){return y(t.retry,()=>oe(M.jobRetry(v)))}function R(v){return y(t.cancel,()=>oe(M.jobCancel(v)))}function O(){H.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},Ke.value=null}function A(){return y(t.quickDraft,async()=>(Ke.value=await oe(M.quickProfileDraft,{questionnaire:{name:H.value.name,identity:H.value.identity,personality:St(H.value.personality),hair_color:H.value.hair_color,hairstyle:H.value.hairstyle,eye_color:H.value.eye_color,style:H.value.style,clothing_keywords:St(H.value.clothing_keywords)}}),Ke.value),!1)}function L(){var g;const v=(g=Ke.value)==null?void 0:g.profile_preview;return y(t.create,async()=>{const Q=await oe(M.profiles,{name:(v==null?void 0:v.name)||H.value.name,description:H.value.description,base_prompt:v==null?void 0:v.base_prompt,appearance_prompt:v==null?void 0:v.appearance_prompt,style_prompt:v==null?void 0:v.style_prompt,negative_prompt:v==null?void 0:v.negative_prompt});return O(),pe.value=t.profileCreated,Q})}function q(v){return y(t.delete,async()=>{const g=await $t(M.profile(v),{method:"DELETE"});return pe.value=t.profileDeleted,g})}function se(){const v=qe.value;return v?y(t.create,async()=>{const g=await oe(M.profileWorkflows(v),{display_name:Fe.value.display_name,workflow_type:Fe.value.workflow_type});return Fe.value.display_name="",c.value=g,pe.value=t.workflowCreated,g}):Promise.resolve()}function Z(v){return y(t.start,()=>oe(M.workflowStart(v)))}function ge(v){return y(t.cancel,()=>oe(M.workflowCancel(v)))}function we(v){return y(t.archive,()=>oe(M.workflowArchive(v)))}function Ne(){const v=_.value;return v?y(t.generate,async()=>(b.value=await oe(M.nodeGenerate(v),{model_route:Ve.value.model_route||void 0,prompt:Ve.value.prompt||void 0,negative_prompt:Ve.value.negative_prompt||void 0}),await k(),pe.value=t.generationQueued,b.value),!1):Promise.resolve()}function je(v){const g=_.value;return g?y(t.select,async()=>{const Q=await oe(M.nodeSelectImage(g),{image_id:v});return await k(),Q},!1):Promise.resolve()}function Ct(v){const g=_.value;return g?y(t.adopt,async()=>{var he;const Q=await oe(M.nodeAdoptImage(g),{image_id:v,title:(he=xt.value)==null?void 0:he.title});return await k(),Q},!1):Promise.resolve()}function pn(v){return y(t.unselect,async()=>{const g=await oe(M.imageUnselect(v));return await k(),g},!1)}function Oe(v){return y(t.archive,async()=>{const g=await oe(M.imageArchive(v));return await k(),pe.value=t.imageArchived,g},!1)}function Ue(v){return y(t.delete,async()=>{const g=await $t(M.image(v),{method:"DELETE"});return await k(),pe.value=t.imageDeleted,g},!1)}function hn(){return y(t.moveFailed,()=>oe(M.jobDeadLetterMoveFailed,{limit:20}))}function gn(){return y(t.retryDead,()=>oe(M.jobDeadLetterRetry,{limit:20}))}function ji(){var g;const v=((g=ne.value[0])==null?void 0:g.dialect)??"unknown";return y(t.safeProbe,()=>oe(M.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:v,capabilities:{supports:["text_to_image"]}}))}function Ui(){return y(t.validatePlan,async()=>(rt.value=await oe(M.apiDiscoveryValidateRenderPlan,{provider_id:be.value.provider_id,model_id:be.value.model_id,required_capabilities:St(be.value.required_capabilities)}),rt.value),!1)}function Qn(v,g){return y(t.discovery,()=>oe(M.apiDiscoveryManualOverride,{provider_id:v.provider_id,model_id:v.model_id,dialect:v.dialect,status:g,capabilities:v.capabilities}))}function Hi(){const v=qe.value;return v?y(t.matchWardrobe,async()=>(de.value=await oe(M.wardrobeMatch(v),{tags:["daily"]}),de.value),!1):Promise.resolve()}function Wi(){J.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function Ki(){const v=qe.value;return v?y(t.importToWardrobe,async()=>{const g=await oe(M.wardrobeImportMaterial(v),{material_id:J.value.material_id,wardrobe_category:J.value.wardrobe_category,tags:St(J.value.tags),season:J.value.season||void 0,style:J.value.style||void 0});return Wi(),pe.value=t.wardrobeImported,g}):Promise.resolve()}function qi(v){const g=qe.value;return g?y(t.delete,async()=>{const Q=await $t(M.wardrobeItem(g,v),{method:"DELETE"});return pe.value=t.wardrobeDeleted,Q}):Promise.resolve()}function Ji(){const v=qe.value;return v?y(t.dailyOutfit,async()=>(Y.value=await oe(M.privateCompanionDailyOutfit,{profile_id:v,categories:St(K.value.categories),mood:K.value.mood,weather:K.value.weather,keywords:St(K.value.keywords),request_source:"astrbot_plugin_private_companion"}),pe.value=t.outfitGenerated,Y.value),!1):Promise.resolve()}function Gi(){return y(t.reload,async()=>{var g;const v=await oe(M.settingsReload);return W.value={config_path:((g=W.value)==null?void 0:g.config_path)??"***PATH***",config:v.config},vn(v.config),v},!1)}function zi(){return y(t.exportSettings,()=>ve(M.settingsExport),!1)}function vn(v=(g=>(g=W.value)==null?void 0:g.config)()??{}){$e.value=JSON.stringify(v,null,2),Qe.value=null,Le.value=null}function Xn(){try{const v=JSON.parse($e.value);if(!v||Array.isArray(v)||typeof v!="object")throw new Error(t.settingsDraftInvalid);return v}catch(v){throw new Error(v instanceof Error?v.message:t.settingsDraftInvalid)}}function Yi(){return y(t.validate,async()=>(Qe.value=await oe(M.settingsValidate,{config:Xn()}),Qe.value),!1)}function Qi(){return y(t.diff,async()=>(Le.value=await oe(M.settingsDiff,{config:Xn()}),Le.value),!1)}function Xi(){return y(t.save,async()=>{var g;const v=await oe(M.settingsSave,{config:Xn()});return W.value={config_path:((g=W.value)==null?void 0:g.config_path)??"***PATH***",config:v.config},vn(v.config),pe.value=t.settingsSaved,v},!1)}function Zi(){var g,Q;const v=(Q=(g=z.value)==null?void 0:g.items.find(he=>{var Ce;return(Ce=he.image_uri)==null?void 0:Ce.startsWith("storage://")}))==null?void 0:Q.image_uri;return v?y(t.signMaterial,async()=>(Te.value=await ve(M.mediaSign,{uri:v}),Te.value),!1):(pe.value=t.noSignableMaterial,Promise.resolve())}function eo(){ye.value={display_name:"",image_uri:"",tags:"",category_id:""}}function to(){return y(t.create,async()=>{const v=await oe(M.materials,{display_name:ye.value.display_name,image_uri:ye.value.image_uri||void 0,thumbnail_uri:ye.value.image_uri||void 0,category_id:ye.value.category_id||void 0,tags:St(ye.value.tags),recognition_status:ye.value.image_uri?"pending_recognition":"pending_upload"});return eo(),pe.value=t.materialCreated,v})}function no(v){return y(t.recognize,()=>oe(M.materialRecognize(v)))}function so(v){return y(t.confirm,()=>oe(M.materialConfirm(v.material_id),{display_name:v.display_name,prompt:v.prompt,negative_prompt:v.negative_prompt,tags:v.tags}))}function lo(v){return y(t.archive,async()=>{const g=await $t(M.material(v),{method:"DELETE"});return pe.value=t.materialArchived,g})}function St(v){return v.split(",").map(g=>g.trim()).filter(Boolean)}function Zn(v=0){return v<1024?`${v} B`:v<1024*1024?`${(v/1024).toFixed(1)} KB`:v<1024*1024*1024?`${(v/1024/1024).toFixed(1)} MB`:`${(v/1024/1024/1024).toFixed(1)} GB`}function Us(v){var g,Q;return((Q=(g=F.value)==null?void 0:g.roots.find(he=>he.uri_prefix===v))==null?void 0:Q.bytes)??0}return(v,g)=>{var Q,he,Ce,mt,_n,Wt,mn,yn,bn,wn,xn,Hs,Ws,Ks,qs,Js,Gs,zs,Ys,Qs,Xs,Zs,el,tl,nl;return E(),T("main",Fa,[o("aside",Va,[o("div",Ba,[o("strong",null,f(((Q=l.value)==null?void 0:Q.display_name)??"ImageStudio"),1),o("span",null,f(((he=l.value)==null?void 0:he.dashboard_user)??"AstrBot"),1)]),o("nav",null,[(E(),T(le,null,xe(n,d=>o("button",{key:d.key,type:"button",class:Wn({active:s.value===d.key}),onClick:me=>s.value=d.key},f(d.label),11,Na)),64))])]),o("section",ja,[o("header",Ua,[o("div",null,[o("h1",null,f(js.value),1),o("p",null,f(((Ce=i.value)==null?void 0:Ce.plugin_status)??"loading")+" / "+f(pe.value||t.waiting),1)]),o("div",Ha,[o("button",{type:"button",disabled:!!B.value,onClick:u},f(B.value||t.refresh),9,Wa)])]),vt.value?(E(),T("section",Ka,f(vt.value),1)):Me.value?(E(),T("section",qa,f(t.loading),1)):(E(),T(le,{key:2},[s.value==="dashboard"?(E(),T("section",Ja,[o("article",null,[o("span",null,f(t.profiles),1),o("strong",null,f(((mt=i.value)==null?void 0:mt.active_profiles)??0),1)]),o("article",null,[o("span",null,f(t.jobs),1),o("strong",null,f(At.value),1)]),o("article",null,[o("span",null,f(t.materials),1),o("strong",null,f(((_n=z.value)==null?void 0:_n.total)??0),1)]),o("article",null,[o("span",null,f(t.storage),1),o("strong",null,f(Zn(((Wt=F.value)==null?void 0:Wt.total_bytes)??((mn=i.value)==null?void 0:mn.storage.total_bytes))),1)])])):G("",!0),s.value==="profiles"?(E(),T("section",Ga,[o("header",null,[o("h2",null,f(t.profileList),1),o("span",null,f(((yn=r.value)==null?void 0:yn.total)??0),1)]),o("div",za,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[0]||(g[0]=d=>H.value.name=d),type:"text"},null,512),[[ie,H.value.name]])]),o("label",null,[o("span",null,f(t.identity),1),X(o("input",{"onUpdate:modelValue":g[1]||(g[1]=d=>H.value.identity=d),type:"text"},null,512),[[ie,H.value.identity]])]),o("label",null,[o("span",null,f(t.personality),1),X(o("input",{"onUpdate:modelValue":g[2]||(g[2]=d=>H.value.personality=d),type:"text",placeholder:"calm, brave"},null,512),[[ie,H.value.personality]])]),o("label",null,[o("span",null,f(t.hairColor),1),X(o("input",{"onUpdate:modelValue":g[3]||(g[3]=d=>H.value.hair_color=d),type:"text"},null,512),[[ie,H.value.hair_color]])]),o("label",null,[o("span",null,f(t.hairstyle),1),X(o("input",{"onUpdate:modelValue":g[4]||(g[4]=d=>H.value.hairstyle=d),type:"text"},null,512),[[ie,H.value.hairstyle]])]),o("label",null,[o("span",null,f(t.eyeColor),1),X(o("input",{"onUpdate:modelValue":g[5]||(g[5]=d=>H.value.eye_color=d),type:"text"},null,512),[[ie,H.value.eye_color]])]),o("label",null,[o("span",null,f(t.stylePrompt),1),X(o("input",{"onUpdate:modelValue":g[6]||(g[6]=d=>H.value.style=d),type:"text"},null,512),[[ie,H.value.style]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[7]||(g[7]=d=>H.value.clothing_keywords=d),type:"text",placeholder:"white blouse, ribbon"},null,512),[[ie,H.value.clothing_keywords]])]),o("label",Ya,[o("span",null,f(t.description),1),X(o("input",{"onUpdate:modelValue":g[8]||(g[8]=d=>H.value.description=d),type:"text"},null,512),[[ie,H.value.description]])]),o("button",{type:"button",disabled:!!B.value||!H.value.name,onClick:A},f(t.quickDraft),9,Qa),o("button",{type:"button",disabled:!!B.value||!H.value.name,onClick:L},f(t.create),9,Xa)]),Ke.value?(E(),T("pre",Za,f(JSON.stringify(Ke.value,null,2)),1)):G("",!0),o("ul",null,[(E(!0),T(le,null,xe(((bn=r.value)==null?void 0:bn.items)??[],d=>(E(),T("li",{key:d.profile_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.profile_id),1)]),o("div",eu,[o("span",tu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>q(d.profile_id)},f(t.delete),9,nu)])]))),128)),(wn=r.value)!=null&&wn.items.length?G("",!0):(E(),T("li",su,f(t.emptyProfiles),1))])])):G("",!0),s.value==="workflows"?(E(),T("section",lu,[o("div",iu,[o("header",null,[o("h2",null,f(_t.value),1),o("span",null,f(a.value.length),1)]),o("div",ou,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[9]||(g[9]=d=>Fe.value.display_name=d),type:"text"},null,512),[[ie,Fe.value.display_name]])]),o("label",null,[o("span",null,f(t.workflowType),1),X(o("select",{"onUpdate:modelValue":g[10]||(g[10]=d=>Fe.value.workflow_type=d)},[...g[32]||(g[32]=[o("option",{value:"single_image"},"single_image",-1),o("option",{value:"character_gradual"},"character_gradual",-1),o("option",{value:"character_fast"},"character_fast",-1),o("option",{value:"quick_profile"},"quick_profile",-1)])],512),[[ps,Fe.value.workflow_type]])]),o("button",{type:"button",disabled:!!B.value||!qe.value||!Fe.value.display_name,onClick:se},f(t.create),9,ru)]),o("ul",null,[(E(!0),T(le,null,xe(a.value,d=>(E(),T("li",{key:d.workflow_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.workflow_type)+" / "+f(d.workflow_id),1)]),o("div",au,[o("span",uu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>w(d.workflow_id)},f(t.nodes),9,cu),o("button",{type:"button",disabled:!!B.value,onClick:me=>Z(d.workflow_id)},f(t.start),9,fu),o("button",{type:"button",disabled:!!B.value,onClick:me=>ge(d.workflow_id)},f(t.cancel),9,du),o("button",{type:"button",disabled:!!B.value,onClick:me=>we(d.workflow_id)},f(t.archive),9,pu)])]))),128)),a.value.length?G("",!0):(E(),T("li",hu,f(t.emptyWorkflows),1))])]),o("div",gu,[o("header",null,[o("h2",null,f(t.nodes),1),o("span",null,f(((xn=c.value)==null?void 0:xn.workflow.current_branch)??"main"),1)]),o("div",vu,[o("label",null,[o("span",null,f(t.modelRoute),1),X(o("input",{"onUpdate:modelValue":g[11]||(g[11]=d=>Ve.value.model_route=d),type:"text",placeholder:"image_low"},null,512),[[ie,Ve.value.model_route]])]),o("label",null,[o("span",null,f(t.prompt),1),X(o("input",{"onUpdate:modelValue":g[12]||(g[12]=d=>Ve.value.prompt=d),type:"text"},null,512),[[ie,Ve.value.prompt]])]),o("label",_u,[o("span",null,f(t.negativePrompt),1),X(o("input",{"onUpdate:modelValue":g[13]||(g[13]=d=>Ve.value.negative_prompt=d),type:"text"},null,512),[[ie,Ve.value.negative_prompt]])]),o("button",{type:"button",disabled:!!B.value||!_.value,onClick:Ne},f(t.generate),9,mu)]),o("ul",null,[(E(!0),T(le,null,xe(((Hs=c.value)==null?void 0:Hs.nodes)??[],d=>(E(),T("li",{key:d.node_id},[o("div",null,[o("strong",null,f(d.title),1),o("small",null,f(d.node_key)+" / "+f(d.node_id),1)]),o("div",yu,[o("span",null,f(d.branch_name),1),o("span",bu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>P(d.node_id)},f(t.images),9,wu)])]))),128)),(Ws=c.value)!=null&&Ws.nodes.length?G("",!0):(E(),T("li",xu,f(t.emptyWorkflows),1))]),o("ul",null,[(E(!0),T(le,null,xe(h.value,d=>(E(),T("li",{key:d.image_id},[o("div",null,[o("strong",null,f(d.image_id),1),o("small",null,f(d.thumbnail_uri??d.image_uri),1)]),o("div",Cu,[d.is_selected?(E(),T("span",Su,f(t.select),1)):G("",!0),o("button",{type:"button",disabled:!!B.value||d.is_selected||d.is_archived,onClick:me=>je(d.image_id)},f(t.select),9,ku),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>Ct(d.image_id)},f(t.adopt),9,Pu),o("button",{type:"button",disabled:!!B.value||!d.is_selected,onClick:me=>pn(d.image_id)},f(t.unselect),9,Eu),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>Oe(d.image_id)},f(t.archive),9,Tu),o("button",{type:"button",disabled:!!B.value,onClick:me=>Ue(d.image_id)},f(t.delete),9,Ou)])]))),128)),h.value.length?G("",!0):(E(),T("li",Du,f(t.emptyImages),1))]),b.value?(E(),T("pre",Iu,f(JSON.stringify(b.value,null,2)),1)):G("",!0),c.value?(E(),T("pre",Au,f(JSON.stringify(c.value.workflow,null,2)),1)):G("",!0)])])):G("",!0),s.value==="materials"?(E(),T("section",Mu,[o("div",Ru,[o("header",null,[o("h2",null,f(t.materialCategories),1),o("span",null,f(ce.value.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ce.value,d=>(E(),T("li",{key:d.category_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.category_type),1)]),o("span",null,f(d.sort_order),1)]))),128)),ce.value.length?G("",!0):(E(),T("li",$u,f(t.emptyCategories),1))])]),o("div",Lu,[o("header",null,[o("h2",null,f(t.materialItems),1),o("div",Fu,[o("span",null,f(Ht.value)+" "+f(t.pendingConfirm),1),o("button",{type:"button",disabled:!!B.value,onClick:Zi},f(t.signFirstImage),9,Vu)])]),o("div",Bu,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[14]||(g[14]=d=>ye.value.display_name=d),type:"text"},null,512),[[ie,ye.value.display_name]])]),o("label",null,[o("span",null,f(t.imageUri),1),X(o("input",{"onUpdate:modelValue":g[15]||(g[15]=d=>ye.value.image_uri=d),type:"text",placeholder:"storage://materials/example.png"},null,512),[[ie,ye.value.image_uri]])]),o("label",null,[o("span",null,f(t.category),1),X(o("select",{"onUpdate:modelValue":g[16]||(g[16]=d=>ye.value.category_id=d)},[o("option",Nu,f(t.allCategories),1),(E(!0),T(le,null,xe(ce.value,d=>(E(),T("option",{key:d.category_id,value:d.category_id},f(d.name),9,ju))),128))],512),[[ps,ye.value.category_id]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[17]||(g[17]=d=>ye.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[ie,ye.value.tags]])]),o("button",{type:"button",disabled:!!B.value||!ye.value.display_name,onClick:to},f(t.create),9,Uu)]),o("ul",null,[(E(!0),T(le,null,xe(((Ks=z.value)==null?void 0:Ks.items)??[],d=>(E(),T("li",{key:d.material_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.image_uri??t.noImage),1)]),o("div",Hu,[o("span",Wu,f(d.recognition_status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>no(d.material_id)},f(t.recognize),9,Ku),o("button",{type:"button",disabled:!!B.value||d.recognition_status==="confirmed",onClick:me=>so(d)},f(t.confirm),9,qu),o("button",{type:"button",disabled:!!B.value,onClick:me=>lo(d.material_id)},f(t.archive),9,Ju)])]))),128)),(qs=z.value)!=null&&qs.items.length?G("",!0):(E(),T("li",Gu,f(t.emptyMaterials),1))]),Te.value?(E(),T("pre",zu,f(JSON.stringify(Te.value,null,2)),1)):G("",!0)])])):G("",!0),s.value==="wardrobe"?(E(),T("section",Yu,[o("header",null,[o("h2",null,f(_t.value),1),o("button",{type:"button",disabled:!qe.value||!!B.value,onClick:Hi},f(t.match),9,Qu)]),o("div",Xu,[o("label",null,[o("span",null,f(t.selectMaterial),1),X(o("select",{"onUpdate:modelValue":g[18]||(g[18]=d=>J.value.material_id=d)},[o("option",Zu,f(t.selectMaterial),1),(E(!0),T(le,null,xe(dn.value,d=>(E(),T("option",{key:d.material_id,value:d.material_id},f(d.display_name),9,ec))),128))],512),[[ps,J.value.material_id]])]),o("label",null,[o("span",null,f(t.wardrobeCategory),1),X(o("input",{"onUpdate:modelValue":g[19]||(g[19]=d=>J.value.wardrobe_category=d),type:"text"},null,512),[[ie,J.value.wardrobe_category]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[20]||(g[20]=d=>J.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[ie,J.value.tags]])]),o("label",null,[o("span",null,f(t.season),1),X(o("input",{"onUpdate:modelValue":g[21]||(g[21]=d=>J.value.season=d),type:"text"},null,512),[[ie,J.value.season]])]),o("label",null,[o("span",null,f(t.style),1),X(o("input",{"onUpdate:modelValue":g[22]||(g[22]=d=>J.value.style=d),type:"text"},null,512),[[ie,J.value.style]])]),o("button",{type:"button",disabled:!!B.value||!qe.value||!J.value.material_id||!J.value.wardrobe_category,onClick:Ki},f(t.importToWardrobe),9,tc)]),o("ul",null,[(E(!0),T(le,null,xe(U.value,d=>(E(),T("li",{key:d.wardrobe_item_id},[o("div",null,[o("strong",null,f(d.wardrobe_category),1),o("small",null,f(d.material_id)+" / "+f(d.tags.join(", ")||t.noTags),1)]),o("div",nc,[o("span",null,f(d.usage_count),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>qi(d.wardrobe_item_id)},f(t.delete),9,sc)])]))),128)),U.value.length?G("",!0):(E(),T("li",lc,f(t.emptyWardrobe),1))]),de.value?(E(),T("pre",ic,f(JSON.stringify(de.value,null,2)),1)):G("",!0),o("div",oc,[o("label",null,[o("span",null,f(t.categories),1),X(o("input",{"onUpdate:modelValue":g[23]||(g[23]=d=>K.value.categories=d),type:"text"},null,512),[[ie,K.value.categories]])]),o("label",null,[o("span",null,f(t.mood),1),X(o("input",{"onUpdate:modelValue":g[24]||(g[24]=d=>K.value.mood=d),type:"text"},null,512),[[ie,K.value.mood]])]),o("label",null,[o("span",null,f(t.weather),1),X(o("input",{"onUpdate:modelValue":g[25]||(g[25]=d=>K.value.weather=d),type:"text"},null,512),[[ie,K.value.weather]])]),o("label",null,[o("span",null,f(t.keywords),1),X(o("input",{"onUpdate:modelValue":g[26]||(g[26]=d=>K.value.keywords=d),type:"text"},null,512),[[ie,K.value.keywords]])]),o("button",{type:"button",disabled:!!B.value||!qe.value,onClick:Ji},f(t.dailyOutfit),9,rc)]),Y.value?(E(),T("pre",ac,f(JSON.stringify(Y.value,null,2)),1)):G("",!0)])):G("",!0),s.value==="jobs"?(E(),T("section",uc,[o("header",null,[o("h2",null,f(t.jobs),1),o("div",cc,[o("button",{type:"button",disabled:!!B.value,onClick:hn},f(t.moveFailed),9,fc),o("button",{type:"button",disabled:!!B.value,onClick:gn},f(t.retryDead),9,dc)])]),o("ul",null,[(E(!0),T(le,null,xe(((Js=D.value)==null?void 0:Js.items)??[],d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.task_type)+" / "+f(d.progress)+"%",1)]),o("div",pc,[o("span",hc,f(d.status),1),d.status==="failed"?(E(),T("button",{key:0,type:"button",onClick:me=>x(d.task_id)},f(t.retry),9,gc)):G("",!0),d.status==="pending"?(E(),T("button",{key:1,type:"button",onClick:me=>R(d.task_id)},f(t.cancel),9,vc)):G("",!0)])]))),128)),(Gs=D.value)!=null&&Gs.items.length?G("",!0):(E(),T("li",_c,f(t.emptyJobs),1))])])):G("",!0),s.value==="discovery"?(E(),T("section",mc,[o("div",yc,[o("header",null,[o("h2",null,f(t.dialects),1),o("button",{type:"button",disabled:!!B.value,onClick:ji},f(t.safeProbe),9,bc)]),o("ul",null,[(E(!0),T(le,null,xe(ne.value,d=>(E(),T("li",{key:d.dialect},[o("div",null,[o("strong",null,f(d.label),1),o("small",null,f(d.capabilities.join(", ")||t.unconfirmed),1)]),o("span",null,f(d.dialect),1)]))),128))]),o("div",wc,[o("label",null,[o("span",null,f(t.provider),1),X(o("input",{"onUpdate:modelValue":g[27]||(g[27]=d=>be.value.provider_id=d),type:"text",placeholder:"local-preview"},null,512),[[ie,be.value.provider_id]])]),o("label",null,[o("span",null,f(t.model),1),X(o("input",{"onUpdate:modelValue":g[28]||(g[28]=d=>be.value.model_id=d),type:"text",placeholder:"metadata-only"},null,512),[[ie,be.value.model_id]])]),o("label",null,[o("span",null,f(t.requiredCapabilities),1),X(o("input",{"onUpdate:modelValue":g[29]||(g[29]=d=>be.value.required_capabilities=d),type:"text",placeholder:"text_to_image"},null,512),[[ie,be.value.required_capabilities]])]),o("button",{type:"button",disabled:!!B.value||!be.value.provider_id||!be.value.model_id,onClick:Ui},f(t.validatePlan),9,xc)]),rt.value?(E(),T("pre",Cc,f(JSON.stringify(rt.value,null,2)),1)):G("",!0)]),o("div",Sc,[o("header",null,[o("h2",null,f(t.capabilityProfiles),1),o("span",null,f($.value.length),1)]),o("ul",null,[(E(!0),T(le,null,xe($.value,d=>(E(),T("li",{key:d.capability_profile_id},[o("div",null,[o("strong",null,f(d.provider_id)+" / "+f(d.model_id),1),o("small",null,f(d.dialect),1)]),o("div",kc,[o("span",Pc,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"confirmed_supported")},f(t.support),9,Ec),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"confirmed_unsupported")},f(t.unsupported),9,Tc),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"unconfirmed")},f(t.unconfirmed),9,Oc)])]))),128)),$.value.length?G("",!0):(E(),T("li",Dc,f(t.emptyCapabilities),1))])])])):G("",!0),s.value==="logs"?(E(),T("section",Ic,[o("div",Ac,[o("div",Mc,[o("header",null,[o("h2",null,f(t.generationLogs),1),o("span",null,f(ae.value.generation.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.generation,d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.status)+" / "+f(d.progress)+"%",1)]),o("span",null,f(d.created_at),1)]))),128)),ae.value.generation.length?G("",!0):(E(),T("li",Rc,f(t.emptyGenerationLogs),1))])]),o("div",$c,[o("header",null,[o("h2",null,f(t.errorLogs),1),o("span",null,f(ae.value.errors.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.errors,d=>(E(),T("li",{key:`${d.source}-${d.id}`},[o("div",null,[o("strong",null,f(d.source),1),o("small",null,f(d.error_message??t.noErrorDetail),1)]),o("span",Lc,f(d.status),1)]))),128)),ae.value.errors.length?G("",!0):(E(),T("li",Fc,f(t.emptyErrors),1))])])]),o("div",Vc,[o("div",Bc,[o("header",null,[o("h2",null,f(t.workflowLogs),1),o("span",null,f(ae.value.workflows.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.workflows,d=>(E(),T("li",{key:d.history_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.title??d.workflow_id),1)]),o("span",null,f(d.branch_name??"main"),1)]))),128)),ae.value.workflows.length?G("",!0):(E(),T("li",Nc,f(t.emptyWorkflowLogs),1))])]),o("div",jc,[o("header",null,[o("h2",null,f(t.integrationLogs),1),o("span",null,f(ae.value.integrations.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.integrations,d=>(E(),T("li",{key:d.integration_log_id},[o("div",null,[o("strong",null,f(d.integration_name),1),o("small",null,f(d.action),1)]),o("span",Uc,f(d.status),1)]))),128)),ae.value.integrations.length?G("",!0):(E(),T("li",Hc,f(t.emptyIntegrationLogs),1))])])]),o("div",Wc,[o("header",null,[o("h2",null,f(t.auditLogs),1),o("span",null,f(ae.value.audit.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.audit,d=>(E(),T("li",{key:d.audit_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.actor_type)+" / "+f(d.target_type)+" / "+f(d.target_id),1)]),o("span",null,f(d.created_at),1)]))),128)),ae.value.audit.length?G("",!0):(E(),T("li",Kc,f(t.emptyAuditLogs),1))])])])):G("",!0),s.value==="settings"?(E(),T("section",qc,[o("div",Jc,[o("button",{type:"button",disabled:!!B.value,onClick:Gi},f(t.reload),9,Gc),o("button",{type:"button",disabled:!!B.value,onClick:g[30]||(g[30]=d=>vn())},f(t.reset),9,zc),o("button",{type:"button",disabled:!!B.value,onClick:Yi},f(t.validate),9,Yc),o("button",{type:"button",disabled:!!B.value,onClick:Qi},f(t.diff),9,Qc),o("button",{type:"button",disabled:!!B.value,onClick:Xi},f(t.save),9,Xc),o("button",{type:"button",disabled:!!B.value,onClick:zi},f(t.exportRedacted),9,Zc)]),o("div",ef,[(E(!0),T(le,null,xe(((zs=I.value)==null?void 0:zs.sections)??[],d=>(E(),T("article",{key:d.key},[o("h2",null,f(d.title),1),o("span",null,f(d.fields.length),1)]))),128))]),o("section",tf,[o("header",null,[o("h2",null,f(t.settingsEditor),1),o("span",null,f(((Ys=W.value)==null?void 0:Ys.config_path)??"***PATH***"),1)]),X(o("textarea",{"onUpdate:modelValue":g[31]||(g[31]=d=>$e.value=d),spellcheck:"false"},null,512),[[ie,$e.value]])]),o("div",nf,[o("div",sf,[o("header",null,[o("h2",null,f(t.validationResult),1),o("span",null,f(((Qs=Qe.value)==null?void 0:Qs.valid)??"-"),1)]),o("pre",null,f(JSON.stringify(Qe.value??{},null,2)),1)]),o("div",lf,[o("header",null,[o("h2",null,f(t.diffResult),1),o("span",null,f(((Xs=Le.value)==null?void 0:Xs.changes.length)??0),1)]),o("pre",null,f(JSON.stringify(Le.value??{},null,2)),1)])])])):G("",!0)],64))]),o("aside",of,[o("h2",null,f(t.running),1),o("dl",null,[o("div",null,[g[33]||(g[33]=o("dt",null,"Pending",-1)),o("dd",null,f(((Zs=i.value)==null?void 0:Zs.queue.pending)??0),1)]),o("div",null,[g[34]||(g[34]=o("dt",null,"Running",-1)),o("dd",null,f(((el=i.value)==null?void 0:el.queue.running)??0),1)]),o("div",null,[g[35]||(g[35]=o("dt",null,"Failed",-1)),o("dd",null,f(((tl=i.value)==null?void 0:tl.queue.failed)??0),1)]),o("div",null,[g[36]||(g[36]=o("dt",null,"Dead",-1)),o("dd",null,f(((nl=i.value)==null?void 0:nl.queue.dead_letter)??0),1)])]),o("h2",null,f(t.storage),1),o("dl",null,[o("div",null,[g[37]||(g[37]=o("dt",null,"Images",-1)),o("dd",null,f(Zn(Us("storage://images/"))),1)]),o("div",null,[g[38]||(g[38]=o("dt",null,"Materials",-1)),o("dd",null,f(Zn(Us("storage://materials/"))),1)])])])])}}}),af=(e,t)=>{const n=e.__vccOpts||e;for(const[s,l]of t)n[s]=l;return n},uf=af(rf,[["__scopeId","data-v-f6ebe303"]]);Ia(uf).mount("#app");
|