astrbot_plugin_imagestudio/web/assets/index-CMIPJ6y1.js

17 行
95 KiB
JavaScript

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