bilitoolkit-plugin-danmaku 0.0.1 → 0.0.2

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,10 +1,10 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DanmakuSearch-LdMrB61E.js","./client-qfuHWO0B.js","./DanmakuSearch-BseAQS3V.css","./CrackUid-Cl2a5uWO.js","./CrackUid-M_nlXJAs.css"])))=>i.map(i=>d[i]);
2
- (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 o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function mc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const De={},ks=[],Rt=()=>{},mm=()=>!1,Ci=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ti=e=>e.startsWith("onUpdate:"),gt=Object.assign,gc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},s_=Object.prototype.hasOwnProperty,Pe=(e,t)=>s_.call(e,t),ue=Array.isArray,Fs=e=>eo(e)==="[object Map]",gm=e=>eo(e)==="[object Set]",Of=e=>eo(e)==="[object Date]",o_=e=>eo(e)==="[object RegExp]",me=e=>typeof e=="function",Ne=e=>typeof e=="string",zt=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",bm=e=>(Ce(e)||me(e))&&me(e.then)&&me(e.catch),vm=Object.prototype.toString,eo=e=>vm.call(e),a_=e=>eo(e).slice(8,-1),ym=e=>eo(e)==="[object Object]",Ri=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=mc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},i_=/-\w/g,Pt=Pi(e=>e.replace(i_,t=>t.slice(1).toUpperCase())),l_=/\B([A-Z])/g,bs=Pi(e=>e.replace(l_,"-$1").toLowerCase()),Bi=Pi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Da=Pi(e=>e?`on${Bi(e)}`:""),$n=(e,t)=>!Object.is(e,t),Oo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},_m=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},u_=e=>{const t=parseFloat(e);return isNaN(t)?e:t},c_=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let kf;const Oi=()=>kf||(kf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Sn(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ne(r)?h_(r):Sn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ne(e)||Ce(e))return e}const f_=/;(?![^(]*\))/g,d_=/:([^]+)/,p_=/\/\*[^]*?\*\//g;function h_(e){const t={};return e.replace(p_,"").split(f_).forEach(n=>{if(n){const r=n.split(d_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Oe(e){let t="";if(Ne(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=Oe(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function m_(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Oe(t)),n&&(e.style=Sn(n)),e}const g_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",b_=mc(g_);function wm(e){return!!e||e===""}function v_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=bc(e[r],t[r]);return n}function bc(e,t){if(e===t)return!0;let n=Of(e),r=Of(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zt(e),r=zt(t),n||r)return e===t;if(n=ue(e),r=ue(t),n||r)return n&&r?v_(e,t):!1;if(n=Ce(e),r=Ce(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!bc(e[a],t[a]))return!1}}return String(e)===String(t)}const Em=e=>!!(e&&e.__v_isRef===!0),$t=e=>Ne(e)?e:e==null?"":ue(e)||Ce(e)&&(e.toString===vm||!me(e.toString))?Em(e)?$t(e.value):JSON.stringify(e,Am,2):String(e),Am=(e,t)=>Em(t)?Am(e,t.value):Fs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ul(r,o)+" =>"]=s,n),{})}:gm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ul(n))}:zt(t)?ul(t):Ce(t)&&!ue(t)&&!ym(t)?String(t):t,ul=(e,t="")=>{var n;return zt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function y_(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let pt;class Sm{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&pt&&(pt.active?(this.parent=pt,this.index=(pt.scopes||(pt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=pt;try{return pt=this,t()}finally{pt=n}}}on(){++this._on===1&&(this.prevScope=pt,pt=this)}off(){if(this._on>0&&--this._on===0){if(pt===this)pt=this.prevScope;else{let t=pt;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 xm(e){return new Sm(e)}function vc(){return pt}function Nm(e,t=!1){pt&&pt.cleanups.push(e)}let Ue;const cl=new WeakSet;class Im{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,pt&&(pt.active?pt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,cl.has(this)&&(cl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Tm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ff(this),Rm(this);const t=Ue,n=wn;Ue=this,wn=!0;try{return this.fn()}finally{Pm(this),Ue=t,wn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)wc(t);this.deps=this.depsTail=void 0,Ff(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?cl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ql(this)&&this.run()}get dirty(){return Ql(this)}}let Cm=0,ko,Fo;function Tm(e,t=!1){if(e.flags|=8,t){e.next=Fo,Fo=e;return}e.next=ko,ko=e}function yc(){Cm++}function _c(){if(--Cm>0)return;if(Fo){let t=Fo;for(Fo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ko;){let t=ko;for(ko=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 Rm(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Pm(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),wc(r),__(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ql(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Bm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Bm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ho)||(e.globalVersion=Ho,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ql(e))))return;e.flags|=2;const t=e.dep,n=Ue,r=wn;Ue=e,wn=!0;try{Rm(e);const s=e.fn(e._value);(t.version===0||$n(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ue=n,wn=r,Pm(e),e.flags&=-3}}function wc(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 o=n.computed.deps;o;o=o.nextDep)wc(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function __(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let wn=!0;const Om=[];function dr(){Om.push(wn),wn=!1}function pr(){const e=Om.pop();wn=e===void 0?!0:e}function Ff(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ue;Ue=void 0;try{t()}finally{Ue=n}}}let Ho=0;class w_{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 Ec{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(!Ue||!wn||Ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ue)n=this.activeLink=new w_(Ue,this),Ue.deps?(n.prevDep=Ue.depsTail,Ue.depsTail.nextDep=n,Ue.depsTail=n):Ue.deps=Ue.depsTail=n,km(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=Ue.depsTail,n.nextDep=void 0,Ue.depsTail.nextDep=n,Ue.depsTail=n,Ue.deps===n&&(Ue.deps=r)}return n}trigger(t){this.version++,Ho++,this.notify(t)}notify(t){yc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_c()}}}function km(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)km(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ri=new WeakMap,os=Symbol(""),ql=Symbol(""),Xo=Symbol("");function Ct(e,t,n){if(wn&&Ue){let r=ri.get(e);r||ri.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Ec),s.map=r,s.key=n),s.track()}}function lr(e,t,n,r,s,o){const a=ri.get(e);if(!a){Ho++;return}const i=l=>{l&&l.trigger()};if(yc(),t==="clear")a.forEach(i);else{const l=ue(e),u=l&&Ri(n);if(l&&n==="length"){const c=Number(r);a.forEach((f,d)=>{(d==="length"||d===Xo||!zt(d)&&d>=c)&&i(f)})}else switch((n!==void 0||a.has(void 0))&&i(a.get(n)),u&&i(a.get(Xo)),t){case"add":l?u&&i(a.get("length")):(i(a.get(os)),Fs(e)&&i(a.get(ql)));break;case"delete":l||(i(a.get(os)),Fs(e)&&i(a.get(ql)));break;case"set":Fs(e)&&i(a.get(os));break}}_c()}function E_(e,t){const n=ri.get(e);return n&&n.get(t)}function As(e){const t=Re(e);return t===e?t:(Ct(t,"iterate",Xo),Xt(e)?t:t.map(xn))}function ki(e){return Ct(e=Re(e),"iterate",Xo),e}function Mn(e,t){return hr(e)?$s(Wn(e)?xn(t):t):xn(t)}const A_={__proto__:null,[Symbol.iterator](){return fl(this,Symbol.iterator,e=>Mn(this,e))},concat(...e){return As(this).concat(...e.map(t=>ue(t)?As(t):t))},entries(){return fl(this,"entries",e=>(e[1]=Mn(this,e[1]),e))},every(e,t){return Jn(this,"every",e,t,void 0,arguments)},filter(e,t){return Jn(this,"filter",e,t,n=>n.map(r=>Mn(this,r)),arguments)},find(e,t){return Jn(this,"find",e,t,n=>Mn(this,n),arguments)},findIndex(e,t){return Jn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Jn(this,"findLast",e,t,n=>Mn(this,n),arguments)},findLastIndex(e,t){return Jn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Jn(this,"forEach",e,t,void 0,arguments)},includes(...e){return dl(this,"includes",e)},indexOf(...e){return dl(this,"indexOf",e)},join(e){return As(this).join(e)},lastIndexOf(...e){return dl(this,"lastIndexOf",e)},map(e,t){return Jn(this,"map",e,t,void 0,arguments)},pop(){return co(this,"pop")},push(...e){return co(this,"push",e)},reduce(e,...t){return Mf(this,"reduce",e,t)},reduceRight(e,...t){return Mf(this,"reduceRight",e,t)},shift(){return co(this,"shift")},some(e,t){return Jn(this,"some",e,t,void 0,arguments)},splice(...e){return co(this,"splice",e)},toReversed(){return As(this).toReversed()},toSorted(e){return As(this).toSorted(e)},toSpliced(...e){return As(this).toSpliced(...e)},unshift(...e){return co(this,"unshift",e)},values(){return fl(this,"values",e=>Mn(this,e))}};function fl(e,t,n){const r=ki(e),s=r[t]();return r!==e&&!Xt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const S_=Array.prototype;function Jn(e,t,n,r,s,o){const a=ki(e),i=a!==e&&!Xt(e),l=a[t];if(l!==S_[t]){const f=l.apply(e,o);return i?xn(f):f}let u=n;a!==e&&(i?u=function(f,d){return n.call(this,Mn(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(a,u,r);return i&&s?s(c):c}function Mf(e,t,n,r){const s=ki(e),o=s!==e&&!Xt(e);let a=n,i=!1;s!==e&&(o?(i=r.length===0,a=function(u,c,f){return i&&(i=!1,u=Mn(e,u)),n.call(this,u,Mn(e,c),f,e)}):n.length>3&&(a=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](a,...r);return i?Mn(e,l):l}function dl(e,t,n){const r=Re(e);Ct(r,"iterate",Xo);const s=r[t](...n);return(s===-1||s===!1)&&$i(n[0])?(n[0]=Re(n[0]),r[t](...n)):s}function co(e,t,n=[]){dr(),yc();const r=Re(e)[t].apply(e,n);return _c(),pr(),r}const x_=mc("__proto__,__v_isRef,__isVue"),Fm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zt));function N_(e){zt(e)||(e=String(e));const t=Re(this);return Ct(t,"has",e),t.hasOwnProperty(e)}class Mm{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,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Gm:Vm:o?Dm:Wm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=ue(t);if(!s){let l;if(a&&(l=A_[n]))return l;if(n==="hasOwnProperty")return N_}const i=Reflect.get(t,n,Ke(t)?t:r);if((zt(n)?Fm.has(n):x_(n))||(s||Ct(t,"get",n),o))return i;if(Ke(i)){const l=a&&Ri(n)?i:i.value;return s&&Ce(l)?Ls(l):l}return Ce(i)?s?Ls(i):In(i):i}}class Lm extends Mm{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const a=ue(t)&&Ri(n);if(!this._isShallow){const u=hr(o);if(!Xt(r)&&!hr(r)&&(o=Re(o),r=Re(r)),!a&&Ke(o)&&!Ke(r))return u||(o.value=r),!0}const i=a?Number(n)<t.length:Pe(t,n),l=Reflect.set(t,n,r,Ke(t)?t:s);return t===Re(s)&&(i?$n(r,o)&&lr(t,"set",n,r):lr(t,"add",n,r)),l}deleteProperty(t,n){const r=Pe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&lr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!zt(n)||!Fm.has(n))&&Ct(t,"has",n),r}ownKeys(t){return Ct(t,"iterate",ue(t)?"length":os),Reflect.ownKeys(t)}}class $m extends Mm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const I_=new Lm,C_=new $m,T_=new Lm(!0),R_=new $m(!0),eu=e=>e,Ea=e=>Reflect.getPrototypeOf(e);function P_(e,t,n){return function(...r){const s=this.__v_raw,o=Re(s),a=Fs(o),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=s[e](...r),c=n?eu:t?$s:xn;return!t&&Ct(o,"iterate",l?ql:os),gt(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:i?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function Aa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function B_(e,t){const n={get(s){const o=this.__v_raw,a=Re(o),i=Re(s);e||($n(s,i)&&Ct(a,"get",s),Ct(a,"get",i));const{has:l}=Ea(a),u=t?eu:e?$s:xn;if(l.call(a,s))return u(o.get(s));if(l.call(a,i))return u(o.get(i));o!==a&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ct(Re(s),"iterate",os),s.size},has(s){const o=this.__v_raw,a=Re(o),i=Re(s);return e||($n(s,i)&&Ct(a,"has",s),Ct(a,"has",i)),s===i?o.has(s):o.has(s)||o.has(i)},forEach(s,o){const a=this,i=a.__v_raw,l=Re(i),u=t?eu:e?$s:xn;return!e&&Ct(l,"iterate",os),i.forEach((c,f)=>s.call(o,u(c),u(f),a))}};return gt(n,e?{add:Aa("add"),set:Aa("set"),delete:Aa("delete"),clear:Aa("clear")}:{add(s){const o=Re(this),a=Ea(o),i=Re(s),l=!t&&!Xt(s)&&!hr(s)?i:s;return a.has.call(o,l)||$n(s,l)&&a.has.call(o,s)||$n(i,l)&&a.has.call(o,i)||(o.add(l),lr(o,"add",l,l)),this},set(s,o){!t&&!Xt(o)&&!hr(o)&&(o=Re(o));const a=Re(this),{has:i,get:l}=Ea(a);let u=i.call(a,s);u||(s=Re(s),u=i.call(a,s));const c=l.call(a,s);return a.set(s,o),u?$n(o,c)&&lr(a,"set",s,o):lr(a,"add",s,o),this},delete(s){const o=Re(this),{has:a,get:i}=Ea(o);let l=a.call(o,s);l||(s=Re(s),l=a.call(o,s)),i&&i.call(o,s);const u=o.delete(s);return l&&lr(o,"delete",s,void 0),u},clear(){const s=Re(this),o=s.size!==0,a=s.clear();return o&&lr(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=P_(s,e,t)}),n}function Fi(e,t){const n=B_(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Pe(n,s)&&s in r?n:r,s,o)}const O_={get:Fi(!1,!1)},k_={get:Fi(!1,!0)},F_={get:Fi(!0,!1)},M_={get:Fi(!0,!0)},Wm=new WeakMap,Dm=new WeakMap,Vm=new WeakMap,Gm=new WeakMap;function L_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function In(e){return hr(e)?e:Li(e,!1,I_,O_,Wm)}function Mi(e){return Li(e,!1,T_,k_,Dm)}function Ls(e){return Li(e,!0,C_,F_,Vm)}function $_(e){return Li(e,!0,R_,M_,Gm)}function Li(e,t,n,r,s){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const a=L_(a_(e));if(a===0)return e;const i=new Proxy(e,a===2?r:n);return s.set(e,i),i}function Wn(e){return hr(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function hr(e){return!!(e&&e.__v_isReadonly)}function Xt(e){return!!(e&&e.__v_isShallow)}function $i(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Ac(e){return!Pe(e,"__v_skip")&&Object.isExtensible(e)&&_m(e,"__v_skip",!0),e}const xn=e=>Ce(e)?In(e):e,$s=e=>Ce(e)?Ls(e):e;function Ke(e){return e?e.__v_isRef===!0:!1}function J(e){return Ym(e,!1)}function to(e){return Ym(e,!0)}function Ym(e,t){return Ke(e)?e:new W_(e,t)}class W_{constructor(t,n){this.dep=new Ec,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:xn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Xt(t)||hr(t);t=r?t:Re(t),$n(t,n)&&(this._rawValue=t,this._value=r?t:xn(t),this.dep.trigger())}}function A(e){return Ke(e)?e.value:e}function ln(e){return me(e)?e():A(e)}const D_={get:(e,t,n)=>t==="__v_raw"?e:A(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ke(s)&&!Ke(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Um(e){return Wn(e)?e:new Proxy(e,D_)}function V_(e){const t=ue(e)?new Array(e.length):{};for(const n in e)t[n]=jm(e,n);return t}class G_{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=zt(n)?n:String(n),this._raw=Re(t);let s=!0,o=t;if(!ue(t)||zt(this._key)||!Ri(this._key))do s=!$i(o)||Xt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=A(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ke(this._raw[this._key])){const n=this._object[this._key];if(Ke(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return E_(this._raw,this._key)}}class Y_{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Et(e,t,n){return Ke(e)?e:me(e)?new Y_(e):Ce(e)&&arguments.length>1?jm(e,t,n):J(e)}function jm(e,t,n){return new G_(e,t,n)}class U_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ec(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ho-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return Tm(this,!0),!0}get value(){const t=this.dep.track();return Bm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function j_(e,t,n=!1){let r,s;return me(e)?r=e:(r=e.get,s=e.set),new U_(r,s,n)}const Sa={},si=new WeakMap;let zr;function Z_(e,t=!1,n=zr){if(n){let r=si.get(n);r||si.set(n,r=[]),r.push(e)}}function K_(e,t,n=De){const{immediate:r,deep:s,once:o,scheduler:a,augmentJob:i,call:l}=n,u=w=>s?w:Xt(w)||s===!1||s===0?ur(w,1):ur(w);let c,f,d,p,h=!1,m=!1;if(Ke(e)?(f=()=>e.value,h=Xt(e)):Wn(e)?(f=()=>u(e),h=!0):ue(e)?(m=!0,h=e.some(w=>Wn(w)||Xt(w)),f=()=>e.map(w=>{if(Ke(w))return w.value;if(Wn(w))return u(w);if(me(w))return l?l(w,2):w()})):me(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){dr();try{d()}finally{pr()}}const w=zr;zr=c;try{return l?l(e,3,[p]):e(p)}finally{zr=w}}:f=Rt,t&&s){const w=f,P=s===!0?1/0:s;f=()=>ur(w(),P)}const g=vc(),y=()=>{c.stop(),g&&g.active&&gc(g.effects,c)};if(o&&t){const w=t;t=(...P)=>{const G=w(...P);return y(),G}}let b=m?new Array(e.length).fill(Sa):Sa;const E=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const P=c.run();if(w||s||h||(m?P.some((G,B)=>$n(G,b[B])):$n(P,b))){d&&d();const G=zr;zr=c;try{const B=[P,b===Sa?void 0:m&&b[0]===Sa?[]:b,p];b=P,l?l(t,3,B):t(...B)}finally{zr=G}}}else c.run()};return i&&i(E),c=new Im(f),c.scheduler=a?()=>a(E,!1):E,p=w=>Z_(w,!1,c),d=c.onStop=()=>{const w=si.get(c);if(w){if(l)l(w,4);else for(const P of w)P();si.delete(c)}},t?r?E(!0):b=c.run():a?a(E.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function ur(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--,Ke(e))ur(e.value,t,n);else if(ue(e))for(let r=0;r<e.length;r++)ur(e[r],t,n);else if(gm(e)||Fs(e))e.forEach(r=>{ur(r,t,n)});else if(ym(e)){for(const r in e)ur(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ur(e[r],t,n)}return e}function ha(e,t,n,r){try{return r?e(...r):e()}catch(s){Wi(s,t,n)}}function cn(e,t,n,r){if(me(e)){const s=ha(e,t,n,r);return s&&bm(s)&&s.catch(o=>{Wi(o,t,n)}),s}if(ue(e)){const s=[];for(let o=0;o<e.length;o++)s.push(cn(e[o],t,n,r));return s}}function Wi(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||De;if(t){let i=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}i=i.parent}if(o){dr(),ha(o,null,10,[e,l,u]),pr();return}}H_(e,n,s,r,a)}function H_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ft=[];let Fn=-1;const Ms=[];let Rr=null,Is=0;const Zm=Promise.resolve();let oi=null;function fn(e){const t=oi||Zm;return e?t.then(this?e.bind(this):e):t}function X_(e){let t=Fn+1,n=Ft.length;for(;t<n;){const r=t+n>>>1,s=Ft[r],o=zo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Sc(e){if(!(e.flags&1)){const t=zo(e),n=Ft[Ft.length-1];!n||!(e.flags&2)&&t>=zo(n)?Ft.push(e):Ft.splice(X_(t),0,e),e.flags|=1,Km()}}function Km(){oi||(oi=Zm.then(zm))}function Hm(e){ue(e)?Ms.push(...e):Rr&&e.id===-1?Rr.splice(Is+1,0,e):e.flags&1||(Ms.push(e),e.flags|=1),Km()}function Lf(e,t,n=Fn+1){for(;n<Ft.length;n++){const r=Ft[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ft.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Xm(e){if(Ms.length){const t=[...new Set(Ms)].sort((n,r)=>zo(n)-zo(r));if(Ms.length=0,Rr){Rr.push(...t);return}for(Rr=t,Is=0;Is<Rr.length;Is++){const n=Rr[Is];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Rr=null,Is=0}}const zo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zm(e){try{for(Fn=0;Fn<Ft.length;Fn++){const t=Ft[Fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ha(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Fn<Ft.length;Fn++){const t=Ft[Fn];t&&(t.flags&=-2)}Fn=-1,Ft.length=0,Xm(),oi=null,(Ft.length||Ms.length)&&zm()}}let At=null,Jm=null;function ai(e){const t=At;return At=e,Jm=e&&e.type.__scopeId||null,t}function he(e,t=At,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&fi(-1);const o=ai(t);let a;try{a=e(...s)}finally{ai(o),r._d&&fi(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function no(e,t){if(At===null)return e;const n=Yi(At),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,a,i,l=De]=t[s];o&&(me(o)&&(o={mounted:o,updated:o}),o.deep&&ur(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l}))}return e}function Ur(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];o&&(i.oldValue=o[a].value);let l=i.dir[r];l&&(dr(),cn(l,n,8,[e.el,i,e,t]),pr())}}function nt(e,t){if(Tt){let n=Tt.provides;const r=Tt.parent&&Tt.parent.provides;r===n&&(n=Tt.provides=Object.create(r)),n[e]=t}}function be(e,t,n=!1){const r=Je();if(r||is){let s=is?is._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&&me(t)?t.call(r&&r.proxy):t}}function z_(){return!!(Je()||is)}const J_=Symbol.for("v-scx"),Q_=()=>be(J_);function Qm(e,t){return xc(e,null,t)}function Ie(e,t,n){return xc(e,t,n)}function xc(e,t,n=De){const{immediate:r,deep:s,flush:o,once:a}=n,i=gt({},n),l=t&&r||!t&&o!=="post";let u;if(Qo){if(o==="sync"){const p=Q_();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Rt,p.resume=Rt,p.pause=Rt,p}}const c=Tt;i.call=(p,h,m)=>cn(p,c,h,m);let f=!1;o==="post"?i.scheduler=p=>{ht(p,c&&c.suspense)}:o!=="sync"&&(f=!0,i.scheduler=(p,h)=>{h?p():Sc(p)}),i.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=K_(e,t,i);return Qo&&(u?u.push(d):l&&d()),d}function q_(e,t,n){const r=this.proxy,s=Ne(e)?e.includes(".")?qm(r,e):()=>r[e]:e.bind(r,r);let o;me(t)?o=t:(o=t.handler,n=t);const a=ga(this),i=xc(s,o.bind(r),n);return a(),i}function qm(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 Ar=new WeakMap,eg=Symbol("_vte"),tg=e=>e.__isTeleport,ts=e=>e&&(e.disabled||e.disabled===""),ew=e=>e&&(e.defer||e.defer===""),$f=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,tu=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},tw={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,a,i,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:g,parentNode:y}}=u,b=ts(t.props);let{dynamicChildren:E}=t;const w=(B,O,R)=>{B.shapeFlag&16&&c(B.children,O,R,s,o,a,i,l)},P=(B=t)=>{const O=ts(B.props),R=B.target=tu(B.props,h),F=nu(R,B,m,p);R&&(a!=="svg"&&$f(R)?a="svg":a!=="mathml"&&Wf(R)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(R),O||(w(B,R,F),Eo(B,!1)))},G=B=>{const O=()=>{if(Ar.get(B)===O){if(Ar.delete(B),ts(B.props)){const R=y(B.el)||n;w(B,R,B.anchor),Eo(B,!0)}P(B)}};Ar.set(B,O),ht(O,o)};if(e==null){const B=t.el=m(""),O=t.anchor=m("");if(p(B,n,r),p(O,n,r),ew(t.props)||o&&o.pendingBranch){G(t);return}b&&(w(t,n,O),Eo(t,!0)),P()}else{t.el=e.el;const B=t.anchor=e.anchor,O=Ar.get(e);if(O){O.flags|=8,Ar.delete(e),G(t);return}t.targetStart=e.targetStart;const R=t.target=e.target,F=t.targetAnchor=e.targetAnchor,D=ts(e.props),k=D?n:R,U=D?B:F;if(a==="svg"||$f(R)?a="svg":(a==="mathml"||Wf(R))&&(a="mathml"),E?(d(e.dynamicChildren,E,k,s,o,a,i),Pc(e,t,!0)):l||f(e,t,k,U,s,o,a,i,!1),b)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xa(t,n,B,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=tu(t.props,h);Z&&xa(t,Z,null,u,0)}else D&&xa(t,R,F,u,1);Eo(t,b)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:i,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e,p=o||!ts(d),h=Ar.get(e);if(h&&(h.flags|=8,Ar.delete(e)),f&&(s(u),s(c)),o&&s(l),!h&&a&16)for(let m=0;m<i.length;m++){const g=i[m];r(g,t,n,p,!!g.dynamicChildren)}},move:xa,hydrate:nw};function xa(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:i,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(a,t,n),!Ar.has(e)&&(!f||ts(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&r(i,t,n)}function nw(e,t,n,r,s,o,{o:{nextSibling:a,parentNode:i,querySelector:l,insert:u,createText:c}},f){function d(g,y){let b=y;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,g._lpa=t.targetAnchor&&a(t.targetAnchor);break}}b=a(b)}}function p(g,y){y.anchor=f(a(g),y,i(g),n,r,s,o)}const h=t.target=tu(t.props,l),m=ts(t.props);if(h){const g=h._lpa||h.firstChild;t.shapeFlag&16&&(m?(p(e,t),d(h,g),t.targetAnchor||nu(h,t,c,u,i(e)===h?e:null)):(t.anchor=a(e),d(h,g),t.targetAnchor||nu(h,t,c,u),f(g&&a(g),t,h,n,r,s,o))),Eo(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const rw=tw;function Eo(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function nu(e,t,n,r,s=null){const o=t.targetStart=n(""),a=t.targetAnchor=n("");return o[eg]=a,e&&(r(o,e,s),r(a,e,s)),a}const an=Symbol("_leaveCb"),fo=Symbol("_enterCb");function sw(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return it(()=>{e.isMounted=!0}),vt(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],ng={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},rg=e=>{const t=e.subTree;return t.component?rg(t.component):t},ow={name:"BaseTransition",props:ng,setup(e,{slots:t}){const n=Je(),r=sw();return()=>{const s=t.default&&ag(t.default(),!0),o=s&&s.length?sg(s):n.subTree?ze():void 0;if(!o)return;const a=Re(e),{mode:i}=a;if(r.isLeaving)return pl(o);const l=Df(o);if(!l)return pl(o);let u=ru(l,a,r,n,f=>u=f);l.type!==mt&&Ws(l,u);let c=n.subTree&&Df(n.subTree);if(c&&c.type!==mt&&!kr(c,l)&&rg(n).type!==mt){let f=ru(c,a,r,n);if(Ws(c,f),i==="out-in"&&l.type!==mt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},pl(o);i==="in-out"&&l.type!==mt?f.delayLeave=(d,p,h)=>{const m=og(r,c);m[String(c.key)]=c,d[an]=()=>{p(),d[an]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function sg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==mt){t=n;break}}return t}const aw=ow;function og(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 ru(e,t,n,r,s){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:E}=t,w=String(e.key),P=og(n,e),G=(R,F)=>{R&&cn(R,r,9,F)},B=(R,F)=>{const D=F[1];G(R,F),ue(R)?R.every(k=>k.length<=1)&&D():R.length<=1&&D()},O={mode:a,persisted:i,beforeEnter(R){let F=l;if(!n.isMounted)if(o)F=g||l;else return;R[an]&&R[an](!0);const D=P[w];D&&kr(e,D)&&D.el[an]&&D.el[an](),G(F,[R])},enter(R){if(P[w]===e)return;let F=u,D=c,k=f;if(!n.isMounted)if(o)F=y||u,D=b||c,k=E||f;else return;let U=!1;R[fo]=j=>{U||(U=!0,j?G(k,[R]):G(D,[R]),O.delayedLeave&&O.delayedLeave(),R[fo]=void 0)};const Z=R[fo].bind(null,!1);F?B(F,[R,Z]):Z()},leave(R,F){const D=String(e.key);if(R[fo]&&R[fo](!0),n.isUnmounting)return F();G(d,[R]);let k=!1;R[an]=Z=>{k||(k=!0,F(),Z?G(m,[R]):G(h,[R]),R[an]=void 0,P[D]===e&&delete P[D])};const U=R[an].bind(null,!1);P[D]=e,p?B(p,[R,U]):U()},clone(R){const F=ru(R,t,n,r,s);return s&&s(F),F}};return O}function pl(e){if(Di(e))return e=Gn(e),e.children=null,e}function Df(e){if(!Di(e))return tg(e.type)&&e.children?sg(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&&me(n.default))return n.default()}}function Ws(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ws(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 ag(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let a=e[o];const i=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===Xe?(a.patchFlag&128&&s++,r=r.concat(ag(a.children,t,i))):(t||a.type!==mt)&&r.push(i!=null?Gn(a,{key:i}):a)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function de(e,t){return me(e)?gt({name:e.name},t,{setup:e}):e}function ig(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function iw(e){const t=Je(),n=to(null);if(t){const s=t.refs===De?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function Vf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ii=new WeakMap;function Mo(e,t,n,r,s=!1){if(ue(e)){e.forEach((m,g)=>Mo(m,t&&(ue(t)?t[g]:t),n,r,s));return}if(Lr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Mo(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Yi(r.component):r.el,a=s?null:o,{i,r:l}=e,u=t&&t.r,c=i.refs===De?i.refs={}:i.refs,f=i.setupState,d=Re(f),p=f===De?mm:m=>Vf(c,m)?!1:Pe(d,m),h=(m,g)=>!(g&&Vf(c,g));if(u!=null&&u!==l){if(Gf(t),Ne(u))c[u]=null,p(u)&&(f[u]=null);else if(Ke(u)){const m=t;h(u,m.k)&&(u.value=null),m.k&&(c[m.k]=null)}}if(me(l))ha(l,i,12,[a,c]);else{const m=Ne(l),g=Ke(l);if(m||g){const y=()=>{if(e.f){const b=m?p(l)?f[l]:c[l]:h()||!e.k?l.value:c[e.k];if(s)ue(b)&&gc(b,o);else if(ue(b))b.includes(o)||b.push(o);else if(m)c[l]=[o],p(l)&&(f[l]=c[l]);else{const E=[o];h(l,e.k)&&(l.value=E),e.k&&(c[e.k]=E)}}else m?(c[l]=a,p(l)&&(f[l]=a)):g&&(h(l,e.k)&&(l.value=a),e.k&&(c[e.k]=a))};if(a){const b=()=>{y(),ii.delete(e)};b.id=-1,ii.set(e,b),ht(b,n)}else Gf(e),y()}}}function Gf(e){const t=ii.get(e);t&&(t.flags|=8,ii.delete(e))}Oi().requestIdleCallback;Oi().cancelIdleCallback;const Lr=e=>!!e.type.__asyncLoader,Di=e=>e.type.__isKeepAlive,lw={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Je(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const s=new Map,o=new Set;let a=null;const i=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(b,E,w,P,G)=>{const B=b.component;u(b,E,w,0,i),l(B.vnode,b,E,w,B,i,P,b.slotScopeIds,G),ht(()=>{B.isDeactivated=!1,B.a&&Oo(B.a);const O=b.props&&b.props.onVnodeMounted;O&&on(O,B.parent,b)},i)},r.deactivate=b=>{const E=b.component;ui(E.m),ui(E.a),u(b,d,null,1,i),ht(()=>{E.da&&Oo(E.da);const w=b.props&&b.props.onVnodeUnmounted;w&&on(w,E.parent,b),E.isDeactivated=!0},i)};function p(b){hl(b),c(b,n,i,!0)}function h(b){s.forEach((E,w)=>{const P=uu(Lr(E)?E.type.__asyncResolved||{}:E.type);P&&!b(P)&&m(w)})}function m(b){const E=s.get(b);E&&(!a||!kr(E,a))?p(E):a&&hl(a),s.delete(b),o.delete(b)}Ie(()=>[e.include,e.exclude],([b,E])=>{b&&h(w=>Ao(b,w)),E&&h(w=>!Ao(E,w))},{flush:"post",deep:!0});let g=null;const y=()=>{g!=null&&(ci(n.subTree.type)?ht(()=>{s.set(g,Na(n.subTree))},n.subTree.suspense):s.set(g,Na(n.subTree)))};return it(y),Nc(y),vt(()=>{s.forEach(b=>{const{subTree:E,suspense:w}=n,P=Na(E);if(b.type===P.type&&b.key===P.key){hl(P);const G=P.component.da;G&&ht(G,w);return}p(b)})}),()=>{if(g=null,!t.default)return a=null;const b=t.default(),E=b[0];if(b.length>1)return a=null,b;if(!En(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return a=null,E;let w=Na(E);if(w.type===mt)return a=null,w;const P=w.type,G=uu(Lr(w)?w.type.__asyncResolved||{}:P),{include:B,exclude:O,max:R}=e;if(B&&(!G||!Ao(B,G))||O&&G&&Ao(O,G))return w.shapeFlag&=-257,a=w,E;const F=w.key==null?P:w.key,D=s.get(F);return w.el&&(w=Gn(w),E.shapeFlag&128&&(E.ssContent=w)),g=F,D?(w.el=D.el,w.component=D.component,w.transition&&Ws(w,w.transition),w.shapeFlag|=512,o.delete(F),o.add(F)):(o.add(F),R&&o.size>parseInt(R,10)&&m(o.values().next().value)),w.shapeFlag|=256,a=w,ci(E.type)?E:w}}},uw=lw;function Ao(e,t){return ue(e)?e.some(n=>Ao(n,t)):Ne(e)?e.split(",").includes(t):o_(e)?(e.lastIndex=0,e.test(t)):!1}function lg(e,t){cg(e,"a",t)}function ug(e,t){cg(e,"da",t)}function cg(e,t,n=Tt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Di(s.parent.vnode)&&cw(r,t,n,s),s=s.parent}}function cw(e,t,n,r){const s=Vi(t,e,r,!0);ma(()=>{gc(r[t],s)},n)}function hl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Na(e){return e.shapeFlag&128?e.ssContent:e}function Vi(e,t,n=Tt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{dr();const i=ga(n),l=cn(t,n,e,a);return i(),pr(),l});return r?s.unshift(o):s.push(o),o}}const gr=e=>(t,n=Tt)=>{(!Qo||e==="sp")&&Vi(e,(...r)=>t(...r),n)},fg=gr("bm"),it=gr("m"),dg=gr("bu"),Nc=gr("u"),vt=gr("bum"),ma=gr("um"),fw=gr("sp"),dw=gr("rtg"),pw=gr("rtc");function hw(e,t=Tt){Vi("ec",e,t)}const Ic="components",mw="directives";function Lt(e,t){return Cc(Ic,e,!0,t)||e}const pg=Symbol.for("v-ndc");function as(e){return Ne(e)?Cc(Ic,e,!1)||e:e||pg}function ak(e){return Cc(mw,e)}function Cc(e,t,n=!0,r=!1){const s=At||Tt;if(s){const o=s.type;if(e===Ic){const i=uu(o,!1);if(i&&(i===t||i===Pt(t)||i===Bi(Pt(t))))return o}const a=Yf(s[e]||o[e],t)||Yf(s.appContext[e],t);return!a&&r?o:a}}function Yf(e,t){return e&&(e[t]||e[Pt(t)]||e[Bi(Pt(t))])}function hg(e,t,n,r){let s;const o=n,a=ue(e);if(a||Ne(e)){const i=a&&Wn(e);let l=!1,u=!1;i&&(l=!Xt(e),u=hr(e),e=ki(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?$s(xn(e[c])):xn(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o)}else if(Ce(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,u=i.length;l<u;l++){const c=i[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function mg(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ue(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function we(e,t,n={},r,s){if(At.ce||At.parent&&Lr(At.parent)&&At.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),X(),xe(Xe,null,[Ae("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),X();const a=o&&gg(o(n)),i=n.key||a&&a.key,l=xe(Xe,{key:(i&&!zt(i)?i:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function gg(e){return e.some(t=>En(t)?!(t.type===mt||t.type===Xe&&!gg(t.children)):!0)?e:null}function gw(e,t){const n={};for(const r in e)n[Da(r)]=e[r];return n}const su=e=>e?Lg(e)?Yi(e):su(e.parent):null,Lo=gt(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=>su(e.parent),$root:e=>su(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_g(e),$forceUpdate:e=>e.f||(e.f=()=>{Sc(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>q_.bind(e)}),ml=(e,t)=>e!==De&&!e.__isScriptSetup&&Pe(e,t),bw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:a,type:i,appContext:l}=e;if(t[0]!=="$"){const d=a[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(ml(r,t))return a[t]=1,r[t];if(s!==De&&Pe(s,t))return a[t]=2,s[t];if(Pe(o,t))return a[t]=3,o[t];if(n!==De&&Pe(n,t))return a[t]=4,n[t];ou&&(a[t]=0)}}const u=Lo[t];let c,f;if(u)return t==="$attrs"&&Ct(e.attrs,"get",""),u(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(n!==De&&Pe(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Pe(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ml(s,t)?(s[t]=n,!0):r!==De&&Pe(r,t)?(r[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:a}},i){let l;return!!(n[i]||e!==De&&i[0]!=="$"&&Pe(e,i)||ml(t,i)||Pe(o,i)||Pe(r,i)||Pe(Lo,i)||Pe(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bg(){return vg().slots}function ik(){return vg().attrs}function vg(e){const t=Je();return t.setupContext||(t.setupContext=Wg(t))}function Uf(e){return ue(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ou=!0;function vw(e){const t=_g(e),n=e.proxy,r=e.ctx;ou=!1,t.beforeCreate&&jf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:i,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:E,unmounted:w,render:P,renderTracked:G,renderTriggered:B,errorCaptured:O,serverPrefetch:R,expose:F,inheritAttrs:D,components:k,directives:U,filters:Z}=t;if(u&&yw(u,r,null),a)for(const x in a){const C=a[x];me(C)&&(r[x]=C.bind(n))}if(s){const x=s.call(n,n);Ce(x)&&(e.data=In(x))}if(ou=!0,o)for(const x in o){const C=o[x],H=me(C)?C.bind(n,n):me(C.get)?C.get.bind(n,n):Rt,ne=!me(C)&&me(C.set)?C.set.bind(n):Rt,le=T({get:H,set:ne});Object.defineProperty(r,x,{enumerable:!0,configurable:!0,get:()=>le.value,set:ae=>le.value=ae})}if(i)for(const x in i)yg(i[x],r,n,x);if(l){const x=me(l)?l.call(n):l;Reflect.ownKeys(x).forEach(C=>{nt(C,x[C])})}c&&jf(c,e,"c");function L(x,C){ue(C)?C.forEach(H=>x(H.bind(n))):C&&x(C.bind(n))}if(L(fg,f),L(it,d),L(dg,p),L(Nc,h),L(lg,m),L(ug,g),L(hw,O),L(pw,G),L(dw,B),L(vt,b),L(ma,w),L(fw,R),ue(F))if(F.length){const x=e.exposed||(e.exposed={});F.forEach(C=>{Object.defineProperty(x,C,{get:()=>n[C],set:H=>n[C]=H,enumerable:!0})})}else e.exposed||(e.exposed={});P&&e.render===Rt&&(e.render=P),D!=null&&(e.inheritAttrs=D),k&&(e.components=k),U&&(e.directives=U),R&&ig(e)}function yw(e,t,n=Rt){ue(e)&&(e=au(e));for(const r in e){const s=e[r];let o;Ce(s)?"default"in s?o=be(s.from||r,s.default,!0):o=be(s.from||r):o=be(s),Ke(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function jf(e,t,n){cn(ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yg(e,t,n,r){let s=r.includes(".")?qm(n,r):()=>n[r];if(Ne(e)){const o=t[e];me(o)&&Ie(s,o)}else if(me(e))Ie(s,e.bind(n));else if(Ce(e))if(ue(e))e.forEach(o=>yg(o,t,n,r));else{const o=me(e.handler)?e.handler.bind(n):t[e.handler];me(o)&&Ie(s,o,e)}}function _g(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,i=o.get(t);let l;return i?l=i:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>li(l,u,a,!0)),li(l,t,a)),Ce(t)&&o.set(t,l),l}function li(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&li(e,o,n,!0),s&&s.forEach(a=>li(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=_w[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const _w={data:Zf,props:Kf,emits:Kf,methods:So,computed:So,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:So,directives:So,watch:Ew,provide:Zf,inject:ww};function Zf(e,t){return t?e?function(){return gt(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function ww(e,t){return So(au(e),au(t))}function au(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Bt(e,t){return e?[...new Set([].concat(e,t))]:t}function So(e,t){return e?gt(Object.create(null),e,t):t}function Kf(e,t){return e?ue(e)&&ue(t)?[...new Set([...e,...t])]:gt(Object.create(null),Uf(e),Uf(t??{})):t}function Ew(e,t){if(!e)return t;if(!t)return e;const n=gt(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n}function wg(){return{app:null,config:{isNativeTag:mm,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 Aw=0;function Sw(e,t){return function(r,s=null){me(r)||(r=gt({},r)),s!=null&&!Ce(s)&&(s=null);const o=wg(),a=new WeakSet,i=[];let l=!1;const u=o.app={_uid:Aw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Qw,get config(){return o.config},set config(c){},use(c,...f){return a.has(c)||(c&&me(c.install)?(a.add(c),c.install(u,...f)):me(c)&&(a.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const p=u._ceVNode||Ae(r,s);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),e(p,c,d),l=!0,u._container=c,c.__vue_app__=u,Yi(p.component)}},onUnmount(c){i.push(c)},unmount(){l&&(cn(i,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=is;is=u;try{return c()}finally{is=f}}};return u}}let is=null;const xw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${bs(t)}Modifiers`];function Nw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||De;let s=n;const o=t.startsWith("update:"),a=o&&xw(r,t.slice(7));a&&(a.trim&&(s=n.map(c=>Ne(c)?c.trim():c)),a.number&&(s=n.map(u_)));let i,l=r[i=Da(t)]||r[i=Da(Pt(t))];!l&&o&&(l=r[i=Da(bs(t))]),l&&cn(l,e,6,s);const u=r[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,cn(u,e,6,s)}}const Iw=new WeakMap;function Eg(e,t,n=!1){const r=n?Iw:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},i=!1;if(!me(e)){const l=u=>{const c=Eg(u,t,!0);c&&(i=!0,gt(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(Ce(e)&&r.set(e,null),null):(ue(o)?o.forEach(l=>a[l]=null):gt(a,o),Ce(e)&&r.set(e,a),a)}function Gi(e,t){return!e||!Ci(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,bs(t))||Pe(e,t))}function Hf(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:a,attrs:i,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,g=ai(e);let y,b;try{if(n.shapeFlag&4){const w=s||r,P=w;y=Ln(u.call(P,w,c,f,p,d,h)),b=i}else{const w=t;y=Ln(w.length>1?w(f,{attrs:i,slots:a,emit:l}):w(f,null)),b=t.props?i:Cw(i)}}catch(w){$o.length=0,Wi(w,e,1),y=Ae(mt)}let E=y;if(b&&m!==!1){const w=Object.keys(b),{shapeFlag:P}=E;w.length&&P&7&&(o&&w.some(Ti)&&(b=Tw(b,o)),E=Gn(E,b,!1,!0))}return n.dirs&&(E=Gn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ws(E,n.transition),y=E,ai(g),y}const Cw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ci(n))&&((t||(t={}))[n]=e[n]);return t},Tw=(e,t)=>{const n={};for(const r in e)(!Ti(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Rw(e,t,n){const{props:r,children:s,component:o}=e,{props:a,children:i,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xf(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(Ag(a,r,d)&&!Gi(u,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===a?!1:r?a?Xf(r,a,u):!0:!!a;return!1}function Xf(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 o=r[s];if(Ag(t,e,o)&&!Gi(n,o))return!0}return!1}function Ag(e,t,n){const r=e[n],s=t[n];return n==="style"&&Ce(r)&&Ce(s)?!bc(r,s):r!==s}function Pw({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 Sg={},xg=()=>Object.create(Sg),Ng=e=>Object.getPrototypeOf(e)===Sg;function Bw(e,t,n,r=!1){const s={},o=xg();e.propsDefaults=Object.create(null),Ig(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:Mi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ow(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,i=Re(s),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Gi(e.emitsOptions,d))continue;const p=t[d];if(l)if(Pe(o,d))p!==o[d]&&(o[d]=p,u=!0);else{const h=Pt(d);s[h]=iu(l,i,h,p,e,!1)}else p!==o[d]&&(o[d]=p,u=!0)}}}else{Ig(e,t,s,o)&&(u=!0);let c;for(const f in i)(!t||!Pe(t,f)&&((c=bs(f))===f||!Pe(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=iu(l,i,f,void 0,e,!0)):delete s[f]);if(o!==i)for(const f in o)(!t||!Pe(t,f))&&(delete o[f],u=!0)}u&&lr(e.attrs,"set","")}function Ig(e,t,n,r){const[s,o]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(Bo(l))continue;const u=t[l];let c;s&&Pe(s,c=Pt(l))?!o||!o.includes(c)?n[c]=u:(i||(i={}))[c]=u:Gi(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,a=!0)}if(o){const l=Re(n),u=i||De;for(let c=0;c<o.length;c++){const f=o[c];n[f]=iu(s,l,f,u[f],e,!Pe(u,f))}}return a}function iu(e,t,n,r,s,o){const a=e[n];if(a!=null){const i=Pe(a,"default");if(i&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&me(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=ga(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}a[0]&&(o&&!i?r=!1:a[1]&&(r===""||r===bs(n))&&(r=!0))}return r}const kw=new WeakMap;function Cg(e,t,n=!1){const r=n?kw:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,a={},i=[];let l=!1;if(!me(e)){const c=f=>{l=!0;const[d,p]=Cg(f,t,!0);gt(a,d),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return Ce(e)&&r.set(e,ks),ks;if(ue(o))for(let c=0;c<o.length;c++){const f=Pt(o[c]);zf(f)&&(a[f]=De)}else if(o)for(const c in o){const f=Pt(c);if(zf(f)){const d=o[c],p=a[f]=ue(d)||me(d)?{type:d}:gt({},d),h=p.type;let m=!1,g=!0;if(ue(h))for(let y=0;y<h.length;++y){const b=h[y],E=me(b)&&b.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(g=!1)}else m=me(h)&&h.name==="Boolean";p[0]=m,p[1]=g,(m||Pe(p,"default"))&&i.push(f)}}const u=[a,i];return Ce(e)&&r.set(e,u),u}function zf(e){return e[0]!=="$"&&!Bo(e)}const Tc=e=>e==="_"||e==="_ctx"||e==="$stable",Rc=e=>ue(e)?e.map(Ln):[Ln(e)],Fw=(e,t,n)=>{if(t._n)return t;const r=he((...s)=>Rc(t(...s)),n);return r._c=!1,r},Tg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Tc(s))continue;const o=e[s];if(me(o))t[s]=Fw(s,o,r);else if(o!=null){const a=Rc(o);t[s]=()=>a}}},Rg=(e,t)=>{const n=Rc(t);e.slots.default=()=>n},Pg=(e,t,n)=>{for(const r in t)(n||!Tc(r))&&(e[r]=t[r])},Mw=(e,t,n)=>{const r=e.slots=xg();if(e.vnode.shapeFlag&32){const s=t._;s?(Pg(r,t,n),n&&_m(r,"_",s,!0)):Tg(t,r)}else t&&Rg(e,t)},Lw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=De;if(r.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:Pg(s,t,n):(o=!t.$stable,Tg(t,s)),a=t}else t&&(Rg(e,t),a={default:1});if(o)for(const i in s)!Tc(i)&&a[i]==null&&delete s[i]},ht=Gw;function $w(e){return Ww(e)}function Ww(e,t){const n=Oi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:i,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Rt,insertStaticContent:h}=e,m=(v,_,S,W=null,Y=null,$=null,re=void 0,ee=null,z=!!_.dynamicChildren)=>{if(v===_)return;v&&!kr(v,_)&&(W=M(v),ae(v,Y,$,!0),v=null),_.patchFlag===-2&&(z=!1,_.dynamicChildren=null);const{type:K,ref:ge,shapeFlag:oe}=_;switch(K){case ro:g(v,_,S,W);break;case mt:y(v,_,S,W);break;case Va:v==null&&b(_,S,W,re);break;case Xe:k(v,_,S,W,Y,$,re,ee,z);break;default:oe&1?P(v,_,S,W,Y,$,re,ee,z):oe&6?U(v,_,S,W,Y,$,re,ee,z):(oe&64||oe&128)&&K.process(v,_,S,W,Y,$,re,ee,z,ie)}ge!=null&&Y?Mo(ge,v&&v.ref,$,_||v,!_):ge==null&&v&&v.ref!=null&&Mo(v.ref,null,$,v,!0)},g=(v,_,S,W)=>{if(v==null)r(_.el=i(_.children),S,W);else{const Y=_.el=v.el;_.children!==v.children&&u(Y,_.children)}},y=(v,_,S,W)=>{v==null?r(_.el=l(_.children||""),S,W):_.el=v.el},b=(v,_,S,W)=>{[v.el,v.anchor]=h(v.children,_,S,W,v.el,v.anchor)},E=({el:v,anchor:_},S,W)=>{let Y;for(;v&&v!==_;)Y=d(v),r(v,S,W),v=Y;r(_,S,W)},w=({el:v,anchor:_})=>{let S;for(;v&&v!==_;)S=d(v),s(v),v=S;s(_)},P=(v,_,S,W,Y,$,re,ee,z)=>{if(_.type==="svg"?re="svg":_.type==="math"&&(re="mathml"),v==null)G(_,S,W,Y,$,re,ee,z);else{const K=v.el&&v.el._isVueCE?v.el:null;try{K&&K._beginPatch(),R(v,_,Y,$,re,ee,z)}finally{K&&K._endPatch()}}},G=(v,_,S,W,Y,$,re,ee)=>{let z,K;const{props:ge,shapeFlag:oe,transition:pe,dirs:ve}=v;if(z=v.el=a(v.type,$,ge&&ge.is,ge),oe&8?c(z,v.children):oe&16&&O(v.children,z,null,W,Y,gl(v,$),re,ee),ve&&Ur(v,null,W,"created"),B(z,v,v.scopeId,re,W),ge){for(const Fe in ge)Fe!=="value"&&!Bo(Fe)&&o(z,Fe,null,ge[Fe],$,W);"value"in ge&&o(z,"value",null,ge.value,$),(K=ge.onVnodeBeforeMount)&&on(K,W,v)}ve&&Ur(v,null,W,"beforeMount");const Te=Dw(Y,pe);Te&&pe.beforeEnter(z),r(z,_,S),((K=ge&&ge.onVnodeMounted)||Te||ve)&&ht(()=>{K&&on(K,W,v),Te&&pe.enter(z),ve&&Ur(v,null,W,"mounted")},Y)},B=(v,_,S,W,Y)=>{if(S&&p(v,S),W)for(let $=0;$<W.length;$++)p(v,W[$]);if(Y){let $=Y.subTree;if(_===$||ci($.type)&&($.ssContent===_||$.ssFallback===_)){const re=Y.vnode;B(v,re,re.scopeId,re.slotScopeIds,Y.parent)}}},O=(v,_,S,W,Y,$,re,ee,z=0)=>{for(let K=z;K<v.length;K++){const ge=v[K]=ee?ar(v[K]):Ln(v[K]);m(null,ge,_,S,W,Y,$,re,ee)}},R=(v,_,S,W,Y,$,re)=>{const ee=_.el=v.el;let{patchFlag:z,dynamicChildren:K,dirs:ge}=_;z|=v.patchFlag&16;const oe=v.props||De,pe=_.props||De;let ve;if(S&&jr(S,!1),(ve=pe.onVnodeBeforeUpdate)&&on(ve,S,_,v),ge&&Ur(_,v,S,"beforeUpdate"),S&&jr(S,!0),(oe.innerHTML&&pe.innerHTML==null||oe.textContent&&pe.textContent==null)&&c(ee,""),K?F(v.dynamicChildren,K,ee,S,W,gl(_,Y),$):re||C(v,_,ee,null,S,W,gl(_,Y),$,!1),z>0){if(z&16)D(ee,oe,pe,S,Y);else if(z&2&&oe.class!==pe.class&&o(ee,"class",null,pe.class,Y),z&4&&o(ee,"style",oe.style,pe.style,Y),z&8){const Te=_.dynamicProps;for(let Fe=0;Fe<Te.length;Fe++){const ke=Te[Fe],lt=oe[ke],yt=pe[ke];(yt!==lt||ke==="value")&&o(ee,ke,lt,yt,Y,S)}}z&1&&v.children!==_.children&&c(ee,_.children)}else!re&&K==null&&D(ee,oe,pe,S,Y);((ve=pe.onVnodeUpdated)||ge)&&ht(()=>{ve&&on(ve,S,_,v),ge&&Ur(_,v,S,"updated")},W)},F=(v,_,S,W,Y,$,re)=>{for(let ee=0;ee<_.length;ee++){const z=v[ee],K=_[ee],ge=z.el&&(z.type===Xe||!kr(z,K)||z.shapeFlag&198)?f(z.el):S;m(z,K,ge,null,W,Y,$,re,!0)}},D=(v,_,S,W,Y)=>{if(_!==S){if(_!==De)for(const $ in _)!Bo($)&&!($ in S)&&o(v,$,_[$],null,Y,W);for(const $ in S){if(Bo($))continue;const re=S[$],ee=_[$];re!==ee&&$!=="value"&&o(v,$,ee,re,Y,W)}"value"in S&&o(v,"value",_.value,S.value,Y)}},k=(v,_,S,W,Y,$,re,ee,z)=>{const K=_.el=v?v.el:i(""),ge=_.anchor=v?v.anchor:i("");let{patchFlag:oe,dynamicChildren:pe,slotScopeIds:ve}=_;ve&&(ee=ee?ee.concat(ve):ve),v==null?(r(K,S,W),r(ge,S,W),O(_.children||[],S,ge,Y,$,re,ee,z)):oe>0&&oe&64&&pe&&v.dynamicChildren&&v.dynamicChildren.length===pe.length?(F(v.dynamicChildren,pe,S,Y,$,re,ee),(_.key!=null||Y&&_===Y.subTree)&&Pc(v,_,!0)):C(v,_,S,ge,Y,$,re,ee,z)},U=(v,_,S,W,Y,$,re,ee,z)=>{_.slotScopeIds=ee,v==null?_.shapeFlag&512?Y.ctx.activate(_,S,W,re,z):Z(_,S,W,Y,$,re,z):j(v,_,z)},Z=(v,_,S,W,Y,$,re)=>{const ee=v.component=Kw(v,W,Y);if(Di(v)&&(ee.ctx.renderer=ie),Hw(ee,!1,re),ee.asyncDep){if(Y&&Y.registerDep(ee,L,re),!v.el){const z=ee.subTree=Ae(mt);y(null,z,_,S),v.placeholder=z.el}}else L(ee,v,_,S,Y,$,re)},j=(v,_,S)=>{const W=_.component=v.component;if(Rw(v,_,S))if(W.asyncDep&&!W.asyncResolved){x(W,_,S);return}else W.next=_,W.update();else _.el=v.el,W.vnode=_},L=(v,_,S,W,Y,$,re)=>{const ee=()=>{if(v.isMounted){let{next:oe,bu:pe,u:ve,parent:Te,vnode:Fe}=v;{const Tn=Bg(v);if(Tn){oe&&(oe.el=Fe.el,x(v,oe,re)),Tn.asyncDep.then(()=>{ht(()=>{v.isUnmounted||K()},Y)});return}}let ke=oe,lt;jr(v,!1),oe?(oe.el=Fe.el,x(v,oe,re)):oe=Fe,pe&&Oo(pe),(lt=oe.props&&oe.props.onVnodeBeforeUpdate)&&on(lt,Te,oe,Fe),jr(v,!0);const yt=Hf(v),Cn=v.subTree;v.subTree=yt,m(Cn,yt,f(Cn.el),M(Cn),v,Y,$),oe.el=yt.el,ke===null&&Pw(v,yt.el),ve&&ht(ve,Y),(lt=oe.props&&oe.props.onVnodeUpdated)&&ht(()=>on(lt,Te,oe,Fe),Y)}else{let oe;const{el:pe,props:ve}=_,{bm:Te,m:Fe,parent:ke,root:lt,type:yt}=v,Cn=Lr(_);jr(v,!1),Te&&Oo(Te),!Cn&&(oe=ve&&ve.onVnodeBeforeMount)&&on(oe,ke,_),jr(v,!0);{lt.ce&&lt.ce._hasShadowRoot()&&lt.ce._injectChildStyle(yt,v.parent?v.parent.type:void 0);const Tn=v.subTree=Hf(v);m(null,Tn,S,W,v,Y,$),_.el=Tn.el}if(Fe&&ht(Fe,Y),!Cn&&(oe=ve&&ve.onVnodeMounted)){const Tn=_;ht(()=>on(oe,ke,Tn),Y)}(_.shapeFlag&256||ke&&Lr(ke.vnode)&&ke.vnode.shapeFlag&256)&&v.a&&ht(v.a,Y),v.isMounted=!0,_=S=W=null}};v.scope.on();const z=v.effect=new Im(ee);v.scope.off();const K=v.update=z.run.bind(z),ge=v.job=z.runIfDirty.bind(z);ge.i=v,ge.id=v.uid,z.scheduler=()=>Sc(ge),jr(v,!0),K()},x=(v,_,S)=>{_.component=v;const W=v.vnode.props;v.vnode=_,v.next=null,Ow(v,_.props,W,S),Lw(v,_.children,S),dr(),Lf(v),pr()},C=(v,_,S,W,Y,$,re,ee,z=!1)=>{const K=v&&v.children,ge=v?v.shapeFlag:0,oe=_.children,{patchFlag:pe,shapeFlag:ve}=_;if(pe>0){if(pe&128){ne(K,oe,S,W,Y,$,re,ee,z);return}else if(pe&256){H(K,oe,S,W,Y,$,re,ee,z);return}}ve&8?(ge&16&&He(K,Y,$),oe!==K&&c(S,oe)):ge&16?ve&16?ne(K,oe,S,W,Y,$,re,ee,z):He(K,Y,$,!0):(ge&8&&c(S,""),ve&16&&O(oe,S,W,Y,$,re,ee,z))},H=(v,_,S,W,Y,$,re,ee,z)=>{v=v||ks,_=_||ks;const K=v.length,ge=_.length,oe=Math.min(K,ge);let pe;for(pe=0;pe<oe;pe++){const ve=_[pe]=z?ar(_[pe]):Ln(_[pe]);m(v[pe],ve,S,null,Y,$,re,ee,z)}K>ge?He(v,Y,$,!0,!1,oe):O(_,S,W,Y,$,re,ee,z,oe)},ne=(v,_,S,W,Y,$,re,ee,z)=>{let K=0;const ge=_.length;let oe=v.length-1,pe=ge-1;for(;K<=oe&&K<=pe;){const ve=v[K],Te=_[K]=z?ar(_[K]):Ln(_[K]);if(kr(ve,Te))m(ve,Te,S,null,Y,$,re,ee,z);else break;K++}for(;K<=oe&&K<=pe;){const ve=v[oe],Te=_[pe]=z?ar(_[pe]):Ln(_[pe]);if(kr(ve,Te))m(ve,Te,S,null,Y,$,re,ee,z);else break;oe--,pe--}if(K>oe){if(K<=pe){const ve=pe+1,Te=ve<ge?_[ve].el:W;for(;K<=pe;)m(null,_[K]=z?ar(_[K]):Ln(_[K]),S,Te,Y,$,re,ee,z),K++}}else if(K>pe)for(;K<=oe;)ae(v[K],Y,$,!0),K++;else{const ve=K,Te=K,Fe=new Map;for(K=Te;K<=pe;K++){const Yt=_[K]=z?ar(_[K]):Ln(_[K]);Yt.key!=null&&Fe.set(Yt.key,K)}let ke,lt=0;const yt=pe-Te+1;let Cn=!1,Tn=0;const uo=new Array(yt);for(K=0;K<yt;K++)uo[K]=0;for(K=ve;K<=oe;K++){const Yt=v[K];if(lt>=yt){ae(Yt,Y,$,!0);continue}let Rn;if(Yt.key!=null)Rn=Fe.get(Yt.key);else for(ke=Te;ke<=pe;ke++)if(uo[ke-Te]===0&&kr(Yt,_[ke])){Rn=ke;break}Rn===void 0?ae(Yt,Y,$,!0):(uo[Rn-Te]=K+1,Rn>=Tn?Tn=Rn:Cn=!0,m(Yt,_[Rn],S,null,Y,$,re,ee,z),lt++)}const Rf=Cn?Vw(uo):ks;for(ke=Rf.length-1,K=yt-1;K>=0;K--){const Yt=Te+K,Rn=_[Yt],Pf=_[Yt+1],Bf=Yt+1<ge?Pf.el||Og(Pf):W;uo[K]===0?m(null,Rn,S,Bf,Y,$,re,ee,z):Cn&&(ke<0||K!==Rf[ke]?le(Rn,S,Bf,2):ke--)}}},le=(v,_,S,W,Y=null)=>{const{el:$,type:re,transition:ee,children:z,shapeFlag:K}=v;if(K&6){le(v.component.subTree,_,S,W);return}if(K&128){v.suspense.move(_,S,W);return}if(K&64){re.move(v,_,S,ie);return}if(re===Xe){r($,_,S);for(let oe=0;oe<z.length;oe++)le(z[oe],_,S,W);r(v.anchor,_,S);return}if(re===Va){E(v,_,S);return}if(W!==2&&K&1&&ee)if(W===0)ee.persisted&&!$[an]?r($,_,S):(ee.beforeEnter($),r($,_,S),ht(()=>ee.enter($),Y));else{const{leave:oe,delayLeave:pe,afterLeave:ve}=ee,Te=()=>{v.ctx.isUnmounted?s($):r($,_,S)},Fe=()=>{const ke=$._isLeaving||!!$[an];$._isLeaving&&$[an](!0),ee.persisted&&!ke?Te():oe($,()=>{Te(),ve&&ve()})};pe?pe($,Te,Fe):Fe()}else r($,_,S)},ae=(v,_,S,W=!1,Y=!1)=>{const{type:$,props:re,ref:ee,children:z,dynamicChildren:K,shapeFlag:ge,patchFlag:oe,dirs:pe,cacheIndex:ve,memo:Te}=v;if(oe===-2&&(Y=!1),ee!=null&&(dr(),Mo(ee,null,S,v,!0),pr()),ve!=null&&(_.renderCache[ve]=void 0),ge&256){_.ctx.deactivate(v);return}const Fe=ge&1&&pe,ke=!Lr(v);let lt;if(ke&&(lt=re&&re.onVnodeBeforeUnmount)&&on(lt,_,v),ge&6)Be(v.component,S,W);else{if(ge&128){v.suspense.unmount(S,W);return}Fe&&Ur(v,null,_,"beforeUnmount"),ge&64?v.type.remove(v,_,S,ie,W):K&&!K.hasOnce&&($!==Xe||oe>0&&oe&64)?He(K,_,S,!1,!0):($===Xe&&oe&384||!Y&&ge&16)&&He(z,_,S),W&&Se(v)}const yt=Te!=null&&ve==null;(ke&&(lt=re&&re.onVnodeUnmounted)||Fe||yt)&&ht(()=>{lt&&on(lt,_,v),Fe&&Ur(v,null,_,"unmounted"),yt&&(v.el=null)},S)},Se=v=>{const{type:_,el:S,anchor:W,transition:Y}=v;if(_===Xe){_e(S,W);return}if(_===Va){w(v);return}const $=()=>{s(S),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(v.shapeFlag&1&&Y&&!Y.persisted){const{leave:re,delayLeave:ee}=Y,z=()=>re(S,$);ee?ee(v.el,$,z):z()}else $()},_e=(v,_)=>{let S;for(;v!==_;)S=d(v),s(v),v=S;s(_)},Be=(v,_,S)=>{const{bum:W,scope:Y,job:$,subTree:re,um:ee,m:z,a:K}=v;ui(z),ui(K),W&&Oo(W),Y.stop(),$&&($.flags|=8,ae(re,v,_,S)),ee&&ht(ee,_),ht(()=>{v.isUnmounted=!0},_)},He=(v,_,S,W=!1,Y=!1,$=0)=>{for(let re=$;re<v.length;re++)ae(v[re],_,S,W,Y)},M=v=>{if(v.shapeFlag&6)return M(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const _=d(v.anchor||v.el),S=_&&_[eg];return S?d(S):_};let te=!1;const q=(v,_,S)=>{let W;v==null?_._vnode&&(ae(_._vnode,null,null,!0),W=_._vnode.component):m(_._vnode||null,v,_,null,null,null,S),_._vnode=v,te||(te=!0,Lf(W),Xm(),te=!1)},ie={p:m,um:ae,m:le,r:Se,mt:Z,mc:O,pc:C,pbc:F,n:M,o:e};return{render:q,hydrate:void 0,createApp:Sw(q)}}function gl({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 jr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Dw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pc(e,t,n=!1){const r=e.children,s=t.children;if(ue(r)&&ue(s))for(let o=0;o<r.length;o++){const a=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=ar(s[o]),i.el=a.el),!n&&i.patchFlag!==-2&&Pc(a,i)),i.type===ro&&(i.patchFlag===-1&&(i=s[o]=ar(i)),i.el=a.el),i.type===mt&&!i.el&&(i.el=a.el)}}function Vw(e){const t=e.slice(),n=[0];let r,s,o,a,i;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(o=0,a=n.length-1;o<a;)i=o+a>>1,e[n[i]]<u?o=i+1:a=i;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Bg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bg(t)}function ui(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Og(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Og(t.subTree):null}const ci=e=>e.__isSuspense;function Gw(e,t){t&&t.pendingBranch?ue(e)?t.effects.push(...e):t.effects.push(e):Hm(e)}const Xe=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Va=Symbol.for("v-stc"),$o=[];let Ht=null;function X(e=!1){$o.push(Ht=e?null:[])}function Yw(){$o.pop(),Ht=$o[$o.length-1]||null}let Jo=1;function fi(e,t=!1){Jo+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function kg(e){return e.dynamicChildren=Jo>0?Ht||ks:null,Yw(),Jo>0&&Ht&&Ht.push(e),e}function ye(e,t,n,r,s,o){return kg(fe(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return kg(Ae(e,t,n,r,s,!0))}function En(e){return e?e.__v_isVNode===!0:!1}function kr(e,t){return e.type===t.type&&e.key===t.key}const Fg=({key:e})=>e??null,Ga=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||Ke(e)||me(e)?{i:At,r:e,k:t,f:!!n}:e:null);function fe(e,t=null,n=null,r=0,s=null,o=e===Xe?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fg(t),ref:t&&Ga(t),scopeId:Jm,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:At};return i?(Bc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),Jo>0&&!a&&Ht&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ht.push(l),l}const Ae=Uw;function Uw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===pg)&&(e=mt),En(e)){const i=Gn(e,t,!0);return n&&Bc(i,n),Jo>0&&!o&&Ht&&(i.shapeFlag&6?Ht[Ht.indexOf(e)]=i:Ht.push(i)),i.patchFlag=-2,i}if(Jw(e)&&(e=e.__vccOpts),t){t=Mg(t);let{class:i,style:l}=t;i&&!Ne(i)&&(t.class=Oe(i)),Ce(l)&&($i(l)&&!ue(l)&&(l=gt({},l)),t.style=Sn(l))}const a=Ne(e)?1:ci(e)?128:tg(e)?64:Ce(e)?4:me(e)?2:0;return fe(e,t,n,r,s,a,o,!0)}function Mg(e){return e?$i(e)||Ng(e)?gt({},e):e:null}function Gn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:a,children:i,transition:l}=e,u=t?Vt(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fg(u),ref:t&&t.ref?n&&o?ue(o)?o.concat(Ga(t)):[o,Ga(t)]:Ga(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ws(c,l.clone(c)),c}function Yn(e=" ",t=0){return Ae(ro,null,e,t)}function ze(e="",t=!1){return t?(X(),xe(mt,null,e)):Ae(mt,null,e)}function Ln(e){return e==null||typeof e=="boolean"?Ae(mt):ue(e)?Ae(Xe,null,e.slice()):En(e)?ar(e):Ae(ro,null,String(e))}function ar(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function Bc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Bc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ng(t)?t._ctx=At:s===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else me(t)?(t={default:t,_ctx:At},n=32):(t=String(t),r&64?(n=16,t=[Yn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vt(...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=Oe([t.class,r.class]));else if(s==="style")t.style=Sn([t.style,r.style]);else if(Ci(s)){const o=t[s],a=r[s];a&&o!==a&&!(ue(o)&&o.includes(a))?t[s]=o?[].concat(o,a):a:a==null&&o==null&&!Ti(s)&&(t[s]=a)}else s!==""&&(t[s]=r[s])}return t}function on(e,t,n,r=null){cn(e,t,7,[n,r])}const jw=wg();let Zw=0;function Kw(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||jw,o={uid:Zw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sm(!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:Cg(r,s),emitsOptions:Eg(r,s),emit:null,emitted:null,propsDefaults:De,inheritAttrs:r.inheritAttrs,ctx:De,data:De,props:De,attrs:De,slots:De,refs:De,setupState:De,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Nw.bind(null,o),e.ce&&e.ce(o),o}let Tt=null;const Je=()=>Tt||At;let di,lu;{const e=Oi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(a=>a(o)):s[0](o)}};di=t("__VUE_INSTANCE_SETTERS__",n=>Tt=n),lu=t("__VUE_SSR_SETTERS__",n=>Qo=n)}const ga=e=>{const t=Tt;return di(e),e.scope.on(),()=>{e.scope.off(),di(t)}},Jf=()=>{Tt&&Tt.scope.off(),di(null)};function Lg(e){return e.vnode.shapeFlag&4}let Qo=!1;function Hw(e,t=!1,n=!1){t&&lu(t);const{props:r,children:s}=e.vnode,o=Lg(e);Bw(e,r,o,t),Mw(e,s,n||t);const a=o?Xw(e,t):void 0;return t&&lu(!1),a}function Xw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bw);const{setup:r}=n;if(r){dr();const s=e.setupContext=r.length>1?Wg(e):null,o=ga(e),a=ha(r,e,0,[e.props,s]),i=bm(a);if(pr(),o(),(i||e.sp)&&!Lr(e)&&ig(e),i){if(a.then(Jf,Jf),t)return a.then(l=>{Qf(e,l)}).catch(l=>{Wi(l,e,0)});e.asyncDep=a}else Qf(e,a)}else $g(e)}function Qf(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=Um(t)),$g(e)}function $g(e,t,n){const r=e.type;e.render||(e.render=r.render||Rt);{const s=ga(e);dr();try{vw(e)}finally{pr(),s()}}}const zw={get(e,t){return Ct(e,"get",""),e[t]}};function Wg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,zw),slots:e.slots,emit:e.emit,expose:t}}function Yi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Um(Ac(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lo)return Lo[n](e)},has(t,n){return n in t||n in Lo}})):e.proxy}function uu(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function Jw(e){return me(e)&&"__vccOpts"in e}const T=(e,t)=>j_(e,t,Qo);function ut(e,t,n){try{fi(-1);const r=arguments.length;return r===2?Ce(t)&&!ue(t)?En(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&En(n)&&(n=[n]),Ae(e,t,n))}finally{fi(1)}}const Qw="3.5.38",qw=Rt;let cu;const qf=typeof window<"u"&&window.trustedTypes;if(qf)try{cu=qf.createPolicy("vue",{createHTML:e=>e})}catch{}const Dg=cu?e=>cu.createHTML(e):e=>e,eE="http://www.w3.org/2000/svg",tE="http://www.w3.org/1998/Math/MathML",sr=typeof document<"u"?document:null,ed=sr&&sr.createElement("template"),nE={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"?sr.createElementNS(eE,e):t==="mathml"?sr.createElementNS(tE,e):n?sr.createElement(e,{is:n}):sr.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>sr.createTextNode(e),createComment:e=>sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ed.innerHTML=Dg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=ed.content;if(r==="svg"||r==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wr="transition",po="animation",qo=Symbol("_vtc"),Vg={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},rE=gt({},ng,Vg),sE=e=>(e.displayName="Transition",e.props=rE,e),so=sE((e,{slots:t})=>ut(aw,oE(e),t)),Zr=(e,t=[])=>{ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},td=e=>e?ue(e)?e.some(t=>t.length>1):e.length>1:!1;function oE(e){const t={};for(const k in e)k in Vg||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=aE(s),m=h&&h[0],g=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:E,onLeave:w,onLeaveCancelled:P,onBeforeAppear:G=y,onAppear:B=b,onAppearCancelled:O=E}=t,R=(k,U,Z,j)=>{k._enterCancelled=j,Kr(k,U?c:i),Kr(k,U?u:a),Z&&Z()},F=(k,U)=>{k._isLeaving=!1,Kr(k,f),Kr(k,p),Kr(k,d),U&&U()},D=k=>(U,Z)=>{const j=k?B:b,L=()=>R(U,k,Z);Zr(j,[U,L]),nd(()=>{Kr(U,k?l:o),Qn(U,k?c:i),td(j)||rd(U,r,m,L)})};return gt(t,{onBeforeEnter(k){Zr(y,[k]),Qn(k,o),Qn(k,a)},onBeforeAppear(k){Zr(G,[k]),Qn(k,l),Qn(k,u)},onEnter:D(!1),onAppear:D(!0),onLeave(k,U){k._isLeaving=!0;const Z=()=>F(k,U);Qn(k,f),k._enterCancelled?(Qn(k,d),ad(k)):(ad(k),Qn(k,d)),nd(()=>{k._isLeaving&&(Kr(k,f),Qn(k,p),td(w)||rd(k,r,g,Z))}),Zr(w,[k,Z])},onEnterCancelled(k){R(k,!1,void 0,!0),Zr(E,[k])},onAppearCancelled(k){R(k,!0,void 0,!0),Zr(O,[k])},onLeaveCancelled(k){F(k),Zr(P,[k])}})}function aE(e){if(e==null)return null;if(Ce(e))return[bl(e.enter),bl(e.leave)];{const t=bl(e);return[t,t]}}function bl(e){return c_(e)}function Qn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[qo]||(e[qo]=new Set)).add(t)}function Kr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[qo];n&&(n.delete(t),n.size||(e[qo]=void 0))}function nd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let iE=0;function rd(e,t,n,r){const s=e._endId=++iE,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:i,propCount:l}=lE(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},i+1),e.addEventListener(u,d)}function lE(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${wr}Delay`),o=r(`${wr}Duration`),a=sd(s,o),i=r(`${po}Delay`),l=r(`${po}Duration`),u=sd(i,l);let c=null,f=0,d=0;t===wr?a>0&&(c=wr,f=a,d=o.length):t===po?u>0&&(c=po,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?wr:po:null,d=c?c===wr?o.length:l.length:0);const p=c===wr&&/\b(?:transform|all)(?:,|$)/.test(r(`${wr}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function sd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>od(n)+od(e[r])))}function od(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ad(e){return(e?e.ownerDocument:document).body.offsetHeight}function uE(e,t,n){const r=e[qo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const pi=Symbol("_vod"),Gg=Symbol("_vsh"),Ui={name:"show",beforeMount(e,{value:t},{transition:n}){e[pi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ho(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ho(e,!0),r.enter(e)):r.leave(e,()=>{ho(e,!1)}):ho(e,t))},beforeUnmount(e,{value:t}){ho(e,t)}};function ho(e,t){e.style.display=t?e[pi]:"none",e[Gg]=!t}const Yg=Symbol("");function cE(e){const t=Je();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>hi(o,s))},r=()=>{const s=e(t.proxy);t.ce?hi(t.ce,s):fu(t.subTree,s),n(s)};dg(()=>{Hm(r)}),it(()=>{Ie(r,Rt,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),ma(()=>s.disconnect())})}function fu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{fu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)hi(e.el,t);else if(e.type===Xe)e.children.forEach(n=>fu(n,t));else if(e.type===Va){let{el:n,anchor:r}=e;for(;n&&(hi(n,t),n!==r);)n=n.nextSibling}}function hi(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const o=y_(t[s]);n.setProperty(`--${s}`,o),r+=`--${s}: ${o};`}n[Yg]=r}}const fE=/(?:^|;)\s*display\s*:/;function dE(e,t,n){const r=e.style,s=Ne(n);let o=!1;if(n&&!s){if(t)if(Ne(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&xo(r,i,"")}else for(const a in t)n[a]==null&&xo(r,a,"");for(const a in n){a==="display"&&(o=!0);const i=n[a];i!=null?hE(e,a,!Ne(t)&&t?t[a]:void 0,i)||xo(r,a,i):xo(r,a,"")}}else if(s){if(t!==n){const a=r[Yg];a&&(n+=";"+a),r.cssText=n,o=fE.test(n)}}else t&&e.removeAttribute("style");pi in e&&(e[pi]=o?r.display:"",e[Gg]&&(r.display="none"))}const id=/\s*!important$/;function xo(e,t,n){if(ue(n))n.forEach(r=>xo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pE(e,t);id.test(n)?e.setProperty(bs(r),n.replace(id,""),"important"):e[r]=n}}const ld=["Webkit","Moz","ms"],vl={};function pE(e,t){const n=vl[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return vl[t]=r;r=Bi(r);for(let s=0;s<ld.length;s++){const o=ld[s]+r;if(o in e)return vl[t]=o}return t}function hE(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ne(r)&&n===r}const ud="http://www.w3.org/1999/xlink";function cd(e,t,n,r,s,o=b_(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ud,t.slice(6,t.length)):e.setAttributeNS(ud,t,n):n==null||o&&!wm(n)?e.removeAttribute(t):e.setAttribute(t,o?"":zt(n)?String(n):n)}function fd(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Dg(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(i!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=wm(n):n==null&&i==="string"?(n="",a=!0):i==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function mE(e,t,n,r){e.addEventListener(t,n,r)}function gE(e,t,n,r){e.removeEventListener(t,n,r)}const dd=Symbol("_vei");function bE(e,t,n,r,s=null){const o=e[dd]||(e[dd]={}),a=o[t];if(r&&a)a.value=r;else{const[i,l]=vE(t);if(r){const u=o[t]=wE(r,s);mE(e,i,u,l)}else a&&(gE(e,i,a,l),o[t]=void 0)}}const pd=/(?:Once|Passive|Capture)$/;function vE(e){let t;if(pd.test(e)){t={};let r;for(;r=e.match(pd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bs(e.slice(2)),t]}let yl=0;const yE=Promise.resolve(),_E=()=>yl||(yE.then(()=>yl=0),yl=Date.now());function wE(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(ue(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const a=s.slice(),i=[r];for(let l=0;l<a.length&&!r._stopped;l++){const u=a[l];u&&cn(u,t,5,i)}}else cn(s,t,5,[r])};return n.value=e,n.attached=_E(),n}const hd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,EE=(e,t,n,r,s,o)=>{const a=s==="svg";t==="class"?uE(e,r,a):t==="style"?dE(e,n,r):Ci(t)?Ti(t)||bE(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AE(e,t,r,a))?(fd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cd(e,t,r,a,o,t!=="value")):e._isVueCE&&(SE(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ne(r)))?fd(e,Pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cd(e,t,r,a))};function AE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&hd(t)&&me(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 hd(t)&&Ne(n)?!1:t in e}function SE(e,t){const n=e._def.props;if(!n)return!1;const r=Pt(t);return Array.isArray(n)?n.some(s=>Pt(s)===r):Object.keys(n).some(s=>Pt(s)===r)}const xE=["ctrl","shift","alt","meta"],NE={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)=>xE.some(n=>e[`${n}Key`]&&!t.includes(n))},ea=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let a=0;a<t.length;a++){const i=NE[t[a]];if(i&&i(s,t))return}return e(s,...o)}))};const IE=gt({patchProp:EE},nE);let md;function Ug(){return md||(md=$w(IE))}const gd=((...e)=>{Ug().render(...e)}),CE=((...e)=>{const t=Ug().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=RE(r);if(!s)return;const o=t._component;!me(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,TE(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t});function TE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RE(e){return Ne(e)?document.querySelector(e):e}let jg;const ji=e=>jg=e,Zg=Symbol();function du(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Wo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Wo||(Wo={}));function PE(){const e=xm(!0),t=e.run(()=>J({}));let n=[],r=[];const s=Ac({install(o){ji(s),s._a=o,o.provide(Zg,s),o.config.globalProperties.$pinia=s,r.forEach(a=>n.push(a)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Kg=()=>{};function bd(e,t,n,r=Kg){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&vc()&&Nm(s),s}function Ss(e,...t){e.forEach(n=>{n(...t)})}const BE=e=>e(),vd=Symbol(),_l=Symbol();function pu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];du(s)&&du(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Wn(r)?e[n]=pu(s,r):e[n]=r}return e}const OE=Symbol();function kE(e){return!du(e)||!Object.prototype.hasOwnProperty.call(e,OE)}const{assign:Sr}=Object;function FE(e){return!!(Ke(e)&&e.effect)}function ME(e,t,n,r){const{state:s,actions:o,getters:a}=t,i=n.state.value[e];let l;function u(){i||(n.state.value[e]=s?s():{});const c=V_(n.state.value[e]);return Sr(c,o,Object.keys(a||{}).reduce((f,d)=>(f[d]=Ac(T(()=>{ji(n);const p=n._s.get(e);return a[d].call(p,p)})),f),{}))}return l=Hg(e,u,t,n,r,!0),l}function Hg(e,t,n={},r,s,o){let a;const i=Sr({actions:{}},n),l={deep:!0};let u,c,f=new Set,d=new Set,p;const h=r.state.value[e];!o&&!h&&(r.state.value[e]={});let m;function g(O){let R;u=c=!1,typeof O=="function"?(O(r.state.value[e]),R={type:Wo.patchFunction,storeId:e,events:p}):(pu(r.state.value[e],O),R={type:Wo.patchObject,payload:O,storeId:e,events:p});const F=m=Symbol();fn().then(()=>{m===F&&(u=!0)}),c=!0,Ss(f,R,r.state.value[e])}const y=o?function(){const{state:R}=n,F=R?R():{};this.$patch(D=>{Sr(D,F)})}:Kg;function b(){a.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(O,R="")=>{if(vd in O)return O[_l]=R,O;const F=function(){ji(r);const D=Array.from(arguments),k=new Set,U=new Set;function Z(x){k.add(x)}function j(x){U.add(x)}Ss(d,{args:D,name:F[_l],store:P,after:Z,onError:j});let L;try{L=O.apply(this&&this.$id===e?this:P,D)}catch(x){throw Ss(U,x),x}return L instanceof Promise?L.then(x=>(Ss(k,x),x)).catch(x=>(Ss(U,x),Promise.reject(x))):(Ss(k,L),L)};return F[vd]=!0,F[_l]=R,F},w={_p:r,$id:e,$onAction:bd.bind(null,d),$patch:g,$reset:y,$subscribe(O,R={}){const F=bd(f,O,R.detached,()=>D()),D=a.run(()=>Ie(()=>r.state.value[e],k=>{(R.flush==="sync"?c:u)&&O({storeId:e,type:Wo.direct,events:p},k)},Sr({},l,R)));return F},$dispose:b},P=In(w);r._s.set(e,P);const B=(r._a&&r._a.runWithContext||BE)(()=>r._e.run(()=>(a=xm()).run(()=>t({action:E}))));for(const O in B){const R=B[O];if(Ke(R)&&!FE(R)||Wn(R))o||(h&&kE(R)&&(Ke(R)?R.value=h[O]:pu(R,h[O])),r.state.value[e][O]=R);else if(typeof R=="function"){const F=E(R,O);B[O]=F,i.actions[O]=R}}return Sr(P,B),Sr(Re(P),B),Object.defineProperty(P,"$state",{get:()=>r.state.value[e],set:O=>{g(R=>{Sr(R,O)})}}),r._p.forEach(O=>{Sr(P,a.run(()=>O({store:P,app:r._a,pinia:r,options:i})))}),h&&o&&n.hydrate&&n.hydrate(P.$state,h),u=!0,c=!0,P}function Xg(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,i){const l=z_();return a=a||(l?be(Zg,null):null),a&&ji(a),a=jg,a._s.has(e)||(s?Hg(e,t,r,a):ME(e,r,a)),a._s.get(e)}return o.$id=e,o}function LE(e){const t=Re(e),n={};for(const r in t){const s=t[r];s.effect?n[r]=T({get:()=>e[r],set(o){e[r]=o}}):(Ke(s)||Wn(s))&&(n[r]=Et(e,r))}return n}function $E(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n===void 0||n[t[r]]===void 0)return;if(n===null||n[t[r]]===null)return null;n=n[t[r]]}return n}function Oc(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=Oc(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function zg(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return Oc(e,zg(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Jg(e,t){return t.map(n=>n.split(".")).map(n=>[n,$E(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>Oc(n,r[1],r[0]),{})}function Qg(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>zg(n,r),e)}function yd(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a,beforeHydrate:i,afterHydrate:l},u,c=!0){try{c&&i?.(u);const f=t.getItem(r);if(f){const d=n.deserialize(f),p=o?Jg(d,o):d,h=a?Qg(p,a):p;e.$patch(h)}c&&l?.(u)}catch(f){s&&console.error("[pinia-plugin-persistedstate]",f)}}function _d(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a}){try{const i=o?Jg(e,o):e,l=a?Qg(i,a):i,u=n.serialize(l);t.setItem(r,u)}catch(i){s&&console.error("[pinia-plugin-persistedstate]",i)}}function WE(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function DE(e,t,n){const{pinia:r,store:s,options:{persist:o=n}}=e;if(!o)return;if(!(s.$id in r.state.value)){const i=r._s.get(s.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const a=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);s.$hydrate=({runHooks:i=!0}={})=>{a.forEach(l=>{yd(s,l,e,i)})},s.$persist=()=>{a.forEach(i=>{_d(s.$state,i)})},a.forEach(i=>{yd(s,i,e),s.$subscribe((l,u)=>_d(u,i),{detached:!0})})}function VE(e={}){return function(t){DE(t,n=>{const r=WE(n.key,t.store.$id);return{key:(e.key?e.key:s=>s)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>JSON.parse(s)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var GE=VE();const Do={primaryColors:["#6284DF","#474747","#B04040","#F7A456","#D39C1F","#079307","#21AB86","#00AEEC","#FB7299"],primaryColorIndex:0},YE={primaryColorIndex:Do.primaryColorIndex,primaryColor:Do.primaryColors[Do.primaryColorIndex],themeMode:"light",bgMode:"default",dark:!1},wd={UI_SELECTED_USER:"ui_selected_user"};var qg=typeof global=="object"&&global&&global.Object===Object&&global,UE=typeof self=="object"&&self&&self.Object===Object&&self,Kn=qg||UE||Function("return this")(),Ds=Kn.Symbol,e0=Object.prototype,jE=e0.hasOwnProperty,ZE=e0.toString,mo=Ds?Ds.toStringTag:void 0;function KE(e){var t=jE.call(e,mo),n=e[mo];try{e[mo]=void 0;var r=!0}catch{}var s=ZE.call(e);return r&&(t?e[mo]=n:delete e[mo]),s}var HE=Object.prototype,XE=HE.toString;function zE(e){return XE.call(e)}var JE="[object Null]",QE="[object Undefined]",Ed=Ds?Ds.toStringTag:void 0;function ba(e){return e==null?e===void 0?QE:JE:Ed&&Ed in Object(e)?KE(e):zE(e)}function va(e){return e!=null&&typeof e=="object"}var kc=Array.isArray;function Zi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var qE="[object AsyncFunction]",e3="[object Function]",t3="[object GeneratorFunction]",n3="[object Proxy]";function t0(e){if(!Zi(e))return!1;var t=ba(e);return t==e3||t==t3||t==qE||t==n3}var wl=Kn["__core-js_shared__"],Ad=(function(){var e=/[^.]+$/.exec(wl&&wl.keys&&wl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function r3(e){return!!Ad&&Ad in e}var s3=Function.prototype,o3=s3.toString;function vs(e){if(e!=null){try{return o3.call(e)}catch{}try{return e+""}catch{}}return""}var a3=/[\\^$.*+?()[\]{}|]/g,i3=/^\[object .+?Constructor\]$/,l3=Function.prototype,u3=Object.prototype,c3=l3.toString,f3=u3.hasOwnProperty,d3=RegExp("^"+c3.call(f3).replace(a3,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p3(e){if(!Zi(e)||r3(e))return!1;var t=t0(e)?d3:i3;return t.test(vs(e))}function h3(e,t){return e?.[t]}function ys(e,t){var n=h3(e,t);return p3(n)?n:void 0}var hu=ys(Kn,"WeakMap"),Sd=Object.create,m3=(function(){function e(){}return function(t){if(!Zi(t))return{};if(Sd)return Sd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})(),xd=(function(){try{var e=ys(Object,"defineProperty");return e({},"",{}),e}catch{}})();function g3(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var b3=9007199254740991,v3=/^(?:0|[1-9]\d*)$/;function y3(e,t){var n=typeof e;return t=t??b3,!!t&&(n=="number"||n!="symbol"&&v3.test(e))&&e>-1&&e%1==0&&e<t}function _3(e,t,n){t=="__proto__"&&xd?xd(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function n0(e,t){return e===t||e!==e&&t!==t}var w3=Object.prototype,E3=w3.hasOwnProperty;function A3(e,t,n){var r=e[t];(!(E3.call(e,t)&&n0(r,n))||n===void 0&&!(t in e))&&_3(e,t,n)}var S3=9007199254740991;function r0(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=S3}function x3(e){return e!=null&&r0(e.length)&&!t0(e)}var N3=Object.prototype;function s0(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||N3;return e===n}function I3(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var C3="[object Arguments]";function Nd(e){return va(e)&&ba(e)==C3}var o0=Object.prototype,T3=o0.hasOwnProperty,R3=o0.propertyIsEnumerable,P3=Nd((function(){return arguments})())?Nd:function(e){return va(e)&&T3.call(e,"callee")&&!R3.call(e,"callee")};function B3(){return!1}var a0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Id=a0&&typeof module=="object"&&module&&!module.nodeType&&module,O3=Id&&Id.exports===a0,Cd=O3?Kn.Buffer:void 0,k3=Cd?Cd.isBuffer:void 0,i0=k3||B3,F3="[object Arguments]",M3="[object Array]",L3="[object Boolean]",$3="[object Date]",W3="[object Error]",D3="[object Function]",V3="[object Map]",G3="[object Number]",Y3="[object Object]",U3="[object RegExp]",j3="[object Set]",Z3="[object String]",K3="[object WeakMap]",H3="[object ArrayBuffer]",X3="[object DataView]",z3="[object Float32Array]",J3="[object Float64Array]",Q3="[object Int8Array]",q3="[object Int16Array]",eA="[object Int32Array]",tA="[object Uint8Array]",nA="[object Uint8ClampedArray]",rA="[object Uint16Array]",sA="[object Uint32Array]",je={};je[z3]=je[J3]=je[Q3]=je[q3]=je[eA]=je[tA]=je[nA]=je[rA]=je[sA]=!0;je[F3]=je[M3]=je[H3]=je[L3]=je[X3]=je[$3]=je[W3]=je[D3]=je[V3]=je[G3]=je[Y3]=je[U3]=je[j3]=je[Z3]=je[K3]=!1;function oA(e){return va(e)&&r0(e.length)&&!!je[ba(e)]}function Fc(e){return function(t){return e(t)}}var l0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vo=l0&&typeof module=="object"&&module&&!module.nodeType&&module,aA=Vo&&Vo.exports===l0,El=aA&&qg.process,Vs=(function(){try{var e=Vo&&Vo.require&&Vo.require("util").types;return e||El&&El.binding&&El.binding("util")}catch{}})(),Td=Vs&&Vs.isTypedArray,iA=Td?Fc(Td):oA,lA=Object.prototype,uA=lA.hasOwnProperty;function cA(e,t){var n=kc(e),r=!n&&P3(e),s=!n&&!r&&i0(e),o=!n&&!r&&!s&&iA(e),a=n||r||s||o,i=a?I3(e.length,String):[],l=i.length;for(var u in e)uA.call(e,u)&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||y3(u,l)))&&i.push(u);return i}function u0(e,t){return function(n){return e(t(n))}}var fA=u0(Object.keys,Object),dA=Object.prototype,pA=dA.hasOwnProperty;function hA(e){if(!s0(e))return fA(e);var t=[];for(var n in Object(e))pA.call(e,n)&&n!="constructor"&&t.push(n);return t}function mA(e){return x3(e)?cA(e):hA(e)}var ta=ys(Object,"create");function gA(){this.__data__=ta?ta(null):{},this.size=0}function bA(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vA="__lodash_hash_undefined__",yA=Object.prototype,_A=yA.hasOwnProperty;function wA(e){var t=this.__data__;if(ta){var n=t[e];return n===vA?void 0:n}return _A.call(t,e)?t[e]:void 0}var EA=Object.prototype,AA=EA.hasOwnProperty;function SA(e){var t=this.__data__;return ta?t[e]!==void 0:AA.call(t,e)}var xA="__lodash_hash_undefined__";function NA(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ta&&t===void 0?xA:t,this}function cs(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])}}cs.prototype.clear=gA;cs.prototype.delete=bA;cs.prototype.get=wA;cs.prototype.has=SA;cs.prototype.set=NA;function IA(){this.__data__=[],this.size=0}function Ki(e,t){for(var n=e.length;n--;)if(n0(e[n][0],t))return n;return-1}var CA=Array.prototype,TA=CA.splice;function RA(e){var t=this.__data__,n=Ki(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():TA.call(t,n,1),--this.size,!0}function PA(e){var t=this.__data__,n=Ki(t,e);return n<0?void 0:t[n][1]}function BA(e){return Ki(this.__data__,e)>-1}function OA(e,t){var n=this.__data__,r=Ki(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function br(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])}}br.prototype.clear=IA;br.prototype.delete=RA;br.prototype.get=PA;br.prototype.has=BA;br.prototype.set=OA;var na=ys(Kn,"Map");function kA(){this.size=0,this.__data__={hash:new cs,map:new(na||br),string:new cs}}function FA(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Hi(e,t){var n=e.__data__;return FA(t)?n[typeof t=="string"?"string":"hash"]:n.map}function MA(e){var t=Hi(this,e).delete(e);return this.size-=t?1:0,t}function LA(e){return Hi(this,e).get(e)}function $A(e){return Hi(this,e).has(e)}function WA(e,t){var n=Hi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function oo(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])}}oo.prototype.clear=kA;oo.prototype.delete=MA;oo.prototype.get=LA;oo.prototype.has=$A;oo.prototype.set=WA;function DA(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var VA=u0(Object.getPrototypeOf,Object);function GA(){this.__data__=new br,this.size=0}function YA(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function UA(e){return this.__data__.get(e)}function jA(e){return this.__data__.has(e)}var ZA=200;function KA(e,t){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!na||r.length<ZA-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oo(r)}return n.set(e,t),this.size=n.size,this}function ao(e){var t=this.__data__=new br(e);this.size=t.size}ao.prototype.clear=GA;ao.prototype.delete=YA;ao.prototype.get=UA;ao.prototype.has=jA;ao.prototype.set=KA;var c0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Rd=c0&&typeof module=="object"&&module&&!module.nodeType&&module,HA=Rd&&Rd.exports===c0,Pd=HA?Kn.Buffer:void 0;Pd&&Pd.allocUnsafe;function XA(e,t){return e.slice()}function zA(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[s++]=a)}return o}function JA(){return[]}var QA=Object.prototype,qA=QA.propertyIsEnumerable,Bd=Object.getOwnPropertySymbols,e4=Bd?function(e){return e==null?[]:(e=Object(e),zA(Bd(e),function(t){return qA.call(e,t)}))}:JA;function t4(e,t,n){var r=t(e);return kc(e)?r:DA(r,n(e))}function n4(e){return t4(e,mA,e4)}var mu=ys(Kn,"DataView"),gu=ys(Kn,"Promise"),bu=ys(Kn,"Set"),Od="[object Map]",r4="[object Object]",kd="[object Promise]",Fd="[object Set]",Md="[object WeakMap]",Ld="[object DataView]",s4=vs(mu),o4=vs(na),a4=vs(gu),i4=vs(bu),l4=vs(hu),ir=ba;(mu&&ir(new mu(new ArrayBuffer(1)))!=Ld||na&&ir(new na)!=Od||gu&&ir(gu.resolve())!=kd||bu&&ir(new bu)!=Fd||hu&&ir(new hu)!=Md)&&(ir=function(e){var t=ba(e),n=t==r4?e.constructor:void 0,r=n?vs(n):"";if(r)switch(r){case s4:return Ld;case o4:return Od;case a4:return kd;case i4:return Fd;case l4:return Md}return t});var u4=Object.prototype,c4=u4.hasOwnProperty;function f4(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&c4.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var $d=Kn.Uint8Array;function Mc(e){var t=new e.constructor(e.byteLength);return new $d(t).set(new $d(e)),t}function d4(e,t){var n=Mc(e.buffer);return new e.constructor(n,e.byteOffset,e.byteLength)}var p4=/\w*$/;function h4(e){var t=new e.constructor(e.source,p4.exec(e));return t.lastIndex=e.lastIndex,t}var Wd=Ds?Ds.prototype:void 0,Dd=Wd?Wd.valueOf:void 0;function m4(e){return Dd?Object(Dd.call(e)):{}}function g4(e,t){var n=Mc(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}var b4="[object Boolean]",v4="[object Date]",y4="[object Map]",_4="[object Number]",w4="[object RegExp]",E4="[object Set]",A4="[object String]",S4="[object Symbol]",x4="[object ArrayBuffer]",N4="[object DataView]",I4="[object Float32Array]",C4="[object Float64Array]",T4="[object Int8Array]",R4="[object Int16Array]",P4="[object Int32Array]",B4="[object Uint8Array]",O4="[object Uint8ClampedArray]",k4="[object Uint16Array]",F4="[object Uint32Array]";function M4(e,t,n){var r=e.constructor;switch(t){case x4:return Mc(e);case b4:case v4:return new r(+e);case N4:return d4(e);case I4:case C4:case T4:case R4:case P4:case B4:case O4:case k4:case F4:return g4(e);case y4:return new r;case _4:case A4:return new r(e);case w4:return h4(e);case E4:return new r;case S4:return m4(e)}}function L4(e){return typeof e.constructor=="function"&&!s0(e)?m3(VA(e)):{}}var $4="[object Map]";function W4(e){return va(e)&&ir(e)==$4}var Vd=Vs&&Vs.isMap,D4=Vd?Fc(Vd):W4,V4="[object Set]";function G4(e){return va(e)&&ir(e)==V4}var Gd=Vs&&Vs.isSet,Y4=Gd?Fc(Gd):G4,f0="[object Arguments]",U4="[object Array]",j4="[object Boolean]",Z4="[object Date]",K4="[object Error]",d0="[object Function]",H4="[object GeneratorFunction]",X4="[object Map]",z4="[object Number]",p0="[object Object]",J4="[object RegExp]",Q4="[object Set]",q4="[object String]",eS="[object Symbol]",tS="[object WeakMap]",nS="[object ArrayBuffer]",rS="[object DataView]",sS="[object Float32Array]",oS="[object Float64Array]",aS="[object Int8Array]",iS="[object Int16Array]",lS="[object Int32Array]",uS="[object Uint8Array]",cS="[object Uint8ClampedArray]",fS="[object Uint16Array]",dS="[object Uint32Array]",Ye={};Ye[f0]=Ye[U4]=Ye[nS]=Ye[rS]=Ye[j4]=Ye[Z4]=Ye[sS]=Ye[oS]=Ye[aS]=Ye[iS]=Ye[lS]=Ye[X4]=Ye[z4]=Ye[p0]=Ye[J4]=Ye[Q4]=Ye[q4]=Ye[eS]=Ye[uS]=Ye[cS]=Ye[fS]=Ye[dS]=!0;Ye[K4]=Ye[d0]=Ye[tS]=!1;function Go(e,t,n,r,s,o){var a;if(n&&(a=s?n(e,r,s,o):n(e)),a!==void 0)return a;if(!Zi(e))return e;var i=kc(e);if(i)a=f4(e);else{var l=ir(e),u=l==d0||l==H4;if(i0(e))return XA(e);if(l==p0||l==f0||u&&!s)a=u?{}:L4(e);else{if(!Ye[l])return s?e:{};a=M4(e,l)}}o||(o=new ao);var c=o.get(e);if(c)return c;o.set(e,a),Y4(e)?e.forEach(function(p){a.add(Go(p,t,n,p,e,o))}):D4(e)&&e.forEach(function(p,h){a.set(h,Go(p,t,n,h,e,o))});var f=n4,d=i?void 0:f(e);return g3(d||e,function(p,h){d&&(h=p,p=e[h]),A3(a,h,Go(p,t,n,h,e,o))}),a}var pS=1,hS=4;function h0(e){return Go(e,pS|hS)}var mS=1,gS=4;function bS(e,t){return t=typeof t=="function"?t:void 0,Go(e,mS|gS,t)}function Lc(e){return e instanceof Error?e.name==="AbortError"||e.name==="CanceledError"||"code"in e&&e.code==="ERR_CANCELED":!1}function Gs(e){let t=new Error(e??"操作已取消");return t.name="AbortError",t}function Ys(e){return typeof e=="string"?e:e instanceof Error||e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:String(e)??"未知错误"}var vS=class extends Error{constructor(e,t){super(e),t!==void 0&&(this.cause=t instanceof Error?t:new Error(Ys(t))),this.name=new.target.name,Object.setPrototypeOf(this,new.target.prototype)}toString(){return`${this.name}: ${this.message}${this.cause?` (caused by ${this.cause})`:""}`}},Yd={trace:0,debug:1,info:2,warn:3,error:4},yS=["trace","debug","info","warn","error"];function io(e){return Array.isArray(e)&&e.length===0}function $c(e){return e instanceof Error?{name:e.name,message:e.message,stack:e.stack,cause:"cause"in e&&e.cause?$c(e.cause):void 0}:{name:"UnknownError",message:Ys(e)}}function _S(e){return e!=null&&typeof e=="object"&&"success"in e&&typeof e.success=="boolean"&&"msg"in e&&typeof e.msg=="string"}async function Ud(e){if(_S(e)){if(e.success)return e.data;throw e.error?wS(e.error):new Error(e.msg)}else return e}function wS(e){return Object.assign(new Error,e)}var jd=()=>{},ES=new Set(["then","catch","finally","toJSON","toString","valueOf"]);function Zd(e){return yS.indexOf(e)>-1}function m0(e,t){let n="info";return(async()=>{try{let r=(typeof e=="function"?await e():e).toLowerCase();Zd(r)?n=r:n="info"}catch{n="info"}})().then(),new Proxy(jd,{get(r,s){if(!(typeof s!="string"||ES.has(s))&&Zd(s))return new Proxy(jd,{apply(o,a,i){i&&(Yd[s]<Yd[n]||t(s,...i))}})}})}function Os(e,t){return new Promise((n,r)=>{if(t?.aborted)return r(Gs());let s=setTimeout(()=>{a(),n()},e),o=()=>{clearTimeout(s),a(),r(Gs())},a=()=>{t?.removeEventListener("abort",o)};t?.addEventListener("abort",o)})}function mi(e,t,n){let r=Math.random()*(t-e)+e;return Os(r,n)}function g0(e){try{let{origin:t,pathname:n,searchParams:r}=new URL(e);return{baseUrl:t+n,searchParams:r}}catch{throw new Error("Invalid URL")}}function vu(e,t=!1){return Object.keys(e).sort().filter(n=>t||e[n]!=null).map(n=>{let r=e[n]??"";return`${encodeURIComponent(n)}=${encodeURIComponent(String(r))}`}).join("&")}function b0(e,t){let n={};return e.size>0&&e.forEach((r,s)=>{n[s]=r}),t&&(n={...n,...t}),n}var AS=e=>bS(Re(e),t=>{typeof t=="function"||t instanceof Window||t instanceof Element}),SS=()=>{};function v0(e=[]){return new Proxy(SS,{get(t,n){if(typeof n=="string"&&!(n==="__proto__"||n==="constructor"))return v0(e.concat(n))},async apply(t,n,r){const s=e.join(".");try{let o;for(let i=0;i<e.length;i++){const l=e[i];if(i===0)if(window.__toolkitApi&&l in window.__toolkitApi)o=window.__toolkitApi[l];else break;else if(o&&typeof o=="object"&&l in o)o=o[l];else{o=void 0;break}}const a=r.map(i=>typeof i=="function"?i:AS(i));return Ud(typeof o=="function"?await o(...a):await window.__toolkitInvoke(s,...a))}catch(o){throw console.error(`[${s}]`,r,o),o}}})}function xS(){if(window.toolkitApi)return window.toolkitApi;let e;return Object.defineProperty(window,"toolkitApi",{get(){return e||(e=v0([])),e}}),window.toolkitApi}m0(async()=>await window.toolkitApi.system.getLogLevel(),(e,...t)=>{console[e](`[${new Date().toLocaleString()}]`,...t),window.toolkitApi.system.saveLog({level:e,data:t.map(n=>n instanceof Error?JSON.stringify($c(n)):JSON.stringify(n))}).catch()});const We={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},NS=["","default","small","large"];var y0=typeof global=="object"&&global&&global.Object===Object&&global,IS=typeof self=="object"&&self&&self.Object===Object&&self,vr=y0||IS||Function("return this")(),Un=vr.Symbol,_0=Object.prototype,CS=_0.hasOwnProperty,TS=_0.toString,go=Un?Un.toStringTag:void 0;function RS(e){var t=CS.call(e,go),n=e[go];try{e[go]=void 0;var r=!0}catch{}var s=TS.call(e);return r&&(t?e[go]=n:delete e[go]),s}var PS=Object.prototype,BS=PS.toString;function OS(e){return BS.call(e)}var kS="[object Null]",FS="[object Undefined]",Kd=Un?Un.toStringTag:void 0;function _s(e){return e==null?e===void 0?FS:kS:Kd&&Kd in Object(e)?RS(e):OS(e)}function fs(e){return e!=null&&typeof e=="object"}var MS="[object Symbol]";function Wc(e){return typeof e=="symbol"||fs(e)&&_s(e)==MS}function LS(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 jn=Array.isArray,Hd=Un?Un.prototype:void 0,Xd=Hd?Hd.toString:void 0;function w0(e){if(typeof e=="string")return e;if(jn(e))return LS(e,w0)+"";if(Wc(e))return Xd?Xd.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function gi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function $S(e){return e}var WS="[object AsyncFunction]",DS="[object Function]",VS="[object GeneratorFunction]",GS="[object Proxy]";function E0(e){if(!gi(e))return!1;var t=_s(e);return t==DS||t==VS||t==WS||t==GS}var Al=vr["__core-js_shared__"],zd=(function(){var e=/[^.]+$/.exec(Al&&Al.keys&&Al.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function YS(e){return!!zd&&zd in e}var US=Function.prototype,jS=US.toString;function ws(e){if(e!=null){try{return jS.call(e)}catch{}try{return e+""}catch{}}return""}var ZS=/[\\^$.*+?()[\]{}|]/g,KS=/^\[object .+?Constructor\]$/,HS=Function.prototype,XS=Object.prototype,zS=HS.toString,JS=XS.hasOwnProperty,QS=RegExp("^"+zS.call(JS).replace(ZS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qS(e){if(!gi(e)||YS(e))return!1;var t=E0(e)?QS:KS;return t.test(ws(e))}function ex(e,t){return e?.[t]}function Es(e,t){var n=ex(e,t);return qS(n)?n:void 0}var yu=Es(vr,"WeakMap");function tx(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var nx=800,rx=16,sx=Date.now;function ox(e){var t=0,n=0;return function(){var r=sx(),s=rx-(r-n);if(n=r,s>0){if(++t>=nx)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ax(e){return function(){return e}}var bi=(function(){try{var e=Es(Object,"defineProperty");return e({},"",{}),e}catch{}})(),ix=bi?function(e,t){return bi(e,"toString",{configurable:!0,enumerable:!1,value:ax(t),writable:!0})}:$S,lx=ox(ix),ux=9007199254740991,cx=/^(?:0|[1-9]\d*)$/;function Dc(e,t){var n=typeof e;return t=t??ux,!!t&&(n=="number"||n!="symbol"&&cx.test(e))&&e>-1&&e%1==0&&e<t}function A0(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Vc(e,t){return e===t||e!==e&&t!==t}var fx=Object.prototype,dx=fx.hasOwnProperty;function px(e,t,n){var r=e[t];(!(dx.call(e,t)&&Vc(r,n))||n===void 0&&!(t in e))&&A0(e,t,n)}var Jd=Math.max;function hx(e,t,n){return t=Jd(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,o=Jd(r.length-t,0),a=Array(o);++s<o;)a[s]=r[t+s];s=-1;for(var i=Array(t+1);++s<t;)i[s]=r[s];return i[t]=n(a),tx(e,this,i)}}var mx=9007199254740991;function Gc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mx}function gx(e){return e!=null&&Gc(e.length)&&!E0(e)}var bx=Object.prototype;function vx(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||bx;return e===n}function yx(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var _x="[object Arguments]";function Qd(e){return fs(e)&&_s(e)==_x}var S0=Object.prototype,wx=S0.hasOwnProperty,Ex=S0.propertyIsEnumerable,Yc=Qd((function(){return arguments})())?Qd:function(e){return fs(e)&&wx.call(e,"callee")&&!Ex.call(e,"callee")};function Ax(){return!1}var x0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qd=x0&&typeof module=="object"&&module&&!module.nodeType&&module,Sx=qd&&qd.exports===x0,ep=Sx?vr.Buffer:void 0,xx=ep?ep.isBuffer:void 0,_u=xx||Ax,Nx="[object Arguments]",Ix="[object Array]",Cx="[object Boolean]",Tx="[object Date]",Rx="[object Error]",Px="[object Function]",Bx="[object Map]",Ox="[object Number]",kx="[object Object]",Fx="[object RegExp]",Mx="[object Set]",Lx="[object String]",$x="[object WeakMap]",Wx="[object ArrayBuffer]",Dx="[object DataView]",Vx="[object Float32Array]",Gx="[object Float64Array]",Yx="[object Int8Array]",Ux="[object Int16Array]",jx="[object Int32Array]",Zx="[object Uint8Array]",Kx="[object Uint8ClampedArray]",Hx="[object Uint16Array]",Xx="[object Uint32Array]",Ze={};Ze[Vx]=Ze[Gx]=Ze[Yx]=Ze[Ux]=Ze[jx]=Ze[Zx]=Ze[Kx]=Ze[Hx]=Ze[Xx]=!0;Ze[Nx]=Ze[Ix]=Ze[Wx]=Ze[Cx]=Ze[Dx]=Ze[Tx]=Ze[Rx]=Ze[Px]=Ze[Bx]=Ze[Ox]=Ze[kx]=Ze[Fx]=Ze[Mx]=Ze[Lx]=Ze[$x]=!1;function zx(e){return fs(e)&&Gc(e.length)&&!!Ze[_s(e)]}function Jx(e){return function(t){return e(t)}}var N0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yo=N0&&typeof module=="object"&&module&&!module.nodeType&&module,Qx=Yo&&Yo.exports===N0,Sl=Qx&&y0.process,tp=(function(){try{var e=Yo&&Yo.require&&Yo.require("util").types;return e||Sl&&Sl.binding&&Sl.binding("util")}catch{}})(),np=tp&&tp.isTypedArray,I0=np?Jx(np):zx,qx=Object.prototype,eN=qx.hasOwnProperty;function tN(e,t){var n=jn(e),r=!n&&Yc(e),s=!n&&!r&&_u(e),o=!n&&!r&&!s&&I0(e),a=n||r||s||o,i=a?yx(e.length,String):[],l=i.length;for(var u in e)(t||eN.call(e,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Dc(u,l)))&&i.push(u);return i}function C0(e,t){return function(n){return e(t(n))}}var nN=C0(Object.keys,Object),rN=Object.prototype,sN=rN.hasOwnProperty;function oN(e){if(!vx(e))return nN(e);var t=[];for(var n in Object(e))sN.call(e,n)&&n!="constructor"&&t.push(n);return t}function aN(e){return gx(e)?tN(e):oN(e)}var iN=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lN=/^\w*$/;function uN(e,t){if(jn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Wc(e)?!0:lN.test(e)||!iN.test(e)||t!=null&&e in Object(t)}var ra=Es(Object,"create");function cN(){this.__data__=ra?ra(null):{},this.size=0}function fN(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dN="__lodash_hash_undefined__",pN=Object.prototype,hN=pN.hasOwnProperty;function mN(e){var t=this.__data__;if(ra){var n=t[e];return n===dN?void 0:n}return hN.call(t,e)?t[e]:void 0}var gN=Object.prototype,bN=gN.hasOwnProperty;function vN(e){var t=this.__data__;return ra?t[e]!==void 0:bN.call(t,e)}var yN="__lodash_hash_undefined__";function _N(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ra&&t===void 0?yN:t,this}function ds(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])}}ds.prototype.clear=cN;ds.prototype.delete=fN;ds.prototype.get=mN;ds.prototype.has=vN;ds.prototype.set=_N;function wN(){this.__data__=[],this.size=0}function Xi(e,t){for(var n=e.length;n--;)if(Vc(e[n][0],t))return n;return-1}var EN=Array.prototype,AN=EN.splice;function SN(e){var t=this.__data__,n=Xi(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():AN.call(t,n,1),--this.size,!0}function xN(e){var t=this.__data__,n=Xi(t,e);return n<0?void 0:t[n][1]}function NN(e){return Xi(this.__data__,e)>-1}function IN(e,t){var n=this.__data__,r=Xi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function yr(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])}}yr.prototype.clear=wN;yr.prototype.delete=SN;yr.prototype.get=xN;yr.prototype.has=NN;yr.prototype.set=IN;var sa=Es(vr,"Map");function CN(){this.size=0,this.__data__={hash:new ds,map:new(sa||yr),string:new ds}}function TN(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function zi(e,t){var n=e.__data__;return TN(t)?n[typeof t=="string"?"string":"hash"]:n.map}function RN(e){var t=zi(this,e).delete(e);return this.size-=t?1:0,t}function PN(e){return zi(this,e).get(e)}function BN(e){return zi(this,e).has(e)}function ON(e,t){var n=zi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function _r(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])}}_r.prototype.clear=CN;_r.prototype.delete=RN;_r.prototype.get=PN;_r.prototype.has=BN;_r.prototype.set=ON;var kN="Expected a function";function Uc(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(kN);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var a=e.apply(this,r);return n.cache=o.set(s,a)||o,a};return n.cache=new(Uc.Cache||_r),n}Uc.Cache=_r;var FN=500;function MN(e){var t=Uc(e,function(r){return n.size===FN&&n.clear(),r}),n=t.cache;return t}var LN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$N=/\\(\\)?/g,WN=MN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(LN,function(n,r,s,o){t.push(s?o.replace($N,"$1"):r||n)}),t});function DN(e){return e==null?"":w0(e)}function Ji(e,t){return jn(e)?e:uN(e,t)?[e]:WN(DN(e))}function jc(e){if(typeof e=="string"||Wc(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function T0(e,t){t=Ji(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[jc(t[n++])];return n&&n==r?e:void 0}function VN(e,t,n){var r=e==null?void 0:T0(e,t);return r===void 0?n:r}function R0(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var rp=Un?Un.isConcatSpreadable:void 0;function GN(e){return jn(e)||Yc(e)||!!(rp&&e&&e[rp])}function P0(e,t,n,r,s){var o=-1,a=e.length;for(n||(n=GN),s||(s=[]);++o<a;){var i=e[o];t>0&&n(i)?t>1?P0(i,t-1,n,r,s):R0(s,i):r||(s[s.length]=i)}return s}function YN(e){var t=e==null?0:e.length;return t?P0(e,1):[]}function UN(e){return lx(hx(e,void 0,YN),e+"")}var jN=C0(Object.getPrototypeOf,Object),ZN="[object Object]",KN=Function.prototype,HN=Object.prototype,B0=KN.toString,XN=HN.hasOwnProperty,zN=B0.call(Object);function JN(e){if(!fs(e)||_s(e)!=ZN)return!1;var t=jN(e);if(t===null)return!0;var n=XN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&B0.call(n)==zN}function QN(){if(!arguments.length)return[];var e=arguments[0];return jn(e)?e:[e]}function qN(){this.__data__=new yr,this.size=0}function eI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function tI(e){return this.__data__.get(e)}function nI(e){return this.__data__.has(e)}var rI=200;function sI(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!sa||r.length<rI-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new _r(r)}return n.set(e,t),this.size=n.size,this}function $r(e){var t=this.__data__=new yr(e);this.size=t.size}$r.prototype.clear=qN;$r.prototype.delete=eI;$r.prototype.get=tI;$r.prototype.has=nI;$r.prototype.set=sI;function oI(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[s++]=a)}return o}function aI(){return[]}var iI=Object.prototype,lI=iI.propertyIsEnumerable,sp=Object.getOwnPropertySymbols,uI=sp?function(e){return e==null?[]:(e=Object(e),oI(sp(e),function(t){return lI.call(e,t)}))}:aI;function cI(e,t,n){var r=t(e);return jn(e)?r:R0(r,n(e))}function op(e){return cI(e,aN,uI)}var wu=Es(vr,"DataView"),Eu=Es(vr,"Promise"),Au=Es(vr,"Set"),ap="[object Map]",fI="[object Object]",ip="[object Promise]",lp="[object Set]",up="[object WeakMap]",cp="[object DataView]",dI=ws(wu),pI=ws(sa),hI=ws(Eu),mI=ws(Au),gI=ws(yu),Pr=_s;(wu&&Pr(new wu(new ArrayBuffer(1)))!=cp||sa&&Pr(new sa)!=ap||Eu&&Pr(Eu.resolve())!=ip||Au&&Pr(new Au)!=lp||yu&&Pr(new yu)!=up)&&(Pr=function(e){var t=_s(e),n=t==fI?e.constructor:void 0,r=n?ws(n):"";if(r)switch(r){case dI:return cp;case pI:return ap;case hI:return ip;case mI:return lp;case gI:return up}return t});var fp=vr.Uint8Array,bI="__lodash_hash_undefined__";function vI(e){return this.__data__.set(e,bI),this}function yI(e){return this.__data__.has(e)}function vi(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new _r;++t<n;)this.add(e[t])}vi.prototype.add=vi.prototype.push=vI;vi.prototype.has=yI;function _I(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function wI(e,t){return e.has(t)}var EI=1,AI=2;function O0(e,t,n,r,s,o){var a=n&EI,i=e.length,l=t.length;if(i!=l&&!(a&&l>i))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,p=n&AI?new vi:void 0;for(o.set(e,t),o.set(t,e);++f<i;){var h=e[f],m=t[f];if(r)var g=a?r(m,h,f,t,e,o):r(h,m,f,e,t,o);if(g!==void 0){if(g)continue;d=!1;break}if(p){if(!_I(t,function(y,b){if(!wI(p,b)&&(h===y||s(h,y,n,r,o)))return p.push(b)})){d=!1;break}}else if(!(h===m||s(h,m,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function SI(e){var t=-1,n=Array(e.size);return e.forEach(function(r,s){n[++t]=[s,r]}),n}function xI(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var NI=1,II=2,CI="[object Boolean]",TI="[object Date]",RI="[object Error]",PI="[object Map]",BI="[object Number]",OI="[object RegExp]",kI="[object Set]",FI="[object String]",MI="[object Symbol]",LI="[object ArrayBuffer]",$I="[object DataView]",dp=Un?Un.prototype:void 0,xl=dp?dp.valueOf:void 0;function WI(e,t,n,r,s,o,a){switch(n){case $I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case LI:return!(e.byteLength!=t.byteLength||!o(new fp(e),new fp(t)));case CI:case TI:case BI:return Vc(+e,+t);case RI:return e.name==t.name&&e.message==t.message;case OI:case FI:return e==t+"";case PI:var i=SI;case kI:var l=r&NI;if(i||(i=xI),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=II,a.set(e,t);var c=O0(i(e),i(t),r,s,o,a);return a.delete(e),c;case MI:if(xl)return xl.call(e)==xl.call(t)}return!1}var DI=1,VI=Object.prototype,GI=VI.hasOwnProperty;function YI(e,t,n,r,s,o){var a=n&DI,i=op(e),l=i.length,u=op(t),c=u.length;if(l!=c&&!a)return!1;for(var f=l;f--;){var d=i[f];if(!(a?d in t:GI.call(t,d)))return!1}var p=o.get(e),h=o.get(t);if(p&&h)return p==t&&h==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=a;++f<l;){d=i[f];var y=e[d],b=t[d];if(r)var E=a?r(b,y,d,t,e,o):r(y,b,d,e,t,o);if(!(E===void 0?y===b||s(y,b,n,r,o):E)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var w=e.constructor,P=t.constructor;w!=P&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof P=="function"&&P instanceof P)&&(m=!1)}return o.delete(e),o.delete(t),m}var UI=1,pp="[object Arguments]",hp="[object Array]",Ia="[object Object]",jI=Object.prototype,mp=jI.hasOwnProperty;function ZI(e,t,n,r,s,o){var a=jn(e),i=jn(t),l=a?hp:Pr(e),u=i?hp:Pr(t);l=l==pp?Ia:l,u=u==pp?Ia:u;var c=l==Ia,f=u==Ia,d=l==u;if(d&&_u(e)){if(!_u(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new $r),a||I0(e)?O0(e,t,n,r,s,o):WI(e,t,l,n,r,s,o);if(!(n&UI)){var p=c&&mp.call(e,"__wrapped__"),h=f&&mp.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,g=h?t.value():t;return o||(o=new $r),s(m,g,n,r,o)}}return d?(o||(o=new $r),YI(e,t,n,r,s,o)):!1}function k0(e,t,n,r,s){return e===t?!0:e==null||t==null||!fs(e)&&!fs(t)?e!==e&&t!==t:ZI(e,t,n,r,k0,s)}function KI(e,t){return e!=null&&t in Object(e)}function HI(e,t,n){t=Ji(t,e);for(var r=-1,s=t.length,o=!1;++r<s;){var a=jc(t[r]);if(!(o=e!=null&&n(e,a)))break;e=e[a]}return o||++r!=s?o:(s=e==null?0:e.length,!!s&&Gc(s)&&Dc(a,s)&&(jn(e)||Yc(e)))}function XI(e,t){return e!=null&&HI(e,t,KI)}function yi(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var s=e[t];A0(r,s[0],s[1])}return r}function zI(e,t){return k0(e,t)}function Us(e){return e==null}function JI(e){return e===void 0}function QI(e,t,n,r){if(!gi(e))return e;t=Ji(t,e);for(var s=-1,o=t.length,a=o-1,i=e;i!=null&&++s<o;){var l=jc(t[s]),u=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(s!=a){var c=i[l];u=void 0,u===void 0&&(u=gi(c)?c:Dc(t[s+1])?[]:{})}px(i,l,u),i=i[l]}return e}function qI(e,t,n){for(var r=-1,s=t.length,o={};++r<s;){var a=t[r],i=T0(e,a);n(i,a)&&QI(o,Ji(a,e),i)}return o}function eC(e,t){return qI(e,t,function(n,r){return XI(e,r)})}var tC=UN(function(e,t){return e==null?{}:eC(e,t)});const F0=e=>e===void 0,ls=e=>typeof e=="boolean",Mt=e=>typeof e=="number",lk=e=>!e&&e!==0||ue(e)&&e.length===0||Ce(e)&&!Object.keys(e).length,Fr=e=>typeof Element>"u"?!1:e instanceof Element;const nC=e=>Ne(e)?!Number.isNaN(Number(e)):!1,uk=e=>e===window,gp=e=>Object.keys(e);const rC="__epPropKey",ce=e=>e,sC=e=>Ce(e)&&!!e.__epPropKey,Qi=(e,t)=>{if(!Ce(e)||sC(e))return e;const{values:n,required:r,default:s,type:o,validator:a}=e,i={type:o,required:!!r,validator:n||a?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),Pe(e,"default")&&c.push(s),u||=c.includes(l)),a&&(u||=a(l)),!u&&c.length>0){const f=[...new Set(c)].map(d=>JSON.stringify(d)).join(", ");qw(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[rC]:!0};return Pe(e,"default")&&(i.default=s),i},Ge=e=>yi(Object.entries(e).map(([t,n])=>[t,Qi(n,t)]));var M0=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function oa(e,t){throw new M0(`[${e}] ${t}`)}function dn(e,t){{const n=Ne(e)?new M0(`[${e}] ${t}`):e;console.warn(n)}}function L0(e,t){var n;const r=to();return Qm(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Ls(r)}function qi(e){return vc()?(Nm(e),!0):!1}const ft=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oC=e=>e!=null,aC=Object.prototype.toString,iC=e=>aC.call(e)==="[object Object]";const Br=()=>{},lC=uC();function uC(){var e,t;return ft&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function cC(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function fC(e,t={}){let n,r,s=Br;const o=l=>{clearTimeout(l),s(),s=Br};let a;return l=>{const u=ln(e),c=ln(t.maxWait);return n&&o(n),u<=0||c!==void 0&&c<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,a=l,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,f(a())},c)),n=setTimeout(()=>{r&&o(r),r=void 0,f(l())},u)})}}function Ya(e){return Array.isArray(e)?e:[e]}function ck(e,t=200,n={}){return cC(fC(t,n),e)}function Su(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,o=to(!1);let a;function i(){a&&(clearTimeout(a),a=void 0)}function l(){o.value=!1,i()}function u(...c){s&&e(),i(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=void 0,e(...c)},ln(t))}return r&&(o.value=!0,ft&&u()),qi(l),{isPending:$_(o),start:u,stop:l}}function dC(e,t,n){return Ie(e,t,{...n,immediate:!0})}const el=ft?window:void 0,fk=ft?window.document:void 0;function _n(e){var t;const n=ln(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Wr(...e){const t=(r,s,o,a)=>(r.addEventListener(s,o,a),()=>r.removeEventListener(s,o,a)),n=T(()=>{const r=Ya(ln(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return dC(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(o=>_n(o)))!==null&&r!==void 0?r:[el].filter(o=>o!=null),Ya(ln(n.value?e[1]:e[0])),Ya(A(n.value?e[2]:e[1])),ln(n.value?e[3]:e[2])]},([r,s,o,a],i,l)=>{if(!r?.length||!s?.length||!o?.length)return;const u=iC(a)?{...a}:a,c=r.flatMap(f=>s.flatMap(d=>o.map(p=>t(f,d,p,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}let bp=!1;function pC(e,t,n={}){const{window:r=el,ignore:s=[],capture:o=!0,detectIframe:a=!1,controls:i=!1}=n;if(!r)return i?{stop:Br,cancel:Br,trigger:Br}:Br;if(lC&&!bp){bp=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(y=>y.addEventListener("click",Br,g)),r.document.documentElement.addEventListener("click",Br,g)}let l=!0;const u=g=>ln(s).some(y=>{if(typeof y=="string")return Array.from(r.document.querySelectorAll(y)).some(b=>b===g.target||g.composedPath().includes(b));{const b=_n(y);return b&&(g.target===b||g.composedPath().includes(b))}});function c(g){const y=ln(g);return y&&y.$.subTree.shapeFlag===16}function f(g,y){const b=ln(g),E=b.$.subTree&&b.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(w=>w.el===y.target||y.composedPath().includes(w.el))}const d=g=>{const y=_n(e);if(g.target!=null&&!(!(y instanceof Element)&&c(e)&&f(e,g))&&!(!y||y===g.target||g.composedPath().includes(y))){if("detail"in g&&g.detail===0&&(l=!u(g)),!l){l=!0;return}t(g)}};let p=!1;const h=[Wr(r,"click",g=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(g))},{passive:!0,capture:o}),Wr(r,"pointerdown",g=>{const y=_n(e);l=!u(g)&&!!(y&&!g.composedPath().includes(y))},{passive:!0}),a&&Wr(r,"blur",g=>{setTimeout(()=>{const y=_n(e);let b=r.document.activeElement;for(;b?.shadowRoot;)b=b.shadowRoot.activeElement;b?.tagName==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(g)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(g=>g());return i?{stop:m,cancel:()=>{l=!1},trigger:g=>{l=!0,d(g),l=!1}}:m}function hC(){const e=to(!1),t=Je();return t&&it(()=>{e.value=!0},t),e}function $0(e){const t=hC();return T(()=>(t.value,!!e()))}function dk(e,t,n={}){const{window:r=el,...s}=n;let o;const a=$0(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},l=Ie(T(()=>{const f=Ya(ln(e)).map(_n).filter(oC);return new Set(f)}),f=>{i(),a.value&&f.size&&(o=new MutationObserver(t),f.forEach(d=>o.observe(d,s)))},{immediate:!0,flush:"post"}),u=()=>o?.takeRecords(),c=()=>{l(),i()};return qi(c),{isSupported:a,stop:c,takeRecords:u}}function aa(e,t,n={}){const{window:r=el,...s}=n;let o;const a=$0(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},l=Ie(T(()=>{const c=ln(e);return Array.isArray(c)?c.map(f=>_n(f)):[_n(c)]}),c=>{if(i(),a.value&&r){o=new ResizeObserver(t);for(const f of c)f&&o.observe(f,s)}},{immediate:!0,flush:"post"}),u=()=>{i(),l()};return qi(u),{isSupported:a,stop:u}}const mC=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},a)=>{Ie(()=>A(a),i=>{i&&dn(n,`[${o}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DanmakuSearch-CBidiQNX.js","./client-NtG0BfVC.js","./DanmakuSearch-BseAQS3V.css","./CrackUid-Bj5pdBcK.js","./CrackUid-M_nlXJAs.css"])))=>i.map(i=>d[i]);
2
+ (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 o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function mc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const De={},ks=[],Rt=()=>{},mm=()=>!1,Ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ri=e=>e.startsWith("onUpdate:"),gt=Object.assign,gc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sw=Object.prototype.hasOwnProperty,Pe=(e,t)=>sw.call(e,t),ue=Array.isArray,Fs=e=>eo(e)==="[object Map]",gm=e=>eo(e)==="[object Set]",Of=e=>eo(e)==="[object Date]",ow=e=>eo(e)==="[object RegExp]",me=e=>typeof e=="function",Ne=e=>typeof e=="string",zt=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",bm=e=>(Ce(e)||me(e))&&me(e.then)&&me(e.catch),vm=Object.prototype.toString,eo=e=>vm.call(e),aw=e=>eo(e).slice(8,-1),ym=e=>eo(e)==="[object Object]",Pi=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=mc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bi=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},iw=/-\w/g,Pt=Bi(e=>e.replace(iw,t=>t.slice(1).toUpperCase())),lw=/\B([A-Z])/g,bs=Bi(e=>e.replace(lw,"-$1").toLowerCase()),Oi=Bi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Va=Bi(e=>e?`on${Oi(e)}`:""),$n=(e,t)=>!Object.is(e,t),Oo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},wm=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},uw=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cw=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let kf;const ki=()=>kf||(kf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Sn(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ne(r)?hw(r):Sn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ne(e)||Ce(e))return e}const fw=/;(?![^(]*\))/g,dw=/:([^]+)/,pw=/\/\*[^]*?\*\//g;function hw(e){const t={};return e.replace(pw,"").split(fw).forEach(n=>{if(n){const r=n.split(dw);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Oe(e){let t="";if(Ne(e))t=e;else if(ue(e))for(let n=0;n<e.length;n++){const r=Oe(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function mw(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Oe(t)),n&&(e.style=Sn(n)),e}const gw="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bw=mc(gw);function _m(e){return!!e||e===""}function vw(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=bc(e[r],t[r]);return n}function bc(e,t){if(e===t)return!0;let n=Of(e),r=Of(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zt(e),r=zt(t),n||r)return e===t;if(n=ue(e),r=ue(t),n||r)return n&&r?vw(e,t):!1;if(n=Ce(e),r=Ce(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!bc(e[a],t[a]))return!1}}return String(e)===String(t)}const Em=e=>!!(e&&e.__v_isRef===!0),$t=e=>Ne(e)?e:e==null?"":ue(e)||Ce(e)&&(e.toString===vm||!me(e.toString))?Em(e)?$t(e.value):JSON.stringify(e,Am,2):String(e),Am=(e,t)=>Em(t)?Am(e,t.value):Fs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ul(r,o)+" =>"]=s,n),{})}:gm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ul(n))}:zt(t)?ul(t):Ce(t)&&!ue(t)&&!ym(t)?String(t):t,ul=(e,t="")=>{var n;return zt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function yw(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let pt;class Sm{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&pt&&(pt.active?(this.parent=pt,this.index=(pt.scopes||(pt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=pt;try{return pt=this,t()}finally{pt=n}}}on(){++this._on===1&&(this.prevScope=pt,pt=this)}off(){if(this._on>0&&--this._on===0){if(pt===this)pt=this.prevScope;else{let t=pt;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 xm(e){return new Sm(e)}function vc(){return pt}function Nm(e,t=!1){pt&&pt.cleanups.push(e)}let Ue;const cl=new WeakSet;class Im{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,pt&&(pt.active?pt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,cl.has(this)&&(cl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Tm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ff(this),Rm(this);const t=Ue,n=_n;Ue=this,_n=!0;try{return this.fn()}finally{Pm(this),Ue=t,_n=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_c(t);this.deps=this.depsTail=void 0,Ff(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?cl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ql(this)&&this.run()}get dirty(){return Ql(this)}}let Cm=0,ko,Fo;function Tm(e,t=!1){if(e.flags|=8,t){e.next=Fo,Fo=e;return}e.next=ko,ko=e}function yc(){Cm++}function wc(){if(--Cm>0)return;if(Fo){let t=Fo;for(Fo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ko;){let t=ko;for(ko=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 Rm(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Pm(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),_c(r),ww(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ql(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Bm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Bm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ho)||(e.globalVersion=Ho,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ql(e))))return;e.flags|=2;const t=e.dep,n=Ue,r=_n;Ue=e,_n=!0;try{Rm(e);const s=e.fn(e._value);(t.version===0||$n(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ue=n,_n=r,Pm(e),e.flags&=-3}}function _c(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 o=n.computed.deps;o;o=o.nextDep)_c(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ww(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _n=!0;const Om=[];function dr(){Om.push(_n),_n=!1}function pr(){const e=Om.pop();_n=e===void 0?!0:e}function Ff(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ue;Ue=void 0;try{t()}finally{Ue=n}}}let Ho=0;class _w{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 Ec{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(!Ue||!_n||Ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ue)n=this.activeLink=new _w(Ue,this),Ue.deps?(n.prevDep=Ue.depsTail,Ue.depsTail.nextDep=n,Ue.depsTail=n):Ue.deps=Ue.depsTail=n,km(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=Ue.depsTail,n.nextDep=void 0,Ue.depsTail.nextDep=n,Ue.depsTail=n,Ue.deps===n&&(Ue.deps=r)}return n}trigger(t){this.version++,Ho++,this.notify(t)}notify(t){yc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{wc()}}}function km(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)km(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const si=new WeakMap,os=Symbol(""),ql=Symbol(""),Xo=Symbol("");function Ct(e,t,n){if(_n&&Ue){let r=si.get(e);r||si.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Ec),s.map=r,s.key=n),s.track()}}function lr(e,t,n,r,s,o){const a=si.get(e);if(!a){Ho++;return}const i=l=>{l&&l.trigger()};if(yc(),t==="clear")a.forEach(i);else{const l=ue(e),u=l&&Pi(n);if(l&&n==="length"){const c=Number(r);a.forEach((f,d)=>{(d==="length"||d===Xo||!zt(d)&&d>=c)&&i(f)})}else switch((n!==void 0||a.has(void 0))&&i(a.get(n)),u&&i(a.get(Xo)),t){case"add":l?u&&i(a.get("length")):(i(a.get(os)),Fs(e)&&i(a.get(ql)));break;case"delete":l||(i(a.get(os)),Fs(e)&&i(a.get(ql)));break;case"set":Fs(e)&&i(a.get(os));break}}wc()}function Ew(e,t){const n=si.get(e);return n&&n.get(t)}function As(e){const t=Re(e);return t===e?t:(Ct(t,"iterate",Xo),Xt(e)?t:t.map(xn))}function Fi(e){return Ct(e=Re(e),"iterate",Xo),e}function Mn(e,t){return hr(e)?$s(Wn(e)?xn(t):t):xn(t)}const Aw={__proto__:null,[Symbol.iterator](){return fl(this,Symbol.iterator,e=>Mn(this,e))},concat(...e){return As(this).concat(...e.map(t=>ue(t)?As(t):t))},entries(){return fl(this,"entries",e=>(e[1]=Mn(this,e[1]),e))},every(e,t){return Jn(this,"every",e,t,void 0,arguments)},filter(e,t){return Jn(this,"filter",e,t,n=>n.map(r=>Mn(this,r)),arguments)},find(e,t){return Jn(this,"find",e,t,n=>Mn(this,n),arguments)},findIndex(e,t){return Jn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Jn(this,"findLast",e,t,n=>Mn(this,n),arguments)},findLastIndex(e,t){return Jn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Jn(this,"forEach",e,t,void 0,arguments)},includes(...e){return dl(this,"includes",e)},indexOf(...e){return dl(this,"indexOf",e)},join(e){return As(this).join(e)},lastIndexOf(...e){return dl(this,"lastIndexOf",e)},map(e,t){return Jn(this,"map",e,t,void 0,arguments)},pop(){return co(this,"pop")},push(...e){return co(this,"push",e)},reduce(e,...t){return Mf(this,"reduce",e,t)},reduceRight(e,...t){return Mf(this,"reduceRight",e,t)},shift(){return co(this,"shift")},some(e,t){return Jn(this,"some",e,t,void 0,arguments)},splice(...e){return co(this,"splice",e)},toReversed(){return As(this).toReversed()},toSorted(e){return As(this).toSorted(e)},toSpliced(...e){return As(this).toSpliced(...e)},unshift(...e){return co(this,"unshift",e)},values(){return fl(this,"values",e=>Mn(this,e))}};function fl(e,t,n){const r=Fi(e),s=r[t]();return r!==e&&!Xt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Sw=Array.prototype;function Jn(e,t,n,r,s,o){const a=Fi(e),i=a!==e&&!Xt(e),l=a[t];if(l!==Sw[t]){const f=l.apply(e,o);return i?xn(f):f}let u=n;a!==e&&(i?u=function(f,d){return n.call(this,Mn(e,f),d,e)}:n.length>2&&(u=function(f,d){return n.call(this,f,d,e)}));const c=l.call(a,u,r);return i&&s?s(c):c}function Mf(e,t,n,r){const s=Fi(e),o=s!==e&&!Xt(e);let a=n,i=!1;s!==e&&(o?(i=r.length===0,a=function(u,c,f){return i&&(i=!1,u=Mn(e,u)),n.call(this,u,Mn(e,c),f,e)}):n.length>3&&(a=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](a,...r);return i?Mn(e,l):l}function dl(e,t,n){const r=Re(e);Ct(r,"iterate",Xo);const s=r[t](...n);return(s===-1||s===!1)&&Wi(n[0])?(n[0]=Re(n[0]),r[t](...n)):s}function co(e,t,n=[]){dr(),yc();const r=Re(e)[t].apply(e,n);return wc(),pr(),r}const xw=mc("__proto__,__v_isRef,__isVue"),Fm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zt));function Nw(e){zt(e)||(e=String(e));const t=Re(this);return Ct(t,"has",e),t.hasOwnProperty(e)}class Mm{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,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Gm:Vm:o?Dm:Wm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=ue(t);if(!s){let l;if(a&&(l=Aw[n]))return l;if(n==="hasOwnProperty")return Nw}const i=Reflect.get(t,n,Ke(t)?t:r);if((zt(n)?Fm.has(n):xw(n))||(s||Ct(t,"get",n),o))return i;if(Ke(i)){const l=a&&Pi(n)?i:i.value;return s&&Ce(l)?Ls(l):l}return Ce(i)?s?Ls(i):In(i):i}}class Lm extends Mm{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const a=ue(t)&&Pi(n);if(!this._isShallow){const u=hr(o);if(!Xt(r)&&!hr(r)&&(o=Re(o),r=Re(r)),!a&&Ke(o)&&!Ke(r))return u||(o.value=r),!0}const i=a?Number(n)<t.length:Pe(t,n),l=Reflect.set(t,n,r,Ke(t)?t:s);return t===Re(s)&&(i?$n(r,o)&&lr(t,"set",n,r):lr(t,"add",n,r)),l}deleteProperty(t,n){const r=Pe(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&lr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!zt(n)||!Fm.has(n))&&Ct(t,"has",n),r}ownKeys(t){return Ct(t,"iterate",ue(t)?"length":os),Reflect.ownKeys(t)}}class $m extends Mm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Iw=new Lm,Cw=new $m,Tw=new Lm(!0),Rw=new $m(!0),eu=e=>e,Aa=e=>Reflect.getPrototypeOf(e);function Pw(e,t,n){return function(...r){const s=this.__v_raw,o=Re(s),a=Fs(o),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=s[e](...r),c=n?eu:t?$s:xn;return!t&&Ct(o,"iterate",l?ql:os),gt(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:i?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function Sa(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bw(e,t){const n={get(s){const o=this.__v_raw,a=Re(o),i=Re(s);e||($n(s,i)&&Ct(a,"get",s),Ct(a,"get",i));const{has:l}=Aa(a),u=t?eu:e?$s:xn;if(l.call(a,s))return u(o.get(s));if(l.call(a,i))return u(o.get(i));o!==a&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ct(Re(s),"iterate",os),s.size},has(s){const o=this.__v_raw,a=Re(o),i=Re(s);return e||($n(s,i)&&Ct(a,"has",s),Ct(a,"has",i)),s===i?o.has(s):o.has(s)||o.has(i)},forEach(s,o){const a=this,i=a.__v_raw,l=Re(i),u=t?eu:e?$s:xn;return!e&&Ct(l,"iterate",os),i.forEach((c,f)=>s.call(o,u(c),u(f),a))}};return gt(n,e?{add:Sa("add"),set:Sa("set"),delete:Sa("delete"),clear:Sa("clear")}:{add(s){const o=Re(this),a=Aa(o),i=Re(s),l=!t&&!Xt(s)&&!hr(s)?i:s;return a.has.call(o,l)||$n(s,l)&&a.has.call(o,s)||$n(i,l)&&a.has.call(o,i)||(o.add(l),lr(o,"add",l,l)),this},set(s,o){!t&&!Xt(o)&&!hr(o)&&(o=Re(o));const a=Re(this),{has:i,get:l}=Aa(a);let u=i.call(a,s);u||(s=Re(s),u=i.call(a,s));const c=l.call(a,s);return a.set(s,o),u?$n(o,c)&&lr(a,"set",s,o):lr(a,"add",s,o),this},delete(s){const o=Re(this),{has:a,get:i}=Aa(o);let l=a.call(o,s);l||(s=Re(s),l=a.call(o,s)),i&&i.call(o,s);const u=o.delete(s);return l&&lr(o,"delete",s,void 0),u},clear(){const s=Re(this),o=s.size!==0,a=s.clear();return o&&lr(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Pw(s,e,t)}),n}function Mi(e,t){const n=Bw(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Pe(n,s)&&s in r?n:r,s,o)}const Ow={get:Mi(!1,!1)},kw={get:Mi(!1,!0)},Fw={get:Mi(!0,!1)},Mw={get:Mi(!0,!0)},Wm=new WeakMap,Dm=new WeakMap,Vm=new WeakMap,Gm=new WeakMap;function Lw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function In(e){return hr(e)?e:$i(e,!1,Iw,Ow,Wm)}function Li(e){return $i(e,!1,Tw,kw,Dm)}function Ls(e){return $i(e,!0,Cw,Fw,Vm)}function $w(e){return $i(e,!0,Rw,Mw,Gm)}function $i(e,t,n,r,s){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=s.get(e);if(o)return o;const a=Lw(aw(e));if(a===0)return e;const i=new Proxy(e,a===2?r:n);return s.set(e,i),i}function Wn(e){return hr(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function hr(e){return!!(e&&e.__v_isReadonly)}function Xt(e){return!!(e&&e.__v_isShallow)}function Wi(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Ac(e){return!Pe(e,"__v_skip")&&Object.isExtensible(e)&&wm(e,"__v_skip",!0),e}const xn=e=>Ce(e)?In(e):e,$s=e=>Ce(e)?Ls(e):e;function Ke(e){return e?e.__v_isRef===!0:!1}function J(e){return Ym(e,!1)}function to(e){return Ym(e,!0)}function Ym(e,t){return Ke(e)?e:new Ww(e,t)}class Ww{constructor(t,n){this.dep=new Ec,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:xn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Xt(t)||hr(t);t=r?t:Re(t),$n(t,n)&&(this._rawValue=t,this._value=r?t:xn(t),this.dep.trigger())}}function A(e){return Ke(e)?e.value:e}function ln(e){return me(e)?e():A(e)}const Dw={get:(e,t,n)=>t==="__v_raw"?e:A(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ke(s)&&!Ke(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Um(e){return Wn(e)?e:new Proxy(e,Dw)}function Vw(e){const t=ue(e)?new Array(e.length):{};for(const n in e)t[n]=jm(e,n);return t}class Gw{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=zt(n)?n:String(n),this._raw=Re(t);let s=!0,o=t;if(!ue(t)||zt(this._key)||!Pi(this._key))do s=!Wi(o)||Xt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=A(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ke(this._raw[this._key])){const n=this._object[this._key];if(Ke(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ew(this._raw,this._key)}}class Yw{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Et(e,t,n){return Ke(e)?e:me(e)?new Yw(e):Ce(e)&&arguments.length>1?jm(e,t,n):J(e)}function jm(e,t,n){return new Gw(e,t,n)}class Uw{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ec(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ho-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return Tm(this,!0),!0}get value(){const t=this.dep.track();return Bm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function jw(e,t,n=!1){let r,s;return me(e)?r=e:(r=e.get,s=e.set),new Uw(r,s,n)}const xa={},oi=new WeakMap;let zr;function Zw(e,t=!1,n=zr){if(n){let r=oi.get(n);r||oi.set(n,r=[]),r.push(e)}}function Kw(e,t,n=De){const{immediate:r,deep:s,once:o,scheduler:a,augmentJob:i,call:l}=n,u=_=>s?_:Xt(_)||s===!1||s===0?ur(_,1):ur(_);let c,f,d,p,h=!1,m=!1;if(Ke(e)?(f=()=>e.value,h=Xt(e)):Wn(e)?(f=()=>u(e),h=!0):ue(e)?(m=!0,h=e.some(_=>Wn(_)||Xt(_)),f=()=>e.map(_=>{if(Ke(_))return _.value;if(Wn(_))return u(_);if(me(_))return l?l(_,2):_()})):me(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){dr();try{d()}finally{pr()}}const _=zr;zr=c;try{return l?l(e,3,[p]):e(p)}finally{zr=_}}:f=Rt,t&&s){const _=f,P=s===!0?1/0:s;f=()=>ur(_(),P)}const g=vc(),y=()=>{c.stop(),g&&g.active&&gc(g.effects,c)};if(o&&t){const _=t;t=(...P)=>{const G=_(...P);return y(),G}}let v=m?new Array(e.length).fill(xa):xa;const E=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const P=c.run();if(_||s||h||(m?P.some((G,B)=>$n(G,v[B])):$n(P,v))){d&&d();const G=zr;zr=c;try{const B=[P,v===xa?void 0:m&&v[0]===xa?[]:v,p];v=P,l?l(t,3,B):t(...B)}finally{zr=G}}}else c.run()};return i&&i(E),c=new Im(f),c.scheduler=a?()=>a(E,!1):E,p=_=>Zw(_,!1,c),d=c.onStop=()=>{const _=oi.get(c);if(_){if(l)l(_,4);else for(const P of _)P();oi.delete(c)}},t?r?E(!0):v=c.run():a?a(E.bind(null,!0),!0):c.run(),y.pause=c.pause.bind(c),y.resume=c.resume.bind(c),y.stop=y,y}function ur(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--,Ke(e))ur(e.value,t,n);else if(ue(e))for(let r=0;r<e.length;r++)ur(e[r],t,n);else if(gm(e)||Fs(e))e.forEach(r=>{ur(r,t,n)});else if(ym(e)){for(const r in e)ur(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ur(e[r],t,n)}return e}function ha(e,t,n,r){try{return r?e(...r):e()}catch(s){Di(s,t,n)}}function cn(e,t,n,r){if(me(e)){const s=ha(e,t,n,r);return s&&bm(s)&&s.catch(o=>{Di(o,t,n)}),s}if(ue(e)){const s=[];for(let o=0;o<e.length;o++)s.push(cn(e[o],t,n,r));return s}}function Di(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||De;if(t){let i=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}i=i.parent}if(o){dr(),ha(o,null,10,[e,l,u]),pr();return}}Hw(e,n,s,r,a)}function Hw(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ft=[];let Fn=-1;const Ms=[];let Rr=null,Is=0;const Zm=Promise.resolve();let ai=null;function fn(e){const t=ai||Zm;return e?t.then(this?e.bind(this):e):t}function Xw(e){let t=Fn+1,n=Ft.length;for(;t<n;){const r=t+n>>>1,s=Ft[r],o=zo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Sc(e){if(!(e.flags&1)){const t=zo(e),n=Ft[Ft.length-1];!n||!(e.flags&2)&&t>=zo(n)?Ft.push(e):Ft.splice(Xw(t),0,e),e.flags|=1,Km()}}function Km(){ai||(ai=Zm.then(zm))}function Hm(e){ue(e)?Ms.push(...e):Rr&&e.id===-1?Rr.splice(Is+1,0,e):e.flags&1||(Ms.push(e),e.flags|=1),Km()}function Lf(e,t,n=Fn+1){for(;n<Ft.length;n++){const r=Ft[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ft.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Xm(e){if(Ms.length){const t=[...new Set(Ms)].sort((n,r)=>zo(n)-zo(r));if(Ms.length=0,Rr){Rr.push(...t);return}for(Rr=t,Is=0;Is<Rr.length;Is++){const n=Rr[Is];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Rr=null,Is=0}}const zo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zm(e){try{for(Fn=0;Fn<Ft.length;Fn++){const t=Ft[Fn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ha(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Fn<Ft.length;Fn++){const t=Ft[Fn];t&&(t.flags&=-2)}Fn=-1,Ft.length=0,Xm(),ai=null,(Ft.length||Ms.length)&&zm()}}let At=null,Jm=null;function ii(e){const t=At;return At=e,Jm=e&&e.type.__scopeId||null,t}function he(e,t=At,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&di(-1);const o=ii(t);let a;try{a=e(...s)}finally{ii(o),r._d&&di(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function no(e,t){if(At===null)return e;const n=Ui(At),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,a,i,l=De]=t[s];o&&(me(o)&&(o={mounted:o,updated:o}),o.deep&&ur(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l}))}return e}function Ur(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];o&&(i.oldValue=o[a].value);let l=i.dir[r];l&&(dr(),cn(l,n,8,[e.el,i,e,t]),pr())}}function nt(e,t){if(Tt){let n=Tt.provides;const r=Tt.parent&&Tt.parent.provides;r===n&&(n=Tt.provides=Object.create(r)),n[e]=t}}function be(e,t,n=!1){const r=Je();if(r||is){let s=is?is._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&&me(t)?t.call(r&&r.proxy):t}}function zw(){return!!(Je()||is)}const Jw=Symbol.for("v-scx"),Qw=()=>be(Jw);function Qm(e,t){return xc(e,null,t)}function Ie(e,t,n){return xc(e,t,n)}function xc(e,t,n=De){const{immediate:r,deep:s,flush:o,once:a}=n,i=gt({},n),l=t&&r||!t&&o!=="post";let u;if(Qo){if(o==="sync"){const p=Qw();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Rt,p.resume=Rt,p.pause=Rt,p}}const c=Tt;i.call=(p,h,m)=>cn(p,c,h,m);let f=!1;o==="post"?i.scheduler=p=>{ht(p,c&&c.suspense)}:o!=="sync"&&(f=!0,i.scheduler=(p,h)=>{h?p():Sc(p)}),i.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const d=Kw(e,t,i);return Qo&&(u?u.push(d):l&&d()),d}function qw(e,t,n){const r=this.proxy,s=Ne(e)?e.includes(".")?qm(r,e):()=>r[e]:e.bind(r,r);let o;me(t)?o=t:(o=t.handler,n=t);const a=ga(this),i=xc(s,o.bind(r),n);return a(),i}function qm(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 Ar=new WeakMap,eg=Symbol("_vte"),tg=e=>e.__isTeleport,ts=e=>e&&(e.disabled||e.disabled===""),e_=e=>e&&(e.defer||e.defer===""),$f=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,tu=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},t_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,a,i,l,u){const{mc:c,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:g,parentNode:y}}=u,v=ts(t.props);let{dynamicChildren:E}=t;const _=(B,O,R)=>{B.shapeFlag&16&&c(B.children,O,R,s,o,a,i,l)},P=(B=t)=>{const O=ts(B.props),R=B.target=tu(B.props,h),F=nu(R,B,m,p);R&&(a!=="svg"&&$f(R)?a="svg":a!=="mathml"&&Wf(R)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(R),O||(_(B,R,F),Eo(B,!1)))},G=B=>{const O=()=>{if(Ar.get(B)===O){if(Ar.delete(B),ts(B.props)){const R=y(B.el)||n;_(B,R,B.anchor),Eo(B,!0)}P(B)}};Ar.set(B,O),ht(O,o)};if(e==null){const B=t.el=m(""),O=t.anchor=m("");if(p(B,n,r),p(O,n,r),e_(t.props)||o&&o.pendingBranch){G(t);return}v&&(_(t,n,O),Eo(t,!0)),P()}else{t.el=e.el;const B=t.anchor=e.anchor,O=Ar.get(e);if(O){O.flags|=8,Ar.delete(e),G(t);return}t.targetStart=e.targetStart;const R=t.target=e.target,F=t.targetAnchor=e.targetAnchor,D=ts(e.props),k=D?n:R,U=D?B:F;if(a==="svg"||$f(R)?a="svg":(a==="mathml"||Wf(R))&&(a="mathml"),E?(d(e.dynamicChildren,E,k,s,o,a,i),Pc(e,t,!0)):l||f(e,t,k,U,s,o,a,i,!1),v)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Na(t,n,B,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=tu(t.props,h);Z&&Na(t,Z,null,u,0)}else D&&Na(t,R,F,u,1);Eo(t,v)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:i,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e,p=o||!ts(d),h=Ar.get(e);if(h&&(h.flags|=8,Ar.delete(e)),f&&(s(u),s(c)),o&&s(l),!h&&a&16)for(let m=0;m<i.length;m++){const g=i[m];r(g,t,n,p,!!g.dynamicChildren)}},move:Na,hydrate:n_};function Na(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:i,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(a,t,n),!Ar.has(e)&&(!f||ts(c))&&l&16)for(let d=0;d<u.length;d++)s(u[d],t,n,2);f&&r(i,t,n)}function n_(e,t,n,r,s,o,{o:{nextSibling:a,parentNode:i,querySelector:l,insert:u,createText:c}},f){function d(g,y){let v=y;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,g._lpa=t.targetAnchor&&a(t.targetAnchor);break}}v=a(v)}}function p(g,y){y.anchor=f(a(g),y,i(g),n,r,s,o)}const h=t.target=tu(t.props,l),m=ts(t.props);if(h){const g=h._lpa||h.firstChild;t.shapeFlag&16&&(m?(p(e,t),d(h,g),t.targetAnchor||nu(h,t,c,u,i(e)===h?e:null)):(t.anchor=a(e),d(h,g),t.targetAnchor||nu(h,t,c,u),f(g&&a(g),t,h,n,r,s,o))),Eo(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const r_=t_;function Eo(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function nu(e,t,n,r,s=null){const o=t.targetStart=n(""),a=t.targetAnchor=n("");return o[eg]=a,e&&(r(o,e,s),r(a,e,s)),a}const an=Symbol("_leaveCb"),fo=Symbol("_enterCb");function s_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return it(()=>{e.isMounted=!0}),vt(()=>{e.isUnmounting=!0}),e}const qt=[Function,Array],ng={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qt,onEnter:qt,onAfterEnter:qt,onEnterCancelled:qt,onBeforeLeave:qt,onLeave:qt,onAfterLeave:qt,onLeaveCancelled:qt,onBeforeAppear:qt,onAppear:qt,onAfterAppear:qt,onAppearCancelled:qt},rg=e=>{const t=e.subTree;return t.component?rg(t.component):t},o_={name:"BaseTransition",props:ng,setup(e,{slots:t}){const n=Je(),r=s_();return()=>{const s=t.default&&ag(t.default(),!0),o=s&&s.length?sg(s):n.subTree?ze():void 0;if(!o)return;const a=Re(e),{mode:i}=a;if(r.isLeaving)return pl(o);const l=Df(o);if(!l)return pl(o);let u=ru(l,a,r,n,f=>u=f);l.type!==mt&&Ws(l,u);let c=n.subTree&&Df(n.subTree);if(c&&c.type!==mt&&!kr(c,l)&&rg(n).type!==mt){let f=ru(c,a,r,n);if(Ws(c,f),i==="out-in"&&l.type!==mt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},pl(o);i==="in-out"&&l.type!==mt?f.delayLeave=(d,p,h)=>{const m=og(r,c);m[String(c.key)]=c,d[an]=()=>{p(),d[an]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function sg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==mt){t=n;break}}return t}const a_=o_;function og(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 ru(e,t,n,r,s){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:E}=t,_=String(e.key),P=og(n,e),G=(R,F)=>{R&&cn(R,r,9,F)},B=(R,F)=>{const D=F[1];G(R,F),ue(R)?R.every(k=>k.length<=1)&&D():R.length<=1&&D()},O={mode:a,persisted:i,beforeEnter(R){let F=l;if(!n.isMounted)if(o)F=g||l;else return;R[an]&&R[an](!0);const D=P[_];D&&kr(e,D)&&D.el[an]&&D.el[an](),G(F,[R])},enter(R){if(P[_]===e)return;let F=u,D=c,k=f;if(!n.isMounted)if(o)F=y||u,D=v||c,k=E||f;else return;let U=!1;R[fo]=j=>{U||(U=!0,j?G(k,[R]):G(D,[R]),O.delayedLeave&&O.delayedLeave(),R[fo]=void 0)};const Z=R[fo].bind(null,!1);F?B(F,[R,Z]):Z()},leave(R,F){const D=String(e.key);if(R[fo]&&R[fo](!0),n.isUnmounting)return F();G(d,[R]);let k=!1;R[an]=Z=>{k||(k=!0,F(),Z?G(m,[R]):G(h,[R]),R[an]=void 0,P[D]===e&&delete P[D])};const U=R[an].bind(null,!1);P[D]=e,p?B(p,[R,U]):U()},clone(R){const F=ru(R,t,n,r,s);return s&&s(F),F}};return O}function pl(e){if(Vi(e))return e=Gn(e),e.children=null,e}function Df(e){if(!Vi(e))return tg(e.type)&&e.children?sg(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&&me(n.default))return n.default()}}function Ws(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ws(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 ag(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let a=e[o];const i=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===Xe?(a.patchFlag&128&&s++,r=r.concat(ag(a.children,t,i))):(t||a.type!==mt)&&r.push(i!=null?Gn(a,{key:i}):a)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function de(e,t){return me(e)?gt({name:e.name},t,{setup:e}):e}function ig(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function i_(e){const t=Je(),n=to(null);if(t){const s=t.refs===De?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function Vf(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const li=new WeakMap;function Mo(e,t,n,r,s=!1){if(ue(e)){e.forEach((m,g)=>Mo(m,t&&(ue(t)?t[g]:t),n,r,s));return}if(Lr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Mo(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ui(r.component):r.el,a=s?null:o,{i,r:l}=e,u=t&&t.r,c=i.refs===De?i.refs={}:i.refs,f=i.setupState,d=Re(f),p=f===De?mm:m=>Vf(c,m)?!1:Pe(d,m),h=(m,g)=>!(g&&Vf(c,g));if(u!=null&&u!==l){if(Gf(t),Ne(u))c[u]=null,p(u)&&(f[u]=null);else if(Ke(u)){const m=t;h(u,m.k)&&(u.value=null),m.k&&(c[m.k]=null)}}if(me(l))ha(l,i,12,[a,c]);else{const m=Ne(l),g=Ke(l);if(m||g){const y=()=>{if(e.f){const v=m?p(l)?f[l]:c[l]:h()||!e.k?l.value:c[e.k];if(s)ue(v)&&gc(v,o);else if(ue(v))v.includes(o)||v.push(o);else if(m)c[l]=[o],p(l)&&(f[l]=c[l]);else{const E=[o];h(l,e.k)&&(l.value=E),e.k&&(c[e.k]=E)}}else m?(c[l]=a,p(l)&&(f[l]=a)):g&&(h(l,e.k)&&(l.value=a),e.k&&(c[e.k]=a))};if(a){const v=()=>{y(),li.delete(e)};v.id=-1,li.set(e,v),ht(v,n)}else Gf(e),y()}}}function Gf(e){const t=li.get(e);t&&(t.flags|=8,li.delete(e))}ki().requestIdleCallback;ki().cancelIdleCallback;const Lr=e=>!!e.type.__asyncLoader,Vi=e=>e.type.__isKeepAlive,l_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Je(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let a=null;const i=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(v,E,_,P,G)=>{const B=v.component;u(v,E,_,0,i),l(B.vnode,v,E,_,B,i,P,v.slotScopeIds,G),ht(()=>{B.isDeactivated=!1,B.a&&Oo(B.a);const O=v.props&&v.props.onVnodeMounted;O&&on(O,B.parent,v)},i)},r.deactivate=v=>{const E=v.component;ci(E.m),ci(E.a),u(v,d,null,1,i),ht(()=>{E.da&&Oo(E.da);const _=v.props&&v.props.onVnodeUnmounted;_&&on(_,E.parent,v),E.isDeactivated=!0},i)};function p(v){hl(v),c(v,n,i,!0)}function h(v){s.forEach((E,_)=>{const P=uu(Lr(E)?E.type.__asyncResolved||{}:E.type);P&&!v(P)&&m(_)})}function m(v){const E=s.get(v);E&&(!a||!kr(E,a))?p(E):a&&hl(a),s.delete(v),o.delete(v)}Ie(()=>[e.include,e.exclude],([v,E])=>{v&&h(_=>Ao(v,_)),E&&h(_=>!Ao(E,_))},{flush:"post",deep:!0});let g=null;const y=()=>{g!=null&&(fi(n.subTree.type)?ht(()=>{s.set(g,Ia(n.subTree))},n.subTree.suspense):s.set(g,Ia(n.subTree)))};return it(y),Nc(y),vt(()=>{s.forEach(v=>{const{subTree:E,suspense:_}=n,P=Ia(E);if(v.type===P.type&&v.key===P.key){hl(P);const G=P.component.da;G&&ht(G,_);return}p(v)})}),()=>{if(g=null,!t.default)return a=null;const v=t.default(),E=v[0];if(v.length>1)return a=null,v;if(!En(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return a=null,E;let _=Ia(E);if(_.type===mt)return a=null,_;const P=_.type,G=uu(Lr(_)?_.type.__asyncResolved||{}:P),{include:B,exclude:O,max:R}=e;if(B&&(!G||!Ao(B,G))||O&&G&&Ao(O,G))return _.shapeFlag&=-257,a=_,E;const F=_.key==null?P:_.key,D=s.get(F);return _.el&&(_=Gn(_),E.shapeFlag&128&&(E.ssContent=_)),g=F,D?(_.el=D.el,_.component=D.component,_.transition&&Ws(_,_.transition),_.shapeFlag|=512,o.delete(F),o.add(F)):(o.add(F),R&&o.size>parseInt(R,10)&&m(o.values().next().value)),_.shapeFlag|=256,a=_,fi(E.type)?E:_}}},u_=l_;function Ao(e,t){return ue(e)?e.some(n=>Ao(n,t)):Ne(e)?e.split(",").includes(t):ow(e)?(e.lastIndex=0,e.test(t)):!1}function lg(e,t){cg(e,"a",t)}function ug(e,t){cg(e,"da",t)}function cg(e,t,n=Tt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Vi(s.parent.vnode)&&c_(r,t,n,s),s=s.parent}}function c_(e,t,n,r){const s=Gi(t,e,r,!0);ma(()=>{gc(r[t],s)},n)}function hl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ia(e){return e.shapeFlag&128?e.ssContent:e}function Gi(e,t,n=Tt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{dr();const i=ga(n),l=cn(t,n,e,a);return i(),pr(),l});return r?s.unshift(o):s.push(o),o}}const gr=e=>(t,n=Tt)=>{(!Qo||e==="sp")&&Gi(e,(...r)=>t(...r),n)},fg=gr("bm"),it=gr("m"),dg=gr("bu"),Nc=gr("u"),vt=gr("bum"),ma=gr("um"),f_=gr("sp"),d_=gr("rtg"),p_=gr("rtc");function h_(e,t=Tt){Gi("ec",e,t)}const Ic="components",m_="directives";function Lt(e,t){return Cc(Ic,e,!0,t)||e}const pg=Symbol.for("v-ndc");function as(e){return Ne(e)?Cc(Ic,e,!1)||e:e||pg}function ak(e){return Cc(m_,e)}function Cc(e,t,n=!0,r=!1){const s=At||Tt;if(s){const o=s.type;if(e===Ic){const i=uu(o,!1);if(i&&(i===t||i===Pt(t)||i===Oi(Pt(t))))return o}const a=Yf(s[e]||o[e],t)||Yf(s.appContext[e],t);return!a&&r?o:a}}function Yf(e,t){return e&&(e[t]||e[Pt(t)]||e[Oi(Pt(t))])}function hg(e,t,n,r){let s;const o=n,a=ue(e);if(a||Ne(e)){const i=a&&Wn(e);let l=!1,u=!1;i&&(l=!Xt(e),u=hr(e),e=Fi(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?$s(xn(e[c])):xn(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o)}else if(Ce(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,u=i.length;l<u;l++){const c=i[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function mg(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ue(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function _e(e,t,n={},r,s){if(At.ce||At.parent&&Lr(At.parent)&&At.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),X(),xe(Xe,null,[Ae("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),X();const a=o&&gg(o(n)),i=n.key||a&&a.key,l=xe(Xe,{key:(i&&!zt(i)?i:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function gg(e){return e.some(t=>En(t)?!(t.type===mt||t.type===Xe&&!gg(t.children)):!0)?e:null}function g_(e,t){const n={};for(const r in e)n[Va(r)]=e[r];return n}const su=e=>e?Lg(e)?Ui(e):su(e.parent):null,Lo=gt(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=>su(e.parent),$root:e=>su(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wg(e),$forceUpdate:e=>e.f||(e.f=()=>{Sc(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>qw.bind(e)}),ml=(e,t)=>e!==De&&!e.__isScriptSetup&&Pe(e,t),b_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:a,type:i,appContext:l}=e;if(t[0]!=="$"){const d=a[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(ml(r,t))return a[t]=1,r[t];if(s!==De&&Pe(s,t))return a[t]=2,s[t];if(Pe(o,t))return a[t]=3,o[t];if(n!==De&&Pe(n,t))return a[t]=4,n[t];ou&&(a[t]=0)}}const u=Lo[t];let c,f;if(u)return t==="$attrs"&&Ct(e.attrs,"get",""),u(e);if((c=i.__cssModules)&&(c=c[t]))return c;if(n!==De&&Pe(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Pe(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ml(s,t)?(s[t]=n,!0):r!==De&&Pe(r,t)?(r[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:a}},i){let l;return!!(n[i]||e!==De&&i[0]!=="$"&&Pe(e,i)||ml(t,i)||Pe(o,i)||Pe(r,i)||Pe(Lo,i)||Pe(s.config.globalProperties,i)||(l=a.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bg(){return vg().slots}function ik(){return vg().attrs}function vg(e){const t=Je();return t.setupContext||(t.setupContext=Wg(t))}function Uf(e){return ue(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ou=!0;function v_(e){const t=wg(e),n=e.proxy,r=e.ctx;ou=!1,t.beforeCreate&&jf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:i,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:v,destroyed:E,unmounted:_,render:P,renderTracked:G,renderTriggered:B,errorCaptured:O,serverPrefetch:R,expose:F,inheritAttrs:D,components:k,directives:U,filters:Z}=t;if(u&&y_(u,r,null),a)for(const x in a){const C=a[x];me(C)&&(r[x]=C.bind(n))}if(s){const x=s.call(n,n);Ce(x)&&(e.data=In(x))}if(ou=!0,o)for(const x in o){const C=o[x],H=me(C)?C.bind(n,n):me(C.get)?C.get.bind(n,n):Rt,ne=!me(C)&&me(C.set)?C.set.bind(n):Rt,le=T({get:H,set:ne});Object.defineProperty(r,x,{enumerable:!0,configurable:!0,get:()=>le.value,set:ae=>le.value=ae})}if(i)for(const x in i)yg(i[x],r,n,x);if(l){const x=me(l)?l.call(n):l;Reflect.ownKeys(x).forEach(C=>{nt(C,x[C])})}c&&jf(c,e,"c");function L(x,C){ue(C)?C.forEach(H=>x(H.bind(n))):C&&x(C.bind(n))}if(L(fg,f),L(it,d),L(dg,p),L(Nc,h),L(lg,m),L(ug,g),L(h_,O),L(p_,G),L(d_,B),L(vt,v),L(ma,_),L(f_,R),ue(F))if(F.length){const x=e.exposed||(e.exposed={});F.forEach(C=>{Object.defineProperty(x,C,{get:()=>n[C],set:H=>n[C]=H,enumerable:!0})})}else e.exposed||(e.exposed={});P&&e.render===Rt&&(e.render=P),D!=null&&(e.inheritAttrs=D),k&&(e.components=k),U&&(e.directives=U),R&&ig(e)}function y_(e,t,n=Rt){ue(e)&&(e=au(e));for(const r in e){const s=e[r];let o;Ce(s)?"default"in s?o=be(s.from||r,s.default,!0):o=be(s.from||r):o=be(s),Ke(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function jf(e,t,n){cn(ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yg(e,t,n,r){let s=r.includes(".")?qm(n,r):()=>n[r];if(Ne(e)){const o=t[e];me(o)&&Ie(s,o)}else if(me(e))Ie(s,e.bind(n));else if(Ce(e))if(ue(e))e.forEach(o=>yg(o,t,n,r));else{const o=me(e.handler)?e.handler.bind(n):t[e.handler];me(o)&&Ie(s,o,e)}}function wg(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,i=o.get(t);let l;return i?l=i:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>ui(l,u,a,!0)),ui(l,t,a)),Ce(t)&&o.set(t,l),l}function ui(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ui(e,o,n,!0),s&&s.forEach(a=>ui(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=w_[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const w_={data:Zf,props:Kf,emits:Kf,methods:So,computed:So,beforeCreate:Bt,created:Bt,beforeMount:Bt,mounted:Bt,beforeUpdate:Bt,updated:Bt,beforeDestroy:Bt,beforeUnmount:Bt,destroyed:Bt,unmounted:Bt,activated:Bt,deactivated:Bt,errorCaptured:Bt,serverPrefetch:Bt,components:So,directives:So,watch:E_,provide:Zf,inject:__};function Zf(e,t){return t?e?function(){return gt(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function __(e,t){return So(au(e),au(t))}function au(e){if(ue(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Bt(e,t){return e?[...new Set([].concat(e,t))]:t}function So(e,t){return e?gt(Object.create(null),e,t):t}function Kf(e,t){return e?ue(e)&&ue(t)?[...new Set([...e,...t])]:gt(Object.create(null),Uf(e),Uf(t??{})):t}function E_(e,t){if(!e)return t;if(!t)return e;const n=gt(Object.create(null),e);for(const r in t)n[r]=Bt(e[r],t[r]);return n}function _g(){return{app:null,config:{isNativeTag:mm,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 A_=0;function S_(e,t){return function(r,s=null){me(r)||(r=gt({},r)),s!=null&&!Ce(s)&&(s=null);const o=_g(),a=new WeakSet,i=[];let l=!1;const u=o.app={_uid:A_++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Q_,get config(){return o.config},set config(c){},use(c,...f){return a.has(c)||(c&&me(c.install)?(a.add(c),c.install(u,...f)):me(c)&&(a.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const p=u._ceVNode||Ae(r,s);return p.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),e(p,c,d),l=!0,u._container=c,c.__vue_app__=u,Ui(p.component)}},onUnmount(c){i.push(c)},unmount(){l&&(cn(i,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=is;is=u;try{return c()}finally{is=f}}};return u}}let is=null;const x_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pt(t)}Modifiers`]||e[`${bs(t)}Modifiers`];function N_(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||De;let s=n;const o=t.startsWith("update:"),a=o&&x_(r,t.slice(7));a&&(a.trim&&(s=n.map(c=>Ne(c)?c.trim():c)),a.number&&(s=n.map(uw)));let i,l=r[i=Va(t)]||r[i=Va(Pt(t))];!l&&o&&(l=r[i=Va(bs(t))]),l&&cn(l,e,6,s);const u=r[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,cn(u,e,6,s)}}const I_=new WeakMap;function Eg(e,t,n=!1){const r=n?I_:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},i=!1;if(!me(e)){const l=u=>{const c=Eg(u,t,!0);c&&(i=!0,gt(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(Ce(e)&&r.set(e,null),null):(ue(o)?o.forEach(l=>a[l]=null):gt(a,o),Ce(e)&&r.set(e,a),a)}function Yi(e,t){return!e||!Ti(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,bs(t))||Pe(e,t))}function Hf(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:a,attrs:i,emit:l,render:u,renderCache:c,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,g=ii(e);let y,v;try{if(n.shapeFlag&4){const _=s||r,P=_;y=Ln(u.call(P,_,c,f,p,d,h)),v=i}else{const _=t;y=Ln(_.length>1?_(f,{attrs:i,slots:a,emit:l}):_(f,null)),v=t.props?i:C_(i)}}catch(_){$o.length=0,Di(_,e,1),y=Ae(mt)}let E=y;if(v&&m!==!1){const _=Object.keys(v),{shapeFlag:P}=E;_.length&&P&7&&(o&&_.some(Ri)&&(v=T_(v,o)),E=Gn(E,v,!1,!0))}return n.dirs&&(E=Gn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&Ws(E,n.transition),y=E,ii(g),y}const C_=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ti(n))&&((t||(t={}))[n]=e[n]);return t},T_=(e,t)=>{const n={};for(const r in e)(!Ri(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function R_(e,t,n){const{props:r,children:s,component:o}=e,{props:a,children:i,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xf(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(Ag(a,r,d)&&!Yi(u,d))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===a?!1:r?a?Xf(r,a,u):!0:!!a;return!1}function Xf(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 o=r[s];if(Ag(t,e,o)&&!Yi(n,o))return!0}return!1}function Ag(e,t,n){const r=e[n],s=t[n];return n==="style"&&Ce(r)&&Ce(s)?!bc(r,s):r!==s}function P_({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 Sg={},xg=()=>Object.create(Sg),Ng=e=>Object.getPrototypeOf(e)===Sg;function B_(e,t,n,r=!1){const s={},o=xg();e.propsDefaults=Object.create(null),Ig(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:Li(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function O_(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,i=Re(s),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Yi(e.emitsOptions,d))continue;const p=t[d];if(l)if(Pe(o,d))p!==o[d]&&(o[d]=p,u=!0);else{const h=Pt(d);s[h]=iu(l,i,h,p,e,!1)}else p!==o[d]&&(o[d]=p,u=!0)}}}else{Ig(e,t,s,o)&&(u=!0);let c;for(const f in i)(!t||!Pe(t,f)&&((c=bs(f))===f||!Pe(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=iu(l,i,f,void 0,e,!0)):delete s[f]);if(o!==i)for(const f in o)(!t||!Pe(t,f))&&(delete o[f],u=!0)}u&&lr(e.attrs,"set","")}function Ig(e,t,n,r){const[s,o]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(Bo(l))continue;const u=t[l];let c;s&&Pe(s,c=Pt(l))?!o||!o.includes(c)?n[c]=u:(i||(i={}))[c]=u:Yi(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,a=!0)}if(o){const l=Re(n),u=i||De;for(let c=0;c<o.length;c++){const f=o[c];n[f]=iu(s,l,f,u[f],e,!Pe(u,f))}}return a}function iu(e,t,n,r,s,o){const a=e[n];if(a!=null){const i=Pe(a,"default");if(i&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&me(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=ga(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}a[0]&&(o&&!i?r=!1:a[1]&&(r===""||r===bs(n))&&(r=!0))}return r}const k_=new WeakMap;function Cg(e,t,n=!1){const r=n?k_:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,a={},i=[];let l=!1;if(!me(e)){const c=f=>{l=!0;const[d,p]=Cg(f,t,!0);gt(a,d),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return Ce(e)&&r.set(e,ks),ks;if(ue(o))for(let c=0;c<o.length;c++){const f=Pt(o[c]);zf(f)&&(a[f]=De)}else if(o)for(const c in o){const f=Pt(c);if(zf(f)){const d=o[c],p=a[f]=ue(d)||me(d)?{type:d}:gt({},d),h=p.type;let m=!1,g=!0;if(ue(h))for(let y=0;y<h.length;++y){const v=h[y],E=me(v)&&v.name;if(E==="Boolean"){m=!0;break}else E==="String"&&(g=!1)}else m=me(h)&&h.name==="Boolean";p[0]=m,p[1]=g,(m||Pe(p,"default"))&&i.push(f)}}const u=[a,i];return Ce(e)&&r.set(e,u),u}function zf(e){return e[0]!=="$"&&!Bo(e)}const Tc=e=>e==="_"||e==="_ctx"||e==="$stable",Rc=e=>ue(e)?e.map(Ln):[Ln(e)],F_=(e,t,n)=>{if(t._n)return t;const r=he((...s)=>Rc(t(...s)),n);return r._c=!1,r},Tg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Tc(s))continue;const o=e[s];if(me(o))t[s]=F_(s,o,r);else if(o!=null){const a=Rc(o);t[s]=()=>a}}},Rg=(e,t)=>{const n=Rc(t);e.slots.default=()=>n},Pg=(e,t,n)=>{for(const r in t)(n||!Tc(r))&&(e[r]=t[r])},M_=(e,t,n)=>{const r=e.slots=xg();if(e.vnode.shapeFlag&32){const s=t._;s?(Pg(r,t,n),n&&wm(r,"_",s,!0)):Tg(t,r)}else t&&Rg(e,t)},L_=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=De;if(r.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:Pg(s,t,n):(o=!t.$stable,Tg(t,s)),a=t}else t&&(Rg(e,t),a={default:1});if(o)for(const i in s)!Tc(i)&&a[i]==null&&delete s[i]},ht=G_;function $_(e){return W_(e)}function W_(e,t){const n=ki();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:i,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:p=Rt,insertStaticContent:h}=e,m=(b,w,S,W=null,Y=null,$=null,re=void 0,ee=null,z=!!w.dynamicChildren)=>{if(b===w)return;b&&!kr(b,w)&&(W=M(b),ae(b,Y,$,!0),b=null),w.patchFlag===-2&&(z=!1,w.dynamicChildren=null);const{type:K,ref:ge,shapeFlag:oe}=w;switch(K){case ro:g(b,w,S,W);break;case mt:y(b,w,S,W);break;case Ga:b==null&&v(w,S,W,re);break;case Xe:k(b,w,S,W,Y,$,re,ee,z);break;default:oe&1?P(b,w,S,W,Y,$,re,ee,z):oe&6?U(b,w,S,W,Y,$,re,ee,z):(oe&64||oe&128)&&K.process(b,w,S,W,Y,$,re,ee,z,ie)}ge!=null&&Y?Mo(ge,b&&b.ref,$,w||b,!w):ge==null&&b&&b.ref!=null&&Mo(b.ref,null,$,b,!0)},g=(b,w,S,W)=>{if(b==null)r(w.el=i(w.children),S,W);else{const Y=w.el=b.el;w.children!==b.children&&u(Y,w.children)}},y=(b,w,S,W)=>{b==null?r(w.el=l(w.children||""),S,W):w.el=b.el},v=(b,w,S,W)=>{[b.el,b.anchor]=h(b.children,w,S,W,b.el,b.anchor)},E=({el:b,anchor:w},S,W)=>{let Y;for(;b&&b!==w;)Y=d(b),r(b,S,W),b=Y;r(w,S,W)},_=({el:b,anchor:w})=>{let S;for(;b&&b!==w;)S=d(b),s(b),b=S;s(w)},P=(b,w,S,W,Y,$,re,ee,z)=>{if(w.type==="svg"?re="svg":w.type==="math"&&(re="mathml"),b==null)G(w,S,W,Y,$,re,ee,z);else{const K=b.el&&b.el._isVueCE?b.el:null;try{K&&K._beginPatch(),R(b,w,Y,$,re,ee,z)}finally{K&&K._endPatch()}}},G=(b,w,S,W,Y,$,re,ee)=>{let z,K;const{props:ge,shapeFlag:oe,transition:pe,dirs:ve}=b;if(z=b.el=a(b.type,$,ge&&ge.is,ge),oe&8?c(z,b.children):oe&16&&O(b.children,z,null,W,Y,gl(b,$),re,ee),ve&&Ur(b,null,W,"created"),B(z,b,b.scopeId,re,W),ge){for(const Fe in ge)Fe!=="value"&&!Bo(Fe)&&o(z,Fe,null,ge[Fe],$,W);"value"in ge&&o(z,"value",null,ge.value,$),(K=ge.onVnodeBeforeMount)&&on(K,W,b)}ve&&Ur(b,null,W,"beforeMount");const Te=D_(Y,pe);Te&&pe.beforeEnter(z),r(z,w,S),((K=ge&&ge.onVnodeMounted)||Te||ve)&&ht(()=>{K&&on(K,W,b),Te&&pe.enter(z),ve&&Ur(b,null,W,"mounted")},Y)},B=(b,w,S,W,Y)=>{if(S&&p(b,S),W)for(let $=0;$<W.length;$++)p(b,W[$]);if(Y){let $=Y.subTree;if(w===$||fi($.type)&&($.ssContent===w||$.ssFallback===w)){const re=Y.vnode;B(b,re,re.scopeId,re.slotScopeIds,Y.parent)}}},O=(b,w,S,W,Y,$,re,ee,z=0)=>{for(let K=z;K<b.length;K++){const ge=b[K]=ee?ar(b[K]):Ln(b[K]);m(null,ge,w,S,W,Y,$,re,ee)}},R=(b,w,S,W,Y,$,re)=>{const ee=w.el=b.el;let{patchFlag:z,dynamicChildren:K,dirs:ge}=w;z|=b.patchFlag&16;const oe=b.props||De,pe=w.props||De;let ve;if(S&&jr(S,!1),(ve=pe.onVnodeBeforeUpdate)&&on(ve,S,w,b),ge&&Ur(w,b,S,"beforeUpdate"),S&&jr(S,!0),(oe.innerHTML&&pe.innerHTML==null||oe.textContent&&pe.textContent==null)&&c(ee,""),K?F(b.dynamicChildren,K,ee,S,W,gl(w,Y),$):re||C(b,w,ee,null,S,W,gl(w,Y),$,!1),z>0){if(z&16)D(ee,oe,pe,S,Y);else if(z&2&&oe.class!==pe.class&&o(ee,"class",null,pe.class,Y),z&4&&o(ee,"style",oe.style,pe.style,Y),z&8){const Te=w.dynamicProps;for(let Fe=0;Fe<Te.length;Fe++){const ke=Te[Fe],lt=oe[ke],yt=pe[ke];(yt!==lt||ke==="value")&&o(ee,ke,lt,yt,Y,S)}}z&1&&b.children!==w.children&&c(ee,w.children)}else!re&&K==null&&D(ee,oe,pe,S,Y);((ve=pe.onVnodeUpdated)||ge)&&ht(()=>{ve&&on(ve,S,w,b),ge&&Ur(w,b,S,"updated")},W)},F=(b,w,S,W,Y,$,re)=>{for(let ee=0;ee<w.length;ee++){const z=b[ee],K=w[ee],ge=z.el&&(z.type===Xe||!kr(z,K)||z.shapeFlag&198)?f(z.el):S;m(z,K,ge,null,W,Y,$,re,!0)}},D=(b,w,S,W,Y)=>{if(w!==S){if(w!==De)for(const $ in w)!Bo($)&&!($ in S)&&o(b,$,w[$],null,Y,W);for(const $ in S){if(Bo($))continue;const re=S[$],ee=w[$];re!==ee&&$!=="value"&&o(b,$,ee,re,Y,W)}"value"in S&&o(b,"value",w.value,S.value,Y)}},k=(b,w,S,W,Y,$,re,ee,z)=>{const K=w.el=b?b.el:i(""),ge=w.anchor=b?b.anchor:i("");let{patchFlag:oe,dynamicChildren:pe,slotScopeIds:ve}=w;ve&&(ee=ee?ee.concat(ve):ve),b==null?(r(K,S,W),r(ge,S,W),O(w.children||[],S,ge,Y,$,re,ee,z)):oe>0&&oe&64&&pe&&b.dynamicChildren&&b.dynamicChildren.length===pe.length?(F(b.dynamicChildren,pe,S,Y,$,re,ee),(w.key!=null||Y&&w===Y.subTree)&&Pc(b,w,!0)):C(b,w,S,ge,Y,$,re,ee,z)},U=(b,w,S,W,Y,$,re,ee,z)=>{w.slotScopeIds=ee,b==null?w.shapeFlag&512?Y.ctx.activate(w,S,W,re,z):Z(w,S,W,Y,$,re,z):j(b,w,z)},Z=(b,w,S,W,Y,$,re)=>{const ee=b.component=K_(b,W,Y);if(Vi(b)&&(ee.ctx.renderer=ie),H_(ee,!1,re),ee.asyncDep){if(Y&&Y.registerDep(ee,L,re),!b.el){const z=ee.subTree=Ae(mt);y(null,z,w,S),b.placeholder=z.el}}else L(ee,b,w,S,Y,$,re)},j=(b,w,S)=>{const W=w.component=b.component;if(R_(b,w,S))if(W.asyncDep&&!W.asyncResolved){x(W,w,S);return}else W.next=w,W.update();else w.el=b.el,W.vnode=w},L=(b,w,S,W,Y,$,re)=>{const ee=()=>{if(b.isMounted){let{next:oe,bu:pe,u:ve,parent:Te,vnode:Fe}=b;{const Tn=Bg(b);if(Tn){oe&&(oe.el=Fe.el,x(b,oe,re)),Tn.asyncDep.then(()=>{ht(()=>{b.isUnmounted||K()},Y)});return}}let ke=oe,lt;jr(b,!1),oe?(oe.el=Fe.el,x(b,oe,re)):oe=Fe,pe&&Oo(pe),(lt=oe.props&&oe.props.onVnodeBeforeUpdate)&&on(lt,Te,oe,Fe),jr(b,!0);const yt=Hf(b),Cn=b.subTree;b.subTree=yt,m(Cn,yt,f(Cn.el),M(Cn),b,Y,$),oe.el=yt.el,ke===null&&P_(b,yt.el),ve&&ht(ve,Y),(lt=oe.props&&oe.props.onVnodeUpdated)&&ht(()=>on(lt,Te,oe,Fe),Y)}else{let oe;const{el:pe,props:ve}=w,{bm:Te,m:Fe,parent:ke,root:lt,type:yt}=b,Cn=Lr(w);jr(b,!1),Te&&Oo(Te),!Cn&&(oe=ve&&ve.onVnodeBeforeMount)&&on(oe,ke,w),jr(b,!0);{lt.ce&&lt.ce._hasShadowRoot()&&lt.ce._injectChildStyle(yt,b.parent?b.parent.type:void 0);const Tn=b.subTree=Hf(b);m(null,Tn,S,W,b,Y,$),w.el=Tn.el}if(Fe&&ht(Fe,Y),!Cn&&(oe=ve&&ve.onVnodeMounted)){const Tn=w;ht(()=>on(oe,ke,Tn),Y)}(w.shapeFlag&256||ke&&Lr(ke.vnode)&&ke.vnode.shapeFlag&256)&&b.a&&ht(b.a,Y),b.isMounted=!0,w=S=W=null}};b.scope.on();const z=b.effect=new Im(ee);b.scope.off();const K=b.update=z.run.bind(z),ge=b.job=z.runIfDirty.bind(z);ge.i=b,ge.id=b.uid,z.scheduler=()=>Sc(ge),jr(b,!0),K()},x=(b,w,S)=>{w.component=b;const W=b.vnode.props;b.vnode=w,b.next=null,O_(b,w.props,W,S),L_(b,w.children,S),dr(),Lf(b),pr()},C=(b,w,S,W,Y,$,re,ee,z=!1)=>{const K=b&&b.children,ge=b?b.shapeFlag:0,oe=w.children,{patchFlag:pe,shapeFlag:ve}=w;if(pe>0){if(pe&128){ne(K,oe,S,W,Y,$,re,ee,z);return}else if(pe&256){H(K,oe,S,W,Y,$,re,ee,z);return}}ve&8?(ge&16&&He(K,Y,$),oe!==K&&c(S,oe)):ge&16?ve&16?ne(K,oe,S,W,Y,$,re,ee,z):He(K,Y,$,!0):(ge&8&&c(S,""),ve&16&&O(oe,S,W,Y,$,re,ee,z))},H=(b,w,S,W,Y,$,re,ee,z)=>{b=b||ks,w=w||ks;const K=b.length,ge=w.length,oe=Math.min(K,ge);let pe;for(pe=0;pe<oe;pe++){const ve=w[pe]=z?ar(w[pe]):Ln(w[pe]);m(b[pe],ve,S,null,Y,$,re,ee,z)}K>ge?He(b,Y,$,!0,!1,oe):O(w,S,W,Y,$,re,ee,z,oe)},ne=(b,w,S,W,Y,$,re,ee,z)=>{let K=0;const ge=w.length;let oe=b.length-1,pe=ge-1;for(;K<=oe&&K<=pe;){const ve=b[K],Te=w[K]=z?ar(w[K]):Ln(w[K]);if(kr(ve,Te))m(ve,Te,S,null,Y,$,re,ee,z);else break;K++}for(;K<=oe&&K<=pe;){const ve=b[oe],Te=w[pe]=z?ar(w[pe]):Ln(w[pe]);if(kr(ve,Te))m(ve,Te,S,null,Y,$,re,ee,z);else break;oe--,pe--}if(K>oe){if(K<=pe){const ve=pe+1,Te=ve<ge?w[ve].el:W;for(;K<=pe;)m(null,w[K]=z?ar(w[K]):Ln(w[K]),S,Te,Y,$,re,ee,z),K++}}else if(K>pe)for(;K<=oe;)ae(b[K],Y,$,!0),K++;else{const ve=K,Te=K,Fe=new Map;for(K=Te;K<=pe;K++){const Yt=w[K]=z?ar(w[K]):Ln(w[K]);Yt.key!=null&&Fe.set(Yt.key,K)}let ke,lt=0;const yt=pe-Te+1;let Cn=!1,Tn=0;const uo=new Array(yt);for(K=0;K<yt;K++)uo[K]=0;for(K=ve;K<=oe;K++){const Yt=b[K];if(lt>=yt){ae(Yt,Y,$,!0);continue}let Rn;if(Yt.key!=null)Rn=Fe.get(Yt.key);else for(ke=Te;ke<=pe;ke++)if(uo[ke-Te]===0&&kr(Yt,w[ke])){Rn=ke;break}Rn===void 0?ae(Yt,Y,$,!0):(uo[Rn-Te]=K+1,Rn>=Tn?Tn=Rn:Cn=!0,m(Yt,w[Rn],S,null,Y,$,re,ee,z),lt++)}const Rf=Cn?V_(uo):ks;for(ke=Rf.length-1,K=yt-1;K>=0;K--){const Yt=Te+K,Rn=w[Yt],Pf=w[Yt+1],Bf=Yt+1<ge?Pf.el||Og(Pf):W;uo[K]===0?m(null,Rn,S,Bf,Y,$,re,ee,z):Cn&&(ke<0||K!==Rf[ke]?le(Rn,S,Bf,2):ke--)}}},le=(b,w,S,W,Y=null)=>{const{el:$,type:re,transition:ee,children:z,shapeFlag:K}=b;if(K&6){le(b.component.subTree,w,S,W);return}if(K&128){b.suspense.move(w,S,W);return}if(K&64){re.move(b,w,S,ie);return}if(re===Xe){r($,w,S);for(let oe=0;oe<z.length;oe++)le(z[oe],w,S,W);r(b.anchor,w,S);return}if(re===Ga){E(b,w,S);return}if(W!==2&&K&1&&ee)if(W===0)ee.persisted&&!$[an]?r($,w,S):(ee.beforeEnter($),r($,w,S),ht(()=>ee.enter($),Y));else{const{leave:oe,delayLeave:pe,afterLeave:ve}=ee,Te=()=>{b.ctx.isUnmounted?s($):r($,w,S)},Fe=()=>{const ke=$._isLeaving||!!$[an];$._isLeaving&&$[an](!0),ee.persisted&&!ke?Te():oe($,()=>{Te(),ve&&ve()})};pe?pe($,Te,Fe):Fe()}else r($,w,S)},ae=(b,w,S,W=!1,Y=!1)=>{const{type:$,props:re,ref:ee,children:z,dynamicChildren:K,shapeFlag:ge,patchFlag:oe,dirs:pe,cacheIndex:ve,memo:Te}=b;if(oe===-2&&(Y=!1),ee!=null&&(dr(),Mo(ee,null,S,b,!0),pr()),ve!=null&&(w.renderCache[ve]=void 0),ge&256){w.ctx.deactivate(b);return}const Fe=ge&1&&pe,ke=!Lr(b);let lt;if(ke&&(lt=re&&re.onVnodeBeforeUnmount)&&on(lt,w,b),ge&6)Be(b.component,S,W);else{if(ge&128){b.suspense.unmount(S,W);return}Fe&&Ur(b,null,w,"beforeUnmount"),ge&64?b.type.remove(b,w,S,ie,W):K&&!K.hasOnce&&($!==Xe||oe>0&&oe&64)?He(K,w,S,!1,!0):($===Xe&&oe&384||!Y&&ge&16)&&He(z,w,S),W&&Se(b)}const yt=Te!=null&&ve==null;(ke&&(lt=re&&re.onVnodeUnmounted)||Fe||yt)&&ht(()=>{lt&&on(lt,w,b),Fe&&Ur(b,null,w,"unmounted"),yt&&(b.el=null)},S)},Se=b=>{const{type:w,el:S,anchor:W,transition:Y}=b;if(w===Xe){we(S,W);return}if(w===Ga){_(b);return}const $=()=>{s(S),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(b.shapeFlag&1&&Y&&!Y.persisted){const{leave:re,delayLeave:ee}=Y,z=()=>re(S,$);ee?ee(b.el,$,z):z()}else $()},we=(b,w)=>{let S;for(;b!==w;)S=d(b),s(b),b=S;s(w)},Be=(b,w,S)=>{const{bum:W,scope:Y,job:$,subTree:re,um:ee,m:z,a:K}=b;ci(z),ci(K),W&&Oo(W),Y.stop(),$&&($.flags|=8,ae(re,b,w,S)),ee&&ht(ee,w),ht(()=>{b.isUnmounted=!0},w)},He=(b,w,S,W=!1,Y=!1,$=0)=>{for(let re=$;re<b.length;re++)ae(b[re],w,S,W,Y)},M=b=>{if(b.shapeFlag&6)return M(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const w=d(b.anchor||b.el),S=w&&w[eg];return S?d(S):w};let te=!1;const q=(b,w,S)=>{let W;b==null?w._vnode&&(ae(w._vnode,null,null,!0),W=w._vnode.component):m(w._vnode||null,b,w,null,null,null,S),w._vnode=b,te||(te=!0,Lf(W),Xm(),te=!1)},ie={p:m,um:ae,m:le,r:Se,mt:Z,mc:O,pc:C,pbc:F,n:M,o:e};return{render:q,hydrate:void 0,createApp:S_(q)}}function gl({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 jr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function D_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pc(e,t,n=!1){const r=e.children,s=t.children;if(ue(r)&&ue(s))for(let o=0;o<r.length;o++){const a=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=ar(s[o]),i.el=a.el),!n&&i.patchFlag!==-2&&Pc(a,i)),i.type===ro&&(i.patchFlag===-1&&(i=s[o]=ar(i)),i.el=a.el),i.type===mt&&!i.el&&(i.el=a.el)}}function V_(e){const t=e.slice(),n=[0];let r,s,o,a,i;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(o=0,a=n.length-1;o<a;)i=o+a>>1,e[n[i]]<u?o=i+1:a=i;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Bg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bg(t)}function ci(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Og(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Og(t.subTree):null}const fi=e=>e.__isSuspense;function G_(e,t){t&&t.pendingBranch?ue(e)?t.effects.push(...e):t.effects.push(e):Hm(e)}const Xe=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),Ga=Symbol.for("v-stc"),$o=[];let Ht=null;function X(e=!1){$o.push(Ht=e?null:[])}function Y_(){$o.pop(),Ht=$o[$o.length-1]||null}let Jo=1;function di(e,t=!1){Jo+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function kg(e){return e.dynamicChildren=Jo>0?Ht||ks:null,Y_(),Jo>0&&Ht&&Ht.push(e),e}function ye(e,t,n,r,s,o){return kg(fe(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return kg(Ae(e,t,n,r,s,!0))}function En(e){return e?e.__v_isVNode===!0:!1}function kr(e,t){return e.type===t.type&&e.key===t.key}const Fg=({key:e})=>e??null,Ya=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||Ke(e)||me(e)?{i:At,r:e,k:t,f:!!n}:e:null);function fe(e,t=null,n=null,r=0,s=null,o=e===Xe?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fg(t),ref:t&&Ya(t),scopeId:Jm,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:At};return i?(Bc(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),Jo>0&&!a&&Ht&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ht.push(l),l}const Ae=U_;function U_(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===pg)&&(e=mt),En(e)){const i=Gn(e,t,!0);return n&&Bc(i,n),Jo>0&&!o&&Ht&&(i.shapeFlag&6?Ht[Ht.indexOf(e)]=i:Ht.push(i)),i.patchFlag=-2,i}if(J_(e)&&(e=e.__vccOpts),t){t=Mg(t);let{class:i,style:l}=t;i&&!Ne(i)&&(t.class=Oe(i)),Ce(l)&&(Wi(l)&&!ue(l)&&(l=gt({},l)),t.style=Sn(l))}const a=Ne(e)?1:fi(e)?128:tg(e)?64:Ce(e)?4:me(e)?2:0;return fe(e,t,n,r,s,a,o,!0)}function Mg(e){return e?Wi(e)||Ng(e)?gt({},e):e:null}function Gn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:a,children:i,transition:l}=e,u=t?Vt(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fg(u),ref:t&&t.ref?n&&o?ue(o)?o.concat(Ya(t)):[o,Ya(t)]:Ya(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Ws(c,l.clone(c)),c}function Yn(e=" ",t=0){return Ae(ro,null,e,t)}function ze(e="",t=!1){return t?(X(),xe(mt,null,e)):Ae(mt,null,e)}function Ln(e){return e==null||typeof e=="boolean"?Ae(mt):ue(e)?Ae(Xe,null,e.slice()):En(e)?ar(e):Ae(ro,null,String(e))}function ar(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function Bc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Bc(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ng(t)?t._ctx=At:s===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else me(t)?(t={default:t,_ctx:At},n=32):(t=String(t),r&64?(n=16,t=[Yn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vt(...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=Oe([t.class,r.class]));else if(s==="style")t.style=Sn([t.style,r.style]);else if(Ti(s)){const o=t[s],a=r[s];a&&o!==a&&!(ue(o)&&o.includes(a))?t[s]=o?[].concat(o,a):a:a==null&&o==null&&!Ri(s)&&(t[s]=a)}else s!==""&&(t[s]=r[s])}return t}function on(e,t,n,r=null){cn(e,t,7,[n,r])}const j_=_g();let Z_=0;function K_(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||j_,o={uid:Z_++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sm(!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:Cg(r,s),emitsOptions:Eg(r,s),emit:null,emitted:null,propsDefaults:De,inheritAttrs:r.inheritAttrs,ctx:De,data:De,props:De,attrs:De,slots:De,refs:De,setupState:De,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=N_.bind(null,o),e.ce&&e.ce(o),o}let Tt=null;const Je=()=>Tt||At;let pi,lu;{const e=ki(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(a=>a(o)):s[0](o)}};pi=t("__VUE_INSTANCE_SETTERS__",n=>Tt=n),lu=t("__VUE_SSR_SETTERS__",n=>Qo=n)}const ga=e=>{const t=Tt;return pi(e),e.scope.on(),()=>{e.scope.off(),pi(t)}},Jf=()=>{Tt&&Tt.scope.off(),pi(null)};function Lg(e){return e.vnode.shapeFlag&4}let Qo=!1;function H_(e,t=!1,n=!1){t&&lu(t);const{props:r,children:s}=e.vnode,o=Lg(e);B_(e,r,o,t),M_(e,s,n||t);const a=o?X_(e,t):void 0;return t&&lu(!1),a}function X_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,b_);const{setup:r}=n;if(r){dr();const s=e.setupContext=r.length>1?Wg(e):null,o=ga(e),a=ha(r,e,0,[e.props,s]),i=bm(a);if(pr(),o(),(i||e.sp)&&!Lr(e)&&ig(e),i){if(a.then(Jf,Jf),t)return a.then(l=>{Qf(e,l)}).catch(l=>{Di(l,e,0)});e.asyncDep=a}else Qf(e,a)}else $g(e)}function Qf(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=Um(t)),$g(e)}function $g(e,t,n){const r=e.type;e.render||(e.render=r.render||Rt);{const s=ga(e);dr();try{v_(e)}finally{pr(),s()}}}const z_={get(e,t){return Ct(e,"get",""),e[t]}};function Wg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,z_),slots:e.slots,emit:e.emit,expose:t}}function Ui(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Um(Ac(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lo)return Lo[n](e)},has(t,n){return n in t||n in Lo}})):e.proxy}function uu(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function J_(e){return me(e)&&"__vccOpts"in e}const T=(e,t)=>jw(e,t,Qo);function ut(e,t,n){try{di(-1);const r=arguments.length;return r===2?Ce(t)&&!ue(t)?En(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&En(n)&&(n=[n]),Ae(e,t,n))}finally{di(1)}}const Q_="3.5.38",q_=Rt;let cu;const qf=typeof window<"u"&&window.trustedTypes;if(qf)try{cu=qf.createPolicy("vue",{createHTML:e=>e})}catch{}const Dg=cu?e=>cu.createHTML(e):e=>e,eE="http://www.w3.org/2000/svg",tE="http://www.w3.org/1998/Math/MathML",sr=typeof document<"u"?document:null,ed=sr&&sr.createElement("template"),nE={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"?sr.createElementNS(eE,e):t==="mathml"?sr.createElementNS(tE,e):n?sr.createElement(e,{is:n}):sr.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>sr.createTextNode(e),createComment:e=>sr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ed.innerHTML=Dg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=ed.content;if(r==="svg"||r==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_r="transition",po="animation",qo=Symbol("_vtc"),Vg={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},rE=gt({},ng,Vg),sE=e=>(e.displayName="Transition",e.props=rE,e),so=sE((e,{slots:t})=>ut(a_,oE(e),t)),Zr=(e,t=[])=>{ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},td=e=>e?ue(e)?e.some(t=>t.length>1):e.length>1:!1;function oE(e){const t={};for(const k in e)k in Vg||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=aE(s),m=h&&h[0],g=h&&h[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:E,onLeave:_,onLeaveCancelled:P,onBeforeAppear:G=y,onAppear:B=v,onAppearCancelled:O=E}=t,R=(k,U,Z,j)=>{k._enterCancelled=j,Kr(k,U?c:i),Kr(k,U?u:a),Z&&Z()},F=(k,U)=>{k._isLeaving=!1,Kr(k,f),Kr(k,p),Kr(k,d),U&&U()},D=k=>(U,Z)=>{const j=k?B:v,L=()=>R(U,k,Z);Zr(j,[U,L]),nd(()=>{Kr(U,k?l:o),Qn(U,k?c:i),td(j)||rd(U,r,m,L)})};return gt(t,{onBeforeEnter(k){Zr(y,[k]),Qn(k,o),Qn(k,a)},onBeforeAppear(k){Zr(G,[k]),Qn(k,l),Qn(k,u)},onEnter:D(!1),onAppear:D(!0),onLeave(k,U){k._isLeaving=!0;const Z=()=>F(k,U);Qn(k,f),k._enterCancelled?(Qn(k,d),ad(k)):(ad(k),Qn(k,d)),nd(()=>{k._isLeaving&&(Kr(k,f),Qn(k,p),td(_)||rd(k,r,g,Z))}),Zr(_,[k,Z])},onEnterCancelled(k){R(k,!1,void 0,!0),Zr(E,[k])},onAppearCancelled(k){R(k,!0,void 0,!0),Zr(O,[k])},onLeaveCancelled(k){F(k),Zr(P,[k])}})}function aE(e){if(e==null)return null;if(Ce(e))return[bl(e.enter),bl(e.leave)];{const t=bl(e);return[t,t]}}function bl(e){return cw(e)}function Qn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[qo]||(e[qo]=new Set)).add(t)}function Kr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[qo];n&&(n.delete(t),n.size||(e[qo]=void 0))}function nd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let iE=0;function rd(e,t,n,r){const s=e._endId=++iE,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:i,propCount:l}=lE(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=p=>{p.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},i+1),e.addEventListener(u,d)}function lE(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${_r}Delay`),o=r(`${_r}Duration`),a=sd(s,o),i=r(`${po}Delay`),l=r(`${po}Duration`),u=sd(i,l);let c=null,f=0,d=0;t===_r?a>0&&(c=_r,f=a,d=o.length):t===po?u>0&&(c=po,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?_r:po:null,d=c?c===_r?o.length:l.length:0);const p=c===_r&&/\b(?:transform|all)(?:,|$)/.test(r(`${_r}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:p}}function sd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>od(n)+od(e[r])))}function od(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ad(e){return(e?e.ownerDocument:document).body.offsetHeight}function uE(e,t,n){const r=e[qo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hi=Symbol("_vod"),Gg=Symbol("_vsh"),ji={name:"show",beforeMount(e,{value:t},{transition:n}){e[hi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ho(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ho(e,!0),r.enter(e)):r.leave(e,()=>{ho(e,!1)}):ho(e,t))},beforeUnmount(e,{value:t}){ho(e,t)}};function ho(e,t){e.style.display=t?e[hi]:"none",e[Gg]=!t}const Yg=Symbol("");function cE(e){const t=Je();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>mi(o,s))},r=()=>{const s=e(t.proxy);t.ce?mi(t.ce,s):fu(t.subTree,s),n(s)};dg(()=>{Hm(r)}),it(()=>{Ie(r,Rt,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),ma(()=>s.disconnect())})}function fu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{fu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)mi(e.el,t);else if(e.type===Xe)e.children.forEach(n=>fu(n,t));else if(e.type===Ga){let{el:n,anchor:r}=e;for(;n&&(mi(n,t),n!==r);)n=n.nextSibling}}function mi(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const o=yw(t[s]);n.setProperty(`--${s}`,o),r+=`--${s}: ${o};`}n[Yg]=r}}const fE=/(?:^|;)\s*display\s*:/;function dE(e,t,n){const r=e.style,s=Ne(n);let o=!1;if(n&&!s){if(t)if(Ne(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();n[i]==null&&xo(r,i,"")}else for(const a in t)n[a]==null&&xo(r,a,"");for(const a in n){a==="display"&&(o=!0);const i=n[a];i!=null?hE(e,a,!Ne(t)&&t?t[a]:void 0,i)||xo(r,a,i):xo(r,a,"")}}else if(s){if(t!==n){const a=r[Yg];a&&(n+=";"+a),r.cssText=n,o=fE.test(n)}}else t&&e.removeAttribute("style");hi in e&&(e[hi]=o?r.display:"",e[Gg]&&(r.display="none"))}const id=/\s*!important$/;function xo(e,t,n){if(ue(n))n.forEach(r=>xo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pE(e,t);id.test(n)?e.setProperty(bs(r),n.replace(id,""),"important"):e[r]=n}}const ld=["Webkit","Moz","ms"],vl={};function pE(e,t){const n=vl[t];if(n)return n;let r=Pt(t);if(r!=="filter"&&r in e)return vl[t]=r;r=Oi(r);for(let s=0;s<ld.length;s++){const o=ld[s]+r;if(o in e)return vl[t]=o}return t}function hE(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Ne(r)&&n===r}const ud="http://www.w3.org/1999/xlink";function cd(e,t,n,r,s,o=bw(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ud,t.slice(6,t.length)):e.setAttributeNS(ud,t,n):n==null||o&&!_m(n)?e.removeAttribute(t):e.setAttribute(t,o?"":zt(n)?String(n):n)}function fd(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Dg(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(i!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=_m(n):n==null&&i==="string"?(n="",a=!0):i==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function mE(e,t,n,r){e.addEventListener(t,n,r)}function gE(e,t,n,r){e.removeEventListener(t,n,r)}const dd=Symbol("_vei");function bE(e,t,n,r,s=null){const o=e[dd]||(e[dd]={}),a=o[t];if(r&&a)a.value=r;else{const[i,l]=vE(t);if(r){const u=o[t]=_E(r,s);mE(e,i,u,l)}else a&&(gE(e,i,a,l),o[t]=void 0)}}const pd=/(?:Once|Passive|Capture)$/;function vE(e){let t;if(pd.test(e)){t={};let r;for(;r=e.match(pd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):bs(e.slice(2)),t]}let yl=0;const yE=Promise.resolve(),wE=()=>yl||(yE.then(()=>yl=0),yl=Date.now());function _E(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if(ue(s)){const o=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{o.call(r),r._stopped=!0};const a=s.slice(),i=[r];for(let l=0;l<a.length&&!r._stopped;l++){const u=a[l];u&&cn(u,t,5,i)}}else cn(s,t,5,[r])};return n.value=e,n.attached=wE(),n}const hd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,EE=(e,t,n,r,s,o)=>{const a=s==="svg";t==="class"?uE(e,r,a):t==="style"?dE(e,n,r):Ti(t)?Ri(t)||bE(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AE(e,t,r,a))?(fd(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cd(e,t,r,a,o,t!=="value")):e._isVueCE&&(SE(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ne(r)))?fd(e,Pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cd(e,t,r,a))};function AE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&hd(t)&&me(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 hd(t)&&Ne(n)?!1:t in e}function SE(e,t){const n=e._def.props;if(!n)return!1;const r=Pt(t);return Array.isArray(n)?n.some(s=>Pt(s)===r):Object.keys(n).some(s=>Pt(s)===r)}const xE=["ctrl","shift","alt","meta"],NE={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)=>xE.some(n=>e[`${n}Key`]&&!t.includes(n))},ea=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let a=0;a<t.length;a++){const i=NE[t[a]];if(i&&i(s,t))return}return e(s,...o)}))};const IE=gt({patchProp:EE},nE);let md;function Ug(){return md||(md=$_(IE))}const gd=((...e)=>{Ug().render(...e)}),CE=((...e)=>{const t=Ug().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=RE(r);if(!s)return;const o=t._component;!me(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,TE(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t});function TE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RE(e){return Ne(e)?document.querySelector(e):e}let jg;const Zi=e=>jg=e,Zg=Symbol();function du(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Wo;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Wo||(Wo={}));function PE(){const e=xm(!0),t=e.run(()=>J({}));let n=[],r=[];const s=Ac({install(o){Zi(s),s._a=o,o.provide(Zg,s),o.config.globalProperties.$pinia=s,r.forEach(a=>n.push(a)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Kg=()=>{};function bd(e,t,n,r=Kg){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&vc()&&Nm(s),s}function Ss(e,...t){e.forEach(n=>{n(...t)})}const BE=e=>e(),vd=Symbol(),wl=Symbol();function pu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];du(s)&&du(r)&&e.hasOwnProperty(n)&&!Ke(r)&&!Wn(r)?e[n]=pu(s,r):e[n]=r}return e}const OE=Symbol();function kE(e){return!du(e)||!Object.prototype.hasOwnProperty.call(e,OE)}const{assign:Sr}=Object;function FE(e){return!!(Ke(e)&&e.effect)}function ME(e,t,n,r){const{state:s,actions:o,getters:a}=t,i=n.state.value[e];let l;function u(){i||(n.state.value[e]=s?s():{});const c=Vw(n.state.value[e]);return Sr(c,o,Object.keys(a||{}).reduce((f,d)=>(f[d]=Ac(T(()=>{Zi(n);const p=n._s.get(e);return a[d].call(p,p)})),f),{}))}return l=Hg(e,u,t,n,r,!0),l}function Hg(e,t,n={},r,s,o){let a;const i=Sr({actions:{}},n),l={deep:!0};let u,c,f=new Set,d=new Set,p;const h=r.state.value[e];!o&&!h&&(r.state.value[e]={});let m;function g(O){let R;u=c=!1,typeof O=="function"?(O(r.state.value[e]),R={type:Wo.patchFunction,storeId:e,events:p}):(pu(r.state.value[e],O),R={type:Wo.patchObject,payload:O,storeId:e,events:p});const F=m=Symbol();fn().then(()=>{m===F&&(u=!0)}),c=!0,Ss(f,R,r.state.value[e])}const y=o?function(){const{state:R}=n,F=R?R():{};this.$patch(D=>{Sr(D,F)})}:Kg;function v(){a.stop(),f.clear(),d.clear(),r._s.delete(e)}const E=(O,R="")=>{if(vd in O)return O[wl]=R,O;const F=function(){Zi(r);const D=Array.from(arguments),k=new Set,U=new Set;function Z(x){k.add(x)}function j(x){U.add(x)}Ss(d,{args:D,name:F[wl],store:P,after:Z,onError:j});let L;try{L=O.apply(this&&this.$id===e?this:P,D)}catch(x){throw Ss(U,x),x}return L instanceof Promise?L.then(x=>(Ss(k,x),x)).catch(x=>(Ss(U,x),Promise.reject(x))):(Ss(k,L),L)};return F[vd]=!0,F[wl]=R,F},_={_p:r,$id:e,$onAction:bd.bind(null,d),$patch:g,$reset:y,$subscribe(O,R={}){const F=bd(f,O,R.detached,()=>D()),D=a.run(()=>Ie(()=>r.state.value[e],k=>{(R.flush==="sync"?c:u)&&O({storeId:e,type:Wo.direct,events:p},k)},Sr({},l,R)));return F},$dispose:v},P=In(_);r._s.set(e,P);const B=(r._a&&r._a.runWithContext||BE)(()=>r._e.run(()=>(a=xm()).run(()=>t({action:E}))));for(const O in B){const R=B[O];if(Ke(R)&&!FE(R)||Wn(R))o||(h&&kE(R)&&(Ke(R)?R.value=h[O]:pu(R,h[O])),r.state.value[e][O]=R);else if(typeof R=="function"){const F=E(R,O);B[O]=F,i.actions[O]=R}}return Sr(P,B),Sr(Re(P),B),Object.defineProperty(P,"$state",{get:()=>r.state.value[e],set:O=>{g(R=>{Sr(R,O)})}}),r._p.forEach(O=>{Sr(P,a.run(()=>O({store:P,app:r._a,pinia:r,options:i})))}),h&&o&&n.hydrate&&n.hydrate(P.$state,h),u=!0,c=!0,P}function Xg(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,i){const l=zw();return a=a||(l?be(Zg,null):null),a&&Zi(a),a=jg,a._s.has(e)||(s?Hg(e,t,r,a):ME(e,r,a)),a._s.get(e)}return o.$id=e,o}function LE(e){const t=Re(e),n={};for(const r in t){const s=t[r];s.effect?n[r]=T({get:()=>e[r],set(o){e[r]=o}}):(Ke(s)||Wn(s))&&(n[r]=Et(e,r))}return n}function $E(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n===void 0||n[t[r]]===void 0)return;if(n===null||n[t[r]]===null)return null;n=n[t[r]]}return n}function Oc(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=Oc(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function zg(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return Oc(e,zg(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Jg(e,t){return t.map(n=>n.split(".")).map(n=>[n,$E(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>Oc(n,r[1],r[0]),{})}function Qg(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>zg(n,r),e)}function yd(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a,beforeHydrate:i,afterHydrate:l},u,c=!0){try{c&&i?.(u);const f=t.getItem(r);if(f){const d=n.deserialize(f),p=o?Jg(d,o):d,h=a?Qg(p,a):p;e.$patch(h)}c&&l?.(u)}catch(f){s&&console.error("[pinia-plugin-persistedstate]",f)}}function wd(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a}){try{const i=o?Jg(e,o):e,l=a?Qg(i,a):i,u=n.serialize(l);t.setItem(r,u)}catch(i){s&&console.error("[pinia-plugin-persistedstate]",i)}}function WE(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function DE(e,t,n){const{pinia:r,store:s,options:{persist:o=n}}=e;if(!o)return;if(!(s.$id in r.state.value)){const i=r._s.get(s.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const a=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);s.$hydrate=({runHooks:i=!0}={})=>{a.forEach(l=>{yd(s,l,e,i)})},s.$persist=()=>{a.forEach(i=>{wd(s.$state,i)})},a.forEach(i=>{yd(s,i,e),s.$subscribe((l,u)=>wd(u,i),{detached:!0})})}function VE(e={}){return function(t){DE(t,n=>{const r=WE(n.key,t.store.$id);return{key:(e.key?e.key:s=>s)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>JSON.parse(s)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var GE=VE();const Do={primaryColors:["#6284DF","#474747","#B04040","#F7A456","#D39C1F","#079307","#21AB86","#00AEEC","#FB7299"],primaryColorIndex:0},YE={primaryColorIndex:Do.primaryColorIndex,primaryColor:Do.primaryColors[Do.primaryColorIndex],themeMode:"light",bgMode:"default",dark:!1},_d={UI_SELECTED_USER:"ui_selected_user"};var qg=typeof global=="object"&&global&&global.Object===Object&&global,UE=typeof self=="object"&&self&&self.Object===Object&&self,Kn=qg||UE||Function("return this")(),Ds=Kn.Symbol,e0=Object.prototype,jE=e0.hasOwnProperty,ZE=e0.toString,mo=Ds?Ds.toStringTag:void 0;function KE(e){var t=jE.call(e,mo),n=e[mo];try{e[mo]=void 0;var r=!0}catch{}var s=ZE.call(e);return r&&(t?e[mo]=n:delete e[mo]),s}var HE=Object.prototype,XE=HE.toString;function zE(e){return XE.call(e)}var JE="[object Null]",QE="[object Undefined]",Ed=Ds?Ds.toStringTag:void 0;function ba(e){return e==null?e===void 0?QE:JE:Ed&&Ed in Object(e)?KE(e):zE(e)}function va(e){return e!=null&&typeof e=="object"}var kc=Array.isArray;function Ki(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var qE="[object AsyncFunction]",e3="[object Function]",t3="[object GeneratorFunction]",n3="[object Proxy]";function t0(e){if(!Ki(e))return!1;var t=ba(e);return t==e3||t==t3||t==qE||t==n3}var _l=Kn["__core-js_shared__"],Ad=(function(){var e=/[^.]+$/.exec(_l&&_l.keys&&_l.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function r3(e){return!!Ad&&Ad in e}var s3=Function.prototype,o3=s3.toString;function vs(e){if(e!=null){try{return o3.call(e)}catch{}try{return e+""}catch{}}return""}var a3=/[\\^$.*+?()[\]{}|]/g,i3=/^\[object .+?Constructor\]$/,l3=Function.prototype,u3=Object.prototype,c3=l3.toString,f3=u3.hasOwnProperty,d3=RegExp("^"+c3.call(f3).replace(a3,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p3(e){if(!Ki(e)||r3(e))return!1;var t=t0(e)?d3:i3;return t.test(vs(e))}function h3(e,t){return e?.[t]}function ys(e,t){var n=h3(e,t);return p3(n)?n:void 0}var hu=ys(Kn,"WeakMap"),Sd=Object.create,m3=(function(){function e(){}return function(t){if(!Ki(t))return{};if(Sd)return Sd(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})(),xd=(function(){try{var e=ys(Object,"defineProperty");return e({},"",{}),e}catch{}})();function g3(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var b3=9007199254740991,v3=/^(?:0|[1-9]\d*)$/;function y3(e,t){var n=typeof e;return t=t??b3,!!t&&(n=="number"||n!="symbol"&&v3.test(e))&&e>-1&&e%1==0&&e<t}function w3(e,t,n){t=="__proto__"&&xd?xd(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function n0(e,t){return e===t||e!==e&&t!==t}var _3=Object.prototype,E3=_3.hasOwnProperty;function A3(e,t,n){var r=e[t];(!(E3.call(e,t)&&n0(r,n))||n===void 0&&!(t in e))&&w3(e,t,n)}var S3=9007199254740991;function r0(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=S3}function x3(e){return e!=null&&r0(e.length)&&!t0(e)}var N3=Object.prototype;function s0(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||N3;return e===n}function I3(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var C3="[object Arguments]";function Nd(e){return va(e)&&ba(e)==C3}var o0=Object.prototype,T3=o0.hasOwnProperty,R3=o0.propertyIsEnumerable,P3=Nd((function(){return arguments})())?Nd:function(e){return va(e)&&T3.call(e,"callee")&&!R3.call(e,"callee")};function B3(){return!1}var a0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Id=a0&&typeof module=="object"&&module&&!module.nodeType&&module,O3=Id&&Id.exports===a0,Cd=O3?Kn.Buffer:void 0,k3=Cd?Cd.isBuffer:void 0,i0=k3||B3,F3="[object Arguments]",M3="[object Array]",L3="[object Boolean]",$3="[object Date]",W3="[object Error]",D3="[object Function]",V3="[object Map]",G3="[object Number]",Y3="[object Object]",U3="[object RegExp]",j3="[object Set]",Z3="[object String]",K3="[object WeakMap]",H3="[object ArrayBuffer]",X3="[object DataView]",z3="[object Float32Array]",J3="[object Float64Array]",Q3="[object Int8Array]",q3="[object Int16Array]",eA="[object Int32Array]",tA="[object Uint8Array]",nA="[object Uint8ClampedArray]",rA="[object Uint16Array]",sA="[object Uint32Array]",je={};je[z3]=je[J3]=je[Q3]=je[q3]=je[eA]=je[tA]=je[nA]=je[rA]=je[sA]=!0;je[F3]=je[M3]=je[H3]=je[L3]=je[X3]=je[$3]=je[W3]=je[D3]=je[V3]=je[G3]=je[Y3]=je[U3]=je[j3]=je[Z3]=je[K3]=!1;function oA(e){return va(e)&&r0(e.length)&&!!je[ba(e)]}function Fc(e){return function(t){return e(t)}}var l0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vo=l0&&typeof module=="object"&&module&&!module.nodeType&&module,aA=Vo&&Vo.exports===l0,El=aA&&qg.process,Vs=(function(){try{var e=Vo&&Vo.require&&Vo.require("util").types;return e||El&&El.binding&&El.binding("util")}catch{}})(),Td=Vs&&Vs.isTypedArray,iA=Td?Fc(Td):oA,lA=Object.prototype,uA=lA.hasOwnProperty;function cA(e,t){var n=kc(e),r=!n&&P3(e),s=!n&&!r&&i0(e),o=!n&&!r&&!s&&iA(e),a=n||r||s||o,i=a?I3(e.length,String):[],l=i.length;for(var u in e)uA.call(e,u)&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||y3(u,l)))&&i.push(u);return i}function u0(e,t){return function(n){return e(t(n))}}var fA=u0(Object.keys,Object),dA=Object.prototype,pA=dA.hasOwnProperty;function hA(e){if(!s0(e))return fA(e);var t=[];for(var n in Object(e))pA.call(e,n)&&n!="constructor"&&t.push(n);return t}function mA(e){return x3(e)?cA(e):hA(e)}var ta=ys(Object,"create");function gA(){this.__data__=ta?ta(null):{},this.size=0}function bA(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vA="__lodash_hash_undefined__",yA=Object.prototype,wA=yA.hasOwnProperty;function _A(e){var t=this.__data__;if(ta){var n=t[e];return n===vA?void 0:n}return wA.call(t,e)?t[e]:void 0}var EA=Object.prototype,AA=EA.hasOwnProperty;function SA(e){var t=this.__data__;return ta?t[e]!==void 0:AA.call(t,e)}var xA="__lodash_hash_undefined__";function NA(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ta&&t===void 0?xA:t,this}function cs(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])}}cs.prototype.clear=gA;cs.prototype.delete=bA;cs.prototype.get=_A;cs.prototype.has=SA;cs.prototype.set=NA;function IA(){this.__data__=[],this.size=0}function Hi(e,t){for(var n=e.length;n--;)if(n0(e[n][0],t))return n;return-1}var CA=Array.prototype,TA=CA.splice;function RA(e){var t=this.__data__,n=Hi(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():TA.call(t,n,1),--this.size,!0}function PA(e){var t=this.__data__,n=Hi(t,e);return n<0?void 0:t[n][1]}function BA(e){return Hi(this.__data__,e)>-1}function OA(e,t){var n=this.__data__,r=Hi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function br(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])}}br.prototype.clear=IA;br.prototype.delete=RA;br.prototype.get=PA;br.prototype.has=BA;br.prototype.set=OA;var na=ys(Kn,"Map");function kA(){this.size=0,this.__data__={hash:new cs,map:new(na||br),string:new cs}}function FA(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Xi(e,t){var n=e.__data__;return FA(t)?n[typeof t=="string"?"string":"hash"]:n.map}function MA(e){var t=Xi(this,e).delete(e);return this.size-=t?1:0,t}function LA(e){return Xi(this,e).get(e)}function $A(e){return Xi(this,e).has(e)}function WA(e,t){var n=Xi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function oo(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])}}oo.prototype.clear=kA;oo.prototype.delete=MA;oo.prototype.get=LA;oo.prototype.has=$A;oo.prototype.set=WA;function DA(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var VA=u0(Object.getPrototypeOf,Object);function GA(){this.__data__=new br,this.size=0}function YA(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function UA(e){return this.__data__.get(e)}function jA(e){return this.__data__.has(e)}var ZA=200;function KA(e,t){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!na||r.length<ZA-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oo(r)}return n.set(e,t),this.size=n.size,this}function ao(e){var t=this.__data__=new br(e);this.size=t.size}ao.prototype.clear=GA;ao.prototype.delete=YA;ao.prototype.get=UA;ao.prototype.has=jA;ao.prototype.set=KA;var c0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Rd=c0&&typeof module=="object"&&module&&!module.nodeType&&module,HA=Rd&&Rd.exports===c0,Pd=HA?Kn.Buffer:void 0;Pd&&Pd.allocUnsafe;function XA(e,t){return e.slice()}function zA(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[s++]=a)}return o}function JA(){return[]}var QA=Object.prototype,qA=QA.propertyIsEnumerable,Bd=Object.getOwnPropertySymbols,e4=Bd?function(e){return e==null?[]:(e=Object(e),zA(Bd(e),function(t){return qA.call(e,t)}))}:JA;function t4(e,t,n){var r=t(e);return kc(e)?r:DA(r,n(e))}function n4(e){return t4(e,mA,e4)}var mu=ys(Kn,"DataView"),gu=ys(Kn,"Promise"),bu=ys(Kn,"Set"),Od="[object Map]",r4="[object Object]",kd="[object Promise]",Fd="[object Set]",Md="[object WeakMap]",Ld="[object DataView]",s4=vs(mu),o4=vs(na),a4=vs(gu),i4=vs(bu),l4=vs(hu),ir=ba;(mu&&ir(new mu(new ArrayBuffer(1)))!=Ld||na&&ir(new na)!=Od||gu&&ir(gu.resolve())!=kd||bu&&ir(new bu)!=Fd||hu&&ir(new hu)!=Md)&&(ir=function(e){var t=ba(e),n=t==r4?e.constructor:void 0,r=n?vs(n):"";if(r)switch(r){case s4:return Ld;case o4:return Od;case a4:return kd;case i4:return Fd;case l4:return Md}return t});var u4=Object.prototype,c4=u4.hasOwnProperty;function f4(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&c4.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var $d=Kn.Uint8Array;function Mc(e){var t=new e.constructor(e.byteLength);return new $d(t).set(new $d(e)),t}function d4(e,t){var n=Mc(e.buffer);return new e.constructor(n,e.byteOffset,e.byteLength)}var p4=/\w*$/;function h4(e){var t=new e.constructor(e.source,p4.exec(e));return t.lastIndex=e.lastIndex,t}var Wd=Ds?Ds.prototype:void 0,Dd=Wd?Wd.valueOf:void 0;function m4(e){return Dd?Object(Dd.call(e)):{}}function g4(e,t){var n=Mc(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}var b4="[object Boolean]",v4="[object Date]",y4="[object Map]",w4="[object Number]",_4="[object RegExp]",E4="[object Set]",A4="[object String]",S4="[object Symbol]",x4="[object ArrayBuffer]",N4="[object DataView]",I4="[object Float32Array]",C4="[object Float64Array]",T4="[object Int8Array]",R4="[object Int16Array]",P4="[object Int32Array]",B4="[object Uint8Array]",O4="[object Uint8ClampedArray]",k4="[object Uint16Array]",F4="[object Uint32Array]";function M4(e,t,n){var r=e.constructor;switch(t){case x4:return Mc(e);case b4:case v4:return new r(+e);case N4:return d4(e);case I4:case C4:case T4:case R4:case P4:case B4:case O4:case k4:case F4:return g4(e);case y4:return new r;case w4:case A4:return new r(e);case _4:return h4(e);case E4:return new r;case S4:return m4(e)}}function L4(e){return typeof e.constructor=="function"&&!s0(e)?m3(VA(e)):{}}var $4="[object Map]";function W4(e){return va(e)&&ir(e)==$4}var Vd=Vs&&Vs.isMap,D4=Vd?Fc(Vd):W4,V4="[object Set]";function G4(e){return va(e)&&ir(e)==V4}var Gd=Vs&&Vs.isSet,Y4=Gd?Fc(Gd):G4,f0="[object Arguments]",U4="[object Array]",j4="[object Boolean]",Z4="[object Date]",K4="[object Error]",d0="[object Function]",H4="[object GeneratorFunction]",X4="[object Map]",z4="[object Number]",p0="[object Object]",J4="[object RegExp]",Q4="[object Set]",q4="[object String]",eS="[object Symbol]",tS="[object WeakMap]",nS="[object ArrayBuffer]",rS="[object DataView]",sS="[object Float32Array]",oS="[object Float64Array]",aS="[object Int8Array]",iS="[object Int16Array]",lS="[object Int32Array]",uS="[object Uint8Array]",cS="[object Uint8ClampedArray]",fS="[object Uint16Array]",dS="[object Uint32Array]",Ye={};Ye[f0]=Ye[U4]=Ye[nS]=Ye[rS]=Ye[j4]=Ye[Z4]=Ye[sS]=Ye[oS]=Ye[aS]=Ye[iS]=Ye[lS]=Ye[X4]=Ye[z4]=Ye[p0]=Ye[J4]=Ye[Q4]=Ye[q4]=Ye[eS]=Ye[uS]=Ye[cS]=Ye[fS]=Ye[dS]=!0;Ye[K4]=Ye[d0]=Ye[tS]=!1;function Go(e,t,n,r,s,o){var a;if(n&&(a=s?n(e,r,s,o):n(e)),a!==void 0)return a;if(!Ki(e))return e;var i=kc(e);if(i)a=f4(e);else{var l=ir(e),u=l==d0||l==H4;if(i0(e))return XA(e);if(l==p0||l==f0||u&&!s)a=u?{}:L4(e);else{if(!Ye[l])return s?e:{};a=M4(e,l)}}o||(o=new ao);var c=o.get(e);if(c)return c;o.set(e,a),Y4(e)?e.forEach(function(p){a.add(Go(p,t,n,p,e,o))}):D4(e)&&e.forEach(function(p,h){a.set(h,Go(p,t,n,h,e,o))});var f=n4,d=i?void 0:f(e);return g3(d||e,function(p,h){d&&(h=p,p=e[h]),A3(a,h,Go(p,t,n,h,e,o))}),a}var pS=1,hS=4;function h0(e){return Go(e,pS|hS)}var mS=1,gS=4;function bS(e,t){return t=typeof t=="function"?t:void 0,Go(e,mS|gS,t)}function Lc(e){return e instanceof Error?e.name==="AbortError"||e.name==="CanceledError"||"code"in e&&e.code==="ERR_CANCELED":!1}function Gs(e){let t=new Error(e??"操作已取消");return t.name="AbortError",t}function Ys(e){return typeof e=="string"?e:e instanceof Error||e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:String(e)??"未知错误"}var vS=class extends Error{constructor(e,t){super(e),t!==void 0&&(this.cause=t instanceof Error?t:new Error(Ys(t))),this.name=new.target.name,Object.setPrototypeOf(this,new.target.prototype)}toString(){return`${this.name}: ${this.message}${this.cause?` (caused by ${this.cause})`:""}`}},Yd={trace:0,debug:1,info:2,warn:3,error:4},yS=["trace","debug","info","warn","error"];function io(e){return Array.isArray(e)&&e.length===0}function $c(e){return e instanceof Error?{name:e.name,message:e.message,stack:e.stack,cause:"cause"in e&&e.cause?$c(e.cause):void 0}:{name:"UnknownError",message:Ys(e)}}function wS(e){return e!=null&&typeof e=="object"&&"success"in e&&typeof e.success=="boolean"&&"msg"in e&&typeof e.msg=="string"}async function Ud(e){if(wS(e)){if(e.success)return e.data;throw e.error?_S(e.error):new Error(e.msg)}else return e}function _S(e){return Object.assign(new Error,e)}var jd=()=>{},ES=new Set(["then","catch","finally","toJSON","toString","valueOf"]);function Zd(e){return yS.indexOf(e)>-1}function m0(e,t){let n="info";return(async()=>{try{let r=(typeof e=="function"?await e():e).toLowerCase();Zd(r)?n=r:n="info"}catch{n="info"}})().then(),new Proxy(jd,{get(r,s){if(!(typeof s!="string"||ES.has(s))&&Zd(s))return new Proxy(jd,{apply(o,a,i){i&&(Yd[s]<Yd[n]||t(s,...i))}})}})}function Os(e,t){return new Promise((n,r)=>{if(t?.aborted)return r(Gs());let s=setTimeout(()=>{a(),n()},e),o=()=>{clearTimeout(s),a(),r(Gs())},a=()=>{t?.removeEventListener("abort",o)};t?.addEventListener("abort",o)})}function gi(e,t,n){let r=Math.random()*(t-e)+e;return Os(r,n)}function g0(e){try{let{origin:t,pathname:n,searchParams:r}=new URL(e);return{baseUrl:t+n,searchParams:r}}catch{throw new Error("Invalid URL")}}function vu(e,t=!1){return Object.keys(e).sort().filter(n=>t||e[n]!=null).map(n=>{let r=e[n]??"";return`${encodeURIComponent(n)}=${encodeURIComponent(String(r))}`}).join("&")}function b0(e,t){let n={};return e.size>0&&e.forEach((r,s)=>{n[s]=r}),t&&(n={...n,...t}),n}var AS=e=>bS(Re(e),t=>{typeof t=="function"||t instanceof Window||t instanceof Element}),SS=()=>{};function v0(e=[]){return new Proxy(SS,{get(t,n){if(typeof n=="string"&&!(n==="__proto__"||n==="constructor"))return v0(e.concat(n))},async apply(t,n,r){const s=e.join(".");try{let o;for(let i=0;i<e.length;i++){const l=e[i];if(i===0)if(window.__toolkitApi&&l in window.__toolkitApi)o=window.__toolkitApi[l];else break;else if(o&&typeof o=="object"&&l in o)o=o[l];else{o=void 0;break}}const a=r.map(i=>typeof i=="function"?i:AS(i));return Ud(typeof o=="function"?await o(...a):await window.__toolkitInvoke(s,...a))}catch(o){throw console.error(`[${s}]`,r,o),o}}})}function xS(){if(window.toolkitApi)return window.toolkitApi;let e;return Object.defineProperty(window,"toolkitApi",{get(){return e||(e=v0([])),e}}),window.toolkitApi}m0(async()=>await window.toolkitApi.system.getLogLevel(),(e,...t)=>{console[e](`[${new Date().toLocaleString()}]`,...t),window.toolkitApi.system.saveLog({level:e,data:t.map(n=>n instanceof Error?JSON.stringify($c(n)):JSON.stringify(n))}).catch()});const We={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},NS=["","default","small","large"];var y0=typeof global=="object"&&global&&global.Object===Object&&global,IS=typeof self=="object"&&self&&self.Object===Object&&self,vr=y0||IS||Function("return this")(),Un=vr.Symbol,w0=Object.prototype,CS=w0.hasOwnProperty,TS=w0.toString,go=Un?Un.toStringTag:void 0;function RS(e){var t=CS.call(e,go),n=e[go];try{e[go]=void 0;var r=!0}catch{}var s=TS.call(e);return r&&(t?e[go]=n:delete e[go]),s}var PS=Object.prototype,BS=PS.toString;function OS(e){return BS.call(e)}var kS="[object Null]",FS="[object Undefined]",Kd=Un?Un.toStringTag:void 0;function ws(e){return e==null?e===void 0?FS:kS:Kd&&Kd in Object(e)?RS(e):OS(e)}function fs(e){return e!=null&&typeof e=="object"}var MS="[object Symbol]";function Wc(e){return typeof e=="symbol"||fs(e)&&ws(e)==MS}function LS(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 jn=Array.isArray,Hd=Un?Un.prototype:void 0,Xd=Hd?Hd.toString:void 0;function _0(e){if(typeof e=="string")return e;if(jn(e))return LS(e,_0)+"";if(Wc(e))return Xd?Xd.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function bi(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function $S(e){return e}var WS="[object AsyncFunction]",DS="[object Function]",VS="[object GeneratorFunction]",GS="[object Proxy]";function E0(e){if(!bi(e))return!1;var t=ws(e);return t==DS||t==VS||t==WS||t==GS}var Al=vr["__core-js_shared__"],zd=(function(){var e=/[^.]+$/.exec(Al&&Al.keys&&Al.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function YS(e){return!!zd&&zd in e}var US=Function.prototype,jS=US.toString;function _s(e){if(e!=null){try{return jS.call(e)}catch{}try{return e+""}catch{}}return""}var ZS=/[\\^$.*+?()[\]{}|]/g,KS=/^\[object .+?Constructor\]$/,HS=Function.prototype,XS=Object.prototype,zS=HS.toString,JS=XS.hasOwnProperty,QS=RegExp("^"+zS.call(JS).replace(ZS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function qS(e){if(!bi(e)||YS(e))return!1;var t=E0(e)?QS:KS;return t.test(_s(e))}function ex(e,t){return e?.[t]}function Es(e,t){var n=ex(e,t);return qS(n)?n:void 0}var yu=Es(vr,"WeakMap");function tx(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var nx=800,rx=16,sx=Date.now;function ox(e){var t=0,n=0;return function(){var r=sx(),s=rx-(r-n);if(n=r,s>0){if(++t>=nx)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ax(e){return function(){return e}}var vi=(function(){try{var e=Es(Object,"defineProperty");return e({},"",{}),e}catch{}})(),ix=vi?function(e,t){return vi(e,"toString",{configurable:!0,enumerable:!1,value:ax(t),writable:!0})}:$S,lx=ox(ix),ux=9007199254740991,cx=/^(?:0|[1-9]\d*)$/;function Dc(e,t){var n=typeof e;return t=t??ux,!!t&&(n=="number"||n!="symbol"&&cx.test(e))&&e>-1&&e%1==0&&e<t}function A0(e,t,n){t=="__proto__"&&vi?vi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Vc(e,t){return e===t||e!==e&&t!==t}var fx=Object.prototype,dx=fx.hasOwnProperty;function px(e,t,n){var r=e[t];(!(dx.call(e,t)&&Vc(r,n))||n===void 0&&!(t in e))&&A0(e,t,n)}var Jd=Math.max;function hx(e,t,n){return t=Jd(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,o=Jd(r.length-t,0),a=Array(o);++s<o;)a[s]=r[t+s];s=-1;for(var i=Array(t+1);++s<t;)i[s]=r[s];return i[t]=n(a),tx(e,this,i)}}var mx=9007199254740991;function Gc(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mx}function gx(e){return e!=null&&Gc(e.length)&&!E0(e)}var bx=Object.prototype;function vx(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||bx;return e===n}function yx(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var wx="[object Arguments]";function Qd(e){return fs(e)&&ws(e)==wx}var S0=Object.prototype,_x=S0.hasOwnProperty,Ex=S0.propertyIsEnumerable,Yc=Qd((function(){return arguments})())?Qd:function(e){return fs(e)&&_x.call(e,"callee")&&!Ex.call(e,"callee")};function Ax(){return!1}var x0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,qd=x0&&typeof module=="object"&&module&&!module.nodeType&&module,Sx=qd&&qd.exports===x0,ep=Sx?vr.Buffer:void 0,xx=ep?ep.isBuffer:void 0,wu=xx||Ax,Nx="[object Arguments]",Ix="[object Array]",Cx="[object Boolean]",Tx="[object Date]",Rx="[object Error]",Px="[object Function]",Bx="[object Map]",Ox="[object Number]",kx="[object Object]",Fx="[object RegExp]",Mx="[object Set]",Lx="[object String]",$x="[object WeakMap]",Wx="[object ArrayBuffer]",Dx="[object DataView]",Vx="[object Float32Array]",Gx="[object Float64Array]",Yx="[object Int8Array]",Ux="[object Int16Array]",jx="[object Int32Array]",Zx="[object Uint8Array]",Kx="[object Uint8ClampedArray]",Hx="[object Uint16Array]",Xx="[object Uint32Array]",Ze={};Ze[Vx]=Ze[Gx]=Ze[Yx]=Ze[Ux]=Ze[jx]=Ze[Zx]=Ze[Kx]=Ze[Hx]=Ze[Xx]=!0;Ze[Nx]=Ze[Ix]=Ze[Wx]=Ze[Cx]=Ze[Dx]=Ze[Tx]=Ze[Rx]=Ze[Px]=Ze[Bx]=Ze[Ox]=Ze[kx]=Ze[Fx]=Ze[Mx]=Ze[Lx]=Ze[$x]=!1;function zx(e){return fs(e)&&Gc(e.length)&&!!Ze[ws(e)]}function Jx(e){return function(t){return e(t)}}var N0=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yo=N0&&typeof module=="object"&&module&&!module.nodeType&&module,Qx=Yo&&Yo.exports===N0,Sl=Qx&&y0.process,tp=(function(){try{var e=Yo&&Yo.require&&Yo.require("util").types;return e||Sl&&Sl.binding&&Sl.binding("util")}catch{}})(),np=tp&&tp.isTypedArray,I0=np?Jx(np):zx,qx=Object.prototype,eN=qx.hasOwnProperty;function tN(e,t){var n=jn(e),r=!n&&Yc(e),s=!n&&!r&&wu(e),o=!n&&!r&&!s&&I0(e),a=n||r||s||o,i=a?yx(e.length,String):[],l=i.length;for(var u in e)(t||eN.call(e,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Dc(u,l)))&&i.push(u);return i}function C0(e,t){return function(n){return e(t(n))}}var nN=C0(Object.keys,Object),rN=Object.prototype,sN=rN.hasOwnProperty;function oN(e){if(!vx(e))return nN(e);var t=[];for(var n in Object(e))sN.call(e,n)&&n!="constructor"&&t.push(n);return t}function aN(e){return gx(e)?tN(e):oN(e)}var iN=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lN=/^\w*$/;function uN(e,t){if(jn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Wc(e)?!0:lN.test(e)||!iN.test(e)||t!=null&&e in Object(t)}var ra=Es(Object,"create");function cN(){this.__data__=ra?ra(null):{},this.size=0}function fN(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dN="__lodash_hash_undefined__",pN=Object.prototype,hN=pN.hasOwnProperty;function mN(e){var t=this.__data__;if(ra){var n=t[e];return n===dN?void 0:n}return hN.call(t,e)?t[e]:void 0}var gN=Object.prototype,bN=gN.hasOwnProperty;function vN(e){var t=this.__data__;return ra?t[e]!==void 0:bN.call(t,e)}var yN="__lodash_hash_undefined__";function wN(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ra&&t===void 0?yN:t,this}function ds(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])}}ds.prototype.clear=cN;ds.prototype.delete=fN;ds.prototype.get=mN;ds.prototype.has=vN;ds.prototype.set=wN;function _N(){this.__data__=[],this.size=0}function zi(e,t){for(var n=e.length;n--;)if(Vc(e[n][0],t))return n;return-1}var EN=Array.prototype,AN=EN.splice;function SN(e){var t=this.__data__,n=zi(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():AN.call(t,n,1),--this.size,!0}function xN(e){var t=this.__data__,n=zi(t,e);return n<0?void 0:t[n][1]}function NN(e){return zi(this.__data__,e)>-1}function IN(e,t){var n=this.__data__,r=zi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function yr(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])}}yr.prototype.clear=_N;yr.prototype.delete=SN;yr.prototype.get=xN;yr.prototype.has=NN;yr.prototype.set=IN;var sa=Es(vr,"Map");function CN(){this.size=0,this.__data__={hash:new ds,map:new(sa||yr),string:new ds}}function TN(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ji(e,t){var n=e.__data__;return TN(t)?n[typeof t=="string"?"string":"hash"]:n.map}function RN(e){var t=Ji(this,e).delete(e);return this.size-=t?1:0,t}function PN(e){return Ji(this,e).get(e)}function BN(e){return Ji(this,e).has(e)}function ON(e,t){var n=Ji(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function wr(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])}}wr.prototype.clear=CN;wr.prototype.delete=RN;wr.prototype.get=PN;wr.prototype.has=BN;wr.prototype.set=ON;var kN="Expected a function";function Uc(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(kN);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],o=n.cache;if(o.has(s))return o.get(s);var a=e.apply(this,r);return n.cache=o.set(s,a)||o,a};return n.cache=new(Uc.Cache||wr),n}Uc.Cache=wr;var FN=500;function MN(e){var t=Uc(e,function(r){return n.size===FN&&n.clear(),r}),n=t.cache;return t}var LN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$N=/\\(\\)?/g,WN=MN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(LN,function(n,r,s,o){t.push(s?o.replace($N,"$1"):r||n)}),t});function DN(e){return e==null?"":_0(e)}function Qi(e,t){return jn(e)?e:uN(e,t)?[e]:WN(DN(e))}function jc(e){if(typeof e=="string"||Wc(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function T0(e,t){t=Qi(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[jc(t[n++])];return n&&n==r?e:void 0}function VN(e,t,n){var r=e==null?void 0:T0(e,t);return r===void 0?n:r}function R0(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var rp=Un?Un.isConcatSpreadable:void 0;function GN(e){return jn(e)||Yc(e)||!!(rp&&e&&e[rp])}function P0(e,t,n,r,s){var o=-1,a=e.length;for(n||(n=GN),s||(s=[]);++o<a;){var i=e[o];t>0&&n(i)?t>1?P0(i,t-1,n,r,s):R0(s,i):r||(s[s.length]=i)}return s}function YN(e){var t=e==null?0:e.length;return t?P0(e,1):[]}function UN(e){return lx(hx(e,void 0,YN),e+"")}var jN=C0(Object.getPrototypeOf,Object),ZN="[object Object]",KN=Function.prototype,HN=Object.prototype,B0=KN.toString,XN=HN.hasOwnProperty,zN=B0.call(Object);function JN(e){if(!fs(e)||ws(e)!=ZN)return!1;var t=jN(e);if(t===null)return!0;var n=XN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&B0.call(n)==zN}function QN(){if(!arguments.length)return[];var e=arguments[0];return jn(e)?e:[e]}function qN(){this.__data__=new yr,this.size=0}function eI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function tI(e){return this.__data__.get(e)}function nI(e){return this.__data__.has(e)}var rI=200;function sI(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!sa||r.length<rI-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new wr(r)}return n.set(e,t),this.size=n.size,this}function $r(e){var t=this.__data__=new yr(e);this.size=t.size}$r.prototype.clear=qN;$r.prototype.delete=eI;$r.prototype.get=tI;$r.prototype.has=nI;$r.prototype.set=sI;function oI(e,t){for(var n=-1,r=e==null?0:e.length,s=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[s++]=a)}return o}function aI(){return[]}var iI=Object.prototype,lI=iI.propertyIsEnumerable,sp=Object.getOwnPropertySymbols,uI=sp?function(e){return e==null?[]:(e=Object(e),oI(sp(e),function(t){return lI.call(e,t)}))}:aI;function cI(e,t,n){var r=t(e);return jn(e)?r:R0(r,n(e))}function op(e){return cI(e,aN,uI)}var _u=Es(vr,"DataView"),Eu=Es(vr,"Promise"),Au=Es(vr,"Set"),ap="[object Map]",fI="[object Object]",ip="[object Promise]",lp="[object Set]",up="[object WeakMap]",cp="[object DataView]",dI=_s(_u),pI=_s(sa),hI=_s(Eu),mI=_s(Au),gI=_s(yu),Pr=ws;(_u&&Pr(new _u(new ArrayBuffer(1)))!=cp||sa&&Pr(new sa)!=ap||Eu&&Pr(Eu.resolve())!=ip||Au&&Pr(new Au)!=lp||yu&&Pr(new yu)!=up)&&(Pr=function(e){var t=ws(e),n=t==fI?e.constructor:void 0,r=n?_s(n):"";if(r)switch(r){case dI:return cp;case pI:return ap;case hI:return ip;case mI:return lp;case gI:return up}return t});var fp=vr.Uint8Array,bI="__lodash_hash_undefined__";function vI(e){return this.__data__.set(e,bI),this}function yI(e){return this.__data__.has(e)}function yi(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new wr;++t<n;)this.add(e[t])}yi.prototype.add=yi.prototype.push=vI;yi.prototype.has=yI;function wI(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _I(e,t){return e.has(t)}var EI=1,AI=2;function O0(e,t,n,r,s,o){var a=n&EI,i=e.length,l=t.length;if(i!=l&&!(a&&l>i))return!1;var u=o.get(e),c=o.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,p=n&AI?new yi:void 0;for(o.set(e,t),o.set(t,e);++f<i;){var h=e[f],m=t[f];if(r)var g=a?r(m,h,f,t,e,o):r(h,m,f,e,t,o);if(g!==void 0){if(g)continue;d=!1;break}if(p){if(!wI(t,function(y,v){if(!_I(p,v)&&(h===y||s(h,y,n,r,o)))return p.push(v)})){d=!1;break}}else if(!(h===m||s(h,m,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function SI(e){var t=-1,n=Array(e.size);return e.forEach(function(r,s){n[++t]=[s,r]}),n}function xI(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var NI=1,II=2,CI="[object Boolean]",TI="[object Date]",RI="[object Error]",PI="[object Map]",BI="[object Number]",OI="[object RegExp]",kI="[object Set]",FI="[object String]",MI="[object Symbol]",LI="[object ArrayBuffer]",$I="[object DataView]",dp=Un?Un.prototype:void 0,xl=dp?dp.valueOf:void 0;function WI(e,t,n,r,s,o,a){switch(n){case $I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case LI:return!(e.byteLength!=t.byteLength||!o(new fp(e),new fp(t)));case CI:case TI:case BI:return Vc(+e,+t);case RI:return e.name==t.name&&e.message==t.message;case OI:case FI:return e==t+"";case PI:var i=SI;case kI:var l=r&NI;if(i||(i=xI),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=II,a.set(e,t);var c=O0(i(e),i(t),r,s,o,a);return a.delete(e),c;case MI:if(xl)return xl.call(e)==xl.call(t)}return!1}var DI=1,VI=Object.prototype,GI=VI.hasOwnProperty;function YI(e,t,n,r,s,o){var a=n&DI,i=op(e),l=i.length,u=op(t),c=u.length;if(l!=c&&!a)return!1;for(var f=l;f--;){var d=i[f];if(!(a?d in t:GI.call(t,d)))return!1}var p=o.get(e),h=o.get(t);if(p&&h)return p==t&&h==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=a;++f<l;){d=i[f];var y=e[d],v=t[d];if(r)var E=a?r(v,y,d,t,e,o):r(y,v,d,e,t,o);if(!(E===void 0?y===v||s(y,v,n,r,o):E)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var _=e.constructor,P=t.constructor;_!=P&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof P=="function"&&P instanceof P)&&(m=!1)}return o.delete(e),o.delete(t),m}var UI=1,pp="[object Arguments]",hp="[object Array]",Ca="[object Object]",jI=Object.prototype,mp=jI.hasOwnProperty;function ZI(e,t,n,r,s,o){var a=jn(e),i=jn(t),l=a?hp:Pr(e),u=i?hp:Pr(t);l=l==pp?Ca:l,u=u==pp?Ca:u;var c=l==Ca,f=u==Ca,d=l==u;if(d&&wu(e)){if(!wu(t))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new $r),a||I0(e)?O0(e,t,n,r,s,o):WI(e,t,l,n,r,s,o);if(!(n&UI)){var p=c&&mp.call(e,"__wrapped__"),h=f&&mp.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,g=h?t.value():t;return o||(o=new $r),s(m,g,n,r,o)}}return d?(o||(o=new $r),YI(e,t,n,r,s,o)):!1}function k0(e,t,n,r,s){return e===t?!0:e==null||t==null||!fs(e)&&!fs(t)?e!==e&&t!==t:ZI(e,t,n,r,k0,s)}function KI(e,t){return e!=null&&t in Object(e)}function HI(e,t,n){t=Qi(t,e);for(var r=-1,s=t.length,o=!1;++r<s;){var a=jc(t[r]);if(!(o=e!=null&&n(e,a)))break;e=e[a]}return o||++r!=s?o:(s=e==null?0:e.length,!!s&&Gc(s)&&Dc(a,s)&&(jn(e)||Yc(e)))}function XI(e,t){return e!=null&&HI(e,t,KI)}function wi(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var s=e[t];A0(r,s[0],s[1])}return r}function zI(e,t){return k0(e,t)}function Us(e){return e==null}function JI(e){return e===void 0}function QI(e,t,n,r){if(!bi(e))return e;t=Qi(t,e);for(var s=-1,o=t.length,a=o-1,i=e;i!=null&&++s<o;){var l=jc(t[s]),u=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(s!=a){var c=i[l];u=void 0,u===void 0&&(u=bi(c)?c:Dc(t[s+1])?[]:{})}px(i,l,u),i=i[l]}return e}function qI(e,t,n){for(var r=-1,s=t.length,o={};++r<s;){var a=t[r],i=T0(e,a);n(i,a)&&QI(o,Qi(a,e),i)}return o}function eC(e,t){return qI(e,t,function(n,r){return XI(e,r)})}var tC=UN(function(e,t){return e==null?{}:eC(e,t)});const F0=e=>e===void 0,ls=e=>typeof e=="boolean",Mt=e=>typeof e=="number",lk=e=>!e&&e!==0||ue(e)&&e.length===0||Ce(e)&&!Object.keys(e).length,Fr=e=>typeof Element>"u"?!1:e instanceof Element;const nC=e=>Ne(e)?!Number.isNaN(Number(e)):!1,uk=e=>e===window,gp=e=>Object.keys(e);const rC="__epPropKey",ce=e=>e,sC=e=>Ce(e)&&!!e.__epPropKey,qi=(e,t)=>{if(!Ce(e)||sC(e))return e;const{values:n,required:r,default:s,type:o,validator:a}=e,i={type:o,required:!!r,validator:n||a?l=>{let u=!1,c=[];if(n&&(c=Array.from(n),Pe(e,"default")&&c.push(s),u||=c.includes(l)),a&&(u||=a(l)),!u&&c.length>0){const f=[...new Set(c)].map(d=>JSON.stringify(d)).join(", ");q_(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`)}return u}:void 0,[rC]:!0};return Pe(e,"default")&&(i.default=s),i},Ge=e=>wi(Object.entries(e).map(([t,n])=>[t,qi(n,t)]));var M0=class extends Error{constructor(e){super(e),this.name="ElementPlusError"}};function oa(e,t){throw new M0(`[${e}] ${t}`)}function dn(e,t){{const n=Ne(e)?new M0(`[${e}] ${t}`):e;console.warn(n)}}function L0(e,t){var n;const r=to();return Qm(()=>{r.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),Ls(r)}function ya(e){return vc()?(Nm(e),!0):!1}const ft=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oC=e=>e!=null,aC=Object.prototype.toString,iC=e=>aC.call(e)==="[object Object]";const Br=()=>{},lC=uC();function uC(){var e,t;return ft&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function cC(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}function fC(e,t={}){let n,r,s=Br;const o=l=>{clearTimeout(l),s(),s=Br};let a;return l=>{const u=ln(e),c=ln(t.maxWait);return n&&o(n),u<=0||c!==void 0&&c<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,a=l,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,f(a())},c)),n=setTimeout(()=>{r&&o(r),r=void 0,f(l())},u)})}}function Ua(e){return Array.isArray(e)?e:[e]}function ck(e,t=200,n={}){return cC(fC(t,n),e)}function Su(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,o=to(!1);let a;function i(){a&&(clearTimeout(a),a=void 0)}function l(){o.value=!1,i()}function u(...c){s&&e(),i(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=void 0,e(...c)},ln(t))}return r&&(o.value=!0,ft&&u()),ya(l),{isPending:$w(o),start:u,stop:l}}function dC(e,t,n){return Ie(e,t,{...n,immediate:!0})}const el=ft?window:void 0,fk=ft?window.document:void 0;function wn(e){var t;const n=ln(e);return(t=n?.$el)!=null?t:n}function Wr(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},r=(i,l,u,c)=>(i.addEventListener(l,u,c),()=>i.removeEventListener(l,u,c)),s=T(()=>{const i=Ua(ln(e[0])).filter(l=>l!=null);return i.every(l=>typeof l!="string")?i:void 0}),o=dC(()=>{var i,l;return[(l=(i=s.value)==null?void 0:i.map(u=>wn(u)))!=null?l:[el].filter(u=>u!=null),Ua(ln(s.value?e[1]:e[0])),Ua(A(s.value?e[2]:e[1])),ln(s.value?e[3]:e[2])]},([i,l,u,c])=>{if(n(),!i?.length||!l?.length||!u?.length)return;const f=iC(c)?{...c}:c;t.push(...i.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),a=()=>{o(),n()};return ya(n),a}let bp=!1;function pC(e,t,n={}){const{window:r=el,ignore:s=[],capture:o=!0,detectIframe:a=!1,controls:i=!1}=n;if(!r)return i?{stop:Br,cancel:Br,trigger:Br}:Br;if(lC&&!bp){bp=!0;const g={passive:!0};Array.from(r.document.body.children).forEach(y=>y.addEventListener("click",Br,g)),r.document.documentElement.addEventListener("click",Br,g)}let l=!0;const u=g=>ln(s).some(y=>{if(typeof y=="string")return Array.from(r.document.querySelectorAll(y)).some(v=>v===g.target||g.composedPath().includes(v));{const v=wn(y);return v&&(g.target===v||g.composedPath().includes(v))}});function c(g){const y=ln(g);return y&&y.$.subTree.shapeFlag===16}function f(g,y){const v=ln(g),E=v.$.subTree&&v.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(_=>_.el===y.target||y.composedPath().includes(_.el))}const d=g=>{const y=wn(e);if(g.target!=null&&!(!(y instanceof Element)&&c(e)&&f(e,g))&&!(!y||y===g.target||g.composedPath().includes(y))){if("detail"in g&&g.detail===0&&(l=!u(g)),!l){l=!0;return}t(g)}};let p=!1;const h=[Wr(r,"click",g=>{p||(p=!0,setTimeout(()=>{p=!1},0),d(g))},{passive:!0,capture:o}),Wr(r,"pointerdown",g=>{const y=wn(e);l=!u(g)&&!!(y&&!g.composedPath().includes(y))},{passive:!0}),a&&Wr(r,"blur",g=>{setTimeout(()=>{var y;const v=wn(e);((y=r.document.activeElement)==null?void 0:y.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(g)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(g=>g());return i?{stop:m,cancel:()=>{l=!1},trigger:g=>{l=!0,d(g),l=!1}}:m}function hC(){const e=to(!1),t=Je();return t&&it(()=>{e.value=!0},t),e}function $0(e){const t=hC();return T(()=>(t.value,!!e()))}function dk(e,t,n={}){const{window:r=el,...s}=n;let o;const a=$0(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},l=T(()=>{const d=ln(e),p=Ua(d).map(wn).filter(oC);return new Set(p)}),u=Ie(l,d=>{i(),a.value&&d.size&&(o=new MutationObserver(t),d.forEach(p=>o.observe(p,s)))},{immediate:!0,flush:"post"}),c=()=>o?.takeRecords(),f=()=>{u(),i()};return ya(f),{isSupported:a,stop:f,takeRecords:c}}function aa(e,t,n={}){const{window:r=el,...s}=n;let o;const a=$0(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},l=T(()=>{const f=ln(e);return Array.isArray(f)?f.map(d=>wn(d)):[wn(f)]}),u=Ie(l,f=>{if(i(),a.value&&r){o=new ResizeObserver(t);for(const d of f)d&&o.observe(d,s)}},{immediate:!0,flush:"post"}),c=()=>{i(),u()};return ya(c),{isSupported:a,stop:c}}const mC=({from:e,replacement:t,scope:n,version:r,ref:s,type:o="API"},a)=>{Ie(()=>A(a),i=>{i&&dn(n,`[${o}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
3
3
  For more detail, please visit: ${s}
4
- `)},{immediate:!0})};const gC=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,vp=e=>typeof Element>"u"?!1:e instanceof Element;const xu=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ua=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const s=document.createEvent(r);return s.initEvent(t,...n),e.dispatchEvent(s),e};const tl=(e,t)=>{if(!e||!e.focus)return;let n=!1;vp(e)&&!xu(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),vp(e)&&n&&e.removeAttribute("tabindex")};const pk=()=>ft&&/firefox/i.test(window.navigator.userAgent),bC=()=>ft&&/android/i.test(window.navigator.userAgent),vC="utils/dom/style",W0=(e="")=>e.split(" ").filter(t=>!!t.trim()),yC=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ca=(e,t)=>{!e||!t.trim()||e.classList.add(...W0(t))},Nl=(e,t)=>{!e||!t.trim()||e.classList.remove(...W0(t))},hk=(e,t)=>{if(!ft||!e||!t||gC(e))return"";let n=Pt(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const s=document.defaultView?.getComputedStyle(e,"");return s?s[n]:""}catch{return e.style[n]}};function ps(e,t="px"){if(!e&&e!==0)return"";if(Mt(e)||nC(e))return`${e}${t}`;if(Ne(e))return e;dn(vC,"binding value must be a string or number")}var _C={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}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const wC=e=>(t,n)=>EC(t,n,A(e)),EC=(e,t,n)=>VN(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>`${t?.[s]??`{${s}}`}`),AC=e=>({lang:T(()=>A(e).name),locale:Ke(e)?e:J(e),t:wC(e)}),D0=Symbol("localeContextKey"),V0=e=>{const t=e||be(D0,J());return AC(T(()=>t.value||_C))},SC="is-",Hr=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},G0=Symbol("namespaceContextKey"),Zc=e=>{const t=e||(Je()?be(G0,J("el")):J("el"));return T(()=>A(t)||"el")},Ve=(e,t)=>{const n=Zc(t);return{namespace:n,b:(m="")=>Hr(n.value,e,m,"",""),e:m=>m?Hr(n.value,e,"",m,""):"",m:m=>m?Hr(n.value,e,"","",m):"",be:(m,g)=>m&&g?Hr(n.value,e,m,g,""):"",em:(m,g)=>m&&g?Hr(n.value,e,"",m,g):"",bm:(m,g)=>m&&g?Hr(n.value,e,m,"",g):"",bem:(m,g,y)=>m&&g&&y?Hr(n.value,e,m,g,y):"",is:(m,...g)=>{const y=g.length>=1?g[0]:!0;return m&&y?`${SC}${m}`:""},cssVar:m=>{const g={};for(const y in m)m[y]&&(g[`--${n.value}-${y}`]=m[y]);return g},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const g={};for(const y in m)m[y]&&(g[`--${n.value}-${e}-${y}`]=m[y]);return g},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}},ct=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const o=e?.(s);if(n===!1||!o)return t?.(s)},yp=e=>t=>t.pointerType==="mouse"?e(t):void 0,Hn=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=xC(e);return t?Object.values(We).includes(t)?t:t===" "?We.space:"":""},xC=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&bC()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},NC=Qi({type:ce(Boolean),default:null}),IC=Qi({type:ce(Function)}),CC=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],s={[e]:NC,[n]:IC};return{useModelToggle:({indicator:a,toggleReason:i,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:c,onHide:f})=>{const d=Je(),{emit:p}=d,h=d.props,m=T(()=>me(h[n])),g=T(()=>h[e]===null),y=B=>{a.value!==!0&&(a.value=!0,i&&(i.value=B),me(c)&&c(B))},b=B=>{a.value!==!1&&(a.value=!1,i&&(i.value=B),me(f)&&f(B))},E=B=>{if(h.disabled===!0||me(u)&&!u())return;const O=m.value&&ft;O&&p(t,!0),(g.value||!O)&&y(B)},w=B=>{if(h.disabled===!0||!ft)return;const O=m.value&&ft;O&&p(t,!1),(g.value||!O)&&b(B)},P=B=>{ls(B)&&(h.disabled&&B?m.value&&p(t,!1):a.value!==B&&(B?y():b()))},G=()=>{a.value?w():E()};return Ie(()=>h[e],P),l&&d.appContext.config.globalProperties.$route!==void 0&&Ie(()=>({...d.proxy.$route}),()=>{l.value&&a.value&&w()}),it(()=>{P(h[e])}),{hide:w,show:E,toggle:G,hasUpdateHandler:m}},useModelToggleProps:s,useModelToggleEmits:r}},Y0=e=>{const t=Je();return T(()=>t?.proxy?.$props?.[e])};var Wt="top",pn="bottom",hn="right",Dt="left",Kc="auto",ya=[Wt,pn,hn,Dt],js="start",ia="end",TC="clippingParents",U0="viewport",bo="popper",RC="reference",_p=ya.reduce(function(e,t){return e.concat([t+"-"+js,t+"-"+ia])},[]),Hc=[].concat(ya,[Kc]).reduce(function(e,t){return e.concat([t,t+"-"+js,t+"-"+ia])},[]),PC="beforeRead",BC="read",OC="afterRead",kC="beforeMain",FC="main",MC="afterMain",LC="beforeWrite",$C="write",WC="afterWrite",DC=[PC,BC,OC,kC,FC,MC,LC,$C,WC];function Zn(e){return e?(e.nodeName||"").toLowerCase():null}function Jt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hs(e){var t=Jt(e).Element;return e instanceof t||e instanceof Element}function un(e){var t=Jt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Xc(e){if(typeof ShadowRoot>"u")return!1;var t=Jt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function VC(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!un(o)||!Zn(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(a){var i=s[a];i===!1?o.removeAttribute(a):o.setAttribute(a,i===!0?"":i)}))})}function GC(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),i=a.reduce(function(l,u){return l[u]="",l},{});!un(s)||!Zn(s)||(Object.assign(s.style,i),Object.keys(o).forEach(function(l){s.removeAttribute(l)}))})}}var j0={name:"applyStyles",enabled:!0,phase:"write",fn:VC,effect:GC,requires:["computeStyles"]};function Dn(e){return e.split("-")[0]}var us=Math.max,_i=Math.min,Zs=Math.round;function Nu(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Z0(){return!/^((?!chrome|android).)*safari/i.test(Nu())}function Ks(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&un(e)&&(s=e.offsetWidth>0&&Zs(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Zs(r.height)/e.offsetHeight||1);var a=hs(e)?Jt(e):window,i=a.visualViewport,l=!Z0()&&n,u=(r.left+(l&&i?i.offsetLeft:0))/s,c=(r.top+(l&&i?i.offsetTop:0))/o,f=r.width/s,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function zc(e){var t=Ks(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function K0(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Xc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mr(e){return Jt(e).getComputedStyle(e)}function YC(e){return["table","td","th"].indexOf(Zn(e))>=0}function Yr(e){return((hs(e)?e.ownerDocument:e.document)||window.document).documentElement}function nl(e){return Zn(e)==="html"?e:e.assignedSlot||e.parentNode||(Xc(e)?e.host:null)||Yr(e)}function wp(e){return!un(e)||mr(e).position==="fixed"?null:e.offsetParent}function UC(e){var t=/firefox/i.test(Nu()),n=/Trident/i.test(Nu());if(n&&un(e)){var r=mr(e);if(r.position==="fixed")return null}var s=nl(e);for(Xc(s)&&(s=s.host);un(s)&&["html","body"].indexOf(Zn(s))<0;){var o=mr(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function _a(e){for(var t=Jt(e),n=wp(e);n&&YC(n)&&mr(n).position==="static";)n=wp(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&mr(n).position==="static")?t:n||UC(e)||t}function Jc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Uo(e,t,n){return us(e,_i(t,n))}function jC(e,t,n){var r=Uo(e,t,n);return r>n?n:r}function H0(){return{top:0,right:0,bottom:0,left:0}}function X0(e){return Object.assign({},H0(),e)}function z0(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var ZC=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,X0(typeof e!="number"?e:z0(e,ya))};function KC(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,i=Dn(n.placement),l=Jc(i),u=[Dt,hn].indexOf(i)>=0,c=u?"height":"width";if(!(!o||!a)){var f=ZC(s.padding,n),d=zc(o),p=l==="y"?Wt:Dt,h=l==="y"?pn:hn,m=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],y=_a(o),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-g/2,w=f[p],P=b-d[c]-f[h],G=b/2-d[c]/2+E,B=Uo(w,G,P),O=l;n.modifiersData[r]=(t={},t[O]=B,t.centerOffset=B-G,t)}}function HC(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||K0(t.elements.popper,s)&&(t.elements.arrow=s))}var XC={name:"arrow",enabled:!0,phase:"main",fn:KC,effect:HC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(e){return e.split("-")[1]}var zC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JC(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Zs(n*s)/s||0,y:Zs(r*s)/s||0}}function Ep(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,a=e.offsets,i=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,p=d===void 0?0:d,h=a.y,m=h===void 0?0:h,g=typeof c=="function"?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),E=Dt,w=Wt,P=window;if(u){var G=_a(n),B="clientHeight",O="clientWidth";if(G===Jt(n)&&(G=Yr(n),mr(G).position!=="static"&&i==="absolute"&&(B="scrollHeight",O="scrollWidth")),G=G,s===Wt||(s===Dt||s===hn)&&o===ia){w=pn;var R=f&&G===P&&P.visualViewport?P.visualViewport.height:G[B];m-=R-r.height,m*=l?1:-1}if(s===Dt||(s===Wt||s===pn)&&o===ia){E=hn;var F=f&&G===P&&P.visualViewport?P.visualViewport.width:G[O];p-=F-r.width,p*=l?1:-1}}var D=Object.assign({position:i},u&&zC),k=c===!0?JC({x:p,y:m},Jt(n)):{x:p,y:m};if(p=k.x,m=k.y,l){var U;return Object.assign({},D,(U={},U[w]=b?"0":"",U[E]=y?"0":"",U.transform=(P.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",U))}return Object.assign({},D,(t={},t[w]=b?m+"px":"",t[E]=y?p+"px":"",t.transform="",t))}function QC(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,i=n.roundOffsets,l=i===void 0?!0:i,u={placement:Dn(t.placement),variation:Hs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ep(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ep(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var J0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QC,data:{}},Ta={passive:!0};function qC(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,a=r.resize,i=a===void 0?!0:a,l=Jt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ta)}),i&&l.addEventListener("resize",n.update,Ta),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ta)}),i&&l.removeEventListener("resize",n.update,Ta)}}var Q0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qC,data:{}},e5={left:"right",right:"left",bottom:"top",top:"bottom"};function ja(e){return e.replace(/left|right|bottom|top/g,function(t){return e5[t]})}var t5={start:"end",end:"start"};function Ap(e){return e.replace(/start|end/g,function(t){return t5[t]})}function Qc(e){var t=Jt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function qc(e){return Ks(Yr(e)).left+Qc(e).scrollLeft}function n5(e,t){var n=Jt(e),r=Yr(e),s=n.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,l=0;if(s){o=s.width,a=s.height;var u=Z0();(u||!u&&t==="fixed")&&(i=s.offsetLeft,l=s.offsetTop)}return{width:o,height:a,x:i+qc(e),y:l}}function r5(e){var t,n=Yr(e),r=Qc(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=us(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=us(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),i=-r.scrollLeft+qc(e),l=-r.scrollTop;return mr(s||n).direction==="rtl"&&(i+=us(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:i,y:l}}function ef(e){var t=mr(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function q0(e){return["html","body","#document"].indexOf(Zn(e))>=0?e.ownerDocument.body:un(e)&&ef(e)?e:q0(nl(e))}function jo(e,t){var n;t===void 0&&(t=[]);var r=q0(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Jt(r),a=s?[o].concat(o.visualViewport||[],ef(r)?r:[]):r,i=t.concat(a);return s?i:i.concat(jo(nl(a)))}function Iu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function s5(e,t){var n=Ks(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Sp(e,t,n){return t===U0?Iu(n5(e,n)):hs(t)?s5(t,n):Iu(r5(Yr(e)))}function o5(e){var t=jo(nl(e)),n=["absolute","fixed"].indexOf(mr(e).position)>=0,r=n&&un(e)?_a(e):e;return hs(r)?t.filter(function(s){return hs(s)&&K0(s,r)&&Zn(s)!=="body"}):[]}function a5(e,t,n,r){var s=t==="clippingParents"?o5(e):[].concat(t),o=[].concat(s,[n]),a=o[0],i=o.reduce(function(l,u){var c=Sp(e,u,r);return l.top=us(c.top,l.top),l.right=_i(c.right,l.right),l.bottom=_i(c.bottom,l.bottom),l.left=us(c.left,l.left),l},Sp(e,a,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function eb(e){var t=e.reference,n=e.element,r=e.placement,s=r?Dn(r):null,o=r?Hs(r):null,a=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2,l;switch(s){case Wt:l={x:a,y:t.y-n.height};break;case pn:l={x:a,y:t.y+t.height};break;case hn:l={x:t.x+t.width,y:i};break;case Dt:l={x:t.x-n.width,y:i};break;default:l={x:t.x,y:t.y}}var u=s?Jc(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case js:l[u]=l[u]-(t[c]/2-n[c]/2);break;case ia:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function la(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,i=n.boundary,l=i===void 0?TC:i,u=n.rootBoundary,c=u===void 0?U0:u,f=n.elementContext,d=f===void 0?bo:f,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,g=m===void 0?0:m,y=X0(typeof g!="number"?g:z0(g,ya)),b=d===bo?RC:bo,E=e.rects.popper,w=e.elements[h?b:d],P=a5(hs(w)?w:w.contextElement||Yr(e.elements.popper),l,c,a),G=Ks(e.elements.reference),B=eb({reference:G,element:E,placement:s}),O=Iu(Object.assign({},E,B)),R=d===bo?O:G,F={top:P.top-R.top+y.top,bottom:R.bottom-P.bottom+y.bottom,left:P.left-R.left+y.left,right:R.right-P.right+y.right},D=e.modifiersData.offset;if(d===bo&&D){var k=D[s];Object.keys(F).forEach(function(U){var Z=[hn,pn].indexOf(U)>=0?1:-1,j=[Wt,pn].indexOf(U)>=0?"y":"x";F[U]+=k[j]*Z})}return F}function i5(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,a=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Hc:l,c=Hs(r),f=c?i?_p:_p.filter(function(h){return Hs(h)===c}):ya,d=f.filter(function(h){return u.indexOf(h)>=0});d.length===0&&(d=f);var p=d.reduce(function(h,m){return h[m]=la(e,{placement:m,boundary:s,rootBoundary:o,padding:a})[Dn(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function l5(e){if(Dn(e)===Kc)return[];var t=ja(e);return[Ap(e),t,Ap(t)]}function u5(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,i=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,g=t.options.placement,y=Dn(g),b=y===g,E=l||(b||!h?[ja(g)]:l5(g)),w=[g].concat(E).reduce(function(_e,Be){return _e.concat(Dn(Be)===Kc?i5(t,{placement:Be,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):Be)},[]),P=t.rects.reference,G=t.rects.popper,B=new Map,O=!0,R=w[0],F=0;F<w.length;F++){var D=w[F],k=Dn(D),U=Hs(D)===js,Z=[Wt,pn].indexOf(k)>=0,j=Z?"width":"height",L=la(t,{placement:D,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),x=Z?U?hn:Dt:U?pn:Wt;P[j]>G[j]&&(x=ja(x));var C=ja(x),H=[];if(o&&H.push(L[k]<=0),i&&H.push(L[x]<=0,L[C]<=0),H.every(function(_e){return _e})){R=D,O=!1;break}B.set(D,H)}if(O)for(var ne=h?3:1,le=function(_e){var Be=w.find(function(He){var M=B.get(He);if(M)return M.slice(0,_e).every(function(te){return te})});if(Be)return R=Be,"break"},ae=ne;ae>0;ae--){var Se=le(ae);if(Se==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}var c5={name:"flip",enabled:!0,phase:"main",fn:u5,requiresIfExists:["offset"],data:{_skip:!1}};function xp(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Np(e){return[Wt,hn,pn,Dt].some(function(t){return e[t]>=0})}function f5(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,a=la(t,{elementContext:"reference"}),i=la(t,{altBoundary:!0}),l=xp(a,r),u=xp(i,s,o),c=Np(l),f=Np(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var d5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:f5};function p5(e,t,n){var r=Dn(e),s=[Dt,Wt].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],i=o[1];return a=a||0,i=(i||0)*s,[Dt,hn].indexOf(r)>=0?{x:i,y:a}:{x:a,y:i}}function h5(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,a=Hc.reduce(function(c,f){return c[f]=p5(f,t.rects,o),c},{}),i=a[t.placement],l=i.x,u=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}var m5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:h5};function g5(e){var t=e.state,n=e.name;t.modifiersData[n]=eb({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var tb={name:"popperOffsets",enabled:!0,phase:"read",fn:g5,data:{}};function b5(e){return e==="x"?"y":"x"}function v5(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,i=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,g=la(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),y=Dn(t.placement),b=Hs(t.placement),E=!b,w=Jc(y),P=b5(w),G=t.modifiersData.popperOffsets,B=t.rects.reference,O=t.rects.popper,R=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,F=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(G){if(o){var U,Z=w==="y"?Wt:Dt,j=w==="y"?pn:hn,L=w==="y"?"height":"width",x=G[w],C=x+g[Z],H=x-g[j],ne=p?-O[L]/2:0,le=b===js?B[L]:O[L],ae=b===js?-O[L]:-B[L],Se=t.elements.arrow,_e=p&&Se?zc(Se):{width:0,height:0},Be=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:H0(),He=Be[Z],M=Be[j],te=Uo(0,B[L],_e[L]),q=E?B[L]/2-ne-te-He-F.mainAxis:le-te-He-F.mainAxis,ie=E?-B[L]/2+ne+te+M+F.mainAxis:ae+te+M+F.mainAxis,Ee=t.elements.arrow&&_a(t.elements.arrow),v=Ee?w==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,_=(U=D?.[w])!=null?U:0,S=x+q-_-v,W=x+ie-_,Y=Uo(p?_i(C,S):C,x,p?us(H,W):H);G[w]=Y,k[w]=Y-x}if(i){var $,re=w==="x"?Wt:Dt,ee=w==="x"?pn:hn,z=G[P],K=P==="y"?"height":"width",ge=z+g[re],oe=z-g[ee],pe=[Wt,Dt].indexOf(y)!==-1,ve=($=D?.[P])!=null?$:0,Te=pe?ge:z-B[K]-O[K]-ve+F.altAxis,Fe=pe?z+B[K]+O[K]-ve-F.altAxis:oe,ke=p&&pe?jC(Te,z,Fe):Uo(p?Te:ge,z,p?Fe:oe);G[P]=ke,k[P]=ke-z}t.modifiersData[r]=k}}var y5={name:"preventOverflow",enabled:!0,phase:"main",fn:v5,requiresIfExists:["offset"]};function _5(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function w5(e){return e===Jt(e)||!un(e)?Qc(e):_5(e)}function E5(e){var t=e.getBoundingClientRect(),n=Zs(t.width)/e.offsetWidth||1,r=Zs(t.height)/e.offsetHeight||1;return n!==1||r!==1}function A5(e,t,n){n===void 0&&(n=!1);var r=un(t),s=un(t)&&E5(t),o=Yr(t),a=Ks(e,s,n),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Zn(t)!=="body"||ef(o))&&(i=w5(t)),un(t)?(l=Ks(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=qc(o))),{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function S5(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(i){if(!n.has(i)){var l=t.get(i);l&&s(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function x5(e){var t=S5(e);return DC.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function N5(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function I5(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ip={placement:"bottom",modifiers:[],strategy:"absolute"};function Cp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function tf(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?Ip:s;return function(a,i,l){l===void 0&&(l=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ip,o),modifiersData:{},elements:{reference:a,popper:i},attributes:{},styles:{}},c=[],f=!1,d={state:u,setOptions:function(m){var g=typeof m=="function"?m(u.options):m;h(),u.options=Object.assign({},o,u.options,g),u.scrollParents={reference:hs(a)?jo(a):a.contextElement?jo(a.contextElement):[],popper:jo(i)};var y=x5(I5([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(b){return b.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var m=u.elements,g=m.reference,y=m.popper;if(Cp(g,y)){u.rects={reference:A5(g,_a(y),u.options.strategy==="fixed"),popper:zc(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(O){return u.modifiersData[O.name]=Object.assign({},O.data)});for(var b=0;b<u.orderedModifiers.length;b++){if(u.reset===!0){u.reset=!1,b=-1;continue}var E=u.orderedModifiers[b],w=E.fn,P=E.options,G=P===void 0?{}:P,B=E.name;typeof w=="function"&&(u=w({state:u,options:G,name:B,instance:d})||u)}}}},update:N5(function(){return new Promise(function(m){d.forceUpdate(),m(u)})}),destroy:function(){h(),f=!0}};if(!Cp(a,i))return d;d.setOptions(l).then(function(m){!f&&l.onFirstUpdate&&l.onFirstUpdate(m)});function p(){u.orderedModifiers.forEach(function(m){var g=m.name,y=m.options,b=y===void 0?{}:y,E=m.effect;if(typeof E=="function"){var w=E({state:u,name:g,instance:d,options:b}),P=function(){};c.push(w||P)}})}function h(){c.forEach(function(m){return m()}),c=[]}return d}}tf();var C5=[Q0,tb,J0,j0];tf({defaultModifiers:C5});var T5=[Q0,tb,J0,j0,m5,c5,y5,XC,d5],R5=tf({defaultModifiers:T5});const P5=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=B5(l);Object.assign(a.value,u)},requires:["computeStyles"]},s=T(()=>{const{onFirstUpdate:l,placement:u,strategy:c,modifiers:f}=A(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),o=to(),a=J({styles:{popper:{position:A(s).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return Ie(s,l=>{const u=A(o);u&&u.setOptions(l)},{deep:!0}),Ie([e,t],([l,u])=>{i(),!(!l||!u)&&(o.value=R5(l,u,A(s)))}),vt(()=>{i()}),{state:T(()=>({...A(o)?.state||{}})),styles:T(()=>A(a).styles),attributes:T(()=>A(a).attributes),update:()=>A(o)?.update(),forceUpdate:()=>A(o)?.forceUpdate(),instanceRef:T(()=>A(o))}};function B5(e){const t=Object.keys(e.elements);return{styles:yi(t.map(n=>[n,e.styles[n]||{}])),attributes:yi(t.map(n=>[n,e.attributes[n]]))}}function Tp(){let e;const t=(r,s)=>{n(),e=globalThis.setTimeout(r,s)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return qi(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Cu={prefix:Math.floor(Math.random()*1e4),current:0},O5=Symbol("elIdInjection"),nb=()=>Je()?be(O5,Cu):Cu,rl=e=>{const t=nb();!ft&&t===Cu&&dn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
4
+ `)},{immediate:!0})};const gC=e=>typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot,vp=e=>typeof Element>"u"?!1:e instanceof Element;const xu=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},ja=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const s=document.createEvent(r);return s.initEvent(t,...n),e.dispatchEvent(s),e};const tl=(e,t)=>{if(!e||!e.focus)return;let n=!1;vp(e)&&!xu(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),vp(e)&&n&&e.removeAttribute("tabindex")};const pk=()=>ft&&/firefox/i.test(window.navigator.userAgent),bC=()=>ft&&/android/i.test(window.navigator.userAgent),vC="utils/dom/style",W0=(e="")=>e.split(" ").filter(t=>!!t.trim()),yC=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ta=(e,t)=>{!e||!t.trim()||e.classList.add(...W0(t))},Nl=(e,t)=>{!e||!t.trim()||e.classList.remove(...W0(t))},hk=(e,t)=>{if(!ft||!e||!t||gC(e))return"";let n=Pt(t);n==="float"&&(n="cssFloat");try{const r=e.style[n];if(r)return r;const s=document.defaultView?.getComputedStyle(e,"");return s?s[n]:""}catch{return e.style[n]}};function ps(e,t="px"){if(!e&&e!==0)return"";if(Mt(e)||nC(e))return`${e}${t}`;if(Ne(e))return e;dn(vC,"binding value must be a string or number")}var wC={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}"},inputOTP:{groupLabel:"OTP Input",defaultLabel:"Please enter OTP character {index}"}}};const _C=e=>(t,n)=>EC(t,n,A(e)),EC=(e,t,n)=>VN(n,e,e).replace(/\{(\w+)\}/g,(r,s)=>`${t?.[s]??`{${s}}`}`),AC=e=>({lang:T(()=>A(e).name),locale:Ke(e)?e:J(e),t:_C(e)}),D0=Symbol("localeContextKey"),V0=e=>{const t=e||be(D0,J());return AC(T(()=>t.value||wC))},SC="is-",Hr=(e,t,n,r,s)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),r&&(o+=`__${r}`),s&&(o+=`--${s}`),o},G0=Symbol("namespaceContextKey"),Zc=e=>{const t=e||(Je()?be(G0,J("el")):J("el"));return T(()=>A(t)||"el")},Ve=(e,t)=>{const n=Zc(t);return{namespace:n,b:(m="")=>Hr(n.value,e,m,"",""),e:m=>m?Hr(n.value,e,"",m,""):"",m:m=>m?Hr(n.value,e,"","",m):"",be:(m,g)=>m&&g?Hr(n.value,e,m,g,""):"",em:(m,g)=>m&&g?Hr(n.value,e,"",m,g):"",bm:(m,g)=>m&&g?Hr(n.value,e,m,"",g):"",bem:(m,g,y)=>m&&g&&y?Hr(n.value,e,m,g,y):"",is:(m,...g)=>{const y=g.length>=1?g[0]:!0;return m&&y?`${SC}${m}`:""},cssVar:m=>{const g={};for(const y in m)m[y]&&(g[`--${n.value}-${y}`]=m[y]);return g},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const g={};for(const y in m)m[y]&&(g[`--${n.value}-${e}-${y}`]=m[y]);return g},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}},ct=(e,t,{checkForDefaultPrevented:n=!0}={})=>s=>{const o=e?.(s);if(n===!1||!o)return t?.(s)},yp=e=>t=>t.pointerType==="mouse"?e(t):void 0,Hn=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=xC(e);return t?Object.values(We).includes(t)?t:t===" "?We.space:"":""},xC=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&bC()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t},NC=qi({type:ce(Boolean),default:null}),IC=qi({type:ce(Function)}),CC=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],s={[e]:NC,[n]:IC};return{useModelToggle:({indicator:a,toggleReason:i,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:c,onHide:f})=>{const d=Je(),{emit:p}=d,h=d.props,m=T(()=>me(h[n])),g=T(()=>h[e]===null),y=B=>{a.value!==!0&&(a.value=!0,i&&(i.value=B),me(c)&&c(B))},v=B=>{a.value!==!1&&(a.value=!1,i&&(i.value=B),me(f)&&f(B))},E=B=>{if(h.disabled===!0||me(u)&&!u())return;const O=m.value&&ft;O&&p(t,!0),(g.value||!O)&&y(B)},_=B=>{if(h.disabled===!0||!ft)return;const O=m.value&&ft;O&&p(t,!1),(g.value||!O)&&v(B)},P=B=>{ls(B)&&(h.disabled&&B?m.value&&p(t,!1):a.value!==B&&(B?y():v()))},G=()=>{a.value?_():E()};return Ie(()=>h[e],P),l&&d.appContext.config.globalProperties.$route!==void 0&&Ie(()=>({...d.proxy.$route}),()=>{l.value&&a.value&&_()}),it(()=>{P(h[e])}),{hide:_,show:E,toggle:G,hasUpdateHandler:m}},useModelToggleProps:s,useModelToggleEmits:r}},Y0=e=>{const t=Je();return T(()=>t?.proxy?.$props?.[e])};var Wt="top",pn="bottom",hn="right",Dt="left",Kc="auto",wa=[Wt,pn,hn,Dt],js="start",ia="end",TC="clippingParents",U0="viewport",bo="popper",RC="reference",wp=wa.reduce(function(e,t){return e.concat([t+"-"+js,t+"-"+ia])},[]),Hc=[].concat(wa,[Kc]).reduce(function(e,t){return e.concat([t,t+"-"+js,t+"-"+ia])},[]),PC="beforeRead",BC="read",OC="afterRead",kC="beforeMain",FC="main",MC="afterMain",LC="beforeWrite",$C="write",WC="afterWrite",DC=[PC,BC,OC,kC,FC,MC,LC,$C,WC];function Zn(e){return e?(e.nodeName||"").toLowerCase():null}function Jt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hs(e){var t=Jt(e).Element;return e instanceof t||e instanceof Element}function un(e){var t=Jt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Xc(e){if(typeof ShadowRoot>"u")return!1;var t=Jt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function VC(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!un(o)||!Zn(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(a){var i=s[a];i===!1?o.removeAttribute(a):o.setAttribute(a,i===!0?"":i)}))})}function GC(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),i=a.reduce(function(l,u){return l[u]="",l},{});!un(s)||!Zn(s)||(Object.assign(s.style,i),Object.keys(o).forEach(function(l){s.removeAttribute(l)}))})}}var j0={name:"applyStyles",enabled:!0,phase:"write",fn:VC,effect:GC,requires:["computeStyles"]};function Dn(e){return e.split("-")[0]}var us=Math.max,_i=Math.min,Zs=Math.round;function Nu(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Z0(){return!/^((?!chrome|android).)*safari/i.test(Nu())}function Ks(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&un(e)&&(s=e.offsetWidth>0&&Zs(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Zs(r.height)/e.offsetHeight||1);var a=hs(e)?Jt(e):window,i=a.visualViewport,l=!Z0()&&n,u=(r.left+(l&&i?i.offsetLeft:0))/s,c=(r.top+(l&&i?i.offsetTop:0))/o,f=r.width/s,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function zc(e){var t=Ks(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function K0(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Xc(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mr(e){return Jt(e).getComputedStyle(e)}function YC(e){return["table","td","th"].indexOf(Zn(e))>=0}function Yr(e){return((hs(e)?e.ownerDocument:e.document)||window.document).documentElement}function nl(e){return Zn(e)==="html"?e:e.assignedSlot||e.parentNode||(Xc(e)?e.host:null)||Yr(e)}function _p(e){return!un(e)||mr(e).position==="fixed"?null:e.offsetParent}function UC(e){var t=/firefox/i.test(Nu()),n=/Trident/i.test(Nu());if(n&&un(e)){var r=mr(e);if(r.position==="fixed")return null}var s=nl(e);for(Xc(s)&&(s=s.host);un(s)&&["html","body"].indexOf(Zn(s))<0;){var o=mr(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return s;s=s.parentNode}return null}function _a(e){for(var t=Jt(e),n=_p(e);n&&YC(n)&&mr(n).position==="static";)n=_p(n);return n&&(Zn(n)==="html"||Zn(n)==="body"&&mr(n).position==="static")?t:n||UC(e)||t}function Jc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Uo(e,t,n){return us(e,_i(t,n))}function jC(e,t,n){var r=Uo(e,t,n);return r>n?n:r}function H0(){return{top:0,right:0,bottom:0,left:0}}function X0(e){return Object.assign({},H0(),e)}function z0(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var ZC=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,X0(typeof e!="number"?e:z0(e,wa))};function KC(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,i=Dn(n.placement),l=Jc(i),u=[Dt,hn].indexOf(i)>=0,c=u?"height":"width";if(!(!o||!a)){var f=ZC(s.padding,n),d=zc(o),p=l==="y"?Wt:Dt,h=l==="y"?pn:hn,m=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],y=_a(o),v=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,E=m/2-g/2,_=f[p],P=v-d[c]-f[h],G=v/2-d[c]/2+E,B=Uo(_,G,P),O=l;n.modifiersData[r]=(t={},t[O]=B,t.centerOffset=B-G,t)}}function HC(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||K0(t.elements.popper,s)&&(t.elements.arrow=s))}var XC={name:"arrow",enabled:!0,phase:"main",fn:KC,effect:HC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(e){return e.split("-")[1]}var zC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function JC(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Zs(n*s)/s||0,y:Zs(r*s)/s||0}}function Ep(e){var t,n=e.popper,r=e.popperRect,s=e.placement,o=e.variation,a=e.offsets,i=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,p=d===void 0?0:d,h=a.y,m=h===void 0?0:h,g=typeof c=="function"?c({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var y=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),E=Dt,_=Wt,P=window;if(u){var G=_a(n),B="clientHeight",O="clientWidth";if(G===Jt(n)&&(G=Yr(n),mr(G).position!=="static"&&i==="absolute"&&(B="scrollHeight",O="scrollWidth")),G=G,s===Wt||(s===Dt||s===hn)&&o===ia){_=pn;var R=f&&G===P&&P.visualViewport?P.visualViewport.height:G[B];m-=R-r.height,m*=l?1:-1}if(s===Dt||(s===Wt||s===pn)&&o===ia){E=hn;var F=f&&G===P&&P.visualViewport?P.visualViewport.width:G[O];p-=F-r.width,p*=l?1:-1}}var D=Object.assign({position:i},u&&zC),k=c===!0?JC({x:p,y:m},Jt(n)):{x:p,y:m};if(p=k.x,m=k.y,l){var U;return Object.assign({},D,(U={},U[_]=v?"0":"",U[E]=y?"0":"",U.transform=(P.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",U))}return Object.assign({},D,(t={},t[_]=v?m+"px":"",t[E]=y?p+"px":"",t.transform="",t))}function QC(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,i=n.roundOffsets,l=i===void 0?!0:i,u={placement:Dn(t.placement),variation:Hs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ep(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ep(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var J0={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:QC,data:{}},Ra={passive:!0};function qC(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,a=r.resize,i=a===void 0?!0:a,l=Jt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,Ra)}),i&&l.addEventListener("resize",n.update,Ra),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Ra)}),i&&l.removeEventListener("resize",n.update,Ra)}}var Q0={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qC,data:{}},e5={left:"right",right:"left",bottom:"top",top:"bottom"};function Za(e){return e.replace(/left|right|bottom|top/g,function(t){return e5[t]})}var t5={start:"end",end:"start"};function Ap(e){return e.replace(/start|end/g,function(t){return t5[t]})}function Qc(e){var t=Jt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function qc(e){return Ks(Yr(e)).left+Qc(e).scrollLeft}function n5(e,t){var n=Jt(e),r=Yr(e),s=n.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,l=0;if(s){o=s.width,a=s.height;var u=Z0();(u||!u&&t==="fixed")&&(i=s.offsetLeft,l=s.offsetTop)}return{width:o,height:a,x:i+qc(e),y:l}}function r5(e){var t,n=Yr(e),r=Qc(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=us(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=us(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),i=-r.scrollLeft+qc(e),l=-r.scrollTop;return mr(s||n).direction==="rtl"&&(i+=us(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:i,y:l}}function ef(e){var t=mr(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function q0(e){return["html","body","#document"].indexOf(Zn(e))>=0?e.ownerDocument.body:un(e)&&ef(e)?e:q0(nl(e))}function jo(e,t){var n;t===void 0&&(t=[]);var r=q0(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=Jt(r),a=s?[o].concat(o.visualViewport||[],ef(r)?r:[]):r,i=t.concat(a);return s?i:i.concat(jo(nl(a)))}function Iu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function s5(e,t){var n=Ks(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Sp(e,t,n){return t===U0?Iu(n5(e,n)):hs(t)?s5(t,n):Iu(r5(Yr(e)))}function o5(e){var t=jo(nl(e)),n=["absolute","fixed"].indexOf(mr(e).position)>=0,r=n&&un(e)?_a(e):e;return hs(r)?t.filter(function(s){return hs(s)&&K0(s,r)&&Zn(s)!=="body"}):[]}function a5(e,t,n,r){var s=t==="clippingParents"?o5(e):[].concat(t),o=[].concat(s,[n]),a=o[0],i=o.reduce(function(l,u){var c=Sp(e,u,r);return l.top=us(c.top,l.top),l.right=_i(c.right,l.right),l.bottom=_i(c.bottom,l.bottom),l.left=us(c.left,l.left),l},Sp(e,a,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function eb(e){var t=e.reference,n=e.element,r=e.placement,s=r?Dn(r):null,o=r?Hs(r):null,a=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2,l;switch(s){case Wt:l={x:a,y:t.y-n.height};break;case pn:l={x:a,y:t.y+t.height};break;case hn:l={x:t.x+t.width,y:i};break;case Dt:l={x:t.x-n.width,y:i};break;default:l={x:t.x,y:t.y}}var u=s?Jc(s):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case js:l[u]=l[u]-(t[c]/2-n[c]/2);break;case ia:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function la(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,i=n.boundary,l=i===void 0?TC:i,u=n.rootBoundary,c=u===void 0?U0:u,f=n.elementContext,d=f===void 0?bo:f,p=n.altBoundary,h=p===void 0?!1:p,m=n.padding,g=m===void 0?0:m,y=X0(typeof g!="number"?g:z0(g,wa)),v=d===bo?RC:bo,E=e.rects.popper,_=e.elements[h?v:d],P=a5(hs(_)?_:_.contextElement||Yr(e.elements.popper),l,c,a),G=Ks(e.elements.reference),B=eb({reference:G,element:E,placement:s}),O=Iu(Object.assign({},E,B)),R=d===bo?O:G,F={top:P.top-R.top+y.top,bottom:R.bottom-P.bottom+y.bottom,left:P.left-R.left+y.left,right:R.right-P.right+y.right},D=e.modifiersData.offset;if(d===bo&&D){var k=D[s];Object.keys(F).forEach(function(U){var Z=[hn,pn].indexOf(U)>=0?1:-1,j=[Wt,pn].indexOf(U)>=0?"y":"x";F[U]+=k[j]*Z})}return F}function i5(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,a=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Hc:l,c=Hs(r),f=c?i?wp:wp.filter(function(h){return Hs(h)===c}):wa,d=f.filter(function(h){return u.indexOf(h)>=0});d.length===0&&(d=f);var p=d.reduce(function(h,m){return h[m]=la(e,{placement:m,boundary:s,rootBoundary:o,padding:a})[Dn(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function l5(e){if(Dn(e)===Kc)return[];var t=Za(e);return[Ap(e),t,Ap(t)]}function u5(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,i=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,g=t.options.placement,y=Dn(g),v=y===g,E=l||(v||!h?[Za(g)]:l5(g)),_=[g].concat(E).reduce(function(we,Be){return we.concat(Dn(Be)===Kc?i5(t,{placement:Be,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):Be)},[]),P=t.rects.reference,G=t.rects.popper,B=new Map,O=!0,R=_[0],F=0;F<_.length;F++){var D=_[F],k=Dn(D),U=Hs(D)===js,Z=[Wt,pn].indexOf(k)>=0,j=Z?"width":"height",L=la(t,{placement:D,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),x=Z?U?hn:Dt:U?pn:Wt;P[j]>G[j]&&(x=Za(x));var C=Za(x),H=[];if(o&&H.push(L[k]<=0),i&&H.push(L[x]<=0,L[C]<=0),H.every(function(we){return we})){R=D,O=!1;break}B.set(D,H)}if(O)for(var ne=h?3:1,le=function(we){var Be=_.find(function(He){var M=B.get(He);if(M)return M.slice(0,we).every(function(te){return te})});if(Be)return R=Be,"break"},ae=ne;ae>0;ae--){var Se=le(ae);if(Se==="break")break}t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}}var c5={name:"flip",enabled:!0,phase:"main",fn:u5,requiresIfExists:["offset"],data:{_skip:!1}};function xp(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Np(e){return[Wt,hn,pn,Dt].some(function(t){return e[t]>=0})}function f5(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,a=la(t,{elementContext:"reference"}),i=la(t,{altBoundary:!0}),l=xp(a,r),u=xp(i,s,o),c=Np(l),f=Np(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var d5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:f5};function p5(e,t,n){var r=Dn(e),s=[Dt,Wt].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],i=o[1];return a=a||0,i=(i||0)*s,[Dt,hn].indexOf(r)>=0?{x:i,y:a}:{x:a,y:i}}function h5(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,a=Hc.reduce(function(c,f){return c[f]=p5(f,t.rects,o),c},{}),i=a[t.placement],l=i.x,u=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}var m5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:h5};function g5(e){var t=e.state,n=e.name;t.modifiersData[n]=eb({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var tb={name:"popperOffsets",enabled:!0,phase:"read",fn:g5,data:{}};function b5(e){return e==="x"?"y":"x"}function v5(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,i=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,h=n.tetherOffset,m=h===void 0?0:h,g=la(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),y=Dn(t.placement),v=Hs(t.placement),E=!v,_=Jc(y),P=b5(_),G=t.modifiersData.popperOffsets,B=t.rects.reference,O=t.rects.popper,R=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,F=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(G){if(o){var U,Z=_==="y"?Wt:Dt,j=_==="y"?pn:hn,L=_==="y"?"height":"width",x=G[_],C=x+g[Z],H=x-g[j],ne=p?-O[L]/2:0,le=v===js?B[L]:O[L],ae=v===js?-O[L]:-B[L],Se=t.elements.arrow,we=p&&Se?zc(Se):{width:0,height:0},Be=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:H0(),He=Be[Z],M=Be[j],te=Uo(0,B[L],we[L]),q=E?B[L]/2-ne-te-He-F.mainAxis:le-te-He-F.mainAxis,ie=E?-B[L]/2+ne+te+M+F.mainAxis:ae+te+M+F.mainAxis,Ee=t.elements.arrow&&_a(t.elements.arrow),b=Ee?_==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,w=(U=D?.[_])!=null?U:0,S=x+q-w-b,W=x+ie-w,Y=Uo(p?_i(C,S):C,x,p?us(H,W):H);G[_]=Y,k[_]=Y-x}if(i){var $,re=_==="x"?Wt:Dt,ee=_==="x"?pn:hn,z=G[P],K=P==="y"?"height":"width",ge=z+g[re],oe=z-g[ee],pe=[Wt,Dt].indexOf(y)!==-1,ve=($=D?.[P])!=null?$:0,Te=pe?ge:z-B[K]-O[K]-ve+F.altAxis,Fe=pe?z+B[K]+O[K]-ve-F.altAxis:oe,ke=p&&pe?jC(Te,z,Fe):Uo(p?Te:ge,z,p?Fe:oe);G[P]=ke,k[P]=ke-z}t.modifiersData[r]=k}}var y5={name:"preventOverflow",enabled:!0,phase:"main",fn:v5,requiresIfExists:["offset"]};function w5(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _5(e){return e===Jt(e)||!un(e)?Qc(e):w5(e)}function E5(e){var t=e.getBoundingClientRect(),n=Zs(t.width)/e.offsetWidth||1,r=Zs(t.height)/e.offsetHeight||1;return n!==1||r!==1}function A5(e,t,n){n===void 0&&(n=!1);var r=un(t),s=un(t)&&E5(t),o=Yr(t),a=Ks(e,s,n),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Zn(t)!=="body"||ef(o))&&(i=_5(t)),un(t)?(l=Ks(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=qc(o))),{x:a.left+i.scrollLeft-l.x,y:a.top+i.scrollTop-l.y,width:a.width,height:a.height}}function S5(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(i){if(!n.has(i)){var l=t.get(i);l&&s(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function x5(e){var t=S5(e);return DC.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function N5(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function I5(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ip={placement:"bottom",modifiers:[],strategy:"absolute"};function Cp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function tf(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?Ip:s;return function(a,i,l){l===void 0&&(l=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ip,o),modifiersData:{},elements:{reference:a,popper:i},attributes:{},styles:{}},c=[],f=!1,d={state:u,setOptions:function(m){var g=typeof m=="function"?m(u.options):m;h(),u.options=Object.assign({},o,u.options,g),u.scrollParents={reference:hs(a)?jo(a):a.contextElement?jo(a.contextElement):[],popper:jo(i)};var y=x5(I5([].concat(r,u.options.modifiers)));return u.orderedModifiers=y.filter(function(v){return v.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var m=u.elements,g=m.reference,y=m.popper;if(Cp(g,y)){u.rects={reference:A5(g,_a(y),u.options.strategy==="fixed"),popper:zc(y)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(O){return u.modifiersData[O.name]=Object.assign({},O.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var E=u.orderedModifiers[v],_=E.fn,P=E.options,G=P===void 0?{}:P,B=E.name;typeof _=="function"&&(u=_({state:u,options:G,name:B,instance:d})||u)}}}},update:N5(function(){return new Promise(function(m){d.forceUpdate(),m(u)})}),destroy:function(){h(),f=!0}};if(!Cp(a,i))return d;d.setOptions(l).then(function(m){!f&&l.onFirstUpdate&&l.onFirstUpdate(m)});function p(){u.orderedModifiers.forEach(function(m){var g=m.name,y=m.options,v=y===void 0?{}:y,E=m.effect;if(typeof E=="function"){var _=E({state:u,name:g,instance:d,options:v}),P=function(){};c.push(_||P)}})}function h(){c.forEach(function(m){return m()}),c=[]}return d}}tf();var C5=[Q0,tb,J0,j0];tf({defaultModifiers:C5});var T5=[Q0,tb,J0,j0,m5,c5,y5,XC,d5],R5=tf({defaultModifiers:T5});const P5=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=B5(l);Object.assign(a.value,u)},requires:["computeStyles"]},s=T(()=>{const{onFirstUpdate:l,placement:u,strategy:c,modifiers:f}=A(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),o=to(),a=J({styles:{popper:{position:A(s).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return Ie(s,l=>{const u=A(o);u&&u.setOptions(l)},{deep:!0}),Ie([e,t],([l,u])=>{i(),!(!l||!u)&&(o.value=R5(l,u,A(s)))}),vt(()=>{i()}),{state:T(()=>({...A(o)?.state||{}})),styles:T(()=>A(a).styles),attributes:T(()=>A(a).attributes),update:()=>A(o)?.update(),forceUpdate:()=>A(o)?.forceUpdate(),instanceRef:T(()=>A(o))}};function B5(e){const t=Object.keys(e.elements);return{styles:wi(t.map(n=>[n,e.styles[n]||{}])),attributes:wi(t.map(n=>[n,e.attributes[n]]))}}function Tp(){let e;const t=(r,s)=>{n(),e=globalThis.setTimeout(r,s)},n=()=>{e!==void 0&&(globalThis.clearTimeout(e),e=void 0)};return ya(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Cu={prefix:Math.floor(Math.random()*1e4),current:0},O5=Symbol("elIdInjection"),nb=()=>Je()?be(O5,Cu):Cu,rl=e=>{const t=nb();!ft&&t===Cu&&dn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
5
5
  usage: app.provide(ID_INJECTION_KEY, {
6
6
  prefix: number,
7
7
  current: number,
8
8
  })`);const n=Zc();return L0(()=>A(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Cs=[];const Rp=e=>{Hn(e)===We.esc&&Cs.forEach(t=>t(e))},k5=e=>{it(()=>{Cs.length===0&&document.addEventListener("keydown",Rp),ft&&Cs.push(e)}),vt(()=>{Cs=Cs.filter(t=>t!==e),Cs.length===0&&ft&&document.removeEventListener("keydown",Rp)})},rb=()=>{const e=Zc(),t=nb(),n=T(()=>`${e.value}-popper-container-${t.prefix}`);return{id:n,selector:T(()=>`#${n.value}`)}},F5=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},M5=()=>{const{id:e,selector:t}=rb();return fg(()=>{ft&&(document.body.querySelector(t.value)||F5(e.value))}),{id:e,selector:t}},L5=Ge({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),$5=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:s})=>{const{registerTimeout:o}=Tp(),{registerTimeout:a,cancelTimeout:i}=Tp();return{onOpen:(c,f=A(e))=>{o(()=>{r(c);const d=A(n);Mt(d)&&d>0&&a(()=>{s(c)},d)},f)},onClose:(c,f=A(t))=>{i(),o(()=>{s(c)},f)}}},sb=Symbol("elForwardRef"),W5=e=>{nt(sb,{setForwardRef:(n=>{e.value=n})})},D5=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Pp={current:0},Bp=J(0),ob=2e3,Op=Symbol("elZIndexContextKey"),ab=Symbol("zIndexContextKey"),ib=e=>{const t=Je()?be(Op,Pp):Pp,n=e||(Je()?be(ab,void 0):void 0),r=T(()=>{const a=A(n);return Mt(a)?a:ob}),s=T(()=>r.value+Bp.value),o=()=>(t.current++,Bp.value=t.current,s.value);return!ft&&!be(Op)&&dn("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
9
- usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:s,nextZIndex:o}};const No=e=>{const t=ue(e)?e:[e],n=[];return t.forEach(r=>{ue(r)?n.push(...No(r)):En(r)&&r.component?.subTree?n.push(r,...No(r.component.subTree)):En(r)&&ue(r.children)?n.push(...No(r.children)):En(r)&&r.shapeFlag===2?n.push(...No(r.type())):n.push(r)}),n},lb=Qi({type:String,values:NS,required:!1}),ub=Symbol("size"),V5=()=>{const e=be(ub,{});return T(()=>A(e.size)||"")},cb=Symbol("emptyValuesContextKey"),G5="use-empty-values",Y5=["",void 0,null],U5=Ge({emptyValues:Array,valueOnClear:{type:ce([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=me(e)?e():e,ue(e)?e.every(t=>!t):!e)}}),mk=(e,t)=>{const n=Je()?be(cb,J({})):J({}),r=T(()=>e.emptyValues||n.value.emptyValues||Y5),s=T(()=>me(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:me(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),o=a=>{let i=!0;return ue(a)?i=r.value.some(l=>zI(a,l)):i=r.value.includes(a),i};return o(s.value)||dn(G5,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:s,isEmptyValue:o}},j5=Ge({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),nf=e=>tC(j5,e),fb=e=>{const t=e.props,n=ue(t)?yi(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[s,o]of Object.entries(r)){const a=n[s];if(Pe(n,s)){if(JN(a)){n[s]={...a,default:o};continue}n[s]={type:a,default:o}}}e.props=n}}},Xn=(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 fb(e),e},Z5=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),K5=(e,t)=>(e.install=n=>{n.directive(t,e)},e),lo=e=>(e.install=Rt,fb(e),e);var H5=de({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),db=H5;var X5=de({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),z5=X5,J5=de({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),gk=J5;var Q5=de({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),fe("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),q5=Q5,e6=de({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),pb=e6,t6=de({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),fe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),n6=t6;var r6=de({name:"Close",__name:"close",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("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"})]))}}),s6=r6;var o6=de({name:"Hide",__name:"hide",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),fe("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),bk=o6,a6=de({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),Tu=a6,i6=de({name:"Loading",__name:"loading",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),hb=i6;var l6=de({name:"More",__name:"more",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),u6=l6;var c6=de({name:"Search",__name:"search",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),vk=c6;var f6=de({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),mb=f6,d6=de({name:"View",__name:"view",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),yk=d6,p6=de({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),gb=p6,h6=de({name:"Warning",__name:"warning",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),_k=h6;const cr=ce([String,Object,Function]);const m6={Close:s6,SuccessFilled:mb,InfoFilled:Tu,WarningFilled:gb,CircleCloseFilled:pb},kp={primary:Tu,success:mb,warning:gb,error:pb,info:Tu},wk={validating:hb,success:q5,error:n6},g6=Ge({size:{type:ce([Number,String])},color:{type:String}});var b6=de({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:g6,setup(e){const t=e,n=Ve("icon"),r=T(()=>{const{size:s,color:o}=t,a=ps(s);return!a&&!o?{}:{fontSize:a,"--color":o}});return(s,o)=>(X(),ye("i",Vt({class:A(n).b(),style:r.value},s.$attrs),[we(s.$slots,"default")],16))}}),v6=b6;const Vr=Xn(v6),bb=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],vb=Ge({role:{type:String,values:bb,default:"tooltip"}}),rf=Symbol("popper"),yb=Symbol("popperContent");var y6=de({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Ve("popper"),{arrowRef:r,arrowStyle:s}=be(yb,void 0);return vt(()=>{r.value=void 0}),t({arrowRef:r}),(o,a)=>(X(),ye("span",{ref_key:"arrowRef",ref:r,class:Oe(A(n).e("arrow")),style:Sn(A(s)),"data-popper-arrow":""},null,6))}}),_6=y6;const _b=Ge({virtualRef:{type:ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:ce(Function)},onMouseleave:{type:ce(Function)},onClick:{type:ce(Function)},onKeydown:{type:ce(Function)},onFocus:{type:ce(Function)},onBlur:{type:ce(Function)},onContextmenu:{type:ce(Function)},id:String,open:Boolean}),Il="ElOnlyChild",wb=de({name:Il,setup(e,{slots:t,attrs:n}){const r=D5(be(sb)?.setForwardRef??Rt);return()=>{const s=t.default?.(n);if(!s)return null;const[o,a]=Eb(s);return o?(a>1&&dn(Il,"requires exact only one valid child."),no(Gn(o,n),[[r]])):(dn(Il,"no valid child node found"),null)}}});function Eb(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==mt).length;for(const r of t){if(Ce(r))switch(r.type){case mt:continue;case ro:case"svg":return[Fp(r),n];case Xe:return Eb(r.children);default:return[r,n]}return[Fp(r),n]}return[null,0]}function Fp(e){return Ae("span",{class:Ve("only-child").e("content")},[e])}var w6=de({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:_b,setup(e,{expose:t}){const n=e,{role:r,triggerRef:s}=be(rf,void 0);W5(s);const o=T(()=>i.value?n.id:void 0),a=T(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),i=T(()=>{if(r&&r.value!=="tooltip")return r.value}),l=T(()=>i.value?`${n.open}`:void 0);let u;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return it(()=>{Ie(()=>n.virtualRef,f=>{f&&(s.value=_n(f))},{immediate:!0}),Ie(s,(f,d)=>{u?.(),u=void 0,Fr(d)&&c.forEach(p=>{const h=n[p];h&&d.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),Fr(f)&&(c.forEach(p=>{const h=n[p];h&&f.addEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),xu(f)&&(u=Ie([o,a,i,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{Us(p[m])?f.removeAttribute(h):f.setAttribute(h,p[m])})},{immediate:!0}))),Fr(d)&&xu(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>d.removeAttribute(p))},{immediate:!0})}),vt(()=>{if(u?.(),u=void 0,s.value&&Fr(s.value)){const f=s.value;c.forEach(d=>{const p=n[d];p&&f.removeEventListener(d.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(d))}),s.value=void 0}}),t({triggerRef:s}),(f,d)=>e.virtualTriggering?ze("v-if",!0):(X(),xe(A(wb),Vt({key:0},f.$attrs,{"aria-controls":o.value,"aria-describedby":a.value,"aria-expanded":l.value,"aria-haspopup":i.value}),{default:he(()=>[we(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),E6=w6;const Ab=Ge({arrowOffset:{type:Number,default:5}}),A6=Ge({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:ce(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Hc,default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Sb=Ge({...A6,...Ab,id:String,style:{type:ce([String,Array,Object,Boolean]),default:void 0},className:{type:ce([String,Array,Object])},effect:{type:ce(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:ce([String,Array,Object])},popperStyle:{type:ce([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:ce(Object)},triggerTargetEl:{type:ce(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...nf(["ariaLabel"]),loop:Boolean}),S6={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},sf=Symbol("formContextKey"),wi=Symbol("formItemContextKey"),xb=(e,t={})=>{const n=J(void 0),r=t.prop?n:Y0("size"),s=t.global?n:V5(),o=t.form?{size:void 0}:be(sf,void 0),a=t.formItem?{size:void 0}:be(wi,void 0);return T(()=>r.value||A(e)||a?.size||o?.size||s.value||"")},Nb=e=>{const t=Y0("disabled"),n=be(sf,void 0);return T(()=>t.value??A(e)??n?.disabled??!1)},x6=()=>({form:be(sf,void 0),formItem:be(wi,void 0)}),Ek=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=J(!1)),r||(r=J(!1));const s=Je(),o=()=>{let u=s?.parent;for(;u;){if(u.type.name==="ElFormItem")return!1;if(u.type.name==="ElLabelWrap")return!0;u=u.parent}return!1},a=J();let i;const l=T(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return it(()=>{i=Ie([Et(e,"id"),n],([u,c])=>{const f=u??(c?void 0:rl().value);f!==a.value&&(t?.removeInputId&&!o()&&(a.value&&t.removeInputId(a.value),!r?.value&&!c&&f&&t.addInputId(f)),a.value=f)},{immediate:!0})}),ma(()=>{i&&i(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:l,inputId:a}};const N6=e=>!e&&e!==0?[]:ue(e)?e:[e],Cl="focus-trap.focus-after-trapped",Tl="focus-trap.focus-after-released",I6="focus-trap.focusout-prevented",Mp={cancelable:!0,bubbles:!1},C6={cancelable:!0,bubbles:!1},Lp="focusAfterTrapped",$p="focusAfterReleased",T6=Symbol("elFocusTrap"),of=J(),sl=J(0),af=J(0);let Ra=0;const Ib=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Wp=(e,t)=>{for(const n of e)if(!R6(n,t))return n},R6=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},P6=e=>{const t=Ib(e);return[Wp(t,e),Wp(t.reverse(),e)]},B6=e=>e instanceof HTMLInputElement&&"select"in e,xr=(e,t)=>{if(e){const n=document.activeElement;tl(e,{preventScroll:!0}),af.value=window.performance.now(),e!==n&&B6(e)&&t&&e.select()}};function Dp(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const O6=()=>{let e=[];return{push:r=>{const s=e[0];s&&r!==s&&s.pause(),e=Dp(e,r),e.unshift(r)},remove:r=>{e=Dp(e,r),e[0]?.resume?.()}}},k6=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(xr(r,t),document.activeElement!==n)return},Vp=O6(),F6=()=>sl.value>af.value,Pa=()=>{of.value="pointer",sl.value=window.performance.now()},Gp=()=>{of.value="keyboard",sl.value=window.performance.now()},M6=()=>(it(()=>{Ra===0&&(document.addEventListener("mousedown",Pa),document.addEventListener("touchstart",Pa),document.addEventListener("keydown",Gp)),Ra++}),vt(()=>{Ra--,Ra<=0&&(document.removeEventListener("mousedown",Pa),document.removeEventListener("touchstart",Pa),document.removeEventListener("keydown",Gp))}),{focusReason:of,lastUserFocusTimestamp:sl,lastAutomatedFocusTimestamp:af}),Ba=e=>new CustomEvent(I6,{...C6,detail:e});var L6=de({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Lp,$p,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=J();let r,s;const{focusReason:o}=M6();k5(h=>{e.trapped&&!a.paused&&t("release-requested",h)});const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=h=>{if(!e.loop&&!e.trapped||a.paused)return;const{altKey:m,ctrlKey:g,metaKey:y,currentTarget:b,shiftKey:E}=h,{loop:w}=e,P=Hn(h)===We.tab&&!m&&!g&&!y,G=document.activeElement;if(P&&G){const B=b,[O,R]=P6(B);if(O&&R){if(!E&&G===R){const F=Ba({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||(h.preventDefault(),w&&xr(O,!0))}else if(E&&[O,B].includes(G)){const F=Ba({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||(h.preventDefault(),w&&xr(R,!0))}}else if(G===B){const F=Ba({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||h.preventDefault()}}};nt(T6,{focusTrapRef:n,onKeydown:i}),Ie(()=>e.focusTrapEl,h=>{h&&(n.value=h)},{immediate:!0}),Ie([n],([h],[m])=>{h&&(h.addEventListener("keydown",i),h.addEventListener("focusin",c),h.addEventListener("focusout",f)),m&&(m.removeEventListener("keydown",i),m.removeEventListener("focusin",c),m.removeEventListener("focusout",f))});const l=h=>{t(Lp,h)},u=h=>t($p,h),c=h=>{const m=A(n);if(!m)return;const g=h.target,y=h.relatedTarget,b=g&&m.contains(g);e.trapped||y&&m.contains(y)||(r=y),b&&t("focusin",h),!a.paused&&e.trapped&&(b?s=g:xr(s,!0))},f=h=>{const m=A(n);if(!(a.paused||!m))if(e.trapped){const g=h.relatedTarget;!Us(g)&&!m.contains(g)&&setTimeout(()=>{if(!a.paused&&e.trapped){const y=Ba({focusReason:o.value});t("focusout-prevented",y),y.defaultPrevented||xr(s,!0)}},0)}else{const g=h.target;g&&m.contains(g)||t("focusout",h)}};async function d(){await fn();const h=A(n);if(h){Vp.push(a);const m=h.contains(document.activeElement)?r:document.activeElement;if(r=m,!h.contains(m)){const g=new Event(Cl,Mp);h.addEventListener(Cl,l),h.dispatchEvent(g),g.defaultPrevented||fn(()=>{let y=e.focusStartEl;Ne(y)||(xr(y),document.activeElement!==y&&(y="first")),y==="first"&&k6(Ib(h),!0),(document.activeElement===m||y==="container")&&xr(h)})}}}function p(){const h=A(n);if(h){h.removeEventListener(Cl,l);const m=new CustomEvent(Tl,{...Mp,detail:{focusReason:o.value}});h.addEventListener(Tl,u),h.dispatchEvent(m),!m.defaultPrevented&&(o.value=="keyboard"||!F6()||h.contains(document.activeElement))&&xr(r??document.body),h.removeEventListener(Tl,u),Vp.remove(a),r=null,s=null}}return it(()=>{e.trapped&&d(),Ie(()=>e.trapped,h=>{h?d():p()})}),vt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",c),n.value.removeEventListener("focusout",f),n.value=void 0),r=null,s=null}),{onKeydown:i}}}),zn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function $6(e,t,n,r,s,o){return we(e.$slots,"default",{handleKeydown:e.onKeydown})}var W6=zn(L6,[["render",$6]]),D6=W6;const V6=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:s}=e,o={placement:n,strategy:r,...s,modifiers:[...Y6(e),...t]};return U6(o,s?.modifiers),o},G6=e=>{if(ft)return _n(e)};function Y6(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function U6(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const j6=0,Z6=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:s}=be(rf,void 0),o=J(),a=T(()=>e.arrowOffset),i=T(()=>({name:"eventListeners",enabled:!!e.visible})),l=T(()=>{const b=A(o),E=A(a)??j6;return{name:"arrow",enabled:!JI(b),options:{element:b,padding:E}}}),u=T(()=>({onFirstUpdate:()=>{h()},...V6(e,[A(l),A(i)])})),c=T(()=>G6(e.referenceEl)||A(r)),{attributes:f,state:d,styles:p,update:h,forceUpdate:m,instanceRef:g}=P5(c,n,u);Ie(g,b=>t.value=b,{flush:"sync"}),it(()=>{Ie(()=>A(c)?.getBoundingClientRect?.(),()=>{h()})});let y;return Ie(()=>e.visible,b=>{y?.(),y=void 0,b&&(y=aa(n,h).stop)}),vt(()=>{t.value=void 0,y?.(),y=void 0}),{attributes:f,arrowRef:o,contentRef:n,instanceRef:g,state:d,styles:p,role:s,forceUpdate:m,update:h}},K6=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:s}=ib(),o=Ve("popper"),a=T(()=>A(t).popper),i=J(Mt(e.zIndex)?e.zIndex:s()),l=T(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),u=T(()=>[{zIndex:A(i)},A(n).popper,e.popperStyle||{}]),c=T(()=>r.value==="dialog"?"false":void 0),f=T(()=>A(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:a,contentClass:l,contentStyle:u,contentZIndex:i,updateZIndex:()=>{i.value=Mt(e.zIndex)?e.zIndex:s()}}},H6=(e,t)=>{const n=J(!1),r=J(),s=()=>{t("focus")},o=u=>{u.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},a=u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},i=u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return vt(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:s,onFocusInTrap:a,onFocusoutPrevented:i,onReleaseRequested:l}};var X6=de({name:"ElPopperContent",__name:"content",props:Sb,emits:S6,setup(e,{expose:t,emit:n}){const r=n,s=e,{focusStartRef:o,trapped:a,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:f}=H6(s,r),{attributes:d,arrowRef:p,contentRef:h,styles:m,instanceRef:g,role:y,update:b}=Z6(s),{ariaModal:E,arrowStyle:w,contentAttrs:P,contentClass:G,contentStyle:B,updateZIndex:O}=K6(s,{styles:m,attributes:d,role:y}),R=be(wi,void 0);nt(yb,{arrowStyle:w,arrowRef:p}),R&&nt(wi,{...R,addInputId:Rt,removeInputId:Rt});let F;const D=(U=!0)=>{b(),U&&O()},k=()=>{D(!1),s.visible&&s.focusOnShow?a.value=!0:s.visible===!1&&(a.value=!1)};return it(()=>{Ie(()=>s.triggerTargetEl,(U,Z)=>{F?.(),F=void 0;const j=A(U||h.value),L=A(Z||h.value);Fr(j)&&(F=Ie([y,()=>s.ariaLabel,E,()=>s.id],x=>{["role","aria-label","aria-modal","id"].forEach((C,H)=>{Us(x[H])?j.removeAttribute(C):j.setAttribute(C,x[H])})},{immediate:!0})),L!==j&&Fr(L)&&["role","aria-label","aria-modal","id"].forEach(x=>{L.removeAttribute(x)})},{immediate:!0}),Ie(()=>s.visible,k,{immediate:!0})}),vt(()=>{F?.(),F=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:g,updatePopper:D,contentStyle:B}),(U,Z)=>(X(),ye("div",Vt({ref_key:"contentRef",ref:h},A(P),{style:A(B),class:A(G),tabindex:"-1",onMouseenter:Z[0]||(Z[0]=j=>U.$emit("mouseenter",j)),onMouseleave:Z[1]||(Z[1]=j=>U.$emit("mouseleave",j))}),[Ae(A(D6),{loop:e.loop,trapped:A(a),"trap-on-focus-in":!0,"focus-trap-el":A(h),"focus-start-el":A(o),onFocusAfterTrapped:A(l),onFocusAfterReleased:A(i),onFocusin:A(u),onFocusoutPrevented:A(c),onReleaseRequested:A(f)},{default:he(()=>[we(U.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),z6=X6,J6=de({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:vb,setup(e,{expose:t}){const n=e,r={triggerRef:J(),popperInstanceRef:J(),contentRef:J(),referenceRef:J(),role:T(()=>n.role)};return t(r),nt(rf,r),(s,o)=>we(s.$slots,"default")}}),Q6=J6;const q6=Xn(Q6),It=Ge({...L5,...Sb,appendTo:{type:ce([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:ce(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...nf(["ariaLabel"])}),Dr=Ge({..._b,disabled:Boolean,trigger:{type:ce([String,Array]),default:"hover"},triggerKeys:{type:ce(Array),default:()=>[We.enter,We.numpadEnter,We.space]},focusOnTarget:Boolean}),{useModelToggleProps:eT,useModelToggleEmits:tT,useModelToggle:nT}=CC("visible"),rT=Ge({...vb,...eT,...It,...Dr,...Ab,showArrow:{type:Boolean,default:!0}}),sT=[...tT,"before-show","before-hide","show","hide","open","close"],lf=Symbol("elTooltip"),Ru=(e,t)=>ue(e)?e.includes(t):e===t,xs=(e,t,n)=>r=>{Ru(A(e),t)&&n(r)};var oT=de({name:"ElTooltipTrigger",__name:"trigger",props:Dr,setup(e,{expose:t}){const n=e,r=Ve("tooltip"),{controlled:s,id:o,open:a,onOpen:i,onClose:l,onToggle:u}=be(lf,void 0),c=J(null),f=()=>{if(A(s)||n.disabled)return!0},d=Et(n,"trigger"),p=ct(f,xs(d,"hover",w=>{i(w),n.focusOnTarget&&w.target&&fn(()=>{tl(w.target,{preventScroll:!0})})})),h=ct(f,xs(d,"hover",l)),m=ct(f,xs(d,"click",w=>{w.button===0&&u(w)})),g=ct(f,xs(d,"focus",i)),y=ct(f,xs(d,"focus",l)),b=ct(f,xs(d,"contextmenu",w=>{w.preventDefault(),u(w)})),E=ct(f,w=>{const P=Hn(w);n.triggerKeys.includes(P)&&(w.preventDefault(),u(w))});return t({triggerRef:c}),(w,P)=>(X(),xe(A(E6),{id:A(o),"virtual-ref":e.virtualRef,open:A(a),"virtual-triggering":e.virtualTriggering,class:Oe(A(r).e("trigger")),onBlur:A(y),onClick:A(m),onContextmenu:A(b),onFocus:A(g),onMouseenter:A(p),onMouseleave:A(h),onKeydown:A(E)},{default:he(()=>[we(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),aT=oT,iT=de({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:It,setup(e,{expose:t}){const n=e,{selector:r}=rb(),s=Ve("tooltip"),o=J(),a=L0(()=>o.value?.popperContentRef);let i;const{controlled:l,id:u,open:c,trigger:f,onClose:d,onOpen:p,onShow:h,onHide:m,onBeforeShow:g,onBeforeHide:y}=be(lf,void 0),b=T(()=>n.transition||`${s.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);vt(()=>{i?.()});const w=T(()=>A(E)?!0:A(c)),P=T(()=>n.disabled?!1:A(c)),G=T(()=>n.appendTo||r.value),B=T(()=>n.style??{}),O=J(!0),R=()=>{m(),x()&&tl(document.body,{preventScroll:!0}),O.value=!0},F=()=>{if(A(l))return!0},D=ct(F,()=>{n.enterable&&Ru(A(f),"hover")&&p()}),k=ct(F,()=>{Ru(A(f),"hover")&&d()}),U=()=>{o.value?.updatePopper?.(),g?.()},Z=()=>{y?.()},j=()=>{h()},L=()=>{n.virtualTriggering||d()},x=C=>{const H=o.value?.popperContentRef,ne=C?.relatedTarget||document.activeElement;return H?.contains(ne)};return Ie(()=>A(c),C=>{C?(O.value=!1,i=pC(a,()=>{A(l)||N6(A(f)).every(H=>H!=="hover"&&H!=="focus")&&d()},{detectIframe:!0})):i?.()},{flush:"post"}),t({contentRef:o,isFocusInsideContent:x}),(C,H)=>(X(),xe(rw,{disabled:!e.teleported,to:G.value},[w.value||!O.value?(X(),xe(so,{key:0,name:b.value,appear:!E.value,onAfterLeave:R,onBeforeEnter:U,onAfterEnter:j,onBeforeLeave:Z,persisted:""},{default:he(()=>[no(Ae(A(z6),Vt({id:A(u),ref_key:"contentRef",ref:o},C.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":O.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,B.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:P.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:A(D),onMouseleave:A(k),onBlur:L,onClose:A(d)}),{default:he(()=>[we(C.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Ui,P.value]])]),_:3},8,["name","appear"])):ze("v-if",!0)],8,["disabled","to"]))}}),lT=iT;const uT=["innerHTML"],cT={key:1};var fT=de({name:"ElTooltip",__name:"tooltip",props:rT,emits:sT,setup(e,{expose:t,emit:n}){const r=e,s=n;M5();const o=Ve("tooltip"),a=rl(),i=J(),l=J(),u=()=>{const w=A(i);w&&w.popperInstanceRef?.update()},c=J(!1),f=J(),{show:d,hide:p,hasUpdateHandler:h}=nT({indicator:c,toggleReason:f}),{onOpen:m,onClose:g}=$5({showAfter:Et(r,"showAfter"),hideAfter:Et(r,"hideAfter"),autoClose:Et(r,"autoClose"),open:d,close:p}),y=T(()=>ls(r.visible)&&!h.value),b=T(()=>[o.b(),r.popperClass]);nt(lf,{controlled:y,id:a,open:Ls(c),trigger:Et(r,"trigger"),onOpen:m,onClose:g,onToggle:w=>{A(c)?g(w):m(w)},onShow:()=>{s("show",f.value)},onHide:()=>{s("hide",f.value)},onBeforeShow:()=>{s("before-show",f.value)},onBeforeHide:()=>{s("before-hide",f.value)},updatePopper:u}),Ie(()=>r.disabled,w=>{w&&c.value&&(c.value=!1),!w&&ls(r.visible)&&(c.value=r.visible)});const E=w=>l.value?.isFocusInsideContent(w);return ug(()=>c.value&&p()),vt(()=>{f.value=void 0}),t({popperRef:i,contentRef:l,isFocusInsideContent:E,updatePopper:u,onOpen:m,onClose:g,hide:p}),(w,P)=>(X(),xe(A(q6),{ref_key:"popperRef",ref:i,role:e.role},{default:he(()=>[Ae(aT,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:he(()=>[w.$slots.default?we(w.$slots,"default",{key:0}):ze("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Ae(lT,{ref_key:"contentRef",ref:l,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":b.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:he(()=>[we(w.$slots,"content",{},()=>[e.rawContent?(X(),ye("span",{key:0,innerHTML:e.content},null,8,uT)):(X(),ye("span",cT,$t(e.content),1))]),e.showArrow?(X(),xe(A(_6),{key:0})):ze("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),dT=fT;const wa=Xn(dT),Cb=e=>e,pT=Ge({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:ce([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:ce([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...nf(["ariaLabel","ariaOrientation"])}),hT={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Mt)},mT={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},gT=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),bT=Ge({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),uf=Symbol("scrollbarContextKey");function Yp(e,t,n=.03){return e-t>n}const vT=Ge({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),yT="Thumb";var _T=de({__name:"thumb",props:bT,setup(e){const t=e,n=be(uf),r=Ve("scrollbar");n||oa(yT,"can not inject scrollbar context");const s=J(),o=J(),a=J({}),i=J(!1);let l=!1,u=!1,c=0,f=0,d=ft?document.onselectstart:null;const p=T(()=>mT[t.vertical?"vertical":"horizontal"]),h=T(()=>gT({size:t.size,move:t.move,bar:p.value})),m=T(()=>s.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/o.value[p.value.offset]),g=O=>{if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;window.getSelection()?.removeAllRanges(),b(O);const R=O.currentTarget;R&&(a.value[p.value.axis]=R[p.value.offset]-(O[p.value.client]-R.getBoundingClientRect()[p.value.direction]))},y=O=>{if(!o.value||!s.value||!n.wrapElement)return;const R=(Math.abs(O.target.getBoundingClientRect()[p.value.direction]-O[p.value.client])-o.value[p.value.offset]/2)*100*m.value/s.value[p.value.offset];n.wrapElement[p.value.scroll]=R*n.wrapElement[p.value.scrollSize]/100},b=O=>{O.stopImmediatePropagation(),l=!0,c=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",E),document.addEventListener("mouseup",w),d=document.onselectstart,document.onselectstart=()=>!1},E=O=>{if(!s.value||!o.value||l===!1)return;const R=a.value[p.value.axis];if(!R)return;const F=((s.value.getBoundingClientRect()[p.value.direction]-O[p.value.client])*-1-(o.value[p.value.offset]-R))*100*m.value/s.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=F*f/100:n.wrapElement[p.value.scroll]=F*c/100},w=()=>{l=!1,a.value[p.value.axis]=0,document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",w),B(),u&&(i.value=!1)},P=()=>{u=!1,i.value=!!t.size},G=()=>{u=!0,i.value=l};vt(()=>{B(),document.removeEventListener("mouseup",w)});const B=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return Wr(Et(n,"scrollbarElement"),"mousemove",P),Wr(Et(n,"scrollbarElement"),"mouseleave",G),(O,R)=>(X(),xe(so,{name:A(r).b("fade"),persisted:""},{default:he(()=>[no(fe("div",{ref_key:"instance",ref:s,class:Oe([A(r).e("bar"),A(r).is(p.value.key)]),onMousedown:y,onClick:R[0]||(R[0]=ea(()=>{},["stop"]))},[fe("div",{ref_key:"thumb",ref:o,class:Oe(A(r).e("thumb")),style:Sn(h.value),onMousedown:g},null,38)],34),[[Ui,e.always||i.value]])]),_:1},8,["name"]))}}),Up=_T,wT=de({__name:"bar",props:vT,setup(e,{expose:t}){const n=e,r=be(uf),s=J(0),o=J(0),a=J(""),i=J(""),l=J(1),u=J(1);return t({handleScroll:d=>{if(d){const p=d.offsetHeight-4,h=d.offsetWidth-4;o.value=d.scrollTop*100/p*l.value,s.value=d.scrollLeft*100/h*u.value}},update:()=>{const d=r?.wrapElement;if(!d)return;const p=d.offsetHeight-4,h=d.offsetWidth-4,m=p**2/d.scrollHeight,g=h**2/d.scrollWidth,y=Math.max(m,n.minSize),b=Math.max(g,n.minSize);l.value=m/(p-m)/(y/(p-y)),u.value=g/(h-g)/(b/(h-b)),i.value=y+4<p?`${y}px`:"",a.value=b+4<h?`${b}px`:""}}),(d,p)=>(X(),ye(Xe,null,[Ae(Up,{move:s.value,ratio:u.value,size:a.value,always:e.always},null,8,["move","ratio","size","always"]),Ae(Up,{move:o.value,ratio:l.value,size:i.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),ET=wT;const AT=["tabindex"],Rl="ElScrollbar";var ST=de({name:Rl,__name:"scrollbar",props:pT,emits:hT,setup(e,{expose:t,emit:n}){const r=e,s=n,o=Ve("scrollbar");let a,i,l,u=0,c=0,f="";const d={bottom:!1,top:!1,right:!1,left:!1},p=J(),h=J(),m=J(),g=J(),y=T(()=>{const k={},U=ps(r.height),Z=ps(r.maxHeight);return U&&(k.height=U),Z&&(k.maxHeight=Z),[r.wrapStyle,k]}),b=T(()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}]),E=T(()=>[o.e("view"),r.viewClass]),w=k=>d[k]??!1,P={top:"bottom",bottom:"top",left:"right",right:"left"},G=k=>{const U=P[f];if(!U)return;const Z=k[f],j=k[U];Z&&!d[f]&&(d[f]=!0),!j&&d[U]&&(d[U]=!1)},B=()=>{if(h.value){g.value?.handleScroll(h.value);const k=u,U=c;u=h.value.scrollTop,c=h.value.scrollLeft;const Z={bottom:!Yp(h.value.scrollHeight-r.distance,h.value.clientHeight+u),top:u<=r.distance&&k!==0,right:!Yp(h.value.scrollWidth-r.distance,h.value.clientWidth+c)&&U!==c,left:c<=r.distance&&U!==0};if(s("scroll",{scrollTop:u,scrollLeft:c}),k!==u&&(f=u>k?"bottom":"top"),U!==c&&(f=c>U?"right":"left"),r.distance>0){if(w(f))return;G(Z)}Z[f]&&s("end-reached",f)}};function O(k,U){Ce(k)?h.value.scrollTo(k):Mt(k)&&Mt(U)&&h.value.scrollTo(k,U)}const R=k=>{if(!Mt(k)){dn(Rl,"value must be a number");return}h.value.scrollTop=k},F=k=>{if(!Mt(k)){dn(Rl,"value must be a number");return}h.value.scrollLeft=k},D=()=>{g.value?.update(),d[f]=!1,h.value&&g.value?.handleScroll(h.value)};return Ie(()=>r.noresize,k=>{k?(a?.(),i?.(),l?.()):({stop:a}=aa(m,D),{stop:i}=aa(h,D),l=Wr("resize",D))},{immediate:!0}),Ie(()=>[r.maxHeight,r.height],()=>{r.native||fn(()=>{D()})}),nt(uf,In({scrollbarElement:p,wrapElement:h})),lg(()=>{h.value&&(h.value.scrollTop=u,h.value.scrollLeft=c)}),it(()=>{r.native||fn(()=>{D()})}),Nc(()=>D()),t({wrapRef:h,update:D,scrollTo:O,setScrollTop:R,setScrollLeft:F,handleScroll:B}),(k,U)=>(X(),ye("div",{ref_key:"scrollbarRef",ref:p,class:Oe(A(o).b())},[fe("div",{ref_key:"wrapRef",ref:h,class:Oe(b.value),style:Sn(y.value),tabindex:e.tabindex,onScroll:B},[(X(),xe(as(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:Oe(E.value),style:Sn(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:he(()=>[we(k.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,AT),e.native?ze("v-if",!0):(X(),xe(ET,{key:0,ref_key:"barRef",ref:g,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),xT=ST;const NT=Xn(xT),IT=Ge({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:ce([String,Object,Array,Boolean]),default:void 0},offset:{type:ce(Array),default:()=>[0,0]},badgeClass:{type:String}});var CT=de({name:"ElBadge",__name:"badge",props:IT,setup(e,{expose:t}){const n=e,r=Ve("badge"),s=T(()=>n.isDot?"":Mt(n.value)&&Mt(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`),o=T(()=>[{backgroundColor:n.color,marginRight:ps(-n.offset[0]),marginTop:ps(n.offset[1])},n.badgeStyle??{}]);return t({content:s}),(a,i)=>(X(),ye("div",{class:Oe(A(r).b())},[we(a.$slots,"default"),Ae(so,{name:`${A(r).namespace.value}-zoom-in-center`},{default:he(()=>[!e.hidden&&(s.value||e.isDot||a.$slots.content)?(X(),ye("sup",{key:0,class:Oe([A(r).e("content"),A(r).em("content",e.type),A(r).is("fixed",!!a.$slots.default),A(r).is("dot",e.isDot),A(r).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:Sn(o.value)},[we(a.$slots,"content",{value:s.value},()=>[Yn($t(s.value),1)])],6)):ze("v-if",!0)]),_:3},8,["name"])],2))}}),TT=CT;const RT=Xn(TT),PT=["default","primary","success","warning","info","danger","text",""],BT=["button","submit","reset"],Pu=Ge({size:lb,disabled:{type:Boolean,default:void 0},type:{type:String,values:PT,default:""},icon:{type:cr},nativeType:{type:String,values:BT,default:"button"},loading:Boolean,loadingIcon:{type:cr,default:()=>hb},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ce([String,Object]),default:"button"}}),OT={click:e=>e instanceof MouseEvent},Tb=Symbol(),Ei=J();function cf(e,t=void 0){const n=Je()?be(Tb,Ei):Ei;return e?T(()=>n.value?.[e]??t):n}function kT(e,t){const n=cf(),r=Ve(e,T(()=>n.value?.namespace||"el")),s=V0(T(()=>n.value?.locale)),o=ib(T(()=>{const i=n.value?.zIndex;return Us(i)||Number.isNaN(i)?ob:i})),a=T(()=>A(t)||n.value?.size||"");return FT(T(()=>A(n)||{})),{ns:r,locale:s,zIndex:o,size:a}}const FT=(e,t,n=!1)=>{const r=!!Je(),s=r?cf():void 0,o=r?nt:void 0;if(!o){dn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const a=T(()=>{const i=A(e);return s?.value?MT(s.value,i):i});return o(Tb,a),o(D0,T(()=>a.value.locale)),o(G0,T(()=>a.value.namespace)),o(ab,T(()=>a.value.zIndex)),o(ub,{size:T(()=>a.value.size||"")}),o(cb,T(()=>({emptyValues:a.value.emptyValues,valueOnClear:a.value.valueOnClear}))),(n||!Ei.value)&&(Ei.value=a.value),a},MT=(e,t)=>{const n=[...new Set([...gp(e),...gp(t)])],r={};for(const s of n)r[s]=t[s]!==void 0?t[s]:e[s];return r},Ak=Ge({a11y:{type:Boolean,default:!0},locale:{type:ce(Object)},size:lb,button:{type:ce(Object)},card:{type:ce(Object)},dialog:{type:ce(Object)},link:{type:ce(Object)},experimentalFeatures:{type:ce(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ce(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:ce(Object)},...U5}),Ot={placement:"top"};const Rb=Symbol("buttonGroupContextKey"),LT=(e,t)=>{mC({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},T(()=>e.type==="text"));const n=be(Rb,void 0),r=cf("button"),{form:s}=x6(),o=xb(T(()=>n?.size)),a=Nb(),i=J(),l=bg(),u=T(()=>e.type||n?.type||r.value?.type||""),c=T(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=T(()=>e.plain??r.value?.plain??!1),d=T(()=>e.round??r.value?.round??!1),p=T(()=>e.text??r.value?.text??!1),h=T(()=>e.dashed??r.value?.dashed??!1),m=T(()=>e.tag==="button"?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=T(()=>{const b=l.default?.();if(c.value&&b?.length===1){const E=b[0];if(E?.type===ro){const w=E.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(w.trim())}}return!1});return{_disabled:a,_size:o,_type:u,_ref:i,_props:m,_plain:f,_round:d,_text:p,_dashed:h,shouldAddSpace:g,handleClick:b=>{if(a.value||e.loading){b.stopPropagation();return}e.nativeType==="reset"&&s?.resetFields(),t("click",b)}}};function St(e,t){$T(e)&&(e="100%");const n=WT(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Oa(e){return Math.min(1,Math.max(0,e))}function $T(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function WT(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Pb(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ka(e){return Number(e)<=1?`${Number(e)*100}%`:e}function rs(e){return e.length===1?"0"+e:String(e)}function DT(e,t,n){return{r:St(e,255)*255,g:St(t,255)*255,b:St(n,255)*255}}function jp(e,t,n){e=St(e,255),t=St(t,255),n=St(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o=0,a=0;const i=(r+s)/2;if(r===s)a=0,o=0;else{const l=r-s;switch(a=i>.5?l/(2-r-s):l/(r+s),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,l:i}}function Pl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function VT(e,t,n){let r,s,o;if(e=St(e,360),t=St(t,100),n=St(n,100),t===0)s=n,o=n,r=n;else{const a=n<.5?n*(1+t):n+t-n*t,i=2*n-a;r=Pl(i,a,e+1/3),s=Pl(i,a,e),o=Pl(i,a,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function Zp(e,t,n){e=St(e,255),t=St(t,255),n=St(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o=0;const a=r,i=r-s,l=r===0?0:i/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4;break}o/=6}return{h:o,s:l,v:a}}function GT(e,t,n){e=St(e,360)*6,t=St(t,100),n=St(n,100);const r=Math.floor(e),s=e-r,o=n*(1-t),a=n*(1-s*t),i=n*(1-(1-s)*t),l=r%6,u=[n,a,o,o,i,n][l],c=[i,n,n,a,o,o][l],f=[o,o,i,n,n,a][l];return{r:u*255,g:c*255,b:f*255}}function Kp(e,t,n,r){const s=[rs(Math.round(e).toString(16)),rs(Math.round(t).toString(16)),rs(Math.round(n).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function YT(e,t,n,r,s){const o=[rs(Math.round(e).toString(16)),rs(Math.round(t).toString(16)),rs(Math.round(n).toString(16)),rs(jT(r))];return s&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function UT(e,t,n,r){const s=e/100,o=t/100,a=n/100,i=r/100,l=255*(1-s)*(1-i),u=255*(1-o)*(1-i),c=255*(1-a)*(1-i);return{r:l,g:u,b:c}}function Hp(e,t,n){let r=1-e/255,s=1-t/255,o=1-n/255,a=Math.min(r,s,o);return a===1?(r=0,s=0,o=0):(r=(r-a)/(1-a)*100,s=(s-a)/(1-a)*100,o=(o-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(s),y:Math.round(o),k:Math.round(a)}}function jT(e){return Math.round(parseFloat(e)*255).toString(16)}function Xp(e){return jt(e)/255}function jt(e){return parseInt(e,16)}function ZT(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const Bu={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function KT(e){let t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,a=!1,i=!1;return typeof e=="string"&&(e=zT(e)),typeof e=="object"&&(Ut(e.r)&&Ut(e.g)&&Ut(e.b)?(t=DT(e.r,e.g,e.b),a=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ut(e.h)&&Ut(e.s)&&Ut(e.v)?(r=ka(e.s),s=ka(e.v),t=GT(e.h,r,s),a=!0,i="hsv"):Ut(e.h)&&Ut(e.s)&&Ut(e.l)?(r=ka(e.s),o=ka(e.l),t=VT(e.h,r,o),a=!0,i="hsl"):Ut(e.c)&&Ut(e.m)&&Ut(e.y)&&Ut(e.k)&&(t=UT(e.c,e.m,e.y,e.k),a=!0,i="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Pb(n),{ok:a,format:e.format||i,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const HT="[-\\+]?\\d+%?",XT="[-\\+]?\\d*\\.\\d+%?",Mr="(?:"+XT+")|(?:"+HT+")",Bl="[\\s|\\(]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")\\s*\\)?",Fa="[\\s|\\(]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")\\s*\\)?",en={CSS_UNIT:new RegExp(Mr),rgb:new RegExp("rgb"+Bl),rgba:new RegExp("rgba"+Fa),hsl:new RegExp("hsl"+Bl),hsla:new RegExp("hsla"+Fa),hsv:new RegExp("hsv"+Bl),hsva:new RegExp("hsva"+Fa),cmyk:new RegExp("cmyk"+Fa),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function zT(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(Bu[e])e=Bu[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=en.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=en.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=en.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=en.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=en.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=en.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=en.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=en.hex8.exec(e),n?{r:jt(n[1]),g:jt(n[2]),b:jt(n[3]),a:Xp(n[4]),format:t?"name":"hex8"}:(n=en.hex6.exec(e),n?{r:jt(n[1]),g:jt(n[2]),b:jt(n[3]),format:t?"name":"hex"}:(n=en.hex4.exec(e),n?{r:jt(n[1]+n[1]),g:jt(n[2]+n[2]),b:jt(n[3]+n[3]),a:Xp(n[4]+n[4]),format:t?"name":"hex8"}:(n=en.hex3.exec(e),n?{r:jt(n[1]+n[1]),g:jt(n[2]+n[2]),b:jt(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function Ut(e){return typeof e=="number"?!Number.isNaN(e):en.CSS_UNIT.test(e)}class et{constructor(t="",n={}){if(t instanceof et)return t;typeof t=="number"&&(t=ZT(t)),this.originalInput=t;const r=KT(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,s;const o=t.r/255,a=t.g/255,i=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?s=i/12.92:s=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s}getAlpha(){return this.a}setAlpha(t){return this.a=Pb(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=Zp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=Zp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${s}%)`:`hsva(${n}, ${r}%, ${s}%, ${this.roundA})`}toHsl(){const t=jp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=jp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${s}%)`:`hsla(${n}, ${r}%, ${s}%, ${this.roundA})`}toHex(t=!1){return Kp(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return YT(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(St(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(St(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...Hp(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:s}=Hp(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${s})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+Kp(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(Bu))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const s=this.a<1&&this.a>=0;return!n&&s&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new et(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=Oa(n.l),new et(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new et(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=Oa(n.l),new et(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=Oa(n.s),new et(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=Oa(n.s),new et(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new et(n)}mix(t,n=50){const r=this.toRgb(),s=new et(t).toRgb(),o=n/100,a={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new et(a)}analogous(t=6,n=30){const r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new et(r));return o}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new et(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s}=n;let{v:o}=n;const a=[],i=1/t;for(;t--;)a.push(new et({h:r,s,v:o})),o=(o+i)%1;return a}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new et({h:(n+72)%360,s:t.s,l:t.l}),new et({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new et(t).toRgb(),s=n.a+r.a*(1-n.a);return new et({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,s=[this],o=360/t;for(let a=1;a<t;a++)s.push(new et({h:(r+a*o)%360,s:n.s,l:n.l}));return s}equals(t){const n=new et(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function Pn(e,t=20){return e.mix("#141414",t).toString()}function JT(e){const t=Nb(),n=Ve("button");return T(()=>{let r={},s=e.color;if(s){const o=s.match(/var\((.*?)\)/);o&&(s=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const a=new et(s),i=e.dark?a.tint(20).toString():Pn(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Pn(a,90):a.tint(90).toString(),"text-color":s,"border-color":e.dark?Pn(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Pn(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Pn(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Pn(a,80):a.tint(80).toString());else if(e.link||e.text){const l=e.dark?Pn(a,30):a.tint(30).toString();if(r=n.cssVarBlock({"text-color":s,"hover-text-color":l,"active-text-color":i}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=l,r[n.cssVarBlockName("active-color")]=i),t.value){const u=e.dark?Pn(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=u,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const l=e.dark?Pn(a,30):a.tint(30).toString(),u=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":u,"border-color":s,"hover-bg-color":l,"hover-text-color":u,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const c=e.dark?Pn(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=c,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=c}}}return r})}var QT=de({name:"ElButton",__name:"button",props:Pu,emits:OT,setup(e,{expose:t,emit:n}){const r=e,s=n,o=JT(r),a=Ve("button"),{_ref:i,_size:l,_type:u,_disabled:c,_props:f,_plain:d,_round:p,_text:h,_dashed:m,shouldAddSpace:g,handleClick:y}=LT(r,s),b=T(()=>[a.b(),a.m(u.value),a.m(l.value),a.is("disabled",c.value),a.is("loading",r.loading),a.is("plain",d.value),a.is("round",p.value),a.is("circle",r.circle),a.is("text",h.value),a.is("dashed",m.value),a.is("link",r.link),a.is("has-bg",r.bg)]);return t({ref:i,size:l,type:u,disabled:c,shouldAddSpace:g}),(E,w)=>(X(),xe(as(e.tag),Vt({ref_key:"_ref",ref:i},A(f),{class:b.value,style:A(o),onClick:A(y)}),{default:he(()=>[e.loading?(X(),ye(Xe,{key:0},[E.$slots.loading?we(E.$slots,"loading",{key:0}):(X(),xe(A(Vr),{key:1,class:Oe(A(a).is("loading"))},{default:he(()=>[(X(),xe(as(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||E.$slots.icon?(X(),xe(A(Vr),{key:1},{default:he(()=>[e.icon?(X(),xe(as(e.icon),{key:0})):we(E.$slots,"icon",{key:1})]),_:3})):ze("v-if",!0),E.$slots.default?(X(),ye("span",{key:2,class:Oe({[A(a).em("text","expand")]:A(g)})},[we(E.$slots,"default")],2)):ze("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),qT=QT;const eR={size:Pu.size,type:Pu.type,direction:{type:ce(String),values:["horizontal","vertical"],default:"horizontal"}};var tR=de({name:"ElButtonGroup",__name:"button-group",props:eR,setup(e){const t=e;nt(Rb,In({size:Et(t,"size"),type:Et(t,"type")}));const n=Ve("button");return(r,s)=>(X(),ye("div",{class:Oe([A(n).b("group"),A(n).bm("group",t.direction)])},[we(r.$slots,"default")],2))}}),Bb=tR;const Ob=Xn(qT,{ButtonGroup:Bb}),Sk=lo(Bb);function nR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Za={exports:{}},rR=Za.exports,zp;function sR(){return zp||(zp=1,(function(e,t){(function(n,r){e.exports=r()})(rR,(function(){var n=1e3,r=6e4,s=36e5,o="millisecond",a="second",i="minute",l="hour",u="day",c="week",f="month",d="quarter",p="year",h="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|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,b={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(Z){var j=["th","st","nd","rd"],L=Z%100;return"["+Z+(j[(L-20)%10]||j[L]||j[0])+"]"}},E=function(Z,j,L){var x=String(Z);return!x||x.length>=j?Z:""+Array(j+1-x.length).join(L)+Z},w={s:E,z:function(Z){var j=-Z.utcOffset(),L=Math.abs(j),x=Math.floor(L/60),C=L%60;return(j<=0?"+":"-")+E(x,2,"0")+":"+E(C,2,"0")},m:function Z(j,L){if(j.date()<L.date())return-Z(L,j);var x=12*(L.year()-j.year())+(L.month()-j.month()),C=j.clone().add(x,f),H=L-C<0,ne=j.clone().add(x+(H?-1:1),f);return+(-(x+(L-C)/(H?C-ne:ne-C))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:f,y:p,w:c,d:u,D:h,h:l,m:i,s:a,ms:o,Q:d}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},P="en",G={};G[P]=b;var B="$isDayjsObject",O=function(Z){return Z instanceof k||!(!Z||!Z[B])},R=function Z(j,L,x){var C;if(!j)return P;if(typeof j=="string"){var H=j.toLowerCase();G[H]&&(C=H),L&&(G[H]=L,C=H);var ne=j.split("-");if(!C&&ne.length>1)return Z(ne[0])}else{var le=j.name;G[le]=j,C=le}return!x&&C&&(P=C),C||!x&&P},F=function(Z,j){if(O(Z))return Z.clone();var L=typeof j=="object"?j:{};return L.date=Z,L.args=arguments,new k(L)},D=w;D.l=R,D.i=O,D.w=function(Z,j){return F(Z,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var k=(function(){function Z(L){this.$L=R(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[B]=!0}var j=Z.prototype;return j.parse=function(L){this.$d=(function(x){var C=x.date,H=x.utc;if(C===null)return new Date(NaN);if(D.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var ne=C.match(g);if(ne){var le=ne[2]-1||0,ae=(ne[7]||"0").substring(0,3);return H?new Date(Date.UTC(ne[1],le,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ae)):new Date(ne[1],le,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ae)}}return new Date(C)})(L),this.init()},j.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},j.$utils=function(){return D},j.isValid=function(){return this.$d.toString()!==m},j.isSame=function(L,x){var C=F(L);return this.startOf(x)<=C&&C<=this.endOf(x)},j.isAfter=function(L,x){return F(L)<this.startOf(x)},j.isBefore=function(L,x){return this.endOf(x)<F(L)},j.$g=function(L,x,C){return D.u(L)?this[x]:this.set(C,L)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(L,x){var C=this,H=!!D.u(x)||x,ne=D.p(L),le=function(q,ie){var Ee=D.w(C.$u?Date.UTC(C.$y,ie,q):new Date(C.$y,ie,q),C);return H?Ee:Ee.endOf(u)},ae=function(q,ie){return D.w(C.toDate()[q].apply(C.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ie)),C)},Se=this.$W,_e=this.$M,Be=this.$D,He="set"+(this.$u?"UTC":"");switch(ne){case p:return H?le(1,0):le(31,11);case f:return H?le(1,_e):le(0,_e+1);case c:var M=this.$locale().weekStart||0,te=(Se<M?Se+7:Se)-M;return le(H?Be-te:Be+(6-te),_e);case u:case h:return ae(He+"Hours",0);case l:return ae(He+"Minutes",1);case i:return ae(He+"Seconds",2);case a:return ae(He+"Milliseconds",3);default:return this.clone()}},j.endOf=function(L){return this.startOf(L,!1)},j.$set=function(L,x){var C,H=D.p(L),ne="set"+(this.$u?"UTC":""),le=(C={},C[u]=ne+"Date",C[h]=ne+"Date",C[f]=ne+"Month",C[p]=ne+"FullYear",C[l]=ne+"Hours",C[i]=ne+"Minutes",C[a]=ne+"Seconds",C[o]=ne+"Milliseconds",C)[H],ae=H===u?this.$D+(x-this.$W):x;if(H===f||H===p){var Se=this.clone().set(h,1);Se.$d[le](ae),Se.init(),this.$d=Se.set(h,Math.min(this.$D,Se.daysInMonth())).$d}else le&&this.$d[le](ae);return this.init(),this},j.set=function(L,x){return this.clone().$set(L,x)},j.get=function(L){return this[D.p(L)]()},j.add=function(L,x){var C,H=this;L=Number(L);var ne=D.p(x),le=function(_e){var Be=F(H);return D.w(Be.date(Be.date()+Math.round(_e*L)),H)};if(ne===f)return this.set(f,this.$M+L);if(ne===p)return this.set(p,this.$y+L);if(ne===u)return le(1);if(ne===c)return le(7);var ae=(C={},C[i]=r,C[l]=s,C[a]=n,C)[ne]||1,Se=this.$d.getTime()+L*ae;return D.w(Se,this)},j.subtract=function(L,x){return this.add(-1*L,x)},j.format=function(L){var x=this,C=this.$locale();if(!this.isValid())return C.invalidDate||m;var H=L||"YYYY-MM-DDTHH:mm:ssZ",ne=D.z(this),le=this.$H,ae=this.$m,Se=this.$M,_e=C.weekdays,Be=C.months,He=C.meridiem,M=function(ie,Ee,v,_){return ie&&(ie[Ee]||ie(x,H))||v[Ee].slice(0,_)},te=function(ie){return D.s(le%12||12,ie,"0")},q=He||function(ie,Ee,v){var _=ie<12?"AM":"PM";return v?_.toLowerCase():_};return H.replace(y,(function(ie,Ee){return Ee||(function(v){switch(v){case"YY":return String(x.$y).slice(-2);case"YYYY":return D.s(x.$y,4,"0");case"M":return Se+1;case"MM":return D.s(Se+1,2,"0");case"MMM":return M(C.monthsShort,Se,Be,3);case"MMMM":return M(Be,Se);case"D":return x.$D;case"DD":return D.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return M(C.weekdaysMin,x.$W,_e,2);case"ddd":return M(C.weekdaysShort,x.$W,_e,3);case"dddd":return _e[x.$W];case"H":return String(le);case"HH":return D.s(le,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return q(le,ae,!0);case"A":return q(le,ae,!1);case"m":return String(ae);case"mm":return D.s(ae,2,"0");case"s":return String(x.$s);case"ss":return D.s(x.$s,2,"0");case"SSS":return D.s(x.$ms,3,"0");case"Z":return ne}return null})(ie)||ne.replace(":","")}))},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(L,x,C){var H,ne=this,le=D.p(x),ae=F(L),Se=(ae.utcOffset()-this.utcOffset())*r,_e=this-ae,Be=function(){return D.m(ne,ae)};switch(le){case p:H=Be()/12;break;case f:H=Be();break;case d:H=Be()/3;break;case c:H=(_e-Se)/6048e5;break;case u:H=(_e-Se)/864e5;break;case l:H=_e/s;break;case i:H=_e/r;break;case a:H=_e/n;break;default:H=_e}return C?H:D.a(H)},j.daysInMonth=function(){return this.endOf(f).$D},j.$locale=function(){return G[this.$L]},j.locale=function(L,x){if(!L)return this.$L;var C=this.clone(),H=R(L,x,!0);return H&&(C.$L=H),C},j.clone=function(){return D.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},Z})(),U=k.prototype;return F.prototype=U,[["$ms",o],["$s",a],["$m",i],["$H",l],["$W",u],["$M",f],["$y",p],["$D",h]].forEach((function(Z){U[Z[1]]=function(j){return this.$g(j,Z[0],Z[1])}})),F.extend=function(Z,j){return Z.$i||(Z(j,k,F),Z.$i=!0),F},F.locale=R,F.isDayjs=O,F.unix=function(Z){return F(1e3*Z)},F.en=G[P],F.Ls=G,F.p={},F}))})(Za)),Za.exports}var xk=sR();const Nr=new Map;if(ft){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of Nr.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function Jp(e,t){let n=[];return ue(t.arg)?n=t.arg:Fr(t.arg)&&n.push(t.arg),function(r,s){const o=t.instance.popperRef,a=r.target,i=s?.target,l=!t||!t.instance,u=!a||!i,c=e.contains(a)||e.contains(i),f=e===a,d=n.length&&n.some(h=>h?.contains(a))||n.length&&n.includes(i),p=o&&(o.contains(a)||o.contains(i));l||u||c||f||d||p||t.value(r,s)}}const oR={beforeMount(e,t){Nr.has(e)||Nr.set(e,[]),Nr.get(e).push({documentHandler:Jp(e,t),bindingFn:t.value})},updated(e,t){Nr.has(e)||Nr.set(e,[]);const n=Nr.get(e),r=n.findIndex(o=>o.bindingFn===t.oldValue),s={documentHandler:Jp(e,t),bindingFn:t.value};r>=0?n.splice(r,1,s):n.push(s)},unmounted(e){Nr.delete(e)}};var aR=de({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=Ve("collapse-transition"),n=s=>{s.style.maxHeight="",s.style.overflow=s.dataset.oldOverflow,s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom},r={beforeEnter(s){s.dataset||(s.dataset={}),s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.style.height&&(s.dataset.elExistsHeight=s.style.height),s.style.maxHeight=0,s.style.paddingTop=0,s.style.paddingBottom=0},enter(s){requestAnimationFrame(()=>{s.dataset.oldOverflow=s.style.overflow,s.dataset.elExistsHeight?s.style.maxHeight=s.dataset.elExistsHeight:s.scrollHeight!==0?s.style.maxHeight=`${s.scrollHeight}px`:s.style.maxHeight=0,s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom,s.style.overflow="hidden"})},afterEnter(s){s.style.maxHeight="",s.style.overflow=s.dataset.oldOverflow},enterCancelled(s){n(s)},beforeLeave(s){s.dataset||(s.dataset={}),s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.dataset.oldOverflow=s.style.overflow,s.style.maxHeight=`${s.scrollHeight}px`,s.style.overflow="hidden"},leave(s){s.scrollHeight!==0&&(s.style.maxHeight=0,s.style.paddingTop=0,s.style.paddingBottom=0)},afterLeave(s){n(s)},leaveCancelled(s){n(s)}};return(s,o)=>(X(),xe(so,Vt({name:A(t).b()},gw(r)),{default:he(()=>[we(s.$slots,"default")]),_:3},16,["name"]))}}),iR=aR;const lR=Xn(iR),kb=(...e)=>t=>{e.forEach(n=>{n.value=t})},Ka=Ge({trigger:{...Dr.trigger,type:ce([String,Array])},triggerKeys:{type:ce(Array),default:()=>[We.enter,We.numpadEnter,We.space,We.down]},virtualTriggering:Dr.virtualTriggering,virtualRef:Dr.virtualRef,effect:{...It.effect,default:"light"},type:{type:ce(String)},placement:{type:ce(String),default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:ce([Number,String]),default:0},maxHeight:{type:ce([Number,String]),default:""},popperClass:It.popperClass,popperStyle:It.popperStyle,disabled:Boolean,role:{type:String,values:bb,default:"menu"},buttonProps:{type:ce(Object)},teleported:It.teleported,appendTo:It.appendTo,persistent:{type:Boolean,default:!0}}),Fb=Ge({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:cr}}),uR=Ge({onKeydown:{type:ce(Function)}}),ol=Symbol("elDropdown"),Mb="elDropdown";var cR=de({inheritAttrs:!1});function fR(e,t,n,r,s,o){return we(e.$slots,"default")}var dR=zn(cR,[["render",fR]]),pR=de({name:"ElCollectionItem",inheritAttrs:!1});function hR(e,t,n,r,s,o){return we(e.$slots,"default")}var mR=zn(pR,[["render",hR]]);const Lb="data-el-collection-item",gR=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),s=Symbol(n);return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:s,ElCollection:Object.assign({},dR,{name:t,setup(){const o=J(),a=new Map;nt(r,{itemMap:a,getItems:(()=>{const l=A(o);if(!l)return[];const u=Array.from(l.querySelectorAll(`[${Lb}]`));return[...a.values()].sort((c,f)=>u.indexOf(c.ref)-u.indexOf(f.ref))}),collectionRef:o})}}),ElCollectionItem:Object.assign({},mR,{name:n,setup(o,{attrs:a}){const i=J(),l=be(r,void 0);nt(s,{collectionItemRef:i}),it(()=>{const u=A(i);u&&l.itemMap.set(u,{ref:u,...a})}),vt(()=>{const u=A(i);l.itemMap.delete(u)})}})}},bR=Ge({style:{type:ce([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ce(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ce(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:vR,ElCollectionItem:yR,COLLECTION_INJECTION_KEY:$b,COLLECTION_ITEM_INJECTION_KEY:_R}=gR("RovingFocusGroup"),ff=Symbol("elRovingFocusGroup"),Wb=Symbol("elRovingFocusGroupItem"),wR={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},ER=(e,t)=>e,AR=(e,t,n)=>{const r=ER(Hn(e));return wR[r]},SR=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),Qp=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},qp="currentTabIdChange",eh="rovingFocusGroup.entryFocus",xR={bubbles:!1,cancelable:!0};var NR=de({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:bR,emits:[qp,"entryFocus"],setup(e,{emit:t}){const n=J((e.currentTabId||e.defaultCurrentTabId)??null),r=J(!1),s=J(!1),o=J(),{getItems:a}=be($b,void 0),i=T(()=>[{outline:"none"},e.style]),l=m=>{t(qp,m)},u=()=>{r.value=!0},c=ct(m=>{e.onMousedown?.(m)},()=>{s.value=!0}),f=ct(m=>{e.onFocus?.(m)},m=>{const g=!A(s),{target:y,currentTarget:b}=m;if(y===b&&g&&!A(r)){const E=new Event(eh,xR);if(b?.dispatchEvent(E),!E.defaultPrevented){const w=a().filter(P=>P.focusable);Qp([w.find(P=>P.active),w.find(P=>P.id===A(n)),...w].filter(Boolean).map(P=>P.ref))}}s.value=!1}),d=ct(m=>{e.onBlur?.(m)},()=>{r.value=!1}),p=(...m)=>{t("entryFocus",...m)},h=m=>{const g=AR(m);if(g){m.preventDefault();let y=a().filter(b=>b.focusable).map(b=>b.ref);switch(g){case"last":y.reverse();break;case"prev":case"next":{g==="prev"&&y.reverse();const b=y.indexOf(m.currentTarget);y=e.loop?SR(y,b+1):y.slice(b+1);break}}fn(()=>{Qp(y)})}};nt(ff,{currentTabbedId:Ls(n),loop:Et(e,"loop"),tabIndex:T(()=>A(r)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:i,orientation:Et(e,"orientation"),dir:Et(e,"dir"),onItemFocus:l,onItemShiftTab:u,onBlur:d,onFocus:f,onMousedown:c,onKeydown:h}),Ie(()=>e.currentTabId,m=>{n.value=m??null}),Wr(o,eh,p)}});function IR(e,t,n,r,s,o){return we(e.$slots,"default")}var CR=zn(NR,[["render",IR]]),TR=de({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:vR,ElRovingFocusGroupImpl:CR}});function RR(e,t,n,r,s,o){const a=Lt("el-roving-focus-group-impl"),i=Lt("el-focus-group-collection");return X(),xe(i,null,{default:he(()=>[Ae(a,m_(Mg(e.$attrs)),{default:he(()=>[we(e.$slots,"default")]),_:3},16)]),_:3})}var PR=zn(TR,[["render",RR]]),BR=de({components:{ElRovingFocusCollectionItem:yR},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:r,onItemShiftTab:s,onKeydown:o}=be(ff,void 0),a=rl(),i=J(),l=ct(d=>{t("mousedown",d)},d=>{e.focusable?r(A(a)):d.preventDefault()}),u=ct(d=>{t("focus",d)},()=>{r(A(a))}),c=ct(d=>{t("keydown",d)},d=>{const{shiftKey:p,target:h,currentTarget:m}=d;if(Hn(d)===We.tab&&p){s();return}h===m&&o(d)}),f=T(()=>n.value===A(a));return nt(Wb,{rovingFocusGroupItemRef:i,tabIndex:T(()=>A(f)?0:-1),handleMousedown:l,handleFocus:u,handleKeydown:c}),{id:a,handleKeydown:c,handleFocus:u,handleMousedown:l}}});function OR(e,t,n,r,s,o){const a=Lt("el-roving-focus-collection-item");return X(),xe(a,{id:e.id,focusable:e.focusable,active:e.active},{default:he(()=>[we(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var kR=zn(BR,[["render",OR]]),FR=PR;const{ButtonGroup:MR}=Ob;var LR=de({name:"ElDropdown",components:{ElButton:Ob,ElButtonGroup:MR,ElScrollbar:NT,ElTooltip:wa,ElRovingFocusGroup:FR,ElOnlyChild:wb,ElIcon:Vr,ArrowDown:db},props:Ka,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Je(),r=Ve("dropdown"),{t:s}=V0(),o=J(),a=J(),i=J(),l=J(),u=J(null),c=J(null),f=J(!1),d=T(()=>({maxHeight:ps(e.maxHeight)})),p=T(()=>[r.m(w.value)]),h=T(()=>QN(e.trigger)),m=rl().value,g=T(()=>e.id||m);function y(){i.value?.onClose(void 0,0)}function b(){i.value?.onClose()}function E(){i.value?.onOpen()}const w=xb();function P(...U){t("command",...U)}function G(){}function B(){const U=A(l);h.value.includes("hover")&&U?.focus({preventScroll:!0}),c.value=null}function O(U){c.value=U}function R(){t("visible-change",!0)}function F(U){f.value=U?.type==="keydown",l.value?.focus()}function D(){t("visible-change",!1)}return nt(ol,{contentRef:l,role:T(()=>e.role),triggerId:g,isUsingKeyboard:f,onItemEnter:G,onItemLeave:B,handleClose:b}),nt(Mb,{instance:n,dropdownSize:w,handleClick:y,commandHandler:P,trigger:Et(e,"trigger"),hideOnClick:Et(e,"hideOnClick")}),{t:s,ns:r,scrollbar:u,wrapStyle:d,dropdownTriggerKls:p,dropdownSize:w,triggerId:g,currentTabId:c,handleCurrentTabIdChange:O,handlerMainButtonClick:U=>{t("click",U)},handleClose:b,handleOpen:E,handleBeforeShowTooltip:R,handleShowTooltip:F,handleBeforeHideTooltip:D,popperRef:i,contentRef:l,triggeringElementRef:o,referenceElementRef:a}}});function $R(e,t,n,r,s,o){const a=Lt("el-roving-focus-group"),i=Lt("el-scrollbar"),l=Lt("el-only-child"),u=Lt("el-tooltip"),c=Lt("el-button"),f=Lt("arrow-down"),d=Lt("el-icon"),p=Lt("el-button-group");return X(),ye("div",{class:Oe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Ae(u,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},mg({content:he(()=>[Ae(i,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:he(()=>[Ae(a,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:he(()=>[we(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:he(()=>[Ae(l,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:he(()=>[we(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(X(),xe(p,{key:0},{default:he(()=>[Ae(c,Vt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:he(()=>[we(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),Ae(c,Vt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:he(()=>[Ae(d,{class:Oe(e.ns.e("icon"))},{default:he(()=>[Ae(f)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ze("v-if",!0)],2)}var WR=zn(LR,[["render",$R]]),DR=de({name:"DropdownItemImpl",components:{ElIcon:Vr},props:Fb,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ve("dropdown"),{role:r}=be(ol,void 0),{collectionItemRef:s}=be(_R,void 0),{rovingFocusGroupItemRef:o,tabIndex:a,handleFocus:i,handleKeydown:l,handleMousedown:u}=be(Wb,void 0),c=kb(s,o),f=T(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),d=ct(p=>{const h=Hn(p);if([We.enter,We.numpadEnter,We.space].includes(h))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},l);return{ns:n,itemRef:c,dataset:{[Lb]:""},role:f,tabIndex:a,handleFocus:i,handleKeydown:d,handleMousedown:u}}});const VR=["aria-disabled","tabindex","role"];function GR(e,t,n,r,s,o){const a=Lt("el-icon");return X(),ye(Xe,null,[e.divided?(X(),ye("li",{key:0,role:"separator",class:Oe(e.ns.bem("menu","item","divided"))},null,2)):ze("v-if",!0),fe("li",Vt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=i=>e.$emit("clickimpl",i)),onFocus:t[1]||(t[1]=(...i)=>e.handleFocus&&e.handleFocus(...i)),onKeydown:t[2]||(t[2]=ea((...i)=>e.handleKeydown&&e.handleKeydown(...i),["self"])),onMousedown:t[3]||(t[3]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onPointermove:t[4]||(t[4]=i=>e.$emit("pointermove",i)),onPointerleave:t[5]||(t[5]=i=>e.$emit("pointerleave",i))}),[e.icon||e.$slots.icon?(X(),xe(a,{key:0},{default:he(()=>[we(e.$slots,"icon",{},()=>[(X(),xe(as(e.icon)))])]),_:3})):ze("v-if",!0),we(e.$slots,"default")],16,VR)],64)}var YR=zn(DR,[["render",GR]]);const Db=()=>{const e=be(Mb,{});return{elDropdown:e,_elDropdownSize:T(()=>e?.dropdownSize)}};var UR=de({name:"ElDropdownItem",components:{ElRovingFocusItem:kR,ElDropdownItemImpl:YR},inheritAttrs:!1,props:Fb,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=Db(),s=Je(),{onItemEnter:o,onItemLeave:a}=be(ol,void 0),i=ct(u=>(t("pointermove",u),u.defaultPrevented),yp(u=>{if(e.disabled){a(u);return}const c=u.currentTarget;c===document.activeElement||c.contains(document.activeElement)||(o(u),u.defaultPrevented||c?.focus({preventScroll:!0}))})),l=ct(u=>(t("pointerleave",u),u.defaultPrevented),yp(a));return{handleClick:ct(u=>{if(!e.disabled)return t("click",u),u.type!=="keydown"&&u.defaultPrevented},u=>{if(e.disabled){u.stopImmediatePropagation();return}r?.hideOnClick?.value&&r.handleClick?.(),r.commandHandler?.(e.command,s,u)}),handlePointerMove:i,handlePointerLeave:l,propsAndAttrs:T(()=>({...e,...n}))}}});function jR(e,t,n,r,s,o){const a=Lt("el-dropdown-item-impl"),i=Lt("el-roving-focus-item");return X(),xe(i,{focusable:!e.disabled},{default:he(()=>[Ae(a,Vt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),mg({default:he(()=>[we(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:he(()=>[we(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var Vb=zn(UR,[["render",jR]]),ZR=de({name:"ElDropdownMenu",props:uR,setup(e){const t=Ve("dropdown"),{_elDropdownSize:n}=Db(),r=n.value,{contentRef:s,role:o,triggerId:a,isUsingKeyboard:i,handleClose:l}=be(ol,void 0),{rovingFocusGroupRef:u,rovingFocusGroupRootStyle:c,onBlur:f,onFocus:d,onKeydown:p,onMousedown:h}=be(ff,void 0),{collectionRef:m}=be($b,void 0),g=T(()=>[t.b("menu"),t.bm("menu",r?.value)]),y=kb(s,u,m),b=ct(w=>{e.onKeydown?.(w)},w=>{const{currentTarget:P,target:G}=w,B=Hn(w);if(P.contains(G),We.tab===B)return l();p(w)});function E(w){i.value&&d(w)}return{size:r,rovingFocusGroupRootStyle:c,dropdownKls:g,role:o,triggerId:a,dropdownListWrapperRef:y,handleKeydown:b,onBlur:f,handleFocus:E,onMousedown:h}}});const KR=["role","aria-labelledby"];function HR(e,t,n,r,s,o){return X(),ye("ul",{ref:e.dropdownListWrapperRef,class:Oe(e.dropdownKls),style:Sn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...a)=>e.handleFocus&&e.handleFocus(...a)),onFocusout:t[1]||(t[1]=(...a)=>e.onBlur&&e.onBlur(...a)),onKeydown:t[2]||(t[2]=ea((...a)=>e.handleKeydown&&e.handleKeydown(...a),["self"])),onMousedown:t[3]||(t[3]=ea((...a)=>e.onMousedown&&e.onMousedown(...a),["self"]))},[we(e.$slots,"default")],46,KR)}var Gb=zn(ZR,[["render",HR]]);const XR=Xn(WR,{DropdownItem:Vb,DropdownMenu:Gb}),zR=lo(Vb),JR=lo(Gb),df="rootMenu",Ai="subMenu:";function Yb(e,t){const n=T(()=>{let r=e.parent;const s=[t.value];for(;r.type.name!=="ElMenu";)r.props.index&&s.unshift(r.props.index),r=r.parent;return s});return{parentMenu:T(()=>{let r=e.parent;for(;r&&!["ElMenu","ElSubMenu"].includes(r.type.name);)r=r.parent;return r}),indexPath:n}}function QR(e){return T(()=>{const t=e.backgroundColor;return t?new et(t).shade(20).toString():""})}const Ub=(e,t)=>{const n=Ve("menu");return T(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":QR(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},qR=Ge({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ce([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:cr},expandOpenIcon:{type:cr},collapseCloseIcon:{type:cr},collapseOpenIcon:{type:cr}}),Ol="ElSubMenu";var pf=de({name:Ol,props:qR,setup(e,{slots:t,expose:n}){const r=Je(),{indexPath:s,parentMenu:o}=Yb(r,T(()=>e.index)),a=Ve("menu"),i=Ve("sub-menu"),l=be(df);l||oa(Ol,"can not inject root menu");const u=be(`${Ai}${o.value.uid}`);u||oa(Ol,"can not inject sub menu");const c=J({}),f=J({});let d;const p=J(!1),h=J(),m=J(),g=T(()=>u.level===0),y=T(()=>O.value==="horizontal"&&g.value?"bottom-start":"right-start"),b=T(()=>O.value==="horizontal"&&g.value||O.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?G.value?e.expandOpenIcon:e.expandCloseIcon:db:e.collapseCloseIcon&&e.collapseOpenIcon?G.value?e.collapseOpenIcon:e.collapseCloseIcon:z5),E=T(()=>{const ae=e.teleported;return F0(ae)?g.value:ae}),w=T(()=>l.props.collapse?`${a.namespace.value}-zoom-in-left`:`${a.namespace.value}-zoom-in-top`),P=T(()=>O.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),G=T(()=>l.openedMenus.includes(e.index)),B=T(()=>[...Object.values(c.value),...Object.values(f.value)].some(({active:ae})=>ae)),O=T(()=>l.props.mode),R=T(()=>l.props.persistent),F=In({index:e.index,indexPath:s,active:B}),D=Ub(l.props,u.level+1),k=T(()=>e.popperOffset??l.props.popperOffset),U=T(()=>e.popperClass??l.props.popperClass),Z=T(()=>e.popperStyle??l.props.popperStyle),j=T(()=>e.showTimeout??l.props.showTimeout),L=T(()=>e.hideTimeout??l.props.hideTimeout),x=()=>m.value?.popperRef?.popperInstanceRef?.destroy(),C=ae=>{ae||x()},H=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:s.value,active:B.value})},ne=(ae,Se=j.value)=>{if(ae.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,d?.(),{stop:d}=Su(()=>{l.openMenu(e.index,s.value)},Se),E.value&&o.value.vnode.el?.dispatchEvent(new MouseEvent("mouseenter")),ae.type==="mouseenter"&&ae.target&&fn(()=>{tl(ae.target,{preventScroll:!0})})}},le=(ae=!1)=>{if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){u.mouseInChild.value=!1;return}d?.(),u.mouseInChild.value=!1,{stop:d}=Su(()=>!p.value&&l.closeMenu(e.index,s.value),L.value),E.value&&ae&&u.handleMouseleave?.(!0)};Ie(()=>l.props.collapse,ae=>C(!!ae));{const ae=_e=>{f.value[_e.index]=_e},Se=_e=>{delete f.value[_e.index]};nt(`${Ai}${r.uid}`,{addSubMenu:ae,removeSubMenu:Se,handleMouseleave:le,mouseInChild:p,level:u.level+1})}return n({opened:G}),it(()=>{l.addSubMenu(F),u.addSubMenu(F)}),vt(()=>{u.removeSubMenu(F),l.removeSubMenu(F)}),()=>{const ae=[t.title?.(),ut(Vr,{class:i.e("icon-arrow"),style:{transform:G.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ne(b.value)?ut(r.appContext.components[b.value]):ut(b.value)})],Se=l.isMenuPopup?ut(wa,{ref:m,visible:G.value,effect:"light",pure:!0,offset:k.value,showArrow:!1,persistent:R.value,popperClass:U.value,popperStyle:Z.value,placement:y.value,teleported:E.value,fallbackPlacements:P.value,transition:w.value,gpuAcceleration:!1},{content:()=>ut("div",{class:[a.m(O.value),a.m("popup-container"),U.value],onMouseenter:_e=>ne(_e,100),onMouseleave:()=>le(!0),onFocus:_e=>ne(_e,100)},[ut("ul",{class:[a.b(),a.m("popup"),a.m(`popup-${y.value}`)],style:D.value},[t.default?.()])]),default:()=>ut("div",{class:i.e("title"),onClick:H},ae)}):ut(Xe,{},[ut("div",{class:i.e("title"),ref:h,onClick:H},ae),ut(lR,{},{default:()=>no(ut("ul",{role:"menu",class:[a.b(),a.m("inline")],style:D.value},[t.default?.()]),[[Ui,G.value]])})]);return ut("li",{class:[i.b(),i.is("active",B.value),i.is("opened",G.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:G.value,onMouseenter:ne,onMouseleave:()=>le(),onFocus:ne},[Se])}}}),e8=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(t=>{t.addEventListener("keydown",n=>{const r=Hn(n);let s=!1;switch(r){case We.down:this.gotoSubIndex(this.subIndex+1),s=!0;break;case We.up:this.gotoSubIndex(this.subIndex-1),s=!0;break;case We.tab:Ua(e,"mouseleave");break;case We.enter:case We.numpadEnter:case We.space:s=!0,n.currentTarget.click();break}return s&&(n.preventDefault(),n.stopPropagation()),!1})})}},t8=class{constructor(e,t){this.domNode=e,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new e8(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{const t=Hn(e);let n=!1;switch(t){case We.down:Ua(e.currentTarget,"mouseenter"),this.submenu?.gotoSubIndex(0),n=!0;break;case We.up:Ua(e.currentTarget,"mouseenter"),this.submenu?.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break;case We.tab:Ua(e.currentTarget,"mouseleave");break;case We.enter:case We.numpadEnter:case We.space:n=!0,e.currentTarget.click();break}n&&e.preventDefault()})}},n8=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new t8(n,e)})}},r8=de({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=Ve("menu"),n={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,s){Ca(r,`${t.namespace.value}-opacity-transition`),r.style.opacity="1",s()},onAfterEnter(r){Nl(r,`${t.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),yC(r,t.m("collapse"))?(Nl(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Ca(r,t.m("collapse"))):(Ca(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Nl(r,t.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){Ca(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,s)=>(X(),xe(so,Vt({mode:"out-in"},n),{default:he(()=>[we(r.$slots,"default")]),_:3},16))}}),s8=r8;const o8=Ge({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ce(Array),default:()=>Cb([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:cr,default:()=>u6},popperEffect:{type:ce(String),default:"dark"},popperClass:String,popperStyle:{type:ce([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),kl=e=>ue(e)&&e.every(t=>Ne(t)),a8={close:(e,t)=>Ne(e)&&kl(t),open:(e,t)=>Ne(e)&&kl(t),select:(e,t,n,r)=>Ne(e)&&kl(t)&&Ce(n)&&(F0(r)||r instanceof Promise)},th=64;var i8=de({name:"ElMenu",props:o8,emits:a8,setup(e,{emit:t,slots:n,expose:r}){const s=Je(),o=s.appContext.config.globalProperties.$router,a=J(),i=J(),l=Ve("menu"),u=Ve("sub-menu");let c=th;const f=J(-1),d=J(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=J(e.defaultActive),h=J({}),m=J({}),g=T(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const x=p.value&&h.value[p.value];!x||e.mode==="horizontal"||e.collapse||x.indexPath.forEach(C=>{const H=m.value[C];H&&b(C,H.indexPath)})},b=(x,C)=>{d.value.includes(x)||(e.uniqueOpened&&(d.value=d.value.filter(H=>C.includes(H))),d.value.push(x),t("open",x,C))},E=x=>{const C=d.value.indexOf(x);C!==-1&&d.value.splice(C,1)},w=(x,C)=>{E(x),t("close",x,C)},P=({index:x,indexPath:C})=>{d.value.includes(x)?w(x,C):b(x,C)},G=x=>{(e.mode==="horizontal"||e.collapse)&&(d.value=[]);const{index:C,indexPath:H}=x;if(!(Us(C)||Us(H)))if(e.router&&o){const ne=x.route||C,le=o.push(ne).then(ae=>(ae||(p.value=C),ae));t("select",C,H,{index:C,indexPath:H,route:ne},le)}else p.value=C,t("select",C,H,{index:C,indexPath:H})},B=x=>{const C=h.value;p.value=(C[x]||p.value&&C[p.value]||C[e.defaultActive])?.index??x},O=x=>{const C=getComputedStyle(x),H=Number.parseInt(C.marginLeft,10),ne=Number.parseInt(C.marginRight,10);return x.offsetWidth+H+ne||0},R=()=>{if(!a.value)return-1;const x=Array.from(a.value.childNodes).filter(_e=>_e.nodeName!=="#comment"&&(_e.nodeName!=="#text"||_e.nodeValue)),C=getComputedStyle(a.value),H=Number.parseInt(C.paddingLeft,10),ne=Number.parseInt(C.paddingRight,10),le=a.value.clientWidth-H-ne;let ae=0,Se=0;return x.forEach((_e,Be)=>{ae+=O(_e),ae<=le-c&&(Se=Be+1)}),Se===x.length?-1:Se},F=x=>m.value[x].indexPath,D=(x,C=33.34)=>{let H;return()=>{H&&clearTimeout(H),H=setTimeout(()=>{x()},C)}};let k=!0;const U=()=>{const x=_n(i);if(x&&(c=O(x)||th),f.value===R())return;const C=()=>{f.value=-1,fn(()=>{f.value=R()})};k?C():D(C)(),k=!1};Ie(()=>e.defaultActive,x=>{h.value[x]||(p.value=""),B(x)}),Ie(()=>e.collapse,x=>{x&&(d.value=[])}),Ie(h.value,y);let Z;Qm(()=>{e.mode==="horizontal"&&e.ellipsis?Z=aa(a,U).stop:Z?.()});const j=J(!1);{const x=le=>{m.value[le.index]=le},C=le=>{delete m.value[le.index]};nt(df,In({props:e,openedMenus:d,items:h,subMenus:m,activeIndex:p,isMenuPopup:g,addMenuItem:le=>{h.value[le.index]=le},removeMenuItem:le=>{delete h.value[le.index]},addSubMenu:x,removeSubMenu:C,openMenu:b,closeMenu:w,handleMenuItemClick:G,handleSubMenuClick:P})),nt(`${Ai}${s.uid}`,{addSubMenu:x,removeSubMenu:C,mouseInChild:j,level:0})}it(()=>{e.mode==="horizontal"&&new n8(s.vnode.el,l.namespace.value)}),r({open:C=>{const{indexPath:H}=m.value[C];H.forEach(ne=>b(ne,H))},close:E,updateActiveIndex:B,handleResize:U});const L=Ub(e,0);return()=>{let x=n.default?.()??[];const C=[];if(e.mode==="horizontal"&&a.value){const le=No(x).filter(_e=>_e?.shapeFlag!==8),ae=f.value===-1?le:le.slice(0,f.value),Se=f.value===-1?[]:le.slice(f.value);Se?.length&&e.ellipsis&&(x=ae,C.push(ut(pf,{ref:i,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>ut(Vr,{class:u.e("icon-more")},{default:()=>ut(e.ellipsisIcon)}),default:()=>Se})))}const H=e.closeOnClickOutside?[[oR,()=>{d.value.length&&(j.value||(d.value.forEach(le=>t("close",le,F(le))),d.value=[]))}]]:[],ne=no(ut("ul",{key:String(e.collapse),role:"menubar",ref:a,style:L.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...x,...C]),H);return e.collapseTransition&&e.mode==="vertical"?ut(s8,()=>ne):ne}}});const l8=Ge({index:{type:String,required:!0},route:{type:ce([String,Object])},disabled:Boolean}),u8={click:e=>Ne(e.index)&&ue(e.indexPath)},c8={title:String},Fl="ElMenuItem";var f8=de({name:Fl,__name:"menu-item",props:l8,emits:u8,setup(e,{expose:t,emit:n}){const r=e,s=n,o=Je(),a=be(df),i=Ve("menu"),l=Ve("menu-item");a||oa(Fl,"can not inject root menu");const{parentMenu:u,indexPath:c}=Yb(o,Et(r,"index")),f=be(`${Ai}${u.value.uid}`);f||oa(Fl,"can not inject sub menu");const d=T(()=>r.index===a.activeIndex),p=In({index:r.index,indexPath:c,active:d}),h=()=>{r.disabled||(a.handleMenuItemClick({index:r.index,indexPath:c.value,route:r.route}),s("click",p))};return it(()=>{f.addSubMenu(p),a.addMenuItem(p)}),vt(()=>{f.removeSubMenu(p),a.removeMenuItem(p)}),t({parentMenu:u,rootMenu:a,active:d,nsMenu:i,nsMenuItem:l,handleClick:h}),(m,g)=>(X(),ye("li",{class:Oe([A(l).b(),A(l).is("active",d.value),A(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:h},[A(u).type.name==="ElMenu"&&A(a).props.collapse&&m.$slots.title?(X(),xe(A(wa),{key:0,effect:A(a).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":A(a).props.popperClass,"popper-style":A(a).props.popperStyle,persistent:A(a).props.persistent,"focus-on-target":""},{content:he(()=>[we(m.$slots,"title")]),default:he(()=>[fe("div",{class:Oe(A(i).be("tooltip","trigger"))},[we(m.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(X(),ye(Xe,{key:1},[we(m.$slots,"default"),we(m.$slots,"title")],64))],2))}}),jb=f8,d8=de({name:"ElMenuItemGroup",__name:"menu-item-group",props:c8,setup(e){const t=Ve("menu-item-group");return(n,r)=>(X(),ye("li",{class:Oe(A(t).b())},[fe("div",{class:Oe(A(t).e("title"))},[n.$slots.title?we(n.$slots,"title",{key:1}):(X(),ye(Xe,{key:0},[Yn($t(e.title),1)],64))],2),fe("ul",null,[we(n.$slots,"default")])],2))}}),Zb=d8;const p8=Xn(i8,{MenuItem:jb,MenuItemGroup:Zb,SubMenu:pf}),Kb=lo(jb);lo(Zb);const h8=lo(pf),Hb=["primary","success","info","warning","error"],Xb=["top","top-left","top-right","bottom","bottom-left","bottom-right"],xt=Cb({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:ft?document.body:void 0}),m8=Ge({customClass:{type:String,default:xt.customClass},dangerouslyUseHTMLString:{type:Boolean,default:xt.dangerouslyUseHTMLString},duration:{type:Number,default:xt.duration},icon:{type:cr,default:xt.icon},id:{type:String,default:xt.id},message:{type:ce([String,Object,Function]),default:xt.message},onClose:{type:ce(Function),default:xt.onClose},showClose:{type:Boolean,default:xt.showClose},type:{type:String,values:Hb,default:xt.type},plain:{type:Boolean,default:xt.plain},offset:{type:Number,default:xt.offset},placement:{type:String,values:Xb,default:xt.placement},zIndex:{type:Number,default:xt.zIndex},grouping:{type:Boolean,default:xt.grouping},repeatNum:{type:Number,default:xt.repeatNum}}),g8={destroy:()=>!0},An=Mi({}),b8=e=>(An[e]||(An[e]=Mi([])),An[e]),v8=(e,t)=>{const n=An[t]||[],r=n.findIndex(a=>a.id===e),s=n[r];let o;return r>0&&(o=n[r-1]),{current:s,prev:o}},y8=(e,t)=>{const{prev:n}=v8(e,t);return n?n.vm.exposed.bottom.value:0},_8=(e,t,n)=>(An[n]||[]).findIndex(r=>r.id===e)>0?16:t,w8=["id"],E8=["innerHTML"];var A8=de({name:"ElMessage",__name:"message",props:m8,emits:g8,setup(e,{expose:t,emit:n}){const{Close:r}=m6,s=e,o=n,a=J(!1),{ns:i,zIndex:l}=kT("message"),{currentZIndex:u,nextZIndex:c}=l,f=J(),d=J(!1),p=J(0);let h;const m=T(()=>s.type?s.type==="error"?"danger":s.type:"info"),g=T(()=>{const U=s.type;return{[i.bm("icon",U)]:U&&kp[U]}}),y=T(()=>s.icon||kp[s.type]||""),b=T(()=>s.placement||"top"),E=T(()=>y8(s.id,b.value)),w=T(()=>Math.max(_8(s.id,s.offset,b.value)+E.value,s.offset)),P=T(()=>p.value+w.value),G=T(()=>b.value.includes("left")?i.is("left"):b.value.includes("right")?i.is("right"):i.is("center")),B=T(()=>b.value.startsWith("top")?"top":"bottom"),O=T(()=>({[B.value]:`${w.value}px`,zIndex:u.value}));function R(){s.duration!==0&&({stop:h}=Su(()=>{D()},s.duration))}function F(){h?.()}function D(){d.value=!1,fn(()=>{a.value||(s.onClose?.(),o("destroy"))})}function k(U){Hn(U)===We.esc&&D()}return it(()=>{R(),c(),d.value=!0}),Ie(()=>s.repeatNum,()=>{F(),R()}),Wr(document,"keydown",k),aa(f,()=>{p.value=f.value.getBoundingClientRect().height}),t({visible:d,bottom:P,close:D}),(U,Z)=>(X(),xe(so,{name:A(i).b("fade"),onBeforeEnter:Z[0]||(Z[0]=j=>a.value=!0),onBeforeLeave:e.onClose,onAfterLeave:Z[1]||(Z[1]=j=>U.$emit("destroy")),persisted:""},{default:he(()=>[no(fe("div",{id:e.id,ref_key:"messageRef",ref:f,class:Oe([A(i).b(),{[A(i).m(e.type)]:e.type},A(i).is("closable",e.showClose),A(i).is("plain",e.plain),A(i).is("bottom",B.value==="bottom"),G.value,e.customClass]),style:Sn(O.value),role:"alert",onMouseenter:F,onMouseleave:R},[e.repeatNum>1?(X(),xe(A(RT),{key:0,value:e.repeatNum,type:m.value,class:Oe(A(i).e("badge"))},null,8,["value","type","class"])):ze("v-if",!0),y.value?(X(),xe(A(Vr),{key:1,class:Oe([A(i).e("icon"),g.value])},{default:he(()=>[(X(),xe(as(y.value)))]),_:1},8,["class"])):ze("v-if",!0),!e.dangerouslyUseHTMLString||U.$slots.default?(X(),ye("p",{key:2,class:Oe(A(i).e("content"))},[we(U.$slots,"default",{},()=>[Yn($t(e.message),1)])],2)):(X(),ye(Xe,{key:3},[ze(" Caution here, message could've been compromised, never use user's input as message "),fe("p",{class:Oe(A(i).e("content")),innerHTML:e.message},null,10,E8)],2112)),e.showClose?(X(),xe(A(Vr),{key:4,class:Oe(A(i).e("closeBtn")),onClick:ea(D,["stop"])},{default:he(()=>[Ae(A(r))]),_:1},8,["class"])):ze("v-if",!0)],46,w8),[[Ui,d.value]])]),_:3},8,["name","onBeforeLeave"]))}}),S8=A8;let x8=1;const N8=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ne(e.appendTo)){let t=document.querySelector(e.appendTo);Fr(t)||(dn("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},I8=e=>{!e.placement&&Ne(Ot.placement)&&Ot.placement&&(e.placement=Ot.placement),e.placement||(e.placement="top"),Xb.includes(e.placement)||(dn("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},zb=e=>{const t=!e||Ne(e)||En(e)||me(e)?{message:e}:e,n={...xt,...t};return N8(n),I8(n),ls(Ot.grouping)&&!n.grouping&&(n.grouping=Ot.grouping),Mt(Ot.duration)&&n.duration===3e3&&(n.duration=Ot.duration),Mt(Ot.offset)&&n.offset===16&&(n.offset=Ot.offset),ls(Ot.showClose)&&!n.showClose&&(n.showClose=Ot.showClose),ls(Ot.plain)&&!n.plain&&(n.plain=Ot.plain),n},C8=e=>{const t=An[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:r}=e;r.close()},T8=({appendTo:e,...t},n)=>{const r=`message_${x8++}`,s=t.onClose,o=document.createElement("div"),a={...t,id:r,onClose:()=>{s?.(),C8(u)},onDestroy:()=>{gd(null,o)}},i=Ae(S8,a,me(a.message)||En(a.message)?{default:me(a.message)?a.message:()=>a.message}:null);i.appContext=n||ms._context,gd(i,o),e.appendChild(o.firstElementChild);const l=i.component,u={id:r,vnode:i,vm:l,handler:{close:()=>{l.exposed.close()}},props:i.component.props};return u},ms=(e={},t)=>{if(!ft)return{close:()=>{}};const n=zb(e),r=b8(n.placement||"top");if(n.grouping&&r.length){const o=r.find(({vnode:a})=>a.props?.message===n.message);if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(Mt(Ot.max)&&r.length>=Ot.max)return{close:()=>{}};const s=T8(n,t);return r.push(s),s.handler};Hb.forEach(e=>{ms[e]=(t={},n)=>ms({...zb(t),type:e},n)});function R8(e){for(const t in An)if(Pe(An,t)){const n=[...An[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function P8(e){An[e]&&[...An[e]].forEach(t=>t.handler.close())}ms.closeAll=R8;ms.closeAllByPlacement=P8;ms._context=null;const B8=Z5(ms,"$message"),O8=Ge({trigger:Dr.trigger,triggerKeys:Dr.triggerKeys,placement:Ka.placement,disabled:Dr.disabled,visible:It.visible,transition:It.transition,popperOptions:Ka.popperOptions,tabindex:Ka.tabindex,content:It.content,popperStyle:It.popperStyle,popperClass:It.popperClass,enterable:{...It.enterable,default:!0},effect:{...It.effect,default:"light"},teleported:It.teleported,appendTo:It.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),k8={"update:visible":e=>ls(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},F8="onUpdate:visible";var M8=de({name:"ElPopover",__name:"popover",props:O8,emits:k8,setup(e,{expose:t,emit:n}){const r=e,s=n,o=T(()=>r[F8]),a=Ve("popover"),i=J(),l=T(()=>A(i)?.popperRef),u=T(()=>[{width:ps(r.width)},r.popperStyle]),c=T(()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}]),f=T(()=>r.transition===`${a.namespace.value}-fade-in-linear`),d=()=>{i.value?.hide()},p=()=>{s("before-enter")},h=()=>{s("before-leave")},m=()=>{s("after-enter")},g=()=>{s("update:visible",!1),s("after-leave")};return t({popperRef:l,hide:d}),(y,b)=>(X(),xe(A(wa),Vt({ref_key:"tooltipRef",ref:i},y.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":c.value,"popper-style":u.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":o.value,onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:g}),{content:he(()=>[e.title?(X(),ye("div",{key:0,class:Oe(A(a).e("title")),role:"title"},$t(e.title),3)):ze("v-if",!0),we(y.$slots,"default",{hide:d},()=>[Yn($t(e.content),1)])]),default:he(()=>[y.$slots.reference?we(y.$slots,"reference",{key:0}):ze("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),L8=M8;const nh=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var $8={mounted(e,t){nh(e,t)},updated(e,t){nh(e,t)}};const W8="popover",D8=K5($8,W8),V8=Xn(L8,{directive:D8});var Ml={exports:{}},Ll={exports:{}},rh;function G8(){return rh||(rh=1,(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<<r|n>>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r<n.length;r++)n[r]=t.endian(n[r]);return n},randomBytes:function(n){for(var r=[];n>0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],s=0,o=0;s<n.length;s++,o+=8)r[o>>>5]|=n[s]<<24-o%32;return r},wordsToBytes:function(n){for(var r=[],s=0;s<n.length*32;s+=8)r.push(n[s>>>5]>>>24-s%32&255);return r},bytesToHex:function(n){for(var r=[],s=0;s<n.length;s++)r.push((n[s]>>>4).toString(16)),r.push((n[s]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],s=0;s<n.length;s+=2)r.push(parseInt(n.substr(s,2),16));return r},bytesToBase64:function(n){for(var r=[],s=0;s<n.length;s+=3)for(var o=n[s]<<16|n[s+1]<<8|n[s+2],a=0;a<4;a++)s*8+a*6<=n.length*8?r.push(e.charAt(o>>>6*(3-a)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],s=0,o=0;s<n.length;o=++s%4)o!=0&&r.push((e.indexOf(n.charAt(s-1))&Math.pow(2,-2*o+8)-1)<<o*2|e.indexOf(n.charAt(s))>>>6-o*2);return r}};Ll.exports=t})()),Ll.exports}var $l,sh;function oh(){if(sh)return $l;sh=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r)&255);return n},bytesToString:function(t){for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join("")}}};return $l=e,$l}var Wl,ah;function Y8(){if(ah)return Wl;ah=1,Wl=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return Wl}var ih;function U8(){return ih||(ih=1,(function(){var e=G8(),t=oh().utf8,n=Y8(),r=oh().bin,s=function(o,a){o.constructor==String?a&&a.encoding==="binary"?o=r.stringToBytes(o):o=t.stringToBytes(o):n(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var i=e.bytesToWords(o),l=o.length*8,u=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p<i.length;p++)i[p]=(i[p]<<8|i[p]>>>24)&16711935|(i[p]<<24|i[p]>>>8)&4278255360;i[l>>>5]|=128<<l%32,i[(l+64>>>9<<4)+14]=l;for(var h=s._ff,m=s._gg,g=s._hh,y=s._ii,p=0;p<i.length;p+=16){var b=u,E=c,w=f,P=d;u=h(u,c,f,d,i[p+0],7,-680876936),d=h(d,u,c,f,i[p+1],12,-389564586),f=h(f,d,u,c,i[p+2],17,606105819),c=h(c,f,d,u,i[p+3],22,-1044525330),u=h(u,c,f,d,i[p+4],7,-176418897),d=h(d,u,c,f,i[p+5],12,1200080426),f=h(f,d,u,c,i[p+6],17,-1473231341),c=h(c,f,d,u,i[p+7],22,-45705983),u=h(u,c,f,d,i[p+8],7,1770035416),d=h(d,u,c,f,i[p+9],12,-1958414417),f=h(f,d,u,c,i[p+10],17,-42063),c=h(c,f,d,u,i[p+11],22,-1990404162),u=h(u,c,f,d,i[p+12],7,1804603682),d=h(d,u,c,f,i[p+13],12,-40341101),f=h(f,d,u,c,i[p+14],17,-1502002290),c=h(c,f,d,u,i[p+15],22,1236535329),u=m(u,c,f,d,i[p+1],5,-165796510),d=m(d,u,c,f,i[p+6],9,-1069501632),f=m(f,d,u,c,i[p+11],14,643717713),c=m(c,f,d,u,i[p+0],20,-373897302),u=m(u,c,f,d,i[p+5],5,-701558691),d=m(d,u,c,f,i[p+10],9,38016083),f=m(f,d,u,c,i[p+15],14,-660478335),c=m(c,f,d,u,i[p+4],20,-405537848),u=m(u,c,f,d,i[p+9],5,568446438),d=m(d,u,c,f,i[p+14],9,-1019803690),f=m(f,d,u,c,i[p+3],14,-187363961),c=m(c,f,d,u,i[p+8],20,1163531501),u=m(u,c,f,d,i[p+13],5,-1444681467),d=m(d,u,c,f,i[p+2],9,-51403784),f=m(f,d,u,c,i[p+7],14,1735328473),c=m(c,f,d,u,i[p+12],20,-1926607734),u=g(u,c,f,d,i[p+5],4,-378558),d=g(d,u,c,f,i[p+8],11,-2022574463),f=g(f,d,u,c,i[p+11],16,1839030562),c=g(c,f,d,u,i[p+14],23,-35309556),u=g(u,c,f,d,i[p+1],4,-1530992060),d=g(d,u,c,f,i[p+4],11,1272893353),f=g(f,d,u,c,i[p+7],16,-155497632),c=g(c,f,d,u,i[p+10],23,-1094730640),u=g(u,c,f,d,i[p+13],4,681279174),d=g(d,u,c,f,i[p+0],11,-358537222),f=g(f,d,u,c,i[p+3],16,-722521979),c=g(c,f,d,u,i[p+6],23,76029189),u=g(u,c,f,d,i[p+9],4,-640364487),d=g(d,u,c,f,i[p+12],11,-421815835),f=g(f,d,u,c,i[p+15],16,530742520),c=g(c,f,d,u,i[p+2],23,-995338651),u=y(u,c,f,d,i[p+0],6,-198630844),d=y(d,u,c,f,i[p+7],10,1126891415),f=y(f,d,u,c,i[p+14],15,-1416354905),c=y(c,f,d,u,i[p+5],21,-57434055),u=y(u,c,f,d,i[p+12],6,1700485571),d=y(d,u,c,f,i[p+3],10,-1894986606),f=y(f,d,u,c,i[p+10],15,-1051523),c=y(c,f,d,u,i[p+1],21,-2054922799),u=y(u,c,f,d,i[p+8],6,1873313359),d=y(d,u,c,f,i[p+15],10,-30611744),f=y(f,d,u,c,i[p+6],15,-1560198380),c=y(c,f,d,u,i[p+13],21,1309151649),u=y(u,c,f,d,i[p+4],6,-145523070),d=y(d,u,c,f,i[p+11],10,-1120210379),f=y(f,d,u,c,i[p+2],15,718787259),c=y(c,f,d,u,i[p+9],21,-343485551),u=u+b>>>0,c=c+E>>>0,f=f+w>>>0,d=d+P>>>0}return e.endian([u,c,f,d])};s._ff=function(o,a,i,l,u,c,f){var d=o+(a&i|~a&l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._gg=function(o,a,i,l,u,c,f){var d=o+(a&l|i&~l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._hh=function(o,a,i,l,u,c,f){var d=o+(a^i^l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._ii=function(o,a,i,l,u,c,f){var d=o+(i^(a|~l))+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._blocksize=16,s._digestsize=16,Ml.exports=function(o,a){if(o==null)throw new Error("Illegal argument "+o);var i=e.wordsToBytes(s(o,a));return a&&a.asBytes?i:a&&a.asString?r.bytesToString(i):e.bytesToHex(i)}})()),Ml.exports}var j8=U8();const Z8=nR(j8);function Jb(e,t){return e!==null&&typeof e=="object"&&"$typeName"in e&&typeof e.$typeName=="string"?t===void 0?!0:t.typeName===e.$typeName:!1}var V;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(V||(V={}));function K8(){let e=0,t=0;for(let r=0;r<28;r+=7){let s=this.buf[this.pos++];if(e|=(s&127)<<r,(s&128)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(n&15)<<28,t=(n&112)>>4,(n&128)==0)return this.assertBounds(),[e,t];for(let r=3;r<=31;r+=7){let s=this.buf[this.pos++];if(t|=(s&127)<<r,(s&128)==0)return this.assertBounds(),[e,t]}throw new Error("invalid varint")}const Ha=4294967296;function lh(e){const t=e[0]==="-";t&&(e=e.slice(1));const n=1e6;let r=0,s=0;function o(a,i){const l=Number(e.slice(a,i));s*=n,r=r*n+l,r>=Ha&&(s=s+(r/Ha|0),r=r%Ha)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),t?qb(r,s):hf(r,s)}function H8(e,t){let n=hf(e,t);const r=n.hi&2147483648;r&&(n=qb(n.lo,n.hi));const s=Qb(n.lo,n.hi);return r?"-"+s:s}function Qb(e,t){if({lo:e,hi:t}=X8(e,t),t<=2097151)return String(Ha*t+e);const n=e&16777215,r=(e>>>24|t<<8)&16777215,s=t>>16&65535;let o=n+r*6777216+s*6710656,a=r+s*8147497,i=s*2;const l=1e7;return o>=l&&(a+=Math.floor(o/l),o%=l),a>=l&&(i+=Math.floor(a/l),a%=l),i.toString()+uh(a)+uh(o)}function X8(e,t){return{lo:e>>>0,hi:t>>>0}}function hf(e,t){return{lo:e|0,hi:t|0}}function qb(e,t){return t=~t,e?e=~e+1:t+=1,hf(e,t)}const uh=e=>{const t=String(e);return"0000000".slice(t.length)+t};function z8(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e=e>>>7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e=e>>7;t.push(1)}}function J8(){let e=this.buf[this.pos++],t=e&127;if((e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<7,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<14,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<21,(e&128)==0)return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let n=5;(e&128)!==0&&n<10;n++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");return this.assertBounds(),t>>>0}var ch={};const wt=Q8();function Q8(){const e=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof e.getBigInt64=="function"&&typeof e.getBigUint64=="function"&&typeof e.setBigInt64=="function"&&typeof e.setBigUint64=="function"&&(!!globalThis.Deno||!!globalThis.Bun||typeof process!="object"||typeof ch!="object"||ch.BUF_BIGINT_DISABLE!=="1")){const n=BigInt("-9223372036854775808"),r=BigInt("9223372036854775807"),s=BigInt("0"),o=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(a){const i=typeof a=="bigint"?a:BigInt(a);if(i>r||i<n)throw new Error(`invalid int64: ${a}`);return i},uParse(a){const i=typeof a=="bigint"?a:BigInt(a);if(i>o||i<s)throw new Error(`invalid uint64: ${a}`);return i},enc(a){return e.setBigInt64(0,this.parse(a),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(a){return e.setBigInt64(0,this.uParse(a),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec(a,i){return e.setInt32(0,a,!0),e.setInt32(4,i,!0),e.getBigInt64(0,!0)},uDec(a,i){return e.setInt32(0,a,!0),e.setInt32(4,i,!0),e.getBigUint64(0,!0)}}}return{zero:"0",supported:!1,parse(n){return typeof n!="string"&&(n=n.toString()),fh(n),n},uParse(n){return typeof n!="string"&&(n=n.toString()),dh(n),n},enc(n){return typeof n!="string"&&(n=n.toString()),fh(n),lh(n)},uEnc(n){return typeof n!="string"&&(n=n.toString()),dh(n),lh(n)},dec(n,r){return H8(n,r)},uDec(n,r){return Qb(n,r)}}}function fh(e){if(!/^-?[0-9]+$/.test(e))throw new Error("invalid int64: "+e)}function dh(e){if(!/^[0-9]+$/.test(e))throw new Error("invalid uint64: "+e)}function ua(e,t){switch(e){case V.STRING:return"";case V.BOOL:return!1;case V.DOUBLE:case V.FLOAT:return 0;case V.INT64:case V.UINT64:case V.SFIXED64:case V.FIXED64:case V.SINT64:return t?"0":wt.zero;case V.BYTES:return new Uint8Array(0);default:return 0}}function q8(e,t){switch(e){case V.BOOL:return t===!1;case V.STRING:return t==="";case V.BYTES:return t instanceof Uint8Array&&!t.byteLength;case V.DOUBLE:case V.FLOAT:return Object.is(t,0);default:return t==0}}const e1=2,fr=Symbol.for("reflect unsafe local");function eP(e,t){const n=e[t.localName].case;return n===void 0?n:t.fields.find(r=>r.localName===n)}function tP(e,t){const n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(t.presence!=e1)return e[n]!==void 0&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!q8(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw new Error("message field with implicit presence")}function ca(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==void 0}function nP(e,t){if(t.oneof){const n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function rP(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function sP(e,t){const n=t.localName;if(t.oneof){const r=t.oneof.localName;e[r].case===n&&(e[r]={case:void 0})}else if(t.presence!=e1)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=ua(t.scalar,t.longAsString);break}}function Xs(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function mf(e,t){var n,r,s,o;if(Xs(e)&&fr in e&&"add"in e&&"field"in e&&typeof e.field=="function"){if(t!==void 0){const a=t,i=e.field();return a.listKind==i.listKind&&a.scalar===i.scalar&&((n=a.message)===null||n===void 0?void 0:n.typeName)===((r=i.message)===null||r===void 0?void 0:r.typeName)&&((s=a.enum)===null||s===void 0?void 0:s.typeName)===((o=i.enum)===null||o===void 0?void 0:o.typeName)}return!0}return!1}function gf(e,t){var n,r,s,o;if(Xs(e)&&fr in e&&"has"in e&&"field"in e&&typeof e.field=="function"){if(t!==void 0){const a=t,i=e.field();return a.mapKey===i.mapKey&&a.mapKind==i.mapKind&&a.scalar===i.scalar&&((n=a.message)===null||n===void 0?void 0:n.typeName)===((r=i.message)===null||r===void 0?void 0:r.typeName)&&((s=a.enum)===null||s===void 0?void 0:s.typeName)===((o=i.enum)===null||o===void 0?void 0:o.typeName)}return!0}return!1}function bf(e,t){return Xs(e)&&fr in e&&"desc"in e&&Xs(e.desc)&&e.desc.kind==="message"&&(t===void 0||e.desc.typeName==t.typeName)}function oP(e){return t1(e.$typeName)}function aP(e){const t=e.fields[0];return t1(e.typeName)&&t!==void 0&&t.fieldKind=="scalar"&&t.name=="value"&&t.number==1}function t1(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}const iP=999,lP=998,Xa=2;function uP(e,t){return Jb(t,e)?t:fP(e)}const cP=Symbol(),ph=new WeakMap;function fP(e){let t;if(dP(e)){const n=ph.get(e);let r,s;if(n)({prototype:r,members:s}=n);else{r={},s=new Set;for(const o of e.members)o.kind!="oneof"&&(o.fieldKind!="scalar"&&o.fieldKind!="enum"||o.presence!=Xa&&(s.add(o),r[o.localName]=Dl(o)));ph.set(e,{prototype:r,members:s})}t=Object.create(r),t.$typeName=e.typeName;for(const o of e.members)s.has(o)||o.kind=="field"&&(o.fieldKind=="message"||(o.fieldKind=="scalar"||o.fieldKind=="enum")&&o.presence!=Xa)||(t[o.localName]=Dl(o))}else{t={$typeName:e.typeName};for(const n of e.members)(n.kind=="oneof"||n.presence==Xa)&&(t[n.localName]=Dl(n))}return t}function dP(e){switch(e.file.edition){case iP:return!1;case lP:return!0;default:return e.fields.some(t=>t.presence!=Xa&&t.fieldKind!="message"&&!t.oneof)}}function Dl(e){if(e.kind=="oneof")return{case:void 0};if(e.fieldKind=="list")return[];if(e.fieldKind=="map")return{};if(e.fieldKind=="message")return cP;const t=e.getDefaultValue();return t!==void 0?e.fieldKind=="scalar"&&e.longAsString?t.toString():t:e.fieldKind=="scalar"?ua(e.scalar,e.longAsString):e.enum.values[0].number}class zs extends Error{constructor(t,n,r="FieldValueInvalidError"){super(n),this.name=r,this.field=()=>t}}const Vl=Symbol.for("@bufbuild/protobuf/text-encoding");function n1(){if(globalThis[Vl]==null){const e=new globalThis.TextEncoder,t=new globalThis.TextDecoder;let n;globalThis[Vl]={encodeUtf8(r){return e.encode(r)},decodeUtf8(r,s){return s?(n===void 0&&(n=new globalThis.TextDecoder("utf-8",{fatal:!0})),n.decode(r)):t.decode(r)},checkUtf8(r){try{return encodeURIComponent(r),!0}catch{return!1}}}}return globalThis[Vl]}var vn;(function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"})(vn||(vn={}));const pP=34028234663852886e22,hP=-34028234663852886e22,mP=4294967295,gP=2147483647,bP=-2147483648;class vP{constructor(t,n=n1().decodeUtf8){this.decodeUtf8=n,this.varint64=K8,this.uint32=J8,this.buf=t,this.len=t.length,this.pos=0,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength)}tag(){const t=this.pos,n=this.uint32(),r=this.pos-t;if(r>5||r==5&&this.buf[this.pos-1]>15)throw new Error("illegal tag: varint overflows uint32");const s=n>>>3,o=n&7;if(s<=0||o>5)throw new Error("illegal tag: field no "+s+" wire type "+o);return[s,o]}skip(t,n,r=100){let s=this.pos;switch(t){case vn.Varint:for(;this.buf[this.pos++]&128;);break;case vn.Bit64:this.pos+=4;case vn.Bit32:this.pos+=4;break;case vn.LengthDelimited:let o=this.uint32();this.pos+=o;break;case vn.StartGroup:if(r<=0)throw new Error("maximum recursion depth reached");for(;;){const[a,i]=this.tag();if(i===vn.EndGroup){if(n!==void 0&&a!==n)throw new Error("invalid end group tag");break}this.skip(i,a,r-1)}break;default:throw new Error("cant skip wire type "+t)}return this.assertBounds(),this.buf.subarray(s,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let t=this.uint32();return t>>>1^-(t&1)}int64(){return wt.dec(...this.varint64())}uint64(){return wt.uDec(...this.varint64())}sint64(){let[t,n]=this.varint64(),r=-(t&1);return t=(t>>>1|(n&1)<<31)^r,n=n>>>1^r,wt.dec(t,n)}bool(){let[t,n]=this.varint64();return t!==0||n!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return wt.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return wt.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let t=this.uint32(),n=this.pos;return this.pos+=t,this.assertBounds(),this.buf.subarray(n,n+t)}string(t){return this.decodeUtf8(this.bytes(),t)}}function yP(e,t){const n=e.fieldKind=="list"?mf(t,e):e.fieldKind=="map"?gf(t,e):vf(e,t);if(n===!0)return;let r;switch(e.fieldKind){case"list":r=`expected ${s1(e)}, got ${xi(t)}`;break;case"map":r=`expected ${o1(e)}, got ${xi(t)}`;break;default:r=Si(e,t,n)}return new zs(e,r)}function hh(e,t,n){const r=vf(e,n);if(r!==!0)return new zs(e,`list item #${t+1}: ${Si(e,n,r)}`)}function _P(e,t,n){const r=Ou(t,e.mapKey);if(r!==!0)return new zs(e,`invalid map key: ${Si({scalar:e.mapKey},t,r)}`);const s=vf(e,n);if(s!==!0)return new zs(e,`map entry ${xi(t)}: ${Si(e,n,s)}`)}function vf(e,t){return e.scalar!==void 0?Ou(t,e.scalar):e.enum!==void 0?e.enum.open?Ou(t,V.INT32):e.enum.values.some(n=>n.number===t):bf(t,e.message)}function Ou(e,t){switch(t){case V.DOUBLE:return typeof e=="number";case V.FLOAT:return typeof e!="number"?!1:Number.isNaN(e)||!Number.isFinite(e)?!0:e>pP||e<hP?`${e.toFixed()} out of range`:!0;case V.INT32:case V.SFIXED32:case V.SINT32:return typeof e!="number"||!Number.isInteger(e)?!1:e>gP||e<bP?`${e.toFixed()} out of range`:!0;case V.FIXED32:case V.UINT32:return typeof e!="number"||!Number.isInteger(e)?!1:e>mP||e<0?`${e.toFixed()} out of range`:!0;case V.BOOL:return typeof e=="boolean";case V.STRING:return typeof e!="string"?!1:n1().checkUtf8(e)||"invalid UTF8";case V.BYTES:return e instanceof Uint8Array;case V.INT64:case V.SFIXED64:case V.SINT64:if(typeof e=="bigint"||typeof e=="number"||typeof e=="string"&&e.length>0)try{return wt.parse(e),!0}catch{return`${e} out of range`}return!1;case V.FIXED64:case V.UINT64:if(typeof e=="bigint"||typeof e=="number"||typeof e=="string"&&e.length>0)try{return wt.uParse(e),!0}catch{return`${e} out of range`}return!1}}function Si(e,t,n){return n=typeof n=="string"?`: ${n}`:`, got ${xi(t)}`,e.scalar!==void 0?`expected ${wP(e.scalar)}`+n:e.enum!==void 0?`expected ${e.enum.toString()}`+n:`expected ${r1(e.message)}`+n}function xi(e){switch(typeof e){case"object":return e===null?"null":e instanceof Uint8Array?`Uint8Array(${e.length})`:Array.isArray(e)?`Array(${e.length})`:mf(e)?s1(e.field()):gf(e)?o1(e.field()):bf(e)?r1(e.desc):Jb(e)?`message ${e.$typeName}`:"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":return String(e);case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function r1(e){return`ReflectMessage (${e.typeName})`}function s1(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${V[e.scalar]})`}}function o1(e){switch(e.mapKind){case"message":return`ReflectMap (${V[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${V[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${V[e.mapKey]}, ${V[e.scalar]})`}}function wP(e){switch(e){case V.STRING:return"string";case V.BOOL:return"boolean";case V.INT64:case V.SINT64:case V.SFIXED64:return"bigint (int64)";case V.UINT64:case V.FIXED64:return"bigint (uint64)";case V.BYTES:return"Uint8Array";case V.DOUBLE:return"number (float64)";case V.FLOAT:return"number (float32)";case V.FIXED32:case V.UINT32:return"number (uint32)";case V.INT32:case V.SFIXED32:case V.SINT32:return"number (int32)"}}function yf(e,t,n=!0){return new a1(e,t,n)}const mh=new WeakMap;class a1{get sortedFields(){const t=mh.get(this.desc);if(t)return t;const n=this.desc.fields.concat().sort((r,s)=>r.number-s.number);return mh.set(this.desc,n),n}constructor(t,n,r=!0){this.lists=new Map,this.maps=new Map,this.check=r,this.desc=t,this.message=this[fr]=n??uP(t),this.fields=t.fields,this.oneofs=t.oneofs,this.members=t.members}findNumber(t){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(n=>[n.number,n]))),this._fieldsByNumber.get(t)}oneofCase(t){return vo(this.message,t),eP(this.message,t)}isSet(t){return vo(this.message,t),tP(this.message,t)}clear(t){vo(this.message,t),sP(this.message,t)}get(t){vo(this.message,t);const n=nP(this.message,t);switch(t.fieldKind){case"list":let r=this.lists.get(t);return(!r||r[fr]!==n)&&this.lists.set(t,r=new EP(t,n,this.check)),r;case"map":let s=this.maps.get(t);return(!s||s[fr]!==n)&&this.maps.set(t,s=new AP(t,n,this.check)),s;case"message":return wf(t,n,this.check);case"scalar":return n===void 0?ua(t.scalar,!1):Ef(t,n);case"enum":return n??t.enum.values[0].number}}set(t,n){if(vo(this.message,t),this.check){const s=yP(t,n);if(s)throw s}let r;t.fieldKind=="message"?r=_f(t,n):gf(n)||mf(n)?r=n[fr]:r=Af(t,n),rP(this.message,t,r)}getUnknown(){return this.message.$unknown}setUnknown(t){this.message.$unknown=t}}function vo(e,t){if(t.parent.typeName!==e.$typeName)throw new zs(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class EP{field(){return this._field}get size(){return this._arr.length}constructor(t,n,r){this._field=t,this._arr=this[fr]=n,this.check=r}get(t){const n=this._arr[t];return n===void 0?void 0:Gl(this._field,n,this.check)}set(t,n){if(t<0||t>=this._arr.length)throw new zs(this._field,`list item #${t+1}: out of range`);if(this.check){const r=hh(this._field,t,n);if(r)throw r}this._arr[t]=gh(this._field,n)}add(t){if(this.check){const n=hh(this._field,this._arr.length,t);if(n)throw n}this._arr.push(gh(this._field,t))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(const t of this._arr)yield Gl(this._field,t,this.check)}*entries(){for(let t=0;t<this._arr.length;t++)yield[t,Gl(this._field,this._arr[t],this.check)]}}class AP{constructor(t,n,r=!0){this.obj=this[fr]=n??{},this.check=r,this._field=t}field(){return this._field}set(t,n){if(this.check){const r=_P(this._field,t,n);if(r)throw r}return this.obj[Ma(t)]=SP(this._field,n),this}delete(t){const n=Ma(t),r=Object.prototype.hasOwnProperty.call(this.obj,n);return r&&delete this.obj[n],r}clear(){for(const t of Object.keys(this.obj))delete this.obj[t]}get(t){let n=this.obj[Ma(t)];return n!==void 0&&(n=Yl(this._field,n,this.check)),n}has(t){return Object.prototype.hasOwnProperty.call(this.obj,Ma(t))}*keys(){for(const t of Object.keys(this.obj))yield bh(t,this._field.mapKey)}*entries(){for(const t of Object.entries(this.obj))yield[bh(t[0],this._field.mapKey),Yl(this._field,t[1],this.check)]}[Symbol.iterator](){return this.entries()}get size(){return Object.keys(this.obj).length}*values(){for(const t of Object.values(this.obj))yield Yl(this._field,t,this.check)}forEach(t,n){for(const r of this.entries())t.call(n,r[1],r[0],this)}}function _f(e,t){return bf(t)?oP(t.message)&&!e.oneof&&e.fieldKind=="message"?t.message.value:t.desc.typeName=="google.protobuf.Struct"&&e.parent.typeName!="google.protobuf.Value"?l1(t.message):t.message:t}function wf(e,t,n){return t!==void 0&&(aP(e.message)&&!e.oneof&&e.fieldKind=="message"?t={$typeName:e.message.typeName,value:Ef(e.message.fields[0],t)}:e.message.typeName=="google.protobuf.Struct"&&e.parent.typeName!="google.protobuf.Value"&&Xs(t)&&(t=i1(t))),new a1(e.message,t,n)}function gh(e,t){return e.listKind=="message"?_f(e,t):Af(e,t)}function Gl(e,t,n){return e.listKind=="message"?wf(e,t,n):Ef(e,t)}function SP(e,t){return e.mapKind=="message"?_f(e,t):Af(e,t)}function Yl(e,t,n){return e.mapKind=="message"?wf(e,t,n):t}function Ma(e){return typeof e=="string"||typeof e=="number"?e:String(e)}function bh(e,t){switch(t){case V.STRING:return e;case V.INT32:case V.FIXED32:case V.UINT32:case V.SFIXED32:case V.SINT32:{const n=Number.parseInt(e);if(Number.isFinite(n))return n;break}case V.BOOL:switch(e){case"true":return!0;case"false":return!1}break;case V.UINT64:case V.FIXED64:try{return wt.uParse(e)}catch{}break;default:try{return wt.parse(e)}catch{}break}return e}function Ef(e,t){switch(e.scalar){case V.INT64:case V.SFIXED64:case V.SINT64:"longAsString"in e&&e.longAsString&&typeof t=="string"&&(t=wt.parse(t));break;case V.FIXED64:case V.UINT64:"longAsString"in e&&e.longAsString&&typeof t=="string"&&(t=wt.uParse(t));break}return t}function Af(e,t){switch(e.scalar){case V.INT64:case V.SFIXED64:case V.SINT64:"longAsString"in e&&e.longAsString?t=String(t):(typeof t=="string"||typeof t=="number")&&(t=wt.parse(t));break;case V.FIXED64:case V.UINT64:"longAsString"in e&&e.longAsString?t=String(t):(typeof t=="string"||typeof t=="number")&&(t=wt.uParse(t));break}return t}function i1(e){const t={$typeName:"google.protobuf.Struct",fields:{}};if(Xs(e))for(const[n,r]of Object.entries(e))t.fields[n]=c1(r);return t}function l1(e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=u1(r);return t}function u1(e){switch(e.kind.case){case"structValue":return l1(e.kind.value);case"listValue":return e.kind.value.values.map(u1);case"nullValue":case void 0:return null;default:return e.kind.value}}function c1(e){const t={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof e){case"number":t.kind={case:"numberValue",value:e};break;case"string":t.kind={case:"stringValue",value:e};break;case"boolean":t.kind={case:"boolValue",value:e};break;case"object":if(e===null)t.kind={case:"nullValue",value:0};else if(Array.isArray(e)){const n={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(e))for(const r of e)n.values.push(c1(r));t.kind={case:"listValue",value:n}}else t.kind={case:"structValue",value:i1(e)};break}return t}function xP(e){const t=IP();let n=e.length*3/4;e[e.length-2]=="="?n-=2:e[e.length-1]=="="&&(n-=1);let r=new Uint8Array(n),s=0,o=0,a,i=0;for(let l=0;l<e.length;l++){if(a=t[e.charCodeAt(l)],a===void 0)switch(e[l]){case"=":o=0;case`
10
- `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string")}switch(o){case 0:i=a,o=1;break;case 1:r[s++]=i<<2|(a&48)>>4,i=a,o=2;break;case 2:r[s++]=(i&15)<<4|(a&60)>>2,i=a,o=3;break;case 3:r[s++]=(i&3)<<6|a,o=0;break}}if(o==1)throw Error("invalid base64 string");return r.subarray(0,s)}let La,Ns;function NP(e){return La||(La="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),La.slice(0,-2).concat("-","_")),La}function IP(){if(!Ns){Ns=[];const e=NP();for(let t=0;t<e.length;t++)Ns[e[t].charCodeAt(0)]=t;Ns[45]=e.indexOf("+"),Ns[95]=e.indexOf("/")}return Ns}function Ni(e){let t=!1;const n=[];for(let r=0;r<e.length;r++){let s=e.charAt(r);switch(s){case"_":t=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n.push(s),t=!1;break;default:t&&(t=!1,s=s.toUpperCase()),n.push(s);break}}return n.join("")}const CP=new Set(["constructor","toString","toJSON","valueOf"]);function fa(e){return CP.has(e)?e+"$":e}function Sf(e){for(const t of e.field)ca(t,"jsonName")||(t.jsonName=Ni(t.name));e.nestedType.forEach(Sf)}function TP(e,t){const n=e.values.find(r=>r.name===t);if(!n)throw new Error(`cannot parse ${e} default value: ${t}`);return n.number}function RP(e,t){switch(e){case V.STRING:return t;case V.BYTES:{const n=PP(t);if(n===!1)throw new Error(`cannot parse ${V[e]} default value: ${t}`);return n}case V.INT64:case V.SFIXED64:case V.SINT64:return wt.parse(t);case V.UINT64:case V.FIXED64:return wt.uParse(t);case V.DOUBLE:case V.FLOAT:switch(t){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return Number.NaN;default:return parseFloat(t)}case V.BOOL:return t==="true";case V.INT32:case V.UINT32:case V.SINT32:case V.FIXED32:case V.SFIXED32:return parseInt(t,10)}}function PP(e){const t=[],n={tail:e,c:"",next(){return this.tail.length==0?!1:(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(r){if(this.tail.length>=r){const s=this.tail.substring(0,r);return this.tail=this.tail.substring(r),s}return!1}};for(;n.next();)switch(n.c){case"\\":if(n.next())switch(n.c){case"\\":t.push(n.c.charCodeAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{const r=n.c,s=n.take(2);if(s===!1)return!1;const o=parseInt(r+s,8);if(Number.isNaN(o))return!1;t.push(o);break}case"x":{const r=n.c,s=n.take(2);if(s===!1)return!1;const o=parseInt(r+s,16);if(Number.isNaN(o))return!1;t.push(o);break}case"u":{const r=n.c,s=n.take(4);if(s===!1)return!1;const o=parseInt(r+s,16);if(Number.isNaN(o))return!1;const a=new Uint8Array(4);new DataView(a.buffer).setInt32(0,o,!0),t.push(a[0],a[1],a[2],a[3]);break}case"U":{const r=n.c,s=n.take(8);if(s===!1)return!1;const o=wt.uEnc(r+s),a=new Uint8Array(8),i=new DataView(a.buffer);i.setInt32(0,o.lo,!0),i.setInt32(4,o.hi,!0),t.push(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]);break}}break;default:t.push(n.c.charCodeAt(0))}return new Uint8Array(t)}function*ku(e){switch(e.kind){case"file":for(const t of e.messages)yield t,yield*ku(t);yield*e.enums,yield*e.services,yield*e.extensions;break;case"message":for(const t of e.nestedMessages)yield t,yield*ku(t);yield*e.nestedEnums,yield*e.nestedExtensions;break}}function f1(...e){const t=BP();if(!e.length)return t;if("$typeName"in e[0]&&e[0].$typeName=="google.protobuf.FileDescriptorSet"){for(const n of e[0].file)wh(n,t);return t}if("$typeName"in e[0]){let o=function(a){const i=[];for(const l of a.dependency){if(t.getFile(l)!=null||s.has(l))continue;const u=r(l);if(!u)throw new Error(`Unable to resolve ${l}, imported by ${a.name}`);"kind"in u?t.addFile(u,!1,!0):(s.add(u.name),i.push(u))}return i.concat(...i.map(o))};const n=e[0],r=e[1],s=new Set;for(const a of[n,...o(n)].reverse())wh(a,t)}else for(const n of e)for(const r of n.files)t.addFile(r);return t}function BP(){const e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator](){return e.values()},get files(){return n.values()},addFile(r,s,o){if(n.set(r.proto.name,r),!s)for(const a of ku(r))this.add(a);if(o)for(const a of r.dependencies)this.addFile(a,s,o)},add(r){if(r.kind=="extension"){let s=t.get(r.extendee.typeName);s||t.set(r.extendee.typeName,s=new Map),s.set(r.number,r)}e.set(r.typeName,r)},get(r){return e.get(r)},getFile(r){return n.get(r)},getMessage(r){const s=e.get(r);return s?.kind=="message"?s:void 0},getEnum(r){const s=e.get(r);return s?.kind=="enum"?s:void 0},getExtension(r){const s=e.get(r);return s?.kind=="extension"?s:void 0},getExtensionFor(r,s){var o;return(o=t.get(r.typeName))===null||o===void 0?void 0:o.get(s)},getService(r){const s=e.get(r);return s?.kind=="service"?s:void 0}}}const OP=998,kP=999,FP=9999,MP=9,da=10,Zo=11,LP=12,vh=14,xf=3,$P=2,yh=1,WP=0,Ul=1,_h=2,DP=3,VP=1,GP=2,YP=1,UP=2,jP=1001,d1={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2,enforceNamingStyle:2,defaultSymbolVisibility:1},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1001:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:1,defaultSymbolVisibility:2}};function wh(e,t){var n,r;const s={kind:"file",proto:e,deprecated:(r=(n=e.options)===null||n===void 0?void 0:n.deprecated)!==null&&r!==void 0?r:!1,edition:XP(e),name:e.name.replace(/\.proto$/,""),dependencies:zP(e,t),enums:[],messages:[],extensions:[],services:[],toString(){return`file ${e.name}`}},o=new Map,a={get(i){return o.get(i)},add(i){var l;yn(((l=i.proto.options)===null||l===void 0?void 0:l.mapEntry)===!0),o.set(i.typeName,i)}};for(const i of e.enumType)p1(i,s,void 0,t);for(const i of e.messageType)h1(i,s,void 0,t,a);for(const i of e.service)ZP(i,s,t);Fu(s,t);for(const i of o.values())Mu(i,t,a);for(const i of s.messages)Mu(i,t,a),Fu(i,t);t.addFile(s,!0)}function Fu(e,t){switch(e.kind){case"file":for(const n of e.proto.extension){const r=Lu(n,e,t);e.extensions.push(r),t.add(r)}break;case"message":for(const n of e.proto.extension){const r=Lu(n,e,t);e.nestedExtensions.push(r),t.add(r)}for(const n of e.nestedMessages)Fu(n,t);break}}function Mu(e,t,n){const r=e.proto.oneofDecl.map(o=>HP(o,e)),s=new Set;for(const o of e.proto.field){const a=qP(o,r),i=Lu(o,e,t,a,n);e.fields.push(i),e.field[i.localName]=i,a===void 0?e.members.push(i):(a.fields.push(i),s.has(a)||(s.add(a),e.members.push(a)))}for(const o of r.filter(a=>s.has(a)))e.oneofs.push(o);for(const o of e.nestedMessages)Mu(o,t,n)}function p1(e,t,n,r){var s,o,a,i,l;const u=JP(e.name,e.value),c={kind:"enum",proto:e,deprecated:(o=(s=e.options)===null||s===void 0?void 0:s.deprecated)!==null&&o!==void 0?o:!1,file:t,parent:n,open:!0,name:e.name,typeName:al(e,n,t),value:{},values:[],sharedPrefix:u,toString(){return`enum ${this.typeName}`}};c.open=rB(c),r.add(c);for(const f of e.value){const d=f.name;c.values.push(c.value[f.number]={kind:"enum_value",proto:f,deprecated:(i=(a=f.options)===null||a===void 0?void 0:a.deprecated)!==null&&i!==void 0?i:!1,parent:c,name:d,localName:fa(u==null?d:d.substring(u.length)),number:f.number,toString(){return`enum value ${c.typeName}.${d}`}})}((l=n?.nestedEnums)!==null&&l!==void 0?l:t.enums).push(c)}function h1(e,t,n,r,s){var o,a,i,l;const u={kind:"message",proto:e,deprecated:(a=(o=e.options)===null||o===void 0?void 0:o.deprecated)!==null&&a!==void 0?a:!1,file:t,parent:n,name:e.name,typeName:al(e,n,t),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};((i=e.options)===null||i===void 0?void 0:i.mapEntry)===!0?s.add(u):(((l=n?.nestedMessages)!==null&&l!==void 0?l:t.messages).push(u),r.add(u));for(const c of e.enumType)p1(c,t,u,r);for(const c of e.nestedType)h1(c,t,u,r,s)}function ZP(e,t,n){var r,s;const o={kind:"service",proto:e,deprecated:(s=(r=e.options)===null||r===void 0?void 0:r.deprecated)!==null&&s!==void 0?s:!1,file:t,name:e.name,typeName:al(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};t.services.push(o),n.add(o);for(const a of e.method){const i=KP(a,o,n);o.methods.push(i),o.method[i.localName]=i}}function KP(e,t,n){var r,s,o,a;let i;e.clientStreaming&&e.serverStreaming?i="bidi_streaming":e.clientStreaming?i="client_streaming":e.serverStreaming?i="server_streaming":i="unary";const l=n.getMessage(or(e.inputType)),u=n.getMessage(or(e.outputType));yn(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),yn(u,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);const c=e.name;return{kind:"rpc",proto:e,deprecated:(s=(r=e.options)===null||r===void 0?void 0:r.deprecated)!==null&&s!==void 0?s:!1,parent:t,name:c,localName:fa(c.length?fa(c[0].toLowerCase()+c.substring(1)):c),methodKind:i,input:l,output:u,idempotency:(a=(o=e.options)===null||o===void 0?void 0:o.idempotencyLevel)!==null&&a!==void 0?a:WP,toString(){return`rpc ${t.typeName}.${c}`}}}function HP(e,t){return{kind:"oneof",proto:e,deprecated:!1,parent:t,fields:[],name:e.name,localName:fa(Ni(e.name)),toString(){return`oneof ${t.typeName}.${this.name}`}}}function Lu(e,t,n,r,s){var o,a,i;const l=s===void 0,u={kind:"field",proto:e,deprecated:(a=(o=e.options)===null||o===void 0?void 0:o.deprecated)!==null&&a!==void 0?a:!1,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:eB(e,r,l,t),utf8Validation:sB(e,t),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(l){const p=t.kind=="file"?t:t.file,h=t.kind=="file"?void 0:t,m=al(e,h,p);u.kind="extension",u.file=p,u.parent=h,u.oneof=void 0,u.typeName=m,u.jsonName=`[${m}]`,u.toString=()=>`extension ${m}`;const g=n.getMessage(or(e.extendee));yn(g,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),u.extendee=g}else{const p=t;yn(p.kind=="message"),u.parent=p,u.oneof=r,u.localName=r?Ni(e.name):fa(Ni(e.name)),u.jsonName=e.jsonName,u.toString=()=>`field ${p.typeName}.${e.name}`}const c=e.label,f=e.type,d=(i=e.options)===null||i===void 0?void 0:i.jstype;if(c===xf){const p=f==Zo?s?.get(or(e.typeName)):void 0;if(p){u.fieldKind="map";const{key:h,value:m}=nB(p);return u.mapKey=h.scalar,u.mapKind=m.fieldKind,u.message=m.message,u.delimitedEncoding=!1,u.enum=m.enum,u.scalar=m.scalar,u}switch(u.fieldKind="list",f){case Zo:case da:u.listKind="message",u.message=n.getMessage(or(e.typeName)),yn(u.message),u.delimitedEncoding=Eh(e,t);break;case vh:u.listKind="enum",u.enum=n.getEnum(or(e.typeName)),yn(u.enum);break;default:u.listKind="scalar",u.scalar=f,u.longAsString=d==yh;break}return u.packed=tB(e,t),u}switch(f){case Zo:case da:u.fieldKind="message",u.message=n.getMessage(or(e.typeName)),yn(u.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.delimitedEncoding=Eh(e,t),u.getDefaultValue=()=>{};break;case vh:{const p=n.getEnum(or(e.typeName));yn(p!==void 0,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.fieldKind="enum",u.enum=n.getEnum(or(e.typeName)),u.getDefaultValue=()=>ca(e,"defaultValue")?TP(p,e.defaultValue):void 0;break}default:{u.fieldKind="scalar",u.scalar=f,u.longAsString=d==yh,u.getDefaultValue=()=>ca(e,"defaultValue")?RP(f,e.defaultValue):void 0;break}}return u}function XP(e){switch(e.syntax){case"":case"proto2":return OP;case"proto3":return kP;case"editions":if(e.edition===FP)return jP;if(e.edition in d1)return e.edition;throw new Error(`${e.name}: unsupported edition`);default:throw new Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}function zP(e,t){return e.dependency.map(n=>{const r=t.getFile(n);if(!r)throw new Error(`Cannot find ${n}, imported by ${e.name}`);return r})}function JP(e,t){const n=QP(e)+"_";for(const r of t){if(!r.name.toLowerCase().startsWith(n))return;const s=r.name.substring(n.length);if(s.length==0||/^\d/.test(s))return}return n}function QP(e){return(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,t=>"_"+t)).toLowerCase()}function al(e,t,n){let r;return t?r=`${t.typeName}.${e.name}`:n.proto.package.length>0?r=`${n.proto.package}.${e.name}`:r=`${e.name}`,r}function or(e){return e.startsWith(".")?e.substring(1):e}function qP(e,t){if(!ca(e,"oneofIndex")||e.proto3Optional)return;const n=t[e.oneofIndex];return yn(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}function eB(e,t,n,r){if(e.label==$P)return DP;if(e.label==xf)return _h;if(t||e.proto3Optional||n)return Ul;const s=gs("fieldPresence",{proto:e,parent:r});return s==_h&&(e.type==Zo||e.type==da)?Ul:s}function tB(e,t){if(e.label!=xf)return!1;switch(e.type){case MP:case LP:case da:case Zo:return!1}const n=e.options;return n&&ca(n,"packed")?n.packed:VP==gs("repeatedFieldEncoding",{proto:e,parent:t})}function nB(e){const t=e.fields.find(r=>r.number===1),n=e.fields.find(r=>r.number===2);return yn(t&&t.fieldKind=="scalar"&&t.scalar!=V.BYTES&&t.scalar!=V.FLOAT&&t.scalar!=V.DOUBLE&&n&&n.fieldKind!="list"&&n.fieldKind!="map"),{key:t,value:n}}function rB(e){var t;return YP==gs("enumType",{proto:e.proto,parent:(t=e.parent)!==null&&t!==void 0?t:e.file})}function Eh(e,t){return e.type==da?!0:GP==gs("messageEncoding",{proto:e,parent:t})}function sB(e,t){return UP==gs("utf8Validation",{proto:e,parent:t})}function gs(e,t){var n,r;const s=(n=t.proto.options)===null||n===void 0?void 0:n.features;if(s){const o=s[e];if(o!=0)return o}if("kind"in t){if(t.kind=="message")return gs(e,(r=t.parent)!==null&&r!==void 0?r:t.file);const o=d1[t.edition];if(!o)throw new Error(`feature default for edition ${t.edition} not found`);return o[e]}return gs(e,t.parent)}function yn(e,t){if(!e)throw new Error(t)}function oB(e){const t=aB(e);return t.messageType.forEach(Sf),f1(t,()=>{}).getFile(t.name)}function aB(e){return Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(m1),enumType:e.enumType.map(g1)}))}function m1(e){var t,n,r,s,o,a,i,l;return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:(n=(t=e.field)===null||t===void 0?void 0:t.map(iB))!==null&&n!==void 0?n:[],extension:[],nestedType:(s=(r=e.nestedType)===null||r===void 0?void 0:r.map(m1))!==null&&s!==void 0?s:[],enumType:(a=(o=e.enumType)===null||o===void 0?void 0:o.map(g1))!==null&&a!==void 0?a:[],extensionRange:(l=(i=e.extensionRange)===null||i===void 0?void 0:i.map(c=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},c)))!==null&&l!==void 0?l:[],oneofDecl:[],reservedRange:[],reservedName:[]})}function iB(e){return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?lB(e.options):void 0}))}function lB(e){var t,n,r;return Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},e),{targets:(t=e.targets)!==null&&t!==void 0?t:[],editionDefaults:(r=(n=e.editionDefaults)===null||n===void 0?void 0:n.map(o=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},o)))!==null&&r!==void 0?r:[],uninterpretedOption:[]}))}function g1(e){return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(n=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},n))})}function se(e,t,...n){return n.reduce((r,s)=>r.nestedMessages[s],e.messages[t])}function Qt(e,t,...n){if(n.length==0)return e.enums[t];const r=n.pop();return n.reduce((s,o)=>s.nestedMessages[o],e.messages[t]).nestedEnums[r]}const uB=oB({name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}],extensionRange:[{start:536e6,end:536000001}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"option_dependency",number:15,type:9,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3},{name:"visibility",number:11,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3},{name:"visibility",number:6,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false",options:{}},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1},{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false",options:{deprecated:!0}},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"removal_error",number:5,type:9,label:1}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}},{name:"enforce_naming_style",number:7,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnforceNamingStyle",options:{retention:2,targets:[1,2,3,4,5,6,7,8,9],editionDefaults:[{value:"STYLE_LEGACY",edition:900},{value:"STYLE2024",edition:1001}]}},{name:"default_symbol_visibility",number:8,type:14,label:1,typeName:".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility",options:{retention:2,targets:[1],editionDefaults:[{value:"EXPORT_ALL",edition:900},{value:"EXPORT_TOP_LEVEL",edition:1001}]}}],nestedType:[{name:"VisibilityFeature",enumType:[{name:"DefaultSymbolVisibility",value:[{name:"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",number:0},{name:"EXPORT_ALL",number:1},{name:"EXPORT_TOP_LEVEL",number:2},{name:"LOCAL_ALL",number:3},{name:"STRICT",number:4}]}]}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0},{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]},{name:"EnforceNamingStyle",value:[{name:"ENFORCE_NAMING_STYLE_UNKNOWN",number:0},{name:"STYLE2024",number:1},{name:"STYLE_LEGACY",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}],extensionRange:[{start:536e6,end:536000001}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_UNSTABLE",number:9999},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:2147483647}]},{name:"SymbolVisibility",value:[{name:"VISIBILITY_UNSET",number:0},{name:"VISIBILITY_LOCAL",number:1},{name:"VISIBILITY_EXPORT",number:2}]}]}),cB=se(uB,1);var Ah;(function(e){e[e.DECLARATION=0]="DECLARATION",e[e.UNVERIFIED=1]="UNVERIFIED"})(Ah||(Ah={}));var Sh;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.GROUP=10]="GROUP",e[e.MESSAGE=11]="MESSAGE",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.ENUM=14]="ENUM",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(Sh||(Sh={}));var xh;(function(e){e[e.OPTIONAL=1]="OPTIONAL",e[e.REPEATED=3]="REPEATED",e[e.REQUIRED=2]="REQUIRED"})(xh||(xh={}));var Nh;(function(e){e[e.SPEED=1]="SPEED",e[e.CODE_SIZE=2]="CODE_SIZE",e[e.LITE_RUNTIME=3]="LITE_RUNTIME"})(Nh||(Nh={}));var Ih;(function(e){e[e.STRING=0]="STRING",e[e.CORD=1]="CORD",e[e.STRING_PIECE=2]="STRING_PIECE"})(Ih||(Ih={}));var Ch;(function(e){e[e.JS_NORMAL=0]="JS_NORMAL",e[e.JS_STRING=1]="JS_STRING",e[e.JS_NUMBER=2]="JS_NUMBER"})(Ch||(Ch={}));var Th;(function(e){e[e.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",e[e.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",e[e.RETENTION_SOURCE=2]="RETENTION_SOURCE"})(Th||(Th={}));var Rh;(function(e){e[e.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",e[e.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",e[e.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",e[e.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",e[e.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",e[e.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",e[e.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",e[e.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",e[e.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",e[e.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD"})(Rh||(Rh={}));var Ph;(function(e){e[e.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",e[e.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",e[e.IDEMPOTENT=2]="IDEMPOTENT"})(Ph||(Ph={}));var Bh;(function(e){e[e.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0]="DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",e[e.EXPORT_ALL=1]="EXPORT_ALL",e[e.EXPORT_TOP_LEVEL=2]="EXPORT_TOP_LEVEL",e[e.LOCAL_ALL=3]="LOCAL_ALL",e[e.STRICT=4]="STRICT"})(Bh||(Bh={}));var Oh;(function(e){e[e.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",e[e.EXPLICIT=1]="EXPLICIT",e[e.IMPLICIT=2]="IMPLICIT",e[e.LEGACY_REQUIRED=3]="LEGACY_REQUIRED"})(Oh||(Oh={}));var kh;(function(e){e[e.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",e[e.OPEN=1]="OPEN",e[e.CLOSED=2]="CLOSED"})(kh||(kh={}));var Fh;(function(e){e[e.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",e[e.PACKED=1]="PACKED",e[e.EXPANDED=2]="EXPANDED"})(Fh||(Fh={}));var Mh;(function(e){e[e.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",e[e.VERIFY=2]="VERIFY",e[e.NONE=3]="NONE"})(Mh||(Mh={}));var Lh;(function(e){e[e.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",e[e.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",e[e.DELIMITED=2]="DELIMITED"})(Lh||(Lh={}));var $h;(function(e){e[e.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",e[e.ALLOW=1]="ALLOW",e[e.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT"})($h||($h={}));var Wh;(function(e){e[e.ENFORCE_NAMING_STYLE_UNKNOWN=0]="ENFORCE_NAMING_STYLE_UNKNOWN",e[e.STYLE2024=1]="STYLE2024",e[e.STYLE_LEGACY=2]="STYLE_LEGACY"})(Wh||(Wh={}));var Dh;(function(e){e[e.NONE=0]="NONE",e[e.SET=1]="SET",e[e.ALIAS=2]="ALIAS"})(Dh||(Dh={}));var Vh;(function(e){e[e.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",e[e.EDITION_LEGACY=900]="EDITION_LEGACY",e[e.EDITION_PROTO2=998]="EDITION_PROTO2",e[e.EDITION_PROTO3=999]="EDITION_PROTO3",e[e.EDITION_2023=1e3]="EDITION_2023",e[e.EDITION_2024=1001]="EDITION_2024",e[e.EDITION_UNSTABLE=9999]="EDITION_UNSTABLE",e[e.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",e[e.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",e[e.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",e[e.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",e[e.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",e[e.EDITION_MAX=2147483647]="EDITION_MAX"})(Vh||(Vh={}));var Gh;(function(e){e[e.VISIBILITY_UNSET=0]="VISIBILITY_UNSET",e[e.VISIBILITY_LOCAL=1]="VISIBILITY_LOCAL",e[e.VISIBILITY_EXPORT=2]="VISIBILITY_EXPORT"})(Gh||(Gh={}));function fB(e){return Object.assign(Object.assign({readUnknownFields:!0,recursionLimit:100},e),{depth:0})}function b1(e,t,n){const r=yf(e,void 0,!1);return v1(r,new vP(t),fB(n),!1,t.byteLength),r.message}function v1(e,t,n,r,s){var o;if(++n.depth>n.recursionLimit)throw new Error(`cannot decode ${e.desc} from binary: maximum recursion depth of ${n.recursionLimit} reached`);const a=r?t.len:t.pos+s;let i,l;const u=(o=e.getUnknown())!==null&&o!==void 0?o:[];for(;t.pos<a&&([i,l]=t.tag(),!(r&&l==vn.EndGroup));){const c=e.findNumber(i);if(!c){const f=n.recursionLimit-n.depth,d=t.skip(l,i,f);n.readUnknownFields&&u.push({no:i,wireType:l,data:d});continue}dB(e,t,c,l,n)}if(r&&(l!=vn.EndGroup||i!==s))throw new Error("invalid end group tag");u.length>0&&e.setUnknown(u),n.depth--}function dB(e,t,n,r,s){var o;switch(n.fieldKind){case"scalar":e.set(n,Js(t,n.scalar,n.utf8Validation));break;case"enum":const a=Js(t,V.INT32);if(n.enum.open)e.set(n,a);else if(n.enum.values.some(l=>l.number===a))e.set(n,a);else if(s.readUnknownFields){const l=[];z8(a,l);const u=(o=e.getUnknown())!==null&&o!==void 0?o:[];u.push({no:n.number,wireType:r,data:new Uint8Array(l)}),e.setUnknown(u)}break;case"message":e.set(n,Nf(t,s,n,e.get(n)));break;case"list":hB(t,r,e.get(n),s);break;case"map":pB(t,e.get(n),s);break}}function pB(e,t,n){const r=t.field();let s,o;const a=e.uint32(),i=e.pos+a;for(;e.pos<i;){const[l]=e.tag();switch(l){case 1:s=Js(e,r.mapKey,r.utf8Validation);break;case 2:switch(r.mapKind){case"scalar":o=Js(e,r.scalar,r.utf8Validation);break;case"enum":o=e.int32();break;case"message":o=Nf(e,n,r);break}break}}if(s===void 0&&(s=ua(r.mapKey,!1)),o===void 0)switch(r.mapKind){case"scalar":o=ua(r.scalar,!1);break;case"enum":o=r.enum.values[0].number;break;case"message":o=yf(r.message,void 0,!1);break}t.set(s,o)}function hB(e,t,n,r){var s;const o=n.field();if(o.listKind==="message"){n.add(Nf(e,r,o));return}const a=(s=o.scalar)!==null&&s!==void 0?s:V.INT32;if(!(t==vn.LengthDelimited&&a!=V.STRING&&a!=V.BYTES)){n.add(Js(e,a,o.utf8Validation));return}const l=e.uint32()+e.pos;for(;e.pos<l;)n.add(Js(e,a,o.utf8Validation))}function Nf(e,t,n,r){const s=n.delimitedEncoding,o=r??yf(n.message,void 0,!1);return v1(o,e,t,s,s?n.number:e.uint32()),o}function Js(e,t,n=!1){switch(t){case V.STRING:return e.string(n);case V.BOOL:return e.bool();case V.DOUBLE:return e.double();case V.FLOAT:return e.float();case V.INT32:return e.int32();case V.INT64:return e.int64();case V.UINT64:return e.uint64();case V.FIXED64:return e.fixed64();case V.BYTES:return e.bytes();case V.FIXED32:return e.fixed32();case V.SFIXED32:return e.sfixed32();case V.SFIXED64:return e.sfixed64();case V.SINT64:return e.sint64();case V.UINT32:return e.uint32();case V.SINT32:return e.sint32()}}function mB(e,t){var n;const r=b1(cB,xP(e));return r.messageType.forEach(Sf),r.dependency=(n=void 0)!==null&&n!==void 0?n:[],f1(r,o=>{}).getFile(r.name)}function gB(e,t,...n){if(n.length>0)throw new Error;return e.services[t]}var bB=Object.create,y1=Object.defineProperty,vB=Object.getOwnPropertyDescriptor,_1=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),w1=e=>{throw TypeError(e)},yB=(e,t,n)=>t in e?y1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rt=e=>[,,,bB(e?.[_1("metadata")]??null)],E1=["class","method","getter","setter","accessor","field","value","get","set"],A1=e=>e!==void 0&&typeof e!="function"?w1("Function expected"):e,_B=(e,t,n,r,s)=>({kind:E1[e],name:t,metadata:r,addInitializer:o=>n._?w1("Already initialized"):s.push(A1(o||null))}),st=(e,t)=>yB(t,_1("metadata"),e[3]),ot=(e,t,n,r)=>{for(var s=0,o=e[t>>1],a=o&&o.length;s<a;s++)o[s].call(n);return r},N=(e,t,n,r,s,o)=>{for(var a,i,l,u,c=t&7,f=!1,d=!1,p=2,h=E1[c+5],m=e[p]||(e[p]=[]),g=(s=s.prototype,vB(s,n)),y=r.length-1;y>=0;y--)l=_B(c,n,i={},e[3],m),l.static=f,l.private=d,u=l.access={has:b=>n in b},u.get=b=>b[n],c>2,a=(0,r[y])(g[h],l),i._=1,A1(a)&&(g[h]=a);return g&&y1(s,n,g),s};function I(){return function(e,t){let n=String(t.name);return function(...r){let s=this.constructor.name;try{return e.call(this,...r)}catch(o){if(typeof this.handleError=="function")this.handleError(o,s,n);else throw console.error(`${s}.${n} 未知异常`,o),o}}}}var Vn=class extends Error{constructor(e,t,n){super(t||"操作失败"),this.name="BiliError",this.rawError=n instanceof Error?n:new Error(String(n));let{timeout:r,userAgent:s,context:o}=e;this.clientConfig={timeout:r,userAgent:s,context:o?.userCookie?{userCookie:o?.userCookie}:void 0}}},S1=class extends Vn{constructor(t,n,r,s){super(t,r,s),this.name="BiliApiError";let{url:o,method:a,query:i,data:l,skipWbiSign:u,autoCsrf:c}=n;this.requestOptions={url:o,method:a,query:i,data:l,skipWbiSign:u,autoCsrf:c}}},$a=class extends S1{constructor(e,t,n,r,s){super(e,t,r||n.statusText||`HTTP ${n.status}`,s),this.status=0,this.name="BiliApiHttpError",this.status=n.status}},x1=class extends S1{constructor(t,n,r,s,o){super(t,n,s||r.message,o),this.name="BiliApiBusinessError",this.responseCode=r.code??-1,this.responseData=r.data}};async function wB(e,t,n){let r={updateRequestContext:!0,autoRefresh:!0,pollIntervalMs:1233,...n},s=AbortSignal.timeout(180*1e3),o=r.signal?AbortSignal.any([r.signal,s]):s,a=u=>new Promise(c=>setTimeout(c,u)),i=u=>{try{t.onStatusChange(u)}catch(c){e.logger.error("[QRCodeLogin] onStatusChange callback error:",c)}},l=async u=>{try{await t.onQRCodeReceived(u)}catch(c){e.logger.error("[QRCodeLogin] onQRCodeReceived callback error:",c)}};try{for(;!o.aborted;){i("正在获取登录二维码...");let u=await e.getLoginQRCode(n);if(!u?.url||!u?.qrcode_key)throw new Error("未能获取有效的二维码数据");await l(u.url),i("请使用手机 App 扫码登录..."),await a(2e3);let c=!1;for(;!o.aborted&&!c;){let f=await e.getQRCodeLoginResult(u.qrcode_key,n);switch(i(f.message),f.code){case 0:return i("扫码成功,正在同步用户信息..."),t.cookieProvider&&(await a(1e3),f.setCookie=await t.cookieProvider()),await e.initLoginSession(f.setCookie,r.updateRequestContext,n);case 86038:if(r.autoRefresh)i("二维码已失效,正在自动刷新..."),c=!0;else throw new Vn(e.clientConfig,"二维码已失效");break;default:await a(r.pollIntervalMs);break}}}}catch(u){if(r.signal?.aborted)throw i("取消登录"),Gs("取消登录");if(o.aborted||Lc(u)){let c="登录超时";throw i(c),new Error(c)}throw u}throw o.aborted?Gs():new Error("登录流程异常终止")}function EB(e){if(!e)throw new Error("setCookie 为空");let t=[],n,r;for(let s of e)if(s){let o=s.slice(0,s.indexOf(";")+1);t.push(o),o.startsWith("bili_jct=")&&(n=o.slice(9,-1)),o.startsWith("DedeUserID=")&&(r=o.slice(11,-1))}if(!n||!r)throw new Error("setCookie 解析错误,不存在 bili_jct/uid");return{uid:Number(r),cookie:t.join(" "),bili_jct:n}}var N1=class{constructor(e){this.api=e}get clientConfig(){return this.api.clientConfig}get logger(){return this.api.logger}get request(){return this.api.request}get get(){return this.api.get}get post(){return this.api.post}get save(){return this.api.save}get currUserUid(){let e=this.api.clientConfig.context?.userCookie.uid;if(e===void 0)throw new Vn(this.clientConfig,"用户未登录");return e}},Qe=class extends N1{constructor(e){super(e),this.createPager=e.createPager}throwError(e,t){throw new Vn(this.clientConfig,Ys(e),t)}handleError(e,t,n){if(e instanceof Vn)this.logger.error(`${t}.${n} 出现错误`,e);else{let r=new Vn(this.clientConfig,Ys(e),e);this.logger.error(`${t}.${n} 出现错误`,r)}throw e}resolveVideoId(e){return e.aid!==void 0?{aid:e.aid}:{bvid:e.bvid}}},I1,C1,T1,R1,P1,B1,O1,k1,F1,$u,tn,mn=class extends($u=Qe,F1=[I()],k1=[I()],O1=[I()],B1=[I()],P1=[I()],R1=[I()],T1=[I()],C1=[I()],I1=[I()],$u){constructor(){super(...arguments),ot(tn,5,this)}getLoginQRCode(e){return this.get("https://passport.bilibili.com/x/passport-login/web/qrcode/generate",e)}async getQRCodeLoginResult(e,t){let n=await this.get("https://passport.bilibili.com/x/passport-login/web/qrcode/poll",{query:{qrcode_key:e},skipWbiSign:!0,returnFormat:"RawResponse",...t});return{...(await n.json()).data,setCookie:n.headers.getSetCookie()}}async loginWithQRCode(e,t){return wB(this,e,t)}getBuvids(e){return this.get("https://api.bilibili.com/x/frontend/finger/spi",e)}getMyInfo(e,t){return this.get("https://api.bilibili.com/x/space/myinfo",{cookie:e,...t})}async initLoginSession(e,t=!0,n){this.logger.info("初始化用户数据...");let r=EB(e),{b_3:s,b_4:o}=await this.getBuvids(n);r.cookie=`${r.cookie} buvid3=${encodeURIComponent(s)}; buvid4=${encodeURIComponent(o)}; `;let a={userCookie:r};return t&&(this.clientConfig.context=a),this.logger.info(`已完成用户登录:${r.uid}`),a}async getUserCard(e,t){return await this.get("https://api.bilibili.com/x/web-interface/card",{query:e,...t})}async getUserCards(e,t){let n=await this.get("https://api.vc.bilibili.com/account/v1/user/cards",{query:{uids:e.join(",")},...t});return e.map(r=>n.find(s=>s.mid===r)??null)}async getUpStat(e,t){return await this.get("https://api.bilibili.com/x/space/upstat",{query:{mid:e},...t})}};tn=rt($u),N(tn,1,"getLoginQRCode",F1,mn),N(tn,1,"getQRCodeLoginResult",k1,mn),N(tn,1,"loginWithQRCode",O1,mn),N(tn,1,"getBuvids",B1,mn),N(tn,1,"getMyInfo",P1,mn),N(tn,1,"initLoginSession",R1,mn),N(tn,1,"getUserCard",T1,mn),N(tn,1,"getUserCards",C1,mn),N(tn,1,"getUpStat",I1,mn),st(tn,mn);var yo={PersonalSpace:11,Comment:15,H5FollowList:106,H5FansList:107,BlockList:116},Xr={FOLLOW:{code:1,name:"关注",reSrc:yo.PersonalSpace},UNFOLLOW:{code:2,name:"取关",reSrc:yo.H5FollowList},BLOCK:{code:5,name:"拉黑",reSrc:yo.Comment},UNBLOCK:{code:6,name:"取消拉黑",reSrc:yo.BlockList},REMOVE_FAN:{code:7,name:"踢出粉丝",reSrc:yo.H5FansList}},Gt=class{constructor(e){this.options=e,e.pageParams&&(e.pageNum=this.parsePageNum(e.pageParams))}},M1=class extends Gt{hasNextPage(e,t,n){return!(this.options.total!==void 0&&(t.length>=this.options.total||(e-1)*this.options.pageSize>=this.options.total)||n!==null&&(n.data===null||io(n.data)||this.getList(n).length<this.options.pageSize))}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data}},za=class Wu extends M1{static isPageDataWithTotalResponse(t){return t!==null&&typeof t.data=="object"&&t.data!==null&&"total"in t.data&&"list"in t.data}hasNextPage(t,n,r){return!(!super.hasNextPage(t,n,r)||r!==null&&(!Wu.isPageDataWithTotalResponse(r)||r.data.total<=n.length||io(r.data.list)))}getList(t){return Wu.isPageDataWithTotalResponse(t)?t.data.list:[]}},L1,$1,W1,D1,V1,G1,Y1,U1,j1,Z1,K1,H1,X1,z1,J1,Q1,q1,ev,tv,nv,rv,sv,ov,av,iv,lv,uv,Du,Me,$e=class extends(Du=Qe,uv=[I()],lv=[I()],iv=[I()],av=[I()],ov=[I()],sv=[I()],rv=[I()],nv=[I()],tv=[I()],ev=[I()],q1=[I()],Q1=[I()],J1=[I()],z1=[I()],X1=[I()],H1=[I()],K1=[I()],Z1=[I()],j1=[I()],U1=[I()],Y1=[I()],G1=[I()],V1=[I()],D1=[I()],W1=[I()],$1=[I()],L1=[I()],Du){constructor(){super(...arguments),ot(Me,5,this)}get userService(){return this.api.client.user}buildRelationPager(t,n,r){return this.createPager("https://api.bilibili.com/x/relation/tag",new M1({pageSize:200,total:typeof t=="object"?t.count:void 0,...n}),{query:{tagid:typeof t=="object"?t.tagid:t},...r})}async fetchRelationPage(t,n,r){return await this.buildRelationPager(t,n,r).fetchNext()}async fetchRelationPageWithNextParams(t,n,r){return await this.buildRelationPager(t,n,r).fetchPageWithNextParams()}async fetchRelationAll(t,n,r,s){return await this.buildRelationPager(t,n,s).fetchAllPage(r)}async getRelation(t,n){return this.get("https://api.bilibili.com/x/space/wbi/acc/relation",{query:{mid:t,web_location:"333.1387"},...n})}getFollowTags(t){return this.get("https://api.bilibili.com/x/relation/tags",t)}getFollowingsByTag(t,n,r,s){return this.fetchRelationAll(t,n,r,s)}createFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/create",{data:{tag:t},...n})}updateFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/update",{data:t,...n})}deleteFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/del",{data:{tagid:`${t}`},...n})}async getFollowsGroupedByTag(t,n,r){let s=await this.getFollowTags(r);for(let o of s)o.list=await this.getFollowingsByTag(o,t,n,r);return s}buildFollowingsPager(t,n,r){if(!t&&!this.currUserUid)throw new Vn(this.clientConfig,"uid 为空");return this.createPager("https://api.bilibili.com/x/relation/followings",new za({pageSize:24,...n}),{query:{vmid:t??this.currUserUid,order:"desc"},...r})}async fetchFollowingsPage(t,n,r){return await this.buildFollowingsPager(t,n,r).fetchNext()}async fetchPageWithNextParams(t,n,r){return await this.buildFollowingsPager(t,n,r).fetchPageWithNextParams()}async fetchFollowingsAll(t,n,r,s){return await this.buildFollowingsPager(t,n,s).fetchAllPage(r)}async followUser(t,n){await this.modify(t,Xr.FOLLOW,!0,n)}async unFollowUser(t,n){await this.modify(t,Xr.UNFOLLOW,!0,n)}copyUsersToTag(t,n,r){return this.save("https://api.bilibili.com/x/relation/tags/copyUsers",{data:{fids:t.join(","),tagids:n.join(",")},...r})}buildFansPager(t,n,r){if(!t&&!this.currUserUid)throw new Vn(this.clientConfig,"uid 为空");return this.createPager("https://api.bilibili.com/x/relation/fans",new za({pageSize:24,...n}),{query:{vmid:t??this.currUserUid,order:"desc"},...r})}async fetchFansPage(t,n,r){return await this.buildFansPager(t,n,r).fetchNext()}async fetchFansPageWithNextParams(t,n,r){return await this.buildFansPager(t,n,r).fetchPageWithNextParams()}async fetchFansAll(t,n,r,s){return await this.buildFansPager(t,n,s).fetchAllPage(r)}async removeFan(t,n){await this.modify(t,Xr.REMOVE_FAN,!0,n)}async getStat(t,n){return await this.get("https://api.bilibili.com/x/relation/stat",{query:{vmid:t},...n})}async avoidRiskControl(t,n){await this.get("https://api.bilibili.com/x/web-interface/wbi/search/all/v2",{query:{__refresh__:"true",_extra:"",context:"",page:"1",page_size:"42",order:"",pubtime_begin_s:"0",pubtime_end_s:"0",duration:"",from_source:"",from_spmid:"333.337",platform:"pc",highlight:"1",single_column:"0",keyword:`UID: ${t}`,ad_resource:"5646",source_tag:"3"},...n,logRequestParams:!1}),await Os(666,n?.signal),await this.getRelation(t),await Os(50,n?.signal),await this.getStat(t,n),await Os(50,n?.signal),await this.userService.getUpStat(t,n),await Os(666,n?.signal)}async modify(t,n,r=!0,s){r&&await this.avoidRiskControl(t,s),await this.save("https://api.bilibili.com/x/relation/modify",{query:{statistics:'{"appId":100,"platform":5}',...n.code!==Xr.BLOCK.code?{"x-bili-device-req-json":'{"platform":"web","device":"pc","spmid":"333.1387"}'}:{}},data:{fid:String(t),act:String(n.code),re_src:n.reSrc.toString(),spmid:"333.1387",extend_content:`{"entity":"query","entity_id":"${t}"}`,gaia_source:"web_main",...n.code!==Xr.BLOCK.code?{is_from_frontend_component:"true"}:{}},ignoreBusinessError:!1,...s})}async blockUser(t,n){await this.modify(t,Xr.BLOCK,!1,n)}async unBlockUser(t,n){await this.modify(t,Xr.UNBLOCK,!0,n)}buildBlocksPager(t,n){return this.createPager("https://api.bilibili.com/x/relation/blacks",new za({pageSize:50,...t}),{...n})}async fetchBlocksPage(t,n){return await this.buildBlocksPager(t,n).fetchNext()}async fetchBlocksPageWithNextParams(t,n){return await this.buildBlocksPager(t,n).fetchPageWithNextParams()}async fetchBlocksAll(t,n,r){return await this.buildBlocksPager(t,r).fetchAllPage(n)}};Me=rt(Du),N(Me,1,"fetchRelationPage",uv,$e),N(Me,1,"fetchRelationPageWithNextParams",lv,$e),N(Me,1,"fetchRelationAll",iv,$e),N(Me,1,"getRelation",av,$e),N(Me,1,"getFollowTags",ov,$e),N(Me,1,"getFollowingsByTag",sv,$e),N(Me,1,"createFollowTag",rv,$e),N(Me,1,"updateFollowTag",nv,$e),N(Me,1,"deleteFollowTag",tv,$e),N(Me,1,"getFollowsGroupedByTag",ev,$e),N(Me,1,"fetchFollowingsPage",q1,$e),N(Me,1,"fetchPageWithNextParams",Q1,$e),N(Me,1,"fetchFollowingsAll",J1,$e),N(Me,1,"followUser",z1,$e),N(Me,1,"unFollowUser",X1,$e),N(Me,1,"copyUsersToTag",H1,$e),N(Me,1,"fetchFansPage",K1,$e),N(Me,1,"fetchFansPageWithNextParams",Z1,$e),N(Me,1,"fetchFansAll",j1,$e),N(Me,1,"getStat",U1,$e),N(Me,1,"avoidRiskControl",Y1,$e),N(Me,1,"modify",G1,$e),N(Me,1,"blockUser",V1,$e),N(Me,1,"unBlockUser",D1,$e),N(Me,1,"fetchBlocksPage",W1,$e),N(Me,1,"fetchBlocksPageWithNextParams",$1,$e),N(Me,1,"fetchBlocksAll",L1,$e),st(Me,$e);var AB=class extends Gt{hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data;if(r.cursor.ps===0||r.cursor.max===0)return!1}return!0}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r===null)t.ps=this.options.pageSize,t.max=0,t.view_at=0,t.business=t.business??"";else{let s=r.data.cursor;t.ps=s.ps,t.max=s.max,t.view_at=s.view_at,t.business=s.business}}getList(e){return e.data.list}},cv,fv,dv,pv,hv,mv,gv,bv,Vu,gn,Bn=class extends(Vu=Qe,bv=[I()],gv=[I()],mv=[I()],hv=[I()],pv=[I()],dv=[I()],fv=[I()],cv=[I()],Vu){constructor(){super(...arguments),ot(gn,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/web-interface/history/cursor",new AB({pageSize:20,...t}),{query:{business:e??""},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}deleteHistory(e,t){return this.save("https://api.bilibili.com/x/v2/history/delete",{data:{kid:e},...t})}clearHistory(e){return this.save("https://api.bilibili.com/x/v2/history/clear",{...e})}setHistoryShadow(e,t){return this.save("https://api.bilibili.com/x/v2/history/shadow/set",{data:{switch:e},...t})}getHistoryShadow(e){return this.get("https://api.bilibili.com/x/v2/history/shadow",{...e})}report(e,t){return this.save("https://api.bilibili.com/x/v2/history/report",{data:{...e,platform:"web"},...t})}};gn=rt(Vu),N(gn,1,"fetchPage",bv,Bn),N(gn,1,"fetchPageWithNextParams",gv,Bn),N(gn,1,"fetchAll",mv,Bn),N(gn,1,"deleteHistory",hv,Bn),N(gn,1,"clearHistory",pv,Bn),N(gn,1,"setHistoryShadow",dv,Bn),N(gn,1,"getHistoryShadow",fv,Bn),N(gn,1,"report",cv,Bn),st(gn,Bn);var vv,yv,_v,wv,Ev,Av,Sv,xv,Nv,Iv,Gu,Zt,nn=class extends(Gu=Qe,Iv=[I()],Nv=[I()],xv=[I()],Sv=[I()],Av=[I()],Ev=[I()],wv=[I()],_v=[I()],yv=[I()],vv=[I()],Gu){constructor(){super(...arguments),ot(Zt,5,this)}getSettings(e){return this.get("https://api.vc.bilibili.com/link_setting/v1/link_setting/get",{query:{msg_notify:1,show_unfollowed_msg:1,build:0,mobi_app:"web"},...e})}updateSettings(e,t){return this.save("https://api.vc.bilibili.com/link_setting/v1/link_setting/set",{data:{...e,build:0,mobi_app:"web"},...t})}getBlockWords(e){return this.get("https://api.vc.bilibili.com/x/im/link_setting/get_block_words",{query:{build:0,mobi_app:"web"},...e})}addBlockWord(e,t){return this.save("https://api.vc.bilibili.com/x/im/link_setting/add_block_word",{data:{content:e,build:0,mobi_app:"web"},...t})}delBlockWord(e,t){return this.save("https://api.vc.bilibili.com/x/im/link_setting/del_block_word",{data:{content:e,build:0,mobi_app:"web"},...t})}getAutoReplyRules(e,t){return this.get("https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text",{query:{"type[]":e,build:0,mobi_app:"web"},...t})}setAutoReplyRule(e,t){return this.save("https://api.vc.bilibili.com/x/im/auto_reply/set_reply_text",{data:{build:0,mobi_app:"web",...e},...t})}delAutoReplyRule(e,t){return this.save("https://api.vc.bilibili.com/x/im/auto_reply/del_reply_text",{data:{id:e,build:0,mobi_app:"web"},...t})}getSystemSettings(e){return this.get("https://api.vc.bilibili.com/link_setting/v1/link_setting/get_sys_setting",{query:{build:0,mobi_app:"web"},...e})}canShowCreateGroupIcon(e){return this.get("https://api.vc.bilibili.com/link_group/v1/member/show_create_group_icon",{query:{build:0,mobi_app:"web"},...e})}};Zt=rt(Gu),N(Zt,1,"getSettings",Iv,nn),N(Zt,1,"updateSettings",Nv,nn),N(Zt,1,"getBlockWords",xv,nn),N(Zt,1,"addBlockWord",Sv,nn),N(Zt,1,"delBlockWord",Av,nn),N(Zt,1,"getAutoReplyRules",Ev,nn),N(Zt,1,"setAutoReplyRule",wv,nn),N(Zt,1,"delAutoReplyRule",_v,nn),N(Zt,1,"getSystemSettings",yv,nn),N(Zt,1,"canShowCreateGroupIcon",vv,nn),st(Zt,nn);var SB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){return!(r!==null&&(r.data==null||r.data.cursor.is_end))}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data.cursor;n.id=o.id,n.reply_time=o.time}}getList(t){return t.data.items}},xB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){return!(n!==null&&(n.data==null||n.data.cursor.is_end))}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r!=null){let s=r.data.cursor;t.id=s.id,t.at_time=s.time}}getList(e){return e.data.items}},NB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){return!(n!==null&&(n.data==null||n.data.total.cursor.is_end))}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r!=null){let s=r.data.total.cursor;t.id=s.id,t.like_time=s.time}}getList(e){return e.data.total.items}},IB=class extends Gt{constructor(t){super({pageSize:17,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s==null||io(s))return!1}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){r!=null&&r.length>0&&(n.cursor=r[r.length-1].cursor)}getList(t){return t.data}},Cv,Tv,Rv,Pv,Bv,Ov,kv,Fv,Mv,Lv,$v,Wv,Dv,Vv,Gv,Yv,Uv,jv,Zv,Yu,qe,at=class extends(Yu=Qe,Zv=[I()],jv=[I()],Uv=[I()],Yv=[I()],Gv=[I()],Vv=[I()],Dv=[I()],Wv=[I()],$v=[I()],Lv=[I()],Mv=[I()],Fv=[I()],kv=[I()],Ov=[I()],Bv=[I()],Pv=[I()],Rv=[I()],Tv=[I()],Cv=[I()],Yu){constructor(){super(...arguments),ot(qe,5,this)}getUnreadCount(e){return this.get("https://api.vc.bilibili.com/x/im/web/msgfeed/unread",{query:{build:0,mobi_app:"web"},...e})}delMessage(e,t,n){return this.save("https://api.bilibili.com/x/msgfeed/del",{data:{tp:t,id:e,build:0,mobi_app:"web",platform:"web"},...n})}buildBasePager(e,t,n){return this.createPager(`https://api.bilibili.com/x/msgfeed/${e}`,t,{query:{platform:"web",build:0,mobi_app:"web",web_location:"333.40164"},...n})}buildReplyPager(e,t){return this.buildBasePager("reply",new SB(e),t)}buildAtPager(e,t){return this.buildBasePager("at",new xB(e),t)}buildLikePager(e,t){return this.buildBasePager("like",new NB(e),t)}async fetchReplyPage(e,t){return await this.buildReplyPager(e,t).fetchNext()}async fetchReplyPageWithNextParams(e,t){return await this.buildReplyPager(e,t).fetchPageWithNextParams()}async fetchReplyAll(e,t,n){return await this.buildReplyPager(e,n).fetchAllPage(t)}delReplyMessage(e,t){return this.delMessage(e,1,t)}async fetchAtPage(e,t){return await this.buildAtPager(e,t).fetchNext()}async fetchAtPageWithNextParams(e,t){return await this.buildAtPager(e,t).fetchPageWithNextParams()}async fetchAtAll(e,t,n){return await this.buildAtPager(e,n).fetchAllPage(t)}delAtMessage(e,t){return this.delMessage(e,2,t)}async fetchLikePage(e,t){return await this.buildLikePager(e,t).fetchNext()}async fetchLikePageWithNextParams(e,t){return await this.buildLikePager(e,t).fetchPageWithNextParams()}async fetchLikeAll(e,t,n){return await this.buildLikePager(e,n).fetchAllPage(t)}setLikeMsgState(e,t,n){return this.save("https://api.bilibili.com/x/msgfeed/notice",{data:{tp:0,id:e,notice_state:t,build:0,mobi_app:"web",platform:"web"},...n})}delLikeMessage(e,t){return this.delMessage(e,0,t)}buildSystemPager(e,t){return this.createPager("https://message.bilibili.com/x/sys-msg/query_notify_list",new IB(e),{query:{page_size:20,build:0,platform:"web",mobi_app:"web",data_type:"web",has_up:"1",source_platform:"web",web_location:"333.40164"},...t})}async fetchSystemPage(e,t){return await this.buildSystemPager(e,t).fetchNext()}async fetchSystemPageWithNextParams(e,t){return await this.buildSystemPager(e,t).fetchPageWithNextParams()}async fetchSystemAll(e,t,n){return await this.buildSystemPager(e,n).fetchAllPage(t)}delSysMessages(e,t){return this.save("https://message.bilibili.com/x/sys-msg/del_notify_list",{query:{build:0,mobi_app:"web",csrf:this.clientConfig.context?.userCookie.bili_jct??""},data:JSON.stringify({station_ids:e.filter(n=>n.is_station===1).map(n=>n.id),ids:e.filter(n=>n.is_station!==1).map(n=>n.id),type:4,build:0,mobi_app:"web"}),...t})}};qe=rt(Yu),N(qe,1,"getUnreadCount",Zv,at),N(qe,1,"delMessage",jv,at),N(qe,1,"fetchReplyPage",Uv,at),N(qe,1,"fetchReplyPageWithNextParams",Yv,at),N(qe,1,"fetchReplyAll",Gv,at),N(qe,1,"delReplyMessage",Vv,at),N(qe,1,"fetchAtPage",Dv,at),N(qe,1,"fetchAtPageWithNextParams",Wv,at),N(qe,1,"fetchAtAll",$v,at),N(qe,1,"delAtMessage",Lv,at),N(qe,1,"fetchLikePage",Mv,at),N(qe,1,"fetchLikePageWithNextParams",Fv,at),N(qe,1,"fetchLikeAll",kv,at),N(qe,1,"setLikeMsgState",Ov,at),N(qe,1,"delLikeMessage",Bv,at),N(qe,1,"fetchSystemPage",Pv,at),N(qe,1,"fetchSystemPageWithNextParams",Rv,at),N(qe,1,"fetchSystemAll",Tv,at),N(qe,1,"delSysMessages",Cv,at),st(qe,at);var CB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s.has_more===0||s.session_list==null||s.session_list.length===0)return!1}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data.session_list;o!=null&&(n.end_ts=o[o.length-1].session_ts)}}getList(t){return t.data.session_list}},Kv,Hv,Xv,zv,Jv,Qv,qv,Uu,On,er=class extends(Uu=Qe,qv=[I()],Qv=[I()],Jv=[I()],zv=[I()],Xv=[I()],Hv=[I()],Kv=[I()],Uu){constructor(){super(...arguments),ot(On,5,this)}getUnreadCount(e){return this.get("https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread",{query:{build:0,mobi_app:"web"},...e})}getMyGroupUnreadCount(e){return this.get("https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread",{query:{build:0,mobi_app:"web"},...e})}buildPager(e,t,n){let r=e?.session_type??1;return this.createPager("https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions",new CB(t),{query:{...e,session_type:r,group_fold:r===1?"2":"1",size:r!==1?1:void 0,unfollow_fold:"0",sort_rule:"1",platform:"web",build:0,mobi_app:"web",web_location:"333.40164"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async setSessionRead(e,t){await this.save("https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack",{data:{talker_id:e.talker_id,session_type:e.session_type,ack_seqno:e.ack_seqno,build:0,mobi_app:"web"},...t})}async delSession(e,t){await this.save("https://api.vc.bilibili.com/session_svr/v1/session_svr/remove_session",{data:{talker_id:e.talker_id,session_type:e.session_type,build:0,mobi_app:"web"},...t})}};On=rt(Uu),N(On,1,"getUnreadCount",qv,er),N(On,1,"getMyGroupUnreadCount",Qv,er),N(On,1,"fetchPage",Jv,er),N(On,1,"fetchPageWithNextParams",zv,er),N(On,1,"fetchAll",Xv,er),N(On,1,"setSessionRead",Hv,er),N(On,1,"delSession",Kv,er),st(On,er);var TB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data;if(r.count<=t.length||r.list.length===0)return!1}return!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data.list}},e2,t2,n2,r2,s2,o2,a2,i2,l2,ju,rn,bn=class extends(ju=Qe,l2=[I()],i2=[I()],a2=[I()],o2=[I()],s2=[I()],r2=[I()],n2=[I()],t2=[I()],e2=[I()],ju){constructor(){super(...arguments),ot(rn,5,this)}buildPager(e,t){return this.createPager("https://api.bilibili.com/x/v2/history/toview/web",new TB(e),{query:{viewed:0,asc:!1,key:"",need_split:!0,build:0,platform:"web",mobi_app:"web"},...t})}async fetchPage(e,t){return await this.buildPager(e,t).fetchNext()}async fetchPageWithNextParams(e,t){return await this.buildPager(e,t).fetchPageWithNextParams()}async fetchAll(e,t,n){return await this.buildPager(e,n).fetchAllPage(t)}async addToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/add",{data:{aid:e},...t})}async addAllToView(e,t){await this.save("https://space.bilibili.com/ajax/channel/addAllToView",{data:{...typeof e=="string"?{bvid:e}:{aid:e}},...t})}async delToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/v2/dels",{data:{resources:e.join(",")},...t})}async clearToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/clear",{data:{clean_type:e},...t})}async moveFavFolder(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/move",{data:{resources:e.join(","),tar_media_id:t}})}async getTotal(e){let t=await this.get("https://api.bilibili.com/x/v3/fav/folder/list4navigate?web_location=333.1007",e);try{return t[1].mediaListResponse.count}catch{return}}};rn=rt(ju),N(rn,1,"fetchPage",l2,bn),N(rn,1,"fetchPageWithNextParams",i2,bn),N(rn,1,"fetchAll",a2,bn),N(rn,1,"addToView",o2,bn),N(rn,1,"addAllToView",s2,bn),N(rn,1,"delToView",r2,bn),N(rn,1,"clearToView",n2,bn),N(rn,1,"moveFavFolder",t2,bn),N(rn,1,"getTotal",e2,bn),st(rn,bn);var If=class extends Gt{constructor(e,t="list",n="has_more",r){super(e),this.listKey=t,this.hasMoreKey=n,this.countKey=r}hasNextPage(e,t,n){return n!==null&&n.data?n.data.has_more:!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data[this.listKey]}getTotal(e){if(this.countKey&&e)return e.data[this.countKey]}},u2,c2,f2,d2,p2,h2,m2,g2,b2,v2,y2,_2,w2,E2,Zu,_t,Nt=class extends(Zu=Qe,E2=[I()],w2=[I()],_2=[I()],y2=[I()],v2=[I()],b2=[I()],g2=[I()],m2=[I()],h2=[I()],p2=[I()],d2=[I()],f2=[I()],c2=[I()],u2=[I()],Zu){constructor(){super(...arguments),ot(_t,5,this)}async getFavFolders(e,t,n){return await this.get("https://api.bilibili.com/x/v3/fav/folder/created/list-all",{query:{up_mid:e??this.currUserUid,...t?{rid:t}:{},web_location:"333.1387"},...n})??{list:[],count:0}}async getFavFolderMeta(e,t){return await this.get("https://api.bilibili.com/x/v3/fav/folder/info",{query:{media_id:e},...t})}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v3/fav/resource/list",new If({pageSize:40,...t},"medias"),{query:{...e,platform:"web",web_location:"333.1387"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){let s=this.buildPager(e,t,r),o=await s.fetchAllPage(n);if(!s.lastApiResponse?.data.info)throw new Vn(this.clientConfig,`收藏夹[${e.media_id}]不存在`);return{info:s.lastApiResponse?.data.info,medias:o,has_more:!1}}async getFavIds(e,t){return await this.get("https://api.bilibili.com/x/v3/fav/resource/ids",{query:{media_id:e},...t})}async addFavFolder(e,t){return await this.save("https://api.bilibili.com/x/v3/fav/folder/add",{data:{...e},...t})}async updateFavFolder(e,t){let{id:n,...r}=e;return await this.save("https://api.bilibili.com/x/v3/fav/folder/edit",{data:{...r,media_id:n},...t})}async delFavFolder(e,t){await this.save("https://api.bilibili.com/x/v3/fav/folder/del",{data:{media_ids:e.join(",")},...t})}async copyFavItems(e,t,n,r,s){await this.save("https://api.bilibili.com/x/v3/fav/resource/copy",{data:{src_media_id:e,tar_media_id:t,mid:n,resources:r,platform:"web"},...s})}async moveFavItems(e,t,n,r,s){await this.save("https://api.bilibili.com/x/v3/fav/resource/move",{data:{src_media_id:e,tar_media_id:t,mid:n,resources:r,platform:"web"},...s})}async batchDelFavItems(e,t,n){await this.save("https://api.bilibili.com/x/v3/fav/resource/batch-del",{data:{media_id:e,resources:t,platform:"web"},...n})}async cleanFavItems(e,t){await this.save("https://api.bilibili.com/x/v3/fav/resource/clean",{data:{media_id:e,platform:"web"},...t})}async favVideo(e,t,n,r){return await this.save("https://api.bilibili.com/x/v3/fav/resource/deal",{data:{rid:e,add_media_ids:t.join(","),del_media_ids:n.join(","),type:"2",platform:"web",eab_x:"1",ramval:"10",ga:"1",gaia_source:"web_normal"},...r})}};_t=rt(Zu),N(_t,1,"getFavFolders",E2,Nt),N(_t,1,"getFavFolderMeta",w2,Nt),N(_t,1,"fetchPage",_2,Nt),N(_t,1,"fetchPageWithNextParams",y2,Nt),N(_t,1,"fetchAll",v2,Nt),N(_t,1,"getFavIds",b2,Nt),N(_t,1,"addFavFolder",g2,Nt),N(_t,1,"updateFavFolder",m2,Nt),N(_t,1,"delFavFolder",h2,Nt),N(_t,1,"copyFavItems",p2,Nt),N(_t,1,"moveFavItems",d2,Nt),N(_t,1,"batchDelFavItems",f2,Nt),N(_t,1,"cleanFavItems",c2,Nt),N(_t,1,"favVideo",u2,Nt),st(_t,Nt);var A2,S2,x2,N2,I2,Ku,Ir,Jr=class extends(Ku=Qe,I2=[I()],N2=[I()],x2=[I()],S2=[I()],A2=[I()],Ku){constructor(){super(...arguments),ot(Ir,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v3/fav/folder/collected/list",new If({pageSize:50,...t},void 0,void 0,"count"),{query:{up_mid:e??this.currUserUid,platform:"web",web_location:"333.1387"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async add(e,t){await this.save("https://api.bilibili.com/x/v3/fav/season/fav",{data:{season_id:e,platform:"web"},...t})}async del(e,t){await this.save("https://api.bilibili.com/x/v3/fav/season/unfav",{data:{season_id:e,platform:"web"},...t})}};Ir=rt(Ku),N(Ir,1,"fetchPage",I2,Jr),N(Ir,1,"fetchPageWithNextParams",N2,Jr),N(Ir,1,"fetchAll",x2,Jr),N(Ir,1,"add",S2,Jr),N(Ir,1,"del",A2,Jr),st(Ir,Jr);var RB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){return r!==null&&r.data?r.data.has_more:!0}parsePageNum(t){if(t)return t.page}updateNextPageParams(t,n,r,s){n.page=t,n.page_size=this.options.pageSize}getList(t){return t.data.items}},C2,T2,R2,P2,B2,O2,Hu,tr,Cr=class extends(Hu=Qe,O2=[I()],B2=[I()],P2=[I()],R2=[I()],T2=[I()],C2=[I()],Hu){constructor(){super(...arguments),ot(tr,5,this)}buildPager(t,n){return this.createPager("https://api.bilibili.com/x/polymer/web-dynamic/v1/opus/feed/fav",new RB(t),{query:{platform:"web",web_location:"333.1387"},...n})}async fetchPage(t,n){return await this.buildPager(t,n).fetchNext()}async fetchPageWithNextParams(t,n){return await this.buildPager(t,n).fetchPageWithNextParams()}async fetchAll(t,n,r){return await this.buildPager(t,r).fetchAllPage(n)}async del(t,n){await this.post("https://api.bilibili.com/x/community/cosmo/interface/simple_action",{query:{csrf:this.clientConfig.context?.userCookie.bili_jct,gaia_source:"main_web"},data:JSON.stringify({"":{spmid:"444.42.0.0",from:"unknown",from_spmid:"333.1387.0.0"},action:4,entity:{object_id_str:t,type:{biz:2}}}),...n})}async addByCvId(t,n){await this.save("https://api.bilibili.com/x/article/favorites/add",{data:{id:t},...n})}async addByOpusId(t,n){let r=await this.get("https://api.bilibili.com/x/polymer/web-dynamic/v1/opus/detail",{query:{id:t},...n});await mi(200,300),await this.addByCvId(r.fallback.id)}};tr=rt(Hu),N(tr,1,"fetchPage",O2,Cr),N(tr,1,"fetchPageWithNextParams",B2,Cr),N(tr,1,"fetchAll",P2,Cr),N(tr,1,"del",R2,Cr),N(tr,1,"addByCvId",T2,Cr),N(tr,1,"addByOpusId",C2,Cr),st(tr,Cr);var _o={all:0},k2,F2,M2,L2,$2,W2,Xu,nr,Tr=class extends(Xu=Qe,W2=[I()],$2=[I()],L2=[I()],M2=[I()],F2=[I()],k2=[I()],Xu){constructor(){super(...arguments),ot(nr,5,this)}buildPager(t,n,r=_o.all,s,o){return this.createPager("https://api.bilibili.com/x/space/bangumi/follow/list",new za({pageSize:24,...s}),{query:{vmid:t??this.currUserUid,type:n,follow_status:r,platform:"web",web_location:"333.1387"},...o})}async fetchPage(t,n,r=_o.all,s,o){return await this.buildPager(t,n,r,s,o).fetchNext()}async fetchPageWithNextParams(t,n,r=_o.all,s,o){return await this.buildPager(t,n,r,s,o).fetchPageWithNextParams()}async fetchAll(t,n,r=_o.all,s,o,a){return await this.buildPager(t,n,r,s,a).fetchAllPage(o)}async fetchMyAll(t,n=_o.all,r,s,o){return this.fetchAll(this.currUserUid,t,n,r,s,o)}async add(t,n){await this.save("https://api.bilibili.com/pgc/web/follow/add",{data:{season_id:t,platform:"web"},...n})}async del(t,n){await this.save("https://api.bilibili.com/pgc/web/follow/del",{data:{season_id:t,platform:"web"},...n})}};nr=rt(Xu),N(nr,1,"fetchPage",W2,Tr),N(nr,1,"fetchPageWithNextParams",$2,Tr),N(nr,1,"fetchAll",L2,Tr),N(nr,1,"fetchMyAll",M2,Tr),N(nr,1,"add",F2,Tr),N(nr,1,"del",k2,Tr),st(nr,Tr);var PB=class extends Gt{constructor(e){super({pageSize:40,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data,s=r.page;if(io(r.list.vlist)||s.count<=t.length||s.count<=s.pn*s.ps)return!1}return!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data.list.vlist}},D2,V2,G2,zu,Ts,Io=class extends(zu=Qe,G2=[I()],V2=[I()],D2=[I()],zu){constructor(){super(...arguments),ot(Ts,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/space/wbi/arc/search",new PB(t),{query:{...e,platform:"web"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){let s=this.buildPager(e,t,r);return await s.fetchAllPage(n),s.lastApiResponse.data.list.vlist=s.list,s.lastApiResponse.data}};Ts=rt(zu),N(Ts,1,"fetchPage",G2,Io),N(Ts,1,"fetchPageWithNextParams",V2,Io),N(Ts,1,"fetchAll",D2,Io),st(Ts,Io);var Y2,U2,j2,Z2,Ju,Qr,ns=class extends(Ju=Qe,Z2=[I()],j2=[I()],U2=[I()],Y2=[I()],Ju){constructor(){super(...arguments),ot(Qr,5,this)}getOnlineCount(e,t){return this.get("https://api.bilibili.com/x/player/online/total",{query:{...this.resolveVideoId(e),cid:e.cid},...t})}getParts(e,t){return this.get("https://api.bilibili.com/x/player/pagelist",{query:{...this.resolveVideoId(e)},...t})}async getOwnParts(e,t){let n=await this.get("https://member.bilibili.com/x/vupre/web/archive/view",{query:{topic_grey:"1",bvid:e},...t});return n?.videos&&Array.isArray(n.videos)?n.videos:[]}getInfo(e,t){return this.get("https://api.bilibili.com/x/web-interface/wbi/view",{query:{...this.resolveVideoId(e)},...t})}};Qr=rt(Ju),N(Qr,1,"getOnlineCount",Z2,ns),N(Qr,1,"getParts",j2,ns),N(Qr,1,"getOwnParts",U2,ns),N(Qr,1,"getInfo",Y2,ns),st(Qr,ns);var BB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s.has_more!==void 0)return s.has_more}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data;n.offset=o.offset}}getList(t){return t.data.items}},K2,H2,X2,z2,Qu,qr,Rs=class extends(Qu=Qe,z2=[I()],X2=[I()],H2=[I()],K2=[I()],Qu){constructor(){super(...arguments),ot(qr,5,this)}buildDynamicPager(e,t,n){return this.createPager("https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all",new BB(t),{query:{...e,platform:"web",build:0,mobi_app:"web",web_location:"333.1365"},...n})}async fetchDynamicPage(e,t,n){return await this.buildDynamicPager(e,t,n).fetchNext()}async fetchDynamicPageWithNextParams(e,t,n){return await this.buildDynamicPager(e,t,n).fetchPageWithNextParams()}async fetchDynamicAll(e,t,n,r){return await this.buildDynamicPager(e,t,r).fetchAllPage(n)}async newUpdatesCount(e,t){return(await this.get("https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all/update",{query:{...e,web_location:"333.1365"},...t})).update_num}};qr=rt(Qu),N(qr,1,"fetchDynamicPage",z2,Rs),N(qr,1,"fetchDynamicPageWithNextParams",X2,Rs),N(qr,1,"fetchDynamicAll",H2,Rs),N(qr,1,"newUpdatesCount",K2,Rs),st(qr,Rs);var J2,Q2,q2,ey,ty,ny,ry,qu,kn,rr=class extends(qu=Qe,ry=[I()],ny=[I()],ty=[I()],ey=[I()],q2=[I()],Q2=[I()],J2=[I()],qu){constructor(){super(...arguments),ot(kn,5,this),this._videoInfoService=null}get videoInfoService(){return this._videoInfoService||(this._videoInfoService=new ns(this.api)),this._videoInfoService}getRelation(e,t){return this.get("https://api.bilibili.com/x/web-interface/archive/relation",{query:{...this.resolveVideoId(e)},returnFormat:"ApiResponse",ignoreBusinessError:!0,...t})}like(e,t){return this.save("https://api.bilibili.com/x/web-interface/archive/like",{data:{...this.resolveVideoId(e),like:e.like?"1":"2"},...t})}async hasLike(e,t){return await this.get("https://api.bilibili.com/x/web-interface/archive/has/like",{query:{...this.resolveVideoId(e)},...t})===1}dislike(e,t){return this.save("https://app.biliapi.net/x/v2/view/dislike",{data:{aid:e.avid,dislike:e.dislike?"0":"1"},...t})}async coin(e,t){let n=e.bvid;return n||(n=(await this.videoInfoService.getInfo(e)).bvid),this.save("https://api.bilibili.com/x/web-interface/coin/add",{data:{bvid:n,multiply:e.multiply,select_like:e.select_like??0,cross_domain:!0,from_spmid:"333.337.search-card.all.click",spmid:"333.788.0.0",statistics:'{"appId":100,"platform":5}',eab_x:2,ramval:0,source:"web_normal",ga:1},returnFormat:"ApiResponse",ignoreBusinessError:!0,...t,referer:`https://www.bilibili.com/video/${n}/?spm_id_from=333.1391.0.0`})}triple(e,t){return this.save("https://api.bilibili.com/x/web-interface/archive/like/triple",{data:{...this.resolveVideoId(e)},...t})}share(e,t){return this.save("https://api.bilibili.com/x/web-interface/share/add",{data:{...this.resolveVideoId(e),eab_x:1,ramval:316,source:"web_normal",ga:1},...t})}};kn=rt(qu),N(kn,1,"getRelation",ry,rr),N(kn,1,"like",ny,rr),N(kn,1,"hasLike",ty,rr),N(kn,1,"dislike",ey,rr),N(kn,1,"coin",q2,rr),N(kn,1,"triple",Q2,rr),N(kn,1,"share",J2,rr),st(kn,rr);var sy,ec,Ja,tc=class extends(ec=Qe,sy=[I()],ec){constructor(){super(...arguments),ot(Ja,5,this)}heartbeat(t,n,r){let s={params:{},body:{}},o=(i,l,u)=>{s.body[i]=s.params[u||"w"+i]=n[i]??t[u||"w"+i]??l};o("start_ts",Math.floor(Date.now()/1e3)),o("mid",this.currUserUid),o("aid",0),o("dt",2),o("realtime",0),o("played_time",0,"w_playedtime"),o("real_played_time",0),o("video_duration",180),o("last_play_progress_time",0);let a="https://www.bilibili.com/?spm_id_from=333.1365.0.0";return this.save("https://api.bilibili.com/x/click-interface/web/heartbeat",{query:{...s.params,web_location:1315873,...t},data:{quality:80,type:3,outer:0,statistics:'{"appId":100,"platform":5,"abtest":"","version":""}',max_play_progress_time:s.body.last_play_progress_time+s.body.played_time,refer_url:a,...s.body,mobi_app:"web",device:"web",platform:"web",cur_language_vt:"{}",perfer_type:"{}",play_mode:"1",spmid:"333.788.0.0",from_spmid:"333.1007.tianma.1-2-2.click",session:crypto.randomUUID().replace(/-/g,""),extra:'{"player_version":"4.8.36","play_method":3,"play_volume":1,"auto_play":0}',...n},init:{headers:{referer:a}},...r})}};Ja=rt(ec),N(Ja,1,"heartbeat",sy,tc),st(Ja,tc);var oy,ay,nc,Co,Qa=class extends(nc=Qe,ay=[I()],oy=[I()],nc){constructor(){super(...arguments),ot(Co,5,this)}getDailyTaskStatus(t){return this.get("https://api.bilibili.com/x/member/web/exp/reward",t)}getCoinTodayExp(t){return this.get("https://api.bilibili.com/x/web-interface/coin/today/exp",t)}};Co=rt(nc),N(Co,1,"getDailyTaskStatus",ay,Qa),N(Co,1,"getCoinTodayExp",oy,Qa),st(Co,Qa);var OB=class extends If{constructor(t,n="list",r){super(t,n),this.hasMoreKey=r}hasNextPage(t,n,r){return r!==null&&r.data?r.data[this.hasMoreKey]:!0}},iy,ly,uy,cy,rc,es,Ps=class extends(rc=Qe,cy=[I()],uy=[I()],ly=[I()],iy=[I()],rc){constructor(){super(...arguments),ot(es,5,this)}buildPopularPager(e,t){return this.createPager("https://api.bilibili.com/x/web-interface/popular",new OB({pageSize:20,...e},"list","no_more"),{query:{},...t})}async fetchPopularPage(e,t){return await this.buildPopularPager(e,t).fetchNext()}async fetchPageWithNextParams(e,t){return await this.buildPopularPager(e,t).fetchPageWithNextParams()}getPopularSeriesList(e){return this.get("https://api.bilibili.com/x/web-interface/popular/series/list",{...e})}getPopularSeriesInfo(e,t){return this.get("https://api.bilibili.com/x/web-interface/popular/series/one",{query:{number:e},...t})}};es=rt(rc),N(es,1,"fetchPopularPage",cy,Ps),N(es,1,"fetchPageWithNextParams",uy,Ps),N(es,1,"getPopularSeriesList",ly,Ps),N(es,1,"getPopularSeriesInfo",iy,Ps),st(es,Ps);var fy,dy,sc,To,qa=class extends(sc=Qe,dy=[I()],fy=[I()],sc){constructor(){super(...arguments),ot(To,5,this)}getNavNum(e,t){return this.get("https://api.bilibili.com/x/space/navnum",{query:{mid:e},...t})}getFavNum(e,t){return this.get("https://api.bilibili.com/x/space/fav/nav",{query:{mid:e},...t})}};To=rt(sc),N(To,1,"getNavNum",dy,qa),N(To,1,"getFavNum",fy,qa),st(To,qa);var py,hy,oc,Ro,ei=class extends(oc=Qe,hy=[I()],py=[I()],oc){constructor(){super(...arguments),ot(Ro,5,this)}getSpaceSettings(e){return this.get("https://api.bilibili.com/x/space/setting",{query:{web_location:"333.1387",mid:this.currUserUid},...e})}updatePrivacy(e,t){let n=Object.keys(e)[0],r=e[n];return this.save("https://api.bilibili.com/x/space/privacy/modify",{data:{field:n,value:r},...t})}};Ro=rt(oc),N(Ro,1,"getSpaceSettings",hy,ei),N(Ro,1,"updatePrivacy",py,ei),st(Ro,ei);var kB=(e="info")=>({timeout:5e3,userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",referer:"https://space.bilibili.com/10000",logLevel:e,logger:m0(e,(t,...n)=>{console[t](`[${new Date().toLocaleString()}]`,...n)}),autoMixinKey:!1}),my={method:"GET",skipWbiSign:!1,autoCsrf:!0,logRequestParams:!0},FB={...my,returnFormat:"ApiResponseData",ignoreBusinessError:!1},gy,by,ac,Po,ti=class extends(ac=Qe,by=[I()],gy=[I()],ac){constructor(){super(...arguments),ot(Po,5,this)}get userService(){return this.api.client.user}getPlayUrl(e,t){return this.get("https://api.bilibili.com/x/player/wbi/playurl",{query:{fnval:1,fourk:1,high_quality:1,gaia_source:"view-card ",...e},init:{headers:{referer:`https://www.bilibili.com/video/${e.bvid}/?spm_id_from=333.1391.0.0`}},...t})}async getBestQualityUrl(e,t){let n=await this.getPlayUrl({...e,fnval:4048,qn:129},t);if(n.quality===n.accept_quality[0])return n;let r=n.accept_quality[0];await mi(100,200);let s=await this.userService.getMyInfo(void 0,t);return await mi(100,200),s.vip.type===0&&n.accept_quality[0]>=80&&(r=80),this.getPlayUrl({...e,qn:r},t)}};Po=rt(ac),N(Po,1,"getPlayUrl",by,ti),N(Po,1,"getBestQualityUrl",gy,ti),st(Po,ti);var MB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data,o=s.page;if(io(s.replies)||o.count<=n.length||o.count<=o.num*o.size)return!1}return!0}updateNextPageParams(t,n,r,s){n.ps=this.options.pageSize,n.pn=t}getList(t){return t.data.replies}parsePageNum(t){if(t?.pn)return t?.pn}},LB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data,s=r.cursor;if(io(r.replies)||s.is_end)return!1}return!0}updateNextPageParams(e,t,n,r){if(r){let s=r.data;t.pagination_str=`{"offset":"${s.cursor.pagination_reply.next_offset}"}`}}getList(e){return e.data.replies}parsePageNum(e){}},vy,yy,_y,wy,Ey,Ay,Sy,xy,Ny,Iy,ic,Kt,sn=class extends(ic=Qe,Iy=[I()],Ny=[I()],xy=[I()],Sy=[I()],Ay=[I()],Ey=[I()],wy=[I()],_y=[I()],yy=[I()],vy=[I()],ic){constructor(){super(...arguments),ot(Kt,5,this)}buildSubReplyPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v2/reply/reply",new MB({...t}),{query:{...e,platform:"web",web_location:"333.1369"},...n,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async fetchSubReplyPage(e,t,n){return await this.buildSubReplyPager(e,t,n).fetchNext()}async fetchSubPageWithNextParams(e,t,n){return await this.buildSubReplyPager(e,t,n).fetchPageWithNextParams()}async fetchSubReplyAll(e,t,n,r){return await this.buildSubReplyPager(e,t,r).fetchAllPage(n)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v2/reply/wbi/main",new LB({...t}),{query:{...e,plat:1,seek_rpid:"",web_location:"1315875"},...n,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async del(e,t){await this.save("https://api.bilibili.com/x/v2/reply/del",{data:{...e},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async like(e,t){await this.save("https://api.bilibili.com/x/v2/reply/action",{data:{action:"1",...e,statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async hate(e,t){await this.save("https://api.bilibili.com/x/v2/reply/hate",{data:{action:"1",...e,statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async add(e,t){return await this.save("https://api.bilibili.com/x/v2/reply/add",{data:{...e,plat:"1",at_name_to_mid:"{}",gaia_source:"main_web",statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}};Kt=rt(ic),N(Kt,1,"fetchSubReplyPage",Iy,sn),N(Kt,1,"fetchSubPageWithNextParams",Ny,sn),N(Kt,1,"fetchSubReplyAll",xy,sn),N(Kt,1,"fetchPage",Sy,sn),N(Kt,1,"fetchPageWithNextParams",Ay,sn),N(Kt,1,"fetchAll",Ey,sn),N(Kt,1,"del",wy,sn),N(Kt,1,"like",_y,sn),N(Kt,1,"hate",yy,sn),N(Kt,1,"add",vy,sn),st(Kt,sn);var Q=mB("CghkbS5wcm90bxIgYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEiZAoGQXZhdGFyEgoKAmlkGAEgASgJEgsKA3VybBgCIAEoCRJBCgthdmF0YXJfdHlwZRgDIAEoDjIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkF2YXRhclR5cGUiIwoGQnViYmxlEgwKBHRleHQYASABKAkSCwoDdXJsGAIgASgJIsYBCghCdWJibGVWMhIMCgR0ZXh0GAEgASgJEgsKA3VybBgCIAEoCRJBCgtidWJibGVfdHlwZRgDIAEoDjIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1YmJsZVR5cGUSFQoNZXhwb3N1cmVfb25jZRgEIAEoCBJFCg1leHBvc3VyZV90eXBlGAUgASgOMi4uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRXhwb3N1cmVUeXBlIiYKBkJ1dHRvbhIMCgR0ZXh0GAEgASgJEg4KBmFjdGlvbhgCIAEoBSJYCg5CdXp6d29yZENvbmZpZxJGCghrZXl3b3JkcxgBIAMoCzI0LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1enp3b3JkU2hvd0NvbmZpZyJ4ChJCdXp6d29yZFNob3dDb25maWcSDAoEbmFtZRgBIAEoCRIOCgZzY2hlbWEYAiABKAkSDgoGc291cmNlGAMgASgFEgoKAmlkGAQgASgDEhMKC2J1enp3b3JkX2lkGAUgASgDEhMKC3NjaGVtYV90eXBlGAYgASgFInsKCENoZWNrQm94EgwKBHRleHQYASABKAkSPAoEdHlwZRgCIAEoDjIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkNoZWNrYm94VHlwZRIVCg1kZWZhdWx0X3ZhbHVlGAMgASgIEgwKBHNob3cYBCABKAgiPwoKQ2hlY2tCb3hWMhIMCgR0ZXh0GAEgASgJEgwKBHR5cGUYAiABKAUSFQoNZGVmYXVsdF92YWx1ZRgDIAEoCCKCAgoLQ2xpY2tCdXR0b24SFQoNcG9ydHJhaXRfdGV4dBgBIAMoCRIWCg5sYW5kc2NhcGVfdGV4dBgCIAMoCRIbChNwb3J0cmFpdF90ZXh0X2ZvY3VzGAMgAygJEhwKFGxhbmRzY2FwZV90ZXh0X2ZvY3VzGAQgAygJEkEKC3JlbmRlcl90eXBlGAUgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUmVuZGVyVHlwZRIMCgRzaG93GAYgASgIEjgKBmJ1YmJsZRgHIAEoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1YmJsZSLVAQoNQ2xpY2tCdXR0b25WMhIVCg1wb3J0cmFpdF90ZXh0GAEgAygJEhYKDmxhbmRzY2FwZV90ZXh0GAIgAygJEhsKE3BvcnRyYWl0X3RleHRfZm9jdXMYAyADKAkSHAoUbGFuZHNjYXBlX3RleHRfZm9jdXMYBCADKAkSEwoLcmVuZGVyX3R5cGUYBSABKAUSFwoPdGV4dF9pbnB1dF9wb3N0GAYgASgIEhUKDWV4cG9zdXJlX29uY2UYByABKAgSFQoNZXhwb3N1cmVfdHlwZRgIIAEoBSKhAQoJQ29tbWFuZERtEgoKAmlkGAEgASgDEgsKA29pZBgCIAEoAxILCgNtaWQYAyABKAkSDwoHY29tbWFuZBgEIAEoCRIPCgdjb250ZW50GAUgASgJEhAKCHByb2dyZXNzGAYgASgFEg0KBWN0aW1lGAcgASgJEg0KBW10aW1lGAggASgJEg0KBWV4dHJhGAkgASgJEg0KBWlkU3RyGAogASgJIlAKDURhbm1ha3VBSUZsYWcSPwoIZG1fZmxhZ3MYASADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1RmxhZyKtAgoLRGFubWFrdUVsZW0SCgoCaWQYASABKAMSEAoIcHJvZ3Jlc3MYAiABKAUSDAoEbW9kZRgDIAEoBRIQCghmb250c2l6ZRgEIAEoBRINCgVjb2xvchgFIAEoDRIPCgdtaWRIYXNoGAYgASgJEg8KB2NvbnRlbnQYByABKAkSDQoFY3RpbWUYCCABKAMSDgoGd2VpZ2h0GAkgASgFEg4KBmFjdGlvbhgKIAEoCRIMCgRwb29sGAsgASgFEg0KBWlkU3RyGAwgASgJEgwKBGF0dHIYDSABKAUSEQoJYW5pbWF0aW9uGBYgASgJEkIKCGNvbG9yZnVsGBggASgOMjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Db2xvcmZ1bFR5cGUiKQoLRGFubWFrdUZsYWcSDAoEZG1pZBgBIAEoAxIMCgRmbGFnGAIgASgNIksKEURhbm1ha3VGbGFnQ29uZmlnEhAKCHJlY19mbGFnGAEgASgFEhAKCHJlY190ZXh0GAIgASgJEhIKCnJlY19zd2l0Y2gYAyABKAUi5AYKGERhbm11RGVmYXVsdFBsYXllckNvbmZpZxIpCiFwbGF5ZXJfZGFubWFrdV91c2VfZGVmYXVsdF9jb25maWcYASABKAgSLAokcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfc3dpdGNoGAQgASgIEisKI3BsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX2xldmVsGAUgASgFEh8KF3BsYXllcl9kYW5tYWt1X2Jsb2NrdG9wGAYgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2Nrc2Nyb2xsGAcgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2NrYm90dG9tGAggASgIEiQKHHBsYXllcl9kYW5tYWt1X2Jsb2NrY29sb3JmdWwYCSABKAgSIgoacGxheWVyX2Rhbm1ha3VfYmxvY2tyZXBlYXQYCiABKAgSIwobcGxheWVyX2Rhbm1ha3VfYmxvY2tzcGVjaWFsGAsgASgIEh4KFnBsYXllcl9kYW5tYWt1X29wYWNpdHkYDCABKAISJAoccGxheWVyX2Rhbm1ha3Vfc2NhbGluZ2ZhY3RvchgNIAEoAhIdChVwbGF5ZXJfZGFubWFrdV9kb21haW4YDiABKAISHAoUcGxheWVyX2Rhbm1ha3Vfc3BlZWQYDyABKAUSJAocaW5saW5lX3BsYXllcl9kYW5tYWt1X3N3aXRjaBgQIAEoCBIpCiFwbGF5ZXJfZGFubWFrdV9zZW5pb3JfbW9kZV9zd2l0Y2gYESABKAUSLgomcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfbGV2ZWxfdjIYEiABKAUSmAEKKnBsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX2xldmVsX3YyX21hcBgTIAMoCzJkLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11RGVmYXVsdFBsYXllckNvbmZpZy5QbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsVjJNYXBFbnRyeRpLCilQbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsVjJNYXBFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBIo8IChFEYW5tdVBsYXllckNvbmZpZxIdChVwbGF5ZXJfZGFubWFrdV9zd2l0Y2gYASABKAgSIgoacGxheWVyX2Rhbm1ha3Vfc3dpdGNoX3NhdmUYAiABKAgSKQohcGxheWVyX2Rhbm1ha3VfdXNlX2RlZmF1bHRfY29uZmlnGAMgASgIEiwKJHBsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX3N3aXRjaBgEIAEoCBIrCiNwbGF5ZXJfZGFubWFrdV9haV9yZWNvbW1lbmRlZF9sZXZlbBgFIAEoBRIfChdwbGF5ZXJfZGFubWFrdV9ibG9ja3RvcBgGIAEoCBIiChpwbGF5ZXJfZGFubWFrdV9ibG9ja3Njcm9sbBgHIAEoCBIiChpwbGF5ZXJfZGFubWFrdV9ibG9ja2JvdHRvbRgIIAEoCBIkChxwbGF5ZXJfZGFubWFrdV9ibG9ja2NvbG9yZnVsGAkgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2NrcmVwZWF0GAogASgIEiMKG3BsYXllcl9kYW5tYWt1X2Jsb2Nrc3BlY2lhbBgLIAEoCBIeChZwbGF5ZXJfZGFubWFrdV9vcGFjaXR5GAwgASgCEiQKHHBsYXllcl9kYW5tYWt1X3NjYWxpbmdmYWN0b3IYDSABKAISHQoVcGxheWVyX2Rhbm1ha3VfZG9tYWluGA4gASgCEhwKFHBsYXllcl9kYW5tYWt1X3NwZWVkGA8gASgFEiYKHnBsYXllcl9kYW5tYWt1X2VuYWJsZWJsb2NrbGlzdBgQIAEoCBIkChxpbmxpbmVfcGxheWVyX2Rhbm1ha3Vfc3dpdGNoGBEgASgIEiQKHGlubGluZV9wbGF5ZXJfZGFubWFrdV9jb25maWcYEiABKAUSJgoecGxheWVyX2Rhbm1ha3VfaW9zX3N3aXRjaF9zYXZlGBMgASgFEikKIXBsYXllcl9kYW5tYWt1X3Nlbmlvcl9tb2RlX3N3aXRjaBgUIAEoBRIuCiZwbGF5ZXJfZGFubWFrdV9haV9yZWNvbW1lbmRlZF9sZXZlbF92MhgVIAEoBRKRAQoqcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfbGV2ZWxfdjJfbWFwGBYgAygLMl0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRGFubXVQbGF5ZXJDb25maWcuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyTWFwRW50cnkaSwopUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyTWFwRW50cnkSCwoDa2V5GAEgASgFEg0KBXZhbHVlGAIgASgFOgI4ASIwChZEYW5tdVBsYXllckNvbmZpZ1BhbmVsEhYKDnNlbGVjdGlvbl90ZXh0GAEgASgJIksKGERhbm11UGxheWVyRHluYW1pY0NvbmZpZxIQCghwcm9ncmVzcxgBIAEoBRIdChVwbGF5ZXJfZGFubWFrdV9kb21haW4YDiABKAIikAMKFURhbm11UGxheWVyVmlld0NvbmZpZxJhCh1kYW5tdWt1X2RlZmF1bHRfcGxheWVyX2NvbmZpZxgBIAEoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11RGVmYXVsdFBsYXllckNvbmZpZxJSChVkYW5tdWt1X3BsYXllcl9jb25maWcYAiABKAsyMy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllckNvbmZpZxJhCh1kYW5tdWt1X3BsYXllcl9keW5hbWljX2NvbmZpZxgDIAMoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11UGxheWVyRHluYW1pY0NvbmZpZxJdChtkYW5tdWt1X3BsYXllcl9jb25maWdfcGFuZWwYBCABKAsyOC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllckNvbmZpZ1BhbmVsItgEChREYW5tdVdlYlBsYXllckNvbmZpZxIRCglkbV9zd2l0Y2gYASABKAgSEQoJYWlfc3dpdGNoGAIgASgIEhAKCGFpX2xldmVsGAMgASgFEhAKCGJsb2NrdG9wGAQgASgIEhMKC2Jsb2Nrc2Nyb2xsGAUgASgIEhMKC2Jsb2NrYm90dG9tGAYgASgIEhIKCmJsb2NrY29sb3IYByABKAgSFAoMYmxvY2tzcGVjaWFsGAggASgIEhQKDHByZXZlbnRzaGFkZRgJIAEoCBINCgVkbWFzaxgKIAEoCBIPCgdvcGFjaXR5GAsgASgCEg4KBmRtYXJlYRgMIAEoBRIRCglzcGVlZHBsdXMYDSABKAISEAoIZm9udHNpemUYDiABKAISEgoKc2NyZWVuc3luYxgPIAEoCBIRCglzcGVlZHN5bmMYECABKAgSEgoKZm9udGZhbWlseRgRIAEoCRIMCgRib2xkGBIgASgIEhIKCmZvbnRib3JkZXIYEyABKAUSEQoJZHJhd190eXBlGBQgASgJEhoKEnNlbmlvcl9tb2RlX3N3aXRjaBgVIAEoBRITCgthaV9sZXZlbF92MhgWIAEoBRJhCg9haV9sZXZlbF92Ml9tYXAYFyADKAsySC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVdlYlBsYXllckNvbmZpZy5BaUxldmVsVjJNYXBFbnRyeRozChFBaUxldmVsVjJNYXBFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBIlkKCkRtQ29sb3JmdWwSPgoEdHlwZRgBIAEoDjIwLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtQ29sb3JmdWxUeXBlEgsKA3NyYxgCIAEoCSJBCg9EbUV4cG9SZXBvcnRSZXESEgoKc2Vzc2lvbl9pZBgBIAEoCRILCgNvaWQYAiABKAMSDQoFc3BtaWQYBCABKAkiEQoPRG1FeHBvUmVwb3J0UmVzIuMMChFEbVBsYXllckNvbmZpZ1JlcRIKCgJ0cxgBIAEoAxJFCgZzd2l0Y2gYAiABKAsyNS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1U3dpdGNoEk4KC3N3aXRjaF9zYXZlGAMgASgLMjkuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVN3aXRjaFNhdmUSWwoSdXNlX2RlZmF1bHRfY29uZmlnGAQgASgLMj8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVVzZURlZmF1bHRDb25maWcSYQoVYWlfcmVjb21tZW5kZWRfc3dpdGNoGAUgASgLMkIuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRTd2l0Y2gSXwoUYWlfcmVjb21tZW5kZWRfbGV2ZWwYBiABKAsyQS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsEkkKCGJsb2NrdG9wGAcgASgLMjcuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2NrdG9wEk8KC2Jsb2Nrc2Nyb2xsGAggASgLMjouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2Nrc2Nyb2xsEk8KC2Jsb2NrYm90dG9tGAkgASgLMjouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2NrYm90dG9tElMKDWJsb2NrY29sb3JmdWwYCiABKAsyPC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QmxvY2tjb2xvcmZ1bBJPCgtibG9ja3JlcGVhdBgLIAEoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VCbG9ja3JlcGVhdBJRCgxibG9ja3NwZWNpYWwYDCABKAsyOy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QmxvY2tzcGVjaWFsEkcKB29wYWNpdHkYDSABKAsyNi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1T3BhY2l0eRJTCg1zY2FsaW5nZmFjdG9yGA4gASgLMjwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVNjYWxpbmdmYWN0b3ISRQoGZG9tYWluGA8gASgLMjUuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdURvbWFpbhJDCgVzcGVlZBgQIAEoCzI0LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VTcGVlZBJXCg9lbmFibGVibG9ja2xpc3QYESABKAsyPi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1RW5hYmxlYmxvY2tsaXN0El4KGWlubGluZVBsYXllckRhbm1ha3VTd2l0Y2gYEiABKAsyOy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5JbmxpbmVQbGF5ZXJEYW5tYWt1U3dpdGNoElsKEnNlbmlvcl9tb2RlX3N3aXRjaBgTIAEoCzI/LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VTZW5pb3JNb2RlU3dpdGNoEmQKF2FpX3JlY29tbWVuZGVkX2xldmVsX3YyGBQgASgLMkMuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyIi8KC0RtU2VnQ29uZmlnEhEKCXBhZ2Vfc2l6ZRgBIAEoAxINCgV0b3RhbBgCIAEoAyLkAQoQRG1TZWdNb2JpbGVSZXBseRI8CgVlbGVtcxgBIAMoCzItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VFbGVtEg0KBXN0YXRlGAIgASgFEkAKB2FpX2ZsYWcYAyABKAsyLy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1QUlGbGFnEkEKC2NvbG9yZnVsU3JjGAUgAygLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Db2xvcmZ1bCKmAQoORG1TZWdNb2JpbGVSZXESCwoDcGlkGAEgASgDEgsKA29pZBgCIAEoAxIMCgR0eXBlGAMgASgFEhUKDXNlZ21lbnRfaW5kZXgYBCABKAMSFgoOdGVlbmFnZXJzX21vZGUYBSABKAUSCgoCcHMYBiABKAMSCgoCcGUYByABKAMSEQoJcHVsbF9tb2RlGAggASgFEhIKCmZyb21fc2NlbmUYCSABKAUiXQoNRG1TZWdPdHRSZXBseRIOCgZjbG9zZWQYASABKAgSPAoFZWxlbXMYAiADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1RWxlbSJMCgtEbVNlZ090dFJlcRILCgNwaWQYASABKAMSCwoDb2lkGAIgASgDEgwKBHR5cGUYAyABKAUSFQoNc2VnbWVudF9pbmRleBgEIAEoAyJdCg1EbVNlZ1NES1JlcGx5Eg4KBmNsb3NlZBgBIAEoCBI8CgVlbGVtcxgCIAMoCzItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VFbGVtIkwKC0RtU2VnU0RLUmVxEgsKA3BpZBgBIAEoAxILCgNvaWQYAiABKAMSDAoEdHlwZRgDIAEoBRIVCg1zZWdtZW50X2luZGV4GAQgASgDIt4GCgtEbVZpZXdSZXBseRIOCgZjbG9zZWQYASABKAgSOQoEbWFzaxgCIAEoCzIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlZpZGVvTWFzaxJBCghzdWJ0aXRsZRgDIAEoCzIvLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlZpZGVvU3VidGl0bGUSEwoLc3BlY2lhbF9kbXMYBCADKAkSRAoHYWlfZmxhZxgFIAEoCzIzLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VGbGFnQ29uZmlnEk4KDXBsYXllcl9jb25maWcYBiABKAsyNy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllclZpZXdDb25maWcSFgoOc2VuZF9ib3hfc3R5bGUYByABKAUSDQoFYWxsb3cYCCABKAgSEQoJY2hlY2tfYm94GAkgASgJEhoKEmNoZWNrX2JveF9zaG93X21zZxgKIAEoCRIYChB0ZXh0X3BsYWNlaG9sZGVyGAsgASgJEhkKEWlucHV0X3BsYWNlaG9sZGVyGAwgASgJEh0KFXJlcG9ydF9maWx0ZXJfY29udGVudBgNIAMoCRJBCgtleHBvX3JlcG9ydBgOIAEoCzIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkV4cG9SZXBvcnQSSQoPYnV6endvcmRfY29uZmlnGA8gASgLMjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQnV6endvcmRDb25maWcSQgoLZXhwcmVzc2lvbnMYECADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5FeHByZXNzaW9ucxI/Cgpwb3N0X3BhbmVsGBEgAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFBhbmVsEhUKDWFjdGl2aXR5X21ldGEYEiADKAkSQgoLcG9zdF9wYW5lbDIYEyADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5Qb3N0UGFuZWxWMiJYCglEbVZpZXdSZXESCwoDcGlkGAEgASgDEgsKA29pZBgCIAEoAxIMCgR0eXBlGAMgASgFEg0KBXNwbWlkGAQgASgJEhQKDGlzX2hhcmRfYm9vdBgFIAEoBSLEBAoORG1XZWJWaWV3UmVwbHkSDQoFc3RhdGUYASABKAUSDAoEdGV4dBgCIAEoCRIRCgl0ZXh0X3NpZGUYAyABKAkSPQoGZG1fc2dlGAQgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdDb25maWcSQQoEZmxhZxgFIAEoCzIzLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VGbGFnQ29uZmlnEhMKC3NwZWNpYWxfZG1zGAYgAygJEhEKCWNoZWNrX2JveBgHIAEoCBINCgVjb3VudBgIIAEoAxI/Cgpjb21tYW5kRG1zGAkgAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ29tbWFuZERtEk0KDXBsYXllcl9jb25maWcYCiABKAsyNi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVdlYlBsYXllckNvbmZpZxIdChVyZXBvcnRfZmlsdGVyX2NvbnRlbnQYCyADKAkSQgoLZXhwcmVzc2lvbnMYDCADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5FeHByZXNzaW9ucxI/Cgpwb3N0X3BhbmVsGA0gAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFBhbmVsEhUKDWFjdGl2aXR5X21ldGEYDiADKAkiKgoKRXhwb1JlcG9ydBIcChRzaG91bGRfcmVwb3J0X2F0X2VuZBgBIAEoCCJkCgpFeHByZXNzaW9uEg8KB2tleXdvcmQYASADKAkSCwoDdXJsGAIgASgJEjgKBnBlcmlvZBgDIAMoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBlcmlvZCJJCgtFeHByZXNzaW9ucxI6CgRkYXRhGAEgAygLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRXhwcmVzc2lvbiIqChlJbmxpbmVQbGF5ZXJEYW5tYWt1U3dpdGNoEg0KBXZhbHVlGAEgASgIIicKBUxhYmVsEg0KBXRpdGxlGAEgASgJEg8KB2NvbnRlbnQYAiADKAkiVwoHTGFiZWxWMhINCgV0aXRsZRgBIAEoCRIPCgdjb250ZW50GAIgAygJEhUKDWV4cG9zdXJlX29uY2UYAyABKAgSFQoNZXhwb3N1cmVfdHlwZRgEIAEoBSIkCgZQZXJpb2QSDQoFc3RhcnQYASABKAMSCwoDZW5kGAIgASgDIjAKH1BsYXllckRhbm1ha3VBaVJlY29tbWVuZGVkTGV2ZWwSDQoFdmFsdWUYASABKAgiMgohUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyEg0KBXZhbHVlGAEgASgFIjEKIFBsYXllckRhbm1ha3VBaVJlY29tbWVuZGVkU3dpdGNoEg0KBXZhbHVlGAEgASgIIikKGFBsYXllckRhbm1ha3VCbG9ja2JvdHRvbRINCgV2YWx1ZRgBIAEoCCIrChpQbGF5ZXJEYW5tYWt1QmxvY2tjb2xvcmZ1bBINCgV2YWx1ZRgBIAEoCCIpChhQbGF5ZXJEYW5tYWt1QmxvY2tyZXBlYXQSDQoFdmFsdWUYASABKAgiKQoYUGxheWVyRGFubWFrdUJsb2Nrc2Nyb2xsEg0KBXZhbHVlGAEgASgIIioKGVBsYXllckRhbm1ha3VCbG9ja3NwZWNpYWwSDQoFdmFsdWUYASABKAgiJgoVUGxheWVyRGFubWFrdUJsb2NrdG9wEg0KBXZhbHVlGAEgASgIIiQKE1BsYXllckRhbm1ha3VEb21haW4SDQoFdmFsdWUYASABKAIiLQocUGxheWVyRGFubWFrdUVuYWJsZWJsb2NrbGlzdBINCgV2YWx1ZRgBIAEoCCIlChRQbGF5ZXJEYW5tYWt1T3BhY2l0eRINCgV2YWx1ZRgBIAEoAiIrChpQbGF5ZXJEYW5tYWt1U2NhbGluZ2ZhY3RvchINCgV2YWx1ZRgBIAEoAiIuCh1QbGF5ZXJEYW5tYWt1U2VuaW9yTW9kZVN3aXRjaBINCgV2YWx1ZRgBIAEoBSIjChJQbGF5ZXJEYW5tYWt1U3BlZWQSDQoFdmFsdWUYASABKAUiOAoTUGxheWVyRGFubWFrdVN3aXRjaBINCgV2YWx1ZRgBIAEoCBISCgpjYW5faWdub3JlGAIgASgIIigKF1BsYXllckRhbm1ha3VTd2l0Y2hTYXZlEg0KBXZhbHVlGAEgASgIIi4KHVBsYXllckRhbm1ha3VVc2VEZWZhdWx0Q29uZmlnEg0KBXZhbHVlGAEgASgIIowDCglQb3N0UGFuZWwSDQoFc3RhcnQYASABKAMSCwoDZW5kGAIgASgDEhAKCHByaW9yaXR5GAMgASgDEg4KBmJpel9pZBgEIAEoAxJECghiaXpfdHlwZRgFIAEoDjIyLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBvc3RQYW5lbEJpelR5cGUSQwoMY2xpY2tfYnV0dG9uGAYgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2xpY2tCdXR0b24SPwoKdGV4dF9pbnB1dBgHIAEoCzIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRleHRJbnB1dBI9CgljaGVja19ib3gYCCABKAsyKi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5DaGVja0JveBI2CgV0b2FzdBgJIAEoCzInLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRvYXN0IssDCgtQb3N0UGFuZWxWMhINCgVzdGFydBgBIAEoAxILCgNlbmQYAiABKAMSEAoIYml6X3R5cGUYAyABKAUSRQoMY2xpY2tfYnV0dG9uGAQgASgLMi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2xpY2tCdXR0b25WMhJBCgp0ZXh0X2lucHV0GAUgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuVGV4dElucHV0VjISPwoJY2hlY2tfYm94GAYgASgLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2hlY2tCb3hWMhI4CgV0b2FzdBgHIAEoCzIpLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRvYXN0VjISOgoGYnViYmxlGAggASgLMiouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQnViYmxlVjISOAoFbGFiZWwYCSABKAsyKS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5MYWJlbFYyEhMKC3Bvc3Rfc3RhdHVzGAogASgFIikKCFJlc3BvbnNlEgwKBGNvZGUYASABKAUSDwoHbWVzc2FnZRgCIAEoCSL5AgoMU3VidGl0bGVJdGVtEgoKAmlkGAEgASgDEg4KBmlkX3N0chgCIAEoCRILCgNsYW4YAyABKAkSDwoHbGFuX2RvYxgEIAEoCRIUCgxzdWJ0aXRsZV91cmwYBSABKAkSOgoGYXV0aG9yGAYgASgLMiouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuVXNlckluZm8SPAoEdHlwZRgHIAEoDjIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlN1YnRpdGxlVHlwZRIVCg1sYW5fZG9jX2JyaWVmGAggASgJEkEKB2FpX3R5cGUYCSABKA4yMC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5TdWJ0aXRsZUFpVHlwZRJFCglhaV9zdGF0dXMYCiABKA4yMi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5TdWJ0aXRsZUFpU3RhdHVzIugCCglUZXh0SW5wdXQSHAoUcG9ydHJhaXRfcGxhY2Vob2xkZXIYASADKAkSHQoVbGFuZHNjYXBlX3BsYWNlaG9sZGVyGAIgAygJEkEKC3JlbmRlcl90eXBlGAMgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUmVuZGVyVHlwZRIYChBwbGFjZWhvbGRlcl9wb3N0GAQgASgIEgwKBHNob3cYBSABKAgSOAoGYXZhdGFyGAYgAygLMiguYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQXZhdGFyEkEKC3Bvc3Rfc3RhdHVzGAcgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFN0YXR1cxI2CgVsYWJlbBgIIAEoCzInLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkxhYmVsIvsBCgtUZXh0SW5wdXRWMhIcChRwb3J0cmFpdF9wbGFjZWhvbGRlchgBIAMoCRIdChVsYW5kc2NhcGVfcGxhY2Vob2xkZXIYAiADKAkSQQoLcmVuZGVyX3R5cGUYAyABKA4yLC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5SZW5kZXJUeXBlEhgKEHBsYWNlaG9sZGVyX3Bvc3QYBCABKAgSOAoGYXZhdGFyGAUgAygLMiguYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQXZhdGFyEhgKEHRleHRfaW5wdXRfbGltaXQYBiABKAUibwoFVG9hc3QSDAoEdGV4dBgBIAEoCRIQCghkdXJhdGlvbhgCIAEoBRIMCgRzaG93GAMgASgIEjgKBmJ1dHRvbhgEIAEoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1dHRvbiItCg1Ub2FzdEJ1dHRvblYyEgwKBHRleHQYASABKAkSDgoGYWN0aW9uGAIgASgFInMKB1RvYXN0VjISDAoEdGV4dBgBIAEoCRIQCghkdXJhdGlvbhgCIAEoBRJICg90b2FzdF9idXR0b25fdjIYAyABKAsyLy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5Ub2FzdEJ1dHRvblYyIlwKCFVzZXJJbmZvEgsKA21pZBgBIAEoAxIMCgRuYW1lGAIgASgJEgsKA3NleBgDIAEoCRIMCgRmYWNlGAQgASgJEgwKBHNpZ24YBSABKAkSDAoEcmFuaxgGIAEoBSJTCglWaWRlb01hc2sSCwoDY2lkGAEgASgDEgwKBHBsYXQYAiABKAUSCwoDZnBzGAMgASgFEgwKBHRpbWUYBCABKAMSEAoIbWFza191cmwYBSABKAkibwoNVmlkZW9TdWJ0aXRsZRILCgNsYW4YASABKAkSDgoGbGFuRG9jGAIgASgJEkEKCXN1YnRpdGxlcxgDIAMoCzIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlN1YnRpdGxlSXRlbSozCgpBdmF0YXJUeXBlEhIKDkF2YXRhclR5cGVOb25lEAASEQoNQXZhdGFyVHlwZU5GVBABKlkKCkJ1YmJsZVR5cGUSEgoOQnViYmxlVHlwZU5vbmUQABIZChVCdWJibGVUeXBlQ2xpY2tCdXR0b24QARIcChhCdWJibGVUeXBlRG1TZXR0aW5nUGFuZWwQAipYCgxDaGVja2JveFR5cGUSFAoQQ2hlY2tib3hUeXBlTm9uZRAAEhkKFUNoZWNrYm94VHlwZUVuY291cmFnZRABEhcKE0NoZWNrYm94VHlwZUNvbG9yRE0QAipMCglETUF0dHJCaXQSFAoQRE1BdHRyQml0UHJvdGVjdBAAEhUKEURNQXR0ckJpdEZyb21MaXZlEAESEgoORE1BdHRySGlnaExpa2UQAio1Cg5EbUNvbG9yZnVsVHlwZRIMCghOb25lVHlwZRAAEhUKD1ZpcEdyYWR1YWxDb2xvchDh1AMqPAoMRXhwb3N1cmVUeXBlEhQKEEV4cG9zdXJlVHlwZU5vbmUQABIWChJFeHBvc3VyZVR5cGVETVNlbmQQASrBAQoQUG9zdFBhbmVsQml6VHlwZRIYChRQb3N0UGFuZWxCaXpUeXBlTm9uZRAAEh0KGVBvc3RQYW5lbEJpelR5cGVFbmNvdXJhZ2UQARIbChdQb3N0UGFuZWxCaXpUeXBlQ29sb3JETRACEhkKFVBvc3RQYW5lbEJpelR5cGVORlRETRADEh0KGVBvc3RQYW5lbEJpelR5cGVGcmFnQ2xvc2UQBBIdChlQb3N0UGFuZWxCaXpUeXBlUmVjb21tZW5kEAUqOAoKUG9zdFN0YXR1cxIUChBQb3N0U3RhdHVzTm9ybWFsEAASFAoQUG9zdFN0YXR1c0Nsb3NlZBABKk4KClJlbmRlclR5cGUSEgoOUmVuZGVyVHlwZU5vbmUQABIUChBSZW5kZXJUeXBlU2luZ2xlEAESFgoSUmVuZGVyVHlwZVJvdGF0aW9uEAIqNgoQU3VidGl0bGVBaVN0YXR1cxIICgROb25lEAASDAoIRXhwb3N1cmUQARIKCgZBc3Npc3QQAiorCg5TdWJ0aXRsZUFpVHlwZRIKCgZOb3JtYWwQABINCglUcmFuc2xhdGUQASoeCgxTdWJ0aXRsZVR5cGUSBgoCQ0MQABIGCgJBSRABKk4KEVRvYXN0RnVuY3Rpb25UeXBlEhkKFVRvYXN0RnVuY3Rpb25UeXBlTm9uZRAAEh4KGlRvYXN0RnVuY3Rpb25UeXBlUG9zdFBhbmVsEAEyoAUKAkRNEnMKC0RtU2VnTW9iaWxlEjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdNb2JpbGVSZXEaMi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbVNlZ01vYmlsZVJlcGx5EmQKBkRtVmlldxIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtVmlld1JlcRotLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtVmlld1JlcGx5EnEKDkRtUGxheWVyQ29uZmlnEjMuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1QbGF5ZXJDb25maWdSZXEaKi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5SZXNwb25zZRJqCghEbVNlZ090dBItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtU2VnT3R0UmVxGi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdPdHRSZXBseRJqCghEbVNlZ1NESxItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtU2VnU0RLUmVxGi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdTREtSZXBseRJ0CgxEbUV4cG9SZXBvcnQSMS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbUV4cG9SZXBvcnRSZXEaMS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbUV4cG9SZXBvcnRSZXNiBnByb3RvMw");se(Q,0);se(Q,1);se(Q,2);se(Q,3);se(Q,4);se(Q,5);se(Q,6);se(Q,7);se(Q,8);se(Q,9);se(Q,10);se(Q,11);se(Q,12);se(Q,13);se(Q,14);se(Q,15);se(Q,16);se(Q,17);se(Q,18);se(Q,19);se(Q,20);se(Q,21);se(Q,22);se(Q,23);se(Q,24);se(Q,25);se(Q,26);se(Q,27);se(Q,28);se(Q,29);se(Q,30);se(Q,31);se(Q,32);se(Q,33);se(Q,34);se(Q,35);se(Q,36);se(Q,37);se(Q,38);se(Q,39);se(Q,40);se(Q,41);se(Q,42);se(Q,43);se(Q,44);se(Q,45);se(Q,46);se(Q,47);se(Q,48);se(Q,49);se(Q,50);se(Q,51);se(Q,52);se(Q,53);se(Q,54);se(Q,55);se(Q,56);se(Q,57);se(Q,58);se(Q,59);se(Q,60);se(Q,61);se(Q,62);se(Q,63);se(Q,64);se(Q,65);se(Q,66);se(Q,67);se(Q,68);se(Q,69);se(Q,70);se(Q,71);var $B=(e=>(e[e.AvatarTypeNone=0]="AvatarTypeNone",e[e.AvatarTypeNFT=1]="AvatarTypeNFT",e))($B||{});Qt(Q,0);var WB=(e=>(e[e.BubbleTypeNone=0]="BubbleTypeNone",e[e.BubbleTypeClickButton=1]="BubbleTypeClickButton",e[e.BubbleTypeDmSettingPanel=2]="BubbleTypeDmSettingPanel",e))(WB||{});Qt(Q,1);var DB=(e=>(e[e.CheckboxTypeNone=0]="CheckboxTypeNone",e[e.CheckboxTypeEncourage=1]="CheckboxTypeEncourage",e[e.CheckboxTypeColorDM=2]="CheckboxTypeColorDM",e))(DB||{});Qt(Q,2);var VB=(e=>(e[e.DMAttrBitProtect=0]="DMAttrBitProtect",e[e.DMAttrBitFromLive=1]="DMAttrBitFromLive",e[e.DMAttrHighLike=2]="DMAttrHighLike",e))(VB||{});Qt(Q,3);var GB=(e=>(e[e.NoneType=0]="NoneType",e[e.VipGradualColor=60001]="VipGradualColor",e))(GB||{});Qt(Q,4);var YB=(e=>(e[e.ExposureTypeNone=0]="ExposureTypeNone",e[e.ExposureTypeDMSend=1]="ExposureTypeDMSend",e))(YB||{});Qt(Q,5);var UB=(e=>(e[e.PostPanelBizTypeNone=0]="PostPanelBizTypeNone",e[e.PostPanelBizTypeEncourage=1]="PostPanelBizTypeEncourage",e[e.PostPanelBizTypeColorDM=2]="PostPanelBizTypeColorDM",e[e.PostPanelBizTypeNFTDM=3]="PostPanelBizTypeNFTDM",e[e.PostPanelBizTypeFragClose=4]="PostPanelBizTypeFragClose",e[e.PostPanelBizTypeRecommend=5]="PostPanelBizTypeRecommend",e))(UB||{});Qt(Q,6);var jB=(e=>(e[e.PostStatusNormal=0]="PostStatusNormal",e[e.PostStatusClosed=1]="PostStatusClosed",e))(jB||{});Qt(Q,7);var ZB=(e=>(e[e.RenderTypeNone=0]="RenderTypeNone",e[e.RenderTypeSingle=1]="RenderTypeSingle",e[e.RenderTypeRotation=2]="RenderTypeRotation",e))(ZB||{});Qt(Q,8);var KB=(e=>(e[e.None=0]="None",e[e.Exposure=1]="Exposure",e[e.Assist=2]="Assist",e))(KB||{});Qt(Q,9);var HB=(e=>(e[e.Normal=0]="Normal",e[e.Translate=1]="Translate",e))(HB||{});Qt(Q,10);var XB=(e=>(e[e.CC=0]="CC",e[e.AI=1]="AI",e))(XB||{});Qt(Q,11);var zB=(e=>(e[e.ToastFunctionTypeNone=0]="ToastFunctionTypeNone",e[e.ToastFunctionTypePostPanel=1]="ToastFunctionTypePostPanel",e))(zB||{});Qt(Q,12);var JB=gB(Q,0),QB=class extends Qe{async fetchAll(e,t){let n=(e.duration-1)/360+1,r=[];for(let s=1;s<=n;s++){let o=await this.api.fetchArrayBuffer("https://api.bilibili.com/x/v2/dm/web/seg.so",{query:{type:"1",oid:e.cid,segment_index:s},...t}),a=new Uint8Array(o),i=b1(JB.method.dmSegMobile.output,a);r.push(...i.elems??[]),s<n&&await mi(500,1111,t?.signal)}return r}},qB=class{get logger(){return this.config.logger}constructor(e){this.config={...kB(e?.logLevel),...e??{}},this.api=new oO(this),this.createPager=this.api.createPager,this.request=this.api.request,this.user=new mn(this.api),this.userExp=new Qa(this.api),this.relation=new $e(this.api),this.history=new Bn(this.api),this.session=new er(this.api),this.sessionSettings=new nn(this.api),this.message=new at(this.api),this.toview=new bn(this.api),this.fav=new Nt(this.api),this.favCollection=new Jr(this.api),this.favOpus=new Cr(this.api),this.followBangumi=new Tr(this.api),this.spaceVideo=new Io(this.api),this.spaceStatus=new qa(this.api),this.spaceSettings=new ei(this.api),this.dynamic=new Rs(this.api),this.videoInfo=new ns(this.api),this.videoAction=new rr(this.api),this.videoReport=new tc(this.api),this.videoRanking=new Ps(this.api),this.videoPlayer=new ti(this.api),this.comment=new sn(this.api),this.dm=new QB(this.api),Ry.setAutoRefresh(this.config.autoMixinKey)}updateRequestContext(e){this.config.context=e}},jl=null,Yh=()=>(jl||(jl=new qB),jl),Ii,Wa=null,Cy=0,Zl,Uh=1440*60*1e3,Ty=!1,Ry={get:async()=>Ii||(Wa||(Wa=nO().catch(()=>{Wa=null})),await Wa,Ii),setAutoRefresh(e){Ty=e}};function eO(e,t){return Math.floor(e/Uh)!==Math.floor(t/Uh)}var tO=[46,47,18,2,53,8,23,32,15,50,10,31,58,3,45,35,27,43,5,49,33,9,42,19,29,28,14,39,12,38,41,13,37,48,7,16,24,55,40,61,26,17,0,1,60,51,30,4,22,25,54,21,56,59,6,63,57,62,11,36,20,34,44,52],Py=(e,t)=>{let n=e+t;return tO.map(r=>n[r]).join("").slice(0,32)},nO=async()=>{await jh(),Zl||clearInterval(Zl),Ty&&(Zl=setInterval(()=>{eO(Cy,Date.now())&&jh()},3e5))},jh=async()=>{try{let e=Date.now(),t=(await(await fetch("https://api.bilibili.com/x/web-interface/nav")).json()).data,n=o=>new URL(o).pathname.split("/").pop().replace(/\.[^.]+$/,""),r=n(t.wbi_img.img_url),s=n(t.wbi_img.sub_url);Ii=Py(r,s),Yh().logger.info(`初始化 imgKey=${r} subKey=${s} mixinKey=${Ii}`),Cy=e}catch(e){throw Yh().logger.error("初始化 MixinKey 失败",e),e}};async function Zh(e,t){let n=Math.floor(Date.now()/1e3),r=t??await Ry.get();return`${vu(e)}&w_rid=${Z8(vu({...e,wts:n})+r)}&wts=${n}`}async function rO(e,t,n){try{return t||Object.keys(e).length===0?`${vu(e)}`:n?`${await Zh(e,Py(n.imgKey,n.subKey))}`:`${await Zh(e)}`}catch{throw new Error("查询参数无效")}}var sO=class extends N1{constructor(t,n,r){super(t),this.list=[],this.lastApiResponse=null,this.pageStrategy=n,n.options.pageNum!==void 0?this.nextPageNum=n.options.pageNum:this.nextPageNum=1;let{baseUrl:s,searchParams:o}=g0(r.url);this.requestParams=Object.assign(b0(o,r.query)),this.requestOptions={...r,url:s,query:this.requestParams,returnFormat:"ApiResponse"}}mergeRequestOptions(t){this.requestParams={...this.requestParams,...t?.query},this.requestOptions={...this.requestOptions,...t,query:this.requestParams,returnFormat:"ApiResponse"}}async fetchNext(t){if(this.mergeRequestOptions(t),!this.pageStrategy.hasNextPage(this.nextPageNum,this.list,this.lastApiResponse))return null;this.pageStrategy.updateNextPageParams(this.nextPageNum,this.requestParams,this.list,this.lastApiResponse),this.lastApiResponse===null&&(this.nextPageNum===1||this.nextPageNum===this.pageStrategy.options.pageNum)&&Object.assign(this.requestParams,this.pageStrategy.options.pageParams);let n=await this.get(this.requestOptions.url,this.requestOptions);if(this.lastApiResponse=n,n.data==null)return null;this.nextPageNum++;let r=this.pageStrategy.getList(n)??[];return r.length<=0?null:(this.list.push(...r),r)}async fetchPageWithNextParams(t){return{items:await this.fetchNext(t),nextParams:this.getNextPageParams(),hasNext:this.pageStrategy.hasNextPage(this.nextPageNum,this.list,this.lastApiResponse),pageSize:this.pageStrategy.options.pageSize,total:this.pageStrategy.getTotal?.(this.lastApiResponse)??void 0}}getRequestDelay(t){return typeof t?.delay=="function"?t.delay(this.nextPageNum):typeof t?.delay=="number"?t.delay:1122}async fetchAllPage(t,n){for(this.mergeRequestOptions(n),this.nextPageNum=1,this.list=[],this.lastApiResponse=null;!this.requestOptions.signal?.aborted;){let r=await this.fetchNext(n);if(r===null||t&&await t(r,this.list)===!1)break;await Os(this.getRequestDelay(n),this.requestOptions.signal)}return this.list}getNextPageParams(){let t={};return this.pageStrategy.updateNextPageParams(this.nextPageNum,t,this.list,this.lastApiResponse),t}getPageSize(){return this.pageStrategy.options.pageSize}},oO=class{constructor(e){this.client=e,this.logApiSuccess=(t,n,r,s)=>{if(n==="RawResponse")this.logger.info(`${t} 请求成功`);else{let o=s||this.isDebug?JSON.stringify(r):"";n==="ApiResponse"?this.logger.info(`${t} 请求成功`,o):this.logger.info(`${t} 请求成功`,o)}},this.logApiError=(t,n)=>{Lc(n)?this.logger.info(`${t} [${Ys(n)}]`):n instanceof $a?this.logger.info(`${t} [http error]:${n.message}(${n.status})`):n instanceof Vn?this.logger.info(`${t} ${n.message}`):this.logger.info(`${t} 出现未知错误`,n)},this.buildFinalUrl=async(t,n)=>{let{baseUrl:r,searchParams:s}=g0(t.url),o=b0(s,t.query),a=await rO(o,t.skipWbiSign,t.wbiSignKeys);return t.logRequestParams?this.logger.info(`${n} 请求中 ${a}`):this.logger.info(`${n} 请求中...`),a&&a.length>0?`${r}?${a}`:r},this.buildRequestBody=async t=>{let n=t.data;if(n)if(typeof n=="object"){if(!(n instanceof Blob)&&!(n instanceof URLSearchParams)&&!(n instanceof FormData)){let r={};Object.keys(n).forEach(function(s){if(n!=null){let o=n[s];o!=null&&(r[s]=String(o))}}),n=new URLSearchParams(r)}}else typeof n=="string"&&(t.init={...t.init},t.init.headers={...t.init.headers,"Content-Type":"application/json"});return t.method==="POST"&&n&&t.autoCsrf&&n instanceof URLSearchParams&&n.set("csrf",this.clientConfig.context?.userCookie.bili_jct??""),n},this.buildRequestInit=async(t,n)=>{let{context:r,userAgent:s,timeout:o,referer:a}=this.clientConfig;return{signal:t?.signal?AbortSignal.any([t?.signal,AbortSignal.timeout(o)]):AbortSignal.timeout(o),method:t.method,body:n,...t?.init??{},credentials:"include",headers:{"User-Agent":s,origin:"https://t.bilibili.com",cookie:t.cookie?.cookie||r?.userCookie.cookie||"",Referer:t.referer??(typeof a=="function"?a(t.url):a),...t?.init?.headers??{}}}},this.executeRequest=async(t,n)=>{t.url=await this.buildFinalUrl(t,n);let r=await this.buildRequestBody(t);r&&this.logger.debug(`${n} 请求体`,JSON.stringify(r));let s=await this.buildRequestInit(t,r);return await(this.clientConfig.fetcher??fetch)(t.url,s)},this.request=async(t,n)=>{if(n?.signal?.aborted)throw Gs();let r={...FB,url:t,...n},s=this.buildLogPrefix(r);try{let o=await this.executeRequest(r,s);if(!o.ok)throw new $a(this.clientConfig,r,o);if(r.returnFormat==="RawResponse")return this.logApiSuccess(s,"RawResponse",o,r.logResponseData),o;let a;try{a=await o.json()}catch(i){throw new $a(this.clientConfig,r,o,"解析响应数据错误",i)}if(!r.ignoreBusinessError&&a.code!==0)throw new x1(this.clientConfig,r,a);return r.returnFormat==="ApiResponse"?(this.logApiSuccess(s,"ApiResponse",a,r.logResponseData),a):(this.logApiSuccess(s,"ApiResponseData",a.data,r.logResponseData),a.data)}catch(o){throw this.logApiError(s,o),o}},this.fetchRaw=async(t,n)=>{if(n?.signal?.aborted)throw Gs();let r={...my,url:t,...n},s=this.buildLogPrefix(r),o=r.responseType;try{let a=await this.executeRequest(r,s);if(!a.ok)throw new $a(this.clientConfig,r,a);return this.logApiSuccess(s,"RawResponse",a,r.logResponseData),o==="json"?await a.json():o==="text"?await a.text():o==="blob"?await a.blob():o==="arrayBuffer"?await a.arrayBuffer():await a.formData()}catch(a){throw this.logApiError(s,a),a}},this.fetchText=async(t,n)=>this.fetchRaw(t,{...n,responseType:"text"}),this.fetchBlob=async(t,n)=>this.fetchRaw(t,{...n,responseType:"blob"}),this.fetchArrayBuffer=async(t,n)=>this.fetchRaw(t,{...n,responseType:"arrayBuffer"}),this.fetchFormData=async(t,n)=>this.fetchRaw(t,{...n,responseType:"formData"}),this.get=async(t,n)=>this.request(t,{...n,method:"GET"}),this.post=async(t,n)=>this.request(t,{...n,method:"POST"}),this.save=async(t,n)=>this.request(t,{...n,method:"POST",skipWbiSign:!1,autoCsrf:!0}),this.createPager=(t,n,r)=>new sO(this,n,{url:t,...r})}get clientConfig(){return this.client.config}get logger(){return this.clientConfig.logger}get isDebug(){return this.clientConfig.logLevel==="debug"}buildLogPrefix(e){let t=this.clientConfig.context?.userCookie.uid;return`[bili API]${t?` [${t}]`:""} ${e.method} ${new URL(e.url).pathname}`}},aO=class extends vS{constructor(e,t){super(e,t),this.name=new.target.name,Object.setPrototypeOf(this,new.target.prototype)}};const Gr=xS();var bt=(e,t,n,r="srgb",s)=>`color-mix(in ${r}, ${e} ${n}%, ${t} ${100-n}%)`,By=e=>{let t=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return{r:t,g:n,b:r}},iO=(e,t)=>{document.documentElement.style.setProperty(e,t)};const Kh="#ffffff",Hh="#000000",Kl=(e,t,n)=>{const{r,g:s,b:o}=By(e);for(let a=2;a<100;){const i=a/100;t[`${n}-transparent-${a}`]=`rgba(${r}, ${s}, ${o}, ${i})`,a>=10?a+=5:a++}},lO=(e,t,n)=>{const r={};n?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark");const s=r["--app-color-foreground"]=n?Kh:Hh,o=r["--app-color-background"]=n?Hh:Kh;r["--app-primary-color"]=e,r["--el-color-primary"]=e,r["--el-color-primary-light-1"]=bt(e,o,90),r["--el-color-primary-light-2"]=bt(e,o,80),r["--el-color-primary-light-3"]=bt(e,o,70),r["--el-color-primary-light-4"]=bt(e,o,60),r["--el-color-primary-light-5"]=bt(e,o,50),r["--el-color-primary-light-6"]=bt(e,o,40),r["--el-color-primary-light-7"]=bt(e,o,30),r["--el-color-primary-light-8"]=bt(e,o,20),r["--el-color-primary-light-9"]=bt(e,o,12),r["--el-color-primary-dark-1"]=bt(e,s,90),r["--el-color-primary-dark-2"]=bt(e,s,80),r["--el-color-primary-dark-3"]=bt(e,s,70),r["--el-color-primary-dark-4"]=bt(e,s,60),r["--el-color-primary-dark-5"]=bt(e,s,50),r["--el-color-primary-dark-6"]=bt(e,s,40),r["--el-color-primary-dark-7"]=bt(e,s,30),r["--el-color-primary-dark-8"]=bt(e,s,20),r["--el-color-primary-dark-9"]=bt(e,s,12);const{r:a,g:i,b:l}=By(e);r["--app-bg-color-overlay"]=`rgba(${a}, ${i}, ${l}, 0.05)`,r["--app-bg-color-overlay-hover"]=`rgba(${a}, ${i}, ${l}, 0.15)`,r["--app-bg-color-page"]=n?"var(--el-fill-color-blank)":"transparent",r["--app-bg-color-menus"]="var(--app-bg-color-page)",n?r["--app-text-shadow"]=" 0px 1px 2px rgba(255, 255, 255, .4)":r["--app-text-shadow"]=" 0px 1px 2px rgba(0, 0, 0, .4)",Kl(e,r,"--app-color-primary"),Kl(o,r,"--app-color-background"),Kl(s,r,"--app-color-foreground");for(const u in r)iO(u,r[u])},uO=async e=>{const t=e??(await Gr.system.getAppThemeState()).themeMode;return t==="system"?await Gr.system.shouldUseDarkColors():t==="dark"},Xh=async e=>{const t=e??await Gr.system.getAppThemeState(),n=await uO(t.themeMode);lO(t.primaryColor,t.themeMode,n)},Oy=Xg("biliToolkit-ui-theme",()=>{const e=In(YE);let t=!1;const n=async(s,o)=>{const a=await window.toolkitApi.system.getAppThemeState();Object.assign(e,a),await Xh(a),s&&o&&(t=!0,Ie(()=>e,i=>{const l=h0(i);window.toolkitApi.db.write(s,l).then(async()=>{await window.toolkitApi.event.emit(o,l)})},{deep:!0}))};window.toolkitApi.event.onUpdateAppTheme(s=>{t||Object.assign(e,s),Xh(s).then()}).catch();const r=s=>(e.primaryColor=s,e.primaryColor);return{init:n,state:e,switchThemeColor:()=>{e.primaryColorIndex=(e.primaryColorIndex+1)%Do.primaryColors.length;const s=Do.primaryColors[e.primaryColorIndex];return r(s)},setPrimaryColor:r}},{persist:!1}),ky=Xg("biliToolkit-ui-selected-user",()=>{const e=J(null),t=async()=>{try{e.value=(await window.toolkitApi.db.init(wd.UI_SELECTED_USER))?.user??null}catch{}};return Ie(()=>e.value,async n=>{await window.toolkitApi.db.write(wd.UI_SELECTED_USER,{user:n!=null?h0(n):null})},{deep:!0}),{init:t,user:e,deleteUser:()=>{e.value=null},setUser:n=>{e.value=n},assertLoggedIn:()=>{if(e.value==null)throw new Error("请先登录")}}}),cO=async(e,t)=>(Promise.resolve({}),Promise.resolve({}),Promise.resolve({}),await Oy(e).init(t?.appThemeDBName,t?.appThemeUpdateEvent),await ky(e).init(),{install(n){}});function fO(e){Gr.system.saveLog({level:"error",data:[JSON.stringify($c(e))]}).catch()}function zh(e,t){return e==null?!1:e instanceof t||typeof e=="object"&&"name"in e&&e.name===t.name}const lc=e=>{if(!Lc(e))if(e){console.error(e);const t=()=>{Gr&&Gr.system&&fO(e)};zh(e,aO)?ni(`${e.message}`):zh(e,x1)?(ni(`${e.message} (${e.responseCode})`),t()):(ni(Ys(e)),t())}else Fy({message:"未知错误",type:"error"})};function Fy(e){const t={message:"",type:"success",duration:3e3};typeof e=="string"?t.message=e:Object.assign(t,e),B8(t)}function ni(e){Fy({message:e,type:"error"})}const Vk=e=>{const t=J(!1);let n=null;const r=J(!1);return{loading:t,hasLoaded:r,loadingData:s=>async(...o)=>(n=(async()=>{t.value=!0;try{return typeof s=="function"?await s(...o):await s}finally{t.value=!1,r.value=!0,n=null}})(),n)}},dO=de({__name:"AppIcon",props:{icon:{}},setup(e){const t=e,n=Oy(),r=T(()=>n.state.dark?`ri-${t.icon}-fill`:`ri-${t.icon}-line`);return(s,o)=>(X(),ye("i",{class:Oe([r.value,"icon-font"])},null,2))}}),My=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pO={class:"tooltip"},hO={class:"label"},Ly=de({__name:"AppTooltip",props:{content:{},lines:{default:1},ellipsis:{default:"right"},iconClass:{}},setup(e){cE(i=>({v22da9023:A(n)}));const t=e,n=t.lines,r=()=>({"txt-ellipsis-right":t.ellipsis==="right","txt-ellipsis-left":t.ellipsis==="left","single-line":t.lines===1}),s=J(!1),o=iw("refContent"),a=new ResizeObserver(()=>{o.value&&(t.lines===1?s.value=o.value.scrollWidth>o.value.clientWidth:s.value=o.value.scrollHeight>o.value.clientHeight)});return it(()=>{o.value&&a.observe(o.value)}),ma(()=>{a.disconnect()}),(i,l)=>{const u=wa;return X(),ye("div",pO,[fe("div",hO,[e.iconClass?(X(),xe(dO,{key:0,icon:e.iconClass},null,8,["icon"])):ze("",!0)]),e.content?(X(),xe(u,{key:0,effect:"light",content:e.content,placement:"top",disabled:!s.value,"show-after":800},{content:he(()=>[we(i.$slots,"tooltipContent")]),default:he(()=>[fe("div",Vt({ref_key:"refContent",ref:o},i.$attrs,{class:["tooltip__content",r()]}),[fe("span",null,[we(i.$slots,"default",{},()=>[Yn($t(e.content),1)])])],16)]),_:3},8,["content","disabled"])):ze("",!0)])}}}),$y="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Wy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Dy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Vy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Gy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Yy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e",uc="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAC0ALQDAREAAhEBAxEB/8QAHAABAAMAAwEBAAAAAAAAAAAAAAUGBwECBAMJ/8QASBAAAQMCAgQHDQUHAgcAAAAAAQACAwQFBhEHEiExEyJBUWGR0RQVFjZVcXSBk5ShsdIyQlJUwVZicnOCkrMjQyQmM0VThLL/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAQIDBP/EAB8RAQEAAgMAAwEBAAAAAAAAAAABAhESITEiMlFBQv/aAAwDAQACEQMRAD8A/RVetyEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQdBPAZTAJmGRozLA4awHmRHdFEBAQEHSKeGcF0EzJADkSxwOR5tiI7oogICAgICAgICAgICAgICDFrxT3rDd+fNNLIypEhljnB/6gJ39PSPUteuF3K0nCWLKbEdNwcmrFWxD/Uj5HfvN6Pks2OuOW1gRoQN20oM5xvjgzGSz2ab/T2tnnaftc7Wnm5zyqyOWWW+o76MLXco5pro8ujo5I+Da0/7rs946Bt29KUwl9aGo6iAgICAgICAgICAgIOHvZGwySPDWtGZcTkAEEPNjPDFO8xyXiEkHI6oLh1gFNM8o+fhzhXyuz2b+xDlEdfb5gfEFE6jrLowEbY5BG/WjdzjZ8E7S3Gs0jqJrXX8Pb6vjwSHg5mZgOyO/I8h5itOXjTLLpEs1XRNddqgUlS3ivbquLXdIyB2dCmnWZz+pDw5wr5XZ7N/YovKKnjPHja2N1ssczuAcMpZwCC8fhGe0DnVkYyy31Fdw1S2Oet4W/1zYKeLI6mq4mU82wbBzq1ma320yPGuEYY2xRXSNjGANa0RPAA5tyy68o7eHOFfK7PZv7EOUe633+y3V2pQXKGZ+WeoHZO6jtTSyyveiiAgICAgICAgIOHOaxpe9wa1ozJO4BBmdxuF2x9eHWq1yGKgiOZJ2N1R993PnyBXxytud1Es7R3he307X3S6TNPLI6VkbT5gR+qbXhJ6+Hgpo8Gzv+PfI+xN1OOP648FdHf7QN98j7E3Tjj+ngro7/aBvvkfYm6ccf08FtHf7QD3yPsTdXjj+uwwlo+O0X4e+R9ibqccf08EtH3l4e+R9ibpxx/TwS0fD/vw98j7E3Tjj+ngno98vj3yPsTdOOP65ZhHR/I4MZfQ5x3AVke34JunHH9dLvo2ZDB3bh2tlMsY12se4Eu/hcMsim1uH4kcC4rmuzH2q6O/42nGxx2GRo2HPpHKli45b6q3KNiAgICAgICAgr2Pa59BhmpMZIdOWwAjkDt/wBSM53URei2BjLPV1OqNaSo1S7lya0bPiVazh4k7Jbaa8R+EF2gZUz1JcYWyDWbDFmQ1rQdm7aTzlRZN91L957R5Ko/YN7Ea1DvPaPJVH7BvYhqHee0eSqP2DexDUO89o8lUfsG9iGod57R5Ko/YN7ENQ7z2jyVR+wb2Iah3ntHkqj9g3sQ1DvPaPJVH7BvYhqOr7JZpGlj7TRlrhkRwDexDUR1oidZr3NYonuNFJB3VTNcSeC42q5gPNmQR50SdXSk3SY2bSKZ4QGN7pjJA3ZPA1uvMq/xzvWTVFHYQEBAQEBAQEFT0m+LbfSWfJyRjPxxo0blhl5/FUSH4NVph4mcLZeD1Bl/4QpVx8SiNCAgICAgICAgipMvCmD0CT/IxGf8ATPccDLGpPOYD8AtRzy+zV1l2EBAQEBAQEBBU9Jvi230lnyckYz8ddGhPgzJnyVEn/wAtVqYeJnChzw5bzzwhStY+JVGnlr7rbbXHwlwrYYAd2u7InzDeUS2T1W6nSbh+GZscMdTOzPjPawAAdGZBKumecWuCeKphZUQPD45Gh7XDcQdyjXruiq/ijGFLhl8EL6d1RLNm4sa/V1W8+7n+SSbZyy4vhbdImHa4hk0slG88kzeL/cMx15JpJnKskE8FTGJqeZksbtzmODgfWEa9d0VESnLFdMOegl/yMRn/AEz7G5Jxs8czoAP7Wqzxzy+zWFHYQEBAQEBAQEFT0m+LbfSWfJyRjPxxo2GWGHnnnkPwCtMPEvhPxbt/8hqlXHxUMYY6u1NcZ7TbMqZkB1HSaub3Hoz3BWRjLK70pQbcLrVEgT1dRIdu97z+qrHdW2xaNK+r1Z7zL3LEdvBNyMh8/I34qbbmFvrSKOkgoaWKjpmlsULAxgJzyAUdJ0+qKgcT4QocStZJJK6CpiaWslaM8xzEcoSXTOWPJnl4wLf7SS8U3dUI/wByDjZedu8LW3O42I213q62OfhKCqkhOfGYdrXedp2IzLY1rCV8qMQWgV9VTCGQSGM6ueq/IDjDPk25epZrtjdx2m8bKX0Cb/IxD+s/xwAMakjlMB+AWo55fZq6y7CAgICAgICAgqek3xbb6Sz5OSMZ+ONHGzCzv50nyCtMPEvhPxbt38hqlXHxzcMLWG6Vnd9fQNlm1Q0kucAQN2YB2psuMvb30lDR0MfBUVLFAz8MbA0fBF1p9kV84KmnqWudTzslDHFjixwOThvBy5UQhqqapLxT1EcvBO1H6jgdV3MctxQ24gqqapMgp52SGJ5jk1XZ6rhvB6UH1RXir7JaLnn3fboJifvOZxusbUSyV6KWlpqKBlLSQMhiYMmsYMgEPEZN420voE3+RiJ/VBxz46ex+QWo55fZqyy7CAgICAgICAgqek3xbb6Sz5OSMZ+OdHLf+Vh+9NJ+itMPEthQauHLe3mhAUq4+JVGhAQVmfDN2oKueowvc4qSOrOtNBMzWYH/AIm78j0JtjjZ48lPgu82hp7xX/gnVEYbVGVmes/bxm8289qu042eVP2Cw01gozTQSPlfI4ySyvPGkeeVRqTSSRoQEERK3PFdM7P7NBL8ZGIz/VCx2MsZtPOIStRzy+zVFl2EBAQEBAQEBBVNJjScN5jkqGE9RVjGfjro0l4TDb4xvjqHt6wD+qUw8TGFXB2HqHnbHqnoIJBHWpVx8SqNCAgICAgICAgiHvDsWxRt2llveXdGcjcvkUZ/0oGNHGoxwImbS18EY8+Q7VqeOeX2assuwgICAgICAgIPBfrYLxaKq3HIOlZxCeRw2t+ICJZuaUXR7e4rPV1NhuZEBlkzYX7MpBsLT58h1K1zwuuquRttyt88stllpzDO4yPpp8w1rzvLHN3Z7yMiM1G9WeBmxXnsobXl6Q/6EPkcNiv8hbPeX/QnR8jhsWeT7X7y/wChOj5HDYs/IWv3l/0J0fJ2EuKeWitg/wDYf9CHZwuKPyds9u/6UOzhcU/krZ7w/wClDtxwuKvyVs94k+hDtwJcWO2dxWtmf3uHkdl6tUZofJxBFT4fpqq73mubJPLk6ect1RkPssYOYcg3klDzuqRhqCbFWMpb3JDq08MnDuzGwZbGN8+wdRV8Yx+V209R1EBAQEBAQEBAQVbFmBqe/PNdRSNp6zLJxI4knn5j0qysZY78VUWTSNbwKWnkrODZ9ngqkFvq2p0xrKORQ6TCcg+4+uoH1J0ayfCvGkG2U7quuq66KFmWbzUgjbu3FXovKPLbbljS7yPittxrp3xjWc1s+0Dn2lOknK+PZURaRqWCSpqJ7iyKJpe9xn2ADed6nS/KPFbrrjK7Tmmt1zrp5WtLy1s5zy59p6Qr0ktvj3S0+kiCJ8001xYyNpc5xqNgA3nep0uskbR33FdfUspKS71sk0hyY3hyMzzbSqm7UsaDSaNvCXH3kfUp0usnHcOkz8dy94H1J0ayfSDBmL79Mw3yrkiib96eXXcB0NB39Sbi8bfWhWez0VjomUNDHqsbtc4/ae7lJKjpJp7UUQEBAQEBAQEBAQEBBnOlC7l89PZYn8WMcNKB+I/ZHVmfWrHLO/xWcK3c2S+U9Y52URdwcv8AAdh6t/qVrON1WiaRLgKXDb4mP41W9sQy5R9o/AfFZjpnelDwLWdx4noyTk2YmE/1DIfHJarnjdVddJN67htLbZE/KWtOTst4jG/rOQ61I6Z3U0y6KWSCVk0Ty18bg5rhvBG4quTcMP3aO92inuLMg6RuUgH3XjY4day7y7m0giiAgICAgICAgICAgICAg6yyxwRPmlcGsjaXOJ5ABmSiMKu9wkutzqbjJnnPIXAczeQeoZBacLd3byIJi8Ygmu9rttDMSXUTHMcT97cGn+0BFt3EZSVDqSqhqmfahkbIPODmiJDFF6dfbzPXAnggeDhB5GDd17T60i27u0UiLxowvPAVs1mlfxKgcJFnyPA2j1j5KVvC96aUo6iAgICAgICAgICAgICAgrGkO6d78PSQMdlJWOEI/h3u+Ay9aRjO6jJFpyEBAQEBB6LdWy26vp6+E8eCRrx05HchLpu1NURVdPFVQu1o5mB7TzgjMLLv6+iKICAgICAgICAgICAgIMs0m3Luq9x0DHZso4wCP33bT8NVWOOd3VQVZEBAQEBAQato2ubq2xGjkOb6J+oP4DtH6j1KV1wvS2KNiAgICAgICAgICAgIOskjIo3SyHJrAXOPMAiMIuda+43Gprnk5zyuf5gTsHUtOF7eZAQEBAQEBBa9G9y7jv8A3I92UdYws/qG0fqPWpWsLqtXUdhAQEBAQEBAQEBAQEEViuV8GG7jJGcncA4Z+fZ+qRnLxiS04iAgICAgICD22SV8N4oZYzk5tRGQf6glJ63VZegQEBAQEBB//9k=",mO={class:"user-card"},gO={class:"user-card__face-wrapper"},bO=["src"],vO={key:0,class:"user-card--blocked"},yO={class:"user-card__info"},_O={class:"user-card__row"},wO=["src"],EO={class:"user-card__row"},AO={class:"user-card__uid"},SO={class:"user-card__row"},xO={class:"user-card__stat__item"},NO={class:"user-card__stat__value"},IO={class:"user-card__stat__item"},CO={class:"user-card__stat__value"},TO={class:"user-card__stat__item"},RO={class:"user-card__stat__value"},PO=de({__name:"BiliUserCard",props:{user:{}},setup(e){const t=e,n=T(()=>t.user.face||uc),r=T(()=>new URL(Object.assign({"../../assets/images/user_level/level_1.svg":$y,"../../assets/images/user_level/level_2.svg":Wy,"../../assets/images/user_level/level_3.svg":Dy,"../../assets/images/user_level/level_4.svg":Vy,"../../assets/images/user_level/level_5.svg":Gy,"../../assets/images/user_level/level_6.svg":Yy})[`../../assets/images/user_level/level_${t.user.level}.svg`],import.meta.url).href);return(s,o)=>{const a=Ly;return X(),ye("div",mO,[we(s.$slots,"default"),fe("div",gO,[fe("img",{class:"user-card__face",alt:"face",src:n.value},null,8,bO),e.user.silence===1?(X(),ye("span",vO,"账号已封禁")):ze("",!0)]),fe("div",yO,[fe("div",_O,[Ae(a,{class:"user-card__name",content:e.user.name},null,8,["content"]),fe("img",{class:"user-card__level",src:r.value,alt:"level"},null,8,wO)]),fe("div",EO,[o[0]||(o[0]=fe("span",{class:"user-card__uid-icon"},null,-1)),fe("span",AO,$t(e.user.mid),1)]),fe("div",SO,[fe("span",xO,[fe("span",NO,$t(e.user.following),1),o[1]||(o[1]=fe("span",{class:"user-card__stat__label"},"关注",-1))]),fe("span",IO,[fe("span",CO,$t(e.user.follower),1),o[2]||(o[2]=fe("span",{class:"user-card__stat__label"},"粉丝",-1))]),fe("span",TO,[fe("span",RO,$t(e.user.coins),1),o[3]||(o[3]=fe("span",{class:"user-card__stat__label"},"硬币",-1))])])])])}}}),Uy=de({__name:"PluginMenuItem",props:{menu:{}},setup(e){return(t,n)=>{const r=Kb,s=h8;return!e.menu.children||e.menu.children.length===0?(X(),xe(r,{key:0,index:e.menu.path},{title:he(()=>[Yn($t(e.menu.title),1)]),_:1},8,["index"])):(X(),xe(s,{key:1,index:e.menu.path},{title:he(()=>[Yn($t(e.menu.title),1)]),default:he(()=>[(X(!0),ye(Xe,null,hg(e.menu.children,o=>(X(),xe(Uy,{key:o.path,menu:o},null,8,["menu"]))),128))]),_:1},8,["index"]))}}}),BO=de({__name:"PluginMenus",props:{menus:{},activeIndex:{}},emits:["handleSelect"],setup(e,{emit:t}){const n=e,r=(c,f=new Map)=>(c.forEach(d=>{f.set(d.path,d),d.children&&d.children.length>0&&r(d.children,f)}),f),s=T(()=>r(n.menus)),o=t,a=c=>{const f=s.value.get(c);f&&o("handleSelect",f)},i=bg(),l=T(()=>!!i["left-item"]||!!i.left),u=T(()=>!!i["right-item"]||!!i.right);return(c,f)=>{const d=Kb,p=p8;return X(),xe(p,{"default-active":e.activeIndex,class:"plugin-menus",mode:"horizontal",ellipsis:!1,onSelect:a},{default:he(()=>[l.value?we(c.$slots,"left-item",{key:0},()=>[Ae(d,{index:"-left",style:{"margin-right":"auto"}},{default:he(()=>[we(c.$slots,"left",{},void 0,!0)]),_:3})],!0):ze("",!0),(X(!0),ye(Xe,null,hg(e.menus,h=>(X(),xe(Uy,{key:h.path,menu:h,index:String(h.path)},null,8,["menu","index"]))),128)),u.value?we(c.$slots,"right-item",{key:1},()=>[Ae(d,{index:"-right",style:{"margin-left":"auto"}},{default:he(()=>[we(c.$slots,"right",{},void 0,!0)]),_:3})],!0):ze("",!0)]),_:3},8,["default-active"])}}}),OO=My(BO,[["__scopeId","data-v-6dfc7821"]]),kO={class:"plugin-page-header"},FO={class:"plugin-page-header__user-container"},MO={class:"plugin-page-header__user-container__info"},LO=["src"],$O=["src"],WO={key:1,class:"plugin-page-header__user-container__info"},DO=de({__name:"PluginPageHeader",props:{menus:{},activeIndex:{}},emits:["handleMenuSelect"],setup(e,{emit:t}){const n=ky(),{user:r}=LE(n),s=T(()=>r.value?.face||uc),o=T(()=>new URL(Object.assign({"../../assets/images/user_level/level_1.svg":$y,"../../assets/images/user_level/level_2.svg":Wy,"../../assets/images/user_level/level_3.svg":Dy,"../../assets/images/user_level/level_4.svg":Vy,"../../assets/images/user_level/level_5.svg":Gy,"../../assets/images/user_level/level_6.svg":Yy})[`../../assets/images/user_level/level_${r.value?.level??0}.svg`],import.meta.url).href),a=async()=>{n.setUser(await Gr.user.switchUser(!0))},i=()=>{n.deleteUser()},l=t,u=c=>{c&&l("handleMenuSelect",c)};return it(async()=>{if(r.value)try{const c=await Gr.user.getMyInfoByCookie(r.value.userCookie);n.setUser(c)}catch{ni("当前用户 cookie 已失效"),n.deleteUser()}}),(c,f)=>{const d=OO,p=Ly,h=PO,m=V8,g=zR,y=JR,b=XR;return X(),ye("div",kO,[Ae(d,{class:"plugin-page-header__menus","active-index":e.activeIndex,menus:e.menus,onHandleSelect:u},null,8,["active-index","menus"]),fe("div",FO,[A(r)?(X(),xe(m,{key:0,placement:"bottom-end",width:"auto",trigger:"hover"},{reference:he(()=>[fe("div",MO,[fe("img",{class:"plugin-page-header__user-container__info__face",src:s.value,alt:"face"},null,8,LO),Ae(p,{class:"plugin-page-header__user-container__info__name",content:A(r).name},null,8,["content"]),fe("img",{class:"plugin-page-header__user-container__info__level",src:o.value,alt:"level img"},null,8,$O)])]),default:he(()=>[Ae(h,{user:A(r)},null,8,["user"])]),_:1})):(X(),ye("div",WO,[...f[0]||(f[0]=[fe("img",{class:"plugin-page-header__user-container__info__face",alt:"",src:uc},null,-1),fe("span",{class:"plugin-page-header__user-container__info__name"},"未登录",-1)])])),Ae(b,{placement:"bottom-end",trigger:"click",size:"default"},{dropdown:he(()=>[Ae(y,null,{default:he(()=>[Ae(g,{onClick:a},{default:he(()=>[...f[1]||(f[1]=[Yn("选择用户",-1)])]),_:1}),A(r)?(X(),xe(g,{key:0,onClick:i},{default:he(()=>[...f[2]||(f[2]=[Yn("取消选择",-1)])]),_:1})):ze("",!0)]),_:1})]),default:he(()=>[f[3]||(f[3]=fe("span",{class:"plugin-page-header__user-container__arrow"},"▼",-1))]),_:1})])])}}}),VO={},GO={class:"plugin-page-container"};function YO(e,t){return X(),ye("div",GO,[we(e.$slots,"default",{},void 0,!0)])}const Gk=My(VO,[["render",YO],["__scopeId","data-v-ddcb3392"]]);const Bs=typeof document<"u";function jy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function UO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jy(e.default)}const Le=Object.assign;function Hl(e,t){const n={};for(const r in t){const s=t[r];n[r]=Nn(s)?s.map(e):e(s)}return n}const Ko=()=>{},Nn=Array.isArray;function Jh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Zy=/#/g,jO=/&/g,ZO=/\//g,KO=/=/g,HO=/\?/g,Ky=/\+/g,XO=/%5B/g,zO=/%5D/g,Hy=/%5E/g,JO=/%60/g,Xy=/%7B/g,QO=/%7C/g,zy=/%7D/g,qO=/%20/g;function Cf(e){return e==null?"":encodeURI(""+e).replace(QO,"|").replace(XO,"[").replace(zO,"]")}function e9(e){return Cf(e).replace(Xy,"{").replace(zy,"}").replace(Hy,"^")}function cc(e){return Cf(e).replace(Ky,"%2B").replace(qO,"+").replace(Zy,"%23").replace(jO,"%26").replace(JO,"`").replace(Xy,"{").replace(zy,"}").replace(Hy,"^")}function t9(e){return cc(e).replace(KO,"%3D")}function n9(e){return Cf(e).replace(Zy,"%23").replace(HO,"%3F")}function r9(e){return n9(e).replace(ZO,"%2F")}function pa(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const s9=/\/$/,o9=e=>e.replace(s9,"");function Xl(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return l=i>=0&&l>i?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,i>0?i:t.length),s=e(o.slice(1))),i>=0&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=u9(r??t,n),{fullPath:r+o+a,path:r,query:s,hash:pa(a)}}function a9(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function i9(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Qs(t.matched[r],n.matched[s])&&Jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!l9(e[n],t[n]))return!1;return!0}function l9(e,t){return Nn(e)?qh(e,t):Nn(t)?qh(t,e):e?.valueOf()===t?.valueOf()}function qh(e,t){return Nn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function u9(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const Er={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let fc=(function(e){return e.pop="pop",e.push="push",e})({}),zl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function c9(e){if(!e)if(Bs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),o9(e)}const f9=/^[^#]+#/;function d9(e,t){return e.replace(f9,"#")+t}function p9(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const il=()=>({left:window.scrollX,top:window.scrollY});function h9(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=p9(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function em(e,t){return(history.state?history.state.position-t:-1)+e}const dc=new Map;function m9(e,t){dc.set(e,t)}function g9(e){const t=dc.get(e);return dc.delete(e),t}function b9(e){return typeof e=="string"||e&&typeof e=="object"}function Qy(e){return typeof e=="string"||typeof e=="symbol"}let tt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const qy=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function qs(e,t){return Le(new Error,{type:e,[qy]:!0},t)}function qn(e,t){return e instanceof Error&&qy in e&&(t==null||!!(e.type&t))}const v9=["params","query","hash"];function y9(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of v9)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function _9(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Ky," "),o=s.indexOf("="),a=pa(o<0?s:s.slice(0,o)),i=o<0?null:pa(s.slice(o+1));if(a in t){let l=t[a];Nn(l)||(l=t[a]=[l]),l.push(i)}else t[a]=i}return t}function tm(e){let t="";for(let n in e){const r=e[n];if(n=t9(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Nn(r)?r.map(s=>s&&cc(s)):[r&&cc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function w9(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Nn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const E9=Symbol(""),nm=Symbol(""),ll=Symbol(""),Tf=Symbol(""),pc=Symbol("");function wo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Or(e,t,n,r,s,o=a=>a()){const a=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const u=d=>{d===!1?l(qs(tt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):b9(d)?l(qs(tt.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(a&&r.enterCallbacks[s]===a&&typeof d=="function"&&a.push(d),i())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Jl(e,t,n,r,s=o=>o()){const o=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(jy(l)){const u=(l.__vccOpts||l)[t];u&&o.push(Or(u,n,r,a,i,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=UO(c)?c.default:c;a.mods[i]=c,a.components[i]=f;const d=(f.__vccOpts||f)[t];return d&&Or(d,n,r,a,i,s)()}))}}return o}function A9(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const i=t.matched[a];i&&(e.matched.find(u=>Qs(u,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(u=>Qs(u,l))||s.push(l))}return[n,r,s]}let S9=()=>location.protocol+"//"+location.host;function e_(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,i=s.slice(a);return i[0]!=="/"&&(i="/"+i),Qh(i,"")}return Qh(n,e)+r+s}function x9(e,t,n,r){let s=[],o=[],a=null;const i=({state:d})=>{const p=e_(e,location),h=n.value,m=t.value;let g=0;if(d){if(n.value=p,t.value=d,a&&a===h){a=null;return}g=m?d.position-m.position:0}else r(p);s.forEach(y=>{y(n.value,h,{delta:g,type:fc.pop,direction:g?g>0?zl.forward:zl.back:zl.unknown})})};function l(){a=n.value}function u(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Le({},d.state,{scroll:il()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function rm(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?il():null}}function N9(e){const{history:t,location:n}=window,r={value:e_(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:S9()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function a(l,u){o(l,Le({},t.state,rm(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function i(l,u){const c=Le({},s.value,t.state,{forward:l,scroll:il()});o(c.current,c,!0),o(l,Le({},rm(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function I9(e){e=c9(e);const t=N9(e),n=x9(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=Le({location:"",base:e,go:r,createHref:d9.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function C9(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),I9(e)}let ss=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var dt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(dt||{});const T9={type:ss.Static,value:""},R9=/[a-zA-Z0-9_]/;function P9(e){if(!e)return[[]];if(e==="/")return[[T9]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=dt.Static,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,u="",c="";function f(){u&&(n===dt.Static?o.push({type:ss.Static,value:u}):n===dt.Param||n===dt.ParamRegExp||n===dt.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:ss.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==dt.ParamRegExp){r=n,n=dt.EscapeNext;continue}switch(n){case dt.Static:l==="/"?(u&&f(),a()):l===":"?(f(),n=dt.Param):d();break;case dt.EscapeNext:d(),n=r;break;case dt.Param:l==="("?n=dt.ParamRegExp:R9.test(l)?d():(f(),n=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case dt.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=dt.ParamRegExpEnd:c+=l;break;case dt.ParamRegExpEnd:f(),n=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--,c="";break;default:t("Unknown state");break}}return n===dt.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),a(),s}const sm="[^/]+?",B9={sensitive:!1,strict:!1,start:!0,end:!0};var kt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(kt||{});const O9=/[.+*?^${}()[\]/\\]/g;function k9(e,t){const n=Le({},B9,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[kt.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=kt.Segment+(n.sensitive?kt.BonusCaseSensitive:0);if(d.type===ss.Static)f||(s+="/"),s+=d.value.replace(O9,"\\$&"),p+=kt.Static;else if(d.type===ss.Param){const{value:h,repeatable:m,optional:g,regexp:y}=d;o.push({name:h,repeatable:m,optional:g});const b=y||sm;if(b!==sm){p+=kt.BonusCustomRegExp;try{`${b}`}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${b}): `+w.message)}}let E=m?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(E=g&&u.length<2?`(?:/${E})`:"/"+E),g&&(E+="?"),s+=E,p+=kt.Dynamic,g&&(p+=kt.BonusOptional),m&&(p+=kt.BonusRepeatable),b===".*"&&(p+=kt.BonusWildcard)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=kt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function i(u){const c=u.match(a),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=o[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===ss.Static)c+=p.value;else if(p.type===ss.Param){const{value:h,repeatable:m,optional:g}=p,y=h in u?u[h]:"";if(Nn(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const b=Nn(y)?y.join("/"):y;if(!b)if(g)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=b}}return c||"/"}return{re:a,score:r,keys:o,parse:i,stringify:l}}function F9(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===kt.Static+kt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===kt.Static+kt.Segment?1:-1:0}function t_(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=F9(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(om(r))return 1;if(om(s))return-1}return s.length-r.length}function om(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const M9={strict:!1,end:!0,sensitive:!1};function L9(e,t,n){const r=k9(P9(e.path),n),s=Le(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function $9(e,t){const n=[],r=new Map;t=Jh(M9,t);function s(f){return r.get(f)}function o(f,d,p){const h=!p,m=im(f);m.aliasOf=p&&p.record;const g=Jh(t,f),y=[m];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const P of w)y.push(im(Le({},m,{components:p?p.record.components:m.components,path:P,aliasOf:p?p.record:m})))}let b,E;for(const w of y){const{path:P}=w;if(d&&P[0]!=="/"){const G=d.record.path,B=G[G.length-1]==="/"?"":"/";w.path=d.record.path+(P&&B+P)}if(b=L9(w,d,g),p?p.alias.push(b):(E=E||b,E!==b&&E.alias.push(b),h&&f.name&&!lm(b)&&a(f.name)),n_(b)&&l(b),m.children){const G=m.children;for(let B=0;B<G.length;B++)o(G[B],b,p&&p.children[B])}p=p||b}return E?()=>{a(E)}:Ko}function a(f){if(Qy(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return n}function l(f){const d=V9(f,n);n.splice(d,0,f),f.record.name&&!lm(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},m,g;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw qs(tt.MATCHER_NOT_FOUND,{location:f});g=p.record.name,h=Le(am(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&am(f.params,p.keys.map(E=>E.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(E=>E.re.test(m)),p&&(h=p.parse(m),g=p.record.name);else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw qs(tt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});g=p.record.name,h=Le({},d.params,f.params),m=p.stringify(h)}const y=[];let b=p;for(;b;)y.unshift(b.record),b=b.parent;return{name:g,path:m,params:h,matched:y,meta:D9(y)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:i,getRecordMatcher:s}}function am(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function im(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:W9(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function W9(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function lm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function D9(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function V9(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;t_(e,t[o])<0?r=o:n=o+1}const s=G9(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function G9(e){let t=e;for(;t=t.parent;)if(n_(t)&&t_(e,t)===0)return t}function n_({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function um(e){const t=be(ll),n=be(Tf),r=T(()=>{const l=A(e.to);return t.resolve(l)}),s=T(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Qs.bind(null,c));if(d>-1)return d;const p=cm(l[u-2]);return u>1&&cm(c)===p&&f[f.length-1].path!==p?f.findIndex(Qs.bind(null,l[u-2])):d}),o=T(()=>s.value>-1&&K9(n.params,r.value.params)),a=T(()=>s.value>-1&&s.value===n.matched.length-1&&Jy(n.params,r.value.params));function i(l={}){if(Z9(l)){const u=t[A(e.replace)?"replace":"push"](A(e.to)).catch(Ko);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}function Y9(e){return e.length===1?e[0]:e}const U9=de({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:um,setup(e,{slots:t}){const n=In(um(e)),{options:r}=be(ll),s=T(()=>({[fm(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fm(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Y9(t.default(n));return e.custom?o:ut("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),j9=U9;function Z9(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function K9(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Nn(s)||s.length!==r.length||r.some((o,a)=>o.valueOf()!==s[a].valueOf()))return!1}return!0}function cm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fm=(e,t,n)=>e??t??n,H9=de({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=be(pc),s=T(()=>e.route||r.value),o=be(nm,0),a=T(()=>{let u=A(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),i=T(()=>s.value.matched[a.value]);nt(nm,T(()=>a.value+1)),nt(E9,i),nt(pc,s);const l=J();return Ie(()=>[l.value,i.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Qs(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=i.value,d=f&&f.components[c];if(!d)return dm(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,g=ut(d,Le({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return dm(n.default,{Component:g,route:u})||g}}});function dm(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const r_=H9;function X9(e){const t=$9(e.routes,e),n=e.parseQuery||_9,r=e.stringifyQuery||tm,s=e.history,o=wo(),a=wo(),i=wo(),l=to(Er);let u=Er;Bs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Hl.bind(null,M=>""+M),f=Hl.bind(null,r9),d=Hl.bind(null,pa);function p(M,te){let q,ie;return Qy(M)?(q=t.getRecordMatcher(M),ie=te):ie=M,t.addRoute(ie,q)}function h(M){const te=t.getRecordMatcher(M);te&&t.removeRoute(te)}function m(){return t.getRoutes().map(M=>M.record)}function g(M){return!!t.getRecordMatcher(M)}function y(M,te){if(te=Le({},te||l.value),typeof M=="string"){const S=Xl(n,M,te.path),W=t.resolve({path:S.path},te),Y=s.createHref(S.fullPath);return Le(S,W,{params:d(W.params),hash:pa(S.hash),redirectedFrom:void 0,href:Y})}let q;if(M.path!=null)q=Le({},M,{path:Xl(n,M.path,te.path).path});else{const S=Le({},M.params);for(const W in S)S[W]==null&&delete S[W];q=Le({},M,{params:f(S)}),te.params=f(te.params)}const ie=t.resolve(q,te),Ee=M.hash||"";ie.params=c(d(ie.params));const v=a9(r,Le({},M,{hash:e9(Ee),path:ie.path})),_=s.createHref(v);return Le({fullPath:v,hash:Ee,query:r===tm?w9(M.query):M.query||{}},ie,{redirectedFrom:void 0,href:_})}function b(M){return typeof M=="string"?Xl(n,M,l.value.path):Le({},M)}function E(M,te){if(u!==M)return qs(tt.NAVIGATION_CANCELLED,{from:te,to:M})}function w(M){return B(M)}function P(M){return w(Le(b(M),{replace:!0}))}function G(M,te){const q=M.matched[M.matched.length-1];if(q&&q.redirect){const{redirect:ie}=q;let Ee=typeof ie=="function"?ie(M,te):ie;return typeof Ee=="string"&&(Ee=Ee.includes("?")||Ee.includes("#")?Ee=b(Ee):{path:Ee},Ee.params={}),Le({query:M.query,hash:M.hash,params:Ee.path!=null?{}:M.params},Ee)}}function B(M,te){const q=u=y(M),ie=l.value,Ee=M.state,v=M.force,_=M.replace===!0,S=G(q,ie);if(S)return B(Le(b(S),{state:typeof S=="object"?Le({},Ee,S.state):Ee,force:v,replace:_}),te||q);const W=q;W.redirectedFrom=te;let Y;return!v&&i9(r,ie,q)&&(Y=qs(tt.NAVIGATION_DUPLICATED,{to:W,from:ie}),le(ie,ie,!0,!1)),(Y?Promise.resolve(Y):F(W,ie)).catch($=>qn($)?qn($,tt.NAVIGATION_GUARD_REDIRECT)?$:ne($):C($,W,ie)).then($=>{if($){if(qn($,tt.NAVIGATION_GUARD_REDIRECT))return B(Le({replace:_},b($.to),{state:typeof $.to=="object"?Le({},Ee,$.to.state):Ee,force:v}),te||W)}else $=k(W,ie,!0,_,Ee);return D(W,ie,$),$})}function O(M,te){const q=E(M,te);return q?Promise.reject(q):Promise.resolve()}function R(M){const te=_e.values().next().value;return te&&typeof te.runWithContext=="function"?te.runWithContext(M):M()}function F(M,te){let q;const[ie,Ee,v]=A9(M,te);q=Jl(ie.reverse(),"beforeRouteLeave",M,te);for(const S of ie)S.leaveGuards.forEach(W=>{q.push(Or(W,M,te))});const _=O.bind(null,M,te);return q.push(_),He(q).then(()=>{q=[];for(const S of o.list())q.push(Or(S,M,te));return q.push(_),He(q)}).then(()=>{q=Jl(Ee,"beforeRouteUpdate",M,te);for(const S of Ee)S.updateGuards.forEach(W=>{q.push(Or(W,M,te))});return q.push(_),He(q)}).then(()=>{q=[];for(const S of v)if(S.beforeEnter)if(Nn(S.beforeEnter))for(const W of S.beforeEnter)q.push(Or(W,M,te));else q.push(Or(S.beforeEnter,M,te));return q.push(_),He(q)}).then(()=>(M.matched.forEach(S=>S.enterCallbacks={}),q=Jl(v,"beforeRouteEnter",M,te,R),q.push(_),He(q))).then(()=>{q=[];for(const S of a.list())q.push(Or(S,M,te));return q.push(_),He(q)}).catch(S=>qn(S,tt.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function D(M,te,q){i.list().forEach(ie=>R(()=>ie(M,te,q)))}function k(M,te,q,ie,Ee){const v=E(M,te);if(v)return v;const _=te===Er,S=Bs?history.state:{};q&&(ie||_?s.replace(M.fullPath,Le({scroll:_&&S&&S.scroll},Ee)):s.push(M.fullPath,Ee)),l.value=M,le(M,te,q,_),ne()}let U;function Z(){U||(U=s.listen((M,te,q)=>{if(!Be.listening)return;const ie=y(M),Ee=G(ie,Be.currentRoute.value);if(Ee){B(Le(Ee,{replace:!0,force:!0}),ie).catch(Ko);return}u=ie;const v=l.value;Bs&&m9(em(v.fullPath,q.delta),il()),F(ie,v).catch(_=>qn(_,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?_:qn(_,tt.NAVIGATION_GUARD_REDIRECT)?(B(Le(b(_.to),{force:!0}),ie).then(S=>{qn(S,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!q.delta&&q.type===fc.pop&&s.go(-1,!1)}).catch(Ko),Promise.reject()):(q.delta&&s.go(-q.delta,!1),C(_,ie,v))).then(_=>{_=_||k(ie,v,!1),_&&(q.delta&&!qn(_,tt.NAVIGATION_CANCELLED)?s.go(-q.delta,!1):q.type===fc.pop&&qn(_,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),D(ie,v,_)}).catch(Ko)}))}let j=wo(),L=wo(),x;function C(M,te,q){ne(M);const ie=L.list();return ie.length?ie.forEach(Ee=>Ee(M,te,q)):console.error(M),Promise.reject(M)}function H(){return x&&l.value!==Er?Promise.resolve():new Promise((M,te)=>{j.add([M,te])})}function ne(M){return x||(x=!M,Z(),j.list().forEach(([te,q])=>M?q(M):te()),j.reset()),M}function le(M,te,q,ie){const{scrollBehavior:Ee}=e;if(!Bs||!Ee)return Promise.resolve();const v=!q&&g9(em(M.fullPath,0))||(ie||!q)&&history.state&&history.state.scroll||null;return fn().then(()=>Ee(M,te,v)).then(_=>_&&h9(_)).catch(_=>C(_,M,te))}const ae=M=>s.go(M);let Se;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:y,options:e,push:w,replace:P,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:L.add,isReady:H,install(M){M.component("RouterLink",j9),M.component("RouterView",r_),M.config.globalProperties.$router=Be,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>A(l)}),Bs&&!Se&&l.value===Er&&(Se=!0,w(s.location).catch(ie=>{}));const te={};for(const ie in Er)Object.defineProperty(te,ie,{get:()=>l.value[ie],enumerable:!0});M.provide(ll,Be),M.provide(Tf,Mi(te)),M.provide(pc,l);const q=M.unmount;_e.add(M),M.unmount=function(){_e.delete(M),_e.size<1&&(u=Er,U&&U(),U=null,l.value=Er,Se=!1,x=!1),q()}}};function He(M){return M.reduce((te,q)=>te.then(()=>R(q)),Promise.resolve())}return Be}function z9(){return be(ll)}function J9(e){return be(Tf)}const Q9="modulepreload",q9=function(e,t){return new URL(e,t).href},pm={},hm=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");s=u(n.map(c=>{if(c=q9(c,r),c in pm)return;pm[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===c&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Q9,f||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return s.then(a=>{for(const i of a||[])i.status==="rejected"&&o(i.reason);return t().catch(o)})},hc=[{title:"弹幕查询",path:"/DanmakuSearch",name:"DanmakuSearch",component:()=>hm(()=>import("./DanmakuSearch-LdMrB61E.js"),__vite__mapDeps([0,1,2]),import.meta.url)},{title:"解密 mid",path:"/CrackUid",name:"CrackUid",component:()=>hm(()=>import("./CrackUid-Cl2a5uWO.js"),__vite__mapDeps([3,1,4]),import.meta.url)}],ek=X9({history:C9("./"),routes:[{path:"/",redirect:hc[0].path},...hc]}),tk={class:"plugin-page"},nk=de({__name:"App",setup(e){const t=J9(),n=z9(),r=J(hc),s=o=>{n.push(o.path)};return(o,a)=>(X(),ye("div",tk,[Ae(A(DO),{menus:r.value,"active-index":A(t).path,onHandleMenuSelect:s},null,8,["menus","active-index"]),Ae(A(r_),{class:"plugin-page-content"},{default:he(({Component:i,route:l})=>[(X(),xe(uw,null,[(X(),xe(as(i),{key:l.fullPath}))],1024))]),_:1})]))}}),rk=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},sk=rk(nk,[["__scopeId","data-v-db7efa19"]]);async function ok(){const e=CE(sk);e.config.globalProperties.$toolkitApi=window.toolkitApi;const t=PE();t.use(GE),e.use(t),e.use(ek);const n=await cO(t);e.use(n),e.config.errorHandler=lc,window.addEventListener("unhandledrejection",r=>{lc(r.reason)}),e.mount("#app")}ok().then(()=>{console.log("插件启动成功")}).catch(lc);export{lb as $,Ve as A,X as B,ye as C,fe as D,we as E,Oe as F,A as G,ea as H,Ae as I,he as J,s6 as K,Vr as L,ze as M,Sn as N,xe as O,Xn as P,Ie as Q,zI as R,$r as S,so as T,hT as U,U5 as V,It as W,Hc as X,db as Y,cr as Z,n6 as _,gi as a,Mi as a$,nf as a0,ce as a1,be as a2,oa as a3,Ce as a4,Je as a5,QN as a6,Re as a7,rl as a8,V_ as a9,lk as aA,Hn as aB,We as aC,wk as aD,Us as aE,ck as aF,Ne as aG,oR as aH,wa as aI,NT as aJ,No as aK,Lt as aL,ak as aM,Xe as aN,hg as aO,Yn as aP,as as aQ,lo as aR,CE as aS,kT as aT,ut as aU,Nl as aV,Ca as aW,Ke as aX,bs as aY,lg as aZ,Ac as a_,vt as aa,fn as ab,In as ac,lC as ad,xu as ae,zn as af,no as ag,Ui as ah,$t as ai,Vt as aj,Da as ak,nt as al,it as am,dk as an,En as ao,ue as ap,bg as aq,x6 as ar,Ek as as,mk as at,Nb as au,Rt as av,Mt as aw,Qm as ax,F0 as ay,ym as az,k0 as b,ln as b0,gw as b1,Et as b2,LE as b3,ky as b4,ma as b5,Ob as b6,vk as b7,gk as b8,Ly as b9,Gk as ba,Vk as bb,mi as bc,rk as bd,_k as be,dn as bf,yi as bg,Wr as bh,Cb as bi,pk as bj,ik as bk,yk as bl,bk as bm,qB as bn,uN as c,T0 as d,$S as e,jn as f,VN as g,XI as h,Wc as i,T as j,aN as k,Bi as l,ft as m,gC as n,hk as o,uk as p,me as q,J as r,to as s,jc as t,aa as u,Ge as v,NS as w,de as x,xb as y,V0 as z};
9
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:r,currentZIndex:s,nextZIndex:o}};const No=e=>{const t=ue(e)?e:[e],n=[];return t.forEach(r=>{ue(r)?n.push(...No(r)):En(r)&&r.component?.subTree?n.push(r,...No(r.component.subTree)):En(r)&&ue(r.children)?n.push(...No(r.children)):En(r)&&r.shapeFlag===2?n.push(...No(r.type())):n.push(r)}),n},lb=qi({type:String,values:NS,required:!1}),ub=Symbol("size"),V5=()=>{const e=be(ub,{});return T(()=>A(e.size)||"")},cb=Symbol("emptyValuesContextKey"),G5="use-empty-values",Y5=["",void 0,null],U5=Ge({emptyValues:Array,valueOnClear:{type:ce([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=me(e)?e():e,ue(e)?e.every(t=>!t):!e)}}),mk=(e,t)=>{const n=Je()?be(cb,J({})):J({}),r=T(()=>e.emptyValues||n.value.emptyValues||Y5),s=T(()=>me(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:me(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:void 0),o=a=>{let i=!0;return ue(a)?i=r.value.some(l=>zI(a,l)):i=r.value.includes(a),i};return o(s.value)||dn(G5,"value-on-clear should be a value of empty-values"),{emptyValues:r,valueOnClear:s,isEmptyValue:o}},j5=Ge({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),nf=e=>tC(j5,e),fb=e=>{const t=e.props,n=ue(t)?wi(t.map(r=>[r,{}])):t;e.setPropsDefaults=r=>{if(n){for(const[s,o]of Object.entries(r)){const a=n[s];if(Pe(n,s)){if(JN(a)){n[s]={...a,default:o};continue}n[s]={type:a,default:o}}}e.props=n}}},Xn=(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 fb(e),e},Z5=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),K5=(e,t)=>(e.install=n=>{n.directive(t,e)},e),lo=e=>(e.install=Rt,fb(e),e);var H5=de({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),db=H5;var X5=de({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),z5=X5,J5=de({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),gk=J5;var Q5=de({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),fe("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),q5=Q5,e6=de({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),pb=e6,t6=de({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),fe("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),n6=t6;var r6=de({name:"Close",__name:"close",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("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"})]))}}),s6=r6;var o6=de({name:"Hide",__name:"hide",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),fe("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),bk=o6,a6=de({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),Tu=a6,i6=de({name:"Loading",__name:"loading",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),hb=i6;var l6=de({name:"More",__name:"more",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),u6=l6;var c6=de({name:"Search",__name:"search",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),vk=c6;var f6=de({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),mb=f6,d6=de({name:"View",__name:"view",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),yk=d6,p6=de({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),gb=p6,h6=de({name:"Warning",__name:"warning",setup(e){return(t,n)=>(X(),ye("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[fe("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),wk=h6;const cr=ce([String,Object,Function]);const m6={Close:s6,SuccessFilled:mb,InfoFilled:Tu,WarningFilled:gb,CircleCloseFilled:pb},kp={primary:Tu,success:mb,warning:gb,error:pb,info:Tu},_k={validating:hb,success:q5,error:n6},g6=Ge({size:{type:ce([Number,String])},color:{type:String}});var b6=de({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:g6,setup(e){const t=e,n=Ve("icon"),r=T(()=>{const{size:s,color:o}=t,a=ps(s);return!a&&!o?{}:{fontSize:a,"--color":o}});return(s,o)=>(X(),ye("i",Vt({class:A(n).b(),style:r.value},s.$attrs),[_e(s.$slots,"default")],16))}}),v6=b6;const Vr=Xn(v6),bb=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],vb=Ge({role:{type:String,values:bb,default:"tooltip"}}),rf=Symbol("popper"),yb=Symbol("popperContent");var y6=de({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Ve("popper"),{arrowRef:r,arrowStyle:s}=be(yb,void 0);return vt(()=>{r.value=void 0}),t({arrowRef:r}),(o,a)=>(X(),ye("span",{ref_key:"arrowRef",ref:r,class:Oe(A(n).e("arrow")),style:Sn(A(s)),"data-popper-arrow":""},null,6))}}),w6=y6;const wb=Ge({virtualRef:{type:ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:ce(Function)},onMouseleave:{type:ce(Function)},onClick:{type:ce(Function)},onKeydown:{type:ce(Function)},onFocus:{type:ce(Function)},onBlur:{type:ce(Function)},onContextmenu:{type:ce(Function)},id:String,open:Boolean}),Il="ElOnlyChild",_b=de({name:Il,setup(e,{slots:t,attrs:n}){const r=D5(be(sb)?.setForwardRef??Rt);return()=>{const s=t.default?.(n);if(!s)return null;const[o,a]=Eb(s);return o?(a>1&&dn(Il,"requires exact only one valid child."),no(Gn(o,n),[[r]])):(dn(Il,"no valid child node found"),null)}}});function Eb(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==mt).length;for(const r of t){if(Ce(r))switch(r.type){case mt:continue;case ro:case"svg":return[Fp(r),n];case Xe:return Eb(r.children);default:return[r,n]}return[Fp(r),n]}return[null,0]}function Fp(e){return Ae("span",{class:Ve("only-child").e("content")},[e])}var _6=de({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:wb,setup(e,{expose:t}){const n=e,{role:r,triggerRef:s}=be(rf,void 0);W5(s);const o=T(()=>i.value?n.id:void 0),a=T(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),i=T(()=>{if(r&&r.value!=="tooltip")return r.value}),l=T(()=>i.value?`${n.open}`:void 0);let u;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return it(()=>{Ie(()=>n.virtualRef,f=>{f&&(s.value=wn(f))},{immediate:!0}),Ie(s,(f,d)=>{u?.(),u=void 0,Fr(d)&&c.forEach(p=>{const h=n[p];h&&d.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),Fr(f)&&(c.forEach(p=>{const h=n[p];h&&f.addEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),xu(f)&&(u=Ie([o,a,i,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{Us(p[m])?f.removeAttribute(h):f.setAttribute(h,p[m])})},{immediate:!0}))),Fr(d)&&xu(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>d.removeAttribute(p))},{immediate:!0})}),vt(()=>{if(u?.(),u=void 0,s.value&&Fr(s.value)){const f=s.value;c.forEach(d=>{const p=n[d];p&&f.removeEventListener(d.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(d))}),s.value=void 0}}),t({triggerRef:s}),(f,d)=>e.virtualTriggering?ze("v-if",!0):(X(),xe(A(_b),Vt({key:0},f.$attrs,{"aria-controls":o.value,"aria-describedby":a.value,"aria-expanded":l.value,"aria-haspopup":i.value}),{default:he(()=>[_e(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),E6=_6;const Ab=Ge({arrowOffset:{type:Number,default:5}}),A6=Ge({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:ce(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Hc,default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Sb=Ge({...A6,...Ab,id:String,style:{type:ce([String,Array,Object,Boolean]),default:void 0},className:{type:ce([String,Array,Object])},effect:{type:ce(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:ce([String,Array,Object])},popperStyle:{type:ce([String,Array,Object,Boolean]),default:void 0},referenceEl:{type:ce(Object)},triggerTargetEl:{type:ce(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...nf(["ariaLabel"]),loop:Boolean}),S6={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},sf=Symbol("formContextKey"),Ei=Symbol("formItemContextKey"),xb=(e,t={})=>{const n=J(void 0),r=t.prop?n:Y0("size"),s=t.global?n:V5(),o=t.form?{size:void 0}:be(sf,void 0),a=t.formItem?{size:void 0}:be(Ei,void 0);return T(()=>r.value||A(e)||a?.size||o?.size||s.value||"")},Nb=e=>{const t=Y0("disabled"),n=be(sf,void 0);return T(()=>t.value??A(e)??n?.disabled??!1)},x6=()=>({form:be(sf,void 0),formItem:be(Ei,void 0)}),Ek=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=J(!1)),r||(r=J(!1));const s=Je(),o=()=>{let u=s?.parent;for(;u;){if(u.type.name==="ElFormItem")return!1;if(u.type.name==="ElLabelWrap")return!0;u=u.parent}return!1},a=J();let i;const l=T(()=>!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&t.inputIds?.length<=1));return it(()=>{i=Ie([Et(e,"id"),n],([u,c])=>{const f=u??(c?void 0:rl().value);f!==a.value&&(t?.removeInputId&&!o()&&(a.value&&t.removeInputId(a.value),!r?.value&&!c&&f&&t.addInputId(f)),a.value=f)},{immediate:!0})}),ma(()=>{i&&i(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:l,inputId:a}};const N6=e=>!e&&e!==0?[]:ue(e)?e:[e],Cl="focus-trap.focus-after-trapped",Tl="focus-trap.focus-after-released",I6="focus-trap.focusout-prevented",Mp={cancelable:!0,bubbles:!1},C6={cancelable:!0,bubbles:!1},Lp="focusAfterTrapped",$p="focusAfterReleased",T6=Symbol("elFocusTrap"),of=J(),sl=J(0),af=J(0);let Pa=0;const Ib=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Wp=(e,t)=>{for(const n of e)if(!R6(n,t))return n},R6=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},P6=e=>{const t=Ib(e);return[Wp(t,e),Wp(t.reverse(),e)]},B6=e=>e instanceof HTMLInputElement&&"select"in e,xr=(e,t)=>{if(e){const n=document.activeElement;tl(e,{preventScroll:!0}),af.value=window.performance.now(),e!==n&&B6(e)&&t&&e.select()}};function Dp(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const O6=()=>{let e=[];return{push:r=>{const s=e[0];s&&r!==s&&s.pause(),e=Dp(e,r),e.unshift(r)},remove:r=>{e=Dp(e,r),e[0]?.resume?.()}}},k6=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(xr(r,t),document.activeElement!==n)return},Vp=O6(),F6=()=>sl.value>af.value,Ba=()=>{of.value="pointer",sl.value=window.performance.now()},Gp=()=>{of.value="keyboard",sl.value=window.performance.now()},M6=()=>(it(()=>{Pa===0&&(document.addEventListener("mousedown",Ba),document.addEventListener("touchstart",Ba),document.addEventListener("keydown",Gp)),Pa++}),vt(()=>{Pa--,Pa<=0&&(document.removeEventListener("mousedown",Ba),document.removeEventListener("touchstart",Ba),document.removeEventListener("keydown",Gp))}),{focusReason:of,lastUserFocusTimestamp:sl,lastAutomatedFocusTimestamp:af}),Oa=e=>new CustomEvent(I6,{...C6,detail:e});var L6=de({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Lp,$p,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=J();let r,s;const{focusReason:o}=M6();k5(h=>{e.trapped&&!a.paused&&t("release-requested",h)});const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=h=>{if(!e.loop&&!e.trapped||a.paused)return;const{altKey:m,ctrlKey:g,metaKey:y,currentTarget:v,shiftKey:E}=h,{loop:_}=e,P=Hn(h)===We.tab&&!m&&!g&&!y,G=document.activeElement;if(P&&G){const B=v,[O,R]=P6(B);if(O&&R){if(!E&&G===R){const F=Oa({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||(h.preventDefault(),_&&xr(O,!0))}else if(E&&[O,B].includes(G)){const F=Oa({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||(h.preventDefault(),_&&xr(R,!0))}}else if(G===B){const F=Oa({focusReason:o.value});t("focusout-prevented",F),F.defaultPrevented||h.preventDefault()}}};nt(T6,{focusTrapRef:n,onKeydown:i}),Ie(()=>e.focusTrapEl,h=>{h&&(n.value=h)},{immediate:!0}),Ie([n],([h],[m])=>{h&&(h.addEventListener("keydown",i),h.addEventListener("focusin",c),h.addEventListener("focusout",f)),m&&(m.removeEventListener("keydown",i),m.removeEventListener("focusin",c),m.removeEventListener("focusout",f))});const l=h=>{t(Lp,h)},u=h=>t($p,h),c=h=>{const m=A(n);if(!m)return;const g=h.target,y=h.relatedTarget,v=g&&m.contains(g);e.trapped||y&&m.contains(y)||(r=y),v&&t("focusin",h),!a.paused&&e.trapped&&(v?s=g:xr(s,!0))},f=h=>{const m=A(n);if(!(a.paused||!m))if(e.trapped){const g=h.relatedTarget;!Us(g)&&!m.contains(g)&&setTimeout(()=>{if(!a.paused&&e.trapped){const y=Oa({focusReason:o.value});t("focusout-prevented",y),y.defaultPrevented||xr(s,!0)}},0)}else{const g=h.target;g&&m.contains(g)||t("focusout",h)}};async function d(){await fn();const h=A(n);if(h){Vp.push(a);const m=h.contains(document.activeElement)?r:document.activeElement;if(r=m,!h.contains(m)){const g=new Event(Cl,Mp);h.addEventListener(Cl,l),h.dispatchEvent(g),g.defaultPrevented||fn(()=>{let y=e.focusStartEl;Ne(y)||(xr(y),document.activeElement!==y&&(y="first")),y==="first"&&k6(Ib(h),!0),(document.activeElement===m||y==="container")&&xr(h)})}}}function p(){const h=A(n);if(h){h.removeEventListener(Cl,l);const m=new CustomEvent(Tl,{...Mp,detail:{focusReason:o.value}});h.addEventListener(Tl,u),h.dispatchEvent(m),!m.defaultPrevented&&(o.value=="keyboard"||!F6()||h.contains(document.activeElement))&&xr(r??document.body),h.removeEventListener(Tl,u),Vp.remove(a),r=null,s=null}}return it(()=>{e.trapped&&d(),Ie(()=>e.trapped,h=>{h?d():p()})}),vt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",c),n.value.removeEventListener("focusout",f),n.value=void 0),r=null,s=null}),{onKeydown:i}}}),zn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function $6(e,t,n,r,s,o){return _e(e.$slots,"default",{handleKeydown:e.onKeydown})}var W6=zn(L6,[["render",$6]]),D6=W6;const V6=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:s}=e,o={placement:n,strategy:r,...s,modifiers:[...Y6(e),...t]};return U6(o,s?.modifiers),o},G6=e=>{if(ft)return wn(e)};function Y6(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function U6(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const j6=0,Z6=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:s}=be(rf,void 0),o=J(),a=T(()=>e.arrowOffset),i=T(()=>({name:"eventListeners",enabled:!!e.visible})),l=T(()=>{const v=A(o),E=A(a)??j6;return{name:"arrow",enabled:!JI(v),options:{element:v,padding:E}}}),u=T(()=>({onFirstUpdate:()=>{h()},...V6(e,[A(l),A(i)])})),c=T(()=>G6(e.referenceEl)||A(r)),{attributes:f,state:d,styles:p,update:h,forceUpdate:m,instanceRef:g}=P5(c,n,u);Ie(g,v=>t.value=v,{flush:"sync"}),it(()=>{Ie(()=>A(c)?.getBoundingClientRect?.(),()=>{h()})});let y;return Ie(()=>e.visible,v=>{y?.(),y=void 0,v&&(y=aa(n,h).stop)}),vt(()=>{t.value=void 0,y?.(),y=void 0}),{attributes:f,arrowRef:o,contentRef:n,instanceRef:g,state:d,styles:p,role:s,forceUpdate:m,update:h}},K6=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:s}=ib(),o=Ve("popper"),a=T(()=>A(t).popper),i=J(Mt(e.zIndex)?e.zIndex:s()),l=T(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),u=T(()=>[{zIndex:A(i)},A(n).popper,e.popperStyle||{}]),c=T(()=>r.value==="dialog"?"false":void 0),f=T(()=>A(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:a,contentClass:l,contentStyle:u,contentZIndex:i,updateZIndex:()=>{i.value=Mt(e.zIndex)?e.zIndex:s()}}},H6=(e,t)=>{const n=J(!1),r=J(),s=()=>{t("focus")},o=u=>{u.detail?.focusReason!=="pointer"&&(r.value="first",t("blur"))},a=u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},i=u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return vt(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:s,onFocusInTrap:a,onFocusoutPrevented:i,onReleaseRequested:l}};var X6=de({name:"ElPopperContent",__name:"content",props:Sb,emits:S6,setup(e,{expose:t,emit:n}){const r=n,s=e,{focusStartRef:o,trapped:a,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:f}=H6(s,r),{attributes:d,arrowRef:p,contentRef:h,styles:m,instanceRef:g,role:y,update:v}=Z6(s),{ariaModal:E,arrowStyle:_,contentAttrs:P,contentClass:G,contentStyle:B,updateZIndex:O}=K6(s,{styles:m,attributes:d,role:y}),R=be(Ei,void 0);nt(yb,{arrowStyle:_,arrowRef:p}),R&&nt(Ei,{...R,addInputId:Rt,removeInputId:Rt});let F;const D=(U=!0)=>{v(),U&&O()},k=()=>{D(!1),s.visible&&s.focusOnShow?a.value=!0:s.visible===!1&&(a.value=!1)};return it(()=>{Ie(()=>s.triggerTargetEl,(U,Z)=>{F?.(),F=void 0;const j=A(U||h.value),L=A(Z||h.value);Fr(j)&&(F=Ie([y,()=>s.ariaLabel,E,()=>s.id],x=>{["role","aria-label","aria-modal","id"].forEach((C,H)=>{Us(x[H])?j.removeAttribute(C):j.setAttribute(C,x[H])})},{immediate:!0})),L!==j&&Fr(L)&&["role","aria-label","aria-modal","id"].forEach(x=>{L.removeAttribute(x)})},{immediate:!0}),Ie(()=>s.visible,k,{immediate:!0})}),vt(()=>{F?.(),F=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:g,updatePopper:D,contentStyle:B}),(U,Z)=>(X(),ye("div",Vt({ref_key:"contentRef",ref:h},A(P),{style:A(B),class:A(G),tabindex:"-1",onMouseenter:Z[0]||(Z[0]=j=>U.$emit("mouseenter",j)),onMouseleave:Z[1]||(Z[1]=j=>U.$emit("mouseleave",j))}),[Ae(A(D6),{loop:e.loop,trapped:A(a),"trap-on-focus-in":!0,"focus-trap-el":A(h),"focus-start-el":A(o),onFocusAfterTrapped:A(l),onFocusAfterReleased:A(i),onFocusin:A(u),onFocusoutPrevented:A(c),onReleaseRequested:A(f)},{default:he(()=>[_e(U.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),z6=X6,J6=de({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:vb,setup(e,{expose:t}){const n=e,r={triggerRef:J(),popperInstanceRef:J(),contentRef:J(),referenceRef:J(),role:T(()=>n.role)};return t(r),nt(rf,r),(s,o)=>_e(s.$slots,"default")}}),Q6=J6;const q6=Xn(Q6),It=Ge({...L5,...Sb,appendTo:{type:ce([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:ce(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...nf(["ariaLabel"])}),Dr=Ge({...wb,disabled:Boolean,trigger:{type:ce([String,Array]),default:"hover"},triggerKeys:{type:ce(Array),default:()=>[We.enter,We.numpadEnter,We.space]},focusOnTarget:Boolean}),{useModelToggleProps:eT,useModelToggleEmits:tT,useModelToggle:nT}=CC("visible"),rT=Ge({...vb,...eT,...It,...Dr,...Ab,showArrow:{type:Boolean,default:!0}}),sT=[...tT,"before-show","before-hide","show","hide","open","close"],lf=Symbol("elTooltip"),Ru=(e,t)=>ue(e)?e.includes(t):e===t,xs=(e,t,n)=>r=>{Ru(A(e),t)&&n(r)};var oT=de({name:"ElTooltipTrigger",__name:"trigger",props:Dr,setup(e,{expose:t}){const n=e,r=Ve("tooltip"),{controlled:s,id:o,open:a,onOpen:i,onClose:l,onToggle:u}=be(lf,void 0),c=J(null),f=()=>{if(A(s)||n.disabled)return!0},d=Et(n,"trigger"),p=ct(f,xs(d,"hover",_=>{i(_),n.focusOnTarget&&_.target&&fn(()=>{tl(_.target,{preventScroll:!0})})})),h=ct(f,xs(d,"hover",l)),m=ct(f,xs(d,"click",_=>{_.button===0&&u(_)})),g=ct(f,xs(d,"focus",i)),y=ct(f,xs(d,"focus",l)),v=ct(f,xs(d,"contextmenu",_=>{_.preventDefault(),u(_)})),E=ct(f,_=>{const P=Hn(_);n.triggerKeys.includes(P)&&(_.preventDefault(),u(_))});return t({triggerRef:c}),(_,P)=>(X(),xe(A(E6),{id:A(o),"virtual-ref":e.virtualRef,open:A(a),"virtual-triggering":e.virtualTriggering,class:Oe(A(r).e("trigger")),onBlur:A(y),onClick:A(m),onContextmenu:A(v),onFocus:A(g),onMouseenter:A(p),onMouseleave:A(h),onKeydown:A(E)},{default:he(()=>[_e(_.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),aT=oT,iT=de({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:It,setup(e,{expose:t}){const n=e,{selector:r}=rb(),s=Ve("tooltip"),o=J(),a=L0(()=>o.value?.popperContentRef);let i;const{controlled:l,id:u,open:c,trigger:f,onClose:d,onOpen:p,onShow:h,onHide:m,onBeforeShow:g,onBeforeHide:y}=be(lf,void 0),v=T(()=>n.transition||`${s.namespace.value}-fade-in-linear`),E=T(()=>n.persistent);vt(()=>{i?.()});const _=T(()=>A(E)?!0:A(c)),P=T(()=>n.disabled?!1:A(c)),G=T(()=>n.appendTo||r.value),B=T(()=>n.style??{}),O=J(!0),R=()=>{m(),x()&&tl(document.body,{preventScroll:!0}),O.value=!0},F=()=>{if(A(l))return!0},D=ct(F,()=>{n.enterable&&Ru(A(f),"hover")&&p()}),k=ct(F,()=>{Ru(A(f),"hover")&&d()}),U=()=>{o.value?.updatePopper?.(),g?.()},Z=()=>{y?.()},j=()=>{h()},L=()=>{n.virtualTriggering||d()},x=C=>{const H=o.value?.popperContentRef,ne=C?.relatedTarget||document.activeElement;return H?.contains(ne)};return Ie(()=>A(c),C=>{C?(O.value=!1,i=pC(a,()=>{A(l)||N6(A(f)).every(H=>H!=="hover"&&H!=="focus")&&d()},{detectIframe:!0})):i?.()},{flush:"post"}),t({contentRef:o,isFocusInsideContent:x}),(C,H)=>(X(),xe(r_,{disabled:!e.teleported,to:G.value},[_.value||!O.value?(X(),xe(so,{key:0,name:v.value,appear:!E.value,onAfterLeave:R,onBeforeEnter:U,onAfterEnter:j,onBeforeLeave:Z,persisted:""},{default:he(()=>[no(Ae(A(z6),Vt({id:A(u),ref_key:"contentRef",ref:o},C.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":O.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,B.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:P.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:A(D),onMouseleave:A(k),onBlur:L,onClose:A(d)}),{default:he(()=>[_e(C.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[ji,P.value]])]),_:3},8,["name","appear"])):ze("v-if",!0)],8,["disabled","to"]))}}),lT=iT;const uT=["innerHTML"],cT={key:1};var fT=de({name:"ElTooltip",__name:"tooltip",props:rT,emits:sT,setup(e,{expose:t,emit:n}){const r=e,s=n;M5();const o=Ve("tooltip"),a=rl(),i=J(),l=J(),u=()=>{const _=A(i);_&&_.popperInstanceRef?.update()},c=J(!1),f=J(),{show:d,hide:p,hasUpdateHandler:h}=nT({indicator:c,toggleReason:f}),{onOpen:m,onClose:g}=$5({showAfter:Et(r,"showAfter"),hideAfter:Et(r,"hideAfter"),autoClose:Et(r,"autoClose"),open:d,close:p}),y=T(()=>ls(r.visible)&&!h.value),v=T(()=>[o.b(),r.popperClass]);nt(lf,{controlled:y,id:a,open:Ls(c),trigger:Et(r,"trigger"),onOpen:m,onClose:g,onToggle:_=>{A(c)?g(_):m(_)},onShow:()=>{s("show",f.value)},onHide:()=>{s("hide",f.value)},onBeforeShow:()=>{s("before-show",f.value)},onBeforeHide:()=>{s("before-hide",f.value)},updatePopper:u}),Ie(()=>r.disabled,_=>{_&&c.value&&(c.value=!1),!_&&ls(r.visible)&&(c.value=r.visible)});const E=_=>l.value?.isFocusInsideContent(_);return ug(()=>c.value&&p()),vt(()=>{f.value=void 0}),t({popperRef:i,contentRef:l,isFocusInsideContent:E,updatePopper:u,onOpen:m,onClose:g,hide:p}),(_,P)=>(X(),xe(A(q6),{ref_key:"popperRef",ref:i,role:e.role},{default:he(()=>[Ae(aT,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:he(()=>[_.$slots.default?_e(_.$slots,"default",{key:0}):ze("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Ae(lT,{ref_key:"contentRef",ref:l,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":v.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:he(()=>[_e(_.$slots,"content",{},()=>[e.rawContent?(X(),ye("span",{key:0,innerHTML:e.content},null,8,uT)):(X(),ye("span",cT,$t(e.content),1))]),e.showArrow?(X(),xe(A(w6),{key:0})):ze("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}}),dT=fT;const Ea=Xn(dT),Cb=e=>e,pT=Ge({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:ce([String,Object,Array,Boolean]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:ce([String,Object,Array,Boolean]),default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...nf(["ariaLabel","ariaOrientation"])}),hT={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Mt)},mT={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},gT=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),bT=Ge({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),uf=Symbol("scrollbarContextKey");function Yp(e,t,n=.03){return e-t>n}const vT=Ge({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),yT="Thumb";var wT=de({__name:"thumb",props:bT,setup(e){const t=e,n=be(uf),r=Ve("scrollbar");n||oa(yT,"can not inject scrollbar context");const s=J(),o=J(),a=J({}),i=J(!1);let l=!1,u=!1,c=0,f=0,d=ft?document.onselectstart:null;const p=T(()=>mT[t.vertical?"vertical":"horizontal"]),h=T(()=>gT({size:t.size,move:t.move,bar:p.value})),m=T(()=>s.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/o.value[p.value.offset]),g=O=>{if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;window.getSelection()?.removeAllRanges(),v(O);const R=O.currentTarget;R&&(a.value[p.value.axis]=R[p.value.offset]-(O[p.value.client]-R.getBoundingClientRect()[p.value.direction]))},y=O=>{if(!o.value||!s.value||!n.wrapElement)return;const R=(Math.abs(O.target.getBoundingClientRect()[p.value.direction]-O[p.value.client])-o.value[p.value.offset]/2)*100*m.value/s.value[p.value.offset];n.wrapElement[p.value.scroll]=R*n.wrapElement[p.value.scrollSize]/100},v=O=>{O.stopImmediatePropagation(),l=!0,c=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",E),document.addEventListener("mouseup",_),d=document.onselectstart,document.onselectstart=()=>!1},E=O=>{if(!s.value||!o.value||l===!1)return;const R=a.value[p.value.axis];if(!R)return;const F=((s.value.getBoundingClientRect()[p.value.direction]-O[p.value.client])*-1-(o.value[p.value.offset]-R))*100*m.value/s.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=F*f/100:n.wrapElement[p.value.scroll]=F*c/100},_=()=>{l=!1,a.value[p.value.axis]=0,document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",_),B(),u&&(i.value=!1)},P=()=>{u=!1,i.value=!!t.size},G=()=>{u=!0,i.value=l};vt(()=>{B(),document.removeEventListener("mouseup",_)});const B=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return Wr(Et(n,"scrollbarElement"),"mousemove",P),Wr(Et(n,"scrollbarElement"),"mouseleave",G),(O,R)=>(X(),xe(so,{name:A(r).b("fade"),persisted:""},{default:he(()=>[no(fe("div",{ref_key:"instance",ref:s,class:Oe([A(r).e("bar"),A(r).is(p.value.key)]),onMousedown:y,onClick:R[0]||(R[0]=ea(()=>{},["stop"]))},[fe("div",{ref_key:"thumb",ref:o,class:Oe(A(r).e("thumb")),style:Sn(h.value),onMousedown:g},null,38)],34),[[ji,e.always||i.value]])]),_:1},8,["name"]))}}),Up=wT,_T=de({__name:"bar",props:vT,setup(e,{expose:t}){const n=e,r=be(uf),s=J(0),o=J(0),a=J(""),i=J(""),l=J(1),u=J(1);return t({handleScroll:d=>{if(d){const p=d.offsetHeight-4,h=d.offsetWidth-4;o.value=d.scrollTop*100/p*l.value,s.value=d.scrollLeft*100/h*u.value}},update:()=>{const d=r?.wrapElement;if(!d)return;const p=d.offsetHeight-4,h=d.offsetWidth-4,m=p**2/d.scrollHeight,g=h**2/d.scrollWidth,y=Math.max(m,n.minSize),v=Math.max(g,n.minSize);l.value=m/(p-m)/(y/(p-y)),u.value=g/(h-g)/(v/(h-v)),i.value=y+4<p?`${y}px`:"",a.value=v+4<h?`${v}px`:""}}),(d,p)=>(X(),ye(Xe,null,[Ae(Up,{move:s.value,ratio:u.value,size:a.value,always:e.always},null,8,["move","ratio","size","always"]),Ae(Up,{move:o.value,ratio:l.value,size:i.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}}),ET=_T;const AT=["tabindex"],Rl="ElScrollbar";var ST=de({name:Rl,__name:"scrollbar",props:pT,emits:hT,setup(e,{expose:t,emit:n}){const r=e,s=n,o=Ve("scrollbar");let a,i,l,u=0,c=0,f="";const d={bottom:!1,top:!1,right:!1,left:!1},p=J(),h=J(),m=J(),g=J(),y=T(()=>{const k={},U=ps(r.height),Z=ps(r.maxHeight);return U&&(k.height=U),Z&&(k.maxHeight=Z),[r.wrapStyle,k]}),v=T(()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}]),E=T(()=>[o.e("view"),r.viewClass]),_=k=>d[k]??!1,P={top:"bottom",bottom:"top",left:"right",right:"left"},G=k=>{const U=P[f];if(!U)return;const Z=k[f],j=k[U];Z&&!d[f]&&(d[f]=!0),!j&&d[U]&&(d[U]=!1)},B=()=>{if(h.value){g.value?.handleScroll(h.value);const k=u,U=c;u=h.value.scrollTop,c=h.value.scrollLeft;const Z={bottom:!Yp(h.value.scrollHeight-r.distance,h.value.clientHeight+u),top:u<=r.distance&&k!==0,right:!Yp(h.value.scrollWidth-r.distance,h.value.clientWidth+c)&&U!==c,left:c<=r.distance&&U!==0};if(s("scroll",{scrollTop:u,scrollLeft:c}),k!==u&&(f=u>k?"bottom":"top"),U!==c&&(f=c>U?"right":"left"),r.distance>0){if(_(f))return;G(Z)}Z[f]&&s("end-reached",f)}};function O(k,U){Ce(k)?h.value.scrollTo(k):Mt(k)&&Mt(U)&&h.value.scrollTo(k,U)}const R=k=>{if(!Mt(k)){dn(Rl,"value must be a number");return}h.value.scrollTop=k},F=k=>{if(!Mt(k)){dn(Rl,"value must be a number");return}h.value.scrollLeft=k},D=()=>{g.value?.update(),d[f]=!1,h.value&&g.value?.handleScroll(h.value)};return Ie(()=>r.noresize,k=>{k?(a?.(),i?.(),l?.()):({stop:a}=aa(m,D),{stop:i}=aa(h,D),l=Wr("resize",D))},{immediate:!0}),Ie(()=>[r.maxHeight,r.height],()=>{r.native||fn(()=>{D()})}),nt(uf,In({scrollbarElement:p,wrapElement:h})),lg(()=>{h.value&&(h.value.scrollTop=u,h.value.scrollLeft=c)}),it(()=>{r.native||fn(()=>{D()})}),Nc(()=>D()),t({wrapRef:h,update:D,scrollTo:O,setScrollTop:R,setScrollLeft:F,handleScroll:B}),(k,U)=>(X(),ye("div",{ref_key:"scrollbarRef",ref:p,class:Oe(A(o).b())},[fe("div",{ref_key:"wrapRef",ref:h,class:Oe(v.value),style:Sn(y.value),tabindex:e.tabindex,onScroll:B},[(X(),xe(as(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:Oe(E.value),style:Sn(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:he(()=>[_e(k.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,AT),e.native?ze("v-if",!0):(X(),xe(ET,{key:0,ref_key:"barRef",ref:g,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}}),xT=ST;const NT=Xn(xT),IT=Ge({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:ce([String,Object,Array,Boolean]),default:void 0},offset:{type:ce(Array),default:()=>[0,0]},badgeClass:{type:String}});var CT=de({name:"ElBadge",__name:"badge",props:IT,setup(e,{expose:t}){const n=e,r=Ve("badge"),s=T(()=>n.isDot?"":Mt(n.value)&&Mt(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`),o=T(()=>[{backgroundColor:n.color,marginRight:ps(-n.offset[0]),marginTop:ps(n.offset[1])},n.badgeStyle??{}]);return t({content:s}),(a,i)=>(X(),ye("div",{class:Oe(A(r).b())},[_e(a.$slots,"default"),Ae(so,{name:`${A(r).namespace.value}-zoom-in-center`},{default:he(()=>[!e.hidden&&(s.value||e.isDot||a.$slots.content)?(X(),ye("sup",{key:0,class:Oe([A(r).e("content"),A(r).em("content",e.type),A(r).is("fixed",!!a.$slots.default),A(r).is("dot",e.isDot),A(r).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:Sn(o.value)},[_e(a.$slots,"content",{value:s.value},()=>[Yn($t(s.value),1)])],6)):ze("v-if",!0)]),_:3},8,["name"])],2))}}),TT=CT;const RT=Xn(TT),PT=["default","primary","success","warning","info","danger","text",""],BT=["button","submit","reset"],Pu=Ge({size:lb,disabled:{type:Boolean,default:void 0},type:{type:String,values:PT,default:""},icon:{type:cr},nativeType:{type:String,values:BT,default:"button"},loading:Boolean,loadingIcon:{type:cr,default:()=>hb},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,dashed:{type:Boolean,default:void 0},color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ce([String,Object]),default:"button"}}),OT={click:e=>e instanceof MouseEvent},Tb=Symbol(),Ai=J();function cf(e,t=void 0){const n=Je()?be(Tb,Ai):Ai;return e?T(()=>n.value?.[e]??t):n}function kT(e,t){const n=cf(),r=Ve(e,T(()=>n.value?.namespace||"el")),s=V0(T(()=>n.value?.locale)),o=ib(T(()=>{const i=n.value?.zIndex;return Us(i)||Number.isNaN(i)?ob:i})),a=T(()=>A(t)||n.value?.size||"");return FT(T(()=>A(n)||{})),{ns:r,locale:s,zIndex:o,size:a}}const FT=(e,t,n=!1)=>{const r=!!Je(),s=r?cf():void 0,o=r?nt:void 0;if(!o){dn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const a=T(()=>{const i=A(e);return s?.value?MT(s.value,i):i});return o(Tb,a),o(D0,T(()=>a.value.locale)),o(G0,T(()=>a.value.namespace)),o(ab,T(()=>a.value.zIndex)),o(ub,{size:T(()=>a.value.size||"")}),o(cb,T(()=>({emptyValues:a.value.emptyValues,valueOnClear:a.value.valueOnClear}))),(n||!Ai.value)&&(Ai.value=a.value),a},MT=(e,t)=>{const n=[...new Set([...gp(e),...gp(t)])],r={};for(const s of n)r[s]=t[s]!==void 0?t[s]:e[s];return r},Ak=Ge({a11y:{type:Boolean,default:!0},locale:{type:ce(Object)},size:lb,button:{type:ce(Object)},card:{type:ce(Object)},dialog:{type:ce(Object)},link:{type:ce(Object)},experimentalFeatures:{type:ce(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ce(Object)},zIndex:Number,namespace:{type:String,default:"el"},table:{type:ce(Object)},...U5}),Ot={placement:"top"};const Rb=Symbol("buttonGroupContextKey"),LT=(e,t)=>{mC({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},T(()=>e.type==="text"));const n=be(Rb,void 0),r=cf("button"),{form:s}=x6(),o=xb(T(()=>n?.size)),a=Nb(),i=J(),l=bg(),u=T(()=>e.type||n?.type||r.value?.type||""),c=T(()=>e.autoInsertSpace??r.value?.autoInsertSpace??!1),f=T(()=>e.plain??r.value?.plain??!1),d=T(()=>e.round??r.value?.round??!1),p=T(()=>e.text??r.value?.text??!1),h=T(()=>e.dashed??r.value?.dashed??!1),m=T(()=>e.tag==="button"?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=T(()=>{const v=l.default?.();if(c.value&&v?.length===1){const E=v[0];if(E?.type===ro){const _=E.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(_.trim())}}return!1});return{_disabled:a,_size:o,_type:u,_ref:i,_props:m,_plain:f,_round:d,_text:p,_dashed:h,shouldAddSpace:g,handleClick:v=>{if(a.value||e.loading){v.stopPropagation();return}e.nativeType==="reset"&&s?.resetFields(),t("click",v)}}};function St(e,t){$T(e)&&(e="100%");const n=WT(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function ka(e){return Math.min(1,Math.max(0,e))}function $T(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function WT(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Pb(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fa(e){return Number(e)<=1?`${Number(e)*100}%`:e}function rs(e){return e.length===1?"0"+e:String(e)}function DT(e,t,n){return{r:St(e,255)*255,g:St(t,255)*255,b:St(n,255)*255}}function jp(e,t,n){e=St(e,255),t=St(t,255),n=St(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o=0,a=0;const i=(r+s)/2;if(r===s)a=0,o=0;else{const l=r-s;switch(a=i>.5?l/(2-r-s):l/(r+s),r){case e:o=(t-n)/l+(t<n?6:0);break;case t:o=(n-e)/l+2;break;case n:o=(e-t)/l+4;break}o/=6}return{h:o,s:a,l:i}}function Pl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function VT(e,t,n){let r,s,o;if(e=St(e,360),t=St(t,100),n=St(n,100),t===0)s=n,o=n,r=n;else{const a=n<.5?n*(1+t):n+t-n*t,i=2*n-a;r=Pl(i,a,e+1/3),s=Pl(i,a,e),o=Pl(i,a,e-1/3)}return{r:r*255,g:s*255,b:o*255}}function Zp(e,t,n){e=St(e,255),t=St(t,255),n=St(n,255);const r=Math.max(e,t,n),s=Math.min(e,t,n);let o=0;const a=r,i=r-s,l=r===0?0:i/r;if(r===s)o=0;else{switch(r){case e:o=(t-n)/i+(t<n?6:0);break;case t:o=(n-e)/i+2;break;case n:o=(e-t)/i+4;break}o/=6}return{h:o,s:l,v:a}}function GT(e,t,n){e=St(e,360)*6,t=St(t,100),n=St(n,100);const r=Math.floor(e),s=e-r,o=n*(1-t),a=n*(1-s*t),i=n*(1-(1-s)*t),l=r%6,u=[n,a,o,o,i,n][l],c=[i,n,n,a,o,o][l],f=[o,o,i,n,n,a][l];return{r:u*255,g:c*255,b:f*255}}function Kp(e,t,n,r){const s=[rs(Math.round(e).toString(16)),rs(Math.round(t).toString(16)),rs(Math.round(n).toString(16))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function YT(e,t,n,r,s){const o=[rs(Math.round(e).toString(16)),rs(Math.round(t).toString(16)),rs(Math.round(n).toString(16)),rs(jT(r))];return s&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function UT(e,t,n,r){const s=e/100,o=t/100,a=n/100,i=r/100,l=255*(1-s)*(1-i),u=255*(1-o)*(1-i),c=255*(1-a)*(1-i);return{r:l,g:u,b:c}}function Hp(e,t,n){let r=1-e/255,s=1-t/255,o=1-n/255,a=Math.min(r,s,o);return a===1?(r=0,s=0,o=0):(r=(r-a)/(1-a)*100,s=(s-a)/(1-a)*100,o=(o-a)/(1-a)*100),a*=100,{c:Math.round(r),m:Math.round(s),y:Math.round(o),k:Math.round(a)}}function jT(e){return Math.round(parseFloat(e)*255).toString(16)}function Xp(e){return jt(e)/255}function jt(e){return parseInt(e,16)}function ZT(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}const Bu={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function KT(e){let t={r:0,g:0,b:0},n=1,r=null,s=null,o=null,a=!1,i=!1;return typeof e=="string"&&(e=zT(e)),typeof e=="object"&&(Ut(e.r)&&Ut(e.g)&&Ut(e.b)?(t=DT(e.r,e.g,e.b),a=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ut(e.h)&&Ut(e.s)&&Ut(e.v)?(r=Fa(e.s),s=Fa(e.v),t=GT(e.h,r,s),a=!0,i="hsv"):Ut(e.h)&&Ut(e.s)&&Ut(e.l)?(r=Fa(e.s),o=Fa(e.l),t=VT(e.h,r,o),a=!0,i="hsl"):Ut(e.c)&&Ut(e.m)&&Ut(e.y)&&Ut(e.k)&&(t=UT(e.c,e.m,e.y,e.k),a=!0,i="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Pb(n),{ok:a,format:e.format||i,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}const HT="[-\\+]?\\d+%?",XT="[-\\+]?\\d*\\.\\d+%?",Mr="(?:"+XT+")|(?:"+HT+")",Bl="[\\s|\\(]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")\\s*\\)?",Ma="[\\s|\\(]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")[,|\\s]+("+Mr+")\\s*\\)?",en={CSS_UNIT:new RegExp(Mr),rgb:new RegExp("rgb"+Bl),rgba:new RegExp("rgba"+Ma),hsl:new RegExp("hsl"+Bl),hsla:new RegExp("hsla"+Ma),hsv:new RegExp("hsv"+Bl),hsva:new RegExp("hsva"+Ma),cmyk:new RegExp("cmyk"+Ma),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function zT(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let t=!1;if(Bu[e])e=Bu[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let n=en.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=en.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=en.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=en.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=en.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=en.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=en.cmyk.exec(e),n?{c:n[1],m:n[2],y:n[3],k:n[4]}:(n=en.hex8.exec(e),n?{r:jt(n[1]),g:jt(n[2]),b:jt(n[3]),a:Xp(n[4]),format:t?"name":"hex8"}:(n=en.hex6.exec(e),n?{r:jt(n[1]),g:jt(n[2]),b:jt(n[3]),format:t?"name":"hex"}:(n=en.hex4.exec(e),n?{r:jt(n[1]+n[1]),g:jt(n[2]+n[2]),b:jt(n[3]+n[3]),a:Xp(n[4]+n[4]),format:t?"name":"hex8"}:(n=en.hex3.exec(e),n?{r:jt(n[1]+n[1]),g:jt(n[2]+n[2]),b:jt(n[3]+n[3]),format:t?"name":"hex"}:!1))))))))))}function Ut(e){return typeof e=="number"?!Number.isNaN(e):en.CSS_UNIT.test(e)}class et{constructor(t="",n={}){if(t instanceof et)return t;typeof t=="number"&&(t=ZT(t)),this.originalInput=t;const r=KT(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=n.format??r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3}getLuminance(){const t=this.toRgb();let n,r,s;const o=t.r/255,a=t.g/255,i=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),i<=.03928?s=i/12.92:s=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*r+.0722*s}getAlpha(){return this.a}setAlpha(t){return this.a=Pb(t),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:t}=this.toHsl();return t===0}toHsv(){const t=Zp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}}toHsvString(){const t=Zp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.v*100);return this.a===1?`hsv(${n}, ${r}%, ${s}%)`:`hsva(${n}, ${r}%, ${s}%, ${this.roundA})`}toHsl(){const t=jp(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}}toHslString(){const t=jp(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),s=Math.round(t.l*100);return this.a===1?`hsl(${n}, ${r}%, ${s}%)`:`hsla(${n}, ${r}%, ${s}%, ${this.roundA})`}toHex(t=!1){return Kp(this.r,this.g,this.b,t)}toHexString(t=!1){return"#"+this.toHex(t)}toHex8(t=!1){return YT(this.r,this.g,this.b,this.a,t)}toHex8String(t=!1){return"#"+this.toHex8(t)}toHexShortString(t=!1){return this.a===1?this.toHexString(t):this.toHex8String(t)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${this.roundA})`}toPercentageRgb(){const t=n=>`${Math.round(St(n,255)*100)}%`;return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}}toPercentageRgbString(){const t=n=>Math.round(St(n,255)*100);return this.a===1?`rgb(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%)`:`rgba(${t(this.r)}%, ${t(this.g)}%, ${t(this.b)}%, ${this.roundA})`}toCmyk(){return{...Hp(this.r,this.g,this.b)}}toCmykString(){const{c:t,m:n,y:r,k:s}=Hp(this.r,this.g,this.b);return`cmyk(${t}, ${n}, ${r}, ${s})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const t="#"+Kp(this.r,this.g,this.b,!1);for(const[n,r]of Object.entries(Bu))if(t===r)return n;return!1}toString(t){const n=!!t;t=t??this.format;let r=!1;const s=this.a<1&&this.a>=0;return!n&&s&&(t.startsWith("hex")||t==="name")?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),t==="cmyk"&&(r=this.toCmykString()),r||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new et(this.toString())}lighten(t=10){const n=this.toHsl();return n.l+=t/100,n.l=ka(n.l),new et(n)}brighten(t=10){const n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new et(n)}darken(t=10){const n=this.toHsl();return n.l-=t/100,n.l=ka(n.l),new et(n)}tint(t=10){return this.mix("white",t)}shade(t=10){return this.mix("black",t)}desaturate(t=10){const n=this.toHsl();return n.s-=t/100,n.s=ka(n.s),new et(n)}saturate(t=10){const n=this.toHsl();return n.s+=t/100,n.s=ka(n.s),new et(n)}greyscale(){return this.desaturate(100)}spin(t){const n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new et(n)}mix(t,n=50){const r=this.toRgb(),s=new et(t).toRgb(),o=n/100,a={r:(s.r-r.r)*o+r.r,g:(s.g-r.g)*o+r.g,b:(s.b-r.b)*o+r.b,a:(s.a-r.a)*o+r.a};return new et(a)}analogous(t=6,n=30){const r=this.toHsl(),s=360/n,o=[this];for(r.h=(r.h-(s*t>>1)+720)%360;--t;)r.h=(r.h+s)%360,o.push(new et(r));return o}complement(){const t=this.toHsl();return t.h=(t.h+180)%360,new et(t)}monochromatic(t=6){const n=this.toHsv(),{h:r}=n,{s}=n;let{v:o}=n;const a=[],i=1/t;for(;t--;)a.push(new et({h:r,s,v:o})),o=(o+i)%1;return a}splitcomplement(){const t=this.toHsl(),{h:n}=t;return[this,new et({h:(n+72)%360,s:t.s,l:t.l}),new et({h:(n+216)%360,s:t.s,l:t.l})]}onBackground(t){const n=this.toRgb(),r=new et(t).toRgb(),s=n.a+r.a*(1-n.a);return new et({r:(n.r*n.a+r.r*r.a*(1-n.a))/s,g:(n.g*n.a+r.g*r.a*(1-n.a))/s,b:(n.b*n.a+r.b*r.a*(1-n.a))/s,a:s})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(t){const n=this.toHsl(),{h:r}=n,s=[this],o=360/t;for(let a=1;a<t;a++)s.push(new et({h:(r+a*o)%360,s:n.s,l:n.l}));return s}equals(t){const n=new et(t);return this.format==="cmyk"||n.format==="cmyk"?this.toCmykString()===n.toCmykString():this.toRgbString()===n.toRgbString()}}function Pn(e,t=20){return e.mix("#141414",t).toString()}function JT(e){const t=Nb(),n=Ve("button");return T(()=>{let r={},s=e.color;if(s){const o=s.match(/var\((.*?)\)/);o&&(s=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const a=new et(s),i=e.dark?a.tint(20).toString():Pn(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Pn(a,90):a.tint(90).toString(),"text-color":s,"border-color":e.dark?Pn(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":s,"hover-border-color":s,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Pn(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Pn(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Pn(a,80):a.tint(80).toString());else if(e.link||e.text){const l=e.dark?Pn(a,30):a.tint(30).toString();if(r=n.cssVarBlock({"text-color":s,"hover-text-color":l,"active-text-color":i}),e.link&&(r[n.cssVarBlockName("hover-link-text-color")]=l,r[n.cssVarBlockName("active-color")]=i),t.value){const u=e.dark?Pn(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]="transparent",r[n.cssVarBlockName("disabled-text-color")]=u,r[n.cssVarBlockName("disabled-border-color")]="transparent"}}else{const l=e.dark?Pn(a,30):a.tint(30).toString(),u=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":s,"text-color":u,"border-color":s,"hover-bg-color":l,"hover-text-color":u,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const c=e.dark?Pn(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=c,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=c}}}return r})}var QT=de({name:"ElButton",__name:"button",props:Pu,emits:OT,setup(e,{expose:t,emit:n}){const r=e,s=n,o=JT(r),a=Ve("button"),{_ref:i,_size:l,_type:u,_disabled:c,_props:f,_plain:d,_round:p,_text:h,_dashed:m,shouldAddSpace:g,handleClick:y}=LT(r,s),v=T(()=>[a.b(),a.m(u.value),a.m(l.value),a.is("disabled",c.value),a.is("loading",r.loading),a.is("plain",d.value),a.is("round",p.value),a.is("circle",r.circle),a.is("text",h.value),a.is("dashed",m.value),a.is("link",r.link),a.is("has-bg",r.bg)]);return t({ref:i,size:l,type:u,disabled:c,shouldAddSpace:g}),(E,_)=>(X(),xe(as(e.tag),Vt({ref_key:"_ref",ref:i},A(f),{class:v.value,style:A(o),onClick:A(y)}),{default:he(()=>[e.loading?(X(),ye(Xe,{key:0},[E.$slots.loading?_e(E.$slots,"loading",{key:0}):(X(),xe(A(Vr),{key:1,class:Oe(A(a).is("loading"))},{default:he(()=>[(X(),xe(as(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||E.$slots.icon?(X(),xe(A(Vr),{key:1},{default:he(()=>[e.icon?(X(),xe(as(e.icon),{key:0})):_e(E.$slots,"icon",{key:1})]),_:3})):ze("v-if",!0),E.$slots.default?(X(),ye("span",{key:2,class:Oe({[A(a).em("text","expand")]:A(g)})},[_e(E.$slots,"default")],2)):ze("v-if",!0)]),_:3},16,["class","style","onClick"]))}}),qT=QT;const eR={size:Pu.size,type:Pu.type,direction:{type:ce(String),values:["horizontal","vertical"],default:"horizontal"}};var tR=de({name:"ElButtonGroup",__name:"button-group",props:eR,setup(e){const t=e;nt(Rb,In({size:Et(t,"size"),type:Et(t,"type")}));const n=Ve("button");return(r,s)=>(X(),ye("div",{class:Oe([A(n).b("group"),A(n).bm("group",t.direction)])},[_e(r.$slots,"default")],2))}}),Bb=tR;const Ob=Xn(qT,{ButtonGroup:Bb}),Sk=lo(Bb);function nR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ka={exports:{}},rR=Ka.exports,zp;function sR(){return zp||(zp=1,(function(e,t){(function(n,r){e.exports=r()})(rR,(function(){var n=1e3,r=6e4,s=36e5,o="millisecond",a="second",i="minute",l="hour",u="day",c="week",f="month",d="quarter",p="year",h="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|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,v={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(Z){var j=["th","st","nd","rd"],L=Z%100;return"["+Z+(j[(L-20)%10]||j[L]||j[0])+"]"}},E=function(Z,j,L){var x=String(Z);return!x||x.length>=j?Z:""+Array(j+1-x.length).join(L)+Z},_={s:E,z:function(Z){var j=-Z.utcOffset(),L=Math.abs(j),x=Math.floor(L/60),C=L%60;return(j<=0?"+":"-")+E(x,2,"0")+":"+E(C,2,"0")},m:function Z(j,L){if(j.date()<L.date())return-Z(L,j);var x=12*(L.year()-j.year())+(L.month()-j.month()),C=j.clone().add(x,f),H=L-C<0,ne=j.clone().add(x+(H?-1:1),f);return+(-(x+(L-C)/(H?C-ne:ne-C))||0)},a:function(Z){return Z<0?Math.ceil(Z)||0:Math.floor(Z)},p:function(Z){return{M:f,y:p,w:c,d:u,D:h,h:l,m:i,s:a,ms:o,Q:d}[Z]||String(Z||"").toLowerCase().replace(/s$/,"")},u:function(Z){return Z===void 0}},P="en",G={};G[P]=v;var B="$isDayjsObject",O=function(Z){return Z instanceof k||!(!Z||!Z[B])},R=function Z(j,L,x){var C;if(!j)return P;if(typeof j=="string"){var H=j.toLowerCase();G[H]&&(C=H),L&&(G[H]=L,C=H);var ne=j.split("-");if(!C&&ne.length>1)return Z(ne[0])}else{var le=j.name;G[le]=j,C=le}return!x&&C&&(P=C),C||!x&&P},F=function(Z,j){if(O(Z))return Z.clone();var L=typeof j=="object"?j:{};return L.date=Z,L.args=arguments,new k(L)},D=_;D.l=R,D.i=O,D.w=function(Z,j){return F(Z,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var k=(function(){function Z(L){this.$L=R(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[B]=!0}var j=Z.prototype;return j.parse=function(L){this.$d=(function(x){var C=x.date,H=x.utc;if(C===null)return new Date(NaN);if(D.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var ne=C.match(g);if(ne){var le=ne[2]-1||0,ae=(ne[7]||"0").substring(0,3);return H?new Date(Date.UTC(ne[1],le,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ae)):new Date(ne[1],le,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ae)}}return new Date(C)})(L),this.init()},j.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},j.$utils=function(){return D},j.isValid=function(){return this.$d.toString()!==m},j.isSame=function(L,x){var C=F(L);return this.startOf(x)<=C&&C<=this.endOf(x)},j.isAfter=function(L,x){return F(L)<this.startOf(x)},j.isBefore=function(L,x){return this.endOf(x)<F(L)},j.$g=function(L,x,C){return D.u(L)?this[x]:this.set(C,L)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(L,x){var C=this,H=!!D.u(x)||x,ne=D.p(L),le=function(q,ie){var Ee=D.w(C.$u?Date.UTC(C.$y,ie,q):new Date(C.$y,ie,q),C);return H?Ee:Ee.endOf(u)},ae=function(q,ie){return D.w(C.toDate()[q].apply(C.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ie)),C)},Se=this.$W,we=this.$M,Be=this.$D,He="set"+(this.$u?"UTC":"");switch(ne){case p:return H?le(1,0):le(31,11);case f:return H?le(1,we):le(0,we+1);case c:var M=this.$locale().weekStart||0,te=(Se<M?Se+7:Se)-M;return le(H?Be-te:Be+(6-te),we);case u:case h:return ae(He+"Hours",0);case l:return ae(He+"Minutes",1);case i:return ae(He+"Seconds",2);case a:return ae(He+"Milliseconds",3);default:return this.clone()}},j.endOf=function(L){return this.startOf(L,!1)},j.$set=function(L,x){var C,H=D.p(L),ne="set"+(this.$u?"UTC":""),le=(C={},C[u]=ne+"Date",C[h]=ne+"Date",C[f]=ne+"Month",C[p]=ne+"FullYear",C[l]=ne+"Hours",C[i]=ne+"Minutes",C[a]=ne+"Seconds",C[o]=ne+"Milliseconds",C)[H],ae=H===u?this.$D+(x-this.$W):x;if(H===f||H===p){var Se=this.clone().set(h,1);Se.$d[le](ae),Se.init(),this.$d=Se.set(h,Math.min(this.$D,Se.daysInMonth())).$d}else le&&this.$d[le](ae);return this.init(),this},j.set=function(L,x){return this.clone().$set(L,x)},j.get=function(L){return this[D.p(L)]()},j.add=function(L,x){var C,H=this;L=Number(L);var ne=D.p(x),le=function(we){var Be=F(H);return D.w(Be.date(Be.date()+Math.round(we*L)),H)};if(ne===f)return this.set(f,this.$M+L);if(ne===p)return this.set(p,this.$y+L);if(ne===u)return le(1);if(ne===c)return le(7);var ae=(C={},C[i]=r,C[l]=s,C[a]=n,C)[ne]||1,Se=this.$d.getTime()+L*ae;return D.w(Se,this)},j.subtract=function(L,x){return this.add(-1*L,x)},j.format=function(L){var x=this,C=this.$locale();if(!this.isValid())return C.invalidDate||m;var H=L||"YYYY-MM-DDTHH:mm:ssZ",ne=D.z(this),le=this.$H,ae=this.$m,Se=this.$M,we=C.weekdays,Be=C.months,He=C.meridiem,M=function(ie,Ee,b,w){return ie&&(ie[Ee]||ie(x,H))||b[Ee].slice(0,w)},te=function(ie){return D.s(le%12||12,ie,"0")},q=He||function(ie,Ee,b){var w=ie<12?"AM":"PM";return b?w.toLowerCase():w};return H.replace(y,(function(ie,Ee){return Ee||(function(b){switch(b){case"YY":return String(x.$y).slice(-2);case"YYYY":return D.s(x.$y,4,"0");case"M":return Se+1;case"MM":return D.s(Se+1,2,"0");case"MMM":return M(C.monthsShort,Se,Be,3);case"MMMM":return M(Be,Se);case"D":return x.$D;case"DD":return D.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return M(C.weekdaysMin,x.$W,we,2);case"ddd":return M(C.weekdaysShort,x.$W,we,3);case"dddd":return we[x.$W];case"H":return String(le);case"HH":return D.s(le,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return q(le,ae,!0);case"A":return q(le,ae,!1);case"m":return String(ae);case"mm":return D.s(ae,2,"0");case"s":return String(x.$s);case"ss":return D.s(x.$s,2,"0");case"SSS":return D.s(x.$ms,3,"0");case"Z":return ne}return null})(ie)||ne.replace(":","")}))},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(L,x,C){var H,ne=this,le=D.p(x),ae=F(L),Se=(ae.utcOffset()-this.utcOffset())*r,we=this-ae,Be=function(){return D.m(ne,ae)};switch(le){case p:H=Be()/12;break;case f:H=Be();break;case d:H=Be()/3;break;case c:H=(we-Se)/6048e5;break;case u:H=(we-Se)/864e5;break;case l:H=we/s;break;case i:H=we/r;break;case a:H=we/n;break;default:H=we}return C?H:D.a(H)},j.daysInMonth=function(){return this.endOf(f).$D},j.$locale=function(){return G[this.$L]},j.locale=function(L,x){if(!L)return this.$L;var C=this.clone(),H=R(L,x,!0);return H&&(C.$L=H),C},j.clone=function(){return D.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},Z})(),U=k.prototype;return F.prototype=U,[["$ms",o],["$s",a],["$m",i],["$H",l],["$W",u],["$M",f],["$y",p],["$D",h]].forEach((function(Z){U[Z[1]]=function(j){return this.$g(j,Z[0],Z[1])}})),F.extend=function(Z,j){return Z.$i||(Z(j,k,F),Z.$i=!0),F},F.locale=R,F.isDayjs=O,F.unix=function(Z){return F(1e3*Z)},F.en=G[P],F.Ls=G,F.p={},F}))})(Ka)),Ka.exports}var xk=sR();const Nr=new Map;if(ft){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of Nr.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function Jp(e,t){let n=[];return ue(t.arg)?n=t.arg:Fr(t.arg)&&n.push(t.arg),function(r,s){const o=t.instance.popperRef,a=r.target,i=s?.target,l=!t||!t.instance,u=!a||!i,c=e.contains(a)||e.contains(i),f=e===a,d=n.length&&n.some(h=>h?.contains(a))||n.length&&n.includes(i),p=o&&(o.contains(a)||o.contains(i));l||u||c||f||d||p||t.value(r,s)}}const oR={beforeMount(e,t){Nr.has(e)||Nr.set(e,[]),Nr.get(e).push({documentHandler:Jp(e,t),bindingFn:t.value})},updated(e,t){Nr.has(e)||Nr.set(e,[]);const n=Nr.get(e),r=n.findIndex(o=>o.bindingFn===t.oldValue),s={documentHandler:Jp(e,t),bindingFn:t.value};r>=0?n.splice(r,1,s):n.push(s)},unmounted(e){Nr.delete(e)}};var aR=de({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=Ve("collapse-transition"),n=s=>{s.style.maxHeight="",s.style.overflow=s.dataset.oldOverflow,s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom},r={beforeEnter(s){s.dataset||(s.dataset={}),s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.style.height&&(s.dataset.elExistsHeight=s.style.height),s.style.maxHeight=0,s.style.paddingTop=0,s.style.paddingBottom=0},enter(s){requestAnimationFrame(()=>{s.dataset.oldOverflow=s.style.overflow,s.dataset.elExistsHeight?s.style.maxHeight=s.dataset.elExistsHeight:s.scrollHeight!==0?s.style.maxHeight=`${s.scrollHeight}px`:s.style.maxHeight=0,s.style.paddingTop=s.dataset.oldPaddingTop,s.style.paddingBottom=s.dataset.oldPaddingBottom,s.style.overflow="hidden"})},afterEnter(s){s.style.maxHeight="",s.style.overflow=s.dataset.oldOverflow},enterCancelled(s){n(s)},beforeLeave(s){s.dataset||(s.dataset={}),s.dataset.oldPaddingTop=s.style.paddingTop,s.dataset.oldPaddingBottom=s.style.paddingBottom,s.dataset.oldOverflow=s.style.overflow,s.style.maxHeight=`${s.scrollHeight}px`,s.style.overflow="hidden"},leave(s){s.scrollHeight!==0&&(s.style.maxHeight=0,s.style.paddingTop=0,s.style.paddingBottom=0)},afterLeave(s){n(s)},leaveCancelled(s){n(s)}};return(s,o)=>(X(),xe(so,Vt({name:A(t).b()},g_(r)),{default:he(()=>[_e(s.$slots,"default")]),_:3},16,["name"]))}}),iR=aR;const lR=Xn(iR),kb=(...e)=>t=>{e.forEach(n=>{n.value=t})},Ha=Ge({trigger:{...Dr.trigger,type:ce([String,Array])},triggerKeys:{type:ce(Array),default:()=>[We.enter,We.numpadEnter,We.space,We.down]},virtualTriggering:Dr.virtualTriggering,virtualRef:Dr.virtualRef,effect:{...It.effect,default:"light"},type:{type:ce(String)},placement:{type:ce(String),default:"bottom"},popperOptions:{type:ce(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:ce([Number,String]),default:0},maxHeight:{type:ce([Number,String]),default:""},popperClass:It.popperClass,popperStyle:It.popperStyle,disabled:Boolean,role:{type:String,values:bb,default:"menu"},buttonProps:{type:ce(Object)},teleported:It.teleported,appendTo:It.appendTo,persistent:{type:Boolean,default:!0}}),Fb=Ge({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:cr}}),uR=Ge({onKeydown:{type:ce(Function)}}),ol=Symbol("elDropdown"),Mb="elDropdown";var cR=de({inheritAttrs:!1});function fR(e,t,n,r,s,o){return _e(e.$slots,"default")}var dR=zn(cR,[["render",fR]]),pR=de({name:"ElCollectionItem",inheritAttrs:!1});function hR(e,t,n,r,s,o){return _e(e.$slots,"default")}var mR=zn(pR,[["render",hR]]);const Lb="data-el-collection-item",gR=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),s=Symbol(n);return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:s,ElCollection:Object.assign({},dR,{name:t,setup(){const o=J(),a=new Map;nt(r,{itemMap:a,getItems:(()=>{const l=A(o);if(!l)return[];const u=Array.from(l.querySelectorAll(`[${Lb}]`));return[...a.values()].sort((c,f)=>u.indexOf(c.ref)-u.indexOf(f.ref))}),collectionRef:o})}}),ElCollectionItem:Object.assign({},mR,{name:n,setup(o,{attrs:a}){const i=J(),l=be(r,void 0);nt(s,{collectionItemRef:i}),it(()=>{const u=A(i);u&&l.itemMap.set(u,{ref:u,...a})}),vt(()=>{const u=A(i);l.itemMap.delete(u)})}})}},bR=Ge({style:{type:ce([String,Array,Object,Boolean]),default:void 0},currentTabId:{type:ce(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ce(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:vR,ElCollectionItem:yR,COLLECTION_INJECTION_KEY:$b,COLLECTION_ITEM_INJECTION_KEY:wR}=gR("RovingFocusGroup"),ff=Symbol("elRovingFocusGroup"),Wb=Symbol("elRovingFocusGroupItem"),_R={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},ER=(e,t)=>e,AR=(e,t,n)=>{const r=ER(Hn(e));return _R[r]},SR=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),Qp=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},qp="currentTabIdChange",eh="rovingFocusGroup.entryFocus",xR={bubbles:!1,cancelable:!0};var NR=de({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:bR,emits:[qp,"entryFocus"],setup(e,{emit:t}){const n=J((e.currentTabId||e.defaultCurrentTabId)??null),r=J(!1),s=J(!1),o=J(),{getItems:a}=be($b,void 0),i=T(()=>[{outline:"none"},e.style]),l=m=>{t(qp,m)},u=()=>{r.value=!0},c=ct(m=>{e.onMousedown?.(m)},()=>{s.value=!0}),f=ct(m=>{e.onFocus?.(m)},m=>{const g=!A(s),{target:y,currentTarget:v}=m;if(y===v&&g&&!A(r)){const E=new Event(eh,xR);if(v?.dispatchEvent(E),!E.defaultPrevented){const _=a().filter(P=>P.focusable);Qp([_.find(P=>P.active),_.find(P=>P.id===A(n)),..._].filter(Boolean).map(P=>P.ref))}}s.value=!1}),d=ct(m=>{e.onBlur?.(m)},()=>{r.value=!1}),p=(...m)=>{t("entryFocus",...m)},h=m=>{const g=AR(m);if(g){m.preventDefault();let y=a().filter(v=>v.focusable).map(v=>v.ref);switch(g){case"last":y.reverse();break;case"prev":case"next":{g==="prev"&&y.reverse();const v=y.indexOf(m.currentTarget);y=e.loop?SR(y,v+1):y.slice(v+1);break}}fn(()=>{Qp(y)})}};nt(ff,{currentTabbedId:Ls(n),loop:Et(e,"loop"),tabIndex:T(()=>A(r)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:i,orientation:Et(e,"orientation"),dir:Et(e,"dir"),onItemFocus:l,onItemShiftTab:u,onBlur:d,onFocus:f,onMousedown:c,onKeydown:h}),Ie(()=>e.currentTabId,m=>{n.value=m??null}),Wr(o,eh,p)}});function IR(e,t,n,r,s,o){return _e(e.$slots,"default")}var CR=zn(NR,[["render",IR]]),TR=de({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:vR,ElRovingFocusGroupImpl:CR}});function RR(e,t,n,r,s,o){const a=Lt("el-roving-focus-group-impl"),i=Lt("el-focus-group-collection");return X(),xe(i,null,{default:he(()=>[Ae(a,mw(Mg(e.$attrs)),{default:he(()=>[_e(e.$slots,"default")]),_:3},16)]),_:3})}var PR=zn(TR,[["render",RR]]),BR=de({components:{ElRovingFocusCollectionItem:yR},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:r,onItemShiftTab:s,onKeydown:o}=be(ff,void 0),a=rl(),i=J(),l=ct(d=>{t("mousedown",d)},d=>{e.focusable?r(A(a)):d.preventDefault()}),u=ct(d=>{t("focus",d)},()=>{r(A(a))}),c=ct(d=>{t("keydown",d)},d=>{const{shiftKey:p,target:h,currentTarget:m}=d;if(Hn(d)===We.tab&&p){s();return}h===m&&o(d)}),f=T(()=>n.value===A(a));return nt(Wb,{rovingFocusGroupItemRef:i,tabIndex:T(()=>A(f)?0:-1),handleMousedown:l,handleFocus:u,handleKeydown:c}),{id:a,handleKeydown:c,handleFocus:u,handleMousedown:l}}});function OR(e,t,n,r,s,o){const a=Lt("el-roving-focus-collection-item");return X(),xe(a,{id:e.id,focusable:e.focusable,active:e.active},{default:he(()=>[_e(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var kR=zn(BR,[["render",OR]]),FR=PR;const{ButtonGroup:MR}=Ob;var LR=de({name:"ElDropdown",components:{ElButton:Ob,ElButtonGroup:MR,ElScrollbar:NT,ElTooltip:Ea,ElRovingFocusGroup:FR,ElOnlyChild:_b,ElIcon:Vr,ArrowDown:db},props:Ha,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Je(),r=Ve("dropdown"),{t:s}=V0(),o=J(),a=J(),i=J(),l=J(),u=J(null),c=J(null),f=J(!1),d=T(()=>({maxHeight:ps(e.maxHeight)})),p=T(()=>[r.m(_.value)]),h=T(()=>QN(e.trigger)),m=rl().value,g=T(()=>e.id||m);function y(){i.value?.onClose(void 0,0)}function v(){i.value?.onClose()}function E(){i.value?.onOpen()}const _=xb();function P(...U){t("command",...U)}function G(){}function B(){const U=A(l);h.value.includes("hover")&&U?.focus({preventScroll:!0}),c.value=null}function O(U){c.value=U}function R(){t("visible-change",!0)}function F(U){f.value=U?.type==="keydown",l.value?.focus()}function D(){t("visible-change",!1)}return nt(ol,{contentRef:l,role:T(()=>e.role),triggerId:g,isUsingKeyboard:f,onItemEnter:G,onItemLeave:B,handleClose:v}),nt(Mb,{instance:n,dropdownSize:_,handleClick:y,commandHandler:P,trigger:Et(e,"trigger"),hideOnClick:Et(e,"hideOnClick")}),{t:s,ns:r,scrollbar:u,wrapStyle:d,dropdownTriggerKls:p,dropdownSize:_,triggerId:g,currentTabId:c,handleCurrentTabIdChange:O,handlerMainButtonClick:U=>{t("click",U)},handleClose:v,handleOpen:E,handleBeforeShowTooltip:R,handleShowTooltip:F,handleBeforeHideTooltip:D,popperRef:i,contentRef:l,triggeringElementRef:o,referenceElementRef:a}}});function $R(e,t,n,r,s,o){const a=Lt("el-roving-focus-group"),i=Lt("el-scrollbar"),l=Lt("el-only-child"),u=Lt("el-tooltip"),c=Lt("el-button"),f=Lt("arrow-down"),d=Lt("el-icon"),p=Lt("el-button-group");return X(),ye("div",{class:Oe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Ae(u,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":e.virtualRef??e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},mg({content:he(()=>[Ae(i,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:he(()=>[Ae(a,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:he(()=>[_e(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:he(()=>[Ae(l,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:he(()=>[_e(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(X(),xe(p,{key:0},{default:he(()=>[Ae(c,Vt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:he(()=>[_e(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),Ae(c,Vt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:he(()=>[Ae(d,{class:Oe(e.ns.e("icon"))},{default:he(()=>[Ae(f)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ze("v-if",!0)],2)}var WR=zn(LR,[["render",$R]]),DR=de({name:"DropdownItemImpl",components:{ElIcon:Vr},props:Fb,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ve("dropdown"),{role:r}=be(ol,void 0),{collectionItemRef:s}=be(wR,void 0),{rovingFocusGroupItemRef:o,tabIndex:a,handleFocus:i,handleKeydown:l,handleMousedown:u}=be(Wb,void 0),c=kb(s,o),f=T(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),d=ct(p=>{const h=Hn(p);if([We.enter,We.numpadEnter,We.space].includes(h))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},l);return{ns:n,itemRef:c,dataset:{[Lb]:""},role:f,tabIndex:a,handleFocus:i,handleKeydown:d,handleMousedown:u}}});const VR=["aria-disabled","tabindex","role"];function GR(e,t,n,r,s,o){const a=Lt("el-icon");return X(),ye(Xe,null,[e.divided?(X(),ye("li",{key:0,role:"separator",class:Oe(e.ns.bem("menu","item","divided"))},null,2)):ze("v-if",!0),fe("li",Vt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=i=>e.$emit("clickimpl",i)),onFocus:t[1]||(t[1]=(...i)=>e.handleFocus&&e.handleFocus(...i)),onKeydown:t[2]||(t[2]=ea((...i)=>e.handleKeydown&&e.handleKeydown(...i),["self"])),onMousedown:t[3]||(t[3]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onPointermove:t[4]||(t[4]=i=>e.$emit("pointermove",i)),onPointerleave:t[5]||(t[5]=i=>e.$emit("pointerleave",i))}),[e.icon||e.$slots.icon?(X(),xe(a,{key:0},{default:he(()=>[_e(e.$slots,"icon",{},()=>[(X(),xe(as(e.icon)))])]),_:3})):ze("v-if",!0),_e(e.$slots,"default")],16,VR)],64)}var YR=zn(DR,[["render",GR]]);const Db=()=>{const e=be(Mb,{});return{elDropdown:e,_elDropdownSize:T(()=>e?.dropdownSize)}};var UR=de({name:"ElDropdownItem",components:{ElRovingFocusItem:kR,ElDropdownItemImpl:YR},inheritAttrs:!1,props:Fb,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=Db(),s=Je(),{onItemEnter:o,onItemLeave:a}=be(ol,void 0),i=ct(u=>(t("pointermove",u),u.defaultPrevented),yp(u=>{if(e.disabled){a(u);return}const c=u.currentTarget;c===document.activeElement||c.contains(document.activeElement)||(o(u),u.defaultPrevented||c?.focus({preventScroll:!0}))})),l=ct(u=>(t("pointerleave",u),u.defaultPrevented),yp(a));return{handleClick:ct(u=>{if(!e.disabled)return t("click",u),u.type!=="keydown"&&u.defaultPrevented},u=>{if(e.disabled){u.stopImmediatePropagation();return}r?.hideOnClick?.value&&r.handleClick?.(),r.commandHandler?.(e.command,s,u)}),handlePointerMove:i,handlePointerLeave:l,propsAndAttrs:T(()=>({...e,...n}))}}});function jR(e,t,n,r,s,o){const a=Lt("el-dropdown-item-impl"),i=Lt("el-roving-focus-item");return X(),xe(i,{focusable:!e.disabled},{default:he(()=>[Ae(a,Vt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),mg({default:he(()=>[_e(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:he(()=>[_e(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var Vb=zn(UR,[["render",jR]]),ZR=de({name:"ElDropdownMenu",props:uR,setup(e){const t=Ve("dropdown"),{_elDropdownSize:n}=Db(),r=n.value,{contentRef:s,role:o,triggerId:a,isUsingKeyboard:i,handleClose:l}=be(ol,void 0),{rovingFocusGroupRef:u,rovingFocusGroupRootStyle:c,onBlur:f,onFocus:d,onKeydown:p,onMousedown:h}=be(ff,void 0),{collectionRef:m}=be($b,void 0),g=T(()=>[t.b("menu"),t.bm("menu",r?.value)]),y=kb(s,u,m),v=ct(_=>{e.onKeydown?.(_)},_=>{const{currentTarget:P,target:G}=_,B=Hn(_);if(P.contains(G),We.tab===B)return l();p(_)});function E(_){i.value&&d(_)}return{size:r,rovingFocusGroupRootStyle:c,dropdownKls:g,role:o,triggerId:a,dropdownListWrapperRef:y,handleKeydown:v,onBlur:f,handleFocus:E,onMousedown:h}}});const KR=["role","aria-labelledby"];function HR(e,t,n,r,s,o){return X(),ye("ul",{ref:e.dropdownListWrapperRef,class:Oe(e.dropdownKls),style:Sn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...a)=>e.handleFocus&&e.handleFocus(...a)),onFocusout:t[1]||(t[1]=(...a)=>e.onBlur&&e.onBlur(...a)),onKeydown:t[2]||(t[2]=ea((...a)=>e.handleKeydown&&e.handleKeydown(...a),["self"])),onMousedown:t[3]||(t[3]=ea((...a)=>e.onMousedown&&e.onMousedown(...a),["self"]))},[_e(e.$slots,"default")],46,KR)}var Gb=zn(ZR,[["render",HR]]);const XR=Xn(WR,{DropdownItem:Vb,DropdownMenu:Gb}),zR=lo(Vb),JR=lo(Gb),df="rootMenu",Si="subMenu:";function Yb(e,t){const n=T(()=>{let r=e.parent;const s=[t.value];for(;r.type.name!=="ElMenu";)r.props.index&&s.unshift(r.props.index),r=r.parent;return s});return{parentMenu:T(()=>{let r=e.parent;for(;r&&!["ElMenu","ElSubMenu"].includes(r.type.name);)r=r.parent;return r}),indexPath:n}}function QR(e){return T(()=>{const t=e.backgroundColor;return t?new et(t).shade(20).toString():""})}const Ub=(e,t)=>{const n=Ve("menu");return T(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":QR(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},qR=Ge({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ce([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:cr},expandOpenIcon:{type:cr},collapseCloseIcon:{type:cr},collapseOpenIcon:{type:cr}}),Ol="ElSubMenu";var pf=de({name:Ol,props:qR,setup(e,{slots:t,expose:n}){const r=Je(),{indexPath:s,parentMenu:o}=Yb(r,T(()=>e.index)),a=Ve("menu"),i=Ve("sub-menu"),l=be(df);l||oa(Ol,"can not inject root menu");const u=be(`${Si}${o.value.uid}`);u||oa(Ol,"can not inject sub menu");const c=J({}),f=J({});let d;const p=J(!1),h=J(),m=J(),g=T(()=>u.level===0),y=T(()=>O.value==="horizontal"&&g.value?"bottom-start":"right-start"),v=T(()=>O.value==="horizontal"&&g.value||O.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?G.value?e.expandOpenIcon:e.expandCloseIcon:db:e.collapseCloseIcon&&e.collapseOpenIcon?G.value?e.collapseOpenIcon:e.collapseCloseIcon:z5),E=T(()=>{const ae=e.teleported;return F0(ae)?g.value:ae}),_=T(()=>l.props.collapse?`${a.namespace.value}-zoom-in-left`:`${a.namespace.value}-zoom-in-top`),P=T(()=>O.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),G=T(()=>l.openedMenus.includes(e.index)),B=T(()=>[...Object.values(c.value),...Object.values(f.value)].some(({active:ae})=>ae)),O=T(()=>l.props.mode),R=T(()=>l.props.persistent),F=In({index:e.index,indexPath:s,active:B}),D=Ub(l.props,u.level+1),k=T(()=>e.popperOffset??l.props.popperOffset),U=T(()=>e.popperClass??l.props.popperClass),Z=T(()=>e.popperStyle??l.props.popperStyle),j=T(()=>e.showTimeout??l.props.showTimeout),L=T(()=>e.hideTimeout??l.props.hideTimeout),x=()=>m.value?.popperRef?.popperInstanceRef?.destroy(),C=ae=>{ae||x()},H=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:s.value,active:B.value})},ne=(ae,Se=j.value)=>{if(ae.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,d?.(),{stop:d}=Su(()=>{l.openMenu(e.index,s.value)},Se),E.value&&o.value.vnode.el?.dispatchEvent(new MouseEvent("mouseenter")),ae.type==="mouseenter"&&ae.target&&fn(()=>{tl(ae.target,{preventScroll:!0})})}},le=(ae=!1)=>{if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){u.mouseInChild.value=!1;return}d?.(),u.mouseInChild.value=!1,{stop:d}=Su(()=>!p.value&&l.closeMenu(e.index,s.value),L.value),E.value&&ae&&u.handleMouseleave?.(!0)};Ie(()=>l.props.collapse,ae=>C(!!ae));{const ae=we=>{f.value[we.index]=we},Se=we=>{delete f.value[we.index]};nt(`${Si}${r.uid}`,{addSubMenu:ae,removeSubMenu:Se,handleMouseleave:le,mouseInChild:p,level:u.level+1})}return n({opened:G}),it(()=>{l.addSubMenu(F),u.addSubMenu(F)}),vt(()=>{u.removeSubMenu(F),l.removeSubMenu(F)}),()=>{const ae=[t.title?.(),ut(Vr,{class:i.e("icon-arrow"),style:{transform:G.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Ne(v.value)?ut(r.appContext.components[v.value]):ut(v.value)})],Se=l.isMenuPopup?ut(Ea,{ref:m,visible:G.value,effect:"light",pure:!0,offset:k.value,showArrow:!1,persistent:R.value,popperClass:U.value,popperStyle:Z.value,placement:y.value,teleported:E.value,fallbackPlacements:P.value,transition:_.value,gpuAcceleration:!1},{content:()=>ut("div",{class:[a.m(O.value),a.m("popup-container"),U.value],onMouseenter:we=>ne(we,100),onMouseleave:()=>le(!0),onFocus:we=>ne(we,100)},[ut("ul",{class:[a.b(),a.m("popup"),a.m(`popup-${y.value}`)],style:D.value},[t.default?.()])]),default:()=>ut("div",{class:i.e("title"),onClick:H},ae)}):ut(Xe,{},[ut("div",{class:i.e("title"),ref:h,onClick:H},ae),ut(lR,{},{default:()=>no(ut("ul",{role:"menu",class:[a.b(),a.m("inline")],style:D.value},[t.default?.()]),[[ji,G.value]])})]);return ut("li",{class:[i.b(),i.is("active",B.value),i.is("opened",G.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:G.value,onMouseenter:ne,onMouseleave:()=>le(),onFocus:ne},[Se])}}}),e8=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;this.subMenuItems.forEach(t=>{t.addEventListener("keydown",n=>{const r=Hn(n);let s=!1;switch(r){case We.down:this.gotoSubIndex(this.subIndex+1),s=!0;break;case We.up:this.gotoSubIndex(this.subIndex-1),s=!0;break;case We.tab:ja(e,"mouseleave");break;case We.enter:case We.numpadEnter:case We.space:s=!0,n.currentTarget.click();break}return s&&(n.preventDefault(),n.stopPropagation()),!1})})}},t8=class{constructor(e,t){this.domNode=e,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new e8(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{const t=Hn(e);let n=!1;switch(t){case We.down:ja(e.currentTarget,"mouseenter"),this.submenu?.gotoSubIndex(0),n=!0;break;case We.up:ja(e.currentTarget,"mouseenter"),this.submenu?.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break;case We.tab:ja(e.currentTarget,"mouseleave");break;case We.enter:case We.numpadEnter:case We.space:n=!0,e.currentTarget.click();break}n&&e.preventDefault()})}},n8=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(n=>{n.nodeType===1&&new t8(n,e)})}},r8=de({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=Ve("menu"),n={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,s){Ta(r,`${t.namespace.value}-opacity-transition`),r.style.opacity="1",s()},onAfterEnter(r){Nl(r,`${t.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),yC(r,t.m("collapse"))?(Nl(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Ta(r,t.m("collapse"))):(Ta(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Nl(r,t.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){Ta(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,s)=>(X(),xe(so,Vt({mode:"out-in"},n),{default:he(()=>[_e(r.$slots,"default")]),_:3},16))}}),s8=r8;const o8=Ge({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ce(Array),default:()=>Cb([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:cr,default:()=>u6},popperEffect:{type:ce(String),default:"dark"},popperClass:String,popperStyle:{type:ce([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),kl=e=>ue(e)&&e.every(t=>Ne(t)),a8={close:(e,t)=>Ne(e)&&kl(t),open:(e,t)=>Ne(e)&&kl(t),select:(e,t,n,r)=>Ne(e)&&kl(t)&&Ce(n)&&(F0(r)||r instanceof Promise)},th=64;var i8=de({name:"ElMenu",props:o8,emits:a8,setup(e,{emit:t,slots:n,expose:r}){const s=Je(),o=s.appContext.config.globalProperties.$router,a=J(),i=J(),l=Ve("menu"),u=Ve("sub-menu");let c=th;const f=J(-1),d=J(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=J(e.defaultActive),h=J({}),m=J({}),g=T(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const x=p.value&&h.value[p.value];!x||e.mode==="horizontal"||e.collapse||x.indexPath.forEach(C=>{const H=m.value[C];H&&v(C,H.indexPath)})},v=(x,C)=>{d.value.includes(x)||(e.uniqueOpened&&(d.value=d.value.filter(H=>C.includes(H))),d.value.push(x),t("open",x,C))},E=x=>{const C=d.value.indexOf(x);C!==-1&&d.value.splice(C,1)},_=(x,C)=>{E(x),t("close",x,C)},P=({index:x,indexPath:C})=>{d.value.includes(x)?_(x,C):v(x,C)},G=x=>{(e.mode==="horizontal"||e.collapse)&&(d.value=[]);const{index:C,indexPath:H}=x;if(!(Us(C)||Us(H)))if(e.router&&o){const ne=x.route||C,le=o.push(ne).then(ae=>(ae||(p.value=C),ae));t("select",C,H,{index:C,indexPath:H,route:ne},le)}else p.value=C,t("select",C,H,{index:C,indexPath:H})},B=x=>{const C=h.value;p.value=(C[x]||p.value&&C[p.value]||C[e.defaultActive])?.index??x},O=x=>{const C=getComputedStyle(x),H=Number.parseInt(C.marginLeft,10),ne=Number.parseInt(C.marginRight,10);return x.offsetWidth+H+ne||0},R=()=>{if(!a.value)return-1;const x=Array.from(a.value.childNodes).filter(we=>we.nodeName!=="#comment"&&(we.nodeName!=="#text"||we.nodeValue)),C=getComputedStyle(a.value),H=Number.parseInt(C.paddingLeft,10),ne=Number.parseInt(C.paddingRight,10),le=a.value.clientWidth-H-ne;let ae=0,Se=0;return x.forEach((we,Be)=>{ae+=O(we),ae<=le-c&&(Se=Be+1)}),Se===x.length?-1:Se},F=x=>m.value[x].indexPath,D=(x,C=33.34)=>{let H;return()=>{H&&clearTimeout(H),H=setTimeout(()=>{x()},C)}};let k=!0;const U=()=>{const x=wn(i);if(x&&(c=O(x)||th),f.value===R())return;const C=()=>{f.value=-1,fn(()=>{f.value=R()})};k?C():D(C)(),k=!1};Ie(()=>e.defaultActive,x=>{h.value[x]||(p.value=""),B(x)}),Ie(()=>e.collapse,x=>{x&&(d.value=[])}),Ie(h.value,y);let Z;Qm(()=>{e.mode==="horizontal"&&e.ellipsis?Z=aa(a,U).stop:Z?.()});const j=J(!1);{const x=le=>{m.value[le.index]=le},C=le=>{delete m.value[le.index]};nt(df,In({props:e,openedMenus:d,items:h,subMenus:m,activeIndex:p,isMenuPopup:g,addMenuItem:le=>{h.value[le.index]=le},removeMenuItem:le=>{delete h.value[le.index]},addSubMenu:x,removeSubMenu:C,openMenu:v,closeMenu:_,handleMenuItemClick:G,handleSubMenuClick:P})),nt(`${Si}${s.uid}`,{addSubMenu:x,removeSubMenu:C,mouseInChild:j,level:0})}it(()=>{e.mode==="horizontal"&&new n8(s.vnode.el,l.namespace.value)}),r({open:C=>{const{indexPath:H}=m.value[C];H.forEach(ne=>v(ne,H))},close:E,updateActiveIndex:B,handleResize:U});const L=Ub(e,0);return()=>{let x=n.default?.()??[];const C=[];if(e.mode==="horizontal"&&a.value){const le=No(x).filter(we=>we?.shapeFlag!==8),ae=f.value===-1?le:le.slice(0,f.value),Se=f.value===-1?[]:le.slice(f.value);Se?.length&&e.ellipsis&&(x=ae,C.push(ut(pf,{ref:i,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>ut(Vr,{class:u.e("icon-more")},{default:()=>ut(e.ellipsisIcon)}),default:()=>Se})))}const H=e.closeOnClickOutside?[[oR,()=>{d.value.length&&(j.value||(d.value.forEach(le=>t("close",le,F(le))),d.value=[]))}]]:[],ne=no(ut("ul",{key:String(e.collapse),role:"menubar",ref:a,style:L.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...x,...C]),H);return e.collapseTransition&&e.mode==="vertical"?ut(s8,()=>ne):ne}}});const l8=Ge({index:{type:String,required:!0},route:{type:ce([String,Object])},disabled:Boolean}),u8={click:e=>Ne(e.index)&&ue(e.indexPath)},c8={title:String},Fl="ElMenuItem";var f8=de({name:Fl,__name:"menu-item",props:l8,emits:u8,setup(e,{expose:t,emit:n}){const r=e,s=n,o=Je(),a=be(df),i=Ve("menu"),l=Ve("menu-item");a||oa(Fl,"can not inject root menu");const{parentMenu:u,indexPath:c}=Yb(o,Et(r,"index")),f=be(`${Si}${u.value.uid}`);f||oa(Fl,"can not inject sub menu");const d=T(()=>r.index===a.activeIndex),p=In({index:r.index,indexPath:c,active:d}),h=()=>{r.disabled||(a.handleMenuItemClick({index:r.index,indexPath:c.value,route:r.route}),s("click",p))};return it(()=>{f.addSubMenu(p),a.addMenuItem(p)}),vt(()=>{f.removeSubMenu(p),a.removeMenuItem(p)}),t({parentMenu:u,rootMenu:a,active:d,nsMenu:i,nsMenuItem:l,handleClick:h}),(m,g)=>(X(),ye("li",{class:Oe([A(l).b(),A(l).is("active",d.value),A(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:h},[A(u).type.name==="ElMenu"&&A(a).props.collapse&&m.$slots.title?(X(),xe(A(Ea),{key:0,effect:A(a).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":A(a).props.popperClass,"popper-style":A(a).props.popperStyle,persistent:A(a).props.persistent,"focus-on-target":""},{content:he(()=>[_e(m.$slots,"title")]),default:he(()=>[fe("div",{class:Oe(A(i).be("tooltip","trigger"))},[_e(m.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(X(),ye(Xe,{key:1},[_e(m.$slots,"default"),_e(m.$slots,"title")],64))],2))}}),jb=f8,d8=de({name:"ElMenuItemGroup",__name:"menu-item-group",props:c8,setup(e){const t=Ve("menu-item-group");return(n,r)=>(X(),ye("li",{class:Oe(A(t).b())},[fe("div",{class:Oe(A(t).e("title"))},[n.$slots.title?_e(n.$slots,"title",{key:1}):(X(),ye(Xe,{key:0},[Yn($t(e.title),1)],64))],2),fe("ul",null,[_e(n.$slots,"default")])],2))}}),Zb=d8;const p8=Xn(i8,{MenuItem:jb,MenuItemGroup:Zb,SubMenu:pf}),Kb=lo(jb);lo(Zb);const h8=lo(pf),Hb=["primary","success","info","warning","error"],Xb=["top","top-left","top-right","bottom","bottom-left","bottom-right"],xt=Cb({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:ft?document.body:void 0}),m8=Ge({customClass:{type:String,default:xt.customClass},dangerouslyUseHTMLString:{type:Boolean,default:xt.dangerouslyUseHTMLString},duration:{type:Number,default:xt.duration},icon:{type:cr,default:xt.icon},id:{type:String,default:xt.id},message:{type:ce([String,Object,Function]),default:xt.message},onClose:{type:ce(Function),default:xt.onClose},showClose:{type:Boolean,default:xt.showClose},type:{type:String,values:Hb,default:xt.type},plain:{type:Boolean,default:xt.plain},offset:{type:Number,default:xt.offset},placement:{type:String,values:Xb,default:xt.placement},zIndex:{type:Number,default:xt.zIndex},grouping:{type:Boolean,default:xt.grouping},repeatNum:{type:Number,default:xt.repeatNum}}),g8={destroy:()=>!0},An=Li({}),b8=e=>(An[e]||(An[e]=Li([])),An[e]),v8=(e,t)=>{const n=An[t]||[],r=n.findIndex(a=>a.id===e),s=n[r];let o;return r>0&&(o=n[r-1]),{current:s,prev:o}},y8=(e,t)=>{const{prev:n}=v8(e,t);return n?n.vm.exposed.bottom.value:0},w8=(e,t,n)=>(An[n]||[]).findIndex(r=>r.id===e)>0?16:t,_8=["id"],E8=["innerHTML"];var A8=de({name:"ElMessage",__name:"message",props:m8,emits:g8,setup(e,{expose:t,emit:n}){const{Close:r}=m6,s=e,o=n,a=J(!1),{ns:i,zIndex:l}=kT("message"),{currentZIndex:u,nextZIndex:c}=l,f=J(),d=J(!1),p=J(0);let h;const m=T(()=>s.type?s.type==="error"?"danger":s.type:"info"),g=T(()=>{const U=s.type;return{[i.bm("icon",U)]:U&&kp[U]}}),y=T(()=>s.icon||kp[s.type]||""),v=T(()=>s.placement||"top"),E=T(()=>y8(s.id,v.value)),_=T(()=>Math.max(w8(s.id,s.offset,v.value)+E.value,s.offset)),P=T(()=>p.value+_.value),G=T(()=>v.value.includes("left")?i.is("left"):v.value.includes("right")?i.is("right"):i.is("center")),B=T(()=>v.value.startsWith("top")?"top":"bottom"),O=T(()=>({[B.value]:`${_.value}px`,zIndex:u.value}));function R(){s.duration!==0&&({stop:h}=Su(()=>{D()},s.duration))}function F(){h?.()}function D(){d.value=!1,fn(()=>{a.value||(s.onClose?.(),o("destroy"))})}function k(U){Hn(U)===We.esc&&D()}return it(()=>{R(),c(),d.value=!0}),Ie(()=>s.repeatNum,()=>{F(),R()}),Wr(document,"keydown",k),aa(f,()=>{p.value=f.value.getBoundingClientRect().height}),t({visible:d,bottom:P,close:D}),(U,Z)=>(X(),xe(so,{name:A(i).b("fade"),onBeforeEnter:Z[0]||(Z[0]=j=>a.value=!0),onBeforeLeave:e.onClose,onAfterLeave:Z[1]||(Z[1]=j=>U.$emit("destroy")),persisted:""},{default:he(()=>[no(fe("div",{id:e.id,ref_key:"messageRef",ref:f,class:Oe([A(i).b(),{[A(i).m(e.type)]:e.type},A(i).is("closable",e.showClose),A(i).is("plain",e.plain),A(i).is("bottom",B.value==="bottom"),G.value,e.customClass]),style:Sn(O.value),role:"alert",onMouseenter:F,onMouseleave:R},[e.repeatNum>1?(X(),xe(A(RT),{key:0,value:e.repeatNum,type:m.value,class:Oe(A(i).e("badge"))},null,8,["value","type","class"])):ze("v-if",!0),y.value?(X(),xe(A(Vr),{key:1,class:Oe([A(i).e("icon"),g.value])},{default:he(()=>[(X(),xe(as(y.value)))]),_:1},8,["class"])):ze("v-if",!0),!e.dangerouslyUseHTMLString||U.$slots.default?(X(),ye("p",{key:2,class:Oe(A(i).e("content"))},[_e(U.$slots,"default",{},()=>[Yn($t(e.message),1)])],2)):(X(),ye(Xe,{key:3},[ze(" Caution here, message could've been compromised, never use user's input as message "),fe("p",{class:Oe(A(i).e("content")),innerHTML:e.message},null,10,E8)],2112)),e.showClose?(X(),xe(A(Vr),{key:4,class:Oe(A(i).e("closeBtn")),onClick:ea(D,["stop"])},{default:he(()=>[Ae(A(r))]),_:1},8,["class"])):ze("v-if",!0)],46,_8),[[ji,d.value]])]),_:3},8,["name","onBeforeLeave"]))}}),S8=A8;let x8=1;const N8=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Ne(e.appendTo)){let t=document.querySelector(e.appendTo);Fr(t)||(dn("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body),e.appendTo=t}},I8=e=>{!e.placement&&Ne(Ot.placement)&&Ot.placement&&(e.placement=Ot.placement),e.placement||(e.placement="top"),Xb.includes(e.placement)||(dn("ElMessage",`Invalid placement: ${e.placement}. Falling back to 'top'.`),e.placement="top")},zb=e=>{const t=!e||Ne(e)||En(e)||me(e)?{message:e}:e,n={...xt,...t};return N8(n),I8(n),ls(Ot.grouping)&&!n.grouping&&(n.grouping=Ot.grouping),Mt(Ot.duration)&&n.duration===3e3&&(n.duration=Ot.duration),Mt(Ot.offset)&&n.offset===16&&(n.offset=Ot.offset),ls(Ot.showClose)&&!n.showClose&&(n.showClose=Ot.showClose),ls(Ot.plain)&&!n.plain&&(n.plain=Ot.plain),n},C8=e=>{const t=An[e.props.placement||"top"],n=t.indexOf(e);if(n===-1)return;t.splice(n,1);const{handler:r}=e;r.close()},T8=({appendTo:e,...t},n)=>{const r=`message_${x8++}`,s=t.onClose,o=document.createElement("div"),a={...t,id:r,onClose:()=>{s?.(),C8(u)},onDestroy:()=>{gd(null,o)}},i=Ae(S8,a,me(a.message)||En(a.message)?{default:me(a.message)?a.message:()=>a.message}:null);i.appContext=n||ms._context,gd(i,o),e.appendChild(o.firstElementChild);const l=i.component,u={id:r,vnode:i,vm:l,handler:{close:()=>{l.exposed.close()}},props:i.component.props};return u},ms=(e={},t)=>{if(!ft)return{close:()=>{}};const n=zb(e),r=b8(n.placement||"top");if(n.grouping&&r.length){const o=r.find(({vnode:a})=>a.props?.message===n.message);if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(Mt(Ot.max)&&r.length>=Ot.max)return{close:()=>{}};const s=T8(n,t);return r.push(s),s.handler};Hb.forEach(e=>{ms[e]=(t={},n)=>ms({...zb(t),type:e},n)});function R8(e){for(const t in An)if(Pe(An,t)){const n=[...An[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function P8(e){An[e]&&[...An[e]].forEach(t=>t.handler.close())}ms.closeAll=R8;ms.closeAllByPlacement=P8;ms._context=null;const B8=Z5(ms,"$message"),O8=Ge({trigger:Dr.trigger,triggerKeys:Dr.triggerKeys,placement:Ha.placement,disabled:Dr.disabled,visible:It.visible,transition:It.transition,popperOptions:Ha.popperOptions,tabindex:Ha.tabindex,content:It.content,popperStyle:It.popperStyle,popperClass:It.popperClass,enterable:{...It.enterable,default:!0},effect:{...It.effect,default:"light"},teleported:It.teleported,appendTo:It.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),k8={"update:visible":e=>ls(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},F8="onUpdate:visible";var M8=de({name:"ElPopover",__name:"popover",props:O8,emits:k8,setup(e,{expose:t,emit:n}){const r=e,s=n,o=T(()=>r[F8]),a=Ve("popover"),i=J(),l=T(()=>A(i)?.popperRef),u=T(()=>[{width:ps(r.width)},r.popperStyle]),c=T(()=>[a.b(),r.popperClass,{[a.m("plain")]:!!r.content}]),f=T(()=>r.transition===`${a.namespace.value}-fade-in-linear`),d=()=>{i.value?.hide()},p=()=>{s("before-enter")},h=()=>{s("before-leave")},m=()=>{s("after-enter")},g=()=>{s("update:visible",!1),s("after-leave")};return t({popperRef:l,hide:d}),(y,v)=>(X(),xe(A(Ea),Vt({ref_key:"tooltipRef",ref:i},y.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":c.value,"popper-style":u.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":f.value,"onUpdate:visible":o.value,onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:g}),{content:he(()=>[e.title?(X(),ye("div",{key:0,class:Oe(A(a).e("title")),role:"title"},$t(e.title),3)):ze("v-if",!0),_e(y.$slots,"default",{hide:d},()=>[Yn($t(e.content),1)])]),default:he(()=>[y.$slots.reference?_e(y.$slots,"reference",{key:0}):ze("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}}),L8=M8;const nh=(e,t)=>{const n=(t.arg||t.value)?.popperRef;n&&(n.triggerRef=e)};var $8={mounted(e,t){nh(e,t)},updated(e,t){nh(e,t)}};const W8="popover",D8=K5($8,W8),V8=Xn(L8,{directive:D8});var Ml={exports:{}},Ll={exports:{}},rh;function G8(){return rh||(rh=1,(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<<r|n>>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r<n.length;r++)n[r]=t.endian(n[r]);return n},randomBytes:function(n){for(var r=[];n>0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],s=0,o=0;s<n.length;s++,o+=8)r[o>>>5]|=n[s]<<24-o%32;return r},wordsToBytes:function(n){for(var r=[],s=0;s<n.length*32;s+=8)r.push(n[s>>>5]>>>24-s%32&255);return r},bytesToHex:function(n){for(var r=[],s=0;s<n.length;s++)r.push((n[s]>>>4).toString(16)),r.push((n[s]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],s=0;s<n.length;s+=2)r.push(parseInt(n.substr(s,2),16));return r},bytesToBase64:function(n){for(var r=[],s=0;s<n.length;s+=3)for(var o=n[s]<<16|n[s+1]<<8|n[s+2],a=0;a<4;a++)s*8+a*6<=n.length*8?r.push(e.charAt(o>>>6*(3-a)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],s=0,o=0;s<n.length;o=++s%4)o!=0&&r.push((e.indexOf(n.charAt(s-1))&Math.pow(2,-2*o+8)-1)<<o*2|e.indexOf(n.charAt(s))>>>6-o*2);return r}};Ll.exports=t})()),Ll.exports}var $l,sh;function oh(){if(sh)return $l;sh=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r)&255);return n},bytesToString:function(t){for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join("")}}};return $l=e,$l}var Wl,ah;function Y8(){if(ah)return Wl;ah=1,Wl=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return Wl}var ih;function U8(){return ih||(ih=1,(function(){var e=G8(),t=oh().utf8,n=Y8(),r=oh().bin,s=function(o,a){o.constructor==String?a&&a.encoding==="binary"?o=r.stringToBytes(o):o=t.stringToBytes(o):n(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var i=e.bytesToWords(o),l=o.length*8,u=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p<i.length;p++)i[p]=(i[p]<<8|i[p]>>>24)&16711935|(i[p]<<24|i[p]>>>8)&4278255360;i[l>>>5]|=128<<l%32,i[(l+64>>>9<<4)+14]=l;for(var h=s._ff,m=s._gg,g=s._hh,y=s._ii,p=0;p<i.length;p+=16){var v=u,E=c,_=f,P=d;u=h(u,c,f,d,i[p+0],7,-680876936),d=h(d,u,c,f,i[p+1],12,-389564586),f=h(f,d,u,c,i[p+2],17,606105819),c=h(c,f,d,u,i[p+3],22,-1044525330),u=h(u,c,f,d,i[p+4],7,-176418897),d=h(d,u,c,f,i[p+5],12,1200080426),f=h(f,d,u,c,i[p+6],17,-1473231341),c=h(c,f,d,u,i[p+7],22,-45705983),u=h(u,c,f,d,i[p+8],7,1770035416),d=h(d,u,c,f,i[p+9],12,-1958414417),f=h(f,d,u,c,i[p+10],17,-42063),c=h(c,f,d,u,i[p+11],22,-1990404162),u=h(u,c,f,d,i[p+12],7,1804603682),d=h(d,u,c,f,i[p+13],12,-40341101),f=h(f,d,u,c,i[p+14],17,-1502002290),c=h(c,f,d,u,i[p+15],22,1236535329),u=m(u,c,f,d,i[p+1],5,-165796510),d=m(d,u,c,f,i[p+6],9,-1069501632),f=m(f,d,u,c,i[p+11],14,643717713),c=m(c,f,d,u,i[p+0],20,-373897302),u=m(u,c,f,d,i[p+5],5,-701558691),d=m(d,u,c,f,i[p+10],9,38016083),f=m(f,d,u,c,i[p+15],14,-660478335),c=m(c,f,d,u,i[p+4],20,-405537848),u=m(u,c,f,d,i[p+9],5,568446438),d=m(d,u,c,f,i[p+14],9,-1019803690),f=m(f,d,u,c,i[p+3],14,-187363961),c=m(c,f,d,u,i[p+8],20,1163531501),u=m(u,c,f,d,i[p+13],5,-1444681467),d=m(d,u,c,f,i[p+2],9,-51403784),f=m(f,d,u,c,i[p+7],14,1735328473),c=m(c,f,d,u,i[p+12],20,-1926607734),u=g(u,c,f,d,i[p+5],4,-378558),d=g(d,u,c,f,i[p+8],11,-2022574463),f=g(f,d,u,c,i[p+11],16,1839030562),c=g(c,f,d,u,i[p+14],23,-35309556),u=g(u,c,f,d,i[p+1],4,-1530992060),d=g(d,u,c,f,i[p+4],11,1272893353),f=g(f,d,u,c,i[p+7],16,-155497632),c=g(c,f,d,u,i[p+10],23,-1094730640),u=g(u,c,f,d,i[p+13],4,681279174),d=g(d,u,c,f,i[p+0],11,-358537222),f=g(f,d,u,c,i[p+3],16,-722521979),c=g(c,f,d,u,i[p+6],23,76029189),u=g(u,c,f,d,i[p+9],4,-640364487),d=g(d,u,c,f,i[p+12],11,-421815835),f=g(f,d,u,c,i[p+15],16,530742520),c=g(c,f,d,u,i[p+2],23,-995338651),u=y(u,c,f,d,i[p+0],6,-198630844),d=y(d,u,c,f,i[p+7],10,1126891415),f=y(f,d,u,c,i[p+14],15,-1416354905),c=y(c,f,d,u,i[p+5],21,-57434055),u=y(u,c,f,d,i[p+12],6,1700485571),d=y(d,u,c,f,i[p+3],10,-1894986606),f=y(f,d,u,c,i[p+10],15,-1051523),c=y(c,f,d,u,i[p+1],21,-2054922799),u=y(u,c,f,d,i[p+8],6,1873313359),d=y(d,u,c,f,i[p+15],10,-30611744),f=y(f,d,u,c,i[p+6],15,-1560198380),c=y(c,f,d,u,i[p+13],21,1309151649),u=y(u,c,f,d,i[p+4],6,-145523070),d=y(d,u,c,f,i[p+11],10,-1120210379),f=y(f,d,u,c,i[p+2],15,718787259),c=y(c,f,d,u,i[p+9],21,-343485551),u=u+v>>>0,c=c+E>>>0,f=f+_>>>0,d=d+P>>>0}return e.endian([u,c,f,d])};s._ff=function(o,a,i,l,u,c,f){var d=o+(a&i|~a&l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._gg=function(o,a,i,l,u,c,f){var d=o+(a&l|i&~l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._hh=function(o,a,i,l,u,c,f){var d=o+(a^i^l)+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._ii=function(o,a,i,l,u,c,f){var d=o+(i^(a|~l))+(u>>>0)+f;return(d<<c|d>>>32-c)+a},s._blocksize=16,s._digestsize=16,Ml.exports=function(o,a){if(o==null)throw new Error("Illegal argument "+o);var i=e.wordsToBytes(s(o,a));return a&&a.asBytes?i:a&&a.asString?r.bytesToString(i):e.bytesToHex(i)}})()),Ml.exports}var j8=U8();const Z8=nR(j8);function Jb(e,t){return e!==null&&typeof e=="object"&&"$typeName"in e&&typeof e.$typeName=="string"?t===void 0?!0:t.typeName===e.$typeName:!1}var V;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(V||(V={}));function K8(){let e=0,t=0;for(let r=0;r<28;r+=7){let s=this.buf[this.pos++];if(e|=(s&127)<<r,(s&128)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(n&15)<<28,t=(n&112)>>4,(n&128)==0)return this.assertBounds(),[e,t];for(let r=3;r<=31;r+=7){let s=this.buf[this.pos++];if(t|=(s&127)<<r,(s&128)==0)return this.assertBounds(),[e,t]}throw new Error("invalid varint")}const Xa=4294967296;function lh(e){const t=e[0]==="-";t&&(e=e.slice(1));const n=1e6;let r=0,s=0;function o(a,i){const l=Number(e.slice(a,i));s*=n,r=r*n+l,r>=Xa&&(s=s+(r/Xa|0),r=r%Xa)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),t?qb(r,s):hf(r,s)}function H8(e,t){let n=hf(e,t);const r=n.hi&2147483648;r&&(n=qb(n.lo,n.hi));const s=Qb(n.lo,n.hi);return r?"-"+s:s}function Qb(e,t){if({lo:e,hi:t}=X8(e,t),t<=2097151)return String(Xa*t+e);const n=e&16777215,r=(e>>>24|t<<8)&16777215,s=t>>16&65535;let o=n+r*6777216+s*6710656,a=r+s*8147497,i=s*2;const l=1e7;return o>=l&&(a+=Math.floor(o/l),o%=l),a>=l&&(i+=Math.floor(a/l),a%=l),i.toString()+uh(a)+uh(o)}function X8(e,t){return{lo:e>>>0,hi:t>>>0}}function hf(e,t){return{lo:e|0,hi:t|0}}function qb(e,t){return t=~t,e?e=~e+1:t+=1,hf(e,t)}const uh=e=>{const t=String(e);return"0000000".slice(t.length)+t};function z8(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e=e>>>7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e=e>>7;t.push(1)}}function J8(){let e=this.buf[this.pos++],t=e&127;if((e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<7,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<14,(e&128)==0)return this.assertBounds(),t;if(e=this.buf[this.pos++],t|=(e&127)<<21,(e&128)==0)return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let n=5;(e&128)!==0&&n<10;n++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");return this.assertBounds(),t>>>0}var ch={};const _t=Q8();function Q8(){const e=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof e.getBigInt64=="function"&&typeof e.getBigUint64=="function"&&typeof e.setBigInt64=="function"&&typeof e.setBigUint64=="function"&&(!!globalThis.Deno||!!globalThis.Bun||typeof process!="object"||typeof ch!="object"||ch.BUF_BIGINT_DISABLE!=="1")){const n=BigInt("-9223372036854775808"),r=BigInt("9223372036854775807"),s=BigInt("0"),o=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(a){const i=typeof a=="bigint"?a:BigInt(a);if(i>r||i<n)throw new Error(`invalid int64: ${a}`);return i},uParse(a){const i=typeof a=="bigint"?a:BigInt(a);if(i>o||i<s)throw new Error(`invalid uint64: ${a}`);return i},enc(a){return e.setBigInt64(0,this.parse(a),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(a){return e.setBigInt64(0,this.uParse(a),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec(a,i){return e.setInt32(0,a,!0),e.setInt32(4,i,!0),e.getBigInt64(0,!0)},uDec(a,i){return e.setInt32(0,a,!0),e.setInt32(4,i,!0),e.getBigUint64(0,!0)}}}return{zero:"0",supported:!1,parse(n){return typeof n!="string"&&(n=n.toString()),fh(n),n},uParse(n){return typeof n!="string"&&(n=n.toString()),dh(n),n},enc(n){return typeof n!="string"&&(n=n.toString()),fh(n),lh(n)},uEnc(n){return typeof n!="string"&&(n=n.toString()),dh(n),lh(n)},dec(n,r){return H8(n,r)},uDec(n,r){return Qb(n,r)}}}function fh(e){if(!/^-?[0-9]+$/.test(e))throw new Error("invalid int64: "+e)}function dh(e){if(!/^[0-9]+$/.test(e))throw new Error("invalid uint64: "+e)}function ua(e,t){switch(e){case V.STRING:return"";case V.BOOL:return!1;case V.DOUBLE:case V.FLOAT:return 0;case V.INT64:case V.UINT64:case V.SFIXED64:case V.FIXED64:case V.SINT64:return t?"0":_t.zero;case V.BYTES:return new Uint8Array(0);default:return 0}}function q8(e,t){switch(e){case V.BOOL:return t===!1;case V.STRING:return t==="";case V.BYTES:return t instanceof Uint8Array&&!t.byteLength;case V.DOUBLE:case V.FLOAT:return Object.is(t,0);default:return t==0}}const e1=2,fr=Symbol.for("reflect unsafe local");function eP(e,t){const n=e[t.localName].case;return n===void 0?n:t.fields.find(r=>r.localName===n)}function tP(e,t){const n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(t.presence!=e1)return e[n]!==void 0&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!q8(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw new Error("message field with implicit presence")}function ca(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==void 0}function nP(e,t){if(t.oneof){const n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]}function rP(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}function sP(e,t){const n=t.localName;if(t.oneof){const r=t.oneof.localName;e[r].case===n&&(e[r]={case:void 0})}else if(t.presence!=e1)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=ua(t.scalar,t.longAsString);break}}function Xs(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function mf(e,t){var n,r,s,o;if(Xs(e)&&fr in e&&"add"in e&&"field"in e&&typeof e.field=="function"){if(t!==void 0){const a=t,i=e.field();return a.listKind==i.listKind&&a.scalar===i.scalar&&((n=a.message)===null||n===void 0?void 0:n.typeName)===((r=i.message)===null||r===void 0?void 0:r.typeName)&&((s=a.enum)===null||s===void 0?void 0:s.typeName)===((o=i.enum)===null||o===void 0?void 0:o.typeName)}return!0}return!1}function gf(e,t){var n,r,s,o;if(Xs(e)&&fr in e&&"has"in e&&"field"in e&&typeof e.field=="function"){if(t!==void 0){const a=t,i=e.field();return a.mapKey===i.mapKey&&a.mapKind==i.mapKind&&a.scalar===i.scalar&&((n=a.message)===null||n===void 0?void 0:n.typeName)===((r=i.message)===null||r===void 0?void 0:r.typeName)&&((s=a.enum)===null||s===void 0?void 0:s.typeName)===((o=i.enum)===null||o===void 0?void 0:o.typeName)}return!0}return!1}function bf(e,t){return Xs(e)&&fr in e&&"desc"in e&&Xs(e.desc)&&e.desc.kind==="message"&&(t===void 0||e.desc.typeName==t.typeName)}function oP(e){return t1(e.$typeName)}function aP(e){const t=e.fields[0];return t1(e.typeName)&&t!==void 0&&t.fieldKind=="scalar"&&t.name=="value"&&t.number==1}function t1(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}const iP=999,lP=998,za=2;function uP(e,t){return Jb(t,e)?t:fP(e)}const cP=Symbol(),ph=new WeakMap;function fP(e){let t;if(dP(e)){const n=ph.get(e);let r,s;if(n)({prototype:r,members:s}=n);else{r={},s=new Set;for(const o of e.members)o.kind!="oneof"&&(o.fieldKind!="scalar"&&o.fieldKind!="enum"||o.presence!=za&&(s.add(o),r[o.localName]=Dl(o)));ph.set(e,{prototype:r,members:s})}t=Object.create(r),t.$typeName=e.typeName;for(const o of e.members)s.has(o)||o.kind=="field"&&(o.fieldKind=="message"||(o.fieldKind=="scalar"||o.fieldKind=="enum")&&o.presence!=za)||(t[o.localName]=Dl(o))}else{t={$typeName:e.typeName};for(const n of e.members)(n.kind=="oneof"||n.presence==za)&&(t[n.localName]=Dl(n))}return t}function dP(e){switch(e.file.edition){case iP:return!1;case lP:return!0;default:return e.fields.some(t=>t.presence!=za&&t.fieldKind!="message"&&!t.oneof)}}function Dl(e){if(e.kind=="oneof")return{case:void 0};if(e.fieldKind=="list")return[];if(e.fieldKind=="map")return{};if(e.fieldKind=="message")return cP;const t=e.getDefaultValue();return t!==void 0?e.fieldKind=="scalar"&&e.longAsString?t.toString():t:e.fieldKind=="scalar"?ua(e.scalar,e.longAsString):e.enum.values[0].number}class zs extends Error{constructor(t,n,r="FieldValueInvalidError"){super(n),this.name=r,this.field=()=>t}}const Vl=Symbol.for("@bufbuild/protobuf/text-encoding");function n1(){if(globalThis[Vl]==null){const e=new globalThis.TextEncoder,t=new globalThis.TextDecoder;let n;globalThis[Vl]={encodeUtf8(r){return e.encode(r)},decodeUtf8(r,s){return s?(n===void 0&&(n=new globalThis.TextDecoder("utf-8",{fatal:!0})),n.decode(r)):t.decode(r)},checkUtf8(r){try{return encodeURIComponent(r),!0}catch{return!1}}}}return globalThis[Vl]}var vn;(function(e){e[e.Varint=0]="Varint",e[e.Bit64=1]="Bit64",e[e.LengthDelimited=2]="LengthDelimited",e[e.StartGroup=3]="StartGroup",e[e.EndGroup=4]="EndGroup",e[e.Bit32=5]="Bit32"})(vn||(vn={}));const pP=34028234663852886e22,hP=-34028234663852886e22,mP=4294967295,gP=2147483647,bP=-2147483648;class vP{constructor(t,n=n1().decodeUtf8){this.decodeUtf8=n,this.varint64=K8,this.uint32=J8,this.buf=t,this.len=t.length,this.pos=0,this.view=new DataView(t.buffer,t.byteOffset,t.byteLength)}tag(){const t=this.pos,n=this.uint32(),r=this.pos-t;if(r>5||r==5&&this.buf[this.pos-1]>15)throw new Error("illegal tag: varint overflows uint32");const s=n>>>3,o=n&7;if(s<=0||o>5)throw new Error("illegal tag: field no "+s+" wire type "+o);return[s,o]}skip(t,n,r=100){let s=this.pos;switch(t){case vn.Varint:for(;this.buf[this.pos++]&128;);break;case vn.Bit64:this.pos+=4;case vn.Bit32:this.pos+=4;break;case vn.LengthDelimited:let o=this.uint32();this.pos+=o;break;case vn.StartGroup:if(r<=0)throw new Error("maximum recursion depth reached");for(;;){const[a,i]=this.tag();if(i===vn.EndGroup){if(n!==void 0&&a!==n)throw new Error("invalid end group tag");break}this.skip(i,a,r-1)}break;default:throw new Error("cant skip wire type "+t)}return this.assertBounds(),this.buf.subarray(s,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let t=this.uint32();return t>>>1^-(t&1)}int64(){return _t.dec(...this.varint64())}uint64(){return _t.uDec(...this.varint64())}sint64(){let[t,n]=this.varint64(),r=-(t&1);return t=(t>>>1|(n&1)<<31)^r,n=n>>>1^r,_t.dec(t,n)}bool(){let[t,n]=this.varint64();return t!==0||n!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return _t.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return _t.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let t=this.uint32(),n=this.pos;return this.pos+=t,this.assertBounds(),this.buf.subarray(n,n+t)}string(t){return this.decodeUtf8(this.bytes(),t)}}function yP(e,t){const n=e.fieldKind=="list"?mf(t,e):e.fieldKind=="map"?gf(t,e):vf(e,t);if(n===!0)return;let r;switch(e.fieldKind){case"list":r=`expected ${s1(e)}, got ${Ni(t)}`;break;case"map":r=`expected ${o1(e)}, got ${Ni(t)}`;break;default:r=xi(e,t,n)}return new zs(e,r)}function hh(e,t,n){const r=vf(e,n);if(r!==!0)return new zs(e,`list item #${t+1}: ${xi(e,n,r)}`)}function wP(e,t,n){const r=Ou(t,e.mapKey);if(r!==!0)return new zs(e,`invalid map key: ${xi({scalar:e.mapKey},t,r)}`);const s=vf(e,n);if(s!==!0)return new zs(e,`map entry ${Ni(t)}: ${xi(e,n,s)}`)}function vf(e,t){return e.scalar!==void 0?Ou(t,e.scalar):e.enum!==void 0?e.enum.open?Ou(t,V.INT32):e.enum.values.some(n=>n.number===t):bf(t,e.message)}function Ou(e,t){switch(t){case V.DOUBLE:return typeof e=="number";case V.FLOAT:return typeof e!="number"?!1:Number.isNaN(e)||!Number.isFinite(e)?!0:e>pP||e<hP?`${e.toFixed()} out of range`:!0;case V.INT32:case V.SFIXED32:case V.SINT32:return typeof e!="number"||!Number.isInteger(e)?!1:e>gP||e<bP?`${e.toFixed()} out of range`:!0;case V.FIXED32:case V.UINT32:return typeof e!="number"||!Number.isInteger(e)?!1:e>mP||e<0?`${e.toFixed()} out of range`:!0;case V.BOOL:return typeof e=="boolean";case V.STRING:return typeof e!="string"?!1:n1().checkUtf8(e)||"invalid UTF8";case V.BYTES:return e instanceof Uint8Array;case V.INT64:case V.SFIXED64:case V.SINT64:if(typeof e=="bigint"||typeof e=="number"||typeof e=="string"&&e.length>0)try{return _t.parse(e),!0}catch{return`${e} out of range`}return!1;case V.FIXED64:case V.UINT64:if(typeof e=="bigint"||typeof e=="number"||typeof e=="string"&&e.length>0)try{return _t.uParse(e),!0}catch{return`${e} out of range`}return!1}}function xi(e,t,n){return n=typeof n=="string"?`: ${n}`:`, got ${Ni(t)}`,e.scalar!==void 0?`expected ${_P(e.scalar)}`+n:e.enum!==void 0?`expected ${e.enum.toString()}`+n:`expected ${r1(e.message)}`+n}function Ni(e){switch(typeof e){case"object":return e===null?"null":e instanceof Uint8Array?`Uint8Array(${e.length})`:Array.isArray(e)?`Array(${e.length})`:mf(e)?s1(e.field()):gf(e)?o1(e.field()):bf(e)?r1(e.desc):Jb(e)?`message ${e.$typeName}`:"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":return String(e);case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function r1(e){return`ReflectMessage (${e.typeName})`}function s1(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${V[e.scalar]})`}}function o1(e){switch(e.mapKind){case"message":return`ReflectMap (${V[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${V[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${V[e.mapKey]}, ${V[e.scalar]})`}}function _P(e){switch(e){case V.STRING:return"string";case V.BOOL:return"boolean";case V.INT64:case V.SINT64:case V.SFIXED64:return"bigint (int64)";case V.UINT64:case V.FIXED64:return"bigint (uint64)";case V.BYTES:return"Uint8Array";case V.DOUBLE:return"number (float64)";case V.FLOAT:return"number (float32)";case V.FIXED32:case V.UINT32:return"number (uint32)";case V.INT32:case V.SFIXED32:case V.SINT32:return"number (int32)"}}function yf(e,t,n=!0){return new a1(e,t,n)}const mh=new WeakMap;class a1{get sortedFields(){const t=mh.get(this.desc);if(t)return t;const n=this.desc.fields.concat().sort((r,s)=>r.number-s.number);return mh.set(this.desc,n),n}constructor(t,n,r=!0){this.lists=new Map,this.maps=new Map,this.check=r,this.desc=t,this.message=this[fr]=n??uP(t),this.fields=t.fields,this.oneofs=t.oneofs,this.members=t.members}findNumber(t){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(n=>[n.number,n]))),this._fieldsByNumber.get(t)}oneofCase(t){return vo(this.message,t),eP(this.message,t)}isSet(t){return vo(this.message,t),tP(this.message,t)}clear(t){vo(this.message,t),sP(this.message,t)}get(t){vo(this.message,t);const n=nP(this.message,t);switch(t.fieldKind){case"list":let r=this.lists.get(t);return(!r||r[fr]!==n)&&this.lists.set(t,r=new EP(t,n,this.check)),r;case"map":let s=this.maps.get(t);return(!s||s[fr]!==n)&&this.maps.set(t,s=new AP(t,n,this.check)),s;case"message":return _f(t,n,this.check);case"scalar":return n===void 0?ua(t.scalar,!1):Ef(t,n);case"enum":return n??t.enum.values[0].number}}set(t,n){if(vo(this.message,t),this.check){const s=yP(t,n);if(s)throw s}let r;t.fieldKind=="message"?r=wf(t,n):gf(n)||mf(n)?r=n[fr]:r=Af(t,n),rP(this.message,t,r)}getUnknown(){return this.message.$unknown}setUnknown(t){this.message.$unknown=t}}function vo(e,t){if(t.parent.typeName!==e.$typeName)throw new zs(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class EP{field(){return this._field}get size(){return this._arr.length}constructor(t,n,r){this._field=t,this._arr=this[fr]=n,this.check=r}get(t){const n=this._arr[t];return n===void 0?void 0:Gl(this._field,n,this.check)}set(t,n){if(t<0||t>=this._arr.length)throw new zs(this._field,`list item #${t+1}: out of range`);if(this.check){const r=hh(this._field,t,n);if(r)throw r}this._arr[t]=gh(this._field,n)}add(t){if(this.check){const n=hh(this._field,this._arr.length,t);if(n)throw n}this._arr.push(gh(this._field,t))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(const t of this._arr)yield Gl(this._field,t,this.check)}*entries(){for(let t=0;t<this._arr.length;t++)yield[t,Gl(this._field,this._arr[t],this.check)]}}class AP{constructor(t,n,r=!0){this.obj=this[fr]=n??{},this.check=r,this._field=t}field(){return this._field}set(t,n){if(this.check){const r=wP(this._field,t,n);if(r)throw r}return this.obj[La(t)]=SP(this._field,n),this}delete(t){const n=La(t),r=Object.prototype.hasOwnProperty.call(this.obj,n);return r&&delete this.obj[n],r}clear(){for(const t of Object.keys(this.obj))delete this.obj[t]}get(t){let n=this.obj[La(t)];return n!==void 0&&(n=Yl(this._field,n,this.check)),n}has(t){return Object.prototype.hasOwnProperty.call(this.obj,La(t))}*keys(){for(const t of Object.keys(this.obj))yield bh(t,this._field.mapKey)}*entries(){for(const t of Object.entries(this.obj))yield[bh(t[0],this._field.mapKey),Yl(this._field,t[1],this.check)]}[Symbol.iterator](){return this.entries()}get size(){return Object.keys(this.obj).length}*values(){for(const t of Object.values(this.obj))yield Yl(this._field,t,this.check)}forEach(t,n){for(const r of this.entries())t.call(n,r[1],r[0],this)}}function wf(e,t){return bf(t)?oP(t.message)&&!e.oneof&&e.fieldKind=="message"?t.message.value:t.desc.typeName=="google.protobuf.Struct"&&e.parent.typeName!="google.protobuf.Value"?l1(t.message):t.message:t}function _f(e,t,n){return t!==void 0&&(aP(e.message)&&!e.oneof&&e.fieldKind=="message"?t={$typeName:e.message.typeName,value:Ef(e.message.fields[0],t)}:e.message.typeName=="google.protobuf.Struct"&&e.parent.typeName!="google.protobuf.Value"&&Xs(t)&&(t=i1(t))),new a1(e.message,t,n)}function gh(e,t){return e.listKind=="message"?wf(e,t):Af(e,t)}function Gl(e,t,n){return e.listKind=="message"?_f(e,t,n):Ef(e,t)}function SP(e,t){return e.mapKind=="message"?wf(e,t):Af(e,t)}function Yl(e,t,n){return e.mapKind=="message"?_f(e,t,n):t}function La(e){return typeof e=="string"||typeof e=="number"?e:String(e)}function bh(e,t){switch(t){case V.STRING:return e;case V.INT32:case V.FIXED32:case V.UINT32:case V.SFIXED32:case V.SINT32:{const n=Number.parseInt(e);if(Number.isFinite(n))return n;break}case V.BOOL:switch(e){case"true":return!0;case"false":return!1}break;case V.UINT64:case V.FIXED64:try{return _t.uParse(e)}catch{}break;default:try{return _t.parse(e)}catch{}break}return e}function Ef(e,t){switch(e.scalar){case V.INT64:case V.SFIXED64:case V.SINT64:"longAsString"in e&&e.longAsString&&typeof t=="string"&&(t=_t.parse(t));break;case V.FIXED64:case V.UINT64:"longAsString"in e&&e.longAsString&&typeof t=="string"&&(t=_t.uParse(t));break}return t}function Af(e,t){switch(e.scalar){case V.INT64:case V.SFIXED64:case V.SINT64:"longAsString"in e&&e.longAsString?t=String(t):(typeof t=="string"||typeof t=="number")&&(t=_t.parse(t));break;case V.FIXED64:case V.UINT64:"longAsString"in e&&e.longAsString?t=String(t):(typeof t=="string"||typeof t=="number")&&(t=_t.uParse(t));break}return t}function i1(e){const t={$typeName:"google.protobuf.Struct",fields:{}};if(Xs(e))for(const[n,r]of Object.entries(e))t.fields[n]=c1(r);return t}function l1(e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=u1(r);return t}function u1(e){switch(e.kind.case){case"structValue":return l1(e.kind.value);case"listValue":return e.kind.value.values.map(u1);case"nullValue":case void 0:return null;default:return e.kind.value}}function c1(e){const t={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof e){case"number":t.kind={case:"numberValue",value:e};break;case"string":t.kind={case:"stringValue",value:e};break;case"boolean":t.kind={case:"boolValue",value:e};break;case"object":if(e===null)t.kind={case:"nullValue",value:0};else if(Array.isArray(e)){const n={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(e))for(const r of e)n.values.push(c1(r));t.kind={case:"listValue",value:n}}else t.kind={case:"structValue",value:i1(e)};break}return t}function xP(e){const t=IP();let n=e.length*3/4;e[e.length-2]=="="?n-=2:e[e.length-1]=="="&&(n-=1);let r=new Uint8Array(n),s=0,o=0,a,i=0;for(let l=0;l<e.length;l++){if(a=t[e.charCodeAt(l)],a===void 0)switch(e[l]){case"=":o=0;case`
10
+ `:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string")}switch(o){case 0:i=a,o=1;break;case 1:r[s++]=i<<2|(a&48)>>4,i=a,o=2;break;case 2:r[s++]=(i&15)<<4|(a&60)>>2,i=a,o=3;break;case 3:r[s++]=(i&3)<<6|a,o=0;break}}if(o==1)throw Error("invalid base64 string");return r.subarray(0,s)}let $a,Ns;function NP(e){return $a||($a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),$a.slice(0,-2).concat("-","_")),$a}function IP(){if(!Ns){Ns=[];const e=NP();for(let t=0;t<e.length;t++)Ns[e[t].charCodeAt(0)]=t;Ns[45]=e.indexOf("+"),Ns[95]=e.indexOf("/")}return Ns}function Ii(e){let t=!1;const n=[];for(let r=0;r<e.length;r++){let s=e.charAt(r);switch(s){case"_":t=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n.push(s),t=!1;break;default:t&&(t=!1,s=s.toUpperCase()),n.push(s);break}}return n.join("")}const CP=new Set(["constructor","toString","toJSON","valueOf"]);function fa(e){return CP.has(e)?e+"$":e}function Sf(e){for(const t of e.field)ca(t,"jsonName")||(t.jsonName=Ii(t.name));e.nestedType.forEach(Sf)}function TP(e,t){const n=e.values.find(r=>r.name===t);if(!n)throw new Error(`cannot parse ${e} default value: ${t}`);return n.number}function RP(e,t){switch(e){case V.STRING:return t;case V.BYTES:{const n=PP(t);if(n===!1)throw new Error(`cannot parse ${V[e]} default value: ${t}`);return n}case V.INT64:case V.SFIXED64:case V.SINT64:return _t.parse(t);case V.UINT64:case V.FIXED64:return _t.uParse(t);case V.DOUBLE:case V.FLOAT:switch(t){case"inf":return Number.POSITIVE_INFINITY;case"-inf":return Number.NEGATIVE_INFINITY;case"nan":return Number.NaN;default:return parseFloat(t)}case V.BOOL:return t==="true";case V.INT32:case V.UINT32:case V.SINT32:case V.FIXED32:case V.SFIXED32:return parseInt(t,10)}}function PP(e){const t=[],n={tail:e,c:"",next(){return this.tail.length==0?!1:(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(r){if(this.tail.length>=r){const s=this.tail.substring(0,r);return this.tail=this.tail.substring(r),s}return!1}};for(;n.next();)switch(n.c){case"\\":if(n.next())switch(n.c){case"\\":t.push(n.c.charCodeAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{const r=n.c,s=n.take(2);if(s===!1)return!1;const o=parseInt(r+s,8);if(Number.isNaN(o))return!1;t.push(o);break}case"x":{const r=n.c,s=n.take(2);if(s===!1)return!1;const o=parseInt(r+s,16);if(Number.isNaN(o))return!1;t.push(o);break}case"u":{const r=n.c,s=n.take(4);if(s===!1)return!1;const o=parseInt(r+s,16);if(Number.isNaN(o))return!1;const a=new Uint8Array(4);new DataView(a.buffer).setInt32(0,o,!0),t.push(a[0],a[1],a[2],a[3]);break}case"U":{const r=n.c,s=n.take(8);if(s===!1)return!1;const o=_t.uEnc(r+s),a=new Uint8Array(8),i=new DataView(a.buffer);i.setInt32(0,o.lo,!0),i.setInt32(4,o.hi,!0),t.push(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]);break}}break;default:t.push(n.c.charCodeAt(0))}return new Uint8Array(t)}function*ku(e){switch(e.kind){case"file":for(const t of e.messages)yield t,yield*ku(t);yield*e.enums,yield*e.services,yield*e.extensions;break;case"message":for(const t of e.nestedMessages)yield t,yield*ku(t);yield*e.nestedEnums,yield*e.nestedExtensions;break}}function f1(...e){const t=BP();if(!e.length)return t;if("$typeName"in e[0]&&e[0].$typeName=="google.protobuf.FileDescriptorSet"){for(const n of e[0].file)_h(n,t);return t}if("$typeName"in e[0]){let o=function(a){const i=[];for(const l of a.dependency){if(t.getFile(l)!=null||s.has(l))continue;const u=r(l);if(!u)throw new Error(`Unable to resolve ${l}, imported by ${a.name}`);"kind"in u?t.addFile(u,!1,!0):(s.add(u.name),i.push(u))}return i.concat(...i.map(o))};const n=e[0],r=e[1],s=new Set;for(const a of[n,...o(n)].reverse())_h(a,t)}else for(const n of e)for(const r of n.files)t.addFile(r);return t}function BP(){const e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator](){return e.values()},get files(){return n.values()},addFile(r,s,o){if(n.set(r.proto.name,r),!s)for(const a of ku(r))this.add(a);if(o)for(const a of r.dependencies)this.addFile(a,s,o)},add(r){if(r.kind=="extension"){let s=t.get(r.extendee.typeName);s||t.set(r.extendee.typeName,s=new Map),s.set(r.number,r)}e.set(r.typeName,r)},get(r){return e.get(r)},getFile(r){return n.get(r)},getMessage(r){const s=e.get(r);return s?.kind=="message"?s:void 0},getEnum(r){const s=e.get(r);return s?.kind=="enum"?s:void 0},getExtension(r){const s=e.get(r);return s?.kind=="extension"?s:void 0},getExtensionFor(r,s){var o;return(o=t.get(r.typeName))===null||o===void 0?void 0:o.get(s)},getService(r){const s=e.get(r);return s?.kind=="service"?s:void 0}}}const OP=998,kP=999,FP=9999,MP=9,da=10,Zo=11,LP=12,vh=14,xf=3,$P=2,yh=1,WP=0,Ul=1,wh=2,DP=3,VP=1,GP=2,YP=1,UP=2,jP=1001,d1={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2,enforceNamingStyle:2,defaultSymbolVisibility:1},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1001:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:1,defaultSymbolVisibility:2}};function _h(e,t){var n,r;const s={kind:"file",proto:e,deprecated:(r=(n=e.options)===null||n===void 0?void 0:n.deprecated)!==null&&r!==void 0?r:!1,edition:XP(e),name:e.name.replace(/\.proto$/,""),dependencies:zP(e,t),enums:[],messages:[],extensions:[],services:[],toString(){return`file ${e.name}`}},o=new Map,a={get(i){return o.get(i)},add(i){var l;yn(((l=i.proto.options)===null||l===void 0?void 0:l.mapEntry)===!0),o.set(i.typeName,i)}};for(const i of e.enumType)p1(i,s,void 0,t);for(const i of e.messageType)h1(i,s,void 0,t,a);for(const i of e.service)ZP(i,s,t);Fu(s,t);for(const i of o.values())Mu(i,t,a);for(const i of s.messages)Mu(i,t,a),Fu(i,t);t.addFile(s,!0)}function Fu(e,t){switch(e.kind){case"file":for(const n of e.proto.extension){const r=Lu(n,e,t);e.extensions.push(r),t.add(r)}break;case"message":for(const n of e.proto.extension){const r=Lu(n,e,t);e.nestedExtensions.push(r),t.add(r)}for(const n of e.nestedMessages)Fu(n,t);break}}function Mu(e,t,n){const r=e.proto.oneofDecl.map(o=>HP(o,e)),s=new Set;for(const o of e.proto.field){const a=qP(o,r),i=Lu(o,e,t,a,n);e.fields.push(i),e.field[i.localName]=i,a===void 0?e.members.push(i):(a.fields.push(i),s.has(a)||(s.add(a),e.members.push(a)))}for(const o of r.filter(a=>s.has(a)))e.oneofs.push(o);for(const o of e.nestedMessages)Mu(o,t,n)}function p1(e,t,n,r){var s,o,a,i,l;const u=JP(e.name,e.value),c={kind:"enum",proto:e,deprecated:(o=(s=e.options)===null||s===void 0?void 0:s.deprecated)!==null&&o!==void 0?o:!1,file:t,parent:n,open:!0,name:e.name,typeName:al(e,n,t),value:{},values:[],sharedPrefix:u,toString(){return`enum ${this.typeName}`}};c.open=rB(c),r.add(c);for(const f of e.value){const d=f.name;c.values.push(c.value[f.number]={kind:"enum_value",proto:f,deprecated:(i=(a=f.options)===null||a===void 0?void 0:a.deprecated)!==null&&i!==void 0?i:!1,parent:c,name:d,localName:fa(u==null?d:d.substring(u.length)),number:f.number,toString(){return`enum value ${c.typeName}.${d}`}})}((l=n?.nestedEnums)!==null&&l!==void 0?l:t.enums).push(c)}function h1(e,t,n,r,s){var o,a,i,l;const u={kind:"message",proto:e,deprecated:(a=(o=e.options)===null||o===void 0?void 0:o.deprecated)!==null&&a!==void 0?a:!1,file:t,parent:n,name:e.name,typeName:al(e,n,t),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};((i=e.options)===null||i===void 0?void 0:i.mapEntry)===!0?s.add(u):(((l=n?.nestedMessages)!==null&&l!==void 0?l:t.messages).push(u),r.add(u));for(const c of e.enumType)p1(c,t,u,r);for(const c of e.nestedType)h1(c,t,u,r,s)}function ZP(e,t,n){var r,s;const o={kind:"service",proto:e,deprecated:(s=(r=e.options)===null||r===void 0?void 0:r.deprecated)!==null&&s!==void 0?s:!1,file:t,name:e.name,typeName:al(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};t.services.push(o),n.add(o);for(const a of e.method){const i=KP(a,o,n);o.methods.push(i),o.method[i.localName]=i}}function KP(e,t,n){var r,s,o,a;let i;e.clientStreaming&&e.serverStreaming?i="bidi_streaming":e.clientStreaming?i="client_streaming":e.serverStreaming?i="server_streaming":i="unary";const l=n.getMessage(or(e.inputType)),u=n.getMessage(or(e.outputType));yn(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),yn(u,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);const c=e.name;return{kind:"rpc",proto:e,deprecated:(s=(r=e.options)===null||r===void 0?void 0:r.deprecated)!==null&&s!==void 0?s:!1,parent:t,name:c,localName:fa(c.length?fa(c[0].toLowerCase()+c.substring(1)):c),methodKind:i,input:l,output:u,idempotency:(a=(o=e.options)===null||o===void 0?void 0:o.idempotencyLevel)!==null&&a!==void 0?a:WP,toString(){return`rpc ${t.typeName}.${c}`}}}function HP(e,t){return{kind:"oneof",proto:e,deprecated:!1,parent:t,fields:[],name:e.name,localName:fa(Ii(e.name)),toString(){return`oneof ${t.typeName}.${this.name}`}}}function Lu(e,t,n,r,s){var o,a,i;const l=s===void 0,u={kind:"field",proto:e,deprecated:(a=(o=e.options)===null||o===void 0?void 0:o.deprecated)!==null&&a!==void 0?a:!1,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:eB(e,r,l,t),utf8Validation:sB(e,t),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(l){const p=t.kind=="file"?t:t.file,h=t.kind=="file"?void 0:t,m=al(e,h,p);u.kind="extension",u.file=p,u.parent=h,u.oneof=void 0,u.typeName=m,u.jsonName=`[${m}]`,u.toString=()=>`extension ${m}`;const g=n.getMessage(or(e.extendee));yn(g,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),u.extendee=g}else{const p=t;yn(p.kind=="message"),u.parent=p,u.oneof=r,u.localName=r?Ii(e.name):fa(Ii(e.name)),u.jsonName=e.jsonName,u.toString=()=>`field ${p.typeName}.${e.name}`}const c=e.label,f=e.type,d=(i=e.options)===null||i===void 0?void 0:i.jstype;if(c===xf){const p=f==Zo?s?.get(or(e.typeName)):void 0;if(p){u.fieldKind="map";const{key:h,value:m}=nB(p);return u.mapKey=h.scalar,u.mapKind=m.fieldKind,u.message=m.message,u.delimitedEncoding=!1,u.enum=m.enum,u.scalar=m.scalar,u}switch(u.fieldKind="list",f){case Zo:case da:u.listKind="message",u.message=n.getMessage(or(e.typeName)),yn(u.message),u.delimitedEncoding=Eh(e,t);break;case vh:u.listKind="enum",u.enum=n.getEnum(or(e.typeName)),yn(u.enum);break;default:u.listKind="scalar",u.scalar=f,u.longAsString=d==yh;break}return u.packed=tB(e,t),u}switch(f){case Zo:case da:u.fieldKind="message",u.message=n.getMessage(or(e.typeName)),yn(u.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.delimitedEncoding=Eh(e,t),u.getDefaultValue=()=>{};break;case vh:{const p=n.getEnum(or(e.typeName));yn(p!==void 0,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),u.fieldKind="enum",u.enum=n.getEnum(or(e.typeName)),u.getDefaultValue=()=>ca(e,"defaultValue")?TP(p,e.defaultValue):void 0;break}default:{u.fieldKind="scalar",u.scalar=f,u.longAsString=d==yh,u.getDefaultValue=()=>ca(e,"defaultValue")?RP(f,e.defaultValue):void 0;break}}return u}function XP(e){switch(e.syntax){case"":case"proto2":return OP;case"proto3":return kP;case"editions":if(e.edition===FP)return jP;if(e.edition in d1)return e.edition;throw new Error(`${e.name}: unsupported edition`);default:throw new Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}function zP(e,t){return e.dependency.map(n=>{const r=t.getFile(n);if(!r)throw new Error(`Cannot find ${n}, imported by ${e.name}`);return r})}function JP(e,t){const n=QP(e)+"_";for(const r of t){if(!r.name.toLowerCase().startsWith(n))return;const s=r.name.substring(n.length);if(s.length==0||/^\d/.test(s))return}return n}function QP(e){return(e.substring(0,1)+e.substring(1).replace(/[A-Z]/g,t=>"_"+t)).toLowerCase()}function al(e,t,n){let r;return t?r=`${t.typeName}.${e.name}`:n.proto.package.length>0?r=`${n.proto.package}.${e.name}`:r=`${e.name}`,r}function or(e){return e.startsWith(".")?e.substring(1):e}function qP(e,t){if(!ca(e,"oneofIndex")||e.proto3Optional)return;const n=t[e.oneofIndex];return yn(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}function eB(e,t,n,r){if(e.label==$P)return DP;if(e.label==xf)return wh;if(t||e.proto3Optional||n)return Ul;const s=gs("fieldPresence",{proto:e,parent:r});return s==wh&&(e.type==Zo||e.type==da)?Ul:s}function tB(e,t){if(e.label!=xf)return!1;switch(e.type){case MP:case LP:case da:case Zo:return!1}const n=e.options;return n&&ca(n,"packed")?n.packed:VP==gs("repeatedFieldEncoding",{proto:e,parent:t})}function nB(e){const t=e.fields.find(r=>r.number===1),n=e.fields.find(r=>r.number===2);return yn(t&&t.fieldKind=="scalar"&&t.scalar!=V.BYTES&&t.scalar!=V.FLOAT&&t.scalar!=V.DOUBLE&&n&&n.fieldKind!="list"&&n.fieldKind!="map"),{key:t,value:n}}function rB(e){var t;return YP==gs("enumType",{proto:e.proto,parent:(t=e.parent)!==null&&t!==void 0?t:e.file})}function Eh(e,t){return e.type==da?!0:GP==gs("messageEncoding",{proto:e,parent:t})}function sB(e,t){return UP==gs("utf8Validation",{proto:e,parent:t})}function gs(e,t){var n,r;const s=(n=t.proto.options)===null||n===void 0?void 0:n.features;if(s){const o=s[e];if(o!=0)return o}if("kind"in t){if(t.kind=="message")return gs(e,(r=t.parent)!==null&&r!==void 0?r:t.file);const o=d1[t.edition];if(!o)throw new Error(`feature default for edition ${t.edition} not found`);return o[e]}return gs(e,t.parent)}function yn(e,t){if(!e)throw new Error(t)}function oB(e){const t=aB(e);return t.messageType.forEach(Sf),f1(t,()=>{}).getFile(t.name)}function aB(e){return Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},e),{messageType:e.messageType.map(m1),enumType:e.enumType.map(g1)}))}function m1(e){var t,n,r,s,o,a,i,l;return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:(n=(t=e.field)===null||t===void 0?void 0:t.map(iB))!==null&&n!==void 0?n:[],extension:[],nestedType:(s=(r=e.nestedType)===null||r===void 0?void 0:r.map(m1))!==null&&s!==void 0?s:[],enumType:(a=(o=e.enumType)===null||o===void 0?void 0:o.map(g1))!==null&&a!==void 0?a:[],extensionRange:(l=(i=e.extensionRange)===null||i===void 0?void 0:i.map(c=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},c)))!==null&&l!==void 0?l:[],oneofDecl:[],reservedRange:[],reservedName:[]})}function iB(e){return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?lB(e.options):void 0}))}function lB(e){var t,n,r;return Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},e),{targets:(t=e.targets)!==null&&t!==void 0?t:[],editionDefaults:(r=(n=e.editionDefaults)===null||n===void 0?void 0:n.map(o=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},o)))!==null&&r!==void 0?r:[],uninterpretedOption:[]}))}function g1(e){return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(n=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},n))})}function se(e,t,...n){return n.reduce((r,s)=>r.nestedMessages[s],e.messages[t])}function Qt(e,t,...n){if(n.length==0)return e.enums[t];const r=n.pop();return n.reduce((s,o)=>s.nestedMessages[o],e.messages[t]).nestedEnums[r]}const uB=oB({name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}],extensionRange:[{start:536e6,end:536000001}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"option_dependency",number:15,type:9,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3},{name:"visibility",number:11,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3},{name:"visibility",number:6,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false",options:{}},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1},{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false",options:{deprecated:!0}},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"removal_error",number:5,type:9,label:1}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:536870912}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:536870912}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}},{name:"enforce_naming_style",number:7,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnforceNamingStyle",options:{retention:2,targets:[1,2,3,4,5,6,7,8,9],editionDefaults:[{value:"STYLE_LEGACY",edition:900},{value:"STYLE2024",edition:1001}]}},{name:"default_symbol_visibility",number:8,type:14,label:1,typeName:".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility",options:{retention:2,targets:[1],editionDefaults:[{value:"EXPORT_ALL",edition:900},{value:"EXPORT_TOP_LEVEL",edition:1001}]}}],nestedType:[{name:"VisibilityFeature",enumType:[{name:"DefaultSymbolVisibility",value:[{name:"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",number:0},{name:"EXPORT_ALL",number:1},{name:"EXPORT_TOP_LEVEL",number:2},{name:"LOCAL_ALL",number:3},{name:"STRICT",number:4}]}]}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0},{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]},{name:"EnforceNamingStyle",value:[{name:"ENFORCE_NAMING_STYLE_UNKNOWN",number:0},{name:"STYLE2024",number:1},{name:"STYLE_LEGACY",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}],extensionRange:[{start:536e6,end:536000001}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_UNSTABLE",number:9999},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:2147483647}]},{name:"SymbolVisibility",value:[{name:"VISIBILITY_UNSET",number:0},{name:"VISIBILITY_LOCAL",number:1},{name:"VISIBILITY_EXPORT",number:2}]}]}),cB=se(uB,1);var Ah;(function(e){e[e.DECLARATION=0]="DECLARATION",e[e.UNVERIFIED=1]="UNVERIFIED"})(Ah||(Ah={}));var Sh;(function(e){e[e.DOUBLE=1]="DOUBLE",e[e.FLOAT=2]="FLOAT",e[e.INT64=3]="INT64",e[e.UINT64=4]="UINT64",e[e.INT32=5]="INT32",e[e.FIXED64=6]="FIXED64",e[e.FIXED32=7]="FIXED32",e[e.BOOL=8]="BOOL",e[e.STRING=9]="STRING",e[e.GROUP=10]="GROUP",e[e.MESSAGE=11]="MESSAGE",e[e.BYTES=12]="BYTES",e[e.UINT32=13]="UINT32",e[e.ENUM=14]="ENUM",e[e.SFIXED32=15]="SFIXED32",e[e.SFIXED64=16]="SFIXED64",e[e.SINT32=17]="SINT32",e[e.SINT64=18]="SINT64"})(Sh||(Sh={}));var xh;(function(e){e[e.OPTIONAL=1]="OPTIONAL",e[e.REPEATED=3]="REPEATED",e[e.REQUIRED=2]="REQUIRED"})(xh||(xh={}));var Nh;(function(e){e[e.SPEED=1]="SPEED",e[e.CODE_SIZE=2]="CODE_SIZE",e[e.LITE_RUNTIME=3]="LITE_RUNTIME"})(Nh||(Nh={}));var Ih;(function(e){e[e.STRING=0]="STRING",e[e.CORD=1]="CORD",e[e.STRING_PIECE=2]="STRING_PIECE"})(Ih||(Ih={}));var Ch;(function(e){e[e.JS_NORMAL=0]="JS_NORMAL",e[e.JS_STRING=1]="JS_STRING",e[e.JS_NUMBER=2]="JS_NUMBER"})(Ch||(Ch={}));var Th;(function(e){e[e.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",e[e.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",e[e.RETENTION_SOURCE=2]="RETENTION_SOURCE"})(Th||(Th={}));var Rh;(function(e){e[e.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",e[e.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",e[e.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",e[e.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",e[e.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",e[e.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",e[e.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",e[e.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",e[e.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",e[e.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD"})(Rh||(Rh={}));var Ph;(function(e){e[e.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",e[e.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",e[e.IDEMPOTENT=2]="IDEMPOTENT"})(Ph||(Ph={}));var Bh;(function(e){e[e.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0]="DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",e[e.EXPORT_ALL=1]="EXPORT_ALL",e[e.EXPORT_TOP_LEVEL=2]="EXPORT_TOP_LEVEL",e[e.LOCAL_ALL=3]="LOCAL_ALL",e[e.STRICT=4]="STRICT"})(Bh||(Bh={}));var Oh;(function(e){e[e.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",e[e.EXPLICIT=1]="EXPLICIT",e[e.IMPLICIT=2]="IMPLICIT",e[e.LEGACY_REQUIRED=3]="LEGACY_REQUIRED"})(Oh||(Oh={}));var kh;(function(e){e[e.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",e[e.OPEN=1]="OPEN",e[e.CLOSED=2]="CLOSED"})(kh||(kh={}));var Fh;(function(e){e[e.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",e[e.PACKED=1]="PACKED",e[e.EXPANDED=2]="EXPANDED"})(Fh||(Fh={}));var Mh;(function(e){e[e.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",e[e.VERIFY=2]="VERIFY",e[e.NONE=3]="NONE"})(Mh||(Mh={}));var Lh;(function(e){e[e.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",e[e.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",e[e.DELIMITED=2]="DELIMITED"})(Lh||(Lh={}));var $h;(function(e){e[e.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",e[e.ALLOW=1]="ALLOW",e[e.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT"})($h||($h={}));var Wh;(function(e){e[e.ENFORCE_NAMING_STYLE_UNKNOWN=0]="ENFORCE_NAMING_STYLE_UNKNOWN",e[e.STYLE2024=1]="STYLE2024",e[e.STYLE_LEGACY=2]="STYLE_LEGACY"})(Wh||(Wh={}));var Dh;(function(e){e[e.NONE=0]="NONE",e[e.SET=1]="SET",e[e.ALIAS=2]="ALIAS"})(Dh||(Dh={}));var Vh;(function(e){e[e.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",e[e.EDITION_LEGACY=900]="EDITION_LEGACY",e[e.EDITION_PROTO2=998]="EDITION_PROTO2",e[e.EDITION_PROTO3=999]="EDITION_PROTO3",e[e.EDITION_2023=1e3]="EDITION_2023",e[e.EDITION_2024=1001]="EDITION_2024",e[e.EDITION_UNSTABLE=9999]="EDITION_UNSTABLE",e[e.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",e[e.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",e[e.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",e[e.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",e[e.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",e[e.EDITION_MAX=2147483647]="EDITION_MAX"})(Vh||(Vh={}));var Gh;(function(e){e[e.VISIBILITY_UNSET=0]="VISIBILITY_UNSET",e[e.VISIBILITY_LOCAL=1]="VISIBILITY_LOCAL",e[e.VISIBILITY_EXPORT=2]="VISIBILITY_EXPORT"})(Gh||(Gh={}));function fB(e){return Object.assign(Object.assign({readUnknownFields:!0,recursionLimit:100},e),{depth:0})}function b1(e,t,n){const r=yf(e,void 0,!1);return v1(r,new vP(t),fB(n),!1,t.byteLength),r.message}function v1(e,t,n,r,s){var o;if(++n.depth>n.recursionLimit)throw new Error(`cannot decode ${e.desc} from binary: maximum recursion depth of ${n.recursionLimit} reached`);const a=r?t.len:t.pos+s;let i,l;const u=(o=e.getUnknown())!==null&&o!==void 0?o:[];for(;t.pos<a&&([i,l]=t.tag(),!(r&&l==vn.EndGroup));){const c=e.findNumber(i);if(!c){const f=n.recursionLimit-n.depth,d=t.skip(l,i,f);n.readUnknownFields&&u.push({no:i,wireType:l,data:d});continue}dB(e,t,c,l,n)}if(r&&(l!=vn.EndGroup||i!==s))throw new Error("invalid end group tag");u.length>0&&e.setUnknown(u),n.depth--}function dB(e,t,n,r,s){var o;switch(n.fieldKind){case"scalar":e.set(n,Js(t,n.scalar,n.utf8Validation));break;case"enum":const a=Js(t,V.INT32);if(n.enum.open)e.set(n,a);else if(n.enum.values.some(l=>l.number===a))e.set(n,a);else if(s.readUnknownFields){const l=[];z8(a,l);const u=(o=e.getUnknown())!==null&&o!==void 0?o:[];u.push({no:n.number,wireType:r,data:new Uint8Array(l)}),e.setUnknown(u)}break;case"message":e.set(n,Nf(t,s,n,e.get(n)));break;case"list":hB(t,r,e.get(n),s);break;case"map":pB(t,e.get(n),s);break}}function pB(e,t,n){const r=t.field();let s,o;const a=e.uint32(),i=e.pos+a;for(;e.pos<i;){const[l]=e.tag();switch(l){case 1:s=Js(e,r.mapKey,r.utf8Validation);break;case 2:switch(r.mapKind){case"scalar":o=Js(e,r.scalar,r.utf8Validation);break;case"enum":o=e.int32();break;case"message":o=Nf(e,n,r);break}break}}if(s===void 0&&(s=ua(r.mapKey,!1)),o===void 0)switch(r.mapKind){case"scalar":o=ua(r.scalar,!1);break;case"enum":o=r.enum.values[0].number;break;case"message":o=yf(r.message,void 0,!1);break}t.set(s,o)}function hB(e,t,n,r){var s;const o=n.field();if(o.listKind==="message"){n.add(Nf(e,r,o));return}const a=(s=o.scalar)!==null&&s!==void 0?s:V.INT32;if(!(t==vn.LengthDelimited&&a!=V.STRING&&a!=V.BYTES)){n.add(Js(e,a,o.utf8Validation));return}const l=e.uint32()+e.pos;for(;e.pos<l;)n.add(Js(e,a,o.utf8Validation))}function Nf(e,t,n,r){const s=n.delimitedEncoding,o=r??yf(n.message,void 0,!1);return v1(o,e,t,s,s?n.number:e.uint32()),o}function Js(e,t,n=!1){switch(t){case V.STRING:return e.string(n);case V.BOOL:return e.bool();case V.DOUBLE:return e.double();case V.FLOAT:return e.float();case V.INT32:return e.int32();case V.INT64:return e.int64();case V.UINT64:return e.uint64();case V.FIXED64:return e.fixed64();case V.BYTES:return e.bytes();case V.FIXED32:return e.fixed32();case V.SFIXED32:return e.sfixed32();case V.SFIXED64:return e.sfixed64();case V.SINT64:return e.sint64();case V.UINT32:return e.uint32();case V.SINT32:return e.sint32()}}function mB(e,t){var n;const r=b1(cB,xP(e));return r.messageType.forEach(Sf),r.dependency=(n=void 0)!==null&&n!==void 0?n:[],f1(r,o=>{}).getFile(r.name)}function gB(e,t,...n){if(n.length>0)throw new Error;return e.services[t]}var bB=Object.create,y1=Object.defineProperty,vB=Object.getOwnPropertyDescriptor,w1=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),_1=e=>{throw TypeError(e)},yB=(e,t,n)=>t in e?y1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rt=e=>[,,,bB(e?.[w1("metadata")]??null)],E1=["class","method","getter","setter","accessor","field","value","get","set"],A1=e=>e!==void 0&&typeof e!="function"?_1("Function expected"):e,wB=(e,t,n,r,s)=>({kind:E1[e],name:t,metadata:r,addInitializer:o=>n._?_1("Already initialized"):s.push(A1(o||null))}),st=(e,t)=>yB(t,w1("metadata"),e[3]),ot=(e,t,n,r)=>{for(var s=0,o=e[t>>1],a=o&&o.length;s<a;s++)o[s].call(n);return r},N=(e,t,n,r,s,o)=>{for(var a,i,l,u,c=t&7,f=!1,d=!1,p=2,h=E1[c+5],m=e[p]||(e[p]=[]),g=(s=s.prototype,vB(s,n)),y=r.length-1;y>=0;y--)l=wB(c,n,i={},e[3],m),l.static=f,l.private=d,u=l.access={has:v=>n in v},u.get=v=>v[n],c>2,a=(0,r[y])(g[h],l),i._=1,A1(a)&&(g[h]=a);return g&&y1(s,n,g),s};function I(){return function(e,t){let n=String(t.name);return function(...r){let s=this.constructor.name;try{return e.call(this,...r)}catch(o){if(typeof this.handleError=="function")this.handleError(o,s,n);else throw console.error(`${s}.${n} 未知异常`,o),o}}}}var Vn=class extends Error{constructor(e,t,n){super(t||"操作失败"),this.name="BiliError",this.rawError=n instanceof Error?n:new Error(String(n));let{timeout:r,userAgent:s,context:o}=e;this.clientConfig={timeout:r,userAgent:s,context:o?.userCookie?{userCookie:o?.userCookie}:void 0}}},S1=class extends Vn{constructor(t,n,r,s){super(t,r,s),this.name="BiliApiError";let{url:o,method:a,query:i,data:l,skipWbiSign:u,autoCsrf:c}=n;this.requestOptions={url:o,method:a,query:i,data:l,skipWbiSign:u,autoCsrf:c}}},Wa=class extends S1{constructor(e,t,n,r,s){super(e,t,r||n.statusText||`HTTP ${n.status}`,s),this.status=0,this.name="BiliApiHttpError",this.status=n.status}},x1=class extends S1{constructor(t,n,r,s,o){super(t,n,s||r.message,o),this.name="BiliApiBusinessError",this.responseCode=r.code??-1,this.responseData=r.data}};async function _B(e,t,n){let r={updateRequestContext:!0,autoRefresh:!0,pollIntervalMs:1233,...n},s=AbortSignal.timeout(180*1e3),o=r.signal?AbortSignal.any([r.signal,s]):s,a=u=>new Promise(c=>setTimeout(c,u)),i=u=>{try{t.onStatusChange(u)}catch(c){e.logger.error("[QRCodeLogin] onStatusChange callback error:",c)}},l=async u=>{try{await t.onQRCodeReceived(u)}catch(c){e.logger.error("[QRCodeLogin] onQRCodeReceived callback error:",c)}};try{for(;!o.aborted;){i("正在获取登录二维码...");let u=await e.getLoginQRCode(n);if(!u?.url||!u?.qrcode_key)throw new Error("未能获取有效的二维码数据");await l(u.url),i("请使用手机 App 扫码登录..."),await a(2e3);let c=!1;for(;!o.aborted&&!c;){let f=await e.getQRCodeLoginResult(u.qrcode_key,n);switch(i(f.message),f.code){case 0:return i("扫码成功,正在同步用户信息..."),t.cookieProvider&&(await a(1e3),f.setCookie=await t.cookieProvider()),await e.initLoginSession(f.setCookie,r.updateRequestContext,n);case 86038:if(r.autoRefresh)i("二维码已失效,正在自动刷新..."),c=!0;else throw new Vn(e.clientConfig,"二维码已失效");break;default:await a(r.pollIntervalMs);break}}}}catch(u){if(r.signal?.aborted)throw i("取消登录"),Gs("取消登录");if(o.aborted||Lc(u)){let c="登录超时";throw i(c),new Error(c)}throw u}throw o.aborted?Gs():new Error("登录流程异常终止")}function EB(e){if(!e)throw new Error("setCookie 为空");let t=[],n,r;for(let s of e)if(s){let o=s.slice(0,s.indexOf(";")+1);t.push(o),o.startsWith("bili_jct=")&&(n=o.slice(9,-1)),o.startsWith("DedeUserID=")&&(r=o.slice(11,-1))}if(!n||!r)throw new Error("setCookie 解析错误,不存在 bili_jct/uid");return{uid:Number(r),cookie:t.join(" "),bili_jct:n}}var N1=class{constructor(e){this.api=e}get clientConfig(){return this.api.clientConfig}get logger(){return this.api.logger}get request(){return this.api.request}get get(){return this.api.get}get post(){return this.api.post}get save(){return this.api.save}get currUserUid(){let e=this.api.clientConfig.context?.userCookie.uid;if(e===void 0)throw new Vn(this.clientConfig,"用户未登录");return e}},Qe=class extends N1{constructor(e){super(e),this.createPager=e.createPager}throwError(e,t){throw new Vn(this.clientConfig,Ys(e),t)}handleError(e,t,n){if(e instanceof Vn)this.logger.error(`${t}.${n} 出现错误`,e);else{let r=new Vn(this.clientConfig,Ys(e),e);this.logger.error(`${t}.${n} 出现错误`,r)}throw e}resolveVideoId(e){return e.aid!==void 0?{aid:e.aid}:{bvid:e.bvid}}},I1,C1,T1,R1,P1,B1,O1,k1,F1,$u,tn,mn=class extends($u=Qe,F1=[I()],k1=[I()],O1=[I()],B1=[I()],P1=[I()],R1=[I()],T1=[I()],C1=[I()],I1=[I()],$u){constructor(){super(...arguments),ot(tn,5,this)}getLoginQRCode(e){return this.get("https://passport.bilibili.com/x/passport-login/web/qrcode/generate",e)}async getQRCodeLoginResult(e,t){let n=await this.get("https://passport.bilibili.com/x/passport-login/web/qrcode/poll",{query:{qrcode_key:e},skipWbiSign:!0,returnFormat:"RawResponse",...t});return{...(await n.json()).data,setCookie:n.headers.getSetCookie()}}async loginWithQRCode(e,t){return _B(this,e,t)}getBuvids(e){return this.get("https://api.bilibili.com/x/frontend/finger/spi",e)}getMyInfo(e,t){return this.get("https://api.bilibili.com/x/space/myinfo",{cookie:e,...t})}async initLoginSession(e,t=!0,n){this.logger.info("初始化用户数据...");let r=EB(e),{b_3:s,b_4:o}=await this.getBuvids(n);r.cookie=`${r.cookie} buvid3=${encodeURIComponent(s)}; buvid4=${encodeURIComponent(o)}; `;let a={userCookie:r};return t&&(this.clientConfig.context=a),this.logger.info(`已完成用户登录:${r.uid}`),a}async getUserCard(e,t){return await this.get("https://api.bilibili.com/x/web-interface/card",{query:e,...t})}async getUserCards(e,t){let n=await this.get("https://api.vc.bilibili.com/account/v1/user/cards",{query:{uids:e.join(",")},...t});return e.map(r=>n.find(s=>s.mid===r)??null)}async getUpStat(e,t){return await this.get("https://api.bilibili.com/x/space/upstat",{query:{mid:e},...t})}};tn=rt($u),N(tn,1,"getLoginQRCode",F1,mn),N(tn,1,"getQRCodeLoginResult",k1,mn),N(tn,1,"loginWithQRCode",O1,mn),N(tn,1,"getBuvids",B1,mn),N(tn,1,"getMyInfo",P1,mn),N(tn,1,"initLoginSession",R1,mn),N(tn,1,"getUserCard",T1,mn),N(tn,1,"getUserCards",C1,mn),N(tn,1,"getUpStat",I1,mn),st(tn,mn);var yo={PersonalSpace:11,Comment:15,H5FollowList:106,H5FansList:107,BlockList:116},Xr={FOLLOW:{code:1,name:"关注",reSrc:yo.PersonalSpace},UNFOLLOW:{code:2,name:"取关",reSrc:yo.H5FollowList},BLOCK:{code:5,name:"拉黑",reSrc:yo.Comment},UNBLOCK:{code:6,name:"取消拉黑",reSrc:yo.BlockList},REMOVE_FAN:{code:7,name:"踢出粉丝",reSrc:yo.H5FansList}},Gt=class{constructor(e){this.options=e,e.pageParams&&(e.pageNum=this.parsePageNum(e.pageParams))}},M1=class extends Gt{hasNextPage(e,t,n){return!(this.options.total!==void 0&&(t.length>=this.options.total||(e-1)*this.options.pageSize>=this.options.total)||n!==null&&(n.data===null||io(n.data)||this.getList(n).length<this.options.pageSize))}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data}},Ja=class Wu extends M1{static isPageDataWithTotalResponse(t){return t!==null&&typeof t.data=="object"&&t.data!==null&&"total"in t.data&&"list"in t.data}hasNextPage(t,n,r){return!(!super.hasNextPage(t,n,r)||r!==null&&(!Wu.isPageDataWithTotalResponse(r)||r.data.total<=n.length||io(r.data.list)))}getList(t){return Wu.isPageDataWithTotalResponse(t)?t.data.list:[]}},L1,$1,W1,D1,V1,G1,Y1,U1,j1,Z1,K1,H1,X1,z1,J1,Q1,q1,ev,tv,nv,rv,sv,ov,av,iv,lv,uv,Du,Me,$e=class extends(Du=Qe,uv=[I()],lv=[I()],iv=[I()],av=[I()],ov=[I()],sv=[I()],rv=[I()],nv=[I()],tv=[I()],ev=[I()],q1=[I()],Q1=[I()],J1=[I()],z1=[I()],X1=[I()],H1=[I()],K1=[I()],Z1=[I()],j1=[I()],U1=[I()],Y1=[I()],G1=[I()],V1=[I()],D1=[I()],W1=[I()],$1=[I()],L1=[I()],Du){constructor(){super(...arguments),ot(Me,5,this)}get userService(){return this.api.client.user}buildRelationPager(t,n,r){return this.createPager("https://api.bilibili.com/x/relation/tag",new M1({pageSize:200,total:typeof t=="object"?t.count:void 0,...n}),{query:{tagid:typeof t=="object"?t.tagid:t},...r})}async fetchRelationPage(t,n,r){return await this.buildRelationPager(t,n,r).fetchNext()}async fetchRelationPageWithNextParams(t,n,r){return await this.buildRelationPager(t,n,r).fetchPageWithNextParams()}async fetchRelationAll(t,n,r,s){return await this.buildRelationPager(t,n,s).fetchAllPage(r)}async getRelation(t,n){return this.get("https://api.bilibili.com/x/space/wbi/acc/relation",{query:{mid:t,web_location:"333.1387"},...n})}getFollowTags(t){return this.get("https://api.bilibili.com/x/relation/tags",t)}getFollowingsByTag(t,n,r,s){return this.fetchRelationAll(t,n,r,s)}createFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/create",{data:{tag:t},...n})}updateFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/update",{data:t,...n})}deleteFollowTag(t,n){return this.save("https://api.bilibili.com/x/relation/tag/del",{data:{tagid:`${t}`},...n})}async getFollowsGroupedByTag(t,n,r){let s=await this.getFollowTags(r);for(let o of s)o.list=await this.getFollowingsByTag(o,t,n,r);return s}buildFollowingsPager(t,n,r){if(!t&&!this.currUserUid)throw new Vn(this.clientConfig,"uid 为空");return this.createPager("https://api.bilibili.com/x/relation/followings",new Ja({pageSize:24,...n}),{query:{vmid:t??this.currUserUid,order:"desc"},...r})}async fetchFollowingsPage(t,n,r){return await this.buildFollowingsPager(t,n,r).fetchNext()}async fetchPageWithNextParams(t,n,r){return await this.buildFollowingsPager(t,n,r).fetchPageWithNextParams()}async fetchFollowingsAll(t,n,r,s){return await this.buildFollowingsPager(t,n,s).fetchAllPage(r)}async followUser(t,n){await this.modify(t,Xr.FOLLOW,!0,n)}async unFollowUser(t,n){await this.modify(t,Xr.UNFOLLOW,!0,n)}copyUsersToTag(t,n,r){return this.save("https://api.bilibili.com/x/relation/tags/copyUsers",{data:{fids:t.join(","),tagids:n.join(",")},...r})}buildFansPager(t,n,r){if(!t&&!this.currUserUid)throw new Vn(this.clientConfig,"uid 为空");return this.createPager("https://api.bilibili.com/x/relation/fans",new Ja({pageSize:24,...n}),{query:{vmid:t??this.currUserUid,order:"desc"},...r})}async fetchFansPage(t,n,r){return await this.buildFansPager(t,n,r).fetchNext()}async fetchFansPageWithNextParams(t,n,r){return await this.buildFansPager(t,n,r).fetchPageWithNextParams()}async fetchFansAll(t,n,r,s){return await this.buildFansPager(t,n,s).fetchAllPage(r)}async removeFan(t,n){await this.modify(t,Xr.REMOVE_FAN,!0,n)}async getStat(t,n){return await this.get("https://api.bilibili.com/x/relation/stat",{query:{vmid:t},...n})}async avoidRiskControl(t,n){await this.get("https://api.bilibili.com/x/web-interface/wbi/search/all/v2",{query:{__refresh__:"true",_extra:"",context:"",page:"1",page_size:"42",order:"",pubtime_begin_s:"0",pubtime_end_s:"0",duration:"",from_source:"",from_spmid:"333.337",platform:"pc",highlight:"1",single_column:"0",keyword:`UID: ${t}`,ad_resource:"5646",source_tag:"3"},...n,logRequestParams:!1}),await Os(666,n?.signal),await this.getRelation(t),await Os(50,n?.signal),await this.getStat(t,n),await Os(50,n?.signal),await this.userService.getUpStat(t,n),await Os(666,n?.signal)}async modify(t,n,r=!0,s){r&&await this.avoidRiskControl(t,s),await this.save("https://api.bilibili.com/x/relation/modify",{query:{statistics:'{"appId":100,"platform":5}',...n.code!==Xr.BLOCK.code?{"x-bili-device-req-json":'{"platform":"web","device":"pc","spmid":"333.1387"}'}:{}},data:{fid:String(t),act:String(n.code),re_src:n.reSrc.toString(),spmid:"333.1387",extend_content:`{"entity":"query","entity_id":"${t}"}`,gaia_source:"web_main",...n.code!==Xr.BLOCK.code?{is_from_frontend_component:"true"}:{}},ignoreBusinessError:!1,...s})}async blockUser(t,n){await this.modify(t,Xr.BLOCK,!1,n)}async unBlockUser(t,n){await this.modify(t,Xr.UNBLOCK,!0,n)}buildBlocksPager(t,n){return this.createPager("https://api.bilibili.com/x/relation/blacks",new Ja({pageSize:50,...t}),{...n})}async fetchBlocksPage(t,n){return await this.buildBlocksPager(t,n).fetchNext()}async fetchBlocksPageWithNextParams(t,n){return await this.buildBlocksPager(t,n).fetchPageWithNextParams()}async fetchBlocksAll(t,n,r){return await this.buildBlocksPager(t,r).fetchAllPage(n)}};Me=rt(Du),N(Me,1,"fetchRelationPage",uv,$e),N(Me,1,"fetchRelationPageWithNextParams",lv,$e),N(Me,1,"fetchRelationAll",iv,$e),N(Me,1,"getRelation",av,$e),N(Me,1,"getFollowTags",ov,$e),N(Me,1,"getFollowingsByTag",sv,$e),N(Me,1,"createFollowTag",rv,$e),N(Me,1,"updateFollowTag",nv,$e),N(Me,1,"deleteFollowTag",tv,$e),N(Me,1,"getFollowsGroupedByTag",ev,$e),N(Me,1,"fetchFollowingsPage",q1,$e),N(Me,1,"fetchPageWithNextParams",Q1,$e),N(Me,1,"fetchFollowingsAll",J1,$e),N(Me,1,"followUser",z1,$e),N(Me,1,"unFollowUser",X1,$e),N(Me,1,"copyUsersToTag",H1,$e),N(Me,1,"fetchFansPage",K1,$e),N(Me,1,"fetchFansPageWithNextParams",Z1,$e),N(Me,1,"fetchFansAll",j1,$e),N(Me,1,"getStat",U1,$e),N(Me,1,"avoidRiskControl",Y1,$e),N(Me,1,"modify",G1,$e),N(Me,1,"blockUser",V1,$e),N(Me,1,"unBlockUser",D1,$e),N(Me,1,"fetchBlocksPage",W1,$e),N(Me,1,"fetchBlocksPageWithNextParams",$1,$e),N(Me,1,"fetchBlocksAll",L1,$e),st(Me,$e);var AB=class extends Gt{hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data;if(r.cursor.ps===0||r.cursor.max===0)return!1}return!0}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r===null)t.ps=this.options.pageSize,t.max=0,t.view_at=0,t.business=t.business??"";else{let s=r.data.cursor;t.ps=s.ps,t.max=s.max,t.view_at=s.view_at,t.business=s.business}}getList(e){return e.data.list}},cv,fv,dv,pv,hv,mv,gv,bv,Vu,gn,Bn=class extends(Vu=Qe,bv=[I()],gv=[I()],mv=[I()],hv=[I()],pv=[I()],dv=[I()],fv=[I()],cv=[I()],Vu){constructor(){super(...arguments),ot(gn,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/web-interface/history/cursor",new AB({pageSize:20,...t}),{query:{business:e??""},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}deleteHistory(e,t){return this.save("https://api.bilibili.com/x/v2/history/delete",{data:{kid:e},...t})}clearHistory(e){return this.save("https://api.bilibili.com/x/v2/history/clear",{...e})}setHistoryShadow(e,t){return this.save("https://api.bilibili.com/x/v2/history/shadow/set",{data:{switch:e},...t})}getHistoryShadow(e){return this.get("https://api.bilibili.com/x/v2/history/shadow",{...e})}report(e,t){return this.save("https://api.bilibili.com/x/v2/history/report",{data:{...e,platform:"web"},...t})}};gn=rt(Vu),N(gn,1,"fetchPage",bv,Bn),N(gn,1,"fetchPageWithNextParams",gv,Bn),N(gn,1,"fetchAll",mv,Bn),N(gn,1,"deleteHistory",hv,Bn),N(gn,1,"clearHistory",pv,Bn),N(gn,1,"setHistoryShadow",dv,Bn),N(gn,1,"getHistoryShadow",fv,Bn),N(gn,1,"report",cv,Bn),st(gn,Bn);var vv,yv,wv,_v,Ev,Av,Sv,xv,Nv,Iv,Gu,Zt,nn=class extends(Gu=Qe,Iv=[I()],Nv=[I()],xv=[I()],Sv=[I()],Av=[I()],Ev=[I()],_v=[I()],wv=[I()],yv=[I()],vv=[I()],Gu){constructor(){super(...arguments),ot(Zt,5,this)}getSettings(e){return this.get("https://api.vc.bilibili.com/link_setting/v1/link_setting/get",{query:{msg_notify:1,show_unfollowed_msg:1,build:0,mobi_app:"web"},...e})}updateSettings(e,t){return this.save("https://api.vc.bilibili.com/link_setting/v1/link_setting/set",{data:{...e,build:0,mobi_app:"web"},...t})}getBlockWords(e){return this.get("https://api.vc.bilibili.com/x/im/link_setting/get_block_words",{query:{build:0,mobi_app:"web"},...e})}addBlockWord(e,t){return this.save("https://api.vc.bilibili.com/x/im/link_setting/add_block_word",{data:{content:e,build:0,mobi_app:"web"},...t})}delBlockWord(e,t){return this.save("https://api.vc.bilibili.com/x/im/link_setting/del_block_word",{data:{content:e,build:0,mobi_app:"web"},...t})}getAutoReplyRules(e,t){return this.get("https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text",{query:{"type[]":e,build:0,mobi_app:"web"},...t})}setAutoReplyRule(e,t){return this.save("https://api.vc.bilibili.com/x/im/auto_reply/set_reply_text",{data:{build:0,mobi_app:"web",...e},...t})}delAutoReplyRule(e,t){return this.save("https://api.vc.bilibili.com/x/im/auto_reply/del_reply_text",{data:{id:e,build:0,mobi_app:"web"},...t})}getSystemSettings(e){return this.get("https://api.vc.bilibili.com/link_setting/v1/link_setting/get_sys_setting",{query:{build:0,mobi_app:"web"},...e})}canShowCreateGroupIcon(e){return this.get("https://api.vc.bilibili.com/link_group/v1/member/show_create_group_icon",{query:{build:0,mobi_app:"web"},...e})}};Zt=rt(Gu),N(Zt,1,"getSettings",Iv,nn),N(Zt,1,"updateSettings",Nv,nn),N(Zt,1,"getBlockWords",xv,nn),N(Zt,1,"addBlockWord",Sv,nn),N(Zt,1,"delBlockWord",Av,nn),N(Zt,1,"getAutoReplyRules",Ev,nn),N(Zt,1,"setAutoReplyRule",_v,nn),N(Zt,1,"delAutoReplyRule",wv,nn),N(Zt,1,"getSystemSettings",yv,nn),N(Zt,1,"canShowCreateGroupIcon",vv,nn),st(Zt,nn);var SB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){return!(r!==null&&(r.data==null||r.data.cursor.is_end))}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data.cursor;n.id=o.id,n.reply_time=o.time}}getList(t){return t.data.items}},xB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){return!(n!==null&&(n.data==null||n.data.cursor.is_end))}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r!=null){let s=r.data.cursor;t.id=s.id,t.at_time=s.time}}getList(e){return e.data.items}},NB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){return!(n!==null&&(n.data==null||n.data.total.cursor.is_end))}parsePageNum(e){}updateNextPageParams(e,t,n,r){if(r!=null){let s=r.data.total.cursor;t.id=s.id,t.like_time=s.time}}getList(e){return e.data.total.items}},IB=class extends Gt{constructor(t){super({pageSize:17,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s==null||io(s))return!1}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){r!=null&&r.length>0&&(n.cursor=r[r.length-1].cursor)}getList(t){return t.data}},Cv,Tv,Rv,Pv,Bv,Ov,kv,Fv,Mv,Lv,$v,Wv,Dv,Vv,Gv,Yv,Uv,jv,Zv,Yu,qe,at=class extends(Yu=Qe,Zv=[I()],jv=[I()],Uv=[I()],Yv=[I()],Gv=[I()],Vv=[I()],Dv=[I()],Wv=[I()],$v=[I()],Lv=[I()],Mv=[I()],Fv=[I()],kv=[I()],Ov=[I()],Bv=[I()],Pv=[I()],Rv=[I()],Tv=[I()],Cv=[I()],Yu){constructor(){super(...arguments),ot(qe,5,this)}getUnreadCount(e){return this.get("https://api.vc.bilibili.com/x/im/web/msgfeed/unread",{query:{build:0,mobi_app:"web"},...e})}delMessage(e,t,n){return this.save("https://api.bilibili.com/x/msgfeed/del",{data:{tp:t,id:e,build:0,mobi_app:"web",platform:"web"},...n})}buildBasePager(e,t,n){return this.createPager(`https://api.bilibili.com/x/msgfeed/${e}`,t,{query:{platform:"web",build:0,mobi_app:"web",web_location:"333.40164"},...n})}buildReplyPager(e,t){return this.buildBasePager("reply",new SB(e),t)}buildAtPager(e,t){return this.buildBasePager("at",new xB(e),t)}buildLikePager(e,t){return this.buildBasePager("like",new NB(e),t)}async fetchReplyPage(e,t){return await this.buildReplyPager(e,t).fetchNext()}async fetchReplyPageWithNextParams(e,t){return await this.buildReplyPager(e,t).fetchPageWithNextParams()}async fetchReplyAll(e,t,n){return await this.buildReplyPager(e,n).fetchAllPage(t)}delReplyMessage(e,t){return this.delMessage(e,1,t)}async fetchAtPage(e,t){return await this.buildAtPager(e,t).fetchNext()}async fetchAtPageWithNextParams(e,t){return await this.buildAtPager(e,t).fetchPageWithNextParams()}async fetchAtAll(e,t,n){return await this.buildAtPager(e,n).fetchAllPage(t)}delAtMessage(e,t){return this.delMessage(e,2,t)}async fetchLikePage(e,t){return await this.buildLikePager(e,t).fetchNext()}async fetchLikePageWithNextParams(e,t){return await this.buildLikePager(e,t).fetchPageWithNextParams()}async fetchLikeAll(e,t,n){return await this.buildLikePager(e,n).fetchAllPage(t)}setLikeMsgState(e,t,n){return this.save("https://api.bilibili.com/x/msgfeed/notice",{data:{tp:0,id:e,notice_state:t,build:0,mobi_app:"web",platform:"web"},...n})}delLikeMessage(e,t){return this.delMessage(e,0,t)}buildSystemPager(e,t){return this.createPager("https://message.bilibili.com/x/sys-msg/query_notify_list",new IB(e),{query:{page_size:20,build:0,platform:"web",mobi_app:"web",data_type:"web",has_up:"1",source_platform:"web",web_location:"333.40164"},...t})}async fetchSystemPage(e,t){return await this.buildSystemPager(e,t).fetchNext()}async fetchSystemPageWithNextParams(e,t){return await this.buildSystemPager(e,t).fetchPageWithNextParams()}async fetchSystemAll(e,t,n){return await this.buildSystemPager(e,n).fetchAllPage(t)}delSysMessages(e,t){return this.save("https://message.bilibili.com/x/sys-msg/del_notify_list",{query:{build:0,mobi_app:"web",csrf:this.clientConfig.context?.userCookie.bili_jct??""},data:JSON.stringify({station_ids:e.filter(n=>n.is_station===1).map(n=>n.id),ids:e.filter(n=>n.is_station!==1).map(n=>n.id),type:4,build:0,mobi_app:"web"}),...t})}};qe=rt(Yu),N(qe,1,"getUnreadCount",Zv,at),N(qe,1,"delMessage",jv,at),N(qe,1,"fetchReplyPage",Uv,at),N(qe,1,"fetchReplyPageWithNextParams",Yv,at),N(qe,1,"fetchReplyAll",Gv,at),N(qe,1,"delReplyMessage",Vv,at),N(qe,1,"fetchAtPage",Dv,at),N(qe,1,"fetchAtPageWithNextParams",Wv,at),N(qe,1,"fetchAtAll",$v,at),N(qe,1,"delAtMessage",Lv,at),N(qe,1,"fetchLikePage",Mv,at),N(qe,1,"fetchLikePageWithNextParams",Fv,at),N(qe,1,"fetchLikeAll",kv,at),N(qe,1,"setLikeMsgState",Ov,at),N(qe,1,"delLikeMessage",Bv,at),N(qe,1,"fetchSystemPage",Pv,at),N(qe,1,"fetchSystemPageWithNextParams",Rv,at),N(qe,1,"fetchSystemAll",Tv,at),N(qe,1,"delSysMessages",Cv,at),st(qe,at);var CB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s.has_more===0||s.session_list==null||s.session_list.length===0)return!1}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data.session_list;o!=null&&(n.end_ts=o[o.length-1].session_ts)}}getList(t){return t.data.session_list}},Kv,Hv,Xv,zv,Jv,Qv,qv,Uu,On,er=class extends(Uu=Qe,qv=[I()],Qv=[I()],Jv=[I()],zv=[I()],Xv=[I()],Hv=[I()],Kv=[I()],Uu){constructor(){super(...arguments),ot(On,5,this)}getUnreadCount(e){return this.get("https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread",{query:{build:0,mobi_app:"web"},...e})}getMyGroupUnreadCount(e){return this.get("https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread",{query:{build:0,mobi_app:"web"},...e})}buildPager(e,t,n){let r=e?.session_type??1;return this.createPager("https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions",new CB(t),{query:{...e,session_type:r,group_fold:r===1?"2":"1",size:r!==1?1:void 0,unfollow_fold:"0",sort_rule:"1",platform:"web",build:0,mobi_app:"web",web_location:"333.40164"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async setSessionRead(e,t){await this.save("https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack",{data:{talker_id:e.talker_id,session_type:e.session_type,ack_seqno:e.ack_seqno,build:0,mobi_app:"web"},...t})}async delSession(e,t){await this.save("https://api.vc.bilibili.com/session_svr/v1/session_svr/remove_session",{data:{talker_id:e.talker_id,session_type:e.session_type,build:0,mobi_app:"web"},...t})}};On=rt(Uu),N(On,1,"getUnreadCount",qv,er),N(On,1,"getMyGroupUnreadCount",Qv,er),N(On,1,"fetchPage",Jv,er),N(On,1,"fetchPageWithNextParams",zv,er),N(On,1,"fetchAll",Xv,er),N(On,1,"setSessionRead",Hv,er),N(On,1,"delSession",Kv,er),st(On,er);var TB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data;if(r.count<=t.length||r.list.length===0)return!1}return!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data.list}},e2,t2,n2,r2,s2,o2,a2,i2,l2,ju,rn,bn=class extends(ju=Qe,l2=[I()],i2=[I()],a2=[I()],o2=[I()],s2=[I()],r2=[I()],n2=[I()],t2=[I()],e2=[I()],ju){constructor(){super(...arguments),ot(rn,5,this)}buildPager(e,t){return this.createPager("https://api.bilibili.com/x/v2/history/toview/web",new TB(e),{query:{viewed:0,asc:!1,key:"",need_split:!0,build:0,platform:"web",mobi_app:"web"},...t})}async fetchPage(e,t){return await this.buildPager(e,t).fetchNext()}async fetchPageWithNextParams(e,t){return await this.buildPager(e,t).fetchPageWithNextParams()}async fetchAll(e,t,n){return await this.buildPager(e,n).fetchAllPage(t)}async addToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/add",{data:{aid:e},...t})}async addAllToView(e,t){await this.save("https://space.bilibili.com/ajax/channel/addAllToView",{data:{...typeof e=="string"?{bvid:e}:{aid:e}},...t})}async delToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/v2/dels",{data:{resources:e.join(",")},...t})}async clearToView(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/clear",{data:{clean_type:e},...t})}async moveFavFolder(e,t){await this.save("https://api.bilibili.com/x/v2/history/toview/move",{data:{resources:e.join(","),tar_media_id:t}})}async getTotal(e){let t=await this.get("https://api.bilibili.com/x/v3/fav/folder/list4navigate?web_location=333.1007",e);try{return t[1].mediaListResponse.count}catch{return}}};rn=rt(ju),N(rn,1,"fetchPage",l2,bn),N(rn,1,"fetchPageWithNextParams",i2,bn),N(rn,1,"fetchAll",a2,bn),N(rn,1,"addToView",o2,bn),N(rn,1,"addAllToView",s2,bn),N(rn,1,"delToView",r2,bn),N(rn,1,"clearToView",n2,bn),N(rn,1,"moveFavFolder",t2,bn),N(rn,1,"getTotal",e2,bn),st(rn,bn);var If=class extends Gt{constructor(e,t="list",n="has_more",r){super(e),this.listKey=t,this.hasMoreKey=n,this.countKey=r}hasNextPage(e,t,n){return n!==null&&n.data?n.data.has_more:!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data[this.listKey]}getTotal(e){if(this.countKey&&e)return e.data[this.countKey]}},u2,c2,f2,d2,p2,h2,m2,g2,b2,v2,y2,w2,_2,E2,Zu,wt,Nt=class extends(Zu=Qe,E2=[I()],_2=[I()],w2=[I()],y2=[I()],v2=[I()],b2=[I()],g2=[I()],m2=[I()],h2=[I()],p2=[I()],d2=[I()],f2=[I()],c2=[I()],u2=[I()],Zu){constructor(){super(...arguments),ot(wt,5,this)}async getFavFolders(e,t,n){return await this.get("https://api.bilibili.com/x/v3/fav/folder/created/list-all",{query:{up_mid:e??this.currUserUid,...t?{rid:t}:{},web_location:"333.1387"},...n})??{list:[],count:0}}async getFavFolderMeta(e,t){return await this.get("https://api.bilibili.com/x/v3/fav/folder/info",{query:{media_id:e},...t})}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v3/fav/resource/list",new If({pageSize:40,...t},"medias"),{query:{...e,platform:"web",web_location:"333.1387"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){let s=this.buildPager(e,t,r),o=await s.fetchAllPage(n);if(!s.lastApiResponse?.data.info)throw new Vn(this.clientConfig,`收藏夹[${e.media_id}]不存在`);return{info:s.lastApiResponse?.data.info,medias:o,has_more:!1}}async getFavIds(e,t){return await this.get("https://api.bilibili.com/x/v3/fav/resource/ids",{query:{media_id:e},...t})}async addFavFolder(e,t){return await this.save("https://api.bilibili.com/x/v3/fav/folder/add",{data:{...e},...t})}async updateFavFolder(e,t){let{id:n,...r}=e;return await this.save("https://api.bilibili.com/x/v3/fav/folder/edit",{data:{...r,media_id:n},...t})}async delFavFolder(e,t){await this.save("https://api.bilibili.com/x/v3/fav/folder/del",{data:{media_ids:e.join(",")},...t})}async copyFavItems(e,t,n,r,s){await this.save("https://api.bilibili.com/x/v3/fav/resource/copy",{data:{src_media_id:e,tar_media_id:t,mid:n,resources:r,platform:"web"},...s})}async moveFavItems(e,t,n,r,s){await this.save("https://api.bilibili.com/x/v3/fav/resource/move",{data:{src_media_id:e,tar_media_id:t,mid:n,resources:r,platform:"web"},...s})}async batchDelFavItems(e,t,n){await this.save("https://api.bilibili.com/x/v3/fav/resource/batch-del",{data:{media_id:e,resources:t,platform:"web"},...n})}async cleanFavItems(e,t){await this.save("https://api.bilibili.com/x/v3/fav/resource/clean",{data:{media_id:e,platform:"web"},...t})}async favVideo(e,t,n,r){return await this.save("https://api.bilibili.com/x/v3/fav/resource/deal",{data:{rid:e,add_media_ids:t.join(","),del_media_ids:n.join(","),type:"2",platform:"web",eab_x:"1",ramval:"10",ga:"1",gaia_source:"web_normal"},...r})}};wt=rt(Zu),N(wt,1,"getFavFolders",E2,Nt),N(wt,1,"getFavFolderMeta",_2,Nt),N(wt,1,"fetchPage",w2,Nt),N(wt,1,"fetchPageWithNextParams",y2,Nt),N(wt,1,"fetchAll",v2,Nt),N(wt,1,"getFavIds",b2,Nt),N(wt,1,"addFavFolder",g2,Nt),N(wt,1,"updateFavFolder",m2,Nt),N(wt,1,"delFavFolder",h2,Nt),N(wt,1,"copyFavItems",p2,Nt),N(wt,1,"moveFavItems",d2,Nt),N(wt,1,"batchDelFavItems",f2,Nt),N(wt,1,"cleanFavItems",c2,Nt),N(wt,1,"favVideo",u2,Nt),st(wt,Nt);var A2,S2,x2,N2,I2,Ku,Ir,Jr=class extends(Ku=Qe,I2=[I()],N2=[I()],x2=[I()],S2=[I()],A2=[I()],Ku){constructor(){super(...arguments),ot(Ir,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v3/fav/folder/collected/list",new If({pageSize:50,...t},void 0,void 0,"count"),{query:{up_mid:e??this.currUserUid,platform:"web",web_location:"333.1387"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async add(e,t){await this.save("https://api.bilibili.com/x/v3/fav/season/fav",{data:{season_id:e,platform:"web"},...t})}async del(e,t){await this.save("https://api.bilibili.com/x/v3/fav/season/unfav",{data:{season_id:e,platform:"web"},...t})}};Ir=rt(Ku),N(Ir,1,"fetchPage",I2,Jr),N(Ir,1,"fetchPageWithNextParams",N2,Jr),N(Ir,1,"fetchAll",x2,Jr),N(Ir,1,"add",S2,Jr),N(Ir,1,"del",A2,Jr),st(Ir,Jr);var RB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){return r!==null&&r.data?r.data.has_more:!0}parsePageNum(t){if(t)return t.page}updateNextPageParams(t,n,r,s){n.page=t,n.page_size=this.options.pageSize}getList(t){return t.data.items}},C2,T2,R2,P2,B2,O2,Hu,tr,Cr=class extends(Hu=Qe,O2=[I()],B2=[I()],P2=[I()],R2=[I()],T2=[I()],C2=[I()],Hu){constructor(){super(...arguments),ot(tr,5,this)}buildPager(t,n){return this.createPager("https://api.bilibili.com/x/polymer/web-dynamic/v1/opus/feed/fav",new RB(t),{query:{platform:"web",web_location:"333.1387"},...n})}async fetchPage(t,n){return await this.buildPager(t,n).fetchNext()}async fetchPageWithNextParams(t,n){return await this.buildPager(t,n).fetchPageWithNextParams()}async fetchAll(t,n,r){return await this.buildPager(t,r).fetchAllPage(n)}async del(t,n){await this.post("https://api.bilibili.com/x/community/cosmo/interface/simple_action",{query:{csrf:this.clientConfig.context?.userCookie.bili_jct,gaia_source:"main_web"},data:JSON.stringify({"":{spmid:"444.42.0.0",from:"unknown",from_spmid:"333.1387.0.0"},action:4,entity:{object_id_str:t,type:{biz:2}}}),...n})}async addByCvId(t,n){await this.save("https://api.bilibili.com/x/article/favorites/add",{data:{id:t},...n})}async addByOpusId(t,n){let r=await this.get("https://api.bilibili.com/x/polymer/web-dynamic/v1/opus/detail",{query:{id:t},...n});await gi(200,300),await this.addByCvId(r.fallback.id)}};tr=rt(Hu),N(tr,1,"fetchPage",O2,Cr),N(tr,1,"fetchPageWithNextParams",B2,Cr),N(tr,1,"fetchAll",P2,Cr),N(tr,1,"del",R2,Cr),N(tr,1,"addByCvId",T2,Cr),N(tr,1,"addByOpusId",C2,Cr),st(tr,Cr);var wo={all:0},k2,F2,M2,L2,$2,W2,Xu,nr,Tr=class extends(Xu=Qe,W2=[I()],$2=[I()],L2=[I()],M2=[I()],F2=[I()],k2=[I()],Xu){constructor(){super(...arguments),ot(nr,5,this)}buildPager(t,n,r=wo.all,s,o){return this.createPager("https://api.bilibili.com/x/space/bangumi/follow/list",new Ja({pageSize:24,...s}),{query:{vmid:t??this.currUserUid,type:n,follow_status:r,platform:"web",web_location:"333.1387"},...o})}async fetchPage(t,n,r=wo.all,s,o){return await this.buildPager(t,n,r,s,o).fetchNext()}async fetchPageWithNextParams(t,n,r=wo.all,s,o){return await this.buildPager(t,n,r,s,o).fetchPageWithNextParams()}async fetchAll(t,n,r=wo.all,s,o,a){return await this.buildPager(t,n,r,s,a).fetchAllPage(o)}async fetchMyAll(t,n=wo.all,r,s,o){return this.fetchAll(this.currUserUid,t,n,r,s,o)}async add(t,n){await this.save("https://api.bilibili.com/pgc/web/follow/add",{data:{season_id:t,platform:"web"},...n})}async del(t,n){await this.save("https://api.bilibili.com/pgc/web/follow/del",{data:{season_id:t,platform:"web"},...n})}};nr=rt(Xu),N(nr,1,"fetchPage",W2,Tr),N(nr,1,"fetchPageWithNextParams",$2,Tr),N(nr,1,"fetchAll",L2,Tr),N(nr,1,"fetchMyAll",M2,Tr),N(nr,1,"add",F2,Tr),N(nr,1,"del",k2,Tr),st(nr,Tr);var PB=class extends Gt{constructor(e){super({pageSize:40,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data,s=r.page;if(io(r.list.vlist)||s.count<=t.length||s.count<=s.pn*s.ps)return!1}return!0}parsePageNum(e){if(e)return e.pn}updateNextPageParams(e,t,n,r){t.ps=this.options.pageSize,t.pn=e}getList(e){return e.data.list.vlist}},D2,V2,G2,zu,Ts,Io=class extends(zu=Qe,G2=[I()],V2=[I()],D2=[I()],zu){constructor(){super(...arguments),ot(Ts,5,this)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/space/wbi/arc/search",new PB(t),{query:{...e,platform:"web"},...n})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){let s=this.buildPager(e,t,r);return await s.fetchAllPage(n),s.lastApiResponse.data.list.vlist=s.list,s.lastApiResponse.data}};Ts=rt(zu),N(Ts,1,"fetchPage",G2,Io),N(Ts,1,"fetchPageWithNextParams",V2,Io),N(Ts,1,"fetchAll",D2,Io),st(Ts,Io);var Y2,U2,j2,Z2,Ju,Qr,ns=class extends(Ju=Qe,Z2=[I()],j2=[I()],U2=[I()],Y2=[I()],Ju){constructor(){super(...arguments),ot(Qr,5,this)}getOnlineCount(e,t){return this.get("https://api.bilibili.com/x/player/online/total",{query:{...this.resolveVideoId(e),cid:e.cid},...t})}getParts(e,t){return this.get("https://api.bilibili.com/x/player/pagelist",{query:{...this.resolveVideoId(e)},...t})}async getOwnParts(e,t){let n=await this.get("https://member.bilibili.com/x/vupre/web/archive/view",{query:{topic_grey:"1",bvid:e},...t});return n?.videos&&Array.isArray(n.videos)?n.videos:[]}getInfo(e,t){return this.get("https://api.bilibili.com/x/web-interface/wbi/view",{query:{...this.resolveVideoId(e)},...t})}};Qr=rt(Ju),N(Qr,1,"getOnlineCount",Z2,ns),N(Qr,1,"getParts",j2,ns),N(Qr,1,"getOwnParts",U2,ns),N(Qr,1,"getInfo",Y2,ns),st(Qr,ns);var BB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data;if(s.has_more!==void 0)return s.has_more}return!0}parsePageNum(t){}updateNextPageParams(t,n,r,s){if(s!=null){let o=s.data;n.offset=o.offset}}getList(t){return t.data.items}},K2,H2,X2,z2,Qu,qr,Rs=class extends(Qu=Qe,z2=[I()],X2=[I()],H2=[I()],K2=[I()],Qu){constructor(){super(...arguments),ot(qr,5,this)}buildDynamicPager(e,t,n){return this.createPager("https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all",new BB(t),{query:{...e,platform:"web",build:0,mobi_app:"web",web_location:"333.1365"},...n})}async fetchDynamicPage(e,t,n){return await this.buildDynamicPager(e,t,n).fetchNext()}async fetchDynamicPageWithNextParams(e,t,n){return await this.buildDynamicPager(e,t,n).fetchPageWithNextParams()}async fetchDynamicAll(e,t,n,r){return await this.buildDynamicPager(e,t,r).fetchAllPage(n)}async newUpdatesCount(e,t){return(await this.get("https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all/update",{query:{...e,web_location:"333.1365"},...t})).update_num}};qr=rt(Qu),N(qr,1,"fetchDynamicPage",z2,Rs),N(qr,1,"fetchDynamicPageWithNextParams",X2,Rs),N(qr,1,"fetchDynamicAll",H2,Rs),N(qr,1,"newUpdatesCount",K2,Rs),st(qr,Rs);var J2,Q2,q2,ey,ty,ny,ry,qu,kn,rr=class extends(qu=Qe,ry=[I()],ny=[I()],ty=[I()],ey=[I()],q2=[I()],Q2=[I()],J2=[I()],qu){constructor(){super(...arguments),ot(kn,5,this),this._videoInfoService=null}get videoInfoService(){return this._videoInfoService||(this._videoInfoService=new ns(this.api)),this._videoInfoService}getRelation(e,t){return this.get("https://api.bilibili.com/x/web-interface/archive/relation",{query:{...this.resolveVideoId(e)},returnFormat:"ApiResponse",ignoreBusinessError:!0,...t})}like(e,t){return this.save("https://api.bilibili.com/x/web-interface/archive/like",{data:{...this.resolveVideoId(e),like:e.like?"1":"2"},...t})}async hasLike(e,t){return await this.get("https://api.bilibili.com/x/web-interface/archive/has/like",{query:{...this.resolveVideoId(e)},...t})===1}dislike(e,t){return this.save("https://app.biliapi.net/x/v2/view/dislike",{data:{aid:e.avid,dislike:e.dislike?"0":"1"},...t})}async coin(e,t){let n=e.bvid;return n||(n=(await this.videoInfoService.getInfo(e)).bvid),this.save("https://api.bilibili.com/x/web-interface/coin/add",{data:{bvid:n,multiply:e.multiply,select_like:e.select_like??0,cross_domain:!0,from_spmid:"333.337.search-card.all.click",spmid:"333.788.0.0",statistics:'{"appId":100,"platform":5}',eab_x:2,ramval:0,source:"web_normal",ga:1},returnFormat:"ApiResponse",ignoreBusinessError:!0,...t,referer:`https://www.bilibili.com/video/${n}/?spm_id_from=333.1391.0.0`})}triple(e,t){return this.save("https://api.bilibili.com/x/web-interface/archive/like/triple",{data:{...this.resolveVideoId(e)},...t})}share(e,t){return this.save("https://api.bilibili.com/x/web-interface/share/add",{data:{...this.resolveVideoId(e),eab_x:1,ramval:316,source:"web_normal",ga:1},...t})}};kn=rt(qu),N(kn,1,"getRelation",ry,rr),N(kn,1,"like",ny,rr),N(kn,1,"hasLike",ty,rr),N(kn,1,"dislike",ey,rr),N(kn,1,"coin",q2,rr),N(kn,1,"triple",Q2,rr),N(kn,1,"share",J2,rr),st(kn,rr);var sy,ec,Qa,tc=class extends(ec=Qe,sy=[I()],ec){constructor(){super(...arguments),ot(Qa,5,this)}heartbeat(t,n,r){let s={params:{},body:{}},o=(i,l,u)=>{s.body[i]=s.params[u||"w"+i]=n[i]??t[u||"w"+i]??l};o("start_ts",Math.floor(Date.now()/1e3)),o("mid",this.currUserUid),o("aid",0),o("dt",2),o("realtime",0),o("played_time",0,"w_playedtime"),o("real_played_time",0),o("video_duration",180),o("last_play_progress_time",0);let a="https://www.bilibili.com/?spm_id_from=333.1365.0.0";return this.save("https://api.bilibili.com/x/click-interface/web/heartbeat",{query:{...s.params,web_location:1315873,...t},data:{quality:80,type:3,outer:0,statistics:'{"appId":100,"platform":5,"abtest":"","version":""}',max_play_progress_time:s.body.last_play_progress_time+s.body.played_time,refer_url:a,...s.body,mobi_app:"web",device:"web",platform:"web",cur_language_vt:"{}",perfer_type:"{}",play_mode:"1",spmid:"333.788.0.0",from_spmid:"333.1007.tianma.1-2-2.click",session:crypto.randomUUID().replace(/-/g,""),extra:'{"player_version":"4.8.36","play_method":3,"play_volume":1,"auto_play":0}',...n},init:{headers:{referer:a}},...r})}};Qa=rt(ec),N(Qa,1,"heartbeat",sy,tc),st(Qa,tc);var oy,ay,nc,Co,qa=class extends(nc=Qe,ay=[I()],oy=[I()],nc){constructor(){super(...arguments),ot(Co,5,this)}getDailyTaskStatus(t){return this.get("https://api.bilibili.com/x/member/web/exp/reward",t)}getCoinTodayExp(t){return this.get("https://api.bilibili.com/x/web-interface/coin/today/exp",t)}};Co=rt(nc),N(Co,1,"getDailyTaskStatus",ay,qa),N(Co,1,"getCoinTodayExp",oy,qa),st(Co,qa);var OB=class extends If{constructor(t,n="list",r){super(t,n),this.hasMoreKey=r}hasNextPage(t,n,r){return r!==null&&r.data?r.data[this.hasMoreKey]:!0}},iy,ly,uy,cy,rc,es,Ps=class extends(rc=Qe,cy=[I()],uy=[I()],ly=[I()],iy=[I()],rc){constructor(){super(...arguments),ot(es,5,this)}buildPopularPager(e,t){return this.createPager("https://api.bilibili.com/x/web-interface/popular",new OB({pageSize:20,...e},"list","no_more"),{query:{},...t})}async fetchPopularPage(e,t){return await this.buildPopularPager(e,t).fetchNext()}async fetchPageWithNextParams(e,t){return await this.buildPopularPager(e,t).fetchPageWithNextParams()}getPopularSeriesList(e){return this.get("https://api.bilibili.com/x/web-interface/popular/series/list",{...e})}getPopularSeriesInfo(e,t){return this.get("https://api.bilibili.com/x/web-interface/popular/series/one",{query:{number:e},...t})}};es=rt(rc),N(es,1,"fetchPopularPage",cy,Ps),N(es,1,"fetchPageWithNextParams",uy,Ps),N(es,1,"getPopularSeriesList",ly,Ps),N(es,1,"getPopularSeriesInfo",iy,Ps),st(es,Ps);var fy,dy,sc,To,ei=class extends(sc=Qe,dy=[I()],fy=[I()],sc){constructor(){super(...arguments),ot(To,5,this)}getNavNum(e,t){return this.get("https://api.bilibili.com/x/space/navnum",{query:{mid:e},...t})}getFavNum(e,t){return this.get("https://api.bilibili.com/x/space/fav/nav",{query:{mid:e},...t})}};To=rt(sc),N(To,1,"getNavNum",dy,ei),N(To,1,"getFavNum",fy,ei),st(To,ei);var py,hy,oc,Ro,ti=class extends(oc=Qe,hy=[I()],py=[I()],oc){constructor(){super(...arguments),ot(Ro,5,this)}getSpaceSettings(e){return this.get("https://api.bilibili.com/x/space/setting",{query:{web_location:"333.1387",mid:this.currUserUid},...e})}updatePrivacy(e,t){let n=Object.keys(e)[0],r=e[n];return this.save("https://api.bilibili.com/x/space/privacy/modify",{data:{field:n,value:r},...t})}};Ro=rt(oc),N(Ro,1,"getSpaceSettings",hy,ti),N(Ro,1,"updatePrivacy",py,ti),st(Ro,ti);var kB=(e="info")=>({timeout:5e3,userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",referer:"https://space.bilibili.com/10000",logLevel:e,logger:m0(e,(t,...n)=>{console[t](`[${new Date().toLocaleString()}]`,...n)}),autoMixinKey:!1}),my={method:"GET",skipWbiSign:!1,autoCsrf:!0,logRequestParams:!0},FB={...my,returnFormat:"ApiResponseData",ignoreBusinessError:!1},gy,by,ac,Po,ni=class extends(ac=Qe,by=[I()],gy=[I()],ac){constructor(){super(...arguments),ot(Po,5,this)}get userService(){return this.api.client.user}getPlayUrl(e,t){return this.get("https://api.bilibili.com/x/player/wbi/playurl",{query:{fnval:1,fourk:1,high_quality:1,gaia_source:"view-card ",...e},init:{headers:{referer:`https://www.bilibili.com/video/${e.bvid}/?spm_id_from=333.1391.0.0`}},...t})}async getBestQualityUrl(e,t){let n=await this.getPlayUrl({...e,fnval:4048,qn:129},t);if(n.quality===n.accept_quality[0])return n;let r=n.accept_quality[0];await gi(100,200);let s=await this.userService.getMyInfo(void 0,t);return await gi(100,200),s.vip.type===0&&n.accept_quality[0]>=80&&(r=80),this.getPlayUrl({...e,qn:r},t)}};Po=rt(ac),N(Po,1,"getPlayUrl",by,ni),N(Po,1,"getBestQualityUrl",gy,ni),st(Po,ni);var MB=class extends Gt{constructor(t){super({pageSize:20,...t})}hasNextPage(t,n,r){if(r!==null){if(r.data==null)return!1;let s=r.data,o=s.page;if(io(s.replies)||o.count<=n.length||o.count<=o.num*o.size)return!1}return!0}updateNextPageParams(t,n,r,s){n.ps=this.options.pageSize,n.pn=t}getList(t){return t.data.replies}parsePageNum(t){if(t?.pn)return t?.pn}},LB=class extends Gt{constructor(e){super({pageSize:20,...e})}hasNextPage(e,t,n){if(n!==null){if(n.data==null)return!1;let r=n.data,s=r.cursor;if(io(r.replies)||s.is_end)return!1}return!0}updateNextPageParams(e,t,n,r){if(r){let s=r.data;t.pagination_str=`{"offset":"${s.cursor.pagination_reply.next_offset}"}`}}getList(e){return e.data.replies}parsePageNum(e){}},vy,yy,wy,_y,Ey,Ay,Sy,xy,Ny,Iy,ic,Kt,sn=class extends(ic=Qe,Iy=[I()],Ny=[I()],xy=[I()],Sy=[I()],Ay=[I()],Ey=[I()],_y=[I()],wy=[I()],yy=[I()],vy=[I()],ic){constructor(){super(...arguments),ot(Kt,5,this)}buildSubReplyPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v2/reply/reply",new MB({...t}),{query:{...e,platform:"web",web_location:"333.1369"},...n,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async fetchSubReplyPage(e,t,n){return await this.buildSubReplyPager(e,t,n).fetchNext()}async fetchSubPageWithNextParams(e,t,n){return await this.buildSubReplyPager(e,t,n).fetchPageWithNextParams()}async fetchSubReplyAll(e,t,n,r){return await this.buildSubReplyPager(e,t,r).fetchAllPage(n)}buildPager(e,t,n){return this.createPager("https://api.bilibili.com/x/v2/reply/wbi/main",new LB({...t}),{query:{...e,plat:1,seek_rpid:"",web_location:"1315875"},...n,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async fetchPage(e,t,n){return await this.buildPager(e,t,n).fetchNext()}async fetchPageWithNextParams(e,t,n){return await this.buildPager(e,t,n).fetchPageWithNextParams()}async fetchAll(e,t,n,r){return await this.buildPager(e,t,r).fetchAllPage(n)}async del(e,t){await this.save("https://api.bilibili.com/x/v2/reply/del",{data:{...e},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async like(e,t){await this.save("https://api.bilibili.com/x/v2/reply/action",{data:{action:"1",...e,statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async hate(e,t){await this.save("https://api.bilibili.com/x/v2/reply/hate",{data:{action:"1",...e,statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}async add(e,t){return await this.save("https://api.bilibili.com/x/v2/reply/add",{data:{...e,plat:"1",at_name_to_mid:"{}",gaia_source:"main_web",statistics:'{"appId":100,"platform":5}'},...t,referer:`https://t.bilibili.com/${e.oid}?spm_id_from=333.1387.0.0`})}};Kt=rt(ic),N(Kt,1,"fetchSubReplyPage",Iy,sn),N(Kt,1,"fetchSubPageWithNextParams",Ny,sn),N(Kt,1,"fetchSubReplyAll",xy,sn),N(Kt,1,"fetchPage",Sy,sn),N(Kt,1,"fetchPageWithNextParams",Ay,sn),N(Kt,1,"fetchAll",Ey,sn),N(Kt,1,"del",_y,sn),N(Kt,1,"like",wy,sn),N(Kt,1,"hate",yy,sn),N(Kt,1,"add",vy,sn),st(Kt,sn);var Q=mB("CghkbS5wcm90bxIgYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEiZAoGQXZhdGFyEgoKAmlkGAEgASgJEgsKA3VybBgCIAEoCRJBCgthdmF0YXJfdHlwZRgDIAEoDjIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkF2YXRhclR5cGUiIwoGQnViYmxlEgwKBHRleHQYASABKAkSCwoDdXJsGAIgASgJIsYBCghCdWJibGVWMhIMCgR0ZXh0GAEgASgJEgsKA3VybBgCIAEoCRJBCgtidWJibGVfdHlwZRgDIAEoDjIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1YmJsZVR5cGUSFQoNZXhwb3N1cmVfb25jZRgEIAEoCBJFCg1leHBvc3VyZV90eXBlGAUgASgOMi4uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRXhwb3N1cmVUeXBlIiYKBkJ1dHRvbhIMCgR0ZXh0GAEgASgJEg4KBmFjdGlvbhgCIAEoBSJYCg5CdXp6d29yZENvbmZpZxJGCghrZXl3b3JkcxgBIAMoCzI0LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1enp3b3JkU2hvd0NvbmZpZyJ4ChJCdXp6d29yZFNob3dDb25maWcSDAoEbmFtZRgBIAEoCRIOCgZzY2hlbWEYAiABKAkSDgoGc291cmNlGAMgASgFEgoKAmlkGAQgASgDEhMKC2J1enp3b3JkX2lkGAUgASgDEhMKC3NjaGVtYV90eXBlGAYgASgFInsKCENoZWNrQm94EgwKBHRleHQYASABKAkSPAoEdHlwZRgCIAEoDjIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkNoZWNrYm94VHlwZRIVCg1kZWZhdWx0X3ZhbHVlGAMgASgIEgwKBHNob3cYBCABKAgiPwoKQ2hlY2tCb3hWMhIMCgR0ZXh0GAEgASgJEgwKBHR5cGUYAiABKAUSFQoNZGVmYXVsdF92YWx1ZRgDIAEoCCKCAgoLQ2xpY2tCdXR0b24SFQoNcG9ydHJhaXRfdGV4dBgBIAMoCRIWCg5sYW5kc2NhcGVfdGV4dBgCIAMoCRIbChNwb3J0cmFpdF90ZXh0X2ZvY3VzGAMgAygJEhwKFGxhbmRzY2FwZV90ZXh0X2ZvY3VzGAQgAygJEkEKC3JlbmRlcl90eXBlGAUgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUmVuZGVyVHlwZRIMCgRzaG93GAYgASgIEjgKBmJ1YmJsZRgHIAEoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1YmJsZSLVAQoNQ2xpY2tCdXR0b25WMhIVCg1wb3J0cmFpdF90ZXh0GAEgAygJEhYKDmxhbmRzY2FwZV90ZXh0GAIgAygJEhsKE3BvcnRyYWl0X3RleHRfZm9jdXMYAyADKAkSHAoUbGFuZHNjYXBlX3RleHRfZm9jdXMYBCADKAkSEwoLcmVuZGVyX3R5cGUYBSABKAUSFwoPdGV4dF9pbnB1dF9wb3N0GAYgASgIEhUKDWV4cG9zdXJlX29uY2UYByABKAgSFQoNZXhwb3N1cmVfdHlwZRgIIAEoBSKhAQoJQ29tbWFuZERtEgoKAmlkGAEgASgDEgsKA29pZBgCIAEoAxILCgNtaWQYAyABKAkSDwoHY29tbWFuZBgEIAEoCRIPCgdjb250ZW50GAUgASgJEhAKCHByb2dyZXNzGAYgASgFEg0KBWN0aW1lGAcgASgJEg0KBW10aW1lGAggASgJEg0KBWV4dHJhGAkgASgJEg0KBWlkU3RyGAogASgJIlAKDURhbm1ha3VBSUZsYWcSPwoIZG1fZmxhZ3MYASADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1RmxhZyKtAgoLRGFubWFrdUVsZW0SCgoCaWQYASABKAMSEAoIcHJvZ3Jlc3MYAiABKAUSDAoEbW9kZRgDIAEoBRIQCghmb250c2l6ZRgEIAEoBRINCgVjb2xvchgFIAEoDRIPCgdtaWRIYXNoGAYgASgJEg8KB2NvbnRlbnQYByABKAkSDQoFY3RpbWUYCCABKAMSDgoGd2VpZ2h0GAkgASgFEg4KBmFjdGlvbhgKIAEoCRIMCgRwb29sGAsgASgFEg0KBWlkU3RyGAwgASgJEgwKBGF0dHIYDSABKAUSEQoJYW5pbWF0aW9uGBYgASgJEkIKCGNvbG9yZnVsGBggASgOMjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Db2xvcmZ1bFR5cGUiKQoLRGFubWFrdUZsYWcSDAoEZG1pZBgBIAEoAxIMCgRmbGFnGAIgASgNIksKEURhbm1ha3VGbGFnQ29uZmlnEhAKCHJlY19mbGFnGAEgASgFEhAKCHJlY190ZXh0GAIgASgJEhIKCnJlY19zd2l0Y2gYAyABKAUi5AYKGERhbm11RGVmYXVsdFBsYXllckNvbmZpZxIpCiFwbGF5ZXJfZGFubWFrdV91c2VfZGVmYXVsdF9jb25maWcYASABKAgSLAokcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfc3dpdGNoGAQgASgIEisKI3BsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX2xldmVsGAUgASgFEh8KF3BsYXllcl9kYW5tYWt1X2Jsb2NrdG9wGAYgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2Nrc2Nyb2xsGAcgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2NrYm90dG9tGAggASgIEiQKHHBsYXllcl9kYW5tYWt1X2Jsb2NrY29sb3JmdWwYCSABKAgSIgoacGxheWVyX2Rhbm1ha3VfYmxvY2tyZXBlYXQYCiABKAgSIwobcGxheWVyX2Rhbm1ha3VfYmxvY2tzcGVjaWFsGAsgASgIEh4KFnBsYXllcl9kYW5tYWt1X29wYWNpdHkYDCABKAISJAoccGxheWVyX2Rhbm1ha3Vfc2NhbGluZ2ZhY3RvchgNIAEoAhIdChVwbGF5ZXJfZGFubWFrdV9kb21haW4YDiABKAISHAoUcGxheWVyX2Rhbm1ha3Vfc3BlZWQYDyABKAUSJAocaW5saW5lX3BsYXllcl9kYW5tYWt1X3N3aXRjaBgQIAEoCBIpCiFwbGF5ZXJfZGFubWFrdV9zZW5pb3JfbW9kZV9zd2l0Y2gYESABKAUSLgomcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfbGV2ZWxfdjIYEiABKAUSmAEKKnBsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX2xldmVsX3YyX21hcBgTIAMoCzJkLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11RGVmYXVsdFBsYXllckNvbmZpZy5QbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsVjJNYXBFbnRyeRpLCilQbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsVjJNYXBFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBIo8IChFEYW5tdVBsYXllckNvbmZpZxIdChVwbGF5ZXJfZGFubWFrdV9zd2l0Y2gYASABKAgSIgoacGxheWVyX2Rhbm1ha3Vfc3dpdGNoX3NhdmUYAiABKAgSKQohcGxheWVyX2Rhbm1ha3VfdXNlX2RlZmF1bHRfY29uZmlnGAMgASgIEiwKJHBsYXllcl9kYW5tYWt1X2FpX3JlY29tbWVuZGVkX3N3aXRjaBgEIAEoCBIrCiNwbGF5ZXJfZGFubWFrdV9haV9yZWNvbW1lbmRlZF9sZXZlbBgFIAEoBRIfChdwbGF5ZXJfZGFubWFrdV9ibG9ja3RvcBgGIAEoCBIiChpwbGF5ZXJfZGFubWFrdV9ibG9ja3Njcm9sbBgHIAEoCBIiChpwbGF5ZXJfZGFubWFrdV9ibG9ja2JvdHRvbRgIIAEoCBIkChxwbGF5ZXJfZGFubWFrdV9ibG9ja2NvbG9yZnVsGAkgASgIEiIKGnBsYXllcl9kYW5tYWt1X2Jsb2NrcmVwZWF0GAogASgIEiMKG3BsYXllcl9kYW5tYWt1X2Jsb2Nrc3BlY2lhbBgLIAEoCBIeChZwbGF5ZXJfZGFubWFrdV9vcGFjaXR5GAwgASgCEiQKHHBsYXllcl9kYW5tYWt1X3NjYWxpbmdmYWN0b3IYDSABKAISHQoVcGxheWVyX2Rhbm1ha3VfZG9tYWluGA4gASgCEhwKFHBsYXllcl9kYW5tYWt1X3NwZWVkGA8gASgFEiYKHnBsYXllcl9kYW5tYWt1X2VuYWJsZWJsb2NrbGlzdBgQIAEoCBIkChxpbmxpbmVfcGxheWVyX2Rhbm1ha3Vfc3dpdGNoGBEgASgIEiQKHGlubGluZV9wbGF5ZXJfZGFubWFrdV9jb25maWcYEiABKAUSJgoecGxheWVyX2Rhbm1ha3VfaW9zX3N3aXRjaF9zYXZlGBMgASgFEikKIXBsYXllcl9kYW5tYWt1X3Nlbmlvcl9tb2RlX3N3aXRjaBgUIAEoBRIuCiZwbGF5ZXJfZGFubWFrdV9haV9yZWNvbW1lbmRlZF9sZXZlbF92MhgVIAEoBRKRAQoqcGxheWVyX2Rhbm1ha3VfYWlfcmVjb21tZW5kZWRfbGV2ZWxfdjJfbWFwGBYgAygLMl0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRGFubXVQbGF5ZXJDb25maWcuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyTWFwRW50cnkaSwopUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyTWFwRW50cnkSCwoDa2V5GAEgASgFEg0KBXZhbHVlGAIgASgFOgI4ASIwChZEYW5tdVBsYXllckNvbmZpZ1BhbmVsEhYKDnNlbGVjdGlvbl90ZXh0GAEgASgJIksKGERhbm11UGxheWVyRHluYW1pY0NvbmZpZxIQCghwcm9ncmVzcxgBIAEoBRIdChVwbGF5ZXJfZGFubWFrdV9kb21haW4YDiABKAIikAMKFURhbm11UGxheWVyVmlld0NvbmZpZxJhCh1kYW5tdWt1X2RlZmF1bHRfcGxheWVyX2NvbmZpZxgBIAEoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11RGVmYXVsdFBsYXllckNvbmZpZxJSChVkYW5tdWt1X3BsYXllcl9jb25maWcYAiABKAsyMy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllckNvbmZpZxJhCh1kYW5tdWt1X3BsYXllcl9keW5hbWljX2NvbmZpZxgDIAMoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm11UGxheWVyRHluYW1pY0NvbmZpZxJdChtkYW5tdWt1X3BsYXllcl9jb25maWdfcGFuZWwYBCABKAsyOC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllckNvbmZpZ1BhbmVsItgEChREYW5tdVdlYlBsYXllckNvbmZpZxIRCglkbV9zd2l0Y2gYASABKAgSEQoJYWlfc3dpdGNoGAIgASgIEhAKCGFpX2xldmVsGAMgASgFEhAKCGJsb2NrdG9wGAQgASgIEhMKC2Jsb2Nrc2Nyb2xsGAUgASgIEhMKC2Jsb2NrYm90dG9tGAYgASgIEhIKCmJsb2NrY29sb3IYByABKAgSFAoMYmxvY2tzcGVjaWFsGAggASgIEhQKDHByZXZlbnRzaGFkZRgJIAEoCBINCgVkbWFzaxgKIAEoCBIPCgdvcGFjaXR5GAsgASgCEg4KBmRtYXJlYRgMIAEoBRIRCglzcGVlZHBsdXMYDSABKAISEAoIZm9udHNpemUYDiABKAISEgoKc2NyZWVuc3luYxgPIAEoCBIRCglzcGVlZHN5bmMYECABKAgSEgoKZm9udGZhbWlseRgRIAEoCRIMCgRib2xkGBIgASgIEhIKCmZvbnRib3JkZXIYEyABKAUSEQoJZHJhd190eXBlGBQgASgJEhoKEnNlbmlvcl9tb2RlX3N3aXRjaBgVIAEoBRITCgthaV9sZXZlbF92MhgWIAEoBRJhCg9haV9sZXZlbF92Ml9tYXAYFyADKAsySC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVdlYlBsYXllckNvbmZpZy5BaUxldmVsVjJNYXBFbnRyeRozChFBaUxldmVsVjJNYXBFbnRyeRILCgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBIlkKCkRtQ29sb3JmdWwSPgoEdHlwZRgBIAEoDjIwLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtQ29sb3JmdWxUeXBlEgsKA3NyYxgCIAEoCSJBCg9EbUV4cG9SZXBvcnRSZXESEgoKc2Vzc2lvbl9pZBgBIAEoCRILCgNvaWQYAiABKAMSDQoFc3BtaWQYBCABKAkiEQoPRG1FeHBvUmVwb3J0UmVzIuMMChFEbVBsYXllckNvbmZpZ1JlcRIKCgJ0cxgBIAEoAxJFCgZzd2l0Y2gYAiABKAsyNS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1U3dpdGNoEk4KC3N3aXRjaF9zYXZlGAMgASgLMjkuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVN3aXRjaFNhdmUSWwoSdXNlX2RlZmF1bHRfY29uZmlnGAQgASgLMj8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVVzZURlZmF1bHRDb25maWcSYQoVYWlfcmVjb21tZW5kZWRfc3dpdGNoGAUgASgLMkIuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRTd2l0Y2gSXwoUYWlfcmVjb21tZW5kZWRfbGV2ZWwYBiABKAsyQS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QWlSZWNvbW1lbmRlZExldmVsEkkKCGJsb2NrdG9wGAcgASgLMjcuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2NrdG9wEk8KC2Jsb2Nrc2Nyb2xsGAggASgLMjouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2Nrc2Nyb2xsEk8KC2Jsb2NrYm90dG9tGAkgASgLMjouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUJsb2NrYm90dG9tElMKDWJsb2NrY29sb3JmdWwYCiABKAsyPC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QmxvY2tjb2xvcmZ1bBJPCgtibG9ja3JlcGVhdBgLIAEoCzI6LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VCbG9ja3JlcGVhdBJRCgxibG9ja3NwZWNpYWwYDCABKAsyOy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1QmxvY2tzcGVjaWFsEkcKB29wYWNpdHkYDSABKAsyNi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1T3BhY2l0eRJTCg1zY2FsaW5nZmFjdG9yGA4gASgLMjwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdVNjYWxpbmdmYWN0b3ISRQoGZG9tYWluGA8gASgLMjUuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdURvbWFpbhJDCgVzcGVlZBgQIAEoCzI0LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VTcGVlZBJXCg9lbmFibGVibG9ja2xpc3QYESABKAsyPi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5QbGF5ZXJEYW5tYWt1RW5hYmxlYmxvY2tsaXN0El4KGWlubGluZVBsYXllckRhbm1ha3VTd2l0Y2gYEiABKAsyOy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5JbmxpbmVQbGF5ZXJEYW5tYWt1U3dpdGNoElsKEnNlbmlvcl9tb2RlX3N3aXRjaBgTIAEoCzI/LmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBsYXllckRhbm1ha3VTZW5pb3JNb2RlU3dpdGNoEmQKF2FpX3JlY29tbWVuZGVkX2xldmVsX3YyGBQgASgLMkMuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyIi8KC0RtU2VnQ29uZmlnEhEKCXBhZ2Vfc2l6ZRgBIAEoAxINCgV0b3RhbBgCIAEoAyLkAQoQRG1TZWdNb2JpbGVSZXBseRI8CgVlbGVtcxgBIAMoCzItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VFbGVtEg0KBXN0YXRlGAIgASgFEkAKB2FpX2ZsYWcYAyABKAsyLy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1QUlGbGFnEkEKC2NvbG9yZnVsU3JjGAUgAygLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1Db2xvcmZ1bCKmAQoORG1TZWdNb2JpbGVSZXESCwoDcGlkGAEgASgDEgsKA29pZBgCIAEoAxIMCgR0eXBlGAMgASgFEhUKDXNlZ21lbnRfaW5kZXgYBCABKAMSFgoOdGVlbmFnZXJzX21vZGUYBSABKAUSCgoCcHMYBiABKAMSCgoCcGUYByABKAMSEQoJcHVsbF9tb2RlGAggASgFEhIKCmZyb21fc2NlbmUYCSABKAUiXQoNRG1TZWdPdHRSZXBseRIOCgZjbG9zZWQYASABKAgSPAoFZWxlbXMYAiADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tYWt1RWxlbSJMCgtEbVNlZ090dFJlcRILCgNwaWQYASABKAMSCwoDb2lkGAIgASgDEgwKBHR5cGUYAyABKAUSFQoNc2VnbWVudF9pbmRleBgEIAEoAyJdCg1EbVNlZ1NES1JlcGx5Eg4KBmNsb3NlZBgBIAEoCBI8CgVlbGVtcxgCIAMoCzItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VFbGVtIkwKC0RtU2VnU0RLUmVxEgsKA3BpZBgBIAEoAxILCgNvaWQYAiABKAMSDAoEdHlwZRgDIAEoBRIVCg1zZWdtZW50X2luZGV4GAQgASgDIt4GCgtEbVZpZXdSZXBseRIOCgZjbG9zZWQYASABKAgSOQoEbWFzaxgCIAEoCzIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlZpZGVvTWFzaxJBCghzdWJ0aXRsZRgDIAEoCzIvLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlZpZGVvU3VidGl0bGUSEwoLc3BlY2lhbF9kbXMYBCADKAkSRAoHYWlfZmxhZxgFIAEoCzIzLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VGbGFnQ29uZmlnEk4KDXBsYXllcl9jb25maWcYBiABKAsyNy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVBsYXllclZpZXdDb25maWcSFgoOc2VuZF9ib3hfc3R5bGUYByABKAUSDQoFYWxsb3cYCCABKAgSEQoJY2hlY2tfYm94GAkgASgJEhoKEmNoZWNrX2JveF9zaG93X21zZxgKIAEoCRIYChB0ZXh0X3BsYWNlaG9sZGVyGAsgASgJEhkKEWlucHV0X3BsYWNlaG9sZGVyGAwgASgJEh0KFXJlcG9ydF9maWx0ZXJfY29udGVudBgNIAMoCRJBCgtleHBvX3JlcG9ydBgOIAEoCzIsLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkV4cG9SZXBvcnQSSQoPYnV6endvcmRfY29uZmlnGA8gASgLMjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQnV6endvcmRDb25maWcSQgoLZXhwcmVzc2lvbnMYECADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5FeHByZXNzaW9ucxI/Cgpwb3N0X3BhbmVsGBEgAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFBhbmVsEhUKDWFjdGl2aXR5X21ldGEYEiADKAkSQgoLcG9zdF9wYW5lbDIYEyADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5Qb3N0UGFuZWxWMiJYCglEbVZpZXdSZXESCwoDcGlkGAEgASgDEgsKA29pZBgCIAEoAxIMCgR0eXBlGAMgASgFEg0KBXNwbWlkGAQgASgJEhQKDGlzX2hhcmRfYm9vdBgFIAEoBSLEBAoORG1XZWJWaWV3UmVwbHkSDQoFc3RhdGUYASABKAUSDAoEdGV4dBgCIAEoCRIRCgl0ZXh0X3NpZGUYAyABKAkSPQoGZG1fc2dlGAQgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdDb25maWcSQQoEZmxhZxgFIAEoCzIzLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRhbm1ha3VGbGFnQ29uZmlnEhMKC3NwZWNpYWxfZG1zGAYgAygJEhEKCWNoZWNrX2JveBgHIAEoCBINCgVjb3VudBgIIAEoAxI/Cgpjb21tYW5kRG1zGAkgAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ29tbWFuZERtEk0KDXBsYXllcl9jb25maWcYCiABKAsyNi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EYW5tdVdlYlBsYXllckNvbmZpZxIdChVyZXBvcnRfZmlsdGVyX2NvbnRlbnQYCyADKAkSQgoLZXhwcmVzc2lvbnMYDCADKAsyLS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5FeHByZXNzaW9ucxI/Cgpwb3N0X3BhbmVsGA0gAygLMisuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFBhbmVsEhUKDWFjdGl2aXR5X21ldGEYDiADKAkiKgoKRXhwb1JlcG9ydBIcChRzaG91bGRfcmVwb3J0X2F0X2VuZBgBIAEoCCJkCgpFeHByZXNzaW9uEg8KB2tleXdvcmQYASADKAkSCwoDdXJsGAIgASgJEjgKBnBlcmlvZBgDIAMoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBlcmlvZCJJCgtFeHByZXNzaW9ucxI6CgRkYXRhGAEgAygLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRXhwcmVzc2lvbiIqChlJbmxpbmVQbGF5ZXJEYW5tYWt1U3dpdGNoEg0KBXZhbHVlGAEgASgIIicKBUxhYmVsEg0KBXRpdGxlGAEgASgJEg8KB2NvbnRlbnQYAiADKAkiVwoHTGFiZWxWMhINCgV0aXRsZRgBIAEoCRIPCgdjb250ZW50GAIgAygJEhUKDWV4cG9zdXJlX29uY2UYAyABKAgSFQoNZXhwb3N1cmVfdHlwZRgEIAEoBSIkCgZQZXJpb2QSDQoFc3RhcnQYASABKAMSCwoDZW5kGAIgASgDIjAKH1BsYXllckRhbm1ha3VBaVJlY29tbWVuZGVkTGV2ZWwSDQoFdmFsdWUYASABKAgiMgohUGxheWVyRGFubWFrdUFpUmVjb21tZW5kZWRMZXZlbFYyEg0KBXZhbHVlGAEgASgFIjEKIFBsYXllckRhbm1ha3VBaVJlY29tbWVuZGVkU3dpdGNoEg0KBXZhbHVlGAEgASgIIikKGFBsYXllckRhbm1ha3VCbG9ja2JvdHRvbRINCgV2YWx1ZRgBIAEoCCIrChpQbGF5ZXJEYW5tYWt1QmxvY2tjb2xvcmZ1bBINCgV2YWx1ZRgBIAEoCCIpChhQbGF5ZXJEYW5tYWt1QmxvY2tyZXBlYXQSDQoFdmFsdWUYASABKAgiKQoYUGxheWVyRGFubWFrdUJsb2Nrc2Nyb2xsEg0KBXZhbHVlGAEgASgIIioKGVBsYXllckRhbm1ha3VCbG9ja3NwZWNpYWwSDQoFdmFsdWUYASABKAgiJgoVUGxheWVyRGFubWFrdUJsb2NrdG9wEg0KBXZhbHVlGAEgASgIIiQKE1BsYXllckRhbm1ha3VEb21haW4SDQoFdmFsdWUYASABKAIiLQocUGxheWVyRGFubWFrdUVuYWJsZWJsb2NrbGlzdBINCgV2YWx1ZRgBIAEoCCIlChRQbGF5ZXJEYW5tYWt1T3BhY2l0eRINCgV2YWx1ZRgBIAEoAiIrChpQbGF5ZXJEYW5tYWt1U2NhbGluZ2ZhY3RvchINCgV2YWx1ZRgBIAEoAiIuCh1QbGF5ZXJEYW5tYWt1U2VuaW9yTW9kZVN3aXRjaBINCgV2YWx1ZRgBIAEoBSIjChJQbGF5ZXJEYW5tYWt1U3BlZWQSDQoFdmFsdWUYASABKAUiOAoTUGxheWVyRGFubWFrdVN3aXRjaBINCgV2YWx1ZRgBIAEoCBISCgpjYW5faWdub3JlGAIgASgIIigKF1BsYXllckRhbm1ha3VTd2l0Y2hTYXZlEg0KBXZhbHVlGAEgASgIIi4KHVBsYXllckRhbm1ha3VVc2VEZWZhdWx0Q29uZmlnEg0KBXZhbHVlGAEgASgIIowDCglQb3N0UGFuZWwSDQoFc3RhcnQYASABKAMSCwoDZW5kGAIgASgDEhAKCHByaW9yaXR5GAMgASgDEg4KBmJpel9pZBgEIAEoAxJECghiaXpfdHlwZRgFIAEoDjIyLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlBvc3RQYW5lbEJpelR5cGUSQwoMY2xpY2tfYnV0dG9uGAYgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2xpY2tCdXR0b24SPwoKdGV4dF9pbnB1dBgHIAEoCzIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRleHRJbnB1dBI9CgljaGVja19ib3gYCCABKAsyKi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5DaGVja0JveBI2CgV0b2FzdBgJIAEoCzInLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRvYXN0IssDCgtQb3N0UGFuZWxWMhINCgVzdGFydBgBIAEoAxILCgNlbmQYAiABKAMSEAoIYml6X3R5cGUYAyABKAUSRQoMY2xpY2tfYnV0dG9uGAQgASgLMi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2xpY2tCdXR0b25WMhJBCgp0ZXh0X2lucHV0GAUgASgLMi0uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuVGV4dElucHV0VjISPwoJY2hlY2tfYm94GAYgASgLMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQ2hlY2tCb3hWMhI4CgV0b2FzdBgHIAEoCzIpLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlRvYXN0VjISOgoGYnViYmxlGAggASgLMiouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQnViYmxlVjISOAoFbGFiZWwYCSABKAsyKS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5MYWJlbFYyEhMKC3Bvc3Rfc3RhdHVzGAogASgFIikKCFJlc3BvbnNlEgwKBGNvZGUYASABKAUSDwoHbWVzc2FnZRgCIAEoCSL5AgoMU3VidGl0bGVJdGVtEgoKAmlkGAEgASgDEg4KBmlkX3N0chgCIAEoCRILCgNsYW4YAyABKAkSDwoHbGFuX2RvYxgEIAEoCRIUCgxzdWJ0aXRsZV91cmwYBSABKAkSOgoGYXV0aG9yGAYgASgLMiouYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuVXNlckluZm8SPAoEdHlwZRgHIAEoDjIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlN1YnRpdGxlVHlwZRIVCg1sYW5fZG9jX2JyaWVmGAggASgJEkEKB2FpX3R5cGUYCSABKA4yMC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5TdWJ0aXRsZUFpVHlwZRJFCglhaV9zdGF0dXMYCiABKA4yMi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5TdWJ0aXRsZUFpU3RhdHVzIugCCglUZXh0SW5wdXQSHAoUcG9ydHJhaXRfcGxhY2Vob2xkZXIYASADKAkSHQoVbGFuZHNjYXBlX3BsYWNlaG9sZGVyGAIgAygJEkEKC3JlbmRlcl90eXBlGAMgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUmVuZGVyVHlwZRIYChBwbGFjZWhvbGRlcl9wb3N0GAQgASgIEgwKBHNob3cYBSABKAgSOAoGYXZhdGFyGAYgAygLMiguYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQXZhdGFyEkEKC3Bvc3Rfc3RhdHVzGAcgASgOMiwuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuUG9zdFN0YXR1cxI2CgVsYWJlbBgIIAEoCzInLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkxhYmVsIvsBCgtUZXh0SW5wdXRWMhIcChRwb3J0cmFpdF9wbGFjZWhvbGRlchgBIAMoCRIdChVsYW5kc2NhcGVfcGxhY2Vob2xkZXIYAiADKAkSQQoLcmVuZGVyX3R5cGUYAyABKA4yLC5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5SZW5kZXJUeXBlEhgKEHBsYWNlaG9sZGVyX3Bvc3QYBCABKAgSOAoGYXZhdGFyGAUgAygLMiguYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuQXZhdGFyEhgKEHRleHRfaW5wdXRfbGltaXQYBiABKAUibwoFVG9hc3QSDAoEdGV4dBgBIAEoCRIQCghkdXJhdGlvbhgCIAEoBRIMCgRzaG93GAMgASgIEjgKBmJ1dHRvbhgEIAEoCzIoLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkJ1dHRvbiItCg1Ub2FzdEJ1dHRvblYyEgwKBHRleHQYASABKAkSDgoGYWN0aW9uGAIgASgFInMKB1RvYXN0VjISDAoEdGV4dBgBIAEoCRIQCghkdXJhdGlvbhgCIAEoBRJICg90b2FzdF9idXR0b25fdjIYAyABKAsyLy5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5Ub2FzdEJ1dHRvblYyIlwKCFVzZXJJbmZvEgsKA21pZBgBIAEoAxIMCgRuYW1lGAIgASgJEgsKA3NleBgDIAEoCRIMCgRmYWNlGAQgASgJEgwKBHNpZ24YBSABKAkSDAoEcmFuaxgGIAEoBSJTCglWaWRlb01hc2sSCwoDY2lkGAEgASgDEgwKBHBsYXQYAiABKAUSCwoDZnBzGAMgASgFEgwKBHRpbWUYBCABKAMSEAoIbWFza191cmwYBSABKAkibwoNVmlkZW9TdWJ0aXRsZRILCgNsYW4YASABKAkSDgoGbGFuRG9jGAIgASgJEkEKCXN1YnRpdGxlcxgDIAMoCzIuLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLlN1YnRpdGxlSXRlbSozCgpBdmF0YXJUeXBlEhIKDkF2YXRhclR5cGVOb25lEAASEQoNQXZhdGFyVHlwZU5GVBABKlkKCkJ1YmJsZVR5cGUSEgoOQnViYmxlVHlwZU5vbmUQABIZChVCdWJibGVUeXBlQ2xpY2tCdXR0b24QARIcChhCdWJibGVUeXBlRG1TZXR0aW5nUGFuZWwQAipYCgxDaGVja2JveFR5cGUSFAoQQ2hlY2tib3hUeXBlTm9uZRAAEhkKFUNoZWNrYm94VHlwZUVuY291cmFnZRABEhcKE0NoZWNrYm94VHlwZUNvbG9yRE0QAipMCglETUF0dHJCaXQSFAoQRE1BdHRyQml0UHJvdGVjdBAAEhUKEURNQXR0ckJpdEZyb21MaXZlEAESEgoORE1BdHRySGlnaExpa2UQAio1Cg5EbUNvbG9yZnVsVHlwZRIMCghOb25lVHlwZRAAEhUKD1ZpcEdyYWR1YWxDb2xvchDh1AMqPAoMRXhwb3N1cmVUeXBlEhQKEEV4cG9zdXJlVHlwZU5vbmUQABIWChJFeHBvc3VyZVR5cGVETVNlbmQQASrBAQoQUG9zdFBhbmVsQml6VHlwZRIYChRQb3N0UGFuZWxCaXpUeXBlTm9uZRAAEh0KGVBvc3RQYW5lbEJpelR5cGVFbmNvdXJhZ2UQARIbChdQb3N0UGFuZWxCaXpUeXBlQ29sb3JETRACEhkKFVBvc3RQYW5lbEJpelR5cGVORlRETRADEh0KGVBvc3RQYW5lbEJpelR5cGVGcmFnQ2xvc2UQBBIdChlQb3N0UGFuZWxCaXpUeXBlUmVjb21tZW5kEAUqOAoKUG9zdFN0YXR1cxIUChBQb3N0U3RhdHVzTm9ybWFsEAASFAoQUG9zdFN0YXR1c0Nsb3NlZBABKk4KClJlbmRlclR5cGUSEgoOUmVuZGVyVHlwZU5vbmUQABIUChBSZW5kZXJUeXBlU2luZ2xlEAESFgoSUmVuZGVyVHlwZVJvdGF0aW9uEAIqNgoQU3VidGl0bGVBaVN0YXR1cxIICgROb25lEAASDAoIRXhwb3N1cmUQARIKCgZBc3Npc3QQAiorCg5TdWJ0aXRsZUFpVHlwZRIKCgZOb3JtYWwQABINCglUcmFuc2xhdGUQASoeCgxTdWJ0aXRsZVR5cGUSBgoCQ0MQABIGCgJBSRABKk4KEVRvYXN0RnVuY3Rpb25UeXBlEhkKFVRvYXN0RnVuY3Rpb25UeXBlTm9uZRAAEh4KGlRvYXN0RnVuY3Rpb25UeXBlUG9zdFBhbmVsEAEyoAUKAkRNEnMKC0RtU2VnTW9iaWxlEjAuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdNb2JpbGVSZXEaMi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbVNlZ01vYmlsZVJlcGx5EmQKBkRtVmlldxIrLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtVmlld1JlcRotLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtVmlld1JlcGx5EnEKDkRtUGxheWVyQ29uZmlnEjMuYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1QbGF5ZXJDb25maWdSZXEaKi5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5SZXNwb25zZRJqCghEbVNlZ090dBItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtU2VnT3R0UmVxGi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdPdHRSZXBseRJqCghEbVNlZ1NESxItLmJpbGliaWxpLmNvbW11bml0eS5zZXJ2aWNlLmRtLnYxLkRtU2VnU0RLUmVxGi8uYmlsaWJpbGkuY29tbXVuaXR5LnNlcnZpY2UuZG0udjEuRG1TZWdTREtSZXBseRJ0CgxEbUV4cG9SZXBvcnQSMS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbUV4cG9SZXBvcnRSZXEaMS5iaWxpYmlsaS5jb21tdW5pdHkuc2VydmljZS5kbS52MS5EbUV4cG9SZXBvcnRSZXNiBnByb3RvMw");se(Q,0);se(Q,1);se(Q,2);se(Q,3);se(Q,4);se(Q,5);se(Q,6);se(Q,7);se(Q,8);se(Q,9);se(Q,10);se(Q,11);se(Q,12);se(Q,13);se(Q,14);se(Q,15);se(Q,16);se(Q,17);se(Q,18);se(Q,19);se(Q,20);se(Q,21);se(Q,22);se(Q,23);se(Q,24);se(Q,25);se(Q,26);se(Q,27);se(Q,28);se(Q,29);se(Q,30);se(Q,31);se(Q,32);se(Q,33);se(Q,34);se(Q,35);se(Q,36);se(Q,37);se(Q,38);se(Q,39);se(Q,40);se(Q,41);se(Q,42);se(Q,43);se(Q,44);se(Q,45);se(Q,46);se(Q,47);se(Q,48);se(Q,49);se(Q,50);se(Q,51);se(Q,52);se(Q,53);se(Q,54);se(Q,55);se(Q,56);se(Q,57);se(Q,58);se(Q,59);se(Q,60);se(Q,61);se(Q,62);se(Q,63);se(Q,64);se(Q,65);se(Q,66);se(Q,67);se(Q,68);se(Q,69);se(Q,70);se(Q,71);var $B=(e=>(e[e.AvatarTypeNone=0]="AvatarTypeNone",e[e.AvatarTypeNFT=1]="AvatarTypeNFT",e))($B||{});Qt(Q,0);var WB=(e=>(e[e.BubbleTypeNone=0]="BubbleTypeNone",e[e.BubbleTypeClickButton=1]="BubbleTypeClickButton",e[e.BubbleTypeDmSettingPanel=2]="BubbleTypeDmSettingPanel",e))(WB||{});Qt(Q,1);var DB=(e=>(e[e.CheckboxTypeNone=0]="CheckboxTypeNone",e[e.CheckboxTypeEncourage=1]="CheckboxTypeEncourage",e[e.CheckboxTypeColorDM=2]="CheckboxTypeColorDM",e))(DB||{});Qt(Q,2);var VB=(e=>(e[e.DMAttrBitProtect=0]="DMAttrBitProtect",e[e.DMAttrBitFromLive=1]="DMAttrBitFromLive",e[e.DMAttrHighLike=2]="DMAttrHighLike",e))(VB||{});Qt(Q,3);var GB=(e=>(e[e.NoneType=0]="NoneType",e[e.VipGradualColor=60001]="VipGradualColor",e))(GB||{});Qt(Q,4);var YB=(e=>(e[e.ExposureTypeNone=0]="ExposureTypeNone",e[e.ExposureTypeDMSend=1]="ExposureTypeDMSend",e))(YB||{});Qt(Q,5);var UB=(e=>(e[e.PostPanelBizTypeNone=0]="PostPanelBizTypeNone",e[e.PostPanelBizTypeEncourage=1]="PostPanelBizTypeEncourage",e[e.PostPanelBizTypeColorDM=2]="PostPanelBizTypeColorDM",e[e.PostPanelBizTypeNFTDM=3]="PostPanelBizTypeNFTDM",e[e.PostPanelBizTypeFragClose=4]="PostPanelBizTypeFragClose",e[e.PostPanelBizTypeRecommend=5]="PostPanelBizTypeRecommend",e))(UB||{});Qt(Q,6);var jB=(e=>(e[e.PostStatusNormal=0]="PostStatusNormal",e[e.PostStatusClosed=1]="PostStatusClosed",e))(jB||{});Qt(Q,7);var ZB=(e=>(e[e.RenderTypeNone=0]="RenderTypeNone",e[e.RenderTypeSingle=1]="RenderTypeSingle",e[e.RenderTypeRotation=2]="RenderTypeRotation",e))(ZB||{});Qt(Q,8);var KB=(e=>(e[e.None=0]="None",e[e.Exposure=1]="Exposure",e[e.Assist=2]="Assist",e))(KB||{});Qt(Q,9);var HB=(e=>(e[e.Normal=0]="Normal",e[e.Translate=1]="Translate",e))(HB||{});Qt(Q,10);var XB=(e=>(e[e.CC=0]="CC",e[e.AI=1]="AI",e))(XB||{});Qt(Q,11);var zB=(e=>(e[e.ToastFunctionTypeNone=0]="ToastFunctionTypeNone",e[e.ToastFunctionTypePostPanel=1]="ToastFunctionTypePostPanel",e))(zB||{});Qt(Q,12);var JB=gB(Q,0),QB=class extends Qe{async fetchAll(e,t){let n=(e.duration-1)/360+1,r=[];for(let s=1;s<=n;s++){let o=await this.api.fetchArrayBuffer("https://api.bilibili.com/x/v2/dm/web/seg.so",{query:{type:"1",oid:e.cid,segment_index:s},...t}),a=new Uint8Array(o),i=b1(JB.method.dmSegMobile.output,a);r.push(...i.elems??[]),s<n&&await gi(500,1111,t?.signal)}return r}},qB=class{get logger(){return this.config.logger}constructor(e){this.config={...kB(e?.logLevel),...e??{}},this.api=new oO(this),this.createPager=this.api.createPager,this.request=this.api.request,this.user=new mn(this.api),this.userExp=new qa(this.api),this.relation=new $e(this.api),this.history=new Bn(this.api),this.session=new er(this.api),this.sessionSettings=new nn(this.api),this.message=new at(this.api),this.toview=new bn(this.api),this.fav=new Nt(this.api),this.favCollection=new Jr(this.api),this.favOpus=new Cr(this.api),this.followBangumi=new Tr(this.api),this.spaceVideo=new Io(this.api),this.spaceStatus=new ei(this.api),this.spaceSettings=new ti(this.api),this.dynamic=new Rs(this.api),this.videoInfo=new ns(this.api),this.videoAction=new rr(this.api),this.videoReport=new tc(this.api),this.videoRanking=new Ps(this.api),this.videoPlayer=new ni(this.api),this.comment=new sn(this.api),this.dm=new QB(this.api),Ry.setAutoRefresh(this.config.autoMixinKey)}updateRequestContext(e){this.config.context=e}},jl=null,Yh=()=>(jl||(jl=new qB),jl),Ci,Da=null,Cy=0,Zl,Uh=1440*60*1e3,Ty=!1,Ry={get:async()=>Ci||(Da||(Da=nO().catch(()=>{Da=null})),await Da,Ci),setAutoRefresh(e){Ty=e}};function eO(e,t){return Math.floor(e/Uh)!==Math.floor(t/Uh)}var tO=[46,47,18,2,53,8,23,32,15,50,10,31,58,3,45,35,27,43,5,49,33,9,42,19,29,28,14,39,12,38,41,13,37,48,7,16,24,55,40,61,26,17,0,1,60,51,30,4,22,25,54,21,56,59,6,63,57,62,11,36,20,34,44,52],Py=(e,t)=>{let n=e+t;return tO.map(r=>n[r]).join("").slice(0,32)},nO=async()=>{await jh(),Zl||clearInterval(Zl),Ty&&(Zl=setInterval(()=>{eO(Cy,Date.now())&&jh()},3e5))},jh=async()=>{try{let e=Date.now(),t=(await(await fetch("https://api.bilibili.com/x/web-interface/nav")).json()).data,n=o=>new URL(o).pathname.split("/").pop().replace(/\.[^.]+$/,""),r=n(t.wbi_img.img_url),s=n(t.wbi_img.sub_url);Ci=Py(r,s),Yh().logger.info(`初始化 imgKey=${r} subKey=${s} mixinKey=${Ci}`),Cy=e}catch(e){throw Yh().logger.error("初始化 MixinKey 失败",e),e}};async function Zh(e,t){let n=Math.floor(Date.now()/1e3),r=t??await Ry.get();return`${vu(e)}&w_rid=${Z8(vu({...e,wts:n})+r)}&wts=${n}`}async function rO(e,t,n){try{return t||Object.keys(e).length===0?`${vu(e)}`:n?`${await Zh(e,Py(n.imgKey,n.subKey))}`:`${await Zh(e)}`}catch{throw new Error("查询参数无效")}}var sO=class extends N1{constructor(t,n,r){super(t),this.list=[],this.lastApiResponse=null,this.pageStrategy=n,n.options.pageNum!==void 0?this.nextPageNum=n.options.pageNum:this.nextPageNum=1;let{baseUrl:s,searchParams:o}=g0(r.url);this.requestParams=Object.assign(b0(o,r.query)),this.requestOptions={...r,url:s,query:this.requestParams,returnFormat:"ApiResponse"}}mergeRequestOptions(t){this.requestParams={...this.requestParams,...t?.query},this.requestOptions={...this.requestOptions,...t,query:this.requestParams,returnFormat:"ApiResponse"}}async fetchNext(t){if(this.mergeRequestOptions(t),!this.pageStrategy.hasNextPage(this.nextPageNum,this.list,this.lastApiResponse))return null;this.pageStrategy.updateNextPageParams(this.nextPageNum,this.requestParams,this.list,this.lastApiResponse),this.lastApiResponse===null&&(this.nextPageNum===1||this.nextPageNum===this.pageStrategy.options.pageNum)&&Object.assign(this.requestParams,this.pageStrategy.options.pageParams);let n=await this.get(this.requestOptions.url,this.requestOptions);if(this.lastApiResponse=n,n.data==null)return null;this.nextPageNum++;let r=this.pageStrategy.getList(n)??[];return r.length<=0?null:(this.list.push(...r),r)}async fetchPageWithNextParams(t){return{items:await this.fetchNext(t),nextParams:this.getNextPageParams(),hasNext:this.pageStrategy.hasNextPage(this.nextPageNum,this.list,this.lastApiResponse),pageSize:this.pageStrategy.options.pageSize,total:this.pageStrategy.getTotal?.(this.lastApiResponse)??void 0}}getRequestDelay(t){return typeof t?.delay=="function"?t.delay(this.nextPageNum):typeof t?.delay=="number"?t.delay:1122}async fetchAllPage(t,n){for(this.mergeRequestOptions(n),this.nextPageNum=1,this.list=[],this.lastApiResponse=null;!this.requestOptions.signal?.aborted;){let r=await this.fetchNext(n);if(r===null||t&&await t(r,this.list)===!1)break;await Os(this.getRequestDelay(n),this.requestOptions.signal)}return this.list}getNextPageParams(){let t={};return this.pageStrategy.updateNextPageParams(this.nextPageNum,t,this.list,this.lastApiResponse),t}getPageSize(){return this.pageStrategy.options.pageSize}},oO=class{constructor(e){this.client=e,this.logApiSuccess=(t,n,r,s)=>{if(n==="RawResponse")this.logger.info(`${t} 请求成功`);else{let o=s||this.isDebug?JSON.stringify(r):"";n==="ApiResponse"?this.logger.info(`${t} 请求成功`,o):this.logger.info(`${t} 请求成功`,o)}},this.logApiError=(t,n)=>{Lc(n)?this.logger.info(`${t} [${Ys(n)}]`):n instanceof Wa?this.logger.info(`${t} [http error]:${n.message}(${n.status})`):n instanceof Vn?this.logger.info(`${t} ${n.message}`):this.logger.info(`${t} 出现未知错误`,n)},this.buildFinalUrl=async(t,n)=>{let{baseUrl:r,searchParams:s}=g0(t.url),o=b0(s,t.query),a=await rO(o,t.skipWbiSign,t.wbiSignKeys);return t.logRequestParams?this.logger.info(`${n} 请求中 ${a}`):this.logger.info(`${n} 请求中...`),a&&a.length>0?`${r}?${a}`:r},this.buildRequestBody=async t=>{let n=t.data;if(n)if(typeof n=="object"){if(!(n instanceof Blob)&&!(n instanceof URLSearchParams)&&!(n instanceof FormData)){let r={};Object.keys(n).forEach(function(s){if(n!=null){let o=n[s];o!=null&&(r[s]=String(o))}}),n=new URLSearchParams(r)}}else typeof n=="string"&&(t.init={...t.init},t.init.headers={...t.init.headers,"Content-Type":"application/json"});return t.method==="POST"&&n&&t.autoCsrf&&n instanceof URLSearchParams&&n.set("csrf",this.clientConfig.context?.userCookie.bili_jct??""),n},this.buildRequestInit=async(t,n)=>{let{context:r,userAgent:s,timeout:o,referer:a}=this.clientConfig;return{signal:t?.signal?AbortSignal.any([t?.signal,AbortSignal.timeout(o)]):AbortSignal.timeout(o),method:t.method,body:n,...t?.init??{},credentials:"include",headers:{"User-Agent":s,origin:"https://t.bilibili.com",cookie:t.cookie?.cookie||r?.userCookie.cookie||"",Referer:t.referer??(typeof a=="function"?a(t.url):a),...t?.init?.headers??{}}}},this.executeRequest=async(t,n)=>{t.url=await this.buildFinalUrl(t,n);let r=await this.buildRequestBody(t);r&&this.logger.debug(`${n} 请求体`,JSON.stringify(r));let s=await this.buildRequestInit(t,r);return await(this.clientConfig.fetcher??fetch)(t.url,s)},this.request=async(t,n)=>{if(n?.signal?.aborted)throw Gs();let r={...FB,url:t,...n},s=this.buildLogPrefix(r);try{let o=await this.executeRequest(r,s);if(!o.ok)throw new Wa(this.clientConfig,r,o);if(r.returnFormat==="RawResponse")return this.logApiSuccess(s,"RawResponse",o,r.logResponseData),o;let a;try{a=await o.json()}catch(i){throw new Wa(this.clientConfig,r,o,"解析响应数据错误",i)}if(!r.ignoreBusinessError&&a.code!==0)throw new x1(this.clientConfig,r,a);return r.returnFormat==="ApiResponse"?(this.logApiSuccess(s,"ApiResponse",a,r.logResponseData),a):(this.logApiSuccess(s,"ApiResponseData",a.data,r.logResponseData),a.data)}catch(o){throw this.logApiError(s,o),o}},this.fetchRaw=async(t,n)=>{if(n?.signal?.aborted)throw Gs();let r={...my,url:t,...n},s=this.buildLogPrefix(r),o=r.responseType;try{let a=await this.executeRequest(r,s);if(!a.ok)throw new Wa(this.clientConfig,r,a);return this.logApiSuccess(s,"RawResponse",a,r.logResponseData),o==="json"?await a.json():o==="text"?await a.text():o==="blob"?await a.blob():o==="arrayBuffer"?await a.arrayBuffer():await a.formData()}catch(a){throw this.logApiError(s,a),a}},this.fetchText=async(t,n)=>this.fetchRaw(t,{...n,responseType:"text"}),this.fetchBlob=async(t,n)=>this.fetchRaw(t,{...n,responseType:"blob"}),this.fetchArrayBuffer=async(t,n)=>this.fetchRaw(t,{...n,responseType:"arrayBuffer"}),this.fetchFormData=async(t,n)=>this.fetchRaw(t,{...n,responseType:"formData"}),this.get=async(t,n)=>this.request(t,{...n,method:"GET"}),this.post=async(t,n)=>this.request(t,{...n,method:"POST"}),this.save=async(t,n)=>this.request(t,{...n,method:"POST",skipWbiSign:!1,autoCsrf:!0}),this.createPager=(t,n,r)=>new sO(this,n,{url:t,...r})}get clientConfig(){return this.client.config}get logger(){return this.clientConfig.logger}get isDebug(){return this.clientConfig.logLevel==="debug"}buildLogPrefix(e){let t=this.clientConfig.context?.userCookie.uid;return`[bili API]${t?` [${t}]`:""} ${e.method} ${new URL(e.url).pathname}`}},aO=class extends vS{constructor(e,t){super(e,t),this.name=new.target.name,Object.setPrototypeOf(this,new.target.prototype)}};const Gr=xS();var bt=(e,t,n,r="srgb",s)=>`color-mix(in ${r}, ${e} ${n}%, ${t} ${100-n}%)`,By=e=>{let t=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16);return{r:t,g:n,b:r}},iO=(e,t)=>{document.documentElement.style.setProperty(e,t)};const Kh="#ffffff",Hh="#000000",Kl=(e,t,n)=>{const{r,g:s,b:o}=By(e);for(let a=2;a<100;){const i=a/100;t[`${n}-transparent-${a}`]=`rgba(${r}, ${s}, ${o}, ${i})`,a>=10?a+=5:a++}},lO=(e,t,n)=>{const r={};n?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark");const s=r["--app-color-foreground"]=n?Kh:Hh,o=r["--app-color-background"]=n?Hh:Kh;r["--app-primary-color"]=e,r["--el-color-primary"]=e,r["--el-color-primary-light-1"]=bt(e,o,90),r["--el-color-primary-light-2"]=bt(e,o,80),r["--el-color-primary-light-3"]=bt(e,o,70),r["--el-color-primary-light-4"]=bt(e,o,60),r["--el-color-primary-light-5"]=bt(e,o,50),r["--el-color-primary-light-6"]=bt(e,o,40),r["--el-color-primary-light-7"]=bt(e,o,30),r["--el-color-primary-light-8"]=bt(e,o,20),r["--el-color-primary-light-9"]=bt(e,o,12),r["--el-color-primary-dark-1"]=bt(e,s,90),r["--el-color-primary-dark-2"]=bt(e,s,80),r["--el-color-primary-dark-3"]=bt(e,s,70),r["--el-color-primary-dark-4"]=bt(e,s,60),r["--el-color-primary-dark-5"]=bt(e,s,50),r["--el-color-primary-dark-6"]=bt(e,s,40),r["--el-color-primary-dark-7"]=bt(e,s,30),r["--el-color-primary-dark-8"]=bt(e,s,20),r["--el-color-primary-dark-9"]=bt(e,s,12);const{r:a,g:i,b:l}=By(e);r["--app-bg-color-overlay"]=`rgba(${a}, ${i}, ${l}, 0.05)`,r["--app-bg-color-overlay-hover"]=`rgba(${a}, ${i}, ${l}, 0.15)`,r["--app-bg-color-page"]=n?"var(--el-fill-color-blank)":"transparent",r["--app-bg-color-menus"]="var(--app-bg-color-page)",n?r["--app-text-shadow"]=" 0px 1px 2px rgba(255, 255, 255, .4)":r["--app-text-shadow"]=" 0px 1px 2px rgba(0, 0, 0, .4)",Kl(e,r,"--app-color-primary"),Kl(o,r,"--app-color-background"),Kl(s,r,"--app-color-foreground");for(const u in r)iO(u,r[u])},uO=async e=>{const t=e??(await Gr.system.getAppThemeState()).themeMode;return t==="system"?await Gr.system.shouldUseDarkColors():t==="dark"},Xh=async e=>{const t=e??await Gr.system.getAppThemeState(),n=await uO(t.themeMode);lO(t.primaryColor,t.themeMode,n)},Oy=Xg("biliToolkit-ui-theme",()=>{const e=In(YE);let t=!1;const n=async(s,o)=>{const a=await window.toolkitApi.system.getAppThemeState();Object.assign(e,a),await Xh(a),s&&o&&(t=!0,Ie(()=>e,i=>{const l=h0(i);window.toolkitApi.db.write(s,l).then(async()=>{await window.toolkitApi.event.emit(o,l)})},{deep:!0}))};window.toolkitApi.event.onUpdateAppTheme(s=>{t||Object.assign(e,s),Xh(s).then()}).catch();const r=s=>(e.primaryColor=s,e.primaryColor);return{init:n,state:e,switchThemeColor:()=>{e.primaryColorIndex=(e.primaryColorIndex+1)%Do.primaryColors.length;const s=Do.primaryColors[e.primaryColorIndex];return r(s)},setPrimaryColor:r}},{persist:!1}),ky=Xg("biliToolkit-ui-selected-user",()=>{const e=J(null),t=async()=>{try{e.value=(await window.toolkitApi.db.init(_d.UI_SELECTED_USER))?.user??null}catch{}};return Ie(()=>e.value,async n=>{await window.toolkitApi.db.write(_d.UI_SELECTED_USER,{user:n!=null?h0(n):null})},{deep:!0}),{init:t,user:e,deleteUser:()=>{e.value=null},setUser:n=>{e.value=n},assertLoggedIn:()=>{if(e.value==null)throw new Error("请先登录")}}}),cO=async(e,t)=>(Promise.resolve({}),Promise.resolve({}),Promise.resolve({}),await Oy(e).init(t?.appThemeDBName,t?.appThemeUpdateEvent),await ky(e).init(),{install(n){}});function fO(e){Gr.system.saveLog({level:"error",data:[JSON.stringify($c(e))]}).catch()}function zh(e,t){return e==null?!1:e instanceof t||typeof e=="object"&&"name"in e&&e.name===t.name}const lc=e=>{if(!Lc(e))if(e){console.error(e);const t=()=>{Gr&&Gr.system&&fO(e)};zh(e,aO)?ri(`${e.message}`):zh(e,x1)?(ri(`${e.message} (${e.responseCode})`),t()):(ri(Ys(e)),t())}else Fy({message:"未知错误",type:"error"})};function Fy(e){const t={message:"",type:"success",duration:3e3};typeof e=="string"?t.message=e:Object.assign(t,e),B8(t)}function ri(e){Fy({message:e,type:"error"})}const Vk=e=>{const t=J(!1);let n=null;const r=J(!1);return{loading:t,hasLoaded:r,loadingData:s=>async(...o)=>(n=(async()=>{t.value=!0;try{return typeof s=="function"?await s(...o):await s}finally{t.value=!1,r.value=!0,n=null}})(),n)}},dO=de({__name:"AppIcon",props:{icon:{}},setup(e){const t=e,n=Oy(),r=T(()=>n.state.dark?`ri-${t.icon}-fill`:`ri-${t.icon}-line`);return(s,o)=>(X(),ye("i",{class:Oe([r.value,"icon-font"])},null,2))}}),My=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pO={class:"tooltip"},hO={class:"label"},Ly=de({__name:"AppTooltip",props:{content:{},lines:{default:1},ellipsis:{default:"right"},iconClass:{}},setup(e){cE(i=>({v22da9023:A(n)}));const t=e,n=t.lines,r=()=>({"txt-ellipsis-right":t.ellipsis==="right","txt-ellipsis-left":t.ellipsis==="left","single-line":t.lines===1}),s=J(!1),o=i_("refContent"),a=new ResizeObserver(()=>{o.value&&(t.lines===1?s.value=o.value.scrollWidth>o.value.clientWidth:s.value=o.value.scrollHeight>o.value.clientHeight)});return it(()=>{o.value&&a.observe(o.value)}),ma(()=>{a.disconnect()}),(i,l)=>{const u=Ea;return X(),ye("div",pO,[fe("div",hO,[e.iconClass?(X(),xe(dO,{key:0,icon:e.iconClass},null,8,["icon"])):ze("",!0)]),e.content?(X(),xe(u,{key:0,effect:"light",content:e.content,placement:"top",disabled:!s.value,"show-after":800},{content:he(()=>[_e(i.$slots,"tooltipContent")]),default:he(()=>[fe("div",Vt({ref_key:"refContent",ref:o},i.$attrs,{class:["tooltip__content",r()]}),[fe("span",null,[_e(i.$slots,"default",{},()=>[Yn($t(e.content),1)])])],16)]),_:3},8,["content","disabled"])):ze("",!0)])}}}),$y="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv1{fill:transparent;}.st1.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv1{fill-rule:evenodd;clip-rule:evenodd;fill:%23C0C0C0;}%3c/style%3e%3crect%20class='st0%20lv1'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv1'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv1'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.2v0.7c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M15.8,18.9h2.6c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4h-0.6%20v-5.6c0-0.2-0.2-0.4-0.4-0.4h-1.4c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h0.4v4.6h-0.6c-0.2,0-0.4,0.2-0.4,0.4v0.6%20C15.3,18.7,15.5,18.9,15.8,18.9z%20M12.7,16.3v0.1c0,0.1-0.1,0.2-0.2,0.2c0,0,0,0-0.1,0.1l-2,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4V16.3L12.7,16.3z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Wy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv2{fill:transparent;}.st1.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv2{fill-rule:evenodd;clip-rule:evenodd;fill:%238BD29B;}%3c/style%3e%3crect%20class='st0%20lv2'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv2'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv2'%20d='M14,10h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6C1.3,20,1,19.8,1,19.4v-7.8%20C1,11.3,1.2,11,1.6,11h11.8v-0.4C13.4,10.3,13.6,10,14,10z%20M19.4,15.8c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H16v-1.7H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Dy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv3{fill:transparent;}.st1.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv3{fill-rule:evenodd;clip-rule:evenodd;fill:%237BCDEF;}%3c/style%3e%3crect%20class='st0%20lv3'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv3'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv3'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15%20c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1,0-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Vy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv4{fill:transparent;}.st1.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv4{fill-rule:evenodd;clip-rule:evenodd;fill:%23FEBB8B;}%3c/style%3e%3crect%20class='st0%20lv4'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv4'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv4'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,18.9c0.2,0,0.4-0.2,0.4-0.4v-6.9c0-0.2-0.2-0.4-0.4-0.4h-0.6%20c-0.2,0-0.4,0.2-0.4,0.4v2.7H16v-2.7c0-0.2-0.2-0.4-0.4-0.4H15c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v2.7%20c0,0.2,0.2,0.4,0.4,0.4H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1s-0.4,0-0.5-0.1l-2-2%20c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2v-3.3%20c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4H3.7%20v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Gy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv5{fill:transparent;}.st1.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv5{fill-rule:evenodd;clip-rule:evenodd;fill:%23EE672A;}%3c/style%3e%3crect%20class='st0%20lv5'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv5'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv5'%20d='M13.4,10.6c0-0.3,0.2-0.6,0.6-0.6h6.5c0.3,0,0.6,0.3,0.5,0.6v8.8c0,0.3-0.2,0.6-0.6,0.6H1.6%20C1.3,20,1,19.8,1,19.4v-7.8C1,11.3,1.2,11,1.6,11h11.8V10.6z%20M19.4,12.7c0.2,0,0.4-0.2,0.4-0.4v-0.7c0-0.2-0.2-0.4-0.4-0.4H15%20c-0.2,0-0.4,0.2-0.4,0.4v3.7c0,0.2,0.2,0.4,0.4,0.4h3.4v1.7H15c-0.2,0-0.4,0.2-0.4,0.4v0.6c0,0.2,0.2,0.4,0.4,0.4h4.4%20c0.2,0,0.4-0.2,0.4-0.4v-3.7c0-0.2-0.2-0.4-0.4-0.4H16v-1.6H19.4z%20M12.7,16.4c0,0.1,0,0.3-0.1,0.4l-2.1,2c-0.1,0.1-0.5,0.1-0.5,0.1%20s-0.4,0-0.5-0.1l-2-2c-0.1-0.1-0.1-0.3-0.1-0.4v-0.1v-3.5c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4l1.2,1.2l1.2-1.2%20v-3.3c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v3.4V16.4z%20M2.6,18.9h3.4c0.2,0,0.4-0.2,0.4-0.4v-0.6c0-0.2-0.2-0.4-0.4-0.4%20H3.7v-4.7c0-0.2-0.2-0.4-0.4-0.4H2.6c-0.2,0-0.4,0.2-0.4,0.4v5.8C2.2,18.7,2.4,18.9,2.6,18.9z'/%3e%3c/svg%3e",Yy="data:image/svg+xml,%3csvg%20version='1.1'%20id='图层_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2030%2030'%20style='enable-background:new%200%200%2030%2030;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e.st0.lv6{fill:transparent;}.st1.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23FFFFFF;}.st2.lv6{fill-rule:evenodd;clip-rule:evenodd;fill:%23F04C49;}%3c/style%3e%3crect%20class='st0%20lv6'%20width='30'%20height='30'/%3e%3cpath%20class='st1%20lv6'%20d='M19.9,11.1h-5.6v1.1H2.1v6.7h17.8v-6.7h0V11.1z'/%3e%3cpath%20class='st2%20lv6'%20d='M14,10c-0.4,0-0.6,0.3-0.6,0.6V11H1.6C1.2,11,1,11.3,1,11.6v7.8C1,19.8,1.3,20,1.6,20h18.8%20c0.4,0,0.6-0.3,0.6-0.6v-8.8c0.1-0.3-0.2-0.6-0.5-0.6H14z%20M19.8,12.3c0,0.2-0.2,0.4-0.4,0.4H16v1.6h3.4c0.2,0,0.4,0.2,0.4,0.4v3.7%20c0,0.2-0.2,0.4-0.4,0.4H15c-0.2,0-0.4-0.2-0.4-0.4v-6.8c0-0.2,0.2-0.4,0.4-0.4h4.4c0.2,0,0.4,0.2,0.4,0.4V12.3z%20M12.6,16.7%20c0.1-0.1,0.1-0.2,0.1-0.4v-0.1v-3.4c0-0.2-0.2-0.4-0.4-0.4h-0.6c-0.2,0-0.4,0.2-0.4,0.4v3.3L10,17.3l-1.2-1.2v-3.4%20c0-0.2-0.2-0.4-0.4-0.4H7.8c-0.2,0-0.4,0.2-0.4,0.4v3.5v0.1c0,0.2,0,0.4,0.1,0.4l2,2c0.1,0.1,0.5,0.1,0.5,0.1s0.4,0,0.5-0.1%20L12.6,16.7z%20M6.1,18.9H2.6c-0.2,0-0.4-0.2-0.4-0.4v-5.8c0-0.2,0.2-0.4,0.4-0.4h0.6c0.2,0,0.4,0.2,0.4,0.4v4.7h2.4%20c0.2,0,0.4,0.2,0.4,0.4v0.6C6.5,18.7,6.3,18.9,6.1,18.9z%20M18.4,17.4H16v-1.7h2.4V17.4z'/%3e%3c/svg%3e",uc="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAC0ALQDAREAAhEBAxEB/8QAHAABAAMAAwEBAAAAAAAAAAAAAAUGBwECBAMJ/8QASBAAAQMCAgQHDQUHAgcAAAAAAQACAwQFBhEHEiExEyJBUWGR0RQVFjZVcXSBk5ShsdIyQlJUwVZicnOCkrMjQyQmM0VThLL/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAQIDBP/EAB8RAQEAAgMAAwEBAAAAAAAAAAABAhESITEiMlFBQv/aAAwDAQACEQMRAD8A/RVetyEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQdBPAZTAJmGRozLA4awHmRHdFEBAQEHSKeGcF0EzJADkSxwOR5tiI7oogICAgICAgICAgICAgICDFrxT3rDd+fNNLIypEhljnB/6gJ39PSPUteuF3K0nCWLKbEdNwcmrFWxD/Uj5HfvN6Pks2OuOW1gRoQN20oM5xvjgzGSz2ab/T2tnnaftc7Wnm5zyqyOWWW+o76MLXco5pro8ujo5I+Da0/7rs946Bt29KUwl9aGo6iAgICAgICAgICAgIOHvZGwySPDWtGZcTkAEEPNjPDFO8xyXiEkHI6oLh1gFNM8o+fhzhXyuz2b+xDlEdfb5gfEFE6jrLowEbY5BG/WjdzjZ8E7S3Gs0jqJrXX8Pb6vjwSHg5mZgOyO/I8h5itOXjTLLpEs1XRNddqgUlS3ivbquLXdIyB2dCmnWZz+pDw5wr5XZ7N/YovKKnjPHja2N1ssczuAcMpZwCC8fhGe0DnVkYyy31Fdw1S2Oet4W/1zYKeLI6mq4mU82wbBzq1ma320yPGuEYY2xRXSNjGANa0RPAA5tyy68o7eHOFfK7PZv7EOUe633+y3V2pQXKGZ+WeoHZO6jtTSyyveiiAgICAgICAgIOHOaxpe9wa1ozJO4BBmdxuF2x9eHWq1yGKgiOZJ2N1R993PnyBXxytud1Es7R3he307X3S6TNPLI6VkbT5gR+qbXhJ6+Hgpo8Gzv+PfI+xN1OOP648FdHf7QN98j7E3Tjj+ngro7/aBvvkfYm6ccf08FtHf7QD3yPsTdXjj+uwwlo+O0X4e+R9ibqccf08EtH3l4e+R9ibpxx/TwS0fD/vw98j7E3Tjj+ngno98vj3yPsTdOOP65ZhHR/I4MZfQ5x3AVke34JunHH9dLvo2ZDB3bh2tlMsY12se4Eu/hcMsim1uH4kcC4rmuzH2q6O/42nGxx2GRo2HPpHKli45b6q3KNiAgICAgICAgr2Pa59BhmpMZIdOWwAjkDt/wBSM53URei2BjLPV1OqNaSo1S7lya0bPiVazh4k7Jbaa8R+EF2gZUz1JcYWyDWbDFmQ1rQdm7aTzlRZN91L957R5Ko/YN7Ea1DvPaPJVH7BvYhqHee0eSqP2DexDUO89o8lUfsG9iGod57R5Ko/YN7ENQ7z2jyVR+wb2Iah3ntHkqj9g3sQ1DvPaPJVH7BvYhqOr7JZpGlj7TRlrhkRwDexDUR1oidZr3NYonuNFJB3VTNcSeC42q5gPNmQR50SdXSk3SY2bSKZ4QGN7pjJA3ZPA1uvMq/xzvWTVFHYQEBAQEBAQEFT0m+LbfSWfJyRjPxxo0blhl5/FUSH4NVph4mcLZeD1Bl/4QpVx8SiNCAgICAgICAgipMvCmD0CT/IxGf8ATPccDLGpPOYD8AtRzy+zV1l2EBAQEBAQEBBU9Jvi230lnyckYz8ddGhPgzJnyVEn/wAtVqYeJnChzw5bzzwhStY+JVGnlr7rbbXHwlwrYYAd2u7InzDeUS2T1W6nSbh+GZscMdTOzPjPawAAdGZBKumecWuCeKphZUQPD45Gh7XDcQdyjXruiq/ijGFLhl8EL6d1RLNm4sa/V1W8+7n+SSbZyy4vhbdImHa4hk0slG88kzeL/cMx15JpJnKskE8FTGJqeZksbtzmODgfWEa9d0VESnLFdMOegl/yMRn/AEz7G5Jxs8czoAP7Wqzxzy+zWFHYQEBAQEBAQEFT0m+LbfSWfJyRjPxxo2GWGHnnnkPwCtMPEvhPxbt/8hqlXHxUMYY6u1NcZ7TbMqZkB1HSaub3Hoz3BWRjLK70pQbcLrVEgT1dRIdu97z+qrHdW2xaNK+r1Z7zL3LEdvBNyMh8/I34qbbmFvrSKOkgoaWKjpmlsULAxgJzyAUdJ0+qKgcT4QocStZJJK6CpiaWslaM8xzEcoSXTOWPJnl4wLf7SS8U3dUI/wByDjZedu8LW3O42I213q62OfhKCqkhOfGYdrXedp2IzLY1rCV8qMQWgV9VTCGQSGM6ueq/IDjDPk25epZrtjdx2m8bKX0Cb/IxD+s/xwAMakjlMB+AWo55fZq6y7CAgICAgICAgqek3xbb6Sz5OSMZ+ONHGzCzv50nyCtMPEvhPxbt38hqlXHxzcMLWG6Vnd9fQNlm1Q0kucAQN2YB2psuMvb30lDR0MfBUVLFAz8MbA0fBF1p9kV84KmnqWudTzslDHFjixwOThvBy5UQhqqapLxT1EcvBO1H6jgdV3MctxQ24gqqapMgp52SGJ5jk1XZ6rhvB6UH1RXir7JaLnn3fboJifvOZxusbUSyV6KWlpqKBlLSQMhiYMmsYMgEPEZN420voE3+RiJ/VBxz46ex+QWo55fZqyy7CAgICAgICAgqek3xbb6Sz5OSMZ+OdHLf+Vh+9NJ+itMPEthQauHLe3mhAUq4+JVGhAQVmfDN2oKueowvc4qSOrOtNBMzWYH/AIm78j0JtjjZ48lPgu82hp7xX/gnVEYbVGVmes/bxm8289qu042eVP2Cw01gozTQSPlfI4ySyvPGkeeVRqTSSRoQEERK3PFdM7P7NBL8ZGIz/VCx2MsZtPOIStRzy+zVFl2EBAQEBAQEBBVNJjScN5jkqGE9RVjGfjro0l4TDb4xvjqHt6wD+qUw8TGFXB2HqHnbHqnoIJBHWpVx8SqNCAgICAgICAgiHvDsWxRt2llveXdGcjcvkUZ/0oGNHGoxwImbS18EY8+Q7VqeOeX2assuwgICAgICAgIPBfrYLxaKq3HIOlZxCeRw2t+ICJZuaUXR7e4rPV1NhuZEBlkzYX7MpBsLT58h1K1zwuuquRttyt88stllpzDO4yPpp8w1rzvLHN3Z7yMiM1G9WeBmxXnsobXl6Q/6EPkcNiv8hbPeX/QnR8jhsWeT7X7y/wChOj5HDYs/IWv3l/0J0fJ2EuKeWitg/wDYf9CHZwuKPyds9u/6UOzhcU/krZ7w/wClDtxwuKvyVs94k+hDtwJcWO2dxWtmf3uHkdl6tUZofJxBFT4fpqq73mubJPLk6ect1RkPssYOYcg3klDzuqRhqCbFWMpb3JDq08MnDuzGwZbGN8+wdRV8Yx+V209R1EBAQEBAQEBAQVbFmBqe/PNdRSNp6zLJxI4knn5j0qysZY78VUWTSNbwKWnkrODZ9ngqkFvq2p0xrKORQ6TCcg+4+uoH1J0ayfCvGkG2U7quuq66KFmWbzUgjbu3FXovKPLbbljS7yPittxrp3xjWc1s+0Dn2lOknK+PZURaRqWCSpqJ7iyKJpe9xn2ADed6nS/KPFbrrjK7Tmmt1zrp5WtLy1s5zy59p6Qr0ktvj3S0+kiCJ8001xYyNpc5xqNgA3nep0uskbR33FdfUspKS71sk0hyY3hyMzzbSqm7UsaDSaNvCXH3kfUp0usnHcOkz8dy94H1J0ayfSDBmL79Mw3yrkiib96eXXcB0NB39Sbi8bfWhWez0VjomUNDHqsbtc4/ae7lJKjpJp7UUQEBAQEBAQEBAQEBBnOlC7l89PZYn8WMcNKB+I/ZHVmfWrHLO/xWcK3c2S+U9Y52URdwcv8AAdh6t/qVrON1WiaRLgKXDb4mP41W9sQy5R9o/AfFZjpnelDwLWdx4noyTk2YmE/1DIfHJarnjdVddJN67htLbZE/KWtOTst4jG/rOQ61I6Z3U0y6KWSCVk0Ty18bg5rhvBG4quTcMP3aO92inuLMg6RuUgH3XjY4day7y7m0giiAgICAgICAgICAgICAg6yyxwRPmlcGsjaXOJ5ABmSiMKu9wkutzqbjJnnPIXAczeQeoZBacLd3byIJi8Ygmu9rttDMSXUTHMcT97cGn+0BFt3EZSVDqSqhqmfahkbIPODmiJDFF6dfbzPXAnggeDhB5GDd17T60i27u0UiLxowvPAVs1mlfxKgcJFnyPA2j1j5KVvC96aUo6iAgICAgICAgICAgICAgrGkO6d78PSQMdlJWOEI/h3u+Ay9aRjO6jJFpyEBAQEBB6LdWy26vp6+E8eCRrx05HchLpu1NURVdPFVQu1o5mB7TzgjMLLv6+iKICAgICAgICAgICAgIMs0m3Luq9x0DHZso4wCP33bT8NVWOOd3VQVZEBAQEBAQato2ubq2xGjkOb6J+oP4DtH6j1KV1wvS2KNiAgICAgICAgICAgIOskjIo3SyHJrAXOPMAiMIuda+43Gprnk5zyuf5gTsHUtOF7eZAQEBAQEBBa9G9y7jv8A3I92UdYws/qG0fqPWpWsLqtXUdhAQEBAQEBAQEBAQEEViuV8GG7jJGcncA4Z+fZ+qRnLxiS04iAgICAgICD22SV8N4oZYzk5tRGQf6glJ63VZegQEBAQEBB//9k=",mO={class:"user-card"},gO={class:"user-card__face-wrapper"},bO=["src"],vO={key:0,class:"user-card--blocked"},yO={class:"user-card__info"},wO={class:"user-card__row"},_O=["src"],EO={class:"user-card__row"},AO={class:"user-card__uid"},SO={class:"user-card__row"},xO={class:"user-card__stat__item"},NO={class:"user-card__stat__value"},IO={class:"user-card__stat__item"},CO={class:"user-card__stat__value"},TO={class:"user-card__stat__item"},RO={class:"user-card__stat__value"},PO=de({__name:"BiliUserCard",props:{user:{}},setup(e){const t=e,n=T(()=>t.user.face||uc),r=T(()=>new URL(Object.assign({"../../assets/images/user_level/level_1.svg":$y,"../../assets/images/user_level/level_2.svg":Wy,"../../assets/images/user_level/level_3.svg":Dy,"../../assets/images/user_level/level_4.svg":Vy,"../../assets/images/user_level/level_5.svg":Gy,"../../assets/images/user_level/level_6.svg":Yy})[`../../assets/images/user_level/level_${t.user.level}.svg`],import.meta.url).href);return(s,o)=>{const a=Ly;return X(),ye("div",mO,[_e(s.$slots,"default"),fe("div",gO,[fe("img",{class:"user-card__face",alt:"face",src:n.value},null,8,bO),e.user.silence===1?(X(),ye("span",vO,"账号已封禁")):ze("",!0)]),fe("div",yO,[fe("div",wO,[Ae(a,{class:"user-card__name",content:e.user.name},null,8,["content"]),fe("img",{class:"user-card__level",src:r.value,alt:"level"},null,8,_O)]),fe("div",EO,[o[0]||(o[0]=fe("span",{class:"user-card__uid-icon"},null,-1)),fe("span",AO,$t(e.user.mid),1)]),fe("div",SO,[fe("span",xO,[fe("span",NO,$t(e.user.following),1),o[1]||(o[1]=fe("span",{class:"user-card__stat__label"},"关注",-1))]),fe("span",IO,[fe("span",CO,$t(e.user.follower),1),o[2]||(o[2]=fe("span",{class:"user-card__stat__label"},"粉丝",-1))]),fe("span",TO,[fe("span",RO,$t(e.user.coins),1),o[3]||(o[3]=fe("span",{class:"user-card__stat__label"},"硬币",-1))])])])])}}}),Uy=de({__name:"PluginMenuItem",props:{menu:{}},setup(e){return(t,n)=>{const r=Kb,s=h8;return!e.menu.children||e.menu.children.length===0?(X(),xe(r,{key:0,index:e.menu.path},{title:he(()=>[Yn($t(e.menu.title),1)]),_:1},8,["index"])):(X(),xe(s,{key:1,index:e.menu.path},{title:he(()=>[Yn($t(e.menu.title),1)]),default:he(()=>[(X(!0),ye(Xe,null,hg(e.menu.children,o=>(X(),xe(Uy,{key:o.path,menu:o},null,8,["menu"]))),128))]),_:1},8,["index"]))}}}),BO=de({__name:"PluginMenus",props:{menus:{},activeIndex:{}},emits:["handleSelect"],setup(e,{emit:t}){const n=e,r=(c,f=new Map)=>(c.forEach(d=>{f.set(d.path,d),d.children&&d.children.length>0&&r(d.children,f)}),f),s=T(()=>r(n.menus)),o=t,a=c=>{const f=s.value.get(c);f&&o("handleSelect",f)},i=bg(),l=T(()=>!!i["left-item"]||!!i.left),u=T(()=>!!i["right-item"]||!!i.right);return(c,f)=>{const d=Kb,p=p8;return X(),xe(p,{"default-active":e.activeIndex,class:"plugin-menus",mode:"horizontal",ellipsis:!1,onSelect:a},{default:he(()=>[l.value?_e(c.$slots,"left-item",{key:0},()=>[Ae(d,{index:"-left",style:{"margin-right":"auto"}},{default:he(()=>[_e(c.$slots,"left",{},void 0,!0)]),_:3})],!0):ze("",!0),(X(!0),ye(Xe,null,hg(e.menus,h=>(X(),xe(Uy,{key:h.path,menu:h,index:String(h.path)},null,8,["menu","index"]))),128)),u.value?_e(c.$slots,"right-item",{key:1},()=>[Ae(d,{index:"-right",style:{"margin-left":"auto"}},{default:he(()=>[_e(c.$slots,"right",{},void 0,!0)]),_:3})],!0):ze("",!0)]),_:3},8,["default-active"])}}}),OO=My(BO,[["__scopeId","data-v-6dfc7821"]]),kO={class:"plugin-page-header"},FO={class:"plugin-page-header__user-container"},MO={class:"plugin-page-header__user-container__info"},LO=["src"],$O=["src"],WO={key:1,class:"plugin-page-header__user-container__info"},DO=de({__name:"PluginPageHeader",props:{menus:{},activeIndex:{}},emits:["handleMenuSelect"],setup(e,{emit:t}){const n=ky(),{user:r}=LE(n),s=T(()=>r.value?.face||uc),o=T(()=>new URL(Object.assign({"../../assets/images/user_level/level_1.svg":$y,"../../assets/images/user_level/level_2.svg":Wy,"../../assets/images/user_level/level_3.svg":Dy,"../../assets/images/user_level/level_4.svg":Vy,"../../assets/images/user_level/level_5.svg":Gy,"../../assets/images/user_level/level_6.svg":Yy})[`../../assets/images/user_level/level_${r.value?.level??0}.svg`],import.meta.url).href),a=async()=>{n.setUser(await Gr.user.switchUser(!0))},i=()=>{n.deleteUser()},l=t,u=c=>{c&&l("handleMenuSelect",c)};return it(async()=>{if(r.value)try{const c=await Gr.user.getMyInfoByCookie(r.value.userCookie);n.setUser(c)}catch{ri("当前用户 cookie 已失效"),n.deleteUser()}}),(c,f)=>{const d=OO,p=Ly,h=PO,m=V8,g=zR,y=JR,v=XR;return X(),ye("div",kO,[Ae(d,{class:"plugin-page-header__menus","active-index":e.activeIndex,menus:e.menus,onHandleSelect:u},null,8,["active-index","menus"]),fe("div",FO,[A(r)?(X(),xe(m,{key:0,placement:"bottom-end",width:"auto",trigger:"hover"},{reference:he(()=>[fe("div",MO,[fe("img",{class:"plugin-page-header__user-container__info__face",src:s.value,alt:"face"},null,8,LO),Ae(p,{class:"plugin-page-header__user-container__info__name",content:A(r).name},null,8,["content"]),fe("img",{class:"plugin-page-header__user-container__info__level",src:o.value,alt:"level img"},null,8,$O)])]),default:he(()=>[Ae(h,{user:A(r)},null,8,["user"])]),_:1})):(X(),ye("div",WO,[...f[0]||(f[0]=[fe("img",{class:"plugin-page-header__user-container__info__face",alt:"",src:uc},null,-1),fe("span",{class:"plugin-page-header__user-container__info__name"},"未登录",-1)])])),Ae(v,{placement:"bottom-end",trigger:"click",size:"default"},{dropdown:he(()=>[Ae(y,null,{default:he(()=>[Ae(g,{onClick:a},{default:he(()=>[...f[1]||(f[1]=[Yn("选择用户",-1)])]),_:1}),A(r)?(X(),xe(g,{key:0,onClick:i},{default:he(()=>[...f[2]||(f[2]=[Yn("取消选择",-1)])]),_:1})):ze("",!0)]),_:1})]),default:he(()=>[f[3]||(f[3]=fe("span",{class:"plugin-page-header__user-container__arrow"},"▼",-1))]),_:1})])])}}}),VO={},GO={class:"plugin-page-container"};function YO(e,t){return X(),ye("div",GO,[_e(e.$slots,"default",{},void 0,!0)])}const Gk=My(VO,[["render",YO],["__scopeId","data-v-ddcb3392"]]);const Bs=typeof document<"u";function jy(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function UO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&jy(e.default)}const Le=Object.assign;function Hl(e,t){const n={};for(const r in t){const s=t[r];n[r]=Nn(s)?s.map(e):e(s)}return n}const Ko=()=>{},Nn=Array.isArray;function Jh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Zy=/#/g,jO=/&/g,ZO=/\//g,KO=/=/g,HO=/\?/g,Ky=/\+/g,XO=/%5B/g,zO=/%5D/g,Hy=/%5E/g,JO=/%60/g,Xy=/%7B/g,QO=/%7C/g,zy=/%7D/g,qO=/%20/g;function Cf(e){return e==null?"":encodeURI(""+e).replace(QO,"|").replace(XO,"[").replace(zO,"]")}function e9(e){return Cf(e).replace(Xy,"{").replace(zy,"}").replace(Hy,"^")}function cc(e){return Cf(e).replace(Ky,"%2B").replace(qO,"+").replace(Zy,"%23").replace(jO,"%26").replace(JO,"`").replace(Xy,"{").replace(zy,"}").replace(Hy,"^")}function t9(e){return cc(e).replace(KO,"%3D")}function n9(e){return Cf(e).replace(Zy,"%23").replace(HO,"%3F")}function r9(e){return n9(e).replace(ZO,"%2F")}function pa(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const s9=/\/$/,o9=e=>e.replace(s9,"");function Xl(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return l=i>=0&&l>i?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,i>0?i:t.length),s=e(o.slice(1))),i>=0&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=u9(r??t,n),{fullPath:r+o+a,path:r,query:s,hash:pa(a)}}function a9(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qh(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function i9(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Qs(t.matched[r],n.matched[s])&&Jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!l9(e[n],t[n]))return!1;return!0}function l9(e,t){return Nn(e)?qh(e,t):Nn(t)?qh(t,e):e?.valueOf()===t?.valueOf()}function qh(e,t){return Nn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function u9(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const Er={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let fc=(function(e){return e.pop="pop",e.push="push",e})({}),zl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function c9(e){if(!e)if(Bs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),o9(e)}const f9=/^[^#]+#/;function d9(e,t){return e.replace(f9,"#")+t}function p9(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const il=()=>({left:window.scrollX,top:window.scrollY});function h9(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=p9(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function em(e,t){return(history.state?history.state.position-t:-1)+e}const dc=new Map;function m9(e,t){dc.set(e,t)}function g9(e){const t=dc.get(e);return dc.delete(e),t}function b9(e){return typeof e=="string"||e&&typeof e=="object"}function Qy(e){return typeof e=="string"||typeof e=="symbol"}let tt=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const qy=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function qs(e,t){return Le(new Error,{type:e,[qy]:!0},t)}function qn(e,t){return e instanceof Error&&qy in e&&(t==null||!!(e.type&t))}const v9=["params","query","hash"];function y9(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of v9)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function w9(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Ky," "),o=s.indexOf("="),a=pa(o<0?s:s.slice(0,o)),i=o<0?null:pa(s.slice(o+1));if(a in t){let l=t[a];Nn(l)||(l=t[a]=[l]),l.push(i)}else t[a]=i}return t}function tm(e){let t="";for(let n in e){const r=e[n];if(n=t9(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Nn(r)?r.map(s=>s&&cc(s)):[r&&cc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function _9(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Nn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const E9=Symbol(""),nm=Symbol(""),ll=Symbol(""),Tf=Symbol(""),pc=Symbol("");function _o(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Or(e,t,n,r,s,o=a=>a()){const a=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const u=d=>{d===!1?l(qs(tt.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?l(d):b9(d)?l(qs(tt.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(a&&r.enterCallbacks[s]===a&&typeof d=="function"&&a.push(d),i())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function Jl(e,t,n,r,s=o=>o()){const o=[];for(const a of e)for(const i in a.components){let l=a.components[i];if(!(t!=="beforeRouteEnter"&&!a.instances[i]))if(jy(l)){const u=(l.__vccOpts||l)[t];u&&o.push(Or(u,n,r,a,i,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);const f=UO(c)?c.default:c;a.mods[i]=c,a.components[i]=f;const d=(f.__vccOpts||f)[t];return d&&Or(d,n,r,a,i,s)()}))}}return o}function A9(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const i=t.matched[a];i&&(e.matched.find(u=>Qs(u,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(u=>Qs(u,l))||s.push(l))}return[n,r,s]}let S9=()=>location.protocol+"//"+location.host;function ew(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,i=s.slice(a);return i[0]!=="/"&&(i="/"+i),Qh(i,"")}return Qh(n,e)+r+s}function x9(e,t,n,r){let s=[],o=[],a=null;const i=({state:d})=>{const p=ew(e,location),h=n.value,m=t.value;let g=0;if(d){if(n.value=p,t.value=d,a&&a===h){a=null;return}g=m?d.position-m.position:0}else r(p);s.forEach(y=>{y(n.value,h,{delta:g,type:fc.pop,direction:g?g>0?zl.forward:zl.back:zl.unknown})})};function l(){a=n.value}function u(d){s.push(d);const p=()=>{const h=s.indexOf(d);h>-1&&s.splice(h,1)};return o.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Le({},d.state,{scroll:il()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function rm(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?il():null}}function N9(e){const{history:t,location:n}=window,r={value:ew(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:S9()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),s.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function a(l,u){o(l,Le({},t.state,rm(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function i(l,u){const c=Le({},s.value,t.state,{forward:l,scroll:il()});o(c.current,c,!0),o(l,Le({},rm(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function I9(e){e=c9(e);const t=N9(e),n=x9(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=Le({location:"",base:e,go:r,createHref:d9.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function C9(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),I9(e)}let ss=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var dt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(dt||{});const T9={type:ss.Static,value:""},R9=/[a-zA-Z0-9_]/;function P9(e){if(!e)return[[]];if(e==="/")return[[T9]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=dt.Static,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,u="",c="";function f(){u&&(n===dt.Static?o.push({type:ss.Static,value:u}):n===dt.Param||n===dt.ParamRegExp||n===dt.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:ss.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==dt.ParamRegExp){r=n,n=dt.EscapeNext;continue}switch(n){case dt.Static:l==="/"?(u&&f(),a()):l===":"?(f(),n=dt.Param):d();break;case dt.EscapeNext:d(),n=r;break;case dt.Param:l==="("?n=dt.ParamRegExp:R9.test(l)?d():(f(),n=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case dt.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=dt.ParamRegExpEnd:c+=l;break;case dt.ParamRegExpEnd:f(),n=dt.Static,l!=="*"&&l!=="?"&&l!=="+"&&i--,c="";break;default:t("Unknown state");break}}return n===dt.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),a(),s}const sm="[^/]+?",B9={sensitive:!1,strict:!1,start:!0,end:!0};var kt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(kt||{});const O9=/[.+*?^${}()[\]/\\]/g;function k9(e,t){const n=Le({},B9,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[kt.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=kt.Segment+(n.sensitive?kt.BonusCaseSensitive:0);if(d.type===ss.Static)f||(s+="/"),s+=d.value.replace(O9,"\\$&"),p+=kt.Static;else if(d.type===ss.Param){const{value:h,repeatable:m,optional:g,regexp:y}=d;o.push({name:h,repeatable:m,optional:g});const v=y||sm;if(v!==sm){p+=kt.BonusCustomRegExp;try{`${v}`}catch(_){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+_.message)}}let E=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(E=g&&u.length<2?`(?:/${E})`:"/"+E),g&&(E+="?"),s+=E,p+=kt.Dynamic,g&&(p+=kt.BonusOptional),m&&(p+=kt.BonusRepeatable),v===".*"&&(p+=kt.BonusWildcard)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=kt.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function i(u){const c=u.match(a),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=o[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===ss.Static)c+=p.value;else if(p.type===ss.Param){const{value:h,repeatable:m,optional:g}=p,y=h in u?u[h]:"";if(Nn(y)&&!m)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=Nn(y)?y.join("/"):y;if(!v)if(g)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=v}}return c||"/"}return{re:a,score:r,keys:o,parse:i,stringify:l}}function F9(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===kt.Static+kt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===kt.Static+kt.Segment?1:-1:0}function tw(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=F9(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(om(r))return 1;if(om(s))return-1}return s.length-r.length}function om(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const M9={strict:!1,end:!0,sensitive:!1};function L9(e,t,n){const r=k9(P9(e.path),n),s=Le(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function $9(e,t){const n=[],r=new Map;t=Jh(M9,t);function s(f){return r.get(f)}function o(f,d,p){const h=!p,m=im(f);m.aliasOf=p&&p.record;const g=Jh(t,f),y=[m];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const P of _)y.push(im(Le({},m,{components:p?p.record.components:m.components,path:P,aliasOf:p?p.record:m})))}let v,E;for(const _ of y){const{path:P}=_;if(d&&P[0]!=="/"){const G=d.record.path,B=G[G.length-1]==="/"?"":"/";_.path=d.record.path+(P&&B+P)}if(v=L9(_,d,g),p?p.alias.push(v):(E=E||v,E!==v&&E.alias.push(v),h&&f.name&&!lm(v)&&a(f.name)),nw(v)&&l(v),m.children){const G=m.children;for(let B=0;B<G.length;B++)o(G[B],v,p&&p.children[B])}p=p||v}return E?()=>{a(E)}:Ko}function a(f){if(Qy(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function i(){return n}function l(f){const d=V9(f,n);n.splice(d,0,f),f.record.name&&!lm(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},m,g;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw qs(tt.MATCHER_NOT_FOUND,{location:f});g=p.record.name,h=Le(am(d.params,p.keys.filter(E=>!E.optional).concat(p.parent?p.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),f.params&&am(f.params,p.keys.map(E=>E.name))),m=p.stringify(h)}else if(f.path!=null)m=f.path,p=n.find(E=>E.re.test(m)),p&&(h=p.parse(m),g=p.record.name);else{if(p=d.name?r.get(d.name):n.find(E=>E.re.test(d.path)),!p)throw qs(tt.MATCHER_NOT_FOUND,{location:f,currentLocation:d});g=p.record.name,h=Le({},d.params,f.params),m=p.stringify(h)}const y=[];let v=p;for(;v;)y.unshift(v.record),v=v.parent;return{name:g,path:m,params:h,matched:y,meta:D9(y)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:a,clearRoutes:c,getRoutes:i,getRecordMatcher:s}}function am(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function im(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:W9(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function W9(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function lm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function D9(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function V9(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;tw(e,t[o])<0?r=o:n=o+1}const s=G9(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function G9(e){let t=e;for(;t=t.parent;)if(nw(t)&&tw(e,t)===0)return t}function nw({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function um(e){const t=be(ll),n=be(Tf),r=T(()=>{const l=A(e.to);return t.resolve(l)}),s=T(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(Qs.bind(null,c));if(d>-1)return d;const p=cm(l[u-2]);return u>1&&cm(c)===p&&f[f.length-1].path!==p?f.findIndex(Qs.bind(null,l[u-2])):d}),o=T(()=>s.value>-1&&K9(n.params,r.value.params)),a=T(()=>s.value>-1&&s.value===n.matched.length-1&&Jy(n.params,r.value.params));function i(l={}){if(Z9(l)){const u=t[A(e.replace)?"replace":"push"](A(e.to)).catch(Ko);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}function Y9(e){return e.length===1?e[0]:e}const U9=de({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:um,setup(e,{slots:t}){const n=In(um(e)),{options:r}=be(ll),s=T(()=>({[fm(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fm(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Y9(t.default(n));return e.custom?o:ut("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),j9=U9;function Z9(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function K9(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Nn(s)||s.length!==r.length||r.some((o,a)=>o.valueOf()!==s[a].valueOf()))return!1}return!0}function cm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fm=(e,t,n)=>e??t??n,H9=de({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=be(pc),s=T(()=>e.route||r.value),o=be(nm,0),a=T(()=>{let u=A(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),i=T(()=>s.value.matched[a.value]);nt(nm,T(()=>a.value+1)),nt(E9,i),nt(pc,s);const l=J();return Ie(()=>[l.value,i.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!Qs(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=i.value,d=f&&f.components[c];if(!d)return dm(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,g=ut(d,Le({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return dm(n.default,{Component:g,route:u})||g}}});function dm(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rw=H9;function X9(e){const t=$9(e.routes,e),n=e.parseQuery||w9,r=e.stringifyQuery||tm,s=e.history,o=_o(),a=_o(),i=_o(),l=to(Er);let u=Er;Bs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Hl.bind(null,M=>""+M),f=Hl.bind(null,r9),d=Hl.bind(null,pa);function p(M,te){let q,ie;return Qy(M)?(q=t.getRecordMatcher(M),ie=te):ie=M,t.addRoute(ie,q)}function h(M){const te=t.getRecordMatcher(M);te&&t.removeRoute(te)}function m(){return t.getRoutes().map(M=>M.record)}function g(M){return!!t.getRecordMatcher(M)}function y(M,te){if(te=Le({},te||l.value),typeof M=="string"){const S=Xl(n,M,te.path),W=t.resolve({path:S.path},te),Y=s.createHref(S.fullPath);return Le(S,W,{params:d(W.params),hash:pa(S.hash),redirectedFrom:void 0,href:Y})}let q;if(M.path!=null)q=Le({},M,{path:Xl(n,M.path,te.path).path});else{const S=Le({},M.params);for(const W in S)S[W]==null&&delete S[W];q=Le({},M,{params:f(S)}),te.params=f(te.params)}const ie=t.resolve(q,te),Ee=M.hash||"";ie.params=c(d(ie.params));const b=a9(r,Le({},M,{hash:e9(Ee),path:ie.path})),w=s.createHref(b);return Le({fullPath:b,hash:Ee,query:r===tm?_9(M.query):M.query||{}},ie,{redirectedFrom:void 0,href:w})}function v(M){return typeof M=="string"?Xl(n,M,l.value.path):Le({},M)}function E(M,te){if(u!==M)return qs(tt.NAVIGATION_CANCELLED,{from:te,to:M})}function _(M){return B(M)}function P(M){return _(Le(v(M),{replace:!0}))}function G(M,te){const q=M.matched[M.matched.length-1];if(q&&q.redirect){const{redirect:ie}=q;let Ee=typeof ie=="function"?ie(M,te):ie;return typeof Ee=="string"&&(Ee=Ee.includes("?")||Ee.includes("#")?Ee=v(Ee):{path:Ee},Ee.params={}),Le({query:M.query,hash:M.hash,params:Ee.path!=null?{}:M.params},Ee)}}function B(M,te){const q=u=y(M),ie=l.value,Ee=M.state,b=M.force,w=M.replace===!0,S=G(q,ie);if(S)return B(Le(v(S),{state:typeof S=="object"?Le({},Ee,S.state):Ee,force:b,replace:w}),te||q);const W=q;W.redirectedFrom=te;let Y;return!b&&i9(r,ie,q)&&(Y=qs(tt.NAVIGATION_DUPLICATED,{to:W,from:ie}),le(ie,ie,!0,!1)),(Y?Promise.resolve(Y):F(W,ie)).catch($=>qn($)?qn($,tt.NAVIGATION_GUARD_REDIRECT)?$:ne($):C($,W,ie)).then($=>{if($){if(qn($,tt.NAVIGATION_GUARD_REDIRECT))return B(Le({replace:w},v($.to),{state:typeof $.to=="object"?Le({},Ee,$.to.state):Ee,force:b}),te||W)}else $=k(W,ie,!0,w,Ee);return D(W,ie,$),$})}function O(M,te){const q=E(M,te);return q?Promise.reject(q):Promise.resolve()}function R(M){const te=we.values().next().value;return te&&typeof te.runWithContext=="function"?te.runWithContext(M):M()}function F(M,te){let q;const[ie,Ee,b]=A9(M,te);q=Jl(ie.reverse(),"beforeRouteLeave",M,te);for(const S of ie)S.leaveGuards.forEach(W=>{q.push(Or(W,M,te))});const w=O.bind(null,M,te);return q.push(w),He(q).then(()=>{q=[];for(const S of o.list())q.push(Or(S,M,te));return q.push(w),He(q)}).then(()=>{q=Jl(Ee,"beforeRouteUpdate",M,te);for(const S of Ee)S.updateGuards.forEach(W=>{q.push(Or(W,M,te))});return q.push(w),He(q)}).then(()=>{q=[];for(const S of b)if(S.beforeEnter)if(Nn(S.beforeEnter))for(const W of S.beforeEnter)q.push(Or(W,M,te));else q.push(Or(S.beforeEnter,M,te));return q.push(w),He(q)}).then(()=>(M.matched.forEach(S=>S.enterCallbacks={}),q=Jl(b,"beforeRouteEnter",M,te,R),q.push(w),He(q))).then(()=>{q=[];for(const S of a.list())q.push(Or(S,M,te));return q.push(w),He(q)}).catch(S=>qn(S,tt.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function D(M,te,q){i.list().forEach(ie=>R(()=>ie(M,te,q)))}function k(M,te,q,ie,Ee){const b=E(M,te);if(b)return b;const w=te===Er,S=Bs?history.state:{};q&&(ie||w?s.replace(M.fullPath,Le({scroll:w&&S&&S.scroll},Ee)):s.push(M.fullPath,Ee)),l.value=M,le(M,te,q,w),ne()}let U;function Z(){U||(U=s.listen((M,te,q)=>{if(!Be.listening)return;const ie=y(M),Ee=G(ie,Be.currentRoute.value);if(Ee){B(Le(Ee,{replace:!0,force:!0}),ie).catch(Ko);return}u=ie;const b=l.value;Bs&&m9(em(b.fullPath,q.delta),il()),F(ie,b).catch(w=>qn(w,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?w:qn(w,tt.NAVIGATION_GUARD_REDIRECT)?(B(Le(v(w.to),{force:!0}),ie).then(S=>{qn(S,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!q.delta&&q.type===fc.pop&&s.go(-1,!1)}).catch(Ko),Promise.reject()):(q.delta&&s.go(-q.delta,!1),C(w,ie,b))).then(w=>{w=w||k(ie,b,!1),w&&(q.delta&&!qn(w,tt.NAVIGATION_CANCELLED)?s.go(-q.delta,!1):q.type===fc.pop&&qn(w,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),D(ie,b,w)}).catch(Ko)}))}let j=_o(),L=_o(),x;function C(M,te,q){ne(M);const ie=L.list();return ie.length?ie.forEach(Ee=>Ee(M,te,q)):console.error(M),Promise.reject(M)}function H(){return x&&l.value!==Er?Promise.resolve():new Promise((M,te)=>{j.add([M,te])})}function ne(M){return x||(x=!M,Z(),j.list().forEach(([te,q])=>M?q(M):te()),j.reset()),M}function le(M,te,q,ie){const{scrollBehavior:Ee}=e;if(!Bs||!Ee)return Promise.resolve();const b=!q&&g9(em(M.fullPath,0))||(ie||!q)&&history.state&&history.state.scroll||null;return fn().then(()=>Ee(M,te,b)).then(w=>w&&h9(w)).catch(w=>C(w,M,te))}const ae=M=>s.go(M);let Se;const we=new Set,Be={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:y,options:e,push:_,replace:P,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:L.add,isReady:H,install(M){M.component("RouterLink",j9),M.component("RouterView",rw),M.config.globalProperties.$router=Be,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>A(l)}),Bs&&!Se&&l.value===Er&&(Se=!0,_(s.location).catch(ie=>{}));const te={};for(const ie in Er)Object.defineProperty(te,ie,{get:()=>l.value[ie],enumerable:!0});M.provide(ll,Be),M.provide(Tf,Li(te)),M.provide(pc,l);const q=M.unmount;we.add(M),M.unmount=function(){we.delete(M),we.size<1&&(u=Er,U&&U(),U=null,l.value=Er,Se=!1,x=!1),q()}}};function He(M){return M.reduce((te,q)=>te.then(()=>R(q)),Promise.resolve())}return Be}function z9(){return be(ll)}function J9(e){return be(Tf)}const Q9="modulepreload",q9=function(e,t){return new URL(e,t).href},pm={},hm=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");s=u(n.map(c=>{if(c=q9(c,r),c in pm)return;pm[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(r)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===c&&(!f||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Q9,f||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a}return s.then(a=>{for(const i of a||[])i.status==="rejected"&&o(i.reason);return t().catch(o)})},hc=[{title:"弹幕查询",path:"/DanmakuSearch",name:"DanmakuSearch",component:()=>hm(()=>import("./DanmakuSearch-CBidiQNX.js"),__vite__mapDeps([0,1,2]),import.meta.url)},{title:"解密 mid",path:"/CrackUid",name:"CrackUid",component:()=>hm(()=>import("./CrackUid-Bj5pdBcK.js"),__vite__mapDeps([3,1,4]),import.meta.url)}],ek=X9({history:C9("./"),routes:[{path:"/",redirect:hc[0].path},...hc]}),tk={class:"plugin-page"},nk=de({__name:"App",setup(e){const t=J9(),n=z9(),r=J(hc),s=o=>{n.push(o.path)};return(o,a)=>(X(),ye("div",tk,[Ae(A(DO),{menus:r.value,"active-index":A(t).path,onHandleMenuSelect:s},null,8,["menus","active-index"]),Ae(A(rw),{class:"plugin-page-content"},{default:he(({Component:i,route:l})=>[(X(),xe(u_,null,[(X(),xe(as(i),{key:l.fullPath}))],1024))]),_:1})]))}}),rk=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},sk=rk(nk,[["__scopeId","data-v-db7efa19"]]);async function ok(){const e=CE(sk);e.config.globalProperties.$toolkitApi=window.toolkitApi;const t=PE();t.use(GE),e.use(t),e.use(ek);const n=await cO(t);e.use(n),e.config.errorHandler=lc,window.addEventListener("unhandledrejection",r=>{lc(r.reason)}),e.mount("#app")}ok().then(()=>{console.log("插件启动成功")}).catch(lc);export{lb as $,Ve as A,X as B,ye as C,fe as D,_e as E,Oe as F,A as G,ea as H,Ae as I,he as J,s6 as K,Vr as L,ze as M,Sn as N,xe as O,Xn as P,Ie as Q,zI as R,$r as S,so as T,hT as U,U5 as V,It as W,Hc as X,db as Y,cr as Z,n6 as _,bi as a,Li as a$,nf as a0,ce as a1,be as a2,oa as a3,Ce as a4,Je as a5,QN as a6,Re as a7,rl as a8,Vw as a9,lk as aA,Hn as aB,We as aC,_k as aD,Us as aE,ck as aF,Ne as aG,oR as aH,Ea as aI,NT as aJ,No as aK,Lt as aL,ak as aM,Xe as aN,hg as aO,Yn as aP,as as aQ,lo as aR,CE as aS,kT as aT,ut as aU,Nl as aV,Ta as aW,Ke as aX,bs as aY,lg as aZ,Ac as a_,vt as aa,fn as ab,In as ac,lC as ad,xu as ae,zn as af,no as ag,ji as ah,$t as ai,Vt as aj,Va as ak,nt as al,it as am,dk as an,En as ao,ue as ap,bg as aq,x6 as ar,Ek as as,mk as at,Nb as au,Rt as av,Mt as aw,Qm as ax,F0 as ay,ym as az,k0 as b,ln as b0,g_ as b1,Et as b2,LE as b3,ky as b4,ma as b5,Ob as b6,vk as b7,gk as b8,Ly as b9,Gk as ba,Vk as bb,gi as bc,rk as bd,wk as be,dn as bf,wi as bg,Wr as bh,Cb as bi,pk as bj,ik as bk,yk as bl,bk as bm,qB as bn,uN as c,T0 as d,$S as e,jn as f,VN as g,XI as h,Wc as i,T as j,aN as k,Oi as l,ft as m,gC as n,hk as o,uk as p,me as q,J as r,to as s,jc as t,aa as u,Ge as v,NS as w,de as x,xb as y,V0 as z};