mokelay-editor 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/EditorPanel-B97wXLqG.js","assets/storage-tTDw43ui.js","assets/editorjs-hCuh8vdW.js","assets/storage-DdQoXp86.css","assets/EditorPanel-bZ_ztq4l.css","assets/PreviewPanel-65RZ8CEI.js"])))=>i.map(i=>d[i]);
2
- var cc=Object.defineProperty;var Di=e=>{throw TypeError(e)};var uc=(e,t,n)=>t in e?cc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Tr=(e,t,n)=>uc(e,typeof t!="symbol"?t+"":t,n),ps=(e,t,n)=>t.has(e)||Di("Cannot "+n);var _=(e,t,n)=>(ps(e,t,"read from private field"),n?n.call(e):t.get(e)),re=(e,t,n)=>t.has(e)?Di("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(ps(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$e=(e,t,n)=>(ps(e,t,"access private method"),n);var Pr=(e,t,n,r)=>({set _(s){G(e,t,s,n)},get _(){return _(e,t,r)}});import{g as Pg}from"./editorjs-hCuh8vdW.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/**
3
- * @vue/shared v3.5.33
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **/function Ys(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ye={},_n=[],st=()=>{},ta=()=>!1,Yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zr=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Zs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fc=Object.prototype.hasOwnProperty,ie=(e,t)=>fc.call(e,t),q=Array.isArray,vn=e=>mr(e)==="[object Map]",na=e=>mr(e)==="[object Set]",$i=e=>mr(e)==="[object Date]",Y=e=>typeof e=="function",fe=e=>typeof e=="string",Ge=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",ra=e=>(ce(e)||Y(e))&&Y(e.then)&&Y(e.catch),sa=Object.prototype.toString,mr=e=>sa.call(e),dc=e=>mr(e).slice(8,-1),ia=e=>mr(e)==="[object Object]",Xr=e=>fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wn=Ys(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),es=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},hc=/-\w/g,Ve=es(e=>e.replace(hc,t=>t.slice(1).toUpperCase())),pc=/\B([A-Z])/g,hn=es(e=>e.replace(pc,"-$1").toLowerCase()),ts=es(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=es(e=>e?`on${ts(e)}`:""),xt=(e,t)=>!Object.is(e,t),ms=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},oa=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},gc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},mc=e=>{const t=fe(e)?Number(e):NaN;return isNaN(t)?e:t};let Fi;const ns=()=>Fi||(Fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=fe(r)?bc(r):Fn(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(fe(e)||ce(e))return e}const yc=/;(?![^(]*\))/g,_c=/:([^]+)/,vc=/\/\*[^]*?\*\//g;function bc(e){const t={};return e.replace(vc,"").split(yc).forEach(n=>{if(n){const r=n.split(_c);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function rt(e){let t="";if(fe(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=rt(e[n]);r&&(t+=r+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Og(e){if(!e)return null;let{class:t,style:n}=e;return t&&!fe(t)&&(e.class=rt(t)),n&&(e.style=Fn(n)),e}const wc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xc=Ys(wc);function aa(e){return!!e||e===""}function Sc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Xs(e[r],t[r]);return n}function Xs(e,t){if(e===t)return!0;let n=$i(e),r=$i(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ge(e),r=Ge(t),n||r)return e===t;if(n=q(e),r=q(t),n||r)return n&&r?Sc(e,t):!1;if(n=ce(e),r=ce(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Xs(e[o],t[o]))return!1}}return String(e)===String(t)}const la=e=>!!(e&&e.__v_isRef===!0),Fe=e=>fe(e)?e:e==null?"":q(e)||ce(e)&&(e.toString===sa||!Y(e.toString))?la(e)?Fe(e.value):JSON.stringify(e,ca,2):String(e),ca=(e,t)=>la(t)?ca(e,t.value):vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[ys(r,i)+" =>"]=s,n),{})}:na(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ys(n))}:Ge(t)?ys(t):ce(t)&&!q(t)&&!ia(t)?String(t):t,ys=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
- * @vue/reactivity v3.5.33
8
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
- * @license MIT
10
- **/let Me;class Cc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-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=Me;try{return Me=this,t()}finally{Me=n}}}on(){++this._on===1&&(this.prevScope=Me,Me=this)}off(){if(this._on>0&&--this._on===0){if(Me===this)Me=this.prevScope;else{let t=Me;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,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function ua(){return Me}function Tc(e,t=!1){Me&&Me.cleanups.push(e)}let me;const _s=new WeakSet;class fa{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,Me&&Me.active&&Me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_s.has(this)&&(_s.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ha(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ki(this),pa(this);const t=me,n=it;me=this,it=!0;try{return this.fn()}finally{ga(this),me=t,it=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ni(t);this.deps=this.depsTail=void 0,ki(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_s.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ms(this)&&this.run()}get dirty(){return Ms(this)}}let da=0,Gn,Yn;function ha(e,t=!1){if(e.flags|=8,t){e.next=Yn,Yn=e;return}e.next=Gn,Gn=e}function ei(){da++}function ti(){if(--da>0)return;if(Yn){let t=Yn;for(Yn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gn;){let t=Gn;for(Gn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function pa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ga(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ni(r),Pc(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ma(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ma(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nr)||(e.globalVersion=nr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ms(e))))return;e.flags|=2;const t=e.dep,n=me,r=it;me=e,it=!0;try{pa(e);const s=e.fn(e._value);(t.version===0||xt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{me=n,it=r,ga(e),e.flags&=-3}}function ni(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ni(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Pc(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let it=!0;const ya=[];function Ft(){ya.push(it),it=!1}function kt(){const e=ya.pop();it=e===void 0?!0:e}function ki(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=me;me=void 0;try{t()}finally{me=n}}}let nr=0;class Oc{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 ri{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(!me||!it||me===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==me)n=this.activeLink=new Oc(me,this),me.deps?(n.prevDep=me.depsTail,me.depsTail.nextDep=n,me.depsTail=n):me.deps=me.depsTail=n,_a(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=me.depsTail,n.nextDep=void 0,me.depsTail.nextDep=n,me.depsTail=n,me.deps===n&&(me.deps=r)}return n}trigger(t){this.version++,nr++,this.notify(t)}notify(t){ei();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ti()}}}function _a(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)_a(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Rr=new WeakMap,un=Symbol(""),Ds=Symbol(""),rr=Symbol("");function Ne(e,t,n){if(it&&me){let r=Rr.get(e);r||Rr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ri),s.map=r,s.key=n),s.track()}}function $t(e,t,n,r,s,i){const o=Rr.get(e);if(!o){nr++;return}const a=l=>{l&&l.trigger()};if(ei(),t==="clear")o.forEach(a);else{const l=q(e),u=l&&Xr(n);if(l&&n==="length"){const c=Number(r);o.forEach((d,m)=>{(m==="length"||m===rr||!Ge(m)&&m>=c)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(rr)),t){case"add":l?u&&a(o.get("length")):(a(o.get(un)),vn(e)&&a(o.get(Ds)));break;case"delete":l||(a(o.get(un)),vn(e)&&a(o.get(Ds)));break;case"set":vn(e)&&a(o.get(un));break}}ti()}function Ec(e,t){const n=Rr.get(e);return n&&n.get(t)}function gn(e){const t=le(e);return t===e?t:(Ne(t,"iterate",rr),We(e)?t:t.map(at))}function rs(e){return Ne(e=le(e),"iterate",rr),e}function bt(e,t){return Lt(e)?kn(fn(e)?at(t):t):at(t)}const Ac={__proto__:null,[Symbol.iterator](){return vs(this,Symbol.iterator,e=>bt(this,e))},concat(...e){return gn(this).concat(...e.map(t=>q(t)?gn(t):t))},entries(){return vs(this,"entries",e=>(e[1]=bt(this,e[1]),e))},every(e,t){return Pt(this,"every",e,t,void 0,arguments)},filter(e,t){return Pt(this,"filter",e,t,n=>n.map(r=>bt(this,r)),arguments)},find(e,t){return Pt(this,"find",e,t,n=>bt(this,n),arguments)},findIndex(e,t){return Pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Pt(this,"findLast",e,t,n=>bt(this,n),arguments)},findLastIndex(e,t){return Pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return bs(this,"includes",e)},indexOf(...e){return bs(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return bs(this,"lastIndexOf",e)},map(e,t){return Pt(this,"map",e,t,void 0,arguments)},pop(){return zn(this,"pop")},push(...e){return zn(this,"push",e)},reduce(e,...t){return Li(this,"reduce",e,t)},reduceRight(e,...t){return Li(this,"reduceRight",e,t)},shift(){return zn(this,"shift")},some(e,t){return Pt(this,"some",e,t,void 0,arguments)},splice(...e){return zn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return zn(this,"unshift",e)},values(){return vs(this,"values",e=>bt(this,e))}};function vs(e,t,n){const r=rs(e),s=r[t]();return r!==e&&!We(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Mc=Array.prototype;function Pt(e,t,n,r,s,i){const o=rs(e),a=o!==e&&!We(e),l=o[t];if(l!==Mc[t]){const d=l.apply(e,i);return a?at(d):d}let u=n;o!==e&&(a?u=function(d,m){return n.call(this,bt(e,d),m,e)}:n.length>2&&(u=function(d,m){return n.call(this,d,m,e)}));const c=l.call(o,u,r);return a&&s?s(c):c}function Li(e,t,n,r){const s=rs(e),i=s!==e&&!We(e);let o=n,a=!1;s!==e&&(i?(a=r.length===0,o=function(u,c,d){return a&&(a=!1,u=bt(e,u)),n.call(this,u,bt(e,c),d,e)}):n.length>3&&(o=function(u,c,d){return n.call(this,u,c,d,e)}));const l=s[t](o,...r);return a?bt(e,l):l}function bs(e,t,n){const r=le(e);Ne(r,"iterate",rr);const s=r[t](...n);return(s===-1||s===!1)&&os(n[0])?(n[0]=le(n[0]),r[t](...n)):s}function zn(e,t,n=[]){Ft(),ei();const r=le(e)[t].apply(e,n);return ti(),kt(),r}const Dc=Ys("__proto__,__v_isRef,__isVue"),va=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function $c(e){Ge(e)||(e=String(e));const t=le(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class ba{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Pa:Ta:i?Ca:Sa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=q(t);if(!s){let l;if(o&&(l=Ac[n]))return l;if(n==="hasOwnProperty")return $c}const a=Reflect.get(t,n,Ce(t)?t:r);if((Ge(n)?va.has(n):Dc(n))||(s||Ne(t,"get",n),i))return a;if(Ce(a)){const l=o&&Xr(n)?a:a.value;return s&&ce(l)?jr(l):l}return ce(a)?s?jr(a):si(a):a}}class wa extends ba{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=q(t)&&Xr(n);if(!this._isShallow){const u=Lt(i);if(!We(r)&&!Lt(r)&&(i=le(i),r=le(r)),!o&&Ce(i)&&!Ce(r))return u||(i.value=r),!0}const a=o?Number(n)<t.length:ie(t,n),l=Reflect.set(t,n,r,Ce(t)?t:s);return t===le(s)&&(a?xt(r,i)&&$t(t,"set",n,r):$t(t,"add",n,r)),l}deleteProperty(t,n){const r=ie(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&$t(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ge(n)||!va.has(n))&&Ne(t,"has",n),r}ownKeys(t){return Ne(t,"iterate",q(t)?"length":un),Reflect.ownKeys(t)}}class xa extends ba{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fc=new wa,kc=new xa,Lc=new wa(!0),Ic=new xa(!0),$s=e=>e,Or=e=>Reflect.getPrototypeOf(e);function Nc(e,t,n){return function(...r){const s=this.__v_raw,i=le(s),o=vn(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),c=n?$s:t?kn:at;return!t&&Ne(i,"iterate",l?Ds:un),Oe(Object.create(u),{next(){const{value:d,done:m}=u.next();return m?{value:d,done:m}:{value:a?[c(d[0]),c(d[1])]:c(d),done:m}}})}}function Er(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Rc(e,t){const n={get(s){const i=this.__v_raw,o=le(i),a=le(s);e||(xt(s,a)&&Ne(o,"get",s),Ne(o,"get",a));const{has:l}=Or(o),u=t?$s:e?kn:at;if(l.call(o,s))return u(i.get(s));if(l.call(o,a))return u(i.get(a));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Ne(le(s),"iterate",un),s.size},has(s){const i=this.__v_raw,o=le(i),a=le(s);return e||(xt(s,a)&&Ne(o,"has",s),Ne(o,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const o=this,a=o.__v_raw,l=le(a),u=t?$s:e?kn:at;return!e&&Ne(l,"iterate",un),a.forEach((c,d)=>s.call(i,u(c),u(d),o))}};return Oe(n,e?{add:Er("add"),set:Er("set"),delete:Er("delete"),clear:Er("clear")}:{add(s){const i=le(this),o=Or(i),a=le(s),l=!t&&!We(s)&&!Lt(s)?a:s;return o.has.call(i,l)||xt(s,l)&&o.has.call(i,s)||xt(a,l)&&o.has.call(i,a)||(i.add(l),$t(i,"add",l,l)),this},set(s,i){!t&&!We(i)&&!Lt(i)&&(i=le(i));const o=le(this),{has:a,get:l}=Or(o);let u=a.call(o,s);u||(s=le(s),u=a.call(o,s));const c=l.call(o,s);return o.set(s,i),u?xt(i,c)&&$t(o,"set",s,i):$t(o,"add",s,i),this},delete(s){const i=le(this),{has:o,get:a}=Or(i);let l=o.call(i,s);l||(s=le(s),l=o.call(i,s)),a&&a.call(i,s);const u=i.delete(s);return l&&$t(i,"delete",s,void 0),u},clear(){const s=le(this),i=s.size!==0,o=s.clear();return i&&$t(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Nc(s,e,t)}),n}function ss(e,t){const n=Rc(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ie(n,s)&&s in r?n:r,s,i)}const jc={get:ss(!1,!1)},Hc={get:ss(!1,!0)},Bc={get:ss(!0,!1)},zc={get:ss(!0,!0)},Sa=new WeakMap,Ca=new WeakMap,Ta=new WeakMap,Pa=new WeakMap;function Vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qc(e){return e.__v_skip||!Object.isExtensible(e)?0:Vc(dc(e))}function si(e){return Lt(e)?e:is(e,!1,Fc,jc,Sa)}function Uc(e){return is(e,!1,Lc,Hc,Ca)}function jr(e){return is(e,!0,kc,Bc,Ta)}function Kc(e){return is(e,!0,Ic,zc,Pa)}function is(e,t,n,r,s){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=qc(e);if(i===0)return e;const o=s.get(e);if(o)return o;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function fn(e){return Lt(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function Lt(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function os(e){return e?!!e.__v_raw:!1}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function kr(e){return!ie(e,"__v_skip")&&Object.isExtensible(e)&&oa(e,"__v_skip",!0),e}const at=e=>ce(e)?si(e):e,kn=e=>ce(e)?jr(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function we(e){return Oa(e,!1)}function Jc(e){return Oa(e,!0)}function Oa(e,t){return Ce(e)?e:new Qc(e,t)}class Qc{constructor(t,n){this.dep=new ri,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:le(t),this._value=n?t:at(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||We(t)||Lt(t);t=r?t:le(t),xt(t,n)&&(this._rawValue=t,this._value=r?t:at(t),this.dep.trigger())}}function Wc(e){e.dep&&e.dep.trigger()}function X(e){return Ce(e)?e.value:e}function Ea(e){return Y(e)?e():X(e)}const Gc={get:(e,t,n)=>t==="__v_raw"?e:X(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ce(s)&&!Ce(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Aa(e){return fn(e)?e:new Proxy(e,Gc)}function Yc(e){const t=q(e)?new Array(e.length):{};for(const n in e)t[n]=Xc(e,n);return t}class Zc{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=Ge(n)?n:String(n),this._raw=le(t);let s=!0,i=t;if(!q(t)||Ge(this._key)||!Xr(this._key))do s=!os(i)||We(i);while(s&&(i=i.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=X(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ce(this._raw[this._key])){const n=this._object[this._key];if(Ce(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ec(this._raw,this._key)}}function Xc(e,t,n){return new Zc(e,t,n)}class eu{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ri(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&me!==this)return ha(this,!0),!0}get value(){const t=this.dep.track();return ma(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tu(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new eu(r,s,n)}const Ar={},Hr=new WeakMap;let en;function nu(e,t=!1,n=en){if(n){let r=Hr.get(n);r||Hr.set(n,r=[]),r.push(e)}}function ru(e,t,n=ye){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:a,call:l}=n,u=g=>s?g:We(g)||s===!1||s===0?Ht(g,1):Ht(g);let c,d,m,v,x=!1,p=!1;if(Ce(e)?(d=()=>e.value,x=We(e)):fn(e)?(d=()=>u(e),x=!0):q(e)?(p=!0,x=e.some(g=>fn(g)||We(g)),d=()=>e.map(g=>{if(Ce(g))return g.value;if(fn(g))return u(g);if(Y(g))return l?l(g,2):g()})):Y(e)?t?d=l?()=>l(e,2):e:d=()=>{if(m){Ft();try{m()}finally{kt()}}const g=en;en=c;try{return l?l(e,3,[v]):e(v)}finally{en=g}}:d=st,t&&s){const g=d,M=s===!0?1/0:s;d=()=>Ht(g(),M)}const b=ua(),T=()=>{c.stop(),b&&b.active&&Zs(b.effects,c)};if(i&&t){const g=t;t=(...M)=>{g(...M),T()}}let L=p?new Array(e.length).fill(Ar):Ar;const D=g=>{if(!(!(c.flags&1)||!c.dirty&&!g))if(t){const M=c.run();if(s||x||(p?M.some((j,ee)=>xt(j,L[ee])):xt(M,L))){m&&m();const j=en;en=c;try{const ee=[M,L===Ar?void 0:p&&L[0]===Ar?[]:L,v];L=M,l?l(t,3,ee):t(...ee)}finally{en=j}}}else c.run()};return a&&a(D),c=new fa(d),c.scheduler=o?()=>o(D,!1):D,v=g=>nu(g,!1,c),m=c.onStop=()=>{const g=Hr.get(c);if(g){if(l)l(g,4);else for(const M of g)M();Hr.delete(c)}},t?r?D(!0):L=c.run():o?o(D.bind(null,!0),!0):c.run(),T.pause=c.pause.bind(c),T.resume=c.resume.bind(c),T.stop=T,T}function Ht(e,t=1/0,n){if(t<=0||!ce(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ce(e))Ht(e.value,t,n);else if(q(e))for(let r=0;r<e.length;r++)Ht(e[r],t,n);else if(na(e)||vn(e))e.forEach(r=>{Ht(r,t,n)});else if(ia(e)){for(const r in e)Ht(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ht(e[r],t,n)}return e}/**
11
- * @vue/runtime-core v3.5.33
12
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
- * @license MIT
14
- **/function yr(e,t,n,r){try{return r?e(...r):e()}catch(s){_r(s,t,n)}}function lt(e,t,n,r){if(Y(e)){const s=yr(e,t,n,r);return s&&ra(s)&&s.catch(i=>{_r(i,t,n)}),s}if(q(e)){const s=[];for(let i=0;i<e.length;i++)s.push(lt(e[i],t,n,r));return s}}function _r(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ye;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,l,u)===!1)return}a=a.parent}if(i){Ft(),yr(i,null,10,[e,l,u]),kt();return}}su(e,n,s,r,o)}function su(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const He=[];let gt=-1;const bn=[];let jt=null,yn=0;const Ma=Promise.resolve();let Br=null;function Ln(e){const t=Br||Ma;return e?t.then(this?e.bind(this):e):t}function iu(e){let t=gt+1,n=He.length;for(;t<n;){const r=t+n>>>1,s=He[r],i=sr(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function ii(e){if(!(e.flags&1)){const t=sr(e),n=He[He.length-1];!n||!(e.flags&2)&&t>=sr(n)?He.push(e):He.splice(iu(t),0,e),e.flags|=1,Da()}}function Da(){Br||(Br=Ma.then(Fa))}function ou(e){q(e)?bn.push(...e):jt&&e.id===-1?jt.splice(yn+1,0,e):e.flags&1||(bn.push(e),e.flags|=1),Da()}function Ii(e,t,n=gt+1){for(;n<He.length;n++){const r=He[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;He.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function $a(e){if(bn.length){const t=[...new Set(bn)].sort((n,r)=>sr(n)-sr(r));if(bn.length=0,jt){jt.push(...t);return}for(jt=t,yn=0;yn<jt.length;yn++){const n=jt[yn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}jt=null,yn=0}}const sr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Fa(e){try{for(gt=0;gt<He.length;gt++){const t=He[gt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),yr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;gt<He.length;gt++){const t=He[gt];t&&(t.flags&=-2)}gt=-1,He.length=0,$a(),Br=null,(He.length||bn.length)&&Fa()}}let ze=null,ka=null;function zr(e){const t=ze;return ze=e,ka=e&&e.type.__scopeId||null,t}function wn(e,t=ze,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Kr(-1);const i=zr(t);let o;try{o=e(...s)}finally{zr(i),r._d&&Kr(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Wt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const a=s[o];i&&(a.oldValue=i[o].value);let l=a.dir[r];l&&(Ft(),lt(l,n,8,[e.el,a,e,t]),kt())}}function La(e,t){if(Le){let n=Le.provides;const r=Le.parent&&Le.parent.provides;r===n&&(n=Le.provides=Object.create(r)),n[e]=t}}function St(e,t,n=!1){const r=xr();if(r||Sn){let s=Sn?Sn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Y(t)?t.call(r&&r.proxy):t}}const au=Symbol.for("v-scx"),lu=()=>St(au);function Lr(e,t,n){return Ia(e,t,n)}function Ia(e,t,n=ye){const{immediate:r,deep:s,flush:i,once:o}=n,a=Oe({},n),l=t&&r||!t&&i!=="post";let u;if(In){if(i==="sync"){const v=lu();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!l){const v=()=>{};return v.stop=st,v.resume=st,v.pause=st,v}}const c=Le;a.call=(v,x,p)=>lt(v,c,x,p);let d=!1;i==="post"?a.scheduler=v=>{Ue(v,c&&c.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(v,x)=>{x?v():ii(v)}),a.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,c&&(v.id=c.uid,v.i=c))};const m=ru(e,t,a);return In&&(u?u.push(m):l&&m()),m}function cu(e,t,n){const r=this.proxy,s=fe(e)?e.includes(".")?Na(r,e):()=>r[e]:e.bind(r,r);let i;Y(t)?i=t:(i=t.handler,n=t);const o=Sr(this),a=Ia(s,i.bind(r),n);return o(),a}function Na(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const uu=Symbol("_vte"),Ra=e=>e.__isTeleport;const mt=Symbol("_leaveCb"),Vn=Symbol("_enterCb");function fu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return br(()=>{e.isMounted=!0}),wr(()=>{e.isUnmounting=!0}),e}const Xe=[Function,Array],ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xe,onEnter:Xe,onAfterEnter:Xe,onEnterCancelled:Xe,onBeforeLeave:Xe,onLeave:Xe,onAfterLeave:Xe,onLeaveCancelled:Xe,onBeforeAppear:Xe,onAppear:Xe,onAfterAppear:Xe,onAppearCancelled:Xe},Ha=e=>{const t=e.subTree;return t.component?Ha(t.component):t},du={name:"BaseTransition",props:ja,setup(e,{slots:t}){const n=xr(),r=fu();return()=>{const s=t.default&&Va(t.default(),!0),i=s&&s.length?Ba(s):n.subTree?Cn():void 0;if(!i)return;const o=le(e),{mode:a}=o;if(r.isLeaving)return ws(i);const l=Ni(i);if(!l)return ws(i);let u=Fs(l,o,r,n,d=>u=d);l.type!==Re&&ir(l,u);let c=n.subTree&&Ni(n.subTree);if(c&&c.type!==Re&&!tn(c,l)&&Ha(n).type!==Re){let d=Fs(c,o,r,n);if(ir(c,d),a==="out-in"&&l.type!==Re)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},ws(i);a==="in-out"&&l.type!==Re?d.delayLeave=(m,v,x)=>{const p=za(r,c);p[String(c.key)]=c,m[mt]=()=>{v(),m[mt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{x(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Ba(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Re){t=n;break}}return t}const hu=du;function za(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Fs(e,t,n,r,s){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:m,onLeave:v,onAfterLeave:x,onLeaveCancelled:p,onBeforeAppear:b,onAppear:T,onAfterAppear:L,onAppearCancelled:D}=t,g=String(e.key),M=za(n,e),j=(B,U)=>{B&&lt(B,r,9,U)},ee=(B,U)=>{const z=U[1];j(B,U),q(B)?B.every(R=>R.length<=1)&&z():B.length<=1&&z()},ne={mode:o,persisted:a,beforeEnter(B){let U=l;if(!n.isMounted)if(i)U=b||l;else return;B[mt]&&B[mt](!0);const z=M[g];z&&tn(e,z)&&z.el[mt]&&z.el[mt](),j(U,[B])},enter(B){if(M[g]===e)return;let U=u,z=c,R=d;if(!n.isMounted)if(i)U=T||u,z=L||c,R=D||d;else return;let de=!1;B[Vn]=k=>{de||(de=!0,k?j(R,[B]):j(z,[B]),ne.delayedLeave&&ne.delayedLeave(),B[Vn]=void 0)};const H=B[Vn].bind(null,!1);U?ee(U,[B,H]):H()},leave(B,U){const z=String(e.key);if(B[Vn]&&B[Vn](!0),n.isUnmounting)return U();j(m,[B]);let R=!1;B[mt]=H=>{R||(R=!0,U(),H?j(p,[B]):j(x,[B]),B[mt]=void 0,M[z]===e&&delete M[z])};const de=B[mt].bind(null,!1);M[z]=e,v?ee(v,[B,de]):de()},clone(B){const U=Fs(B,t,n,r,s);return s&&s(U),U}};return ne}function ws(e){if(vr(e))return e=Qt(e),e.children=null,e}function Ni(e){if(!vr(e))return Ra(e.type)&&e.children?Ba(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Y(n.default))return n.default()}}function ir(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ir(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 Va(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ke?(o.patchFlag&128&&s++,r=r.concat(Va(o.children,t,a))):(t||o.type!==Re)&&r.push(a!=null?Qt(o,{key:a}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}function ct(e,t){return Y(e)?Oe({name:e.name},t,{setup:e}):e}function oi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ri(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Vr=new WeakMap;function Zn(e,t,n,r,s=!1){if(q(e)){e.forEach((p,b)=>Zn(p,t&&(q(t)?t[b]:t),n,r,s));return}if(xn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Zn(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?di(r.component):r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ye?a.refs={}:a.refs,d=a.setupState,m=le(d),v=d===ye?ta:p=>Ri(c,p)?!1:ie(m,p),x=(p,b)=>!(b&&Ri(c,b));if(u!=null&&u!==l){if(ji(t),fe(u))c[u]=null,v(u)&&(d[u]=null);else if(Ce(u)){const p=t;x(u,p.k)&&(u.value=null),p.k&&(c[p.k]=null)}}if(Y(l))yr(l,a,12,[o,c]);else{const p=fe(l),b=Ce(l);if(p||b){const T=()=>{if(e.f){const L=p?v(l)?d[l]:c[l]:x()||!e.k?l.value:c[e.k];if(s)q(L)&&Zs(L,i);else if(q(L))L.includes(i)||L.push(i);else if(p)c[l]=[i],v(l)&&(d[l]=c[l]);else{const D=[i];x(l,e.k)&&(l.value=D),e.k&&(c[e.k]=D)}}else p?(c[l]=o,v(l)&&(d[l]=o)):b&&(x(l,e.k)&&(l.value=o),e.k&&(c[e.k]=o))};if(o){const L=()=>{T(),Vr.delete(e)};L.id=-1,Vr.set(e,L),Ue(L,n)}else ji(e),T()}}}function ji(e){const t=Vr.get(e);t&&(t.flags|=8,Vr.delete(e))}const Hi=e=>e.nodeType===8;ns().requestIdleCallback;ns().cancelIdleCallback;function pu(e,t){if(Hi(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Hi(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const xn=e=>!!e.type.__asyncLoader;function Bi(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:a=!0,onError:l}=e;let u=null,c,d=0;const m=()=>(d++,u=null,v()),v=()=>{let x;return u||(x=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),l)return new Promise((b,T)=>{l(p,()=>b(m()),()=>T(p),d+1)});throw p}).then(p=>x!==u&&u?u:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return ct({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(x,p,b){let T=!1;(p.bu||(p.bu=[])).push(()=>T=!0);const L=()=>{T||b()},D=i?()=>{const g=i(L,M=>pu(x,M));g&&(p.bum||(p.bum=[])).push(g)}:L;c?D():v().then(()=>!p.isUnmounted&&D())},get __asyncResolved(){return c},setup(){const x=Le;if(oi(x),c)return()=>Mr(c,x);const p=D=>{u=null,_r(D,x,13,!r)};if(a&&x.suspense||In)return v().then(D=>()=>Mr(D,x)).catch(D=>(p(D),()=>r?_e(r,{error:D}):null));const b=we(!1),T=we(),L=we(!!s);return s&&setTimeout(()=>{L.value=!1},s),o!=null&&setTimeout(()=>{if(!b.value&&!T.value){const D=new Error(`Async component timed out after ${o}ms.`);p(D),T.value=D}},o),v().then(()=>{b.value=!0,x.parent&&vr(x.parent.vnode)&&x.parent.update()}).catch(D=>{p(D),T.value=D}),()=>{if(b.value&&c)return Mr(c,x);if(T.value&&r)return _e(r,{error:T.value});if(n&&!L.value)return Mr(n,x)}}})}function Mr(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=_e(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const vr=e=>e.type.__isKeepAlive;function gu(e,t){qa(e,"a",t)}function mu(e,t){qa(e,"da",t)}function qa(e,t,n=Le){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(as(t,r,n),n){let s=n.parent;for(;s&&s.parent;)vr(s.parent.vnode)&&yu(r,t,n,s),s=s.parent}}function yu(e,t,n,r){const s=as(t,e,r,!0);ai(()=>{Zs(r[t],s)},n)}function as(e,t,n=Le,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ft();const a=Sr(n),l=lt(t,n,e,o);return a(),kt(),l});return r?s.unshift(i):s.push(i),i}}const It=e=>(t,n=Le)=>{(!In||e==="sp")&&as(e,(...r)=>t(...r),n)},_u=It("bm"),br=It("m"),vu=It("bu"),Ua=It("u"),wr=It("bum"),ai=It("um"),bu=It("sp"),wu=It("rtg"),xu=It("rtc");function Su(e,t=Le){as("ec",e,t)}const Ka="components";const Ja=Symbol.for("v-ndc");function Cu(e){return fe(e)?Tu(Ka,e,!1)||e:e||Ja}function Tu(e,t,n=!0,r=!1){const s=ze||Le;if(s){const i=s.type;if(e===Ka){const a=cf(i,!1);if(a&&(a===t||a===Ve(t)||a===ts(Ve(t))))return i}const o=zi(s[e]||i[e],t)||zi(s.appContext[e],t);return!o&&r?i:o}}function zi(e,t){return e&&(e[t]||e[Ve(t)]||e[ts(Ve(t))])}function Qa(e,t,n,r){let s;const i=n,o=q(e);if(o||fe(e)){const a=o&&fn(e);let l=!1,u=!1;a&&(l=!We(e),u=Lt(e),e=rs(e)),s=new Array(e.length);for(let c=0,d=e.length;c<d;c++)s[c]=t(l?u?kn(at(e[c])):at(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i)}else if(ce(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,i)}}else s=[];return s}function qr(e,t,n={},r,s){if(ze.ce||ze.parent&&xn(ze.parent)&&ze.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),ue(),Jt(ke,null,[_e("slot",n,r&&r())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),ue();const o=i&&Wa(i(n)),a=n.key||o&&o.key,l=Jt(ke,{key:(a&&!Ge(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Wa(e){return e.some(t=>ar(t)?!(t.type===Re||t.type===ke&&!Wa(t.children)):!0)?e:null}const ks=e=>e?ml(e)?di(e):ks(e.parent):null,Xn=Oe(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=>ks(e.parent),$root:e=>ks(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ya(e),$forceUpdate:e=>e.f||(e.f=()=>{ii(e.update)}),$nextTick:e=>e.n||(e.n=Ln.bind(e.proxy)),$watch:e=>cu.bind(e)}),xs=(e,t)=>e!==ye&&!e.__isScriptSetup&&ie(e,t),Pu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(xs(r,t))return o[t]=1,r[t];if(s!==ye&&ie(s,t))return o[t]=2,s[t];if(ie(i,t))return o[t]=3,i[t];if(n!==ye&&ie(n,t))return o[t]=4,n[t];Ls&&(o[t]=0)}}const u=Xn[t];let c,d;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ye&&ie(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,ie(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return xs(s,t)?(s[t]=n,!0):r!==ye&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:i,type:o}},a){let l;return!!(n[a]||e!==ye&&a[0]!=="$"&&ie(e,a)||xs(t,a)||ie(i,a)||ie(r,a)||ie(Xn,a)||ie(s.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vi(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function Ou(e){const t=Ya(e),n=e.proxy,r=e.ctx;Ls=!1,t.beforeCreate&&qi(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:m,beforeUpdate:v,updated:x,activated:p,deactivated:b,beforeDestroy:T,beforeUnmount:L,destroyed:D,unmounted:g,render:M,renderTracked:j,renderTriggered:ee,errorCaptured:ne,serverPrefetch:B,expose:U,inheritAttrs:z,components:R,directives:de,filters:H}=t;if(u&&Eu(u,r,null),o)for(const $ in o){const O=o[$];Y(O)&&(r[$]=O.bind(n))}if(s){const $=s.call(n,n);ce($)&&(e.data=si($))}if(Ls=!0,i)for(const $ in i){const O=i[$],J=Y(O)?O.bind(n,n):Y(O.get)?O.get.bind(n,n):st,Q=!Y(O)&&Y(O.set)?O.set.bind(n):st,se=Se({get:J,set:Q});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,get:()=>se.value,set:oe=>se.value=oe})}if(a)for(const $ in a)Ga(a[$],r,n,$);if(l){const $=Y(l)?l.call(n):l;Reflect.ownKeys($).forEach(O=>{La(O,$[O])})}c&&qi(c,e,"c");function E($,O){q(O)?O.forEach(J=>$(J.bind(n))):O&&$(O.bind(n))}if(E(_u,d),E(br,m),E(vu,v),E(Ua,x),E(gu,p),E(mu,b),E(Su,ne),E(xu,j),E(wu,ee),E(wr,L),E(ai,g),E(bu,B),q(U))if(U.length){const $=e.exposed||(e.exposed={});U.forEach(O=>{Object.defineProperty($,O,{get:()=>n[O],set:J=>n[O]=J,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===st&&(e.render=M),z!=null&&(e.inheritAttrs=z),R&&(e.components=R),de&&(e.directives=de),B&&oi(e)}function Eu(e,t,n=st){q(e)&&(e=Is(e));for(const r in e){const s=e[r];let i;ce(s)?"default"in s?i=St(s.from||r,s.default,!0):i=St(s.from||r):i=St(s),Ce(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function qi(e,t,n){lt(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ga(e,t,n,r){let s=r.includes(".")?Na(n,r):()=>n[r];if(fe(e)){const i=t[e];Y(i)&&Lr(s,i)}else if(Y(e))Lr(s,e.bind(n));else if(ce(e))if(q(e))e.forEach(i=>Ga(i,t,n,r));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Lr(s,i,e)}}function Ya(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>Ur(l,u,o,!0)),Ur(l,t,o)),ce(t)&&i.set(t,l),l}function Ur(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Ur(e,i,n,!0),s&&s.forEach(o=>Ur(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Au[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Au={data:Ui,props:Ki,emits:Ki,methods:Jn,computed:Jn,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:Jn,directives:Jn,watch:Du,provide:Ui,inject:Mu};function Ui(e,t){return t?e?function(){return Oe(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Mu(e,t){return Jn(Is(e),Is(t))}function Is(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Jn(e,t){return e?Oe(Object.create(null),e,t):t}function Ki(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Oe(Object.create(null),Vi(e),Vi(t??{})):t}function Du(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const r in t)n[r]=je(e[r],t[r]);return n}function Za(){return{app:null,config:{isNativeTag:ta,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 $u=0;function Fu(e,t){return function(r,s=null){Y(r)||(r=Oe({},r)),s!=null&&!ce(s)&&(s=null);const i=Za(),o=new WeakSet,a=[];let l=!1;const u=i.app={_uid:$u++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:df,get config(){return i.config},set config(c){},use(c,...d){return o.has(c)||(c&&Y(c.install)?(o.add(c),c.install(u,...d)):Y(c)&&(o.add(c),c(u,...d))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,d){return d?(i.components[c]=d,u):i.components[c]},directive(c,d){return d?(i.directives[c]=d,u):i.directives[c]},mount(c,d,m){if(!l){const v=u._ceVNode||_e(r,s);return v.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),e(v,c,m),l=!0,u._container=c,c.__vue_app__=u,di(v.component)}},onUnmount(c){a.push(c)},unmount(){l&&(lt(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return i.provides[c]=d,u},runWithContext(c){const d=Sn;Sn=u;try{return c()}finally{Sn=d}}};return u}}let Sn=null;const ku=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ve(t)}Modifiers`]||e[`${hn(t)}Modifiers`];function Lu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let s=n;const i=t.startsWith("update:"),o=i&&ku(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>fe(c)?c.trim():c)),o.number&&(s=n.map(gc)));let a,l=r[a=gs(t)]||r[a=gs(Ve(t))];!l&&i&&(l=r[a=gs(hn(t))]),l&&lt(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,lt(u,e,6,s)}}const Iu=new WeakMap;function Xa(e,t,n=!1){const r=n?Iu:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!Y(e)){const l=u=>{const c=Xa(u,t,!0);c&&(a=!0,Oe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ce(e)&&r.set(e,null),null):(q(i)?i.forEach(l=>o[l]=null):Oe(o,i),ce(e)&&r.set(e,o),o)}function ls(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,hn(t))||ie(e,t))}function Ji(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:d,data:m,setupState:v,ctx:x,inheritAttrs:p}=e,b=zr(e);let T,L;try{if(n.shapeFlag&4){const g=s||r,M=g;T=wt(u.call(M,g,c,d,v,m,x)),L=a}else{const g=t;T=wt(g.length>1?g(d,{attrs:a,slots:o,emit:l}):g(d,null)),L=t.props?a:Nu(a)}}catch(g){er.length=0,_r(g,e,1),T=_e(Re)}let D=T;if(L&&p!==!1){const g=Object.keys(L),{shapeFlag:M}=D;g.length&&M&7&&(i&&g.some(Zr)&&(L=Ru(L,i)),D=Qt(D,L,!1,!0))}return n.dirs&&(D=Qt(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&ir(D,n.transition),T=D,zr(b),T}const Nu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yr(n))&&((t||(t={}))[n]=e[n]);return t},Ru=(e,t)=>{const n={};for(const r in e)(!Zr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ju(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Qi(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const m=c[d];if(el(o,r,m)&&!ls(u,m))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Qi(r,o,u):!0:!!o;return!1}function Qi(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(el(t,e,i)&&!ls(n,i))return!0}return!1}function el(e,t,n){const r=e[n],s=t[n];return n==="style"&&ce(r)&&ce(s)?!Xs(r,s):r!==s}function Hu({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const tl={},nl=()=>Object.create(tl),rl=e=>Object.getPrototypeOf(e)===tl;function Bu(e,t,n,r=!1){const s={},i=nl();e.propsDefaults=Object.create(null),sl(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Uc(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function zu(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=le(s),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let m=c[d];if(ls(e.emitsOptions,m))continue;const v=t[m];if(l)if(ie(i,m))v!==i[m]&&(i[m]=v,u=!0);else{const x=Ve(m);s[x]=Ns(l,a,x,v,e,!1)}else v!==i[m]&&(i[m]=v,u=!0)}}}else{sl(e,t,s,i)&&(u=!0);let c;for(const d in a)(!t||!ie(t,d)&&((c=hn(d))===d||!ie(t,c)))&&(l?n&&(n[d]!==void 0||n[c]!==void 0)&&(s[d]=Ns(l,a,d,void 0,e,!0)):delete s[d]);if(i!==a)for(const d in i)(!t||!ie(t,d))&&(delete i[d],u=!0)}u&&$t(e.attrs,"set","")}function sl(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Wn(l))continue;const u=t[l];let c;s&&ie(s,c=Ve(l))?!i||!i.includes(c)?n[c]=u:(a||(a={}))[c]=u:ls(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(i){const l=le(n),u=a||ye;for(let c=0;c<i.length;c++){const d=i[c];n[d]=Ns(s,l,d,u[d],e,!ie(u,d))}}return o}function Ns(e,t,n,r,s,i){const o=e[n];if(o!=null){const a=ie(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&Y(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=Sr(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!a?r=!1:o[1]&&(r===""||r===hn(n))&&(r=!0))}return r}const Vu=new WeakMap;function il(e,t,n=!1){const r=n?Vu:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},a=[];let l=!1;if(!Y(e)){const c=d=>{l=!0;const[m,v]=il(d,t,!0);Oe(o,m),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return ce(e)&&r.set(e,_n),_n;if(q(i))for(let c=0;c<i.length;c++){const d=Ve(i[c]);Wi(d)&&(o[d]=ye)}else if(i)for(const c in i){const d=Ve(c);if(Wi(d)){const m=i[c],v=o[d]=q(m)||Y(m)?{type:m}:Oe({},m),x=v.type;let p=!1,b=!0;if(q(x))for(let T=0;T<x.length;++T){const L=x[T],D=Y(L)&&L.name;if(D==="Boolean"){p=!0;break}else D==="String"&&(b=!1)}else p=Y(x)&&x.name==="Boolean";v[0]=p,v[1]=b,(p||ie(v,"default"))&&a.push(d)}}const u=[o,a];return ce(e)&&r.set(e,u),u}function Wi(e){return e[0]!=="$"&&!Wn(e)}const li=e=>e==="_"||e==="_ctx"||e==="$stable",ci=e=>q(e)?e.map(wt):[wt(e)],qu=(e,t,n)=>{if(t._n)return t;const r=wn((...s)=>ci(t(...s)),n);return r._c=!1,r},ol=(e,t,n)=>{const r=e._ctx;for(const s in e){if(li(s))continue;const i=e[s];if(Y(i))t[s]=qu(s,i,r);else if(i!=null){const o=ci(i);t[s]=()=>o}}},al=(e,t)=>{const n=ci(t);e.slots.default=()=>n},ll=(e,t,n)=>{for(const r in t)(n||!li(r))&&(e[r]=t[r])},Uu=(e,t,n)=>{const r=e.slots=nl();if(e.vnode.shapeFlag&32){const s=t._;s?(ll(r,t,n),n&&oa(r,"_",s,!0)):ol(t,r)}else t&&al(e,t)},Ku=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:ll(s,t,n):(i=!t.$stable,ol(t,s)),o=t}else t&&(al(e,t),o={default:1});if(i)for(const a in s)!li(a)&&o[a]==null&&delete s[a]},Ue=Yu;function Ju(e){return Qu(e)}function Qu(e,t){const n=ns();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:m,setScopeId:v=st,insertStaticContent:x}=e,p=(f,h,y,P=null,w=null,S=null,I=void 0,F=null,A=!!h.dynamicChildren)=>{if(f===h)return;f&&!tn(f,h)&&(P=Ze(f),oe(f,w,S,!0),f=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:C,ref:K,shapeFlag:N}=h;switch(C){case cs:b(f,h,y,P);break;case Re:T(f,h,y,P);break;case Cs:f==null&&L(h,y,P,I);break;case ke:R(f,h,y,P,w,S,I,F,A);break;default:N&1?M(f,h,y,P,w,S,I,F,A):N&6?de(f,h,y,P,w,S,I,F,A):(N&64||N&128)&&C.process(f,h,y,P,w,S,I,F,A,Te)}K!=null&&w?Zn(K,f&&f.ref,S,h||f,!h):K==null&&f&&f.ref!=null&&Zn(f.ref,null,S,f,!0)},b=(f,h,y,P)=>{if(f==null)r(h.el=a(h.children),y,P);else{const w=h.el=f.el;h.children!==f.children&&u(w,h.children)}},T=(f,h,y,P)=>{f==null?r(h.el=l(h.children||""),y,P):h.el=f.el},L=(f,h,y,P)=>{[f.el,f.anchor]=x(f.children,h,y,P,f.el,f.anchor)},D=({el:f,anchor:h},y,P)=>{let w;for(;f&&f!==h;)w=m(f),r(f,y,P),f=w;r(h,y,P)},g=({el:f,anchor:h})=>{let y;for(;f&&f!==h;)y=m(f),s(f),f=y;s(h)},M=(f,h,y,P,w,S,I,F,A)=>{if(h.type==="svg"?I="svg":h.type==="math"&&(I="mathml"),f==null)j(h,y,P,w,S,I,F,A);else{const C=f.el&&f.el._isVueCE?f.el:null;try{C&&C._beginPatch(),B(f,h,w,S,I,F,A)}finally{C&&C._endPatch()}}},j=(f,h,y,P,w,S,I,F)=>{let A,C;const{props:K,shapeFlag:N,transition:V,dirs:W}=f;if(A=f.el=o(f.type,S,K&&K.is,K),N&8?c(A,f.children):N&16&&ne(f.children,A,null,P,w,Ss(f,S),I,F),W&&Wt(f,null,P,"created"),ee(A,f,f.scopeId,I,P),K){for(const he in K)he!=="value"&&!Wn(he)&&i(A,he,null,K[he],S,P);"value"in K&&i(A,"value",null,K.value,S),(C=K.onVnodeBeforeMount)&&pt(C,P,f)}W&&Wt(f,null,P,"beforeMount");const ae=Wu(w,V);ae&&V.beforeEnter(A),r(A,h,y),((C=K&&K.onVnodeMounted)||ae||W)&&Ue(()=>{try{C&&pt(C,P,f),ae&&V.enter(A),W&&Wt(f,null,P,"mounted")}finally{}},w)},ee=(f,h,y,P,w)=>{if(y&&v(f,y),P)for(let S=0;S<P.length;S++)v(f,P[S]);if(w){let S=w.subTree;if(h===S||dl(S.type)&&(S.ssContent===h||S.ssFallback===h)){const I=w.vnode;ee(f,I,I.scopeId,I.slotScopeIds,w.parent)}}},ne=(f,h,y,P,w,S,I,F,A=0)=>{for(let C=A;C<f.length;C++){const K=f[C]=F?Mt(f[C]):wt(f[C]);p(null,K,h,y,P,w,S,I,F)}},B=(f,h,y,P,w,S,I)=>{const F=h.el=f.el;let{patchFlag:A,dynamicChildren:C,dirs:K}=h;A|=f.patchFlag&16;const N=f.props||ye,V=h.props||ye;let W;if(y&&Gt(y,!1),(W=V.onVnodeBeforeUpdate)&&pt(W,y,h,f),K&&Wt(h,f,y,"beforeUpdate"),y&&Gt(y,!0),(N.innerHTML&&V.innerHTML==null||N.textContent&&V.textContent==null)&&c(F,""),C?U(f.dynamicChildren,C,F,y,P,Ss(h,w),S):I||O(f,h,F,null,y,P,Ss(h,w),S,!1),A>0){if(A&16)z(F,N,V,y,w);else if(A&2&&N.class!==V.class&&i(F,"class",null,V.class,w),A&4&&i(F,"style",N.style,V.style,w),A&8){const ae=h.dynamicProps;for(let he=0;he<ae.length;he++){const ge=ae[he],Pe=N[ge],De=V[ge];(De!==Pe||ge==="value")&&i(F,ge,Pe,De,w,y)}}A&1&&f.children!==h.children&&c(F,h.children)}else!I&&C==null&&z(F,N,V,y,w);((W=V.onVnodeUpdated)||K)&&Ue(()=>{W&&pt(W,y,h,f),K&&Wt(h,f,y,"updated")},P)},U=(f,h,y,P,w,S,I)=>{for(let F=0;F<h.length;F++){const A=f[F],C=h[F],K=A.el&&(A.type===ke||!tn(A,C)||A.shapeFlag&198)?d(A.el):y;p(A,C,K,null,P,w,S,I,!0)}},z=(f,h,y,P,w)=>{if(h!==y){if(h!==ye)for(const S in h)!Wn(S)&&!(S in y)&&i(f,S,h[S],null,w,P);for(const S in y){if(Wn(S))continue;const I=y[S],F=h[S];I!==F&&S!=="value"&&i(f,S,F,I,w,P)}"value"in y&&i(f,"value",h.value,y.value,w)}},R=(f,h,y,P,w,S,I,F,A)=>{const C=h.el=f?f.el:a(""),K=h.anchor=f?f.anchor:a("");let{patchFlag:N,dynamicChildren:V,slotScopeIds:W}=h;W&&(F=F?F.concat(W):W),f==null?(r(C,y,P),r(K,y,P),ne(h.children||[],y,K,w,S,I,F,A)):N>0&&N&64&&V&&f.dynamicChildren&&f.dynamicChildren.length===V.length?(U(f.dynamicChildren,V,y,w,S,I,F),(h.key!=null||w&&h===w.subTree)&&cl(f,h,!0)):O(f,h,y,K,w,S,I,F,A)},de=(f,h,y,P,w,S,I,F,A)=>{h.slotScopeIds=F,f==null?h.shapeFlag&512?w.ctx.activate(h,y,P,I,A):H(h,y,P,w,S,I,A):k(f,h,A)},H=(f,h,y,P,w,S,I)=>{const F=f.component=rf(f,P,w);if(vr(f)&&(F.ctx.renderer=Te),sf(F,!1,I),F.asyncDep){if(w&&w.registerDep(F,E,I),!f.el){const A=F.subTree=_e(Re);T(null,A,h,y),f.placeholder=A.el}}else E(F,f,h,y,w,S,I)},k=(f,h,y)=>{const P=h.component=f.component;if(ju(f,h,y))if(P.asyncDep&&!P.asyncResolved){$(P,h,y);return}else P.next=h,P.update();else h.el=f.el,P.vnode=h},E=(f,h,y,P,w,S,I)=>{const F=()=>{if(f.isMounted){let{next:N,bu:V,u:W,parent:ae,vnode:he}=f;{const dt=ul(f);if(dt){N&&(N.el=he.el,$(f,N,I)),dt.asyncDep.then(()=>{Ue(()=>{f.isUnmounted||C()},w)});return}}let ge=N,Pe;Gt(f,!1),N?(N.el=he.el,$(f,N,I)):N=he,V&&ms(V),(Pe=N.props&&N.props.onVnodeBeforeUpdate)&&pt(Pe,ae,N,he),Gt(f,!0);const De=Ji(f),ft=f.subTree;f.subTree=De,p(ft,De,d(ft.el),Ze(ft),f,w,S),N.el=De.el,ge===null&&Hu(f,De.el),W&&Ue(W,w),(Pe=N.props&&N.props.onVnodeUpdated)&&Ue(()=>pt(Pe,ae,N,he),w)}else{let N;const{el:V,props:W}=h,{bm:ae,m:he,parent:ge,root:Pe,type:De}=f,ft=xn(h);Gt(f,!1),ae&&ms(ae),!ft&&(N=W&&W.onVnodeBeforeMount)&&pt(N,ge,h),Gt(f,!0);{Pe.ce&&Pe.ce._hasShadowRoot()&&Pe.ce._injectChildStyle(De,f.parent?f.parent.type:void 0);const dt=f.subTree=Ji(f);p(null,dt,y,P,f,w,S),h.el=dt.el}if(he&&Ue(he,w),!ft&&(N=W&&W.onVnodeMounted)){const dt=h;Ue(()=>pt(N,ge,dt),w)}(h.shapeFlag&256||ge&&xn(ge.vnode)&&ge.vnode.shapeFlag&256)&&f.a&&Ue(f.a,w),f.isMounted=!0,h=y=P=null}};f.scope.on();const A=f.effect=new fa(F);f.scope.off();const C=f.update=A.run.bind(A),K=f.job=A.runIfDirty.bind(A);K.i=f,K.id=f.uid,A.scheduler=()=>ii(K),Gt(f,!0),C()},$=(f,h,y)=>{h.component=f;const P=f.vnode.props;f.vnode=h,f.next=null,zu(f,h.props,P,y),Ku(f,h.children,y),Ft(),Ii(f),kt()},O=(f,h,y,P,w,S,I,F,A=!1)=>{const C=f&&f.children,K=f?f.shapeFlag:0,N=h.children,{patchFlag:V,shapeFlag:W}=h;if(V>0){if(V&128){Q(C,N,y,P,w,S,I,F,A);return}else if(V&256){J(C,N,y,P,w,S,I,F,A);return}}W&8?(K&16&&Ye(C,w,S),N!==C&&c(y,N)):K&16?W&16?Q(C,N,y,P,w,S,I,F,A):Ye(C,w,S,!0):(K&8&&c(y,""),W&16&&ne(N,y,P,w,S,I,F,A))},J=(f,h,y,P,w,S,I,F,A)=>{f=f||_n,h=h||_n;const C=f.length,K=h.length,N=Math.min(C,K);let V;for(V=0;V<N;V++){const W=h[V]=A?Mt(h[V]):wt(h[V]);p(f[V],W,y,null,w,S,I,F,A)}C>K?Ye(f,w,S,!0,!1,N):ne(h,y,P,w,S,I,F,A,N)},Q=(f,h,y,P,w,S,I,F,A)=>{let C=0;const K=h.length;let N=f.length-1,V=K-1;for(;C<=N&&C<=V;){const W=f[C],ae=h[C]=A?Mt(h[C]):wt(h[C]);if(tn(W,ae))p(W,ae,y,null,w,S,I,F,A);else break;C++}for(;C<=N&&C<=V;){const W=f[N],ae=h[V]=A?Mt(h[V]):wt(h[V]);if(tn(W,ae))p(W,ae,y,null,w,S,I,F,A);else break;N--,V--}if(C>N){if(C<=V){const W=V+1,ae=W<K?h[W].el:P;for(;C<=V;)p(null,h[C]=A?Mt(h[C]):wt(h[C]),y,ae,w,S,I,F,A),C++}}else if(C>V)for(;C<=N;)oe(f[C],w,S,!0),C++;else{const W=C,ae=C,he=new Map;for(C=ae;C<=V;C++){const Ke=h[C]=A?Mt(h[C]):wt(h[C]);Ke.key!=null&&he.set(Ke.key,C)}let ge,Pe=0;const De=V-ae+1;let ft=!1,dt=0;const Bn=new Array(De);for(C=0;C<De;C++)Bn[C]=0;for(C=W;C<=N;C++){const Ke=f[C];if(Pe>=De){oe(Ke,w,S,!0);continue}let ht;if(Ke.key!=null)ht=he.get(Ke.key);else for(ge=ae;ge<=V;ge++)if(Bn[ge-ae]===0&&tn(Ke,h[ge])){ht=ge;break}ht===void 0?oe(Ke,w,S,!0):(Bn[ht-ae]=C+1,ht>=dt?dt=ht:ft=!0,p(Ke,h[ht],y,null,w,S,I,F,A),Pe++)}const Ei=ft?Gu(Bn):_n;for(ge=Ei.length-1,C=De-1;C>=0;C--){const Ke=ae+C,ht=h[Ke],Ai=h[Ke+1],Mi=Ke+1<K?Ai.el||fl(Ai):P;Bn[C]===0?p(null,ht,y,Mi,w,S,I,F,A):ft&&(ge<0||C!==Ei[ge]?se(ht,y,Mi,2):ge--)}}},se=(f,h,y,P,w=null)=>{const{el:S,type:I,transition:F,children:A,shapeFlag:C}=f;if(C&6){se(f.component.subTree,h,y,P);return}if(C&128){f.suspense.move(h,y,P);return}if(C&64){I.move(f,h,y,Te);return}if(I===ke){r(S,h,y);for(let N=0;N<A.length;N++)se(A[N],h,y,P);r(f.anchor,h,y);return}if(I===Cs){D(f,h,y);return}if(P!==2&&C&1&&F)if(P===0)F.beforeEnter(S),r(S,h,y),Ue(()=>F.enter(S),w);else{const{leave:N,delayLeave:V,afterLeave:W}=F,ae=()=>{f.ctx.isUnmounted?s(S):r(S,h,y)},he=()=>{S._isLeaving&&S[mt](!0),N(S,()=>{ae(),W&&W()})};V?V(S,ae,he):he()}else r(S,h,y)},oe=(f,h,y,P=!1,w=!1)=>{const{type:S,props:I,ref:F,children:A,dynamicChildren:C,shapeFlag:K,patchFlag:N,dirs:V,cacheIndex:W,memo:ae}=f;if(N===-2&&(w=!1),F!=null&&(Ft(),Zn(F,null,y,f,!0),kt()),W!=null&&(h.renderCache[W]=void 0),K&256){h.ctx.deactivate(f);return}const he=K&1&&V,ge=!xn(f);let Pe;if(ge&&(Pe=I&&I.onVnodeBeforeUnmount)&&pt(Pe,h,f),K&6)qe(f.component,y,P);else{if(K&128){f.suspense.unmount(y,P);return}he&&Wt(f,null,h,"beforeUnmount"),K&64?f.type.remove(f,h,y,Te,P):C&&!C.hasOnce&&(S!==ke||N>0&&N&64)?Ye(C,h,y,!1,!0):(S===ke&&N&384||!w&&K&16)&&Ye(A,h,y),P&&xe(f)}const De=ae!=null&&W==null;(ge&&(Pe=I&&I.onVnodeUnmounted)||he||De)&&Ue(()=>{Pe&&pt(Pe,h,f),he&&Wt(f,null,h,"unmounted"),De&&(f.el=null)},y)},xe=f=>{const{type:h,el:y,anchor:P,transition:w}=f;if(h===ke){Ee(y,P);return}if(h===Cs){g(f);return}const S=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:I,delayLeave:F}=w,A=()=>I(y,S);F?F(f.el,S,A):A()}else S()},Ee=(f,h)=>{let y;for(;f!==h;)y=m(f),s(f),f=y;s(h)},qe=(f,h,y)=>{const{bum:P,scope:w,job:S,subTree:I,um:F,m:A,a:C}=f;Gi(A),Gi(C),P&&ms(P),w.stop(),S&&(S.flags|=8,oe(I,f,h,y)),F&&Ue(F,h),Ue(()=>{f.isUnmounted=!0},h)},Ye=(f,h,y,P=!1,w=!1,S=0)=>{for(let I=S;I<f.length;I++)oe(f[I],h,y,P,w)},Ze=f=>{if(f.shapeFlag&6)return Ze(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=m(f.anchor||f.el),y=h&&h[uu];return y?m(y):h};let Ct=!1;const ut=(f,h,y)=>{let P;f==null?h._vnode&&(oe(h._vnode,null,null,!0),P=h._vnode.component):p(h._vnode||null,f,h,null,null,null,y),h._vnode=f,Ct||(Ct=!0,Ii(P),$a(),Ct=!1)},Te={p,um:oe,m:se,r:xe,mt:H,mc:ne,pc:O,pbc:U,n:Ze,o:e};return{render:ut,hydrate:void 0,createApp:Fu(ut)}}function Ss({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Gt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Wu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function cl(e,t,n=!1){const r=e.children,s=t.children;if(q(r)&&q(s))for(let i=0;i<r.length;i++){const o=r[i];let a=s[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[i]=Mt(s[i]),a.el=o.el),!n&&a.patchFlag!==-2&&cl(o,a)),a.type===cs&&(a.patchFlag===-1&&(a=s[i]=Mt(a)),a.el=o.el),a.type===Re&&!a.el&&(a.el=o.el)}}function Gu(e){const t=e.slice(),n=[0];let r,s,i,o,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)a=i+o>>1,e[n[a]]<u?i=a+1:o=a;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ul(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ul(t)}function Gi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function fl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?fl(t.subTree):null}const dl=e=>e.__isSuspense;function Yu(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):ou(e)}const ke=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),Re=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),er=[];let Qe=null;function ue(e=!1){er.push(Qe=e?null:[])}function Zu(){er.pop(),Qe=er[er.length-1]||null}let or=1;function Kr(e,t=!1){or+=e,e<0&&Qe&&t&&(Qe.hasOnce=!0)}function hl(e){return e.dynamicChildren=or>0?Qe||_n:null,Zu(),or>0&&Qe&&Qe.push(e),e}function ve(e,t,n,r,s,i){return hl(pe(e,t,n,r,s,i,!0))}function Jt(e,t,n,r,s){return hl(_e(e,t,n,r,s,!0))}function ar(e){return e?e.__v_isVNode===!0:!1}function tn(e,t){return e.type===t.type&&e.key===t.key}const pl=({key:e})=>e??null,Ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?fe(e)||Ce(e)||Y(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function pe(e,t=null,n=null,r=0,s=null,i=e===ke?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pl(t),ref:t&&Ir(t),scopeId:ka,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ze};return a?(ui(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=fe(n)?8:16),or>0&&!o&&Qe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Qe.push(l),l}const _e=Xu;function Xu(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Ja)&&(e=Re),ar(e)){const a=Qt(e,t,!0);return n&&ui(a,n),or>0&&!i&&Qe&&(a.shapeFlag&6?Qe[Qe.indexOf(e)]=a:Qe.push(a)),a.patchFlag=-2,a}if(uf(e)&&(e=e.__vccOpts),t){t=ef(t);let{class:a,style:l}=t;a&&!fe(a)&&(t.class=rt(a)),ce(l)&&(os(l)&&!q(l)&&(l=Oe({},l)),t.style=Fn(l))}const o=fe(e)?1:dl(e)?128:Ra(e)?64:ce(e)?4:Y(e)?2:0;return pe(e,t,n,r,s,o,i,!0)}function ef(e){return e?os(e)||rl(e)?Oe({},e):e:null}function Qt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:l}=e,u=t?fi(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pl(u),ref:t&&t.ref?n&&i?q(i)?i.concat(Ir(t)):[i,Ir(t)]:Ir(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!==ke?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ir(c,l.clone(c)),c}function gl(e=" ",t=0){return _e(cs,null,e,t)}function Cn(e="",t=!1){return t?(ue(),Jt(Re,null,e)):_e(Re,null,e)}function wt(e){return e==null||typeof e=="boolean"?_e(Re):q(e)?_e(ke,null,e.slice()):ar(e)?Mt(e):_e(cs,null,String(e))}function Mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function ui(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ui(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!rl(t)?t._ctx=ze:s===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[gl(t)]):n=8);e.children=t,e.shapeFlag|=n}function fi(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=rt([t.class,r.class]));else if(s==="style")t.style=Fn([t.style,r.style]);else if(Yr(s)){const i=t[s],o=r[s];o&&i!==o&&!(q(i)&&i.includes(o))?t[s]=i?[].concat(i,o):o:o==null&&i==null&&!Zr(s)&&(t[s]=o)}else s!==""&&(t[s]=r[s])}return t}function pt(e,t,n,r=null){lt(e,t,7,[n,r])}const tf=Za();let nf=0;function rf(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||tf,i={uid:nf++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:il(r,s),emitsOptions:Xa(r,s),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,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=Lu.bind(null,i),e.ce&&e.ce(i),i}let Le=null;const xr=()=>Le||ze;let Jr,Rs;{const e=ns(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Jr=t("__VUE_INSTANCE_SETTERS__",n=>Le=n),Rs=t("__VUE_SSR_SETTERS__",n=>In=n)}const Sr=e=>{const t=Le;return Jr(e),e.scope.on(),()=>{e.scope.off(),Jr(t)}},Yi=()=>{Le&&Le.scope.off(),Jr(null)};function ml(e){return e.vnode.shapeFlag&4}let In=!1;function sf(e,t=!1,n=!1){t&&Rs(t);const{props:r,children:s}=e.vnode,i=ml(e);Bu(e,r,i,t),Uu(e,s,n||t);const o=i?of(e,t):void 0;return t&&Rs(!1),o}function of(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Pu);const{setup:r}=n;if(r){Ft();const s=e.setupContext=r.length>1?lf(e):null,i=Sr(e),o=yr(r,e,0,[e.props,s]),a=ra(o);if(kt(),i(),(a||e.sp)&&!xn(e)&&oi(e),a){if(o.then(Yi,Yi),t)return o.then(l=>{Zi(e,l)}).catch(l=>{_r(l,e,0)});e.asyncDep=o}else Zi(e,o)}else yl(e)}function Zi(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Aa(t)),yl(e)}function yl(e,t,n){const r=e.type;e.render||(e.render=r.render||st);{const s=Sr(e);Ft();try{Ou(e)}finally{kt(),s()}}}const af={get(e,t){return Ne(e,"get",""),e[t]}};function lf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,af),slots:e.slots,emit:e.emit,expose:t}}function di(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Aa(kr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xn)return Xn[n](e)},has(t,n){return n in t||n in Xn}})):e.proxy}function cf(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function uf(e){return Y(e)&&"__vccOpts"in e}const Se=(e,t)=>tu(e,t,In);function ff(e,t,n){try{Kr(-1);const r=arguments.length;return r===2?ce(t)&&!q(t)?ar(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ar(n)&&(n=[n]),_e(e,t,n))}finally{Kr(1)}}const df="3.5.33",hf=st;/**
15
- * @vue/runtime-dom v3.5.33
16
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
- * @license MIT
18
- **/let js;const Xi=typeof window<"u"&&window.trustedTypes;if(Xi)try{js=Xi.createPolicy("vue",{createHTML:e=>e})}catch{}const _l=js?e=>js.createHTML(e):e=>e,pf="http://www.w3.org/2000/svg",gf="http://www.w3.org/1998/Math/MathML",At=typeof document<"u"?document:null,eo=At&&At.createElement("template"),mf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?At.createElementNS(pf,e):t==="mathml"?At.createElementNS(gf,e):n?At.createElement(e,{is:n}):At.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},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,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{eo.innerHTML=_l(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=eo.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Nt="transition",qn="animation",lr=Symbol("_vtc"),vl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},yf=Oe({},ja,vl),_f=e=>(e.displayName="Transition",e.props=yf,e),vf=_f((e,{slots:t})=>ff(hu,bf(e),t)),Yt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},to=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function bf(e){const t={};for(const R in e)R in vl||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,x=wf(s),p=x&&x[0],b=x&&x[1],{onBeforeEnter:T,onEnter:L,onEnterCancelled:D,onLeave:g,onLeaveCancelled:M,onBeforeAppear:j=T,onAppear:ee=L,onAppearCancelled:ne=D}=t,B=(R,de,H,k)=>{R._enterCancelled=k,Zt(R,de?c:a),Zt(R,de?u:o),H&&H()},U=(R,de)=>{R._isLeaving=!1,Zt(R,d),Zt(R,v),Zt(R,m),de&&de()},z=R=>(de,H)=>{const k=R?ee:L,E=()=>B(de,R,H);Yt(k,[de,E]),no(()=>{Zt(de,R?l:i),Ot(de,R?c:a),to(k)||ro(de,r,p,E)})};return Oe(t,{onBeforeEnter(R){Yt(T,[R]),Ot(R,i),Ot(R,o)},onBeforeAppear(R){Yt(j,[R]),Ot(R,l),Ot(R,u)},onEnter:z(!1),onAppear:z(!0),onLeave(R,de){R._isLeaving=!0;const H=()=>U(R,de);Ot(R,d),R._enterCancelled?(Ot(R,m),oo(R)):(oo(R),Ot(R,m)),no(()=>{R._isLeaving&&(Zt(R,d),Ot(R,v),to(g)||ro(R,r,b,H))}),Yt(g,[R,H])},onEnterCancelled(R){B(R,!1,void 0,!0),Yt(D,[R])},onAppearCancelled(R){B(R,!0,void 0,!0),Yt(ne,[R])},onLeaveCancelled(R){U(R),Yt(M,[R])}})}function wf(e){if(e==null)return null;if(ce(e))return[Ts(e.enter),Ts(e.leave)];{const t=Ts(e);return[t,t]}}function Ts(e){return mc(e)}function Ot(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[lr]||(e[lr]=new Set)).add(t)}function Zt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[lr];n&&(n.delete(t),n.size||(e[lr]=void 0))}function no(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xf=0;function ro(e,t,n,r){const s=e._endId=++xf,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=Sf(e,t);if(!o)return r();const u=o+"end";let c=0;const d=()=>{e.removeEventListener(u,m),i()},m=v=>{v.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},a+1),e.addEventListener(u,m)}function Sf(e,t){const n=window.getComputedStyle(e),r=x=>(n[x]||"").split(", "),s=r(`${Nt}Delay`),i=r(`${Nt}Duration`),o=so(s,i),a=r(`${qn}Delay`),l=r(`${qn}Duration`),u=so(a,l);let c=null,d=0,m=0;t===Nt?o>0&&(c=Nt,d=o,m=i.length):t===qn?u>0&&(c=qn,d=u,m=l.length):(d=Math.max(o,u),c=d>0?o>u?Nt:qn:null,m=c?c===Nt?i.length:l.length:0);const v=c===Nt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Nt}Property`).toString());return{type:c,timeout:d,propCount:m,hasTransform:v}}function so(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>io(n)+io(e[r])))}function io(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function oo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Cf(e,t,n){const r=e[lr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ao=Symbol("_vod"),Tf=Symbol("_vsh");const Pf=Symbol(""),Of=/(?:^|;)\s*display\s*:/;function Ef(e,t,n){const r=e.style,s=fe(n);let i=!1;if(n&&!s){if(t)if(fe(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Qn(r,a,"")}else for(const o in t)n[o]==null&&Qn(r,o,"");for(const o in n){o==="display"&&(i=!0);const a=n[o];a!=null?Mf(e,o,!fe(t)&&t?t[o]:void 0,a)||Qn(r,o,a):Qn(r,o,"")}}else if(s){if(t!==n){const o=r[Pf];o&&(n+=";"+o),r.cssText=n,i=Of.test(n)}}else t&&e.removeAttribute("style");ao in e&&(e[ao]=i?r.display:"",e[Tf]&&(r.display="none"))}const lo=/\s*!important$/;function Qn(e,t,n){if(q(n))n.forEach(r=>Qn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Af(e,t);lo.test(n)?e.setProperty(hn(r),n.replace(lo,""),"important"):e[r]=n}}const co=["Webkit","Moz","ms"],Ps={};function Af(e,t){const n=Ps[t];if(n)return n;let r=Ve(t);if(r!=="filter"&&r in e)return Ps[t]=r;r=ts(r);for(let s=0;s<co.length;s++){const i=co[s]+r;if(i in e)return Ps[t]=i}return t}function Mf(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&fe(r)&&n===r}const uo="http://www.w3.org/1999/xlink";function fo(e,t,n,r,s,i=xc(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(uo,t.slice(6,t.length)):e.setAttributeNS(uo,t,n):n==null||i&&!aa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ge(n)?String(n):n)}function ho(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?_l(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=aa(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Df(e,t,n,r){e.addEventListener(t,n,r)}function $f(e,t,n,r){e.removeEventListener(t,n,r)}const po=Symbol("_vei");function Ff(e,t,n,r,s=null){const i=e[po]||(e[po]={}),o=i[t];if(r&&o)o.value=r;else{const[a,l]=kf(t);if(r){const u=i[t]=Nf(r,s);Df(e,a,u,l)}else o&&($f(e,a,o,l),i[t]=void 0)}}const go=/(?:Once|Passive|Capture)$/;function kf(e){let t;if(go.test(e)){t={};let r;for(;r=e.match(go);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hn(e.slice(2)),t]}let Os=0;const Lf=Promise.resolve(),If=()=>Os||(Lf.then(()=>Os=0),Os=Date.now());function Nf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;lt(Rf(r,n.value),t,5,[r])};return n.value=e,n.attached=If(),n}function Rf(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const mo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,jf=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?Cf(e,r,o):t==="style"?Ef(e,n,r):Yr(t)?Zr(t)||Ff(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hf(e,t,r,o))?(ho(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&fo(e,t,r,o,i,t!=="value")):e._isVueCE&&(Bf(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!fe(r)))?ho(e,Ve(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),fo(e,t,r,o))};function Hf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&mo(t)&&Y(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return mo(t)&&fe(n)?!1:t in e}function Bf(e,t){const n=e._def.props;if(!n)return!1;const r=Ve(t);return Array.isArray(n)?n.some(s=>Ve(s)===r):Object.keys(n).some(s=>Ve(s)===r)}const zf=["ctrl","shift","alt","meta"],Vf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>zf.some(n=>e[`${n}Key`]&&!t.includes(n))},yo=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...i)=>{for(let o=0;o<t.length;o++){const a=Vf[t[o]];if(a&&a(s,t))return}return e(s,...i)}))};const qf=Oe({patchProp:jf},mf);let _o;function Uf(){return _o||(_o=Ju(qf))}const bl=((...e)=>{const t=Uf().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Jf(r);if(!s)return;const i=t._component;!Y(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Kf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Kf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Jf(e){return fe(e)?document.querySelector(e):e}var us=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rn,Bt,Tn,Ko,Qf=(Ko=class extends us{constructor(){super();re(this,rn);re(this,Bt);re(this,Tn);G(this,Tn,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Bt)||this.setEventListener(_(this,Tn))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Bt))==null||t.call(this),G(this,Bt,void 0))}setEventListener(t){var n;G(this,Tn,t),(n=_(this,Bt))==null||n.call(this),G(this,Bt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,rn)!==t&&(G(this,rn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,rn)=="boolean"?_(this,rn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},rn=new WeakMap,Bt=new WeakMap,Tn=new WeakMap,Ko),wl=new Qf,Wf={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},zt,Gs,Jo,Gf=(Jo=class{constructor(){re(this,zt,Wf);re(this,Gs,!1)}setTimeoutProvider(e){G(this,zt,e)}setTimeout(e,t){return _(this,zt).setTimeout(e,t)}clearTimeout(e){_(this,zt).clearTimeout(e)}setInterval(e,t){return _(this,zt).setInterval(e,t)}clearInterval(e){_(this,zt).clearInterval(e)}},zt=new WeakMap,Gs=new WeakMap,Jo),Hs=new Gf;function Yf(e){setTimeout(e,0)}var xl=typeof window>"u"||"Deno"in globalThis;function tt(){}function Zf(e,t){return typeof e=="function"?e(t):e}function Xf(e){return typeof e=="number"&&e>=0&&e!==1/0}function ed(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bs(e,t){return typeof e=="function"?e(t):e}function td(e,t){return typeof e=="function"?e(t):e}function vo(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==hi(o,t.options))return!1}else if(!ur(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||i&&!i(t))}function bo(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(cr(t.options.mutationKey)!==cr(i))return!1}else if(!ur(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function hi(e,t){return((t==null?void 0:t.queryKeyHashFn)||cr)(e)}function cr(e){return JSON.stringify(e,(t,n)=>zs(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function ur(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ur(e[n],t[n])):!1}var nd=Object.prototype.hasOwnProperty;function Sl(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=wo(e)&&wo(t);if(!r&&!(zs(e)&&zs(t)))return t;const i=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),a=o.length,l=r?new Array(a):{};let u=0;for(let c=0;c<a;c++){const d=r?c:o[c],m=e[d],v=t[d];if(m===v){l[d]=m,(r?c<i:nd.call(e,d))&&u++;continue}if(m===null||v===null||typeof m!="object"||typeof v!="object"){l[d]=v;continue}const x=Sl(m,v,n+1);l[d]=x,x===m&&u++}return i===a&&u===i?e:l}function wo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zs(e){if(!xo(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!xo(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function xo(e){return Object.prototype.toString.call(e)==="[object Object]"}function rd(e){return new Promise(t=>{Hs.setTimeout(t,e)})}function sd(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Sl(e,t):t}function id(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function od(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var pi=Symbol();function Cl(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===pi?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function ad(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=t()),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var Tl=(()=>{let e=()=>xl;return{isServer(){return e()},setIsServer(t){e=t}}})();function ld(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var cd=Yf;function ud(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=cd;const i=a=>{t?e.push(a):s(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var Be=ud(),Pn,Vt,On,Qo,fd=(Qo=class extends us{constructor(){super();re(this,Pn,!0);re(this,Vt);re(this,On);G(this,On,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,Vt)||this.setEventListener(_(this,On))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Vt))==null||t.call(this),G(this,Vt,void 0))}setEventListener(t){var n;G(this,On,t),(n=_(this,Vt))==null||n.call(this),G(this,Vt,t(this.setOnline.bind(this)))}setOnline(t){_(this,Pn)!==t&&(G(this,Pn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,Pn)}},Pn=new WeakMap,Vt=new WeakMap,On=new WeakMap,Qo),Qr=new fd;function dd(e){return Math.min(1e3*2**e,3e4)}function Pl(e){return(e??"online")==="online"?Qr.isOnline():!0}var Vs=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ol(e){let t=!1,n=0,r;const s=ld(),i=()=>s.status!=="pending",o=p=>{var b;if(!i()){const T=new Vs(p);m(T),(b=e.onCancel)==null||b.call(e,T)}},a=()=>{t=!0},l=()=>{t=!1},u=()=>wl.isFocused()&&(e.networkMode==="always"||Qr.isOnline())&&e.canRun(),c=()=>Pl(e.networkMode)&&e.canRun(),d=p=>{i()||(r==null||r(),s.resolve(p))},m=p=>{i()||(r==null||r(),s.reject(p))},v=()=>new Promise(p=>{var b;r=T=>{(i()||u())&&p(T)},(b=e.onPause)==null||b.call(e)}).then(()=>{var p;r=void 0,i()||(p=e.onContinue)==null||p.call(e)}),x=()=>{if(i())return;let p;const b=n===0?e.initialPromise:void 0;try{p=b??e.fn()}catch(T){p=Promise.reject(T)}Promise.resolve(p).then(d).catch(T=>{var j;if(i())return;const L=e.retry??(Tl.isServer()?0:3),D=e.retryDelay??dd,g=typeof D=="function"?D(n,T):D,M=L===!0||typeof L=="number"&&n<L||typeof L=="function"&&L(n,T);if(t||!M){m(T);return}n++,(j=e.onFail)==null||j.call(e,n,T),rd(g).then(()=>u()?void 0:v()).then(()=>{t?m(T):x()})})};return{promise:s,status:()=>s.status,cancel:o,continue:()=>(r==null||r(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():v().then(x),s)}}var sn,Wo,El=(Wo=class{constructor(){re(this,sn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xf(this.gcTime)&&G(this,sn,Hs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Tl.isServer()?1/0:300*1e3))}clearGcTimeout(){_(this,sn)!==void 0&&(Hs.clearTimeout(_(this,sn)),G(this,sn,void 0))}},sn=new WeakMap,Wo),on,En,et,an,Ae,hr,ln,Je,Al,Et,Go,hd=(Go=class extends El{constructor(t){super();re(this,Je);re(this,on);re(this,En);re(this,et);re(this,an);re(this,Ae);re(this,hr);re(this,ln);G(this,ln,!1),G(this,hr,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,an,t.client),G(this,et,_(this,an).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,on,Co(this.options)),this.state=t.state??_(this,on),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,Ae))==null?void 0:t.promise}setOptions(t){if(this.options={..._(this,hr),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Co(this.options);n.data!==void 0&&(this.setState(So(n.data,n.dataUpdatedAt)),G(this,on,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,et).remove(this)}setData(t,n){const r=sd(this.state.data,t,this.options);return $e(this,Je,Et).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){$e(this,Je,Et).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=_(this,Ae))==null?void 0:r.promise;return(s=_(this,Ae))==null||s.cancel(t),n?n.then(tt).catch(tt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return _(this,on)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>td(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pi||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Bs(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!ed(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Ae))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Ae))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,et).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,Ae)&&(_(this,ln)||$e(this,Je,Al).call(this)?_(this,Ae).cancel({revert:!0}):_(this,Ae).cancelRetry()),this.scheduleGc()),_(this,et).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||$e(this,Je,Et).call(this,{type:"invalidate"})}async fetch(t,n){var l,u,c,d,m,v,x,p,b,T,L,D;if(this.state.fetchStatus!=="idle"&&((l=_(this,Ae))==null?void 0:l.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,Ae))return _(this,Ae).continueRetry(),_(this,Ae).promise}if(t&&this.setOptions(t),!this.options.queryFn){const g=this.observers.find(M=>M.options.queryFn);g&&this.setOptions(g.options)}const r=new AbortController,s=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(G(this,ln,!0),r.signal)})},i=()=>{const g=Cl(this.options,n),j=(()=>{const ee={client:_(this,an),queryKey:this.queryKey,meta:this.meta};return s(ee),ee})();return G(this,ln,!1),this.options.persister?this.options.persister(g,j,this):g(j)},a=(()=>{const g={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,an),state:this.state,fetchFn:i};return s(g),g})();(u=this.options.behavior)==null||u.onFetch(a,this),G(this,En,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&$e(this,Je,Et).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta}),G(this,Ae,Ol({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,onCancel:g=>{g instanceof Vs&&g.revert&&this.setState({..._(this,En),fetchStatus:"idle"}),r.abort()},onFail:(g,M)=>{$e(this,Je,Et).call(this,{type:"failed",failureCount:g,error:M})},onPause:()=>{$e(this,Je,Et).call(this,{type:"pause"})},onContinue:()=>{$e(this,Je,Et).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{const g=await _(this,Ae).start();if(g===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(g),(v=(m=_(this,et).config).onSuccess)==null||v.call(m,g,this),(p=(x=_(this,et).config).onSettled)==null||p.call(x,g,this.state.error,this),g}catch(g){if(g instanceof Vs){if(g.silent)return _(this,Ae).promise;if(g.revert){if(this.state.data===void 0)throw g;return this.state.data}}throw $e(this,Je,Et).call(this,{type:"error",error:g}),(T=(b=_(this,et).config).onError)==null||T.call(b,g,this),(D=(L=_(this,et).config).onSettled)==null||D.call(L,this.state.data,g,this),g}finally{this.scheduleGc()}}},on=new WeakMap,En=new WeakMap,et=new WeakMap,an=new WeakMap,Ae=new WeakMap,hr=new WeakMap,ln=new WeakMap,Je=new WeakSet,Al=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Et=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...pd(r.data,this.options),fetchMeta:t.meta??null};case"success":const s={...r,...So(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return G(this,En,t.manual?s:void 0),s;case"error":const i=t.error;return{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Be.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),_(this,et).notify({query:this,type:"updated",action:t})})},Go);function pd(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Pl(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function So(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Co(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function To(e){return{onFetch:(t,n)=>{var c,d,m,v,x;const r=t.options,s=(m=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:m.direction,i=((v=t.state.data)==null?void 0:v.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let p=!1;const b=D=>{ad(D,()=>t.signal,()=>p=!0)},T=Cl(t.options,t.fetchOptions),L=async(D,g,M)=>{if(p)return Promise.reject();if(g==null&&D.pages.length)return Promise.resolve(D);const ee=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:g,direction:M?"backward":"forward",meta:t.options.meta};return b(z),z})(),ne=await T(ee),{maxPages:B}=t.options,U=M?od:id;return{pages:U(D.pages,ne,B),pageParams:U(D.pageParams,g,B)}};if(s&&i.length){const D=s==="backward",g=D?gd:Po,M={pages:i,pageParams:o},j=g(r,M);a=await L(M,j,D)}else{const D=e??i.length;do{const g=l===0?o[0]??r.initialPageParam:Po(r,a);if(l>0&&g==null)break;a=await L(a,g),l++}while(l<D)}return a};t.options.persister?t.fetchFn=()=>{var p,b;return(b=(p=t.options).persister)==null?void 0:b.call(p,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Po(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function gd(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var pr,yt,Ie,cn,_t,Rt,Yo,md=(Yo=class extends El{constructor(t){super();re(this,_t);re(this,pr);re(this,yt);re(this,Ie);re(this,cn);G(this,pr,t.client),this.mutationId=t.mutationId,G(this,Ie,t.mutationCache),G(this,yt,[]),this.state=t.state||yd(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,yt).includes(t)||(_(this,yt).push(t),this.clearGcTimeout(),_(this,Ie).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,yt,_(this,yt).filter(n=>n!==t)),this.scheduleGc(),_(this,Ie).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,yt).length||(this.state.status==="pending"?this.scheduleGc():_(this,Ie).remove(this))}continue(){var t;return((t=_(this,cn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,a,l,u,c,d,m,v,x,p,b,T,L,D,g,M,j,ee;const n=()=>{$e(this,_t,Rt).call(this,{type:"continue"})},r={client:_(this,pr),meta:this.options.meta,mutationKey:this.options.mutationKey};G(this,cn,Ol({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(ne,B)=>{$e(this,_t,Rt).call(this,{type:"failed",failureCount:ne,error:B})},onPause:()=>{$e(this,_t,Rt).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Ie).canRun(this)}));const s=this.state.status==="pending",i=!_(this,cn).canStart();try{if(s)n();else{$e(this,_t,Rt).call(this,{type:"pending",variables:t,isPaused:i}),_(this,Ie).config.onMutate&&await _(this,Ie).config.onMutate(t,this,r);const B=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t,r));B!==this.state.context&&$e(this,_t,Rt).call(this,{type:"pending",context:B,variables:t,isPaused:i})}const ne=await _(this,cn).start();return await((u=(l=_(this,Ie).config).onSuccess)==null?void 0:u.call(l,ne,t,this.state.context,this,r)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,ne,t,this.state.context,r)),await((v=(m=_(this,Ie).config).onSettled)==null?void 0:v.call(m,ne,null,this.state.variables,this.state.context,this,r)),await((p=(x=this.options).onSettled)==null?void 0:p.call(x,ne,null,t,this.state.context,r)),$e(this,_t,Rt).call(this,{type:"success",data:ne}),ne}catch(ne){try{await((T=(b=_(this,Ie).config).onError)==null?void 0:T.call(b,ne,t,this.state.context,this,r))}catch(B){Promise.reject(B)}try{await((D=(L=this.options).onError)==null?void 0:D.call(L,ne,t,this.state.context,r))}catch(B){Promise.reject(B)}try{await((M=(g=_(this,Ie).config).onSettled)==null?void 0:M.call(g,void 0,ne,this.state.variables,this.state.context,this,r))}catch(B){Promise.reject(B)}try{await((ee=(j=this.options).onSettled)==null?void 0:ee.call(j,void 0,ne,t,this.state.context,r))}catch(B){Promise.reject(B)}throw $e(this,_t,Rt).call(this,{type:"error",error:ne}),ne}finally{_(this,Ie).runNext(this)}}},pr=new WeakMap,yt=new WeakMap,Ie=new WeakMap,cn=new WeakMap,_t=new WeakSet,Rt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Be.batch(()=>{_(this,yt).forEach(r=>{r.onMutationUpdate(t)}),_(this,Ie).notify({mutation:this,type:"updated",action:t})})},Yo);function yd(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Dt,nt,gr,Zo,Ml=(Zo=class extends us{constructor(n={}){super();re(this,Dt);re(this,nt);re(this,gr);this.config=n,G(this,Dt,new Set),G(this,nt,new Map),G(this,gr,0)}build(n,r,s){const i=new md({client:n,mutationCache:this,mutationId:++Pr(this,gr)._,options:n.defaultMutationOptions(r),state:s});return this.add(i),i}add(n){_(this,Dt).add(n);const r=Dr(n);if(typeof r=="string"){const s=_(this,nt).get(r);s?s.push(n):_(this,nt).set(r,[n])}this.notify({type:"added",mutation:n})}remove(n){if(_(this,Dt).delete(n)){const r=Dr(n);if(typeof r=="string"){const s=_(this,nt).get(r);if(s)if(s.length>1){const i=s.indexOf(n);i!==-1&&s.splice(i,1)}else s[0]===n&&_(this,nt).delete(r)}}this.notify({type:"removed",mutation:n})}canRun(n){const r=Dr(n);if(typeof r=="string"){const s=_(this,nt).get(r),i=s==null?void 0:s.find(o=>o.state.status==="pending");return!i||i===n}else return!0}runNext(n){var s;const r=Dr(n);if(typeof r=="string"){const i=(s=_(this,nt).get(r))==null?void 0:s.find(o=>o!==n&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Be.batch(()=>{_(this,Dt).forEach(n=>{this.notify({type:"removed",mutation:n})}),_(this,Dt).clear(),_(this,nt).clear()})}getAll(){return Array.from(_(this,Dt))}find(n){const r={exact:!0,...n};return this.getAll().find(s=>bo(r,s))}findAll(n={}){return this.getAll().filter(r=>bo(n,r))}notify(n){Be.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return Be.batch(()=>Promise.all(n.map(r=>r.continue().catch(tt))))}},Dt=new WeakMap,nt=new WeakMap,gr=new WeakMap,Zo);function Dr(e){var t;return(t=e.options.scope)==null?void 0:t.id}var vt,Xo,Dl=(Xo=class extends us{constructor(n={}){super();re(this,vt);this.config=n,G(this,vt,new Map)}build(n,r,s){const i=r.queryKey,o=r.queryHash??hi(i,r);let a=this.get(o);return a||(a=new hd({client:n,queryKey:i,queryHash:o,options:n.defaultQueryOptions(r),state:s,defaultOptions:n.getQueryDefaults(i)}),this.add(a)),a}add(n){_(this,vt).has(n.queryHash)||(_(this,vt).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=_(this,vt).get(n.queryHash);r&&(n.destroy(),r===n&&_(this,vt).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Be.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return _(this,vt).get(n)}getAll(){return[..._(this,vt).values()]}find(n){const r={exact:!0,...n};return this.getAll().find(s=>vo(r,s))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(s=>vo(n,s)):r}notify(n){Be.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){Be.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Be.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},vt=new WeakMap,Xo),be,qt,Ut,An,Mn,Kt,Dn,$n,ea,_d=(ea=class{constructor(t={}){re(this,be);re(this,qt);re(this,Ut);re(this,An);re(this,Mn);re(this,Kt);re(this,Dn);re(this,$n);G(this,be,t.queryCache||new Dl),G(this,qt,t.mutationCache||new Ml),G(this,Ut,t.defaultOptions||{}),G(this,An,new Map),G(this,Mn,new Map),G(this,Kt,0)}mount(){Pr(this,Kt)._++,_(this,Kt)===1&&(G(this,Dn,wl.subscribe(async t=>{t&&(await this.resumePausedMutations(),_(this,be).onFocus())})),G(this,$n,Qr.subscribe(async t=>{t&&(await this.resumePausedMutations(),_(this,be).onOnline())})))}unmount(){var t,n;Pr(this,Kt)._--,_(this,Kt)===0&&((t=_(this,Dn))==null||t.call(this),G(this,Dn,void 0),(n=_(this,$n))==null||n.call(this),G(this,$n,void 0))}isFetching(t){return _(this,be).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return _(this,qt).findAll({...t,status:"pending"}).length}getQueryData(t){var r;const n=this.defaultQueryOptions({queryKey:t});return(r=_(this,be).get(n.queryHash))==null?void 0:r.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),r=_(this,be).build(this,n),s=r.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&r.isStaleByTime(Bs(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(s))}getQueriesData(t){return _(this,be).findAll(t).map(({queryKey:n,state:r})=>{const s=r.data;return[n,s]})}setQueryData(t,n,r){const s=this.defaultQueryOptions({queryKey:t}),i=_(this,be).get(s.queryHash),o=i==null?void 0:i.state.data,a=Zf(n,o);if(a!==void 0)return _(this,be).build(this,s).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Be.batch(()=>_(this,be).findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,n,r)]))}getQueryState(t){var r;const n=this.defaultQueryOptions({queryKey:t});return(r=_(this,be).get(n.queryHash))==null?void 0:r.state}removeQueries(t){const n=_(this,be);Be.batch(()=>{n.findAll(t).forEach(r=>{n.remove(r)})})}resetQueries(t,n){const r=_(this,be);return Be.batch(()=>(r.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const r={revert:!0,...n},s=Be.batch(()=>_(this,be).findAll(t).map(i=>i.cancel(r)));return Promise.all(s).then(tt).catch(tt)}invalidateQueries(t,n={}){return Be.batch(()=>(_(this,be).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},n)))}refetchQueries(t,n={}){const r={...n,cancelRefetch:n.cancelRefetch??!0},s=Be.batch(()=>_(this,be).findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,r);return r.throwOnError||(o=o.catch(tt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(s).then(tt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const r=_(this,be).build(this,n);return r.isStaleByTime(Bs(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(tt).catch(tt)}fetchInfiniteQuery(t){return t.behavior=To(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(tt).catch(tt)}ensureInfiniteQueryData(t){return t.behavior=To(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Qr.isOnline()?_(this,qt).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,be)}getMutationCache(){return _(this,qt)}getDefaultOptions(){return _(this,Ut)}setDefaultOptions(t){G(this,Ut,t)}setQueryDefaults(t,n){_(this,An).set(cr(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[..._(this,An).values()],r={};return n.forEach(s=>{ur(t,s.queryKey)&&Object.assign(r,s.defaultOptions)}),r}setMutationDefaults(t,n){_(this,Mn).set(cr(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[..._(this,Mn).values()],r={};return n.forEach(s=>{ur(t,s.mutationKey)&&Object.assign(r,s.defaultOptions)}),r}defaultQueryOptions(t){if(t._defaulted)return t;const n={..._(this,Ut).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=hi(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===pi&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{..._(this,Ut).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){_(this,be).clear(),_(this,qt).clear()}},be=new WeakMap,qt=new WeakMap,Ut=new WeakMap,An=new WeakMap,Mn=new WeakMap,Kt=new WeakMap,Dn=new WeakMap,$n=new WeakMap,ea),vd="VUE_QUERY_CLIENT";function bd(e){const t=e?`:${e}`:"";return`${vd}${t}`}function qs(e,t,n="",r=0){if(t){const s=t(e,n,r);if(s===void 0&&Ce(e)||s!==void 0)return s}if(Array.isArray(e))return e.map((s,i)=>qs(s,t,String(i),r+1));if(typeof e=="object"&&xd(e)){const s=Object.entries(e).map(([i,o])=>[i,qs(o,t,i,r+1)]);return Object.fromEntries(s)}return e}function wd(e,t){return qs(e,t)}function te(e,t=!1){return wd(e,(n,r,s)=>{if(s===1&&r==="queryKey")return te(n,!0);if(t&&Sd(n))return te(n(),t);if(Ce(n))return te(X(n),t)})}function xd(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Sd(e){return typeof e=="function"}var Cd=class extends Dl{find(e){return super.find(te(e))}findAll(e={}){return super.findAll(te(e))}},Td=class extends Ml{find(e){return super.find(te(e))}findAll(e={}){return super.findAll(te(e))}},$l=class extends _d{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new Cd,mutationCache:e.mutationCache||new Td};super(t),this.isRestoring=we(!1)}isFetching(e={}){return super.isFetching(te(e))}isMutating(e={}){return super.isMutating(te(e))}getQueryData(e){return super.getQueryData(te(e))}ensureQueryData(e){return super.ensureQueryData(te(e))}getQueriesData(e){return super.getQueriesData(te(e))}setQueryData(e,t,n={}){return super.setQueryData(te(e),t,te(n))}setQueriesData(e,t,n={}){return super.setQueriesData(te(e),t,te(n))}getQueryState(e){return super.getQueryState(te(e))}removeQueries(e={}){return super.removeQueries(te(e))}resetQueries(e={},t={}){return super.resetQueries(te(e),te(t))}cancelQueries(e={},t={}){return super.cancelQueries(te(e),te(t))}invalidateQueries(e={},t={}){const n=te(e),r=te(t);if(super.invalidateQueries({...n,refetchType:"none"},r),n.refetchType==="none")return Promise.resolve();const s={...n,type:n.refetchType??n.type??"active"};return Ln().then(()=>super.refetchQueries(s,r))}refetchQueries(e={},t={}){return super.refetchQueries(te(e),te(t))}fetchQuery(e){return super.fetchQuery(te(e))}prefetchQuery(e){return super.prefetchQuery(te(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(te(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(te(e))}setDefaultOptions(e){super.setDefaultOptions(te(e))}setQueryDefaults(e,t){super.setQueryDefaults(te(e),te(t))}getQueryDefaults(e){return super.getQueryDefaults(te(e))}setMutationDefaults(e,t){super.setMutationDefaults(te(e),te(t))}getMutationDefaults(e){return super.getMutationDefaults(te(e))}},Pd={install:(e,t={})=>{const n=bd(t.queryClientKey);let r;if("queryClient"in t&&t.queryClient)r=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;r=new $l(o)}xl||r.mount();let s=()=>{};if(t.clientPersister){r.isRestoring&&(r.isRestoring.value=!0);const[o,a]=t.clientPersister(r);s=o,a.then(()=>{var l;r.isRestoring&&(r.isRestoring.value=!1),(l=t.clientPersisterOnSuccess)==null||l.call(t,r)})}const i=()=>{r.unmount(),s()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(n,r)}};const Od="modulepreload",Ed=function(e){return"/"+e},Oo={},Eo=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let o=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=o(n.map(u=>{if(u=Ed(u),u in Oo)return;Oo[u]=!0;const c=u.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":Od,c||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),c)return new Promise((v,x)=>{m.addEventListener("load",v),m.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function Ad(e,t){const n=`${e}Context`,r=Symbol(n);return[o=>{const a=St(r,o);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},o=>(La(r,o),o)]}function Md(e,t){return ua()?(Tc(e,t),!0):!1}const Dd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function $d(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,i=Jc(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function l(){i.value=!1,a()}function u(...c){s&&e(),a(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...c)},Ea(t))}return r&&(i.value=!0,Dd&&u()),Md(l),{isPending:Kc(i),start:u,stop:l}}function Fd(e){var t;const n=Ea(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function kd(){const e=xr(),t=we(),n=Se(()=>r());Ua(()=>{n.value!==r()&&Wc(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Fd(t)}const s=Object.assign({},e.exposed),i={};for(const a in e.props)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(s).length>0)for(const a in s)Object.defineProperty(i,a,{enumerable:!0,configurable:!0,get:()=>s[a]});Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function o(a){if(t.value=a,!!a&&(Object.defineProperty(i,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.hasOwn(a,"$el"))){const l=a.$.exposed,u=Object.assign({},i);for(const c in l)Object.defineProperty(u,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=u}}return{forwardRef:o,currentRef:t,currentElement:n}}const[Dg,Ld]=Ad("TooltipProvider");var Id=ct({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:s,disableClosingTrigger:i,ignoreNonKeyboardFocus:o,disabled:a,content:l}=Yc(t);kd();const u=we(!0),c=we(!1),{start:d,stop:m}=$d(()=>{u.value=!0},r,{immediate:!1});return Ld({isOpenDelayed:u,delayDuration:n,onOpen(){m(),u.value=!1},onClose(){d()},isPointerInTransitRef:c,disableHoverableContent:s,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:o,content:l}),(v,x)=>qr(v.$slots,"default")}}),Nd=Id;const Rd={app:{title:"Mokelay Editor",subtitle:"Mokelay page configurator",darkMode:"Dark mode",dark:"Dark",light:"Light",language:"Language",chinese:"中文",english:"English"},editor:{placeholder:"Start typing your content...",defaultParagraph:"Welcome to the Mokelay editor starter template.",fullscreenEdit:"Fullscreen",saveContent:"Save",previewPage:"Preview",properties:"Properties",propertyDialogTitle:"Property Settings",configJson:"Config JSON",close:"Close"},preview:{title:"Config Preview",backToEditor:"Back",emptyState:'No saved config found. Please click "Save" in the editor first.'},globalCalls:{ok:"OK",cancel:"Cancel",alertRoleLabel:"Alert",confirmRoleLabel:"Confirm",messageRoleLabel:"Message"},input:{toolboxTitle:"Input",defaultPlaceholder:"Please enter...",propertyPanelTitle:"Input Properties",properties:{placeholder:"Placeholder",value:"Default value",valuePlaceholder:"Please enter a default value"}},link:{toolboxTitle:"Link",defaultText:"Link",defaultUrl:"https://mokelay.com",propertyPanelTitle:"Link Properties",properties:{text:"Link text",url:"Link URL",open:"Open in new page"}},advanceInput:{toolboxTitle:"Advanced Input"},editorSelector:{toolboxTitle:"Component Selector",placeholder:"Select a component"},form:{toolboxTitle:"Form",placeholder:"Add a form item"},advanceTable:{toolboxTitle:"Advanced Table",propertyPanelTitle:"Advanced Table Properties",defaultColumnName:"Column",empty:"No data",selectAll:"Select all",selectRow:"Select row",properties:{index:"Show index column",selection:"Show selection column"},defaultColumns:{name:"Name",status:"Status",tag:"Tag",owner:"Owner",link:"Link"},defaultRows:{first:{name:"Mokelay Page",status:"Designing",tag:"Design",owner:"Product Team",linkText:"Website",linkUrl:"https://mokelay.com"},second:{name:"Advanced Table",status:"Previewable",tag:"Preview",owner:"Editor Team",linkText:"Docs",linkUrl:"https://editor.mokelay.com"}}},datasource:{toolboxTitle:"Datasource Editor",title:"Datasource",empty:"No items",emptySchema:'No field config yet. Click "Generate field config" first.',noListRecord:"This schema does not contain an array field for list data.",noFormFields:"This schema does not contain simple fields for a form.",fields:{type:"Datasource type",rawData:"JSON data",domain:"API domain",path:"API path",method:"Method",key:"Key",mock:"Mock data",jsonSchema:"JSON Schema",generatedFields:"Fields",searchFields:"Search fields or paths",recordPath:"List data path",rootRecordPath:"Root data",selectedFields:"Selected fields",required:"Required"},sections:{headers:"Header",queries:"Query",body:"Body",generateFields:"Generate field config",fieldSelection:"Field selection"},actions:{add:"Add",remove:"Remove",parseJsonSchema:"Parse JSON Schema",parsingJsonSchema:"Parsing...",generateFields:"Generate field config",generatingFields:"Generating..."},tabs:{list:"List fields",form:"Form fields",advanced:"Advanced Schema"},help:{generateFields:"Detect fields from JSON data or an API response, then prepare them for list and form components.",fieldSelection:"Choose the fields components should use, and rename them with business-friendly labels."},schemaTypes:{object:"Object",array:"List",string:"Text",number:"Number",boolean:"Switch",null:"Empty"},componentHints:{text:"Text",number:"Number",switch:"Switch",object:"Object",array:"List"},validation:{invalidJson:"Enter valid JSON.",invalidJsonSchema:"Enter a JSON Schema that matches the supported format.",invalidNumber:"Enter a valid number.",invalidObject:"Enter a valid JSON object.",invalidArray:"Enter a valid JSON array.",fixJsonBeforeSchema:"Fix JSON data before parsing JSON Schema.",fixBodyBeforeSchema:"Fix Body mock data before parsing JSON Schema.",nonJsonResponse:"The API response is not JSON.",invalidJsonResponse:"The API response is not valid JSON.",apiRequestFailed:"API request failed:",emptyArraySchema:"Cannot infer JSON Schema from an empty array.",mixedArraySchema:"The array contains incompatible types, so JSON Schema cannot be inferred."}},formItem:{toolboxTitle:"Form Item",defaultLabelName:"Field",propertyPanelTitle:"Form Item Properties",emptyEditor:"No editor selected",properties:{labelName:"Field label",variableName:"Variable name",editor:"Editor",layout:"Layout"},placeholders:{labelName:"Enter field label",variableName:"Enter variable name"},layouts:{vertical:"Vertical",horizontal:"Horizontal"}},tag:{toolboxTitle:"Tag",defaultTagName:"Tag",propertyPanelTitle:"Tag Properties",properties:{tagName:"Tag name",type:"Type",size:"Size",color:"Custom color",colorPlaceholder:"e.g. #409EFF",closable:"Closable"},types:{default:"Default",primary:"Primary",success:"Success",info:"Info",warning:"Warning",danger:"Danger"},sizes:{default:"Default",large:"Large",medium:"Medium",small:"Small"}},page:{toolboxTitle:"Page"}},jd={},Hd={app:{title:"Mokelay Editor",subtitle:"Mokelay页面配置器",darkMode:"深色模式",dark:"深色",light:"浅色",language:"语言",chinese:"中文",english:"English"},editor:{placeholder:"开始输入你的内容...",defaultParagraph:"欢迎使用 Mokelay 编辑器初始化模板。",fullscreenEdit:"全屏编辑",saveContent:"保存",previewPage:"预览",properties:"属性",propertyDialogTitle:"属性设置",configJson:"配置 JSON",close:"关闭"},preview:{title:"配置预览",backToEditor:"返回",emptyState:"未找到已保存配置,请先在编辑器点击“保存”。"},globalCalls:{ok:"确定",cancel:"取消",alertRoleLabel:"提示",confirmRoleLabel:"确认",messageRoleLabel:"消息"},input:{toolboxTitle:"输入框",defaultPlaceholder:"请输入.....",propertyPanelTitle:"输入框属性",properties:{placeholder:"占位提示",value:"默认值",valuePlaceholder:"请输入默认值"}},link:{toolboxTitle:"链接",defaultText:"链接",defaultUrl:"https://mokelay.com",propertyPanelTitle:"链接属性",properties:{text:"链接文本",url:"链接地址",open:"新页面打开"}},advanceInput:{toolboxTitle:"高级输入框"},editorSelector:{toolboxTitle:"组件选择器",placeholder:"选择组件"},form:{toolboxTitle:"表单",placeholder:"添加表单项"},advanceTable:{toolboxTitle:"高级表格",propertyPanelTitle:"高级表格属性",defaultColumnName:"列",empty:"暂无数据",selectAll:"全选",selectRow:"选择行",properties:{index:"显示序号列",selection:"显示多选列"},defaultColumns:{name:"名称",status:"状态",tag:"标签",owner:"负责人",link:"链接"},defaultRows:{first:{name:"Mokelay 页面",status:"设计中",tag:"设计",owner:"产品团队",linkText:"官网",linkUrl:"https://mokelay.com"},second:{name:"高级表格",status:"可预览",tag:"预览",owner:"编辑器团队",linkText:"文档",linkUrl:"https://editor.mokelay.com"}}},datasource:{toolboxTitle:"数据源编辑器",title:"数据源",empty:"暂无配置项",emptySchema:"还没有字段配置,请先点击“生成字段配置”。",noListRecord:"当前 Schema 中没有可作为列表数据的数组字段。",noFormFields:"当前 Schema 中没有可用于表单的普通字段。",fields:{type:"数据源类型",rawData:"JSON 数据",domain:"API 域名",path:"API Path",method:"调用方法",key:"Key",mock:"Mock 数据",jsonSchema:"JSON Schema",generatedFields:"字段数",searchFields:"搜索字段名称或路径",recordPath:"列表数据位置",rootRecordPath:"根数据",selectedFields:"已选择字段",required:"必填"},sections:{headers:"Header",queries:"Query",body:"Body",generateFields:"生成字段配置",fieldSelection:"字段选择"},actions:{add:"添加",remove:"删除",parseJsonSchema:"解析JSON Schema",parsingJsonSchema:"解析中...",generateFields:"生成字段配置",generatingFields:"生成中..."},tabs:{list:"列表字段",form:"表单字段",advanced:"高级 Schema"},help:{generateFields:"从 JSON 数据或 API 响应中识别字段,生成给列表和表单使用的配置。",fieldSelection:"勾选需要给组件使用的字段,可以直接改成业务同学看得懂的名称。"},schemaTypes:{object:"对象",array:"列表",string:"文本",number:"数字",boolean:"开关",null:"空值"},componentHints:{text:"文本",number:"数字",switch:"开关",object:"对象",array:"列表"},validation:{invalidJson:"请输入标准 JSON 结构。",invalidJsonSchema:"请输入符合数据格式的 JSON Schema。",invalidNumber:"请输入有效数字。",invalidObject:"请输入标准 JSON 对象。",invalidArray:"请输入标准 JSON 数组。",fixJsonBeforeSchema:"请先修正 JSON 数据。",fixBodyBeforeSchema:"请先修正 Body 中的 Mock 数据。",nonJsonResponse:"API 响应不是 JSON 数据。",invalidJsonResponse:"API 响应不是有效 JSON 数据。",apiRequestFailed:"API 请求失败:",emptyArraySchema:"空数组无法推断 JSON Schema。",mixedArraySchema:"数组中包含无法合并的类型,无法推断 JSON Schema。"}},formItem:{toolboxTitle:"表单项",defaultLabelName:"字段",propertyPanelTitle:"表单项属性",emptyEditor:"未选择编辑器",properties:{labelName:"字段文本",variableName:"变量名",editor:"编辑器",layout:"布局方式"},placeholders:{labelName:"请输入字段文本",variableName:"请输入变量名"},layouts:{vertical:"垂直",horizontal:"水平"}},tag:{toolboxTitle:"标签",defaultTagName:"标签",propertyPanelTitle:"标签属性",properties:{tagName:"标签内容",type:"标签类型",size:"标签尺寸",color:"自定义颜色",colorPlaceholder:"例如:#409EFF",closable:"可关闭"},types:{default:"默认",primary:"主要",success:"成功",info:"信息",warning:"警告",danger:"危险"},sizes:{default:"默认",large:"大",medium:"中",small:"小"}},page:{toolboxTitle:"页面"}},Bd={ui:{blockTunes:{toggler:{"Click to tune":"点击设置","or drag to move":"或拖拽移动"}},inlineToolbar:{converter:{"Convert to":"转换为"}},toolbar:{toolbox:{Add:"添加"}},popover:{Filter:"筛选","Nothing found":"未找到结果"}},blockTunes:{delete:{Delete:"删除"},moveUp:{"Move up":"上移"},moveDown:{"Move down":"下移"}},toolNames:{Text:"文本",Heading:"标题",List:"列表",Warning:"提示",Checklist:"清单",Quote:"引用",Delimiter:"分割线",Table:"表格",Link:"链接",Columns:"分栏"}},zd={zh:Hd,en:Rd},Vd={zh:Bd,en:jd},Fl="mokelay-editor-locale";function qd(e){const n=(document.cookie?document.cookie.split("; "):[]).find(r=>r.startsWith(`${e}=`));return n?decodeURIComponent(n.slice(e.length+1)):null}function Ud(e,t){document.cookie=`${e}=${encodeURIComponent(t)}; path=/; max-age=31536000; samesite=lax`}function Kd(){return navigator.language.toLowerCase().startsWith("zh")?"zh":"en"}function Jd(){const e=qd(Fl);return e==="zh"||e==="en"?e:Kd()}const fr=we(Jd());function kl(e){const t=e.split(".");let n=zd[fr.value];for(const r of t){if(typeof n=="object"&&n!==null&&r in n){n=n[r];continue}n=void 0;break}return typeof n=="string"?n:e}function Ll(e){fr.value=e,Ud(Fl,e)}function gi(){return{locale:jr(fr),t:kl,setLocale:Ll,localeValue:Se(()=>fr.value)}}function $g(e){return Vd[e]}const Z={t:kl,get locale(){return fr.value},setLocale:Ll},Qd={"data-testid":"app-root",class:"flex min-h-screen flex-col bg-slate-100 p-4 text-slate-900 transition-colors dark:bg-slate-950 dark:text-slate-100"},Wd={"data-testid":"app-header",class:"mb-4 flex flex-wrap items-center justify-between gap-3 rounded-xl border border-slate-200 bg-white px-4 py-3 shadow-sm dark:border-slate-700 dark:bg-slate-900"},Gd={"data-testid":"app-title",class:"text-xl font-semibold"},Yd={class:"flex flex-wrap items-center gap-3"},Zd={class:"flex items-center gap-2 text-sm"},Xd=["value"],eh={value:"dark"},th={value:"light"},nh={class:"flex items-center gap-2 text-sm"},rh=["value"],sh={value:"zh"},ih={value:"en"},oh=["disabled"],ah=["disabled"],Ao="mokelay-editor-theme-mode",lh=ct({__name:"App",setup(e){const t=Bi(()=>Eo(()=>import("./EditorPanel-B97wXLqG.js"),__vite__mapDeps([0,1,2,3,4]))),n=Bi(()=>Eo(()=>import("./PreviewPanel-65RZ8CEI.js"),__vite__mapDeps([5,1,2,3])));function r(g){const j=(document.cookie?document.cookie.split("; "):[]).find(ee=>ee.startsWith(`${g}=`));return j?decodeURIComponent(j.slice(g.length+1)):null}function s(g,M){document.cookie=`${g}=${encodeURIComponent(M)}; path=/; max-age=31536000; samesite=lax`}function i(){const g=r(Ao);return g==="dark"}const o=we(i()),a=we(window.location.hash||"#/"),{t:l,localeValue:u,setLocale:c}=gi(),d=we(null),m=Se(()=>a.value==="#/preview"),v=Se(()=>d.value!==null);function x(g){document.documentElement.classList.toggle("dark",g)}function p(){a.value=window.location.hash||"#/"}br(()=>{x(o.value),window.addEventListener("hashchange",p)}),ai(()=>{window.removeEventListener("hashchange",p)}),Lr(o,g=>{x(g),s(Ao,g?"dark":"light")});function b(g){o.value=g==="dark"}function T(){var g;(g=d.value)==null||g.save()}function L(){var g;(g=d.value)==null||g.openPreview()}function D(){window.location.hash="/"}return(g,M)=>(ue(),Jt(X(Nd),null,{default:wn(()=>[pe("main",Qd,[pe("header",Wd,[pe("h1",Gd,Fe(X(l)("app.title")),1),pe("div",Yd,[pe("label",Zd,[pe("select",{"data-testid":"theme-select",value:o.value?"dark":"light",class:"rounded-lg border border-slate-300 bg-white px-3 py-1.5 text-sm dark:border-slate-600 dark:bg-slate-800",onChange:M[0]||(M[0]=j=>b(j.target.value))},[pe("option",eh,Fe(X(l)("app.dark")),1),pe("option",th,Fe(X(l)("app.light")),1)],40,Xd)]),pe("label",nh,[pe("select",{"data-testid":"locale-select",value:X(u),class:"rounded-lg border border-slate-300 bg-white px-3 py-1.5 text-sm dark:border-slate-600 dark:bg-slate-800",onChange:M[1]||(M[1]=j=>X(c)(j.target.value))},[pe("option",sh,Fe(X(l)("app.chinese")),1),pe("option",ih,Fe(X(l)("app.english")),1)],40,rh)]),m.value?(ue(),ve("button",{key:1,"data-testid":"back-to-editor-button",class:"rounded-lg bg-slate-200 px-3 py-1.5 text-sm font-medium text-slate-800 hover:bg-slate-300 dark:bg-slate-700 dark:text-slate-100 dark:hover:bg-slate-600",onClick:D},Fe(X(l)("preview.backToEditor")),1)):(ue(),ve(ke,{key:0},[pe("button",{"data-testid":"save-button",class:"rounded-lg bg-indigo-500 px-3 py-1.5 text-sm font-medium text-white hover:bg-indigo-400 disabled:cursor-not-allowed disabled:opacity-50",disabled:!v.value,onClick:T},Fe(X(l)("editor.saveContent")),9,oh),pe("button",{"data-testid":"preview-button",class:"rounded-lg bg-emerald-500 px-3 py-1.5 text-sm font-medium text-white hover:bg-emerald-400 disabled:cursor-not-allowed disabled:opacity-50",disabled:!v.value,onClick:L},Fe(X(l)("editor.previewPage")),9,ah)],64))])]),m.value?(ue(),Jt(X(n),{key:0})):(ue(),Jt(X(t),{key:1,ref_key:"editorPanelRef",ref:d},null,512))])]),_:1}))}});function Fg(e){return e}const ch={class:"ce-input-tool","data-testid":"editor-input-tool"},uh=["placeholder","value"],fh={toolbox:{get title(){return Z.t("input.toolboxTitle")},icon:'<svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M8 12h8" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>'},propertyPanel:{get title(){return Z.t("input.propertyPanelTitle")},get fields(){return[{key:"placeholder",label:Z.t("input.properties.placeholder"),placeholder:Z.t("input.defaultPlaceholder")},{key:"value",label:Z.t("input.properties.value"),placeholder:Z.t("input.properties.valuePlaceholder")}]}},createInitialProps:()=>({placeholder:Z.t("input.defaultPlaceholder"),value:""}),normalizeProps:e=>({edit:e.edit??!1,placeholder:e.placeholder??"",value:e.value??""}),serialize:e=>({placeholder:e.placeholder??"",value:e.value??""})},dh=ct({__name:"MInput",props:{edit:{type:Boolean},placeholder:{},value:{},onChange:{type:Function},onToolChange:{type:Function}},setup(e){const t=e;function n(r){var i,o;const s={edit:t.edit,placeholder:t.placeholder??"",value:t.value??"",...r};(i=t.onToolChange)==null||i.call(t,s),(o=t.onChange)==null||o.call(t,s)}return(r,s)=>(ue(),ve("div",ch,[pe("input",{"data-testid":"editor-input-control",class:"ce-input-tool__control",type:"text",placeholder:e.placeholder,value:e.value,onInput:s[0]||(s[0]=i=>n({value:i.target.value}))},null,40,uh)]))}}),Cr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hh=Cr(dh,[["__scopeId","data-v-38751236"]]),ph=["href","target","rel"],gh={toolbox:{get title(){return Z.t("link.toolboxTitle")},icon:'<svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10.6 13.4a4 4 0 0 0 5.7 0l2.1-2.1a4 4 0 0 0-5.7-5.7l-1.2 1.2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M13.4 10.6a4 4 0 0 0-5.7 0l-2.1 2.1a4 4 0 0 0 5.7 5.7l1.2-1.2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>'},propertyPanel:{get title(){return Z.t("link.propertyPanelTitle")},get fields(){return[{key:"text",label:Z.t("link.properties.text"),placeholder:Z.t("link.defaultText")},{key:"url",label:Z.t("link.properties.url"),placeholder:Z.t("link.defaultUrl")},{key:"open",label:Z.t("link.properties.open"),type:"checkbox"}]}},createInitialProps:()=>({text:Z.t("link.defaultText"),url:Z.t("link.defaultUrl"),open:!1}),normalizeProps:e=>{var t,n;return{edit:e.edit??!1,text:((t=e.text)==null?void 0:t.trim())||Z.t("link.defaultText"),url:((n=e.url)==null?void 0:n.trim())||Z.t("link.defaultUrl"),open:e.open===!0}},serialize:e=>{var t,n;return{text:((t=e.text)==null?void 0:t.trim())||Z.t("link.defaultText"),url:((n=e.url)==null?void 0:n.trim())||Z.t("link.defaultUrl"),open:e.open===!0}}},mh=ct({__name:"MLink",props:{edit:{type:Boolean},text:{},url:{},open:{type:Boolean},onChange:{type:Function},onToolChange:{type:Function}},setup(e){const t=e,{t:n}=gi(),r=we(null),s=Se(()=>{var p;return((p=t.text)==null?void 0:p.trim())||n("link.defaultText")}),i=Se(()=>m(t.url??"")),o=Se(()=>t.open?"_blank":void 0),a=Se(()=>t.open?"noopener noreferrer":void 0);let l=null;function u(){l!==null&&(window.clearTimeout(l),l=null)}function c(){var ee;const p=r.value;if(!p)return;const b=p.closest(".ce-block"),T=(ee=p.closest(".codex-editor"))==null?void 0:ee.querySelector(".ce-toolbar"),L=T==null?void 0:T.querySelector(".ce-toolbar__plus");if(!b||!T||!L)return;const D=b.getBoundingClientRect(),g=p.getBoundingClientRect(),M=L.getBoundingClientRect().height||26,j=b.offsetTop+(g.top-D.top)+(g.height-M)/2;T.style.top=`${Math.round(j)}px`}function d(){u(),l=window.setTimeout(()=>{c()},0)}function m(p){const b=p.trim();if(!b)return"#";if(b.startsWith("//"))return`https:${b}`;const T=b.match(/^([a-z][a-z\d+.-]*):/i);if(!T)return b;const L=T[1].toLowerCase();return["http","https","mailto","tel"].includes(L)?b:"#"}function v(p){var T,L;const b={edit:t.edit,text:t.text??"",url:t.url??"",open:t.open??!1,...p};(T=t.onToolChange)==null||T.call(t,b),(L=t.onChange)==null||L.call(t,b)}function x(p){(t.edit||i.value==="#")&&p.preventDefault(),v({text:s.value,url:t.url??"",open:t.open??!1})}return br(()=>{Ln(()=>{var p,b;(p=r.value)==null||p.addEventListener("mouseenter",d),(b=r.value)==null||b.addEventListener("mousemove",d)})}),wr(()=>{var p,b;u(),(p=r.value)==null||p.removeEventListener("mouseenter",d),(b=r.value)==null||b.removeEventListener("mousemove",d)}),(p,b)=>(ue(),ve("span",{ref_key:"rootRef",ref:r,class:"ce-link-tool","data-testid":"editor-link-tool"},[pe("a",{class:"ce-link-tool__anchor","data-testid":"editor-link-value",href:i.value,target:o.value,rel:a.value,onClick:x},Fe(s.value),9,ph)],512))}}),yh=Cr(mh,[["__scopeId","data-v-e56db1bc"]]),Il=["","default","small","large"];typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;var _h=typeof global=="object"&&global&&global.Object===Object&&global,vh=typeof self=="object"&&self&&self.Object===Object&&self,mi=_h||vh||Function("return this")(),Nn=mi.Symbol,Nl=Object.prototype,bh=Nl.hasOwnProperty,wh=Nl.toString,Un=Nn?Nn.toStringTag:void 0;function xh(e){var t=bh.call(e,Un),n=e[Un];try{e[Un]=void 0;var r=!0}catch{}var s=wh.call(e);return r&&(t?e[Un]=n:delete e[Un]),s}var Sh=Object.prototype,Ch=Sh.toString;function Th(e){return Ch.call(e)}var Ph="[object Null]",Oh="[object Undefined]",Mo=Nn?Nn.toStringTag:void 0;function yi(e){return e==null?e===void 0?Oh:Ph:Mo&&Mo in Object(e)?xh(e):Th(e)}function Rl(e){return e!=null&&typeof e=="object"}var Eh="[object Symbol]";function _i(e){return typeof e=="symbol"||Rl(e)&&yi(e)==Eh}function Ah(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}var vi=Array.isArray,Do=Nn?Nn.prototype:void 0,$o=Do?Do.toString:void 0;function jl(e){if(typeof e=="string")return e;if(vi(e))return Ah(e,jl)+"";if(_i(e))return $o?$o.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Hl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Mh="[object AsyncFunction]",Dh="[object Function]",$h="[object GeneratorFunction]",Fh="[object Proxy]";function kh(e){if(!Hl(e))return!1;var t=yi(e);return t==Dh||t==$h||t==Mh||t==Fh}var Es=mi["__core-js_shared__"],Fo=(function(){var e=/[^.]+$/.exec(Es&&Es.keys&&Es.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Lh(e){return!!Fo&&Fo in e}var Ih=Function.prototype,Nh=Ih.toString;function Rh(e){if(e!=null){try{return Nh.call(e)}catch{}try{return e+""}catch{}}return""}var jh=/[\\^$.*+?()[\]{}|]/g,Hh=/^\[object .+?Constructor\]$/,Bh=Function.prototype,zh=Object.prototype,Vh=Bh.toString,qh=zh.hasOwnProperty,Uh=RegExp("^"+Vh.call(qh).replace(jh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kh(e){if(!Hl(e)||Lh(e))return!1;var t=kh(e)?Uh:Hh;return t.test(Rh(e))}function Jh(e,t){return e==null?void 0:e[t]}function bi(e,t){var n=Jh(e,t);return Kh(n)?n:void 0}var ko=(function(){try{var e=bi(Object,"defineProperty");return e({},"",{}),e}catch{}})();function Qh(e,t,n){t=="__proto__"&&ko?ko(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Wh(e,t){return e===t||e!==e&&t!==t}var Gh=Object.prototype,kg=Gh.hasOwnProperty;function Yh(e,t){return function(n){return e(t(n))}}var Zh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xh=/^\w*$/;function ep(e,t){if(vi(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||_i(e)?!0:Xh.test(e)||!Zh.test(e)||t!=null&&e in Object(t)}var dr=bi(Object,"create");function tp(){this.__data__=dr?dr(null):{},this.size=0}function np(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var rp="__lodash_hash_undefined__",sp=Object.prototype,ip=sp.hasOwnProperty;function op(e){var t=this.__data__;if(dr){var n=t[e];return n===rp?void 0:n}return ip.call(t,e)?t[e]:void 0}var ap=Object.prototype,lp=ap.hasOwnProperty;function cp(e){var t=this.__data__;return dr?t[e]!==void 0:lp.call(t,e)}var up="__lodash_hash_undefined__";function fp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=dr&&t===void 0?up:t,this}function dn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}dn.prototype.clear=tp;dn.prototype.delete=np;dn.prototype.get=op;dn.prototype.has=cp;dn.prototype.set=fp;function dp(){this.__data__=[],this.size=0}function fs(e,t){for(var n=e.length;n--;)if(Wh(e[n][0],t))return n;return-1}var hp=Array.prototype,pp=hp.splice;function gp(e){var t=this.__data__,n=fs(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():pp.call(t,n,1),--this.size,!0}function mp(e){var t=this.__data__,n=fs(t,e);return n<0?void 0:t[n][1]}function yp(e){return fs(this.__data__,e)>-1}function _p(e,t){var n=this.__data__,r=fs(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Hn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hn.prototype.clear=dp;Hn.prototype.delete=gp;Hn.prototype.get=mp;Hn.prototype.has=yp;Hn.prototype.set=_p;var vp=bi(mi,"Map");function bp(){this.size=0,this.__data__={hash:new dn,map:new(vp||Hn),string:new dn}}function wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ds(e,t){var n=e.__data__;return wp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function xp(e){var t=ds(this,e).delete(e);return this.size-=t?1:0,t}function Sp(e){return ds(this,e).get(e)}function Cp(e){return ds(this,e).has(e)}function Tp(e,t){var n=ds(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function pn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}pn.prototype.clear=bp;pn.prototype.delete=xp;pn.prototype.get=Sp;pn.prototype.has=Cp;pn.prototype.set=Tp;var Pp="Expected a function";function wi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Pp);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(wi.Cache||pn),n}wi.Cache=pn;var Op=500;function Ep(e){var t=wi(e,function(r){return n.size===Op&&n.clear(),r}),n=t.cache;return t}var Ap=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mp=/\\(\\)?/g,Dp=Ep(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ap,function(n,r,s,i){t.push(s?i.replace(Mp,"$1"):r||n)}),t});function $p(e){return e==null?"":jl(e)}function Fp(e,t){return vi(e)?e:ep(e,t)?[e]:Dp($p(e))}function kp(e){if(typeof e=="string"||_i(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Lp(e,t){t=Fp(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[kp(t[n++])];return n&&n==r?e:void 0}function Ip(e,t,n){var r=e==null?void 0:Lp(e,t);return r===void 0?n:r}var Np=Yh(Object.getPrototypeOf,Object),Rp="[object Object]",jp=Function.prototype,Hp=Object.prototype,Bl=jp.toString,Bp=Hp.hasOwnProperty,zp=Bl.call(Object);function Vp(e){if(!Rl(e)||yi(e)!=Rp)return!1;var t=Np(e);if(t===null)return!0;var n=Bp.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Bl.call(n)==zp}function zl(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var s=e[t];Qh(r,s[0],s[1])}return r}const qp=e=>typeof e=="number";const Up=e=>fe(e)?!Number.isNaN(Number(e)):!1;const Vl="__epPropKey",Kp=e=>e,Jp=e=>ce(e)&&!!e[Vl],ql=(e,t)=>{if(!ce(e)||Jp(e))return e;const{values:n,required:r,default:s,type:i,validator:o}=e,a={type:i,required:!!r,validator:n||o?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),ie(e,"default")&&c.push(s),u||(u=c.includes(l))),o&&(u||(u=o(l))),!u&&c.length>0){const d=[...new Set(c)].map(m=>JSON.stringify(m)).join(", ");hf(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${d}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[Vl]:!0};return ie(e,"default")&&(a.default=s),a},Ul=e=>zl(Object.entries(e).map(([t,n])=>[t,ql(n,t)]));var Qp=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function Wp(e,t){{const n=fe(e)?new Qp(`[${e}] ${t}`):e;console.warn(n)}}const Gp="utils/dom/style";function Yp(e,t="px"){if(!e&&e!==0)return"";if(qp(e)||Up(e))return`${e}${t}`;if(fe(e))return e;Wp(Gp,"binding value must be a string or number")}var Zp={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const Xp=e=>(t,n)=>e0(t,n,X(e)),e0=(e,t,n)=>Ip(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>`${(t==null?void 0:t[s])??`{${s}}`}`),t0=e=>({lang:Se(()=>X(e).name),locale:Ce(e)?e:we(e),t:Xp(e)}),n0=Symbol("localeContextKey"),r0=e=>{const t=e||St(n0,we());return t0(Se(()=>t.value||Zp))},As="el",s0="is-",Xt=(e,t,n,r,s)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),s&&(i+=`--${s}`),i},i0=Symbol("namespaceContextKey"),o0=e=>{const t=e||(xr()?St(i0,we(As)):we(As));return Se(()=>X(t)||As)},Kl=(e,t)=>{const n=o0(t);return{namespace:n,b:(p="")=>Xt(n.value,e,p,"",""),e:p=>p?Xt(n.value,e,"",p,""):"",m:p=>p?Xt(n.value,e,"","",p):"",be:(p,b)=>p&&b?Xt(n.value,e,p,b,""):"",em:(p,b)=>p&&b?Xt(n.value,e,"",p,b):"",bm:(p,b)=>p&&b?Xt(n.value,e,p,"",b):"",bem:(p,b,T)=>p&&b&&T?Xt(n.value,e,p,b,T):"",is:(p,...b)=>{const T=b.length>=1?b[0]:!0;return p&&T?`${s0}${p}`:""},cssVar:p=>{const b={};for(const T in p)p[T]&&(b[`--${n.value}-${T}`]=p[T]);return b},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const b={};for(const T in p)p[T]&&(b[`--${n.value}-${e}-${T}`]=p[T]);return b},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}},a0=e=>{const t=xr();return Se(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},Lg=ql({type:String,values:Il,required:!1}),l0=Symbol("size"),c0=()=>{const e=St(l0,{});return Se(()=>X(e.size)||"")},u0=e=>{const t=e.props,n=q(t)?zl(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[s,i]of Object.entries(r)){const o=n[s];if(ie(n,s)){if(Vp(o)){n[s]={...o,default:i};continue}n[s]={type:o,default:i}}}e.props=n}}},Jl=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return u0(e),e};/*! Element Plus Icons Vue v2.3.2 */var f0=ct({name:"Close",__name:"close",setup(e){return(t,n)=>(ue(),ve("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[pe("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Lo=f0;const d0=Ul({size:{type:Kp([Number,String])},color:{type:String}});var h0=ct({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:d0,setup(e){const t=e,n=Kl("icon"),r=Se(()=>{const{size:s,color:i}=t,o=Yp(s);return!o&&!i?{}:{fontSize:o,"--color":i}});return(s,i)=>(ue(),ve("i",fi({class:X(n).b(),style:r.value},s.$attrs),[qr(s.$slots,"default")],16))}}),p0=h0;const Io=Jl(p0),g0=Symbol("formContextKey"),m0=Symbol("formItemContextKey"),y0=(e,t={})=>{const n=we(void 0),r=t.prop?n:a0("size"),s=t.global?n:c0(),i=t.form?{size:void 0}:St(g0,void 0),o=t.formItem?{size:void 0}:St(m0,void 0);return Se(()=>r.value||X(e)||(o==null?void 0:o.size)||(i==null?void 0:i.size)||s.value||"")};var Nr={exports:{}},_0=Nr.exports,No;function v0(){return No||(No=1,(function(e,t){(function(n,r){e.exports=r()})(_0,(function(){var n=1e3,r=6e4,s=36e5,i="millisecond",o="second",a="minute",l="hour",u="day",c="week",d="month",m="quarter",v="year",x="date",p="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var k=["th","st","nd","rd"],E=H%100;return"["+H+(k[(E-20)%10]||k[E]||k[0])+"]"}},D=function(H,k,E){var $=String(H);return!$||$.length>=k?H:""+Array(k+1-$.length).join(E)+H},g={s:D,z:function(H){var k=-H.utcOffset(),E=Math.abs(k),$=Math.floor(E/60),O=E%60;return(k<=0?"+":"-")+D($,2,"0")+":"+D(O,2,"0")},m:function H(k,E){if(k.date()<E.date())return-H(E,k);var $=12*(E.year()-k.year())+(E.month()-k.month()),O=k.clone().add($,d),J=E-O<0,Q=k.clone().add($+(J?-1:1),d);return+(-($+(E-O)/(J?O-Q:Q-O))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:d,y:v,w:c,d:u,D:x,h:l,m:a,s:o,ms:i,Q:m}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},M="en",j={};j[M]=L;var ee="$isDayjsObject",ne=function(H){return H instanceof R||!(!H||!H[ee])},B=function H(k,E,$){var O;if(!k)return M;if(typeof k=="string"){var J=k.toLowerCase();j[J]&&(O=J),E&&(j[J]=E,O=J);var Q=k.split("-");if(!O&&Q.length>1)return H(Q[0])}else{var se=k.name;j[se]=k,O=se}return!$&&O&&(M=O),O||!$&&M},U=function(H,k){if(ne(H))return H.clone();var E=typeof k=="object"?k:{};return E.date=H,E.args=arguments,new R(E)},z=g;z.l=B,z.i=ne,z.w=function(H,k){return U(H,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var R=(function(){function H(E){this.$L=B(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[ee]=!0}var k=H.prototype;return k.parse=function(E){this.$d=(function($){var O=$.date,J=$.utc;if(O===null)return new Date(NaN);if(z.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var Q=O.match(b);if(Q){var se=Q[2]-1||0,oe=(Q[7]||"0").substring(0,3);return J?new Date(Date.UTC(Q[1],se,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,oe)):new Date(Q[1],se,Q[3]||1,Q[4]||0,Q[5]||0,Q[6]||0,oe)}}return new Date(O)})(E),this.init()},k.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},k.$utils=function(){return z},k.isValid=function(){return this.$d.toString()!==p},k.isSame=function(E,$){var O=U(E);return this.startOf($)<=O&&O<=this.endOf($)},k.isAfter=function(E,$){return U(E)<this.startOf($)},k.isBefore=function(E,$){return this.endOf($)<U(E)},k.$g=function(E,$,O){return z.u(E)?this[$]:this.set(O,E)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(E,$){var O=this,J=!!z.u($)||$,Q=z.p(E),se=function(ut,Te){var Tt=z.w(O.$u?Date.UTC(O.$y,Te,ut):new Date(O.$y,Te,ut),O);return J?Tt:Tt.endOf(u)},oe=function(ut,Te){return z.w(O.toDate()[ut].apply(O.toDate("s"),(J?[0,0,0,0]:[23,59,59,999]).slice(Te)),O)},xe=this.$W,Ee=this.$M,qe=this.$D,Ye="set"+(this.$u?"UTC":"");switch(Q){case v:return J?se(1,0):se(31,11);case d:return J?se(1,Ee):se(0,Ee+1);case c:var Ze=this.$locale().weekStart||0,Ct=(xe<Ze?xe+7:xe)-Ze;return se(J?qe-Ct:qe+(6-Ct),Ee);case u:case x:return oe(Ye+"Hours",0);case l:return oe(Ye+"Minutes",1);case a:return oe(Ye+"Seconds",2);case o:return oe(Ye+"Milliseconds",3);default:return this.clone()}},k.endOf=function(E){return this.startOf(E,!1)},k.$set=function(E,$){var O,J=z.p(E),Q="set"+(this.$u?"UTC":""),se=(O={},O[u]=Q+"Date",O[x]=Q+"Date",O[d]=Q+"Month",O[v]=Q+"FullYear",O[l]=Q+"Hours",O[a]=Q+"Minutes",O[o]=Q+"Seconds",O[i]=Q+"Milliseconds",O)[J],oe=J===u?this.$D+($-this.$W):$;if(J===d||J===v){var xe=this.clone().set(x,1);xe.$d[se](oe),xe.init(),this.$d=xe.set(x,Math.min(this.$D,xe.daysInMonth())).$d}else se&&this.$d[se](oe);return this.init(),this},k.set=function(E,$){return this.clone().$set(E,$)},k.get=function(E){return this[z.p(E)]()},k.add=function(E,$){var O,J=this;E=Number(E);var Q=z.p($),se=function(Ee){var qe=U(J);return z.w(qe.date(qe.date()+Math.round(Ee*E)),J)};if(Q===d)return this.set(d,this.$M+E);if(Q===v)return this.set(v,this.$y+E);if(Q===u)return se(1);if(Q===c)return se(7);var oe=(O={},O[a]=r,O[l]=s,O[o]=n,O)[Q]||1,xe=this.$d.getTime()+E*oe;return z.w(xe,this)},k.subtract=function(E,$){return this.add(-1*E,$)},k.format=function(E){var $=this,O=this.$locale();if(!this.isValid())return O.invalidDate||p;var J=E||"YYYY-MM-DDTHH:mm:ssZ",Q=z.z(this),se=this.$H,oe=this.$m,xe=this.$M,Ee=O.weekdays,qe=O.months,Ye=O.meridiem,Ze=function(Te,Tt,f,h){return Te&&(Te[Tt]||Te($,J))||f[Tt].slice(0,h)},Ct=function(Te){return z.s(se%12||12,Te,"0")},ut=Ye||function(Te,Tt,f){var h=Te<12?"AM":"PM";return f?h.toLowerCase():h};return J.replace(T,(function(Te,Tt){return Tt||(function(f){switch(f){case"YY":return String($.$y).slice(-2);case"YYYY":return z.s($.$y,4,"0");case"M":return xe+1;case"MM":return z.s(xe+1,2,"0");case"MMM":return Ze(O.monthsShort,xe,qe,3);case"MMMM":return Ze(qe,xe);case"D":return $.$D;case"DD":return z.s($.$D,2,"0");case"d":return String($.$W);case"dd":return Ze(O.weekdaysMin,$.$W,Ee,2);case"ddd":return Ze(O.weekdaysShort,$.$W,Ee,3);case"dddd":return Ee[$.$W];case"H":return String(se);case"HH":return z.s(se,2,"0");case"h":return Ct(1);case"hh":return Ct(2);case"a":return ut(se,oe,!0);case"A":return ut(se,oe,!1);case"m":return String(oe);case"mm":return z.s(oe,2,"0");case"s":return String($.$s);case"ss":return z.s($.$s,2,"0");case"SSS":return z.s($.$ms,3,"0");case"Z":return Q}return null})(Te)||Q.replace(":","")}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(E,$,O){var J,Q=this,se=z.p($),oe=U(E),xe=(oe.utcOffset()-this.utcOffset())*r,Ee=this-oe,qe=function(){return z.m(Q,oe)};switch(se){case v:J=qe()/12;break;case d:J=qe();break;case m:J=qe()/3;break;case c:J=(Ee-xe)/6048e5;break;case u:J=(Ee-xe)/864e5;break;case l:J=Ee/s;break;case a:J=Ee/r;break;case o:J=Ee/n;break;default:J=Ee}return O?J:z.a(J)},k.daysInMonth=function(){return this.endOf(d).$D},k.$locale=function(){return j[this.$L]},k.locale=function(E,$){if(!E)return this.$L;var O=this.clone(),J=B(E,$,!0);return J&&(O.$L=J),O},k.clone=function(){return z.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},H})(),de=R.prototype;return U.prototype=de,[["$ms",i],["$s",o],["$m",a],["$H",l],["$W",u],["$M",d],["$y",v],["$D",x]].forEach((function(H){de[H[1]]=function(k){return this.$g(k,H[0],H[1])}})),U.extend=function(H,k){return H.$i||(H(k,R,U),H.$i=!0),U},U.locale=B,U.isDayjs=ne,U.unix=function(H){return U(1e3*H)},U.en=j[M],U.Ls=j,U.p={},U}))})(Nr)),Nr.exports}var Ig=v0();const b0=Ul({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Il},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),w0={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},x0=["aria-label"],S0=["aria-label"];var C0=ct({name:"ElTag",__name:"tag",props:b0,emits:w0,setup(e,{emit:t}){const n=e,r=t,s=y0(),{t:i}=r0(),o=Kl("tag"),a=Se(()=>{const{type:d,hit:m,effect:v,closable:x,round:p}=n;return[o.b(),o.is("closable",x),o.m(d||"primary"),o.m(s.value),o.m(v),o.is("hit",m),o.is("round",p)]}),l=d=>{r("close",d)},u=d=>{r("click",d)},c=d=>{var m,v,x;(x=(v=(m=d==null?void 0:d.component)==null?void 0:m.subTree)==null?void 0:v.component)!=null&&x.bum&&(d.component.subTree.component.bum=null)};return(d,m)=>e.disableTransitions?(ue(),ve("span",{key:0,class:rt(a.value),style:Fn({backgroundColor:e.color}),onClick:u},[pe("span",{class:rt(X(o).e("content"))},[qr(d.$slots,"default")],2),e.closable?(ue(),ve("button",{key:0,"aria-label":X(i)("el.tag.close"),class:rt(X(o).e("close")),type:"button",onClick:yo(l,["stop"])},[_e(X(Io),null,{default:wn(()=>[_e(X(Lo))]),_:1})],10,x0)):Cn("v-if",!0)],6)):(ue(),Jt(vf,{key:1,name:`${X(o).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:c},{default:wn(()=>[pe("span",{class:rt(a.value),style:Fn({backgroundColor:e.color}),onClick:u},[pe("span",{class:rt(X(o).e("content"))},[qr(d.$slots,"default")],2),e.closable?(ue(),ve("button",{key:0,"aria-label":X(i)("el.tag.close"),class:rt(X(o).e("close")),type:"button",onClick:yo(l,["stop"])},[_e(X(Io),null,{default:wn(()=>[_e(X(Lo))]),_:1})],10,S0)):Cn("v-if",!0)],6)]),_:3},8,["name"]))}}),T0=C0;const P0=Jl(T0),O0={toolbox:{get title(){return Z.t("tag.toolboxTitle")},icon:'<svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="4" y="7" width="16" height="10" rx="5" ry="5" fill="none" stroke="currentColor" stroke-width="2"/><circle cx="8" cy="12" r="1.4" fill="currentColor"/></svg>'},propertyPanel:{get title(){return Z.t("tag.propertyPanelTitle")},get fields(){return[{key:"tagName",label:Z.t("tag.properties.tagName"),placeholder:Z.t("tag.defaultTagName")},{key:"type",label:Z.t("tag.properties.type"),type:"select",options:[{label:Z.t("tag.types.default"),value:""},{label:Z.t("tag.types.primary"),value:"primary"},{label:Z.t("tag.types.success"),value:"success"},{label:Z.t("tag.types.info"),value:"info"},{label:Z.t("tag.types.warning"),value:"warning"},{label:Z.t("tag.types.danger"),value:"danger"}]},{key:"size",label:Z.t("tag.properties.size"),type:"select",options:[{label:Z.t("tag.sizes.default"),value:""},{label:Z.t("tag.sizes.large"),value:"large"},{label:Z.t("tag.sizes.medium"),value:"default"},{label:Z.t("tag.sizes.small"),value:"small"}]},{key:"color",label:Z.t("tag.properties.color"),placeholder:Z.t("tag.properties.colorPlaceholder")},{key:"closable",label:Z.t("tag.properties.closable"),type:"checkbox"}]}},createInitialProps:()=>({tagName:Z.t("tag.defaultTagName"),closable:!1,size:"",color:"",type:"success"}),normalizeProps:e=>{var t;return{edit:e.edit??!1,tagName:((t=e.tagName)==null?void 0:t.trim())||Z.t("tag.defaultTagName"),closable:e.closable===!0,size:e.size??"",color:e.color??"",type:e.type??"success"}},serialize:e=>{var t;return{tagName:((t=e.tagName)==null?void 0:t.trim())||Z.t("tag.defaultTagName"),closable:e.closable??!1,size:e.size??"",color:e.color??"",type:e.type??""}}},E0=ct({__name:"MTag",props:{edit:{type:Boolean},tagName:{},closable:{type:Boolean},size:{},color:{},type:{},onChange:{type:Function},onToolChange:{type:Function}},setup(e){const t=e,n=we(null);let r=null;function s(u){var d,m;const c={edit:t.edit,tagName:t.tagName??"",closable:t.closable??!1,size:t.size??"",color:t.color??"",type:t.type??"",...u};(d=t.onToolChange)==null||d.call(t,c),(m=t.onChange)==null||m.call(t,c)}function i(){s({closable:t.closable??!1})}function o(){r!==null&&(window.clearTimeout(r),r=null)}function a(){var T;const u=n.value;if(!u)return;const c=u.closest(".ce-block"),d=(T=u.closest(".codex-editor"))==null?void 0:T.querySelector(".ce-toolbar"),m=d==null?void 0:d.querySelector(".ce-toolbar__plus");if(!c||!d||!m)return;const v=c.getBoundingClientRect(),x=u.getBoundingClientRect(),p=m.getBoundingClientRect().height||26,b=c.offsetTop+(x.top-v.top)+(x.height-p)/2;d.style.top=`${Math.round(b)}px`}function l(){o(),r=window.setTimeout(()=>{a()},0)}return br(()=>{Ln(()=>{var u,c;(u=n.value)==null||u.addEventListener("mouseenter",l),(c=n.value)==null||c.addEventListener("mousemove",l)})}),wr(()=>{var u,c;o(),(u=n.value)==null||u.removeEventListener("mouseenter",l),(c=n.value)==null||c.removeEventListener("mousemove",l)}),(u,c)=>(ue(),ve("div",{ref_key:"rootRef",ref:n,class:"ce-tag-tool","data-testid":"editor-tag-tool"},[_e(X(P0),{"data-testid":"editor-tag-value",closable:e.closable,size:e.size||void 0,color:e.color||void 0,type:e.type||void 0,onClose:i},{default:wn(()=>[gl(Fe(e.tagName),1)]),_:1},8,["closable","size","color","type"])],512))}}),A0=Cr(E0,[["__scopeId","data-v-f62600c2"]]),Ql={MInput:{component:kr(hh),...fh},MLink:{component:kr(yh),...gh},MTag:{component:kr(A0),...O0}};function Ng(){return Object.entries(Ql)}function Ro(e){return Ql[e]}function M0(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID().slice(0,10):Math.random().toString(36).slice(2,12)}function xi(e,t=M0()){return{id:t,type:"paragraph",data:{text:e}}}function tr(e){return typeof e.data.text=="string"?e.data.text:""}function Wl(){return[xi("")]}function D0(e){return JSON.parse(JSON.stringify(e))}function Gl(e){return typeof e!="object"||e===null||Array.isArray(e)?{}:D0(e)}function $0(e){return{id:e.id,type:e.type,data:Gl(e.data)}}function F0(e){const t=[];for(const n of e){if(n.type==="paragraph"){const r=t[t.length-1];(r==null?void 0:r.type)==="paragraph"?r.data.text=tr(r)+tr(n):t.push(xi(tr(n),n.id));continue}t.push($0(n))}return t.length?t:Wl()}function k0(e){if(!Array.isArray(e))return Wl();const t=[];return e.forEach(n=>{if(typeof n!="object"||n===null)return;const r=n;if(typeof r.id!="string"||typeof r.type!="string"||typeof r.data!="object"||r.data===null||Array.isArray(r.data))return;const s={id:r.id,type:r.type,data:Gl(r.data)};t.push(s.type==="paragraph"?xi(tr(s),s.id):s)}),F0(t)}const L0={class:"global-call-content","data-testid":"global-call-content"},I0={key:0,class:"global-call-content__text"},N0={key:0,class:"global-call-content__text"},R0={key:1,class:"global-call-content__token"},j0={key:2,class:"global-call-content__unknown"},H0=ct({__name:"GlobalCallContentRenderer",props:{content:{}},setup(e){const t=e,n=Se(()=>typeof t.content=="string"),r=Se(()=>typeof t.content=="string"?t.content:""),s=Se(()=>Array.isArray(t.content)?k0(t.content):[]);function i(l){var u;return((u=Ro(l))==null?void 0:u.component)??null}function o(l){return tr(l)}function a(l){var c;const u=Ro(l.type);return u?u.normalizeProps({...((c=u.createInitialProps)==null?void 0:c.call(u))??{},...l.data,edit:!1}):{edit:!1}}return(l,u)=>(ue(),ve("div",L0,[n.value?(ue(),ve("span",I0,Fe(r.value),1)):(ue(!0),ve(ke,{key:1},Qa(s.value,(c,d)=>(ue(),ve(ke,{key:`${c.id}-${c.type}-${d}`},[c.type==="paragraph"?(ue(),ve("span",N0,Fe(o(c)),1)):i(c.type)?(ue(),ve("span",R0,[(ue(),Jt(Cu(i(c.type)),fi({ref_for:!0},a(c)),null,16))])):(ue(),ve("span",j0,Fe(c.type),1))],64))),128))]))}}),jo=Cr(H0,[["__scopeId","data-v-66a3e1c9"]]),B0={class:"global-call-host","data-testid":"global-call-host"},z0={key:0,class:"global-call-dialog-overlay","data-testid":"global-call-dialog-overlay"},V0=["aria-label","aria-labelledby","data-testid"],q0=["id"],U0={class:"global-call-dialog__body","data-testid":"global-call-dialog-content"},K0={class:"global-call-dialog__actions"},J0=["aria-label"],Q0=["data-type"],W0=3e3,G0=ct({__name:"GlobalCallHost",setup(e,{expose:t}){const{t:n}=gi(),r=we(null),s=we([]),i=we(null),o=we([]),a=new Map;let l=0;const u=Se(()=>i.value?`global-call-dialog-title-${i.value.id}`:void 0);function c(g){return new Promise(M=>{s.value.push({id:v(),kind:"alert",title:g.title,content:g.content,resolve:M}),x()})}function d(g){return new Promise(M=>{s.value.push({id:v(),kind:"confirm",title:g.title,content:g.content,resolve:M}),x()})}function m(g){return new Promise(M=>{const j=v(),ee={id:j,type:g.type,content:g.content,resolve:M};o.value=[...o.value,ee],a.set(j,window.setTimeout(()=>{b(j)},W0))})}function v(){return l+=1,l}function x(){i.value||!s.value.length||(i.value=s.value.shift()??null,Ln(()=>{var g;(g=r.value)==null||g.focus()}))}function p(g){const M=i.value;M&&(i.value=null,M.kind==="confirm"?M.resolve(g):M.resolve(),Ln(()=>{x()}))}function b(g){const M=o.value.find(ee=>ee.id===g);if(!M)return;const j=a.get(g);j!==void 0&&(window.clearTimeout(j),a.delete(g)),o.value=o.value.filter(ee=>ee.id!==g),M.resolve()}function T(g){g.key==="Escape"&&(g.preventDefault(),p(!1))}function L(){var g;return((g=i.value)==null?void 0:g.kind)==="confirm"?n("globalCalls.confirmRoleLabel"):n("globalCalls.alertRoleLabel")}function D(g){return`global-call-message--${g}`}return wr(()=>{a.forEach(g=>{window.clearTimeout(g)}),a.clear()}),t({showAlert:c,showConfirm:d,showMessage:m}),(g,M)=>(ue(),ve("div",B0,[i.value?(ue(),ve("div",z0,[pe("section",{ref_key:"dialogPanelRef",ref:r,class:"global-call-dialog",role:"dialog","aria-modal":"true","aria-label":L(),"aria-labelledby":u.value,tabindex:"-1","data-testid":`global-call-${i.value.kind}`,onKeydown:T},[pe("h2",{id:u.value,class:"global-call-dialog__title","data-testid":"global-call-dialog-title"},Fe(i.value.title),9,q0),pe("div",U0,[_e(jo,{content:i.value.content},null,8,["content"])]),pe("div",K0,[i.value.kind==="confirm"?(ue(),ve("button",{key:0,type:"button",class:"global-call-dialog__button global-call-dialog__button--secondary","data-testid":"global-call-cancel",onClick:M[0]||(M[0]=j=>p(!1))},Fe(X(n)("globalCalls.cancel")),1)):Cn("",!0),pe("button",{type:"button",class:"global-call-dialog__button global-call-dialog__button--primary","data-testid":"global-call-ok",onClick:M[1]||(M[1]=j=>p(!0))},Fe(X(n)("globalCalls.ok")),1)])],40,V0)])):Cn("",!0),o.value.length?(ue(),ve("div",{key:1,class:"global-call-message-stack","data-testid":"global-call-message-stack","aria-label":X(n)("globalCalls.messageRoleLabel")},[(ue(!0),ve(ke,null,Qa(o.value,j=>(ue(),ve("div",{key:j.id,class:rt(["global-call-message",D(j.type)]),role:"status","data-type":j.type,"data-testid":"global-call-message"},[_e(jo,{content:j.content},null,8,["content"])],10,Q0))),128))],8,J0)):Cn("",!0)]))}}),Y0=Cr(G0,[["__scopeId","data-v-81ffa7d1"]]);function ot(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Rn(e){return e===null||typeof e=="string"||typeof e=="boolean"?!0:typeof e=="number"?Number.isFinite(e):Array.isArray(e)?e.every(t=>Rn(t)):ot(e)?Object.values(e).every(t=>Rn(t)):!1}function Z0(e){return ot(e)&&Rn(e)}function Wr(e){return JSON.parse(JSON.stringify(e))}function Ho(e){return JSON.parse(JSON.stringify(e))}function Yl(e){return JSON.parse(JSON.stringify(e))}function mn(e,t){return Object.keys(e).every(n=>t.includes(n))}function Kn(e,t){if(t===void 0)return e;if(typeof t=="string")return{...e,description:t}}function Us(e){if(!(!ot(e)||typeof e.type!="string")){if(e.type==="object"){if(!mn(e,["type","properties","required","description"])||!ot(e.properties))return;const t={};for(const[r,s]of Object.entries(e.properties)){const i=Us(s);if(!i)return;t[r]=i}const n={type:"object",properties:t};if(e.required!==void 0){if(!Array.isArray(e.required)||!e.required.every(r=>typeof r=="string"))return;n.required=[...e.required]}return Kn(n,e.description)}if(e.type==="array"){if(!mn(e,["type","items","description"]))return;const t=Us(e.items);return t?Kn({type:"array",items:t},e.description):void 0}if(e.type==="string"){if(!mn(e,["type","enum","description"]))return;const t={type:"string"};if(e.enum!==void 0){if(!Array.isArray(e.enum)||!e.enum.every(n=>typeof n=="string"))return;t.enum=[...e.enum]}return Kn(t,e.description)}if(e.type==="number"){if(!mn(e,["type","minimum","maximum","description"]))return;const t={type:"number"};if(e.minimum!==void 0){if(typeof e.minimum!="number"||!Number.isFinite(e.minimum))return;t.minimum=e.minimum}if(e.maximum!==void 0){if(typeof e.maximum!="number"||!Number.isFinite(e.maximum))return;t.maximum=e.maximum}return Kn(t,e.description)}if(e.type==="boolean")return mn(e,["type","description"])?Kn({type:"boolean"},e.description):void 0;if(e.type==="null"&&mn(e,["type"]))return{type:"null"}}}function Ks(e,t){if(e.type===t.type){if(e.type==="object"&&t.type==="object"){const n={},r=new Set([...Object.keys(e.properties),...Object.keys(t.properties)]);for(const s of r){const i=e.properties[s],o=t.properties[s];if(i&&o){const a=Ks(i,o);if(!a)return;n[s]=a;continue}n[s]=Ho(i??o)}return{type:"object",properties:n}}if(e.type==="array"&&t.type==="array"){const n=Ks(e.items,t.items);return n?{type:"array",items:n}:void 0}return Ho(e)}}function Js(e){if(e===null)return{ok:!0,schema:{type:"null"}};if(typeof e=="string")return{ok:!0,schema:{type:"string"}};if(typeof e=="number")return{ok:!0,schema:{type:"number"}};if(typeof e=="boolean")return{ok:!0,schema:{type:"boolean"}};if(Array.isArray(e)){if(!e.length)return{ok:!1,reason:"emptyArray"};let n;for(const r of e){const s=Js(r);if(!s.ok)return s;if(!n){n=s.schema;continue}const i=Ks(n,s.schema);if(!i)return{ok:!1,reason:"mixedArray"};n=i}return{ok:!0,schema:{type:"array",items:n}}}const t={};for(const[n,r]of Object.entries(e)){const s=Js(r);if(!s.ok)return s;t[n]=s.schema}return{ok:!0,schema:{type:"object",properties:t}}}function Si(e,t){return e?`${e}.${t}`:t}function Zl(e){return e?`${e}[]`:"[]"}function hs(e){return e.replace(/\[\]/g,"").split(".").filter(Boolean).pop()||e||"root"}function Ci(e){return e==="number"?"number":e==="boolean"?"switch":e==="object"?"object":e==="array"?"array":"text"}function Xl(e){return e==="string"||e==="number"||e==="boolean"||e==="null"}function ec(e,t,n=hs(e.path)){return{path:e.path,label:n,type:e.type,required:e.required,enabled:t,componentHint:e.componentHint}}function Qs(e,t="",n=0,r=!1){if(!e)return[];const s=t?hs(t):"root",i={path:t,displayPath:t||"root",name:s,type:e.type,required:r,selectable:Xl(e.type),componentHint:Ci(e.type),depth:n,children:[]};if(e.type==="object"){const o=new Set(e.required??[]);i.children=Object.entries(e.properties).flatMap(([a,l])=>Qs(l,Si(t,a),n+1,o.has(a)))}if(e.type==="array"){const o=Zl(t);i.children=Qs(e.items,o,n+1,r)}return[i]}function tc(e){return e.flatMap(t=>[t,...tc(t.children)])}function nc(e){if(!e)return[];const t=[];function n(r,s){if(r.type==="array"){t.push({path:s,label:s?`${s}[]`:"root[]"}),n(r.items,Zl(s));return}r.type==="object"&&Object.entries(r.properties).forEach(([i,o])=>{n(o,Si(s,i))})}return n(e,""),t}function X0(e,t){if(!e)return;if(!t)return e.type==="array"?e.items:void 0;const n=t.split(".").filter(Boolean);let r=e;for(const s of n){if(!r||r.type!=="object")return;r=r.properties[s]}return(r==null?void 0:r.type)==="array"?r.items:void 0}function eg(e,t="",n=!1){return tc(Qs(e,t)).filter(r=>(n||r.path!==t)&&r.selectable)}function tg(e,t){const n=X0(e,t),r=t?`${t}[]`:"[]";return eg(n,r,!0).map(s=>ec(s,!0))}function ng(e){const t=(e==null?void 0:e.type)==="array"?e.items:e;if((t==null?void 0:t.type)!=="object")return[];const n=[];function r(s,i,o){if(Xl(s.type)){n.push(ec({path:i,name:hs(i),type:s.type,required:o,componentHint:Ci(s.type)},!0));return}if(s.type!=="object")return;const a=new Set(s.required??[]);Object.entries(s.properties).forEach(([l,u])=>{r(u,Si(i,l),a.has(l))})}return Object.entries(t.properties).forEach(([s,i])=>{r(i,s,(t.required??[]).includes(s))}),n}function Ws(e,t){if(!ot(e))return t?Yl(t):void 0;const n=typeof e.path=="string"&&e.path?e.path:t==null?void 0:t.path;if(!n)return;const r=e.type==="object"||e.type==="array"||e.type==="string"||e.type==="number"||e.type==="boolean"||e.type==="null"?e.type:(t==null?void 0:t.type)??"string",s=typeof e.label=="string"&&e.label.trim()?e.label.trim():(t==null?void 0:t.label)??hs(n),i=typeof e.required=="boolean"?e.required:(t==null?void 0:t.required)??!1,o=typeof e.enabled=="boolean"?e.enabled:(t==null?void 0:t.enabled)??!0,a=e.componentHint==="text"||e.componentHint==="number"||e.componentHint==="switch"||e.componentHint==="object"||e.componentHint==="array"?e.componentHint:(t==null?void 0:t.componentHint)??Ci(r);return{path:n,label:s,type:r,required:i,enabled:o,componentHint:a}}function Bo(e,t){const n=new Map;return Array.isArray(t)&&t.forEach(r=>{const s=Ws(r);s&&n.set(s.path,s)}),e.map(r=>{const s=n.get(r.path);return s?{...r,label:s.label||r.label,enabled:s.enabled}:Yl(r)})}function rg(e){var n;const t=nc(e);return t.length===1?t[0].path:((n=t[0])==null?void 0:n.path)??""}function zo(e,t){var l,u,c;if(!e)return;const n=nc(e),r=((l=t==null?void 0:t.list)==null?void 0:l.recordPath)??"",s=n.some(d=>d.path===r)?r:rg(e),i=n.length?Bo(tg(e,s),(u=t==null?void 0:t.list)==null?void 0:u.fields):[],o=Bo(ng(e),(c=t==null?void 0:t.form)==null?void 0:c.fields),a={};return n.length&&(a.list={recordPath:s,fields:i}),o.length&&(a.form={fields:o}),a.list||a.form?a:void 0}function sg(e,t){if(!ot(e))return t?zo(t):void 0;const n={};return ot(e.list)&&(n.list={recordPath:typeof e.list.recordPath=="string"?e.list.recordPath:"",fields:Array.isArray(e.list.fields)?e.list.fields.map(r=>Ws(r)).filter(r=>r!==void 0):[]}),ot(e.form)&&(n.form={fields:Array.isArray(e.form.fields)?e.form.fields.map(r=>Ws(r)).filter(r=>r!==void 0):[]}),t?zo(t,n):n.list||n.form?n:void 0}class nn extends Error{constructor(n,r,s){super(r);Tr(this,"code");Tr(this,"status");Tr(this,"statusText");this.name="DatasourceError",this.code=n,this.status=s==null?void 0:s.status,this.statusText=s==null?void 0:s.statusText}}const ig=["string","number","boolean","null","object","array"];function jn(e){return typeof e=="string"?e:""}function og(e){return e==="POST"?"POST":"GET"}function ag(e){return ig.includes(e)?e:"string"}function lg(e,t={}){return Rn(e)?Wr(e):t}function Rg(e){return e==="number"?0:e==="boolean"?!1:e==="null"?null:e==="object"?{}:e==="array"?[]:""}function rc(e,t){return e==="string"?typeof t=="string"?t:jn(t):e==="number"?typeof t=="number"&&Number.isFinite(t)?t:0:e==="boolean"?typeof t=="boolean"?t:!1:e==="null"?null:e==="object"?Z0(t)?Wr(t):{}:Array.isArray(t)&&Rn(t)?Wr(t):[]}function Vo(e){return Array.isArray(e)?e.filter(t=>ot(t)).map(t=>({key:jn(t.key),mock:jn(t.mock)})):[]}function cg(e){return Array.isArray(e)?e.filter(t=>ot(t)).map(t=>{const n=ag(t.dataType);return{key:jn(t.key),dataType:n,mock:rc(n,t.mock)}}):[]}function jg(){return{type:"API",domain:"",path:"",method:"GET",headerData:[],bodyData:[],queryData:[]}}function ug(){return{type:"JSON",rawData:{}}}function fg(e){if(!ot(e))return ug();const t=Us(e.jsonSchema),n=sg(e.schemaSelections,t);if(e.type==="API"){const s={type:"API",domain:jn(e.domain),path:jn(e.path),method:og(e.method),headerData:Vo(e.headerData),bodyData:cg(e.bodyData),queryData:Vo(e.queryData)};return t&&(s.jsonSchema=t),n&&(s.schemaSelections=n),s}const r={type:"JSON",rawData:lg(e.rawData,{})};return t&&(r.jsonSchema=t),n&&(r.schemaSelections=n),r}function dg(e){const t=e.domain.trim(),n=e.path.trim(),r=/^[a-z][a-z\d+\-.]*:/i.test(n),s=t||(typeof window<"u"?window.location.origin:"");if(!s&&!r)throw new TypeError("API domain is required when calling a relative datasource path outside the browser.");const i=s?new URL(n||"/",s.endsWith("/")?s:`${s}/`):new URL(n||"/");return e.queryData.forEach(o=>{const a=o.key.trim();a&&i.searchParams.append(a,o.mock)}),i.toString()}function hg(e){const t=new Headers;return e.headerData.forEach(n=>{const r=n.key.trim();r&&t.set(r,n.mock)}),e.method==="POST"&&!t.has("Content-Type")&&t.set("Content-Type","application/json"),t}function pg(e){if(e.method!=="POST")return;const t=e.bodyData.reduce((n,r)=>{const s=r.key.trim();return s&&(n[s]=rc(r.dataType,r.mock)),n},{});return JSON.stringify(t)}async function gg(e){if(!(e.headers.get("content-type")??"").toLowerCase().includes("json"))throw new nn("nonJsonResponse","The API response is not JSON.");try{const n=await e.json();if(!Rn(n))throw new nn("invalidJsonResponse","The API response is not valid JSON.");return n}catch(n){throw n instanceof nn?n:new nn("invalidJsonResponse","The API response is not valid JSON.")}}const Ti=async e=>{const t=fg(e);if(t.type==="JSON")return Wr(t.rawData);const n=await fetch(dg(t),{method:t.method,headers:hg(t),body:pg(t)});if(!n.ok)throw new nn("apiRequestFailed",`API request failed: ${n.status} ${n.statusText}`.trim(),{status:n.status,statusText:n.statusText});return await gg(n)},sc=async e=>{const t=await Ti(e),n=Js(t);if(n.ok)return n.schema;throw n.reason==="emptyArray"?new nn("emptyArraySchema","Cannot infer JSON Schema from an empty array."):new nn("mixedArraySchema","The array contains incompatible types, so JSON Schema cannot be inferred.")},mg=new Set(["success","warning","info","error"]);let qo=null,$r=null,Fr=null;const ic=(function(t,n){return Pi(r=>r.showAlert(lc(t,n)))}),oc=(function(t,n){return Pi(r=>r.showConfirm(lc(t,n)))}),ac=(function(t,n){return Pi(r=>r.showMessage(wg(t,n)))});function yg(e){e.config.globalProperties.$alert=ic,e.config.globalProperties.$confirm=oc,e.config.globalProperties.$message=ac,e.config.globalProperties.$remote=Ti,e.config.globalProperties.$schema=sc,vg()}const _g={install:yg};function vg(){if(typeof window>"u")return;const e=window;e.$alert=ic,e.$confirm=oc,e.$message=ac,e.$remote=Ti,e.$schema=sc}function Pi(e){try{return e(bg())}catch(t){return Promise.reject(t)}}function bg(){if($r)return $r;if(typeof document>"u")throw new Error("Global call functions require a browser document.");return Fr=document.createElement("div"),Fr.setAttribute("data-testid","global-call-host-container"),document.body.appendChild(Fr),qo=bl(Y0),$r=qo.mount(Fr),$r}function lc(e,t){return typeof e=="object"&&e!==null?{title:String(e.title??""),content:Gr(e.content)}:{title:e,content:Gr(t)}}function wg(e,t){return typeof e=="object"&&e!==null?{type:Uo(e.type),content:Gr(e.content)}:{type:Uo(e),content:Gr(t)}}function Gr(e){return typeof e=="string"||Array.isArray(e)?e:""}function Uo(e){return mg.has(e)?e:"info"}const Oi=bl(lh),xg=new $l;Oi.use(Pd,{queryClient:xg});Oi.use(_g);Oi.mount("#app");function Sg(){if(!("serviceWorker"in navigator))return;const e=`/sw.js?v=${encodeURIComponent("2026-05-06T03:19:02.362Z")}`;let t=!1;const n=r=>{r.waiting&&r.waiting.postMessage({type:"SKIP_WAITING"})};navigator.serviceWorker.addEventListener("controllerchange",()=>{t||(t=!0,window.location.reload())}),window.addEventListener("load",async()=>{try{const r=await navigator.serviceWorker.register(e);n(r),r.addEventListener("updatefound",()=>{const s=r.installing;s&&s.addEventListener("statechange",()=>{s.state==="installed"&&navigator.serviceWorker.controller&&n(r)})}),window.setInterval(()=>{r.update().catch(()=>{})},60*1e3)}catch(r){console.error("Service worker registration failed:",r)}})}Sg();export{sc as $,Gl as A,bl as B,Fg as C,Wl as D,Z as E,ke as F,F0 as G,M0 as H,$0 as I,xi as J,fg as K,Jc as L,si as M,jg as N,rc as O,ig as P,tc as Q,nc as R,Rn as S,Wr as T,Us as U,zo as V,og as W,ag as X,Rg as Y,Z0 as Z,Cr as _,_e as a,ug as a0,Qs as a1,lg as a2,Ho as a3,sg as a4,nn as a5,Og as a6,$g as a7,O0 as a8,gh as a9,fh as aa,kr as ab,A0 as ac,yh as ad,hh as ae,Bi as af,Eo as ag,ff as ah,pe as b,ve as c,ct as d,Cn as e,gi as f,Jt as g,Se as h,br as i,wr as j,Lr as k,k0 as l,Fn as m,Ln as n,ue as o,Qa as p,Ng as q,we as r,fi as s,Fe as t,X as u,Cu as v,yo as w,rt as x,tr as y,Ro as z};
@@ -1 +0,0 @@
1
- *,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.\!block{display:block!important}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.max-h-\[60vh\]{max-height:60vh}.min-h-0{min-height:0px}.min-h-\[520px\]{min-height:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.flex-1{flex:1 1 0%}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.bg-slate-950\/50{background-color:#02061780}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pl-11{padding-left:2.75rem}.pr-3{padding-right:.75rem}.text-left{text-align:left}.align-top{vertical-align:top}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body{margin:0;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.dark\:border-amber-500\/60:is(.dark *){border-color:#f59e0b99}.dark\:border-slate-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.dark\:text-amber-100:is(.dark *){--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity, 1))}.dark\:text-slate-100:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.dark\:hover\:bg-slate-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity, 1))}@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.ce-input-tool[data-v-38751236]{display:flex;flex-direction:column;gap:8px}.ce-input-tool__control[data-v-38751236]{width:100%;border:1px solid rgb(148 163 184 / .6);border-radius:8px;padding:8px 10px;background-color:#fff;color:#0f172a;font-size:14px;line-height:20px}.ce-input-tool__control[data-v-38751236]:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f126}.dark{background-color:#0f172a;color:#e2e8f0;border-color:#475569e6}.ce-link-tool[data-v-e56db1bc]{display:inline-flex;align-items:center;max-width:100%;min-height:32px;vertical-align:middle}.ce-link-tool__anchor[data-v-e56db1bc]{display:inline-flex;align-items:center;min-width:0;max-width:100%;color:#2563eb;font-size:14px;line-height:20px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}.ce-link-tool__anchor[data-v-e56db1bc]:hover{color:#1d4ed8}.ce-link-tool__anchor[data-v-e56db1bc]:focus-visible{outline:2px solid rgb(96 165 250);outline-offset:2px;border-radius:4px}.dark{color:#60a5fa}.dark{color:#93c5fd}:root{--el-color-white:#fff;--el-color-black:#000;--el-color-primary-rgb:64, 158, 255;--el-color-success-rgb:103, 194, 58;--el-color-warning-rgb:230, 162, 60;--el-color-danger-rgb:245, 108, 108;--el-color-error-rgb:245, 108, 108;--el-color-info-rgb:144, 147, 153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#fff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#fff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#fff;--el-box-shadow:0px 12px 32px 4px #0000000a, 0px 8px 20px #00000014;--el-box-shadow-light:0px 0px 12px #0000001f;--el-box-shadow-lighter:0px 0px 6px #0000001f;--el-box-shadow-dark:0px 16px 48px 16px #00000014, 0px 12px 32px #0000001f, 0px 8px 16px -8px #00000029;--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:#000c;--el-overlay-color-light:#000000b3;--el-overlay-color-lighter:#00000080;--el-mask-color:#ffffffe6;--el-mask-color-extra-light:#ffffff4d;--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:top;transform:scaleY(1)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:bottom;transform:scaleY(1)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transition:var(--el-transition-md-fade);transform-origin:0 0;transform:scale(1)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-leave-active,.el-collapse-transition-enter-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;fill:currentColor;width:1em;height:1em;color:var(--color);line-height:1em;font-size:inherit;justify-content:center;align-items:center;display:inline-flex;position:relative}.el-icon.is-loading{animation:2s linear infinite rotating}.el-icon svg{width:1em;height:1em}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);color:var(--el-tag-text-color);vertical-align:middle;height:24px;font-size:var(--el-tag-font-size);border-radius:var(--el-tag-border-radius);box-sizing:border-box;white-space:nowrap;--el-icon-size:14px;--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary);border-style:solid;border-width:1px;justify-content:center;align-items:center;padding:0 9px;line-height:1;display:inline-flex}.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{color:var(--el-color-white);background-color:var(--el-tag-hover-color)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{cursor:pointer;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size);border-radius:50%}.el-tag .el-tag__close{background-color:#0000;border:none;border-radius:50%;outline:none;margin-left:6px;padding:0;overflow:hidden}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag .el-tag__close .el-icon{display:flex}.el-tag--dark{--el-tag-text-color:var(--el-color-white);--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning,.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{--el-icon-size:16px;height:32px;padding:0 11px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{--el-icon-size:12px;height:20px;padding:0 7px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.ce-tag-tool[data-v-f62600c2]{display:inline-flex;align-items:center;min-height:32px;max-width:100%}.ce-tag-tool[data-v-f62600c2] .el-tag{max-width:100%;line-height:20px}.ce-tag-tool[data-v-f62600c2] .el-tag__content{display:inline-flex;align-items:center;min-width:0}.global-call-content[data-v-66a3e1c9]{display:inline;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.global-call-content__text[data-v-66a3e1c9]{white-space:pre-wrap;overflow-wrap:anywhere}.global-call-content__token[data-v-66a3e1c9]{display:inline-flex;align-items:center;max-width:100%;margin:0 2px;vertical-align:middle}.global-call-content__unknown[data-v-66a3e1c9]{display:inline-flex;align-items:center;max-width:100%;margin:0 2px;border-radius:8px;background:#f1f5f9;padding:2px 8px;color:#475569;font-size:12px;vertical-align:middle}.dark{background:#1e293b;color:#cbd5e1}.global-call-dialog-overlay[data-v-81ffa7d1]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a85}.global-call-dialog[data-v-81ffa7d1]{width:min(100%,420px);max-height:min(80vh,640px);overflow:auto;border:1px solid rgb(226 232 240);border-radius:12px;background:#fff;box-shadow:0 24px 80px #0f172a47;color:#0f172a;outline:none}.global-call-dialog__title[data-v-81ffa7d1]{margin:0;padding:20px 20px 0;color:#0f172a;font-size:18px;font-weight:600;line-height:1.4}.global-call-dialog__body[data-v-81ffa7d1]{padding:14px 20px 20px;color:#334155;font-size:14px;line-height:1.6}.global-call-dialog__actions[data-v-81ffa7d1]{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid rgb(226 232 240);padding:14px 20px}.global-call-dialog__button[data-v-81ffa7d1]{min-width:72px;border:0;border-radius:8px;padding:8px 14px;font-size:14px;font-weight:600;line-height:20px;cursor:pointer}.global-call-dialog__button[data-v-81ffa7d1]:focus-visible{outline:2px solid rgb(129 140 248);outline-offset:2px}.global-call-dialog__button--primary[data-v-81ffa7d1]{background:#4f46e5;color:#fff}.global-call-dialog__button--primary[data-v-81ffa7d1]:hover{background:#4338ca}.global-call-dialog__button--secondary[data-v-81ffa7d1]{background:#e2e8f0;color:#334155}.global-call-dialog__button--secondary[data-v-81ffa7d1]:hover{background:#cbd5e1}.global-call-message-stack[data-v-81ffa7d1]{position:fixed;top:18px;left:50%;z-index:1100;display:flex;width:min(92vw,520px);transform:translate(-50%);flex-direction:column;align-items:center;gap:10px;pointer-events:none}.global-call-message[data-v-81ffa7d1]{max-width:100%;border:1px solid rgb(226 232 240);border-radius:10px;background:#fff;box-shadow:0 16px 48px #0f172a29;padding:10px 14px;color:#0f172a;font-size:14px;line-height:1.6;pointer-events:auto}.global-call-message--success[data-v-81ffa7d1]{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.global-call-message--warning[data-v-81ffa7d1]{border-color:#fef08a;background:#fefce8;color:#854d0e}.global-call-message--info[data-v-81ffa7d1]{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.global-call-message--error[data-v-81ffa7d1]{border-color:#fecaca;background:#fef2f2;color:#991b1b}.dark{color:#f1f5f9}.dark{color:#cbd5e1}.dark{border-top-color:#334155}.dark{background:#334155;color:#f1f5f9}.dark{background:#475569}.dark{border-color:#334155;background:#0f172a;color:#e2e8f0}@media(max-width:640px){.global-call-dialog-overlay[data-v-81ffa7d1]{align-items:flex-end;padding:16px}.global-call-dialog[data-v-81ffa7d1]{width:100%;max-height:86vh}}