work/mvp/browser-extension/app/assets/index-C2he2kA3.js
2025-12-17 22:30:44 +08:00

35 lines
1.4 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./HomeView-C5S1gwfg.js","./HomeView-YpK-MKa5.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();function sy(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Bn={},Ii=[],un=()=>{},WS=()=>!1,tp=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),iy=e=>e.startsWith("onUpdate:"),ko=Object.assign,uy=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Z$=Object.prototype.hasOwnProperty,rn=(e,t)=>Z$.call(e,t),Be=Array.isArray,Mi=e=>nd(e)==="[object Map]",np=e=>nd(e)==="[object Set]",os=e=>nd(e)==="[object Date]",it=e=>typeof e=="function",rt=e=>typeof e=="string",ra=e=>typeof e=="symbol",At=e=>e!==null&&typeof e=="object",Hs=e=>(At(e)||it(e))&&it(e.then)&&it(e.catch),US=Object.prototype.toString,nd=e=>US.call(e),Q$=e=>nd(e).slice(8,-1),bc=e=>nd(e)==="[object Object]",cy=e=>rt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ju=sy(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),op=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},J$=/-\w/g,ir=op(e=>e.replace(J$,t=>t.slice(1).toUpperCase())),eP=/\B([A-Z])/g,_l=op(e=>e.replace(eP,"-$1").toLowerCase()),od=op(e=>e.charAt(0).toUpperCase()+e.slice(1)),ec=op(e=>e?`on${od(e)}`:""),ts=(e,t)=>!Object.is(e,t),xf=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},YS=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},dy=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tP=e=>{const t=rt(e)?Number(e):NaN;return isNaN(t)?e:t};let Q0;const rp=()=>Q0||(Q0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ht(e){if(Be(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=rt(o)?aP(o):ht(o);if(r)for(const a in r)t[a]=r[a]}return t}else if(rt(e)||At(e))return e}const nP=/;(?![^(]*\))/g,oP=/:([^]+)/,rP=/\/\*[^]*?\*\//g;function aP(e){const t={};return e.replace(rP,"").split(nP).forEach(n=>{if(n){const o=n.split(oP);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function M(e){let t="";if(rt(e))t=e;else if(Be(e))for(let n=0;n<e.length;n++){const o=M(e[n]);o&&(t+=o+" ")}else if(At(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Qr(e){if(!e)return null;let{class:t,style:n}=e;return t&&!rt(t)&&(e.class=M(t)),n&&(e.style=ht(n)),e}const lP="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sP=sy(lP);function GS(e){return!!e||e===""}function iP(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Wi(e[o],t[o]);return n}function Wi(e,t){if(e===t)return!0;let n=os(e),o=os(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=ra(e),o=ra(t),n||o)return e===t;if(n=Be(e),o=Be(t),n||o)return n&&o?iP(e,t):!1;if(n=At(e),o=At(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,a=Object.keys(t).length;if(r!==a)return!1;for(const l in e){const i=e.hasOwnProperty(l),u=t.hasOwnProperty(l);if(i&&!u||!i&&u||!Wi(e[l],t[l]))return!1}}return String(e)===String(t)}function XS(e,t){return e.findIndex(n=>Wi(n,t))}const ZS=e=>!!(e&&e.__v_isRef===!0),Pe=e=>rt(e)?e:e==null?"":Be(e)||At(e)&&(e.toString===US||!it(e.toString))?ZS(e)?Pe(e.value):JSON.stringify(e,QS,2):String(e),QS=(e,t)=>ZS(t)?QS(e,t.value):Mi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],a)=>(n[Sg(o,a)+" =>"]=r,n),{})}:np(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Sg(n))}:ra(t)?Sg(t):At(t)&&!Be(t)&&!bc(t)?String(t):t,Sg=(e,t="")=>{var n;return ra(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let qo;class JS{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=qo,!t&&qo&&(this.index=(qo.scopes||(qo.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=qo;try{return qo=this,t()}finally{qo=n}}}on(){++this._on===1&&(this.prevScope=qo,qo=this)}off(){this._on>0&&--this._on===0&&(qo=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function fy(e){return new JS(e)}function hy(){return qo}function py(e,t=!1){qo&&qo.cleanups.push(e)}let Hn;const _g=new WeakSet;class e_{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,qo&&qo.active&&qo.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_g.has(this)&&(_g.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||n_(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,J0(this),o_(this);const t=Hn,n=Jr;Hn=this,Jr=!0;try{return this.fn()}finally{r_(this),Hn=t,Jr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)my(t);this.deps=this.depsTail=void 0,J0(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_g.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xv(this)&&this.run()}get dirty(){return xv(this)}}let t_=0,tc,nc;function n_(e,t=!1){if(e.flags|=8,t){e.next=nc,nc=e;return}e.next=tc,tc=e}function gy(){t_++}function vy(){if(--t_>0)return;if(nc){let t=nc;for(nc=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;tc;){let t=tc;for(tc=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function o_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function r_(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),my(o),uP(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function xv(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(a_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function a_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===wc)||(e.globalVersion=wc,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xv(e))))return;e.flags|=2;const t=e.dep,n=Hn,o=Jr;Hn=e,Jr=!0;try{o_(e);const r=e.fn(e._value);(t.version===0||ts(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Hn=n,Jr=o,r_(e),e.flags&=-3}}function my(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)my(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function uP(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jr=!0;const l_=[];function hl(){l_.push(Jr),Jr=!1}function pl(){const e=l_.pop();Jr=e===void 0?!0:e}function J0(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Hn;Hn=void 0;try{t()}finally{Hn=n}}}let wc=0,cP=class{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 ap{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(!Hn||!Jr||Hn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Hn)n=this.activeLink=new cP(Hn,this),Hn.deps?(n.prevDep=Hn.depsTail,Hn.depsTail.nextDep=n,Hn.depsTail=n):Hn.deps=Hn.depsTail=n,s_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Hn.depsTail,n.nextDep=void 0,Hn.depsTail.nextDep=n,Hn.depsTail=n,Hn.deps===n&&(Hn.deps=o)}return n}trigger(t){this.version++,wc++,this.notify(t)}notify(t){gy();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{vy()}}}function s_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)s_(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const uh=new WeakMap,Ds=Symbol(""),Ev=Symbol(""),Cc=Symbol("");function Ho(e,t,n){if(Jr&&Hn){let o=uh.get(e);o||uh.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new ap),r.map=o,r.key=n),r.track()}}function rl(e,t,n,o,r,a){const l=uh.get(e);if(!l){wc++;return}const i=u=>{u&&u.trigger()};if(gy(),t==="clear")l.forEach(i);else{const u=Be(e),c=u&&cy(n);if(u&&n==="length"){const d=Number(o);l.forEach((f,p)=>{(p==="length"||p===Cc||!ra(p)&&p>=d)&&i(f)})}else switch((n!==void 0||l.has(void 0))&&i(l.get(n)),c&&i(l.get(Cc)),t){case"add":u?c&&i(l.get("length")):(i(l.get(Ds)),Mi(e)&&i(l.get(Ev)));break;case"delete":u||(i(l.get(Ds)),Mi(e)&&i(l.get(Ev)));break;case"set":Mi(e)&&i(l.get(Ds));break}}vy()}function dP(e,t){const n=uh.get(e);return n&&n.get(t)}function gi(e){const t=wn(e);return t===e?t:(Ho(t,"iterate",Cc),Vr(e)?t:t.map(Ao))}function lp(e){return Ho(e=wn(e),"iterate",Cc),e}const fP={__proto__:null,[Symbol.iterator](){return xg(this,Symbol.iterator,Ao)},concat(...e){return gi(this).concat(...e.map(t=>Be(t)?gi(t):t))},entries(){return xg(this,"entries",e=>(e[1]=Ao(e[1]),e))},every(e,t){return Xa(this,"every",e,t,void 0,arguments)},filter(e,t){return Xa(this,"filter",e,t,n=>n.map(Ao),arguments)},find(e,t){return Xa(this,"find",e,t,Ao,arguments)},findIndex(e,t){return Xa(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xa(this,"findLast",e,t,Ao,arguments)},findLastIndex(e,t){return Xa(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xa(this,"forEach",e,t,void 0,arguments)},includes(...e){return Eg(this,"includes",e)},indexOf(...e){return Eg(this,"indexOf",e)},join(e){return gi(this).join(e)},lastIndexOf(...e){return Eg(this,"lastIndexOf",e)},map(e,t){return Xa(this,"map",e,t,void 0,arguments)},pop(){return ju(this,"pop")},push(...e){return ju(this,"push",e)},reduce(e,...t){return ew(this,"reduce",e,t)},reduceRight(e,...t){return ew(this,"reduceRight",e,t)},shift(){return ju(this,"shift")},some(e,t){return Xa(this,"some",e,t,void 0,arguments)},splice(...e){return ju(this,"splice",e)},toReversed(){return gi(this).toReversed()},toSorted(e){return gi(this).toSorted(e)},toSpliced(...e){return gi(this).toSpliced(...e)},unshift(...e){return ju(this,"unshift",e)},values(){return xg(this,"values",Ao)}};function xg(e,t,n){const o=lp(e),r=o[t]();return o!==e&&!Vr(e)&&(r._next=r.next,r.next=()=>{const a=r._next();return a.done||(a.value=n(a.value)),a}),r}const hP=Array.prototype;function Xa(e,t,n,o,r,a){const l=lp(e),i=l!==e&&!Vr(e),u=l[t];if(u!==hP[t]){const f=u.apply(e,a);return i?Ao(f):f}let c=n;l!==e&&(i?c=function(f,p){return n.call(this,Ao(f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const d=u.call(l,c,o);return i&&r?r(d):d}function ew(e,t,n,o){const r=lp(e);let a=n;return r!==e&&(Vr(e)?n.length>3&&(a=function(l,i,u){return n.call(this,l,i,u,e)}):a=function(l,i,u){return n.call(this,l,Ao(i),u,e)}),r[t](a,...o)}function Eg(e,t,n){const o=wn(e);Ho(o,"iterate",Cc);const r=o[t](...n);return(r===-1||r===!1)&&wy(n[0])?(n[0]=wn(n[0]),o[t](...n)):r}function ju(e,t,n=[]){hl(),gy();const o=wn(e)[t].apply(e,n);return vy(),pl(),o}const pP=sy("__proto__,__v_isRef,__isVue"),i_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ra));function gP(e){ra(e)||(e=String(e));const t=wn(this);return Ho(t,"has",e),t.hasOwnProperty(e)}class u_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return o===(r?a?xP:h_:a?f_:d_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=Be(t);if(!r){let u;if(l&&(u=fP[n]))return u;if(n==="hasOwnProperty")return gP}const i=Reflect.get(t,n,Cn(t)?t:o);if((ra(n)?i_.has(n):pP(n))||(r||Ho(t,"get",n),a))return i;if(Cn(i)){const u=l&&cy(n)?i:i.value;return r&&At(u)?Ws(u):u}return At(i)?r?Ws(i):an(i):i}}class c_ extends u_{constructor(t=!1){super(!1,t)}set(t,n,o,r){let a=t[n];if(!this._isShallow){const u=rs(a);if(!Vr(o)&&!rs(o)&&(a=wn(a),o=wn(o)),!Be(t)&&Cn(a)&&!Cn(o))return u||(a.value=o),!0}const l=Be(t)&&cy(n)?Number(n)<t.length:rn(t,n),i=Reflect.set(t,n,o,Cn(t)?t:r);return t===wn(r)&&(l?ts(o,a)&&rl(t,"set",n,o):rl(t,"add",n,o)),i}deleteProperty(t,n){const o=rn(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&rl(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!ra(n)||!i_.has(n))&&Ho(t,"has",n),o}ownKeys(t){return Ho(t,"iterate",Be(t)?"length":Ds),Reflect.ownKeys(t)}}class vP extends u_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const mP=new c_,yP=new vP,bP=new c_(!0);const zv=e=>e,Zd=e=>Reflect.getPrototypeOf(e);function wP(e,t,n){return function(...o){const r=this.__v_raw,a=wn(r),l=Mi(a),i=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,c=r[e](...o),d=n?zv:t?ch:Ao;return!t&&Ho(a,"iterate",u?Ev:Ds),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:i?[d(f[0]),d(f[1])]:d(f),done:p}},[Symbol.iterator](){return this}}}}function Qd(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function CP(e,t){const n={get(r){const a=this.__v_raw,l=wn(a),i=wn(r);e||(ts(r,i)&&Ho(l,"get",r),Ho(l,"get",i));const{has:u}=Zd(l),c=t?zv:e?ch:Ao;if(u.call(l,r))return c(a.get(r));if(u.call(l,i))return c(a.get(i));a!==l&&a.get(r)},get size(){const r=this.__v_raw;return!e&&Ho(wn(r),"iterate",Ds),r.size},has(r){const a=this.__v_raw,l=wn(a),i=wn(r);return e||(ts(r,i)&&Ho(l,"has",r),Ho(l,"has",i)),r===i?a.has(r):a.has(r)||a.has(i)},forEach(r,a){const l=this,i=l.__v_raw,u=wn(i),c=t?zv:e?ch:Ao;return!e&&Ho(u,"iterate",Ds),i.forEach((d,f)=>r.call(a,c(d),c(f),l))}};return ko(n,e?{add:Qd("add"),set:Qd("set"),delete:Qd("delete"),clear:Qd("clear")}:{add(r){!t&&!Vr(r)&&!rs(r)&&(r=wn(r));const a=wn(this);return Zd(a).has.call(a,r)||(a.add(r),rl(a,"add",r,r)),this},set(r,a){!t&&!Vr(a)&&!rs(a)&&(a=wn(a));const l=wn(this),{has:i,get:u}=Zd(l);let c=i.call(l,r);c||(r=wn(r),c=i.call(l,r));const d=u.call(l,r);return l.set(r,a),c?ts(a,d)&&rl(l,"set",r,a):rl(l,"add",r,a),this},delete(r){const a=wn(this),{has:l,get:i}=Zd(a);let u=l.call(a,r);u||(r=wn(r),u=l.call(a,r)),i&&i.call(a,r);const c=a.delete(r);return u&&rl(a,"delete",r,void 0),c},clear(){const r=wn(this),a=r.size!==0,l=r.clear();return a&&rl(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=wP(r,e,t)}),n}function yy(e,t){const n=CP(e,t);return(o,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(rn(n,r)&&r in o?n:o,r,a)}const kP={get:yy(!1,!1)},SP={get:yy(!1,!0)},_P={get:yy(!0,!1)};const d_=new WeakMap,f_=new WeakMap,h_=new WeakMap,xP=new WeakMap;function EP(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zP(e){return e.__v_skip||!Object.isExtensible(e)?0:EP(Q$(e))}function an(e){return rs(e)?e:by(e,!1,mP,kP,d_)}function sp(e){return by(e,!1,bP,SP,f_)}function Ws(e){return by(e,!0,yP,_P,h_)}function by(e,t,n,o,r){if(!At(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=zP(e);if(a===0)return e;const l=r.get(e);if(l)return l;const i=new Proxy(e,a===2?o:n);return r.set(e,i),i}function ul(e){return rs(e)?ul(e.__v_raw):!!(e&&e.__v_isReactive)}function rs(e){return!!(e&&e.__v_isReadonly)}function Vr(e){return!!(e&&e.__v_isShallow)}function wy(e){return e?!!e.__v_raw:!1}function wn(e){const t=e&&e.__v_raw;return t?wn(t):e}function ea(e){return!rn(e,"__v_skip")&&Object.isExtensible(e)&&YS(e,"__v_skip",!0),e}const Ao=e=>At(e)?an(e):e,ch=e=>At(e)?Ws(e):e;function Cn(e){return e?e.__v_isRef===!0:!1}function L(e){return p_(e,!1)}function xn(e){return p_(e,!0)}function p_(e,t){return Cn(e)?e:new TP(e,t)}class TP{constructor(t,n){this.dep=new ap,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:wn(t),this._value=n?t:Ao(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Vr(t)||rs(t);t=o?t:wn(t),ts(t,n)&&(this._rawValue=t,this._value=o?t:Ao(t),this.dep.trigger())}}function Ef(e){e.dep&&e.dep.trigger()}function s(e){return Cn(e)?e.value:e}const OP={get:(e,t,n)=>t==="__v_raw"?e:s(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Cn(r)&&!Cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function g_(e){return ul(e)?e:new Proxy(e,OP)}class $P{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ap,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function PP(e){return new $P(e)}function fo(e){const t=Be(e)?new Array(e.length):{};for(const n in e)t[n]=v_(e,n);return t}class IP{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return dP(wn(this._object),this._key)}}class MP{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 sn(e,t,n){return Cn(e)?e:it(e)?new MP(e):At(e)&&arguments.length>1?v_(e,t,n):L(e)}function v_(e,t,n){const o=e[t];return Cn(o)?o:new IP(e,t,n)}class AP{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ap(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=wc-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Hn!==this)return n_(this,!0),!0}get value(){const t=this.dep.track();return a_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function jP(e,t,n=!1){let o,r;return it(e)?o=e:(o=e.get,r=e.set),new AP(o,r,n)}const Jd={},dh=new WeakMap;let _s;function NP(e,t=!1,n=_s){if(n){let o=dh.get(n);o||dh.set(n,o=[]),o.push(e)}}function RP(e,t,n=Bn){const{immediate:o,deep:r,once:a,scheduler:l,augmentJob:i,call:u}=n,c=b=>r?b:Vr(b)||r===!1||r===0?al(b,1):al(b);let d,f,p,h,v=!1,g=!1;if(Cn(e)?(f=()=>e.value,v=Vr(e)):ul(e)?(f=()=>c(e),v=!0):Be(e)?(g=!0,v=e.some(b=>ul(b)||Vr(b)),f=()=>e.map(b=>{if(Cn(b))return b.value;if(ul(b))return c(b);if(it(b))return u?u(b,2):b()})):it(e)?t?f=u?()=>u(e,2):e:f=()=>{if(p){hl();try{p()}finally{pl()}}const b=_s;_s=d;try{return u?u(e,3,[h]):e(h)}finally{_s=b}}:f=un,t&&r){const b=f,x=r===!0?1/0:r;f=()=>al(b(),x)}const m=hy(),y=()=>{d.stop(),m&&m.active&&uy(m.effects,d)};if(a&&t){const b=t;t=(...x)=>{b(...x),y()}}let k=g?new Array(e.length).fill(Jd):Jd;const C=b=>{if(!(!(d.flags&1)||!d.dirty&&!b))if(t){const x=d.run();if(r||v||(g?x.some((_,z)=>ts(_,k[z])):ts(x,k))){p&&p();const _=_s;_s=d;try{const z=[x,k===Jd?void 0:g&&k[0]===Jd?[]:k,h];k=x,u?u(t,3,z):t(...z)}finally{_s=_}}}else d.run()};return i&&i(C),d=new e_(f),d.scheduler=l?()=>l(C,!1):C,h=b=>NP(b,!1,d),p=d.onStop=()=>{const b=dh.get(d);if(b){if(u)u(b,4);else for(const x of b)x();dh.delete(d)}},t?o?C(!0):k=d.run():l?l(C.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function al(e,t=1/0,n){if(t<=0||!At(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Cn(e))al(e.value,t,n);else if(Be(e))for(let o=0;o<e.length;o++)al(e[o],t,n);else if(np(e)||Mi(e))e.forEach(o=>{al(o,t,n)});else if(bc(e)){for(const o in e)al(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&al(e[o],t,n)}return e}function rd(e,t,n,o){try{return o?e(...o):e()}catch(r){ip(r,t,n)}}function aa(e,t,n,o){if(it(e)){const r=rd(e,t,n,o);return r&&Hs(r)&&r.catch(a=>{ip(a,t,n)}),r}if(Be(e)){const r=[];for(let a=0;a<e.length;a++)r.push(aa(e[a],t,n,o));return r}}function ip(e,t,n,o=!0){const r=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||Bn;if(t){let i=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const d=i.ec;if(d){for(let f=0;f<d.length;f++)if(d[f](e,u,c)===!1)return}i=i.parent}if(a){hl(),rd(a,null,10,[e,u,c]),pl();return}}DP(e,n,r,o,l)}function DP(e,t,n,o=!0,r=!1){if(r)throw e;console.error(e)}const ar=[];let _a=-1;const Ai=[];let Wl=null,_i=0;const m_=Promise.resolve();let fh=null;function Qe(e){const t=fh||m_;return e?t.then(this?e.bind(this):e):t}function LP(e){let t=_a+1,n=ar.length;for(;t<n;){const o=t+n>>>1,r=ar[o],a=kc(r);a<e||a===e&&r.flags&2?t=o+1:n=o}return t}function Cy(e){if(!(e.flags&1)){const t=kc(e),n=ar[ar.length-1];!n||!(e.flags&2)&&t>=kc(n)?ar.push(e):ar.splice(LP(t),0,e),e.flags|=1,y_()}}function y_(){fh||(fh=m_.then(w_))}function BP(e){Be(e)?Ai.push(...e):Wl&&e.id===-1?Wl.splice(_i+1,0,e):e.flags&1||(Ai.push(e),e.flags|=1),y_()}function tw(e,t,n=_a+1){for(;n<ar.length;n++){const o=ar[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;ar.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function b_(e){if(Ai.length){const t=[...new Set(Ai)].sort((n,o)=>kc(n)-kc(o));if(Ai.length=0,Wl){Wl.push(...t);return}for(Wl=t,_i=0;_i<Wl.length;_i++){const n=Wl[_i];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Wl=null,_i=0}}const kc=e=>e.id==null?e.flags&2?-1:1/0:e.id;function w_(e){try{for(_a=0;_a<ar.length;_a++){const t=ar[_a];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rd(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_a<ar.length;_a++){const t=ar[_a];t&&(t.flags&=-2)}_a=-1,ar.length=0,b_(),fh=null,(ar.length||Ai.length)&&w_()}}let No=null,C_=null;function hh(e){const t=No;return No=e,C_=e&&e.type.__scopeId||null,t}function ne(e,t=No,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&vh(-1);const a=hh(t);let l;try{l=e(...r)}finally{hh(a),o._d&&vh(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function Nt(e,t){if(No===null)return e;const n=gp(No),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[a,l,i,u=Bn]=t[r];a&&(it(a)&&(a={mounted:a,updated:a}),a.deep&&al(l),o.push({dir:a,instance:n,value:l,oldValue:void 0,arg:i,modifiers:u}))}return e}function ws(e,t,n,o){const r=e.dirs,a=t&&t.dirs;for(let l=0;l<r.length;l++){const i=r[l];a&&(i.oldValue=a[l].value);let u=i.dir[o];u&&(hl(),aa(u,n,8,[e.el,i,e,t]),pl())}}const k_=Symbol("_vte"),S_=e=>e.__isTeleport,oc=e=>e&&(e.disabled||e.disabled===""),nw=e=>e&&(e.defer||e.defer===""),ow=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rw=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tv=(e,t)=>{const n=e&&e.to;return rt(n)?t?t(n):null:n},__={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,a,l,i,u,c){const{mc:d,pc:f,pbc:p,o:{insert:h,querySelector:v,createText:g,createComment:m}}=c,y=oc(t.props);let{shapeFlag:k,children:C,dynamicChildren:b}=t;if(e==null){const x=t.el=g(""),_=t.anchor=g("");h(x,n,o),h(_,n,o);const z=(P,j)=>{k&16&&d(C,P,j,r,a,l,i,u)},I=()=>{const P=t.target=Tv(t.props,v),j=E_(P,t,g,h);P&&(l!=="svg"&&ow(P)?l="svg":l!=="mathml"&&rw(P)&&(l="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(P),y||(z(P,j),zf(t,!1)))};y&&(z(n,_),zf(t,!0)),nw(t.props)?(t.el.__isMounted=!1,or(()=>{I(),delete t.el.__isMounted},a)):I()}else{if(nw(t.props)&&e.el.__isMounted===!1){or(()=>{__.process(e,t,n,o,r,a,l,i,u,c)},a);return}t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,_=t.target=e.target,z=t.targetAnchor=e.targetAnchor,I=oc(e.props),P=I?n:_,j=I?x:z;if(l==="svg"||ow(_)?l="svg":(l==="mathml"||rw(_))&&(l="mathml"),b?(p(e.dynamicChildren,b,P,r,a,l,i),Ty(e,t,!0)):u||f(e,t,P,j,r,a,l,i,!1),y)I?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ef(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Tv(t.props,v);O&&ef(t,O,null,c,0)}else I&&ef(t,_,z,c,1);zf(t,y)}},remove(e,t,n,{um:o,o:{remove:r}},a){const{shapeFlag:l,children:i,anchor:u,targetStart:c,targetAnchor:d,target:f,props:p}=e;if(f&&(r(c),r(d)),a&&r(u),l&16){const h=a||!oc(p);for(let v=0;v<i.length;v++){const g=i[v];o(g,t,n,h,!!g.dynamicChildren)}}},move:ef,hydrate:VP};function ef(e,t,n,{o:{insert:o},m:r},a=2){a===0&&o(e.targetAnchor,t,n);const{el:l,anchor:i,shapeFlag:u,children:c,props:d}=e,f=a===2;if(f&&o(l,t,n),(!f||oc(d))&&u&16)for(let p=0;p<c.length;p++)r(c[p],t,n,2);f&&o(i,t,n)}function VP(e,t,n,o,r,a,{o:{nextSibling:l,parentNode:i,querySelector:u,insert:c,createText:d}},f){function p(g,m,y,k){m.anchor=f(l(g),m,i(g),n,o,r,a),m.targetStart=y,m.targetAnchor=k}const h=t.target=Tv(t.props,u),v=oc(t.props);if(h){const g=h._lpa||h.firstChild;if(t.shapeFlag&16)if(v)p(e,t,g,g&&l(g));else{t.anchor=l(e);let m=g;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")t.targetStart=m;else if(m.data==="teleport anchor"){t.targetAnchor=m,h._lpa=t.targetAnchor&&l(t.targetAnchor);break}}m=l(m)}t.targetAnchor||E_(h,t,d,c),f(g&&l(g),t,h,n,o,r,a)}zf(t,v)}else v&&t.shapeFlag&16&&p(e,t,e,l(e));return t.anchor&&l(t.anchor)}const x_=__;function zf(e,t){const n=e.ctx;if(n&&n.ut){let o,r;for(t?(o=e.el,r=e.anchor):(o=e.targetStart,r=e.targetAnchor);o&&o!==r;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function E_(e,t,n,o){const r=t.targetStart=n(""),a=t.targetAnchor=n("");return r[k_]=a,e&&(o(r,e),o(a,e)),a}const nl=Symbol("_leaveCb"),tf=Symbol("_enterCb");function z_(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bt(()=>{e.isMounted=!0}),cn(()=>{e.isUnmounting=!0}),e}const Nr=[Function,Array],T_={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nr,onEnter:Nr,onAfterEnter:Nr,onEnterCancelled:Nr,onBeforeLeave:Nr,onLeave:Nr,onAfterLeave:Nr,onLeaveCancelled:Nr,onBeforeAppear:Nr,onAppear:Nr,onAfterAppear:Nr,onAppearCancelled:Nr},O_=e=>{const t=e.subTree;return t.component?O_(t.component):t},FP={name:"BaseTransition",props:T_,setup(e,{slots:t}){const n=Lt(),o=z_();return()=>{const r=t.default&&ky(t.default(),!0);if(!r||!r.length)return;const a=$_(r),l=wn(e),{mode:i}=l;if(o.isLeaving)return zg(a);const u=aw(a);if(!u)return zg(a);let c=Sc(u,l,o,n,f=>c=f);u.type!==Xn&&Us(u,c);let d=n.subTree&&aw(n.subTree);if(d&&d.type!==Xn&&!zs(d,u)&&O_(n).type!==Xn){let f=Sc(d,l,o,n);if(Us(d,f),i==="out-in"&&u.type!==Xn)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,d=void 0},zg(a);i==="in-out"&&u.type!==Xn?f.delayLeave=(p,h,v)=>{const g=P_(o,d);g[String(d.key)]=d,p[nl]=()=>{h(),p[nl]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{v(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return a}}};function $_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Xn){t=n;break}}return t}const qP=FP;function P_(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Sc(e,t,n,o,r){const{appear:a,mode:l,persisted:i=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:p,onLeave:h,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:k,onAppearCancelled:C}=t,b=String(e.key),x=P_(n,e),_=(P,j)=>{P&&aa(P,o,9,j)},z=(P,j)=>{const O=j[1];_(P,j),Be(P)?P.every(A=>A.length<=1)&&O():P.length<=1&&O()},I={mode:l,persisted:i,beforeEnter(P){let j=u;if(!n.isMounted)if(a)j=m||u;else return;P[nl]&&P[nl](!0);const O=x[b];O&&zs(e,O)&&O.el[nl]&&O.el[nl](),_(j,[P])},enter(P){let j=c,O=d,A=f;if(!n.isMounted)if(a)j=y||c,O=k||d,A=C||f;else return;let K=!1;const Y=P[tf]=Z=>{K||(K=!0,Z?_(A,[P]):_(O,[P]),I.delayedLeave&&I.delayedLeave(),P[tf]=void 0)};j?z(j,[P,Y]):Y()},leave(P,j){const O=String(e.key);if(P[tf]&&P[tf](!0),n.isUnmounting)return j();_(p,[P]);let A=!1;const K=P[nl]=Y=>{A||(A=!0,j(),Y?_(g,[P]):_(v,[P]),P[nl]=void 0,x[O]===e&&delete x[O])};x[O]=e,h?z(h,[P,K]):K()},clone(P){const j=Sc(P,t,n,o,r);return r&&r(j),j}};return I}function zg(e){if(up(e))return e=gl(e),e.children=null,e}function aw(e){if(!up(e))return S_(e.type)&&e.children?$_(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&&it(n.default))return n.default()}}function Us(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Us(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 ky(e,t=!1,n){let o=[],r=0;for(let a=0;a<e.length;a++){let l=e[a];const i=n==null?l.key:String(n)+String(l.key!=null?l.key:a);l.type===tt?(l.patchFlag&128&&r++,o=o.concat(ky(l.children,t,i))):(t||l.type!==Xn)&&o.push(i!=null?gl(l,{key:i}):l)}if(r>1)for(let a=0;a<o.length;a++)o[a].patchFlag=-2;return o}function te(e,t){return it(e)?ko({name:e.name},t,{setup:e}):e}function I_(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ph=new WeakMap;function rc(e,t,n,o,r=!1){if(Be(e)){e.forEach((v,g)=>rc(v,t&&(Be(t)?t[g]:t),n,o,r));return}if(ji(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&rc(e,t,n,o.component.subTree);return}const a=o.shapeFlag&4?gp(o.component):o.el,l=r?null:a,{i,r:u}=e,c=t&&t.r,d=i.refs===Bn?i.refs={}:i.refs,f=i.setupState,p=wn(f),h=f===Bn?WS:v=>rn(p,v);if(c!=null&&c!==u){if(lw(t),rt(c))d[c]=null,h(c)&&(f[c]=null);else if(Cn(c)){c.value=null;const v=t;v.k&&(d[v.k]=null)}}if(it(u))rd(u,i,12,[l,d]);else{const v=rt(u),g=Cn(u);if(v||g){const m=()=>{if(e.f){const y=v?h(u)?f[u]:d[u]:u.value;if(r)Be(y)&&uy(y,a);else if(Be(y))y.includes(a)||y.push(a);else if(v)d[u]=[a],h(u)&&(f[u]=d[u]);else{const k=[a];u.value=k,e.k&&(d[e.k]=k)}}else v?(d[u]=l,h(u)&&(f[u]=l)):g&&(u.value=l,e.k&&(d[e.k]=l))};if(l){const y=()=>{m(),ph.delete(e)};y.id=-1,ph.set(e,y),or(y,n)}else lw(e),m()}}}function lw(e){const t=ph.get(e);t&&(t.flags|=8,ph.delete(e))}rp().requestIdleCallback;rp().cancelIdleCallback;const ji=e=>!!e.type.__asyncLoader,up=e=>e.type.__isKeepAlive;function cp(e,t){A_(e,"a",t)}function M_(e,t){A_(e,"da",t)}function A_(e,t,n=Wo){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(dp(t,o,n),n){let r=n.parent;for(;r&&r.parent;)up(r.parent.vnode)&&KP(o,t,n,r),r=r.parent}}function KP(e,t,n,o){const r=dp(t,e,o,!0);oi(()=>{uy(o[t],r)},n)}function dp(e,t,n=Wo,o=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{hl();const i=ad(n),u=aa(t,n,e,l);return i(),pl(),u});return o?r.unshift(a):r.push(a),a}}const xl=e=>(t,n=Wo)=>{(!xc||e==="sp")&&dp(e,(...o)=>t(...o),n)},fp=xl("bm"),Bt=xl("m"),Sy=xl("bu"),fa=xl("u"),cn=xl("bum"),oi=xl("um"),HP=xl("sp"),WP=xl("rtg"),UP=xl("rtc");function YP(e,t=Wo){dp("ec",e,t)}const _y="components",GP="directives";function kt(e,t){return xy(_y,e,!0,t)||e}const j_=Symbol.for("v-ndc");function Rt(e){return rt(e)?xy(_y,e,!1)||e:e||j_}function hp(e){return xy(GP,e)}function xy(e,t,n=!0,o=!1){const r=No||Wo;if(r){const a=r.type;if(e===_y){const i=jI(a,!1);if(i&&(i===t||i===ir(t)||i===od(ir(t))))return a}const l=sw(r[e]||a[e],t)||sw(r.appContext[e],t);return!l&&o?a:l}}function sw(e,t){return e&&(e[t]||e[ir(t)]||e[od(ir(t))])}function Dt(e,t,n,o){let r;const a=n,l=Be(e);if(l||rt(e)){const i=l&&ul(e);let u=!1,c=!1;i&&(u=!Vr(e),c=rs(e),e=lp(e)),r=new Array(e.length);for(let d=0,f=e.length;d<f;d++)r[d]=t(u?c?ch(Ao(e[d])):Ao(e[d]):e[d],d,void 0,a)}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,a)}else if(At(e))if(e[Symbol.iterator])r=Array.from(e,(i,u)=>t(i,u,void 0,a));else{const i=Object.keys(e);r=new Array(i.length);for(let u=0,c=i.length;u<c;u++){const d=i[u];r[u]=t(e[d],d,u,a)}}else r=[];return r}function yr(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(Be(o))for(let r=0;r<o.length;r++)e[o[r].name]=o[r].fn;else o&&(e[o.name]=o.key?(...r)=>{const a=o.fn(...r);return a&&(a.key=o.key),a}:o.fn)}return e}function he(e,t,n={},o,r){if(No.ce||No.parent&&ji(No.parent)&&No.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),T(),ge(tt,null,[Q("slot",n,o&&o())],c?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),T();const l=a&&N_(a(n)),i=n.key||l&&l.key,u=ge(tt,{key:(i&&!ra(i)?i:`_${t}`)+(!l&&o?"_fb":"")},l||(o?o():[]),l&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),a&&a._c&&(a._d=!0),u}function N_(e){return e.some(t=>zn(t)?!(t.type===Xn||t.type===tt&&!N_(t.children)):!0)?e:null}function XP(e,t){const n={};for(const o in e)n[ec(o)]=e[o];return n}const Ov=e=>e?tx(e)?gp(e):Ov(e.parent):null,ac=ko(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=>Ov(e.parent),$root:e=>Ov(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>L_(e),$forceUpdate:e=>e.f||(e.f=()=>{Cy(e.update)}),$nextTick:e=>e.n||(e.n=Qe.bind(e.proxy)),$watch:e=>yI.bind(e)}),Tg=(e,t)=>e!==Bn&&!e.__isScriptSetup&&rn(e,t),ZP={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:a,accessCache:l,type:i,appContext:u}=e;let c;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if(Tg(o,t))return l[t]=1,o[t];if(r!==Bn&&rn(r,t))return l[t]=2,r[t];if((c=e.propsOptions[0])&&rn(c,t))return l[t]=3,a[t];if(n!==Bn&&rn(n,t))return l[t]=4,n[t];$v&&(l[t]=0)}}const d=ac[t];let f,p;if(d)return t==="$attrs"&&Ho(e.attrs,"get",""),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==Bn&&rn(n,t))return l[t]=4,n[t];if(p=u.config.globalProperties,rn(p,t))return p[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:a}=e;return Tg(r,t)?(r[t]=n,!0):o!==Bn&&rn(o,t)?(o[t]=n,!0):rn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:a,type:l}},i){let u,c;return!!(n[i]||e!==Bn&&i[0]!=="$"&&rn(e,i)||Tg(t,i)||(u=a[0])&&rn(u,i)||rn(o,i)||rn(ac,i)||rn(r.config.globalProperties,i)||(c=l.__cssModules)&&c[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:rn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ao(){return R_().slots}function El(){return R_().attrs}function R_(e){const t=Lt();return t.setupContext||(t.setupContext=ox(t))}function iw(e){return Be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $v=!0;function QP(e){const t=L_(e),n=e.proxy,o=e.ctx;$v=!1,t.beforeCreate&&uw(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:l,watch:i,provide:u,inject:c,created:d,beforeMount:f,mounted:p,beforeUpdate:h,updated:v,activated:g,deactivated:m,beforeDestroy:y,beforeUnmount:k,destroyed:C,unmounted:b,render:x,renderTracked:_,renderTriggered:z,errorCaptured:I,serverPrefetch:P,expose:j,inheritAttrs:O,components:A,directives:K,filters:Y}=t;if(c&&JP(c,o,null),l)for(const R in l){const D=l[R];it(D)&&(o[R]=D.bind(n))}if(r){const R=r.call(n,n);At(R)&&(e.data=an(R))}if($v=!0,a)for(const R in a){const D=a[R],B=it(D)?D.bind(n,n):it(D.get)?D.get.bind(n,n):un,q=!it(D)&&it(D.set)?D.set.bind(n):un,G=S({get:B,set:q});Object.defineProperty(o,R,{enumerable:!0,configurable:!0,get:()=>G.value,set:X=>G.value=X})}if(i)for(const R in i)D_(i[R],o,n,R);if(u){const R=it(u)?u.call(n):u;Reflect.ownKeys(R).forEach(D=>{Ut(D,R[D])})}d&&uw(d,e,"c");function $(R,D){Be(D)?D.forEach(B=>R(B.bind(n))):D&&R(D.bind(n))}if($(fp,f),$(Bt,p),$(Sy,h),$(fa,v),$(cp,g),$(M_,m),$(YP,I),$(UP,_),$(WP,z),$(cn,k),$(oi,b),$(HP,P),Be(j))if(j.length){const R=e.exposed||(e.exposed={});j.forEach(D=>{Object.defineProperty(R,D,{get:()=>n[D],set:B=>n[D]=B,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===un&&(e.render=x),O!=null&&(e.inheritAttrs=O),A&&(e.components=A),K&&(e.directives=K),P&&I_(e)}function JP(e,t,n=un){Be(e)&&(e=Pv(e));for(const o in e){const r=e[o];let a;At(r)?"default"in r?a=et(r.from||o,r.default,!0):a=et(r.from||o):a=et(r),Cn(a)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[o]=a}}function uw(e,t,n){aa(Be(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function D_(e,t,n,o){let r=o.includes(".")?X_(n,o):()=>n[o];if(rt(e)){const a=t[e];it(a)&&ke(r,a)}else if(it(e))ke(r,e.bind(n));else if(At(e))if(Be(e))e.forEach(a=>D_(a,t,n,o));else{const a=it(e.handler)?e.handler.bind(n):t[e.handler];it(a)&&ke(r,a,e)}}function L_(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,i=a.get(t);let u;return i?u=i:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(c=>gh(u,c,l,!0)),gh(u,t,l)),At(t)&&a.set(t,u),u}function gh(e,t,n,o=!1){const{mixins:r,extends:a}=t;a&&gh(e,a,n,!0),r&&r.forEach(l=>gh(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const i=eI[l]||n&&n[l];e[l]=i?i(e[l],t[l]):t[l]}return e}const eI={data:cw,props:dw,emits:dw,methods:Wu,computed:Wu,beforeCreate:nr,created:nr,beforeMount:nr,mounted:nr,beforeUpdate:nr,updated:nr,beforeDestroy:nr,beforeUnmount:nr,destroyed:nr,unmounted:nr,activated:nr,deactivated:nr,errorCaptured:nr,serverPrefetch:nr,components:Wu,directives:Wu,watch:nI,provide:cw,inject:tI};function cw(e,t){return t?e?function(){return ko(it(e)?e.call(this,this):e,it(t)?t.call(this,this):t)}:t:e}function tI(e,t){return Wu(Pv(e),Pv(t))}function Pv(e){if(Be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nr(e,t){return e?[...new Set([].concat(e,t))]:t}function Wu(e,t){return e?ko(Object.create(null),e,t):t}function dw(e,t){return e?Be(e)&&Be(t)?[...new Set([...e,...t])]:ko(Object.create(null),iw(e),iw(t??{})):t}function nI(e,t){if(!e)return t;if(!t)return e;const n=ko(Object.create(null),e);for(const o in t)n[o]=nr(e[o],t[o]);return n}function B_(){return{app:null,config:{isNativeTag:WS,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 oI=0;function rI(e,t){return function(o,r=null){it(o)||(o=ko({},o)),r!=null&&!At(r)&&(r=null);const a=B_(),l=new WeakSet,i=[];let u=!1;const c=a.app={_uid:oI++,_component:o,_props:r,_container:null,_context:a,_instance:null,version:RI,get config(){return a.config},set config(d){},use(d,...f){return l.has(d)||(d&&it(d.install)?(l.add(d),d.install(c,...f)):it(d)&&(l.add(d),d(c,...f))),c},mixin(d){return a.mixins.includes(d)||a.mixins.push(d),c},component(d,f){return f?(a.components[d]=f,c):a.components[d]},directive(d,f){return f?(a.directives[d]=f,c):a.directives[d]},mount(d,f,p){if(!u){const h=c._ceVNode||Q(o,r);return h.appContext=a,p===!0?p="svg":p===!1&&(p=void 0),e(h,d,p),u=!0,c._container=d,d.__vue_app__=c,gp(h.component)}},onUnmount(d){i.push(d)},unmount(){u&&(aa(i,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,f){return a.provides[d]=f,c},runWithContext(d){const f=Ls;Ls=c;try{return d()}finally{Ls=f}}};return c}}let Ls=null;function Ut(e,t){if(Wo){let n=Wo.provides;const o=Wo.parent&&Wo.parent.provides;o===n&&(n=Wo.provides=Object.create(o)),n[e]=t}}function et(e,t,n=!1){const o=Lt();if(o||Ls){let r=Ls?Ls._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&it(t)?t.call(o&&o.proxy):t}}function aI(){return!!(Lt()||Ls)}const V_={},F_=()=>Object.create(V_),q_=e=>Object.getPrototypeOf(e)===V_;function lI(e,t,n,o=!1){const r={},a=F_();e.propsDefaults=Object.create(null),K_(e,t,r,a);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=o?r:sp(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function sI(e,t,n,o){const{props:r,attrs:a,vnode:{patchFlag:l}}=e,i=wn(r),[u]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let p=d[f];if(pp(e.emitsOptions,p))continue;const h=t[p];if(u)if(rn(a,p))h!==a[p]&&(a[p]=h,c=!0);else{const v=ir(p);r[v]=Iv(u,i,v,h,e,!1)}else h!==a[p]&&(a[p]=h,c=!0)}}}else{K_(e,t,r,a)&&(c=!0);let d;for(const f in i)(!t||!rn(t,f)&&((d=_l(f))===f||!rn(t,d)))&&(u?n&&(n[f]!==void 0||n[d]!==void 0)&&(r[f]=Iv(u,i,f,void 0,e,!0)):delete r[f]);if(a!==i)for(const f in a)(!t||!rn(t,f))&&(delete a[f],c=!0)}c&&rl(e.attrs,"set","")}function K_(e,t,n,o){const[r,a]=e.propsOptions;let l=!1,i;if(t)for(let u in t){if(Ju(u))continue;const c=t[u];let d;r&&rn(r,d=ir(u))?!a||!a.includes(d)?n[d]=c:(i||(i={}))[d]=c:pp(e.emitsOptions,u)||(!(u in o)||c!==o[u])&&(o[u]=c,l=!0)}if(a){const u=wn(n),c=i||Bn;for(let d=0;d<a.length;d++){const f=a[d];n[f]=Iv(r,u,f,c[f],e,!rn(c,f))}}return l}function Iv(e,t,n,o,r,a){const l=e[n];if(l!=null){const i=rn(l,"default");if(i&&o===void 0){const u=l.default;if(l.type!==Function&&!l.skipFactory&&it(u)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const d=ad(r);o=c[n]=u.call(null,t),d()}}else o=u;r.ce&&r.ce._setProp(n,o)}l[0]&&(a&&!i?o=!1:l[1]&&(o===""||o===_l(n))&&(o=!0))}return o}const iI=new WeakMap;function H_(e,t,n=!1){const o=n?iI:t.propsCache,r=o.get(e);if(r)return r;const a=e.props,l={},i=[];let u=!1;if(!it(e)){const d=f=>{u=!0;const[p,h]=H_(f,t,!0);ko(l,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!a&&!u)return At(e)&&o.set(e,Ii),Ii;if(Be(a))for(let d=0;d<a.length;d++){const f=ir(a[d]);fw(f)&&(l[f]=Bn)}else if(a)for(const d in a){const f=ir(d);if(fw(f)){const p=a[d],h=l[f]=Be(p)||it(p)?{type:p}:ko({},p),v=h.type;let g=!1,m=!0;if(Be(v))for(let y=0;y<v.length;++y){const k=v[y],C=it(k)&&k.name;if(C==="Boolean"){g=!0;break}else C==="String"&&(m=!1)}else g=it(v)&&v.name==="Boolean";h[0]=g,h[1]=m,(g||rn(h,"default"))&&i.push(f)}}const c=[l,i];return At(e)&&o.set(e,c),c}function fw(e){return e[0]!=="$"&&!Ju(e)}const Ey=e=>e==="_"||e==="_ctx"||e==="$stable",zy=e=>Be(e)?e.map(xa):[xa(e)],uI=(e,t,n)=>{if(t._n)return t;const o=ne((...r)=>zy(t(...r)),n);return o._c=!1,o},W_=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ey(r))continue;const a=e[r];if(it(a))t[r]=uI(r,a,o);else if(a!=null){const l=zy(a);t[r]=()=>l}}},U_=(e,t)=>{const n=zy(t);e.slots.default=()=>n},Y_=(e,t,n)=>{for(const o in t)(n||!Ey(o))&&(e[o]=t[o])},cI=(e,t,n)=>{const o=e.slots=F_();if(e.vnode.shapeFlag&32){const r=t._;r?(Y_(o,t,n),n&&YS(o,"_",r,!0)):W_(t,o)}else t&&U_(e,t)},dI=(e,t,n)=>{const{vnode:o,slots:r}=e;let a=!0,l=Bn;if(o.shapeFlag&32){const i=t._;i?n&&i===1?a=!1:Y_(r,t,n):(a=!t.$stable,W_(t,r)),l=t}else t&&(U_(e,t),l={default:1});if(a)for(const i in r)!Ey(i)&&l[i]==null&&delete r[i]},or=EI;function fI(e){return hI(e)}function hI(e,t){const n=rp();n.__VUE__=!0;const{insert:o,remove:r,patchProp:a,createElement:l,createText:i,createComment:u,setText:c,setElementText:d,parentNode:f,nextSibling:p,setScopeId:h=un,insertStaticContent:v}=e,g=(U,le,me,_e=null,Ce=null,we=null,$e=void 0,Re=null,Ke=!!le.dynamicChildren)=>{if(U===le)return;U&&!zs(U,le)&&(_e=re(U),X(U,Ce,we,!0),U=null),le.patchFlag===-2&&(Ke=!1,le.dynamicChildren=null);const{type:De,ref:at,shapeFlag:Ze}=le;switch(De){case fu:m(U,le,me,_e);break;case Xn:y(U,le,me,_e);break;case $g:U==null&&k(le,me,_e,$e);break;case tt:A(U,le,me,_e,Ce,we,$e,Re,Ke);break;default:Ze&1?x(U,le,me,_e,Ce,we,$e,Re,Ke):Ze&6?K(U,le,me,_e,Ce,we,$e,Re,Ke):(Ze&64||Ze&128)&&De.process(U,le,me,_e,Ce,we,$e,Re,Ke,ie)}at!=null&&Ce?rc(at,U&&U.ref,we,le||U,!le):at==null&&U&&U.ref!=null&&rc(U.ref,null,we,U,!0)},m=(U,le,me,_e)=>{if(U==null)o(le.el=i(le.children),me,_e);else{const Ce=le.el=U.el;le.children!==U.children&&c(Ce,le.children)}},y=(U,le,me,_e)=>{U==null?o(le.el=u(le.children||""),me,_e):le.el=U.el},k=(U,le,me,_e)=>{[U.el,U.anchor]=v(U.children,le,me,_e,U.el,U.anchor)},C=({el:U,anchor:le},me,_e)=>{let Ce;for(;U&&U!==le;)Ce=p(U),o(U,me,_e),U=Ce;o(le,me,_e)},b=({el:U,anchor:le})=>{let me;for(;U&&U!==le;)me=p(U),r(U),U=me;r(le)},x=(U,le,me,_e,Ce,we,$e,Re,Ke)=>{if(le.type==="svg"?$e="svg":le.type==="math"&&($e="mathml"),U==null)_(le,me,_e,Ce,we,$e,Re,Ke);else{const De=U.el&&U.el._isVueCE?U.el:null;try{De&&De._beginPatch(),P(U,le,Ce,we,$e,Re,Ke)}finally{De&&De._endPatch()}}},_=(U,le,me,_e,Ce,we,$e,Re)=>{let Ke,De;const{props:at,shapeFlag:Ze,transition:ot,dirs:gt}=U;if(Ke=U.el=l(U.type,we,at&&at.is,at),Ze&8?d(Ke,U.children):Ze&16&&I(U.children,Ke,null,_e,Ce,Og(U,we),$e,Re),gt&&ws(U,null,_e,"created"),z(Ke,U,U.scopeId,$e,_e),at){for(const vt in at)vt!=="value"&&!Ju(vt)&&a(Ke,vt,null,at[vt],we,_e);"value"in at&&a(Ke,"value",null,at.value,we),(De=at.onVnodeBeforeMount)&&Ca(De,_e,U)}gt&&ws(U,null,_e,"beforeMount");const Ne=pI(Ce,ot);Ne&&ot.beforeEnter(Ke),o(Ke,le,me),((De=at&&at.onVnodeMounted)||Ne||gt)&&or(()=>{De&&Ca(De,_e,U),Ne&&ot.enter(Ke),gt&&ws(U,null,_e,"mounted")},Ce)},z=(U,le,me,_e,Ce)=>{if(me&&h(U,me),_e)for(let we=0;we<_e.length;we++)h(U,_e[we]);if(Ce){let we=Ce.subTree;if(le===we||Q_(we.type)&&(we.ssContent===le||we.ssFallback===le)){const $e=Ce.vnode;z(U,$e,$e.scopeId,$e.slotScopeIds,Ce.parent)}}},I=(U,le,me,_e,Ce,we,$e,Re,Ke=0)=>{for(let De=Ke;De<U.length;De++){const at=U[De]=Re?Ul(U[De]):xa(U[De]);g(null,at,le,me,_e,Ce,we,$e,Re)}},P=(U,le,me,_e,Ce,we,$e)=>{const Re=le.el=U.el;let{patchFlag:Ke,dynamicChildren:De,dirs:at}=le;Ke|=U.patchFlag&16;const Ze=U.props||Bn,ot=le.props||Bn;let gt;if(me&&Cs(me,!1),(gt=ot.onVnodeBeforeUpdate)&&Ca(gt,me,le,U),at&&ws(le,U,me,"beforeUpdate"),me&&Cs(me,!0),(Ze.innerHTML&&ot.innerHTML==null||Ze.textContent&&ot.textContent==null)&&d(Re,""),De?j(U.dynamicChildren,De,Re,me,_e,Og(le,Ce),we):$e||D(U,le,Re,null,me,_e,Og(le,Ce),we,!1),Ke>0){if(Ke&16)O(Re,Ze,ot,me,Ce);else if(Ke&2&&Ze.class!==ot.class&&a(Re,"class",null,ot.class,Ce),Ke&4&&a(Re,"style",Ze.style,ot.style,Ce),Ke&8){const Ne=le.dynamicProps;for(let vt=0;vt<Ne.length;vt++){const _t=Ne[vt],Gt=Ze[_t],on=ot[_t];(on!==Gt||_t==="value")&&a(Re,_t,Gt,on,Ce,me)}}Ke&1&&U.children!==le.children&&d(Re,le.children)}else!$e&&De==null&&O(Re,Ze,ot,me,Ce);((gt=ot.onVnodeUpdated)||at)&&or(()=>{gt&&Ca(gt,me,le,U),at&&ws(le,U,me,"updated")},_e)},j=(U,le,me,_e,Ce,we,$e)=>{for(let Re=0;Re<le.length;Re++){const Ke=U[Re],De=le[Re],at=Ke.el&&(Ke.type===tt||!zs(Ke,De)||Ke.shapeFlag&198)?f(Ke.el):me;g(Ke,De,at,null,_e,Ce,we,$e,!0)}},O=(U,le,me,_e,Ce)=>{if(le!==me){if(le!==Bn)for(const we in le)!Ju(we)&&!(we in me)&&a(U,we,le[we],null,Ce,_e);for(const we in me){if(Ju(we))continue;const $e=me[we],Re=le[we];$e!==Re&&we!=="value"&&a(U,we,Re,$e,Ce,_e)}"value"in me&&a(U,"value",le.value,me.value,Ce)}},A=(U,le,me,_e,Ce,we,$e,Re,Ke)=>{const De=le.el=U?U.el:i(""),at=le.anchor=U?U.anchor:i("");let{patchFlag:Ze,dynamicChildren:ot,slotScopeIds:gt}=le;gt&&(Re=Re?Re.concat(gt):gt),U==null?(o(De,me,_e),o(at,me,_e),I(le.children||[],me,at,Ce,we,$e,Re,Ke)):Ze>0&&Ze&64&&ot&&U.dynamicChildren?(j(U.dynamicChildren,ot,me,Ce,we,$e,Re),(le.key!=null||Ce&&le===Ce.subTree)&&Ty(U,le,!0)):D(U,le,me,at,Ce,we,$e,Re,Ke)},K=(U,le,me,_e,Ce,we,$e,Re,Ke)=>{le.slotScopeIds=Re,U==null?le.shapeFlag&512?Ce.ctx.activate(le,me,_e,$e,Ke):Y(le,me,_e,Ce,we,$e,Ke):Z(U,le,Ke)},Y=(U,le,me,_e,Ce,we,$e)=>{const Re=U.component=PI(U,_e,Ce);if(up(U)&&(Re.ctx.renderer=ie),II(Re,!1,$e),Re.asyncDep){if(Ce&&Ce.registerDep(Re,$,$e),!U.el){const Ke=Re.subTree=Q(Xn);y(null,Ke,le,me),U.placeholder=Ke.el}}else $(Re,U,le,me,Ce,we,$e)},Z=(U,le,me)=>{const _e=le.component=U.component;if(_I(U,le,me))if(_e.asyncDep&&!_e.asyncResolved){R(_e,le,me);return}else _e.next=le,_e.update();else le.el=U.el,_e.vnode=le},$=(U,le,me,_e,Ce,we,$e)=>{const Re=()=>{if(U.isMounted){let{next:Ze,bu:ot,u:gt,parent:Ne,vnode:vt}=U;{const Ot=G_(U);if(Ot){Ze&&(Ze.el=vt.el,R(U,Ze,$e)),Ot.asyncDep.then(()=>{U.isUnmounted||Re()});return}}let _t=Ze,Gt;Cs(U,!1),Ze?(Ze.el=vt.el,R(U,Ze,$e)):Ze=vt,ot&&xf(ot),(Gt=Ze.props&&Ze.props.onVnodeBeforeUpdate)&&Ca(Gt,Ne,Ze,vt),Cs(U,!0);const on=pw(U),yt=U.subTree;U.subTree=on,g(yt,on,f(yt.el),re(yt),U,Ce,we),Ze.el=on.el,_t===null&&xI(U,on.el),gt&&or(gt,Ce),(Gt=Ze.props&&Ze.props.onVnodeUpdated)&&or(()=>Ca(Gt,Ne,Ze,vt),Ce)}else{let Ze;const{el:ot,props:gt}=le,{bm:Ne,m:vt,parent:_t,root:Gt,type:on}=U,yt=ji(le);Cs(U,!1),Ne&&xf(Ne),!yt&&(Ze=gt&&gt.onVnodeBeforeMount)&&Ca(Ze,_t,le),Cs(U,!0);{Gt.ce&&Gt.ce._def.shadowRoot!==!1&&Gt.ce._injectChildStyle(on);const Ot=U.subTree=pw(U);g(null,Ot,me,_e,U,Ce,we),le.el=Ot.el}if(vt&&or(vt,Ce),!yt&&(Ze=gt&&gt.onVnodeMounted)){const Ot=le;or(()=>Ca(Ze,_t,Ot),Ce)}(le.shapeFlag&256||_t&&ji(_t.vnode)&&_t.vnode.shapeFlag&256)&&U.a&&or(U.a,Ce),U.isMounted=!0,le=me=_e=null}};U.scope.on();const Ke=U.effect=new e_(Re);U.scope.off();const De=U.update=Ke.run.bind(Ke),at=U.job=Ke.runIfDirty.bind(Ke);at.i=U,at.id=U.uid,Ke.scheduler=()=>Cy(at),Cs(U,!0),De()},R=(U,le,me)=>{le.component=U;const _e=U.vnode.props;U.vnode=le,U.next=null,sI(U,le.props,_e,me),dI(U,le.children,me),hl(),tw(U),pl()},D=(U,le,me,_e,Ce,we,$e,Re,Ke=!1)=>{const De=U&&U.children,at=U?U.shapeFlag:0,Ze=le.children,{patchFlag:ot,shapeFlag:gt}=le;if(ot>0){if(ot&128){q(De,Ze,me,_e,Ce,we,$e,Re,Ke);return}else if(ot&256){B(De,Ze,me,_e,Ce,we,$e,Re,Ke);return}}gt&8?(at&16&&ve(De,Ce,we),Ze!==De&&d(me,Ze)):at&16?gt&16?q(De,Ze,me,_e,Ce,we,$e,Re,Ke):ve(De,Ce,we,!0):(at&8&&d(me,""),gt&16&&I(Ze,me,_e,Ce,we,$e,Re,Ke))},B=(U,le,me,_e,Ce,we,$e,Re,Ke)=>{U=U||Ii,le=le||Ii;const De=U.length,at=le.length,Ze=Math.min(De,at);let ot;for(ot=0;ot<Ze;ot++){const gt=le[ot]=Ke?Ul(le[ot]):xa(le[ot]);g(U[ot],gt,me,null,Ce,we,$e,Re,Ke)}De>at?ve(U,Ce,we,!0,!1,Ze):I(le,me,_e,Ce,we,$e,Re,Ke,Ze)},q=(U,le,me,_e,Ce,we,$e,Re,Ke)=>{let De=0;const at=le.length;let Ze=U.length-1,ot=at-1;for(;De<=Ze&&De<=ot;){const gt=U[De],Ne=le[De]=Ke?Ul(le[De]):xa(le[De]);if(zs(gt,Ne))g(gt,Ne,me,null,Ce,we,$e,Re,Ke);else break;De++}for(;De<=Ze&&De<=ot;){const gt=U[Ze],Ne=le[ot]=Ke?Ul(le[ot]):xa(le[ot]);if(zs(gt,Ne))g(gt,Ne,me,null,Ce,we,$e,Re,Ke);else break;Ze--,ot--}if(De>Ze){if(De<=ot){const gt=ot+1,Ne=gt<at?le[gt].el:_e;for(;De<=ot;)g(null,le[De]=Ke?Ul(le[De]):xa(le[De]),me,Ne,Ce,we,$e,Re,Ke),De++}}else if(De>ot)for(;De<=Ze;)X(U[De],Ce,we,!0),De++;else{const gt=De,Ne=De,vt=new Map;for(De=Ne;De<=ot;De++){const pt=le[De]=Ke?Ul(le[De]):xa(le[De]);pt.key!=null&&vt.set(pt.key,De)}let _t,Gt=0;const on=ot-Ne+1;let yt=!1,Ot=0;const Oe=new Array(on);for(De=0;De<on;De++)Oe[De]=0;for(De=gt;De<=Ze;De++){const pt=U[De];if(Gt>=on){X(pt,Ce,we,!0);continue}let ye;if(pt.key!=null)ye=vt.get(pt.key);else for(_t=Ne;_t<=ot;_t++)if(Oe[_t-Ne]===0&&zs(pt,le[_t])){ye=_t;break}ye===void 0?X(pt,Ce,we,!0):(Oe[ye-Ne]=De+1,ye>=Ot?Ot=ye:yt=!0,g(pt,le[ye],me,null,Ce,we,$e,Re,Ke),Gt++)}const ut=yt?gI(Oe):Ii;for(_t=ut.length-1,De=on-1;De>=0;De--){const pt=Ne+De,ye=le[pt],ct=le[pt+1],xe=pt+1<at?ct.el||ct.placeholder:_e;Oe[De]===0?g(null,ye,me,xe,Ce,we,$e,Re,Ke):yt&&(_t<0||De!==ut[_t]?G(ye,me,xe,2):_t--)}}},G=(U,le,me,_e,Ce=null)=>{const{el:we,type:$e,transition:Re,children:Ke,shapeFlag:De}=U;if(De&6){G(U.component.subTree,le,me,_e);return}if(De&128){U.suspense.move(le,me,_e);return}if(De&64){$e.move(U,le,me,ie);return}if($e===tt){o(we,le,me);for(let Ze=0;Ze<Ke.length;Ze++)G(Ke[Ze],le,me,_e);o(U.anchor,le,me);return}if($e===$g){C(U,le,me);return}if(_e!==2&&De&1&&Re)if(_e===0)Re.beforeEnter(we),o(we,le,me),or(()=>Re.enter(we),Ce);else{const{leave:Ze,delayLeave:ot,afterLeave:gt}=Re,Ne=()=>{U.ctx.isUnmounted?r(we):o(we,le,me)},vt=()=>{we._isLeaving&&we[nl](!0),Ze(we,()=>{Ne(),gt&&gt()})};ot?ot(we,Ne,vt):vt()}else o(we,le,me)},X=(U,le,me,_e=!1,Ce=!1)=>{const{type:we,props:$e,ref:Re,children:Ke,dynamicChildren:De,shapeFlag:at,patchFlag:Ze,dirs:ot,cacheIndex:gt}=U;if(Ze===-2&&(Ce=!1),Re!=null&&(hl(),rc(Re,null,me,U,!0),pl()),gt!=null&&(le.renderCache[gt]=void 0),at&256){le.ctx.deactivate(U);return}const Ne=at&1&&ot,vt=!ji(U);let _t;if(vt&&(_t=$e&&$e.onVnodeBeforeUnmount)&&Ca(_t,le,U),at&6)ae(U.component,me,_e);else{if(at&128){U.suspense.unmount(me,_e);return}Ne&&ws(U,null,le,"beforeUnmount"),at&64?U.type.remove(U,le,me,ie,_e):De&&!De.hasOnce&&(we!==tt||Ze>0&&Ze&64)?ve(De,le,me,!1,!0):(we===tt&&Ze&384||!Ce&&at&16)&&ve(Ke,le,me),_e&&J(U)}(vt&&(_t=$e&&$e.onVnodeUnmounted)||Ne)&&or(()=>{_t&&Ca(_t,le,U),Ne&&ws(U,null,le,"unmounted")},me)},J=U=>{const{type:le,el:me,anchor:_e,transition:Ce}=U;if(le===tt){ue(me,_e);return}if(le===$g){b(U);return}const we=()=>{r(me),Ce&&!Ce.persisted&&Ce.afterLeave&&Ce.afterLeave()};if(U.shapeFlag&1&&Ce&&!Ce.persisted){const{leave:$e,delayLeave:Re}=Ce,Ke=()=>$e(me,we);Re?Re(U.el,we,Ke):Ke()}else we()},ue=(U,le)=>{let me;for(;U!==le;)me=p(U),r(U),U=me;r(le)},ae=(U,le,me)=>{const{bum:_e,scope:Ce,job:we,subTree:$e,um:Re,m:Ke,a:De}=U;hw(Ke),hw(De),_e&&xf(_e),Ce.stop(),we&&(we.flags|=8,X($e,U,le,me)),Re&&or(Re,le),or(()=>{U.isUnmounted=!0},le)},ve=(U,le,me,_e=!1,Ce=!1,we=0)=>{for(let $e=we;$e<U.length;$e++)X(U[$e],le,me,_e,Ce)},re=U=>{if(U.shapeFlag&6)return re(U.component.subTree);if(U.shapeFlag&128)return U.suspense.next();const le=p(U.anchor||U.el),me=le&&le[k_];return me?p(me):le};let ce=!1;const oe=(U,le,me)=>{U==null?le._vnode&&X(le._vnode,null,null,!0):g(le._vnode||null,U,le,null,null,null,me),le._vnode=U,ce||(ce=!0,tw(),b_(),ce=!1)},ie={p:g,um:X,m:G,r:J,mt:Y,mc:I,pc:D,pbc:j,n:re,o:e};return{render:oe,hydrate:void 0,createApp:rI(oe)}}function Og({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 Cs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function pI(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ty(e,t,n=!1){const o=e.children,r=t.children;if(Be(o)&&Be(r))for(let a=0;a<o.length;a++){const l=o[a];let i=r[a];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[a]=Ul(r[a]),i.el=l.el),!n&&i.patchFlag!==-2&&Ty(l,i)),i.type===fu&&i.patchFlag!==-1&&(i.el=l.el),i.type===Xn&&!i.el&&(i.el=l.el)}}function gI(e){const t=e.slice(),n=[0];let o,r,a,l,i;const u=e.length;for(o=0;o<u;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(a=0,l=n.length-1;a<l;)i=a+l>>1,e[n[i]]<c?a=i+1:l=i;c<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}function G_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:G_(t)}function hw(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const vI=Symbol.for("v-scx"),mI=()=>et(vI);function sr(e,t){return Oy(e,null,t)}function ke(e,t,n){return Oy(e,t,n)}function Oy(e,t,n=Bn){const{immediate:o,deep:r,flush:a,once:l}=n,i=ko({},n),u=t&&o||!t&&a!=="post";let c;if(xc){if(a==="sync"){const h=mI();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=un,h.resume=un,h.pause=un,h}}const d=Wo;i.call=(h,v,g)=>aa(h,d,v,g);let f=!1;a==="post"?i.scheduler=h=>{or(h,d&&d.suspense)}:a!=="sync"&&(f=!0,i.scheduler=(h,v)=>{v?h():Cy(h)}),i.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const p=RP(e,t,i);return xc&&(c?c.push(p):u&&p()),p}function yI(e,t,n){const o=this.proxy,r=rt(e)?e.includes(".")?X_(o,e):()=>o[e]:e.bind(o,o);let a;it(t)?a=t:(a=t.handler,n=t);const l=ad(this),i=Oy(r,a.bind(o),n);return l(),i}function X_(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}const bI=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ir(t)}Modifiers`]||e[`${_l(t)}Modifiers`];function wI(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Bn;let r=n;const a=t.startsWith("update:"),l=a&&bI(o,t.slice(7));l&&(l.trim&&(r=n.map(d=>rt(d)?d.trim():d)),l.number&&(r=n.map(dy)));let i,u=o[i=ec(t)]||o[i=ec(ir(t))];!u&&a&&(u=o[i=ec(_l(t))]),u&&aa(u,e,6,r);const c=o[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,aa(c,e,6,r)}}const CI=new WeakMap;function Z_(e,t,n=!1){const o=n?CI:t.emitsCache,r=o.get(e);if(r!==void 0)return r;const a=e.emits;let l={},i=!1;if(!it(e)){const u=c=>{const d=Z_(c,t,!0);d&&(i=!0,ko(l,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!a&&!i?(At(e)&&o.set(e,null),null):(Be(a)?a.forEach(u=>l[u]=null):ko(l,a),At(e)&&o.set(e,l),l)}function pp(e,t){return!e||!tp(t)?!1:(t=t.slice(2).replace(/Once$/,""),rn(e,t[0].toLowerCase()+t.slice(1))||rn(e,_l(t))||rn(e,t))}function pw(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[a],slots:l,attrs:i,emit:u,render:c,renderCache:d,props:f,data:p,setupState:h,ctx:v,inheritAttrs:g}=e,m=hh(e);let y,k;try{if(n.shapeFlag&4){const b=r||o,x=b;y=xa(c.call(x,b,d,f,h,p,v)),k=i}else{const b=t;y=xa(b.length>1?b(f,{attrs:i,slots:l,emit:u}):b(f,null)),k=t.props?i:kI(i)}}catch(b){lc.length=0,ip(b,e,1),y=Q(Xn)}let C=y;if(k&&g!==!1){const b=Object.keys(k),{shapeFlag:x}=C;b.length&&x&7&&(a&&b.some(iy)&&(k=SI(k,a)),C=gl(C,k,!1,!0))}return n.dirs&&(C=gl(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Us(C,n.transition),y=C,hh(m),y}const kI=e=>{let t;for(const n in e)(n==="class"||n==="style"||tp(n))&&((t||(t={}))[n]=e[n]);return t},SI=(e,t)=>{const n={};for(const o in e)(!iy(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function _I(e,t,n){const{props:o,children:r,component:a}=e,{props:l,children:i,patchFlag:u}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?gw(o,l,c):!!l;if(u&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const p=d[f];if(l[p]!==o[p]&&!pp(c,p))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:o===l?!1:o?l?gw(o,l,c):!0:!!l;return!1}function gw(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const a=o[r];if(t[a]!==e[a]&&!pp(n,a))return!0}return!1}function xI({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Q_=e=>e.__isSuspense;function EI(e,t){t&&t.pendingBranch?Be(e)?t.effects.push(...e):t.effects.push(e):BP(e)}const tt=Symbol.for("v-fgt"),fu=Symbol.for("v-txt"),Xn=Symbol.for("v-cmt"),$g=Symbol.for("v-stc"),lc=[];let xr=null;function T(e=!1){lc.push(xr=e?null:[])}function zI(){lc.pop(),xr=lc[lc.length-1]||null}let _c=1;function vh(e,t=!1){_c+=e,e<0&&xr&&t&&(xr.hasOnce=!0)}function J_(e){return e.dynamicChildren=_c>0?xr||Ii:null,zI(),_c>0&&xr&&xr.push(e),e}function F(e,t,n,o,r,a){return J_(H(e,t,n,o,r,a,!0))}function ge(e,t,n,o,r){return J_(Q(e,t,n,o,r,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function zs(e,t){return e.type===t.type&&e.key===t.key}const ex=({key:e})=>e??null,Tf=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?rt(e)||Cn(e)||it(e)?{i:No,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,a=e===tt?0:1,l=!1,i=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ex(t),ref:t&&Tf(t),scopeId:C_,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:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:No};return i?($y(u,n),a&128&&e.normalize(u)):n&&(u.shapeFlag|=rt(n)?8:16),_c>0&&!l&&xr&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&xr.push(u),u}const Q=TI;function TI(e,t=null,n=null,o=0,r=null,a=!1){if((!e||e===j_)&&(e=Xn),zn(e)){const i=gl(e,t,!0);return n&&$y(i,n),_c>0&&!a&&xr&&(i.shapeFlag&6?xr[xr.indexOf(e)]=i:xr.push(i)),i.patchFlag=-2,i}if(NI(e)&&(e=e.__vccOpts),t){t=Pa(t);let{class:i,style:u}=t;i&&!rt(i)&&(t.class=M(i)),At(u)&&(wy(u)&&!Be(u)&&(u=ko({},u)),t.style=ht(u))}const l=rt(e)?1:Q_(e)?128:S_(e)?64:At(e)?4:it(e)?2:0;return H(e,t,n,o,r,l,a,!0)}function Pa(e){return e?wy(e)||q_(e)?ko({},e):e:null}function gl(e,t,n=!1,o=!1){const{props:r,ref:a,patchFlag:l,children:i,transition:u}=e,c=t?Vt(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ex(c),ref:t&&t.ref?n&&a?Be(a)?a.concat(Tf(t)):[a,Tf(t)]:Tf(t):a,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!==tt?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gl(e.ssContent),ssFallback:e.ssFallback&&gl(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&o&&Us(d,u.clone(d)),d}function Tt(e=" ",t=0){return Q(fu,null,e,t)}function fe(e="",t=!1){return t?(T(),ge(Xn,null,e)):Q(Xn,null,e)}function xa(e){return e==null||typeof e=="boolean"?Q(Xn):Be(e)?Q(tt,null,e.slice()):zn(e)?Ul(e):Q(fu,null,String(e))}function Ul(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gl(e)}function $y(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Be(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),$y(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!q_(t)?t._ctx=No:r===3&&No&&(No.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else it(t)?(t={default:t,_ctx:No},n=32):(t=String(t),o&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vt(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=M([t.class,o.class]));else if(r==="style")t.style=ht([t.style,o.style]);else if(tp(r)){const a=t[r],l=o[r];l&&a!==l&&!(Be(a)&&a.includes(l))&&(t[r]=a?[].concat(a,l):l)}else r!==""&&(t[r]=o[r])}return t}function Ca(e,t,n,o=null){aa(e,t,7,[n,o])}const OI=B_();let $I=0;function PI(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||OI,a={uid:$I++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new JS(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:H_(o,r),emitsOptions:Z_(o,r),emit:null,emitted:null,propsDefaults:Bn,inheritAttrs:o.inheritAttrs,ctx:Bn,data:Bn,props:Bn,attrs:Bn,slots:Bn,refs:Bn,setupState:Bn,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 a.ctx={_:a},a.root=t?t.root:a,a.emit=wI.bind(null,a),e.ce&&e.ce(a),a}let Wo=null;const Lt=()=>Wo||No;let mh,Mv;{const e=rp(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),a=>{r.length>1?r.forEach(l=>l(a)):r[0](a)}};mh=t("__VUE_INSTANCE_SETTERS__",n=>Wo=n),Mv=t("__VUE_SSR_SETTERS__",n=>xc=n)}const ad=e=>{const t=Wo;return mh(e),e.scope.on(),()=>{e.scope.off(),mh(t)}},vw=()=>{Wo&&Wo.scope.off(),mh(null)};function tx(e){return e.vnode.shapeFlag&4}let xc=!1;function II(e,t=!1,n=!1){t&&Mv(t);const{props:o,children:r}=e.vnode,a=tx(e);lI(e,o,a,t),cI(e,r,n||t);const l=a?MI(e,t):void 0;return t&&Mv(!1),l}function MI(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ZP);const{setup:o}=n;if(o){hl();const r=e.setupContext=o.length>1?ox(e):null,a=ad(e),l=rd(o,e,0,[e.props,r]),i=Hs(l);if(pl(),a(),(i||e.sp)&&!ji(e)&&I_(e),i){if(l.then(vw,vw),t)return l.then(u=>{mw(e,u)}).catch(u=>{ip(u,e,0)});e.asyncDep=l}else mw(e,l)}else nx(e)}function mw(e,t,n){it(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:At(t)&&(e.setupState=g_(t)),nx(e)}function nx(e,t,n){const o=e.type;e.render||(e.render=o.render||un);{const r=ad(e);hl();try{QP(e)}finally{pl(),r()}}}const AI={get(e,t){return Ho(e,"get",""),e[t]}};function ox(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,AI),slots:e.slots,emit:e.emit,expose:t}}function gp(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(g_(ea(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ac)return ac[n](e)},has(t,n){return n in t||n in ac}})):e.proxy}function jI(e,t=!0){return it(e)?e.displayName||e.name:e.name||t&&e.__name}function NI(e){return it(e)&&"__vccOpts"in e}const S=(e,t)=>jP(e,t,xc);function mt(e,t,n){try{vh(-1);const o=arguments.length;return o===2?At(t)&&!Be(t)?zn(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&zn(n)&&(n=[n]),Q(e,t,n))}finally{vh(1)}}const RI="3.5.24",DI=un;let Av;const yw=typeof window<"u"&&window.trustedTypes;if(yw)try{Av=yw.createPolicy("vue",{createHTML:e=>e})}catch{}const rx=Av?e=>Av.createHTML(e):e=>e,LI="http://www.w3.org/2000/svg",BI="http://www.w3.org/1998/Math/MathML",el=typeof document<"u"?document:null,bw=el&&el.createElement("template"),VI={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?el.createElementNS(LI,e):t==="mathml"?el.createElementNS(BI,e):n?el.createElement(e,{is:n}):el.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>el.createTextNode(e),createComment:e=>el.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>el.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,a){const l=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{bw.innerHTML=rx(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const i=bw.content;if(o==="svg"||o==="mathml"){const u=i.firstChild;for(;u.firstChild;)i.appendChild(u.firstChild);i.removeChild(u)}t.insertBefore(i,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rl="transition",Nu="animation",Ui=Symbol("_vtc"),ax={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},lx=ko({},T_,ax),FI=e=>(e.displayName="Transition",e.props=lx,e),So=FI((e,{slots:t})=>mt(qP,sx(e),t)),ks=(e,t=[])=>{Be(e)?e.forEach(n=>n(...t)):e&&e(...t)},ww=e=>e?Be(e)?e.some(t=>t.length>1):e.length>1:!1;function sx(e){const t={};for(const A in e)A in ax||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:u=a,appearActiveClass:c=l,appearToClass:d=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=qI(r),g=v&&v[0],m=v&&v[1],{onBeforeEnter:y,onEnter:k,onEnterCancelled:C,onLeave:b,onLeaveCancelled:x,onBeforeAppear:_=y,onAppear:z=k,onAppearCancelled:I=C}=t,P=(A,K,Y,Z)=>{A._enterCancelled=Z,Vl(A,K?d:i),Vl(A,K?c:l),Y&&Y()},j=(A,K)=>{A._isLeaving=!1,Vl(A,f),Vl(A,h),Vl(A,p),K&&K()},O=A=>(K,Y)=>{const Z=A?z:k,$=()=>P(K,A,Y);ks(Z,[K,$]),Cw(()=>{Vl(K,A?u:a),Sa(K,A?d:i),ww(Z)||kw(K,o,g,$)})};return ko(t,{onBeforeEnter(A){ks(y,[A]),Sa(A,a),Sa(A,l)},onBeforeAppear(A){ks(_,[A]),Sa(A,u),Sa(A,c)},onEnter:O(!1),onAppear:O(!0),onLeave(A,K){A._isLeaving=!0;const Y=()=>j(A,K);Sa(A,f),A._enterCancelled?(Sa(A,p),jv(A)):(jv(A),Sa(A,p)),Cw(()=>{A._isLeaving&&(Vl(A,f),Sa(A,h),ww(b)||kw(A,o,m,Y))}),ks(b,[A,Y])},onEnterCancelled(A){P(A,!1,void 0,!0),ks(C,[A])},onAppearCancelled(A){P(A,!0,void 0,!0),ks(I,[A])},onLeaveCancelled(A){j(A),ks(x,[A])}})}function qI(e){if(e==null)return null;if(At(e))return[Pg(e.enter),Pg(e.leave)];{const t=Pg(e);return[t,t]}}function Pg(e){return tP(e)}function Sa(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ui]||(e[Ui]=new Set)).add(t)}function Vl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Ui];n&&(n.delete(t),n.size||(e[Ui]=void 0))}function Cw(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let KI=0;function kw(e,t,n,o){const r=e._endId=++KI,a=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(a,n);const{type:l,timeout:i,propCount:u}=ix(e,t);if(!l)return o();const c=l+"end";let d=0;const f=()=>{e.removeEventListener(c,p),a()},p=h=>{h.target===e&&++d>=u&&f()};setTimeout(()=>{d<u&&f()},i+1),e.addEventListener(c,p)}function ix(e,t){const n=window.getComputedStyle(e),o=v=>(n[v]||"").split(", "),r=o(`${Rl}Delay`),a=o(`${Rl}Duration`),l=Sw(r,a),i=o(`${Nu}Delay`),u=o(`${Nu}Duration`),c=Sw(i,u);let d=null,f=0,p=0;t===Rl?l>0&&(d=Rl,f=l,p=a.length):t===Nu?c>0&&(d=Nu,f=c,p=u.length):(f=Math.max(l,c),d=f>0?l>c?Rl:Nu:null,p=d?d===Rl?a.length:u.length:0);const h=d===Rl&&/\b(?:transform|all)(?:,|$)/.test(o(`${Rl}Property`).toString());return{type:d,timeout:f,propCount:p,hasTransform:h}}function Sw(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>_w(n)+_w(e[o])))}function _w(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function jv(e){return(e?e.ownerDocument:document).body.offsetHeight}function HI(e,t,n){const o=e[Ui];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yh=Symbol("_vod"),ux=Symbol("_vsh"),tn={name:"show",beforeMount(e,{value:t},{transition:n}){e[yh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ru(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ru(e,!0),o.enter(e)):o.leave(e,()=>{Ru(e,!1)}):Ru(e,t))},beforeUnmount(e,{value:t}){Ru(e,t)}};function Ru(e,t){e.style.display=t?e[yh]:"none",e[ux]=!t}const WI=Symbol(""),UI=/(?:^|;)\s*display\s*:/;function YI(e,t,n){const o=e.style,r=rt(n);let a=!1;if(n&&!r){if(t)if(rt(t))for(const l of t.split(";")){const i=l.slice(0,l.indexOf(":")).trim();n[i]==null&&Of(o,i,"")}else for(const l in t)n[l]==null&&Of(o,l,"");for(const l in n)l==="display"&&(a=!0),Of(o,l,n[l])}else if(r){if(t!==n){const l=o[WI];l&&(n+=";"+l),o.cssText=n,a=UI.test(n)}}else t&&e.removeAttribute("style");yh in e&&(e[yh]=a?o.display:"",e[ux]&&(o.display="none"))}const xw=/\s*!important$/;function Of(e,t,n){if(Be(n))n.forEach(o=>Of(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=GI(e,t);xw.test(n)?e.setProperty(_l(o),n.replace(xw,""),"important"):e[o]=n}}const Ew=["Webkit","Moz","ms"],Ig={};function GI(e,t){const n=Ig[t];if(n)return n;let o=ir(t);if(o!=="filter"&&o in e)return Ig[t]=o;o=od(o);for(let r=0;r<Ew.length;r++){const a=Ew[r]+o;if(a in e)return Ig[t]=a}return t}const zw="http://www.w3.org/1999/xlink";function Tw(e,t,n,o,r,a=sP(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(zw,t.slice(6,t.length)):e.setAttributeNS(zw,t,n):n==null||a&&!GS(n)?e.removeAttribute(t):e.setAttribute(t,a?"":ra(n)?String(n):n)}function Ow(e,t,n,o,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?rx(n):n);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const i=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(i!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=GS(n):n==null&&i==="string"?(n="",l=!0):i==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(r||t)}function Gl(e,t,n,o){e.addEventListener(t,n,o)}function XI(e,t,n,o){e.removeEventListener(t,n,o)}const $w=Symbol("_vei");function ZI(e,t,n,o,r=null){const a=e[$w]||(e[$w]={}),l=a[t];if(o&&l)l.value=o;else{const[i,u]=QI(t);if(o){const c=a[t]=tM(o,r);Gl(e,i,c,u)}else l&&(XI(e,i,l,u),a[t]=void 0)}}const Pw=/(?:Once|Passive|Capture)$/;function QI(e){let t;if(Pw.test(e)){t={};let o;for(;o=e.match(Pw);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):_l(e.slice(2)),t]}let Mg=0;const JI=Promise.resolve(),eM=()=>Mg||(JI.then(()=>Mg=0),Mg=Date.now());function tM(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;aa(nM(o,n.value),t,5,[o])};return n.value=e,n.attached=eM(),n}function nM(e,t){if(Be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Iw=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oM=(e,t,n,o,r,a)=>{const l=r==="svg";t==="class"?HI(e,o,l):t==="style"?YI(e,n,o):tp(t)?iy(t)||ZI(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rM(e,t,o,l))?(Ow(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tw(e,t,o,l,a,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!rt(o))?Ow(e,ir(t),o,a,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Tw(e,t,o,l))};function rM(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Iw(t)&&it(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Iw(t)&&rt(n)?!1:t in e}const cx=new WeakMap,dx=new WeakMap,bh=Symbol("_moveCb"),Mw=Symbol("_enterCb"),aM=e=>(delete e.props.mode,e),lM=aM({name:"TransitionGroup",props:ko({},lx,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Lt(),o=z_();let r,a;return fa(()=>{if(!r.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!cM(r[0].el,n.vnode.el,l)){r=[];return}r.forEach(sM),r.forEach(iM);const i=r.filter(uM);jv(n.vnode.el),i.forEach(u=>{const c=u.el,d=c.style;Sa(c,l),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[bh]=p=>{p&&p.target!==c||(!p||p.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[bh]=null,Vl(c,l))};c.addEventListener("transitionend",f)}),r=[]}),()=>{const l=wn(e),i=sx(l);let u=l.tag||tt;if(r=[],a)for(let c=0;c<a.length;c++){const d=a[c];d.el&&d.el instanceof Element&&(r.push(d),Us(d,Sc(d,i,o,n)),cx.set(d,{left:d.el.offsetLeft,top:d.el.offsetTop}))}a=t.default?ky(t.default()):[];for(let c=0;c<a.length;c++){const d=a[c];d.key!=null&&Us(d,Sc(d,i,o,n))}return Q(u,null,a)}}}),fx=lM;function sM(e){const t=e.el;t[bh]&&t[bh](),t[Mw]&&t[Mw]()}function iM(e){dx.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function uM(e){const t=cx.get(e),n=dx.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${o}px,${r}px)`,a.transitionDuration="0s",e}}function cM(e,t,n){const o=e.cloneNode(),r=e[Ui];r&&r.forEach(i=>{i.split(/\s+/).forEach(u=>u&&o.classList.remove(u))}),n.split(/\s+/).forEach(i=>i&&o.classList.add(i)),o.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(o);const{hasTransform:l}=ix(o);return a.removeChild(o),l}const Yi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Be(t)?n=>xf(t,n):t};function dM(e){e.target.composing=!0}function Aw(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const cl=Symbol("_assign");function jw(e,t,n){return t&&(e=e.trim()),n&&(e=dy(e)),e}const vp={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[cl]=Yi(r);const a=o||r.props&&r.props.type==="number";Gl(e,t?"change":"input",l=>{l.target.composing||e[cl](jw(e.value,n,a))}),(n||a)&&Gl(e,"change",()=>{e.value=jw(e.value,n,a)}),t||(Gl(e,"compositionstart",dM),Gl(e,"compositionend",Aw),Gl(e,"change",Aw))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:a}},l){if(e[cl]=Yi(l),e.composing)return;const i=(a||e.type==="number")&&!/^0\d/.test(e.value)?dy(e.value):e.value,u=t??"";i!==u&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===u)||(e.value=u))}},hx={deep:!0,created(e,t,n){e[cl]=Yi(n),Gl(e,"change",()=>{const o=e._modelValue,r=gx(e),a=e.checked,l=e[cl];if(Be(o)){const i=XS(o,r),u=i!==-1;if(a&&!u)l(o.concat(r));else if(!a&&u){const c=[...o];c.splice(i,1),l(c)}}else if(np(o)){const i=new Set(o);a?i.add(r):i.delete(r),l(i)}else l(vx(e,a))})},mounted:Nw,beforeUpdate(e,t,n){e[cl]=Yi(n),Nw(e,t,n)}};function Nw(e,{value:t,oldValue:n},o){e._modelValue=t;let r;if(Be(t))r=XS(t,o.props.value)>-1;else if(np(t))r=t.has(o.props.value);else{if(t===n)return;r=Wi(t,vx(e,!0))}e.checked!==r&&(e.checked=r)}const px={created(e,{value:t},n){e.checked=Wi(t,n.props.value),e[cl]=Yi(n),Gl(e,"change",()=>{e[cl](gx(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[cl]=Yi(o),t!==n&&(e.checked=Wi(t,o.props.value))}};function gx(e){return"_value"in e?e._value:e.value}function vx(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fM=["ctrl","shift","alt","meta"],hM={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)=>fM.some(n=>e[`${n}Key`]&&!t.includes(n))},wt=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((r,...a)=>{for(let l=0;l<t.length;l++){const i=hM[t[l]];if(i&&i(r,t))return}return e(r,...a)}))},pM={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ln=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(r=>{if(!("key"in r))return;const a=_l(r.key);if(t.some(l=>l===a||pM[l]===a))return e(r)}))},gM=ko({patchProp:oM},VI);let Rw;function mx(){return Rw||(Rw=fI(gM))}const as=((...e)=>{mx().render(...e)}),yx=((...e)=>{const t=mx().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=mM(o);if(!r)return;const a=t._component;!it(a)&&!a.render&&!a.template&&(a.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const l=n(r,!1,vM(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t});function vM(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mM(e){return rt(e)?document.querySelector(e):e}let bx;const mp=e=>bx=e,wx=Symbol();function Nv(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var sc;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(sc||(sc={}));function yM(){const e=fy(!0),t=e.run(()=>L({}));let n=[],o=[];const r=ea({install(a){mp(r),r._a=a,a.provide(wx,r),a.config.globalProperties.$pinia=r,o.forEach(l=>n.push(l)),o=[]},use(a){return this._a?n.push(a):o.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Cx=()=>{};function Dw(e,t,n,o=Cx){e.add(t);const r=()=>{e.delete(t)&&o()};return!n&&hy()&&py(r),r}function vi(e,...t){e.forEach(n=>{n(...t)})}const bM=e=>e(),Lw=Symbol(),Ag=Symbol();function Rv(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Nv(r)&&Nv(o)&&e.hasOwnProperty(n)&&!Cn(o)&&!ul(o)?e[n]=Rv(r,o):e[n]=o}return e}const wM=Symbol();function CM(e){return!Nv(e)||!Object.prototype.hasOwnProperty.call(e,wM)}const{assign:Fl}=Object;function kM(e){return!!(Cn(e)&&e.effect)}function SM(e,t,n,o){const{state:r,actions:a,getters:l}=t,i=n.state.value[e];let u;function c(){i||(n.state.value[e]=r?r():{});const d=fo(n.state.value[e]);return Fl(d,a,Object.keys(l||{}).reduce((f,p)=>(f[p]=ea(S(()=>{mp(n);const h=n._s.get(e);return l[p].call(h,h)})),f),{}))}return u=kx(e,c,t,n,o,!0),u}function kx(e,t,n={},o,r,a){let l;const i=Fl({actions:{}},n),u={deep:!0};let c,d,f=new Set,p=new Set,h;const v=o.state.value[e];!a&&!v&&(o.state.value[e]={}),L({});let g;function m(I){let P;c=d=!1,typeof I=="function"?(I(o.state.value[e]),P={type:sc.patchFunction,storeId:e,events:h}):(Rv(o.state.value[e],I),P={type:sc.patchObject,payload:I,storeId:e,events:h});const j=g=Symbol();Qe().then(()=>{g===j&&(c=!0)}),d=!0,vi(f,P,o.state.value[e])}const y=a?function(){const{state:P}=n,j=P?P():{};this.$patch(O=>{Fl(O,j)})}:Cx;function k(){l.stop(),f.clear(),p.clear(),o._s.delete(e)}const C=(I,P="")=>{if(Lw in I)return I[Ag]=P,I;const j=function(){mp(o);const O=Array.from(arguments),A=new Set,K=new Set;function Y(R){A.add(R)}function Z(R){K.add(R)}vi(p,{args:O,name:j[Ag],store:x,after:Y,onError:Z});let $;try{$=I.apply(this&&this.$id===e?this:x,O)}catch(R){throw vi(K,R),R}return $ instanceof Promise?$.then(R=>(vi(A,R),R)).catch(R=>(vi(K,R),Promise.reject(R))):(vi(A,$),$)};return j[Lw]=!0,j[Ag]=P,j},b={_p:o,$id:e,$onAction:Dw.bind(null,p),$patch:m,$reset:y,$subscribe(I,P={}){const j=Dw(f,I,P.detached,()=>O()),O=l.run(()=>ke(()=>o.state.value[e],A=>{(P.flush==="sync"?d:c)&&I({storeId:e,type:sc.direct,events:h},A)},Fl({},u,P)));return j},$dispose:k},x=an(b);o._s.set(e,x);const z=(o._a&&o._a.runWithContext||bM)(()=>o._e.run(()=>(l=fy()).run(()=>t({action:C}))));for(const I in z){const P=z[I];if(Cn(P)&&!kM(P)||ul(P))a||(v&&CM(P)&&(Cn(P)?P.value=v[I]:Rv(P,v[I])),o.state.value[e][I]=P);else if(typeof P=="function"){const j=C(P,I);z[I]=j,i.actions[I]=P}}return Fl(x,z),Fl(wn(x),z),Object.defineProperty(x,"$state",{get:()=>o.state.value[e],set:I=>{m(P=>{Fl(P,I)})}}),o._p.forEach(I=>{Fl(x,l.run(()=>I({store:x,app:o._a,pinia:o,options:i})))}),v&&a&&n.hydrate&&n.hydrate(x.$state,v),c=!0,d=!0,x}function Sx(e,t,n){let o;const r=typeof t=="function";o=r?n:t;function a(l,i){const u=aI();return l=l||(u?et(wx,null):null),l&&mp(l),l=bx,l._s.has(e)||(r?kx(e,t,o,l):SM(e,o,l)),l._s.get(e)}return a.$id=e,a}function vl(e){const t=wn(e),n={};for(const o in t){const r=t[o];r.effect?n[o]=S({get:()=>e[o],set(a){e[o]=a}}):(Cn(r)||ul(r))&&(n[o]=sn(e,o))}return n}const jg=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Ng(e,t,n,o){e.addEventListener?e.addEventListener(t,n,o):e.attachEvent&&e.attachEvent("on".concat(t),n)}function Du(e,t,n,o){e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent&&e.detachEvent("on".concat(t),n)}function _x(e,t){const n=t.slice(0,t.length-1);for(let o=0;o<n.length;o++)n[o]=e[n[o].toLowerCase()];return n}function xx(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");const t=e.split(",");let n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function _M(e,t){const n=e.length>=t.length?e:t,o=e.length>=t.length?t:e;let r=!0;for(let a=0;a<n.length;a++)o.indexOf(n[a])===-1&&(r=!1);return r}const Ec={backspace:8,"⌫":8,tab:9,clear:12,enter:13,"↩":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,arrowup:38,arrowdown:40,arrowleft:37,arrowright:39,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":jg?173:189,"=":jg?61:187,";":jg?59:186,"'":222,"{":219,"}":221,"[":219,"]":221,"\\":220},ta={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,meta:91,command:91},Uu={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Mo={16:!1,18:!1,17:!1,91:!1},no={};for(let e=1;e<20;e++)Ec["f".concat(e)]=111+e;let Gn=[],ic=null,Ex="all";const tl=new Map,hu=e=>Ec[e.toLowerCase()]||ta[e.toLowerCase()]||e.toUpperCase().charCodeAt(0),xM=e=>Object.keys(Ec).find(t=>Ec[t]===e),EM=e=>Object.keys(ta).find(t=>ta[t]===e);function zx(e){Ex=e||"all"}function zc(){return Ex||"all"}function zM(){return Gn.slice(0)}function TM(){return Gn.map(e=>xM(e)||EM(e)||String.fromCharCode(e))}function OM(){const e=[];return Object.keys(no).forEach(t=>{no[t].forEach(n=>{let{key:o,scope:r,mods:a,shortcut:l}=n;e.push({scope:r,shortcut:l,mods:a,keys:o.split("+").map(i=>hu(i))})})}),e}function $M(e){const t=e.target||e.srcElement,{tagName:n}=t;let o=!0;const r=n==="INPUT"&&!["checkbox","radio","range","button","file","reset","submit","color"].includes(t.type);return(t.isContentEditable||(r||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(o=!1),o}function PM(e){return typeof e=="string"&&(e=hu(e)),Gn.indexOf(e)!==-1}function IM(e,t){let n,o;e||(e=zc());for(const r in no)if(Object.prototype.hasOwnProperty.call(no,r))for(n=no[r],o=0;o<n.length;)n[o].scope===e?n.splice(o,1).forEach(l=>{let{element:i}=l;return Py(i)}):o++;zc()===e&&zx(t||"all")}function MM(e){let t=e.keyCode||e.which||e.charCode;e.key&&e.key.toLowerCase()==="capslock"&&(t=hu(e.key));const n=Gn.indexOf(t);if(n>=0&&Gn.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&Gn.splice(0,Gn.length),(t===93||t===224)&&(t=91),t in Mo){Mo[t]=!1;for(const o in ta)ta[o]===t&&(gr[o]=!1)}}function Tx(e){if(typeof e>"u")Object.keys(no).forEach(r=>{Array.isArray(no[r])&&no[r].forEach(a=>nf(a)),delete no[r]}),Py(null);else if(Array.isArray(e))e.forEach(r=>{r.key&&nf(r)});else if(typeof e=="object")e.key&&nf(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];let[r,a]=n;typeof r=="function"&&(a=r,r=""),nf({key:e,scope:r,method:a,splitKey:"+"})}}const nf=e=>{let{key:t,scope:n,method:o,splitKey:r="+"}=e;xx(t).forEach(l=>{const i=l.split(r),u=i.length,c=i[u-1],d=c==="*"?"*":hu(c);if(!no[d])return;n||(n=zc());const f=u>1?_x(ta,i):[],p=[];no[d]=no[d].filter(h=>{const g=(o?h.method===o:!0)&&h.scope===n&&_M(h.mods,f);return g&&p.push(h.element),!g}),p.forEach(h=>Py(h))})};function Bw(e,t,n,o){if(t.element!==o)return;let r;if(t.scope===n||t.scope==="all"){r=t.mods.length>0;for(const a in Mo)Object.prototype.hasOwnProperty.call(Mo,a)&&(!Mo[a]&&t.mods.indexOf(+a)>-1||Mo[a]&&t.mods.indexOf(+a)===-1)&&(r=!1);(t.mods.length===0&&!Mo[16]&&!Mo[18]&&!Mo[17]&&!Mo[91]||r||t.shortcut==="*")&&(t.keys=[],t.keys=t.keys.concat(Gn),t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function Vw(e,t){const n=no["*"];let o=e.keyCode||e.which||e.charCode;if(e.key&&e.key.toLowerCase()==="capslock"||!gr.filter.call(this,e))return;if((o===93||o===224)&&(o=91),Gn.indexOf(o)===-1&&o!==229&&Gn.push(o),["metaKey","ctrlKey","altKey","shiftKey"].forEach(i=>{const u=Uu[i];e[i]&&Gn.indexOf(u)===-1?Gn.push(u):!e[i]&&Gn.indexOf(u)>-1?Gn.splice(Gn.indexOf(u),1):i==="metaKey"&&e[i]&&(Gn=Gn.filter(c=>c in Uu||c===o))}),o in Mo){Mo[o]=!0;for(const i in ta)if(Object.prototype.hasOwnProperty.call(ta,i)){const u=Uu[ta[i]];gr[i]=e[u]}if(!n)return}for(const i in Mo)Object.prototype.hasOwnProperty.call(Mo,i)&&(Mo[i]=e[Uu[i]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(Gn.indexOf(17)===-1&&Gn.push(17),Gn.indexOf(18)===-1&&Gn.push(18),Mo[17]=!0,Mo[18]=!0);const r=zc();if(n)for(let i=0;i<n.length;i++)n[i].scope===r&&(e.type==="keydown"&&n[i].keydown||e.type==="keyup"&&n[i].keyup)&&Bw(e,n[i],r,t);if(!(o in no))return;const a=no[o],l=a.length;for(let i=0;i<l;i++)if((e.type==="keydown"&&a[i].keydown||e.type==="keyup"&&a[i].keyup)&&a[i].key){const u=a[i],{splitKey:c}=u,d=u.key.split(c),f=[];for(let p=0;p<d.length;p++)f.push(hu(d[p]));f.sort().join("")===Gn.sort().join("")&&Bw(e,u,r,t)}}function gr(e,t,n){Gn=[];const o=xx(e);let r=[],a="all",l=document,i=0,u=!1,c=!0,d="+",f=!1,p=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(a=t.scope),t.element&&(l=t.element),t.keyup&&(u=t.keyup),t.keydown!==void 0&&(c=t.keydown),t.capture!==void 0&&(f=t.capture),typeof t.splitKey=="string"&&(d=t.splitKey),t.single===!0&&(p=!0)),typeof t=="string"&&(a=t),p&&Tx(e,a);i<o.length;i++)e=o[i].split(d),r=[],e.length>1&&(r=_x(ta,e)),e=e[e.length-1],e=e==="*"?"*":hu(e),e in no||(no[e]=[]),no[e].push({keyup:u,keydown:c,scope:a,mods:r,shortcut:o[i],method:n,key:o[i],splitKey:d,element:l});if(typeof l<"u"&&window){if(!tl.has(l)){const h=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;return Vw(g,l)},v=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;Vw(g,l),MM(g)};tl.set(l,{keydownListener:h,keyupListenr:v,capture:f}),Ng(l,"keydown",h,f),Ng(l,"keyup",v,f)}if(!ic){const h=()=>{Gn=[]};ic={listener:h,capture:f},Ng(window,"focus",h,f)}}}function AM(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(no).forEach(n=>{no[n].filter(r=>r.scope===t&&r.shortcut===e).forEach(r=>{r&&r.method&&r.method()})})}function Py(e){const t=Object.values(no).flat();if(t.findIndex(o=>{let{element:r}=o;return r===e})<0){const{keydownListener:o,keyupListenr:r,capture:a}=tl.get(e)||{};o&&r&&(Du(e,"keyup",r,a),Du(e,"keydown",o,a),tl.delete(e))}if((t.length<=0||tl.size<=0)&&(Object.keys(tl).forEach(r=>{const{keydownListener:a,keyupListenr:l,capture:i}=tl.get(r)||{};a&&l&&(Du(r,"keyup",l,i),Du(r,"keydown",a,i),tl.delete(r))}),tl.clear(),Object.keys(no).forEach(r=>delete no[r]),ic)){const{listener:r,capture:a}=ic;Du(window,"focus",r,a),ic=null}}const Rg={getPressedKeyString:TM,setScope:zx,getScope:zc,deleteScope:IM,getPressedKeyCodes:zM,getAllKeyCodes:OM,isPressed:PM,filter:$M,trigger:AM,unbind:Tx,keyMap:Ec,modifier:ta,modifierMap:Uu};for(const e in Rg)Object.prototype.hasOwnProperty.call(Rg,e)&&(gr[e]=Rg[e]);if(typeof window<"u"){const e=window.hotkeys;gr.noConflict=t=>(t&&window.hotkeys===gr&&(window.hotkeys=e),gr),window.hotkeys=gr}const jM="2.11.7",Fw=Symbol("INSTALLED_KEY"),Ox=Symbol(),uc="el",NM="is-",Ss=(e,t,n,o,r)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),o&&(a+=`__${o}`),r&&(a+=`--${r}`),a},$x=Symbol("namespaceContextKey"),Iy=e=>{const t=e||(Lt()?et($x,L(uc)):L(uc));return S(()=>s(t)||uc)},Ie=(e,t)=>{const n=Iy(t);return{namespace:n,b:(g="")=>Ss(n.value,e,g,"",""),e:g=>g?Ss(n.value,e,"",g,""):"",m:g=>g?Ss(n.value,e,"","",g):"",be:(g,m)=>g&&m?Ss(n.value,e,g,m,""):"",em:(g,m)=>g&&m?Ss(n.value,e,"",g,m):"",bm:(g,m)=>g&&m?Ss(n.value,e,g,"",m):"",bem:(g,m,y)=>g&&m&&y?Ss(n.value,e,g,m,y):"",is:(g,...m)=>{const y=m.length>=1?m[0]:!0;return g&&y?`${NM}${g}`:""},cssVar:g=>{const m={};for(const y in g)g[y]&&(m[`--${n.value}-${y}`]=g[y]);return m},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const m={};for(const y in g)g[y]&&(m[`--${n.value}-${e}-${y}`]=g[y]);return m},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}};var Px=typeof global=="object"&&global&&global.Object===Object&&global,RM=typeof self=="object"&&self&&self.Object===Object&&self,ha=Px||RM||Function("return this")(),qr=ha.Symbol,Ix=Object.prototype,DM=Ix.hasOwnProperty,LM=Ix.toString,Lu=qr?qr.toStringTag:void 0;function BM(e){var t=DM.call(e,Lu),n=e[Lu];try{e[Lu]=void 0;var o=!0}catch{}var r=LM.call(e);return o&&(t?e[Lu]=n:delete e[Lu]),r}var VM=Object.prototype,FM=VM.toString;function qM(e){return FM.call(e)}var KM="[object Null]",HM="[object Undefined]",qw=qr?qr.toStringTag:void 0;function ri(e){return e==null?e===void 0?HM:KM:qw&&qw in Object(e)?BM(e):qM(e)}function Na(e){return e!=null&&typeof e=="object"}var WM="[object Symbol]";function yp(e){return typeof e=="symbol"||Na(e)&&ri(e)==WM}function My(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var ur=Array.isArray,Kw=qr?qr.prototype:void 0,Hw=Kw?Kw.toString:void 0;function Mx(e){if(typeof e=="string")return e;if(ur(e))return My(e,Mx)+"";if(yp(e))return Hw?Hw.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var UM=/\s/;function YM(e){for(var t=e.length;t--&&UM.test(e.charAt(t)););return t}var GM=/^\s+/;function XM(e){return e&&e.slice(0,YM(e)+1).replace(GM,"")}function cr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ww=NaN,ZM=/^[-+]0x[0-9a-f]+$/i,QM=/^0b[01]+$/i,JM=/^0o[0-7]+$/i,eA=parseInt;function cc(e){if(typeof e=="number")return e;if(yp(e))return Ww;if(cr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=cr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=XM(e);var n=QM.test(e);return n||JM.test(e)?eA(e.slice(2),n?2:8):ZM.test(e)?Ww:+e}function Ay(e){return e}var tA="[object AsyncFunction]",nA="[object Function]",oA="[object GeneratorFunction]",rA="[object Proxy]";function jy(e){if(!cr(e))return!1;var t=ri(e);return t==nA||t==oA||t==tA||t==rA}var Dg=ha["__core-js_shared__"],Uw=(function(){var e=/[^.]+$/.exec(Dg&&Dg.keys&&Dg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function aA(e){return!!Uw&&Uw in e}var lA=Function.prototype,sA=lA.toString;function ai(e){if(e!=null){try{return sA.call(e)}catch{}try{return e+""}catch{}}return""}var iA=/[\\^$.*+?()[\]{}|]/g,uA=/^\[object .+?Constructor\]$/,cA=Function.prototype,dA=Object.prototype,fA=cA.toString,hA=dA.hasOwnProperty,pA=RegExp("^"+fA.call(hA).replace(iA,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gA(e){if(!cr(e)||aA(e))return!1;var t=jy(e)?pA:uA;return t.test(ai(e))}function vA(e,t){return e?.[t]}function li(e,t){var n=vA(e,t);return gA(n)?n:void 0}var Dv=li(ha,"WeakMap"),Yw=Object.create,mA=(function(){function e(){}return function(t){if(!cr(t))return{};if(Yw)return Yw(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function yA(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)}function bA(){}function Ax(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var wA=800,CA=16,kA=Date.now;function SA(e){var t=0,n=0;return function(){var o=kA(),r=CA-(o-n);if(n=o,r>0){if(++t>=wA)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function _A(e){return function(){return e}}var wh=(function(){try{var e=li(Object,"defineProperty");return e({},"",{}),e}catch{}})(),xA=wh?function(e,t){return wh(e,"toString",{configurable:!0,enumerable:!1,value:_A(t),writable:!0})}:Ay,jx=SA(xA);function EA(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}function Nx(e,t,n,o){for(var r=e.length,a=n+(o?1:-1);o?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function zA(e){return e!==e}function TA(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}function OA(e,t,n){return t===t?TA(e,t,n):Nx(e,zA,n)}function $A(e,t){var n=e==null?0:e.length;return!!n&&OA(e,t,0)>-1}var PA=9007199254740991,IA=/^(?:0|[1-9]\d*)$/;function bp(e,t){var n=typeof e;return t=t??PA,!!t&&(n=="number"||n!="symbol"&&IA.test(e))&&e>-1&&e%1==0&&e<t}function Ny(e,t,n){t=="__proto__"&&wh?wh(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ld(e,t){return e===t||e!==e&&t!==t}var MA=Object.prototype,AA=MA.hasOwnProperty;function Ry(e,t,n){var o=e[t];(!(AA.call(e,t)&&ld(o,n))||n===void 0&&!(t in e))&&Ny(e,t,n)}function pu(e,t,n,o){var r=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var i=t[a],u=void 0;u===void 0&&(u=e[i]),r?Ny(n,i,u):Ry(n,i,u)}return n}var Gw=Math.max;function Rx(e,t,n){return t=Gw(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,a=Gw(o.length-t,0),l=Array(a);++r<a;)l[r]=o[t+r];r=-1;for(var i=Array(t+1);++r<t;)i[r]=o[r];return i[t]=n(l),yA(e,this,i)}}function Dx(e,t){return jx(Rx(e,t,Ay),e+"")}var jA=9007199254740991;function Dy(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jA}function gu(e){return e!=null&&Dy(e.length)&&!jy(e)}function NA(e,t,n){if(!cr(n))return!1;var o=typeof t;return(o=="number"?gu(n)&&bp(t,n.length):o=="string"&&t in n)?ld(n[t],e):!1}function RA(e){return Dx(function(t,n){var o=-1,r=n.length,a=r>1?n[r-1]:void 0,l=r>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,l&&NA(n[0],n[1],l)&&(a=r<3?void 0:a,r=1),t=Object(t);++o<r;){var i=n[o];i&&e(t,i,o,a)}return t})}var DA=Object.prototype;function Ly(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||DA;return e===n}function LA(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var BA="[object Arguments]";function Xw(e){return Na(e)&&ri(e)==BA}var Lx=Object.prototype,VA=Lx.hasOwnProperty,FA=Lx.propertyIsEnumerable,Tc=Xw((function(){return arguments})())?Xw:function(e){return Na(e)&&VA.call(e,"callee")&&!FA.call(e,"callee")};function qA(){return!1}var Bx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zw=Bx&&typeof module=="object"&&module&&!module.nodeType&&module,KA=Zw&&Zw.exports===Bx,Qw=KA?ha.Buffer:void 0,HA=Qw?Qw.isBuffer:void 0,Oc=HA||qA,WA="[object Arguments]",UA="[object Array]",YA="[object Boolean]",GA="[object Date]",XA="[object Error]",ZA="[object Function]",QA="[object Map]",JA="[object Number]",ej="[object Object]",tj="[object RegExp]",nj="[object Set]",oj="[object String]",rj="[object WeakMap]",aj="[object ArrayBuffer]",lj="[object DataView]",sj="[object Float32Array]",ij="[object Float64Array]",uj="[object Int8Array]",cj="[object Int16Array]",dj="[object Int32Array]",fj="[object Uint8Array]",hj="[object Uint8ClampedArray]",pj="[object Uint16Array]",gj="[object Uint32Array]",Wn={};Wn[sj]=Wn[ij]=Wn[uj]=Wn[cj]=Wn[dj]=Wn[fj]=Wn[hj]=Wn[pj]=Wn[gj]=!0;Wn[WA]=Wn[UA]=Wn[aj]=Wn[YA]=Wn[lj]=Wn[GA]=Wn[XA]=Wn[ZA]=Wn[QA]=Wn[JA]=Wn[ej]=Wn[tj]=Wn[nj]=Wn[oj]=Wn[rj]=!1;function vj(e){return Na(e)&&Dy(e.length)&&!!Wn[ri(e)]}function By(e){return function(t){return e(t)}}var Vx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dc=Vx&&typeof module=="object"&&module&&!module.nodeType&&module,mj=dc&&dc.exports===Vx,Lg=mj&&Px.process,Gi=(function(){try{var e=dc&&dc.require&&dc.require("util").types;return e||Lg&&Lg.binding&&Lg.binding("util")}catch{}})(),Jw=Gi&&Gi.isTypedArray,Vy=Jw?By(Jw):vj,yj=Object.prototype,bj=yj.hasOwnProperty;function Fx(e,t){var n=ur(e),o=!n&&Tc(e),r=!n&&!o&&Oc(e),a=!n&&!o&&!r&&Vy(e),l=n||o||r||a,i=l?LA(e.length,String):[],u=i.length;for(var c in e)(t||bj.call(e,c))&&!(l&&(c=="length"||r&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||bp(c,u)))&&i.push(c);return i}function qx(e,t){return function(n){return e(t(n))}}var wj=qx(Object.keys,Object),Cj=Object.prototype,kj=Cj.hasOwnProperty;function Sj(e){if(!Ly(e))return wj(e);var t=[];for(var n in Object(e))kj.call(e,n)&&n!="constructor"&&t.push(n);return t}function sd(e){return gu(e)?Fx(e):Sj(e)}function _j(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var xj=Object.prototype,Ej=xj.hasOwnProperty;function zj(e){if(!cr(e))return _j(e);var t=Ly(e),n=[];for(var o in e)o=="constructor"&&(t||!Ej.call(e,o))||n.push(o);return n}function id(e){return gu(e)?Fx(e,!0):zj(e)}var Tj=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oj=/^\w*$/;function Fy(e,t){if(ur(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||yp(e)?!0:Oj.test(e)||!Tj.test(e)||t!=null&&e in Object(t)}var $c=li(Object,"create");function $j(){this.__data__=$c?$c(null):{},this.size=0}function Pj(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Ij="__lodash_hash_undefined__",Mj=Object.prototype,Aj=Mj.hasOwnProperty;function jj(e){var t=this.__data__;if($c){var n=t[e];return n===Ij?void 0:n}return Aj.call(t,e)?t[e]:void 0}var Nj=Object.prototype,Rj=Nj.hasOwnProperty;function Dj(e){var t=this.__data__;return $c?t[e]!==void 0:Rj.call(t,e)}var Lj="__lodash_hash_undefined__";function Bj(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$c&&t===void 0?Lj:t,this}function Ys(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Ys.prototype.clear=$j;Ys.prototype.delete=Pj;Ys.prototype.get=jj;Ys.prototype.has=Dj;Ys.prototype.set=Bj;function Vj(){this.__data__=[],this.size=0}function wp(e,t){for(var n=e.length;n--;)if(ld(e[n][0],t))return n;return-1}var Fj=Array.prototype,qj=Fj.splice;function Kj(e){var t=this.__data__,n=wp(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():qj.call(t,n,1),--this.size,!0}function Hj(e){var t=this.__data__,n=wp(t,e);return n<0?void 0:t[n][1]}function Wj(e){return wp(this.__data__,e)>-1}function Uj(e,t){var n=this.__data__,o=wp(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function zl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}zl.prototype.clear=Vj;zl.prototype.delete=Kj;zl.prototype.get=Hj;zl.prototype.has=Wj;zl.prototype.set=Uj;var Pc=li(ha,"Map");function Yj(){this.size=0,this.__data__={hash:new Ys,map:new(Pc||zl),string:new Ys}}function Gj(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cp(e,t){var n=e.__data__;return Gj(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Xj(e){var t=Cp(this,e).delete(e);return this.size-=t?1:0,t}function Zj(e){return Cp(this,e).get(e)}function Qj(e){return Cp(this,e).has(e)}function Jj(e,t){var n=Cp(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function Tl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Tl.prototype.clear=Yj;Tl.prototype.delete=Xj;Tl.prototype.get=Zj;Tl.prototype.has=Qj;Tl.prototype.set=Jj;var eN="Expected a function";function kp(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(eN);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],a=n.cache;if(a.has(r))return a.get(r);var l=e.apply(this,o);return n.cache=a.set(r,l)||a,l};return n.cache=new(kp.Cache||Tl),n}kp.Cache=Tl;var tN=500;function nN(e){var t=kp(e,function(o){return n.size===tN&&n.clear(),o}),n=t.cache;return t}var oN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rN=/\\(\\)?/g,aN=nN(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(oN,function(n,o,r,a){t.push(r?a.replace(rN,"$1"):o||n)}),t});function lN(e){return e==null?"":Mx(e)}function vu(e,t){return ur(e)?e:Fy(e,t)?[e]:aN(lN(e))}function mu(e){if(typeof e=="string"||yp(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Sp(e,t){t=vu(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[mu(t[n++])];return n&&n==o?e:void 0}function Zn(e,t,n){var o=e==null?void 0:Sp(e,t);return o===void 0?n:o}function qy(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var e1=qr?qr.isConcatSpreadable:void 0;function sN(e){return ur(e)||Tc(e)||!!(e1&&e&&e[e1])}function ud(e,t,n,o,r){var a=-1,l=e.length;for(n||(n=sN),r||(r=[]);++a<l;){var i=e[a];t>0&&n(i)?t>1?ud(i,t-1,n,o,r):qy(r,i):o||(r[r.length]=i)}return r}function Kx(e){var t=e==null?0:e.length;return t?ud(e,1):[]}function Hx(e){return jx(Rx(e,void 0,Kx),e+"")}var Ky=qx(Object.getPrototypeOf,Object),iN="[object Object]",uN=Function.prototype,cN=Object.prototype,Wx=uN.toString,dN=cN.hasOwnProperty,fN=Wx.call(Object);function Ux(e){if(!Na(e)||ri(e)!=iN)return!1;var t=Ky(e);if(t===null)return!0;var n=dN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Wx.call(n)==fN}function hN(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++o<r;)a[o]=e[o+t];return a}function bo(){if(!arguments.length)return[];var e=arguments[0];return ur(e)?e:[e]}function pN(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function _p(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=cc(n),n=n===n?n:0),t!==void 0&&(t=cc(t),t=t===t?t:0),pN(cc(e),t,n)}function gN(){this.__data__=new zl,this.size=0}function vN(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function mN(e){return this.__data__.get(e)}function yN(e){return this.__data__.has(e)}var bN=200;function wN(e,t){var n=this.__data__;if(n instanceof zl){var o=n.__data__;if(!Pc||o.length<bN-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Tl(o)}return n.set(e,t),this.size=n.size,this}function na(e){var t=this.__data__=new zl(e);this.size=t.size}na.prototype.clear=gN;na.prototype.delete=vN;na.prototype.get=mN;na.prototype.has=yN;na.prototype.set=wN;function CN(e,t){return e&&pu(t,sd(t),e)}function kN(e,t){return e&&pu(t,id(t),e)}var Yx=typeof exports=="object"&&exports&&!exports.nodeType&&exports,t1=Yx&&typeof module=="object"&&module&&!module.nodeType&&module,SN=t1&&t1.exports===Yx,n1=SN?ha.Buffer:void 0,o1=n1?n1.allocUnsafe:void 0;function Gx(e,t){if(t)return e.slice();var n=e.length,o=o1?o1(n):new e.constructor(n);return e.copy(o),o}function _N(e,t){for(var n=-1,o=e==null?0:e.length,r=0,a=[];++n<o;){var l=e[n];t(l,n,e)&&(a[r++]=l)}return a}function Xx(){return[]}var xN=Object.prototype,EN=xN.propertyIsEnumerable,r1=Object.getOwnPropertySymbols,Hy=r1?function(e){return e==null?[]:(e=Object(e),_N(r1(e),function(t){return EN.call(e,t)}))}:Xx;function zN(e,t){return pu(e,Hy(e),t)}var TN=Object.getOwnPropertySymbols,Zx=TN?function(e){for(var t=[];e;)qy(t,Hy(e)),e=Ky(e);return t}:Xx;function ON(e,t){return pu(e,Zx(e),t)}function Qx(e,t,n){var o=t(e);return ur(e)?o:qy(o,n(e))}function Lv(e){return Qx(e,sd,Hy)}function Jx(e){return Qx(e,id,Zx)}var Bv=li(ha,"DataView"),Vv=li(ha,"Promise"),Ni=li(ha,"Set"),a1="[object Map]",$N="[object Object]",l1="[object Promise]",s1="[object Set]",i1="[object WeakMap]",u1="[object DataView]",PN=ai(Bv),IN=ai(Pc),MN=ai(Vv),AN=ai(Ni),jN=ai(Dv),Gr=ri;(Bv&&Gr(new Bv(new ArrayBuffer(1)))!=u1||Pc&&Gr(new Pc)!=a1||Vv&&Gr(Vv.resolve())!=l1||Ni&&Gr(new Ni)!=s1||Dv&&Gr(new Dv)!=i1)&&(Gr=function(e){var t=ri(e),n=t==$N?e.constructor:void 0,o=n?ai(n):"";if(o)switch(o){case PN:return u1;case IN:return a1;case MN:return l1;case AN:return s1;case jN:return i1}return t});var NN=Object.prototype,RN=NN.hasOwnProperty;function DN(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&RN.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Ch=ha.Uint8Array;function Wy(e){var t=new e.constructor(e.byteLength);return new Ch(t).set(new Ch(e)),t}function LN(e,t){var n=t?Wy(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var BN=/\w*$/;function VN(e){var t=new e.constructor(e.source,BN.exec(e));return t.lastIndex=e.lastIndex,t}var c1=qr?qr.prototype:void 0,d1=c1?c1.valueOf:void 0;function FN(e){return d1?Object(d1.call(e)):{}}function e2(e,t){var n=t?Wy(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var qN="[object Boolean]",KN="[object Date]",HN="[object Map]",WN="[object Number]",UN="[object RegExp]",YN="[object Set]",GN="[object String]",XN="[object Symbol]",ZN="[object ArrayBuffer]",QN="[object DataView]",JN="[object Float32Array]",eR="[object Float64Array]",tR="[object Int8Array]",nR="[object Int16Array]",oR="[object Int32Array]",rR="[object Uint8Array]",aR="[object Uint8ClampedArray]",lR="[object Uint16Array]",sR="[object Uint32Array]";function iR(e,t,n){var o=e.constructor;switch(t){case ZN:return Wy(e);case qN:case KN:return new o(+e);case QN:return LN(e,n);case JN:case eR:case tR:case nR:case oR:case rR:case aR:case lR:case sR:return e2(e,n);case HN:return new o;case WN:case GN:return new o(e);case UN:return VN(e);case YN:return new o;case XN:return FN(e)}}function t2(e){return typeof e.constructor=="function"&&!Ly(e)?mA(Ky(e)):{}}var uR="[object Map]";function cR(e){return Na(e)&&Gr(e)==uR}var f1=Gi&&Gi.isMap,dR=f1?By(f1):cR,fR="[object Set]";function hR(e){return Na(e)&&Gr(e)==fR}var h1=Gi&&Gi.isSet,pR=h1?By(h1):hR,gR=1,vR=2,mR=4,n2="[object Arguments]",yR="[object Array]",bR="[object Boolean]",wR="[object Date]",CR="[object Error]",o2="[object Function]",kR="[object GeneratorFunction]",SR="[object Map]",_R="[object Number]",r2="[object Object]",xR="[object RegExp]",ER="[object Set]",zR="[object String]",TR="[object Symbol]",OR="[object WeakMap]",$R="[object ArrayBuffer]",PR="[object DataView]",IR="[object Float32Array]",MR="[object Float64Array]",AR="[object Int8Array]",jR="[object Int16Array]",NR="[object Int32Array]",RR="[object Uint8Array]",DR="[object Uint8ClampedArray]",LR="[object Uint16Array]",BR="[object Uint32Array]",Kn={};Kn[n2]=Kn[yR]=Kn[$R]=Kn[PR]=Kn[bR]=Kn[wR]=Kn[IR]=Kn[MR]=Kn[AR]=Kn[jR]=Kn[NR]=Kn[SR]=Kn[_R]=Kn[r2]=Kn[xR]=Kn[ER]=Kn[zR]=Kn[TR]=Kn[RR]=Kn[DR]=Kn[LR]=Kn[BR]=!0;Kn[CR]=Kn[o2]=Kn[OR]=!1;function Ri(e,t,n,o,r,a){var l,i=t&gR,u=t&vR,c=t&mR;if(n&&(l=r?n(e,o,r,a):n(e)),l!==void 0)return l;if(!cr(e))return e;var d=ur(e);if(d){if(l=DN(e),!i)return Ax(e,l)}else{var f=Gr(e),p=f==o2||f==kR;if(Oc(e))return Gx(e,i);if(f==r2||f==n2||p&&!r){if(l=u||p?{}:t2(e),!i)return u?ON(e,kN(l,e)):zN(e,CN(l,e))}else{if(!Kn[f])return r?e:{};l=iR(e,f,i)}}a||(a=new na);var h=a.get(e);if(h)return h;a.set(e,l),pR(e)?e.forEach(function(m){l.add(Ri(m,t,n,m,e,a))}):dR(e)&&e.forEach(function(m,y){l.set(y,Ri(m,t,n,y,e,a))});var v=c?u?Jx:Lv:u?id:sd,g=d?void 0:v(e);return EA(g||e,function(m,y){g&&(y=m,m=e[y]),Ry(l,y,Ri(m,t,n,y,e,a))}),l}var VR=4;function p1(e){return Ri(e,VR)}var FR=1,qR=4;function kh(e){return Ri(e,FR|qR)}var KR="__lodash_hash_undefined__";function HR(e){return this.__data__.set(e,KR),this}function WR(e){return this.__data__.has(e)}function Ic(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Tl;++t<n;)this.add(e[t])}Ic.prototype.add=Ic.prototype.push=HR;Ic.prototype.has=WR;function UR(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function a2(e,t){return e.has(t)}var YR=1,GR=2;function l2(e,t,n,o,r,a){var l=n&YR,i=e.length,u=t.length;if(i!=u&&!(l&&u>i))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=n&GR?new Ic:void 0;for(a.set(e,t),a.set(t,e);++f<i;){var v=e[f],g=t[f];if(o)var m=l?o(g,v,f,t,e,a):o(v,g,f,e,t,a);if(m!==void 0){if(m)continue;p=!1;break}if(h){if(!UR(t,function(y,k){if(!a2(h,k)&&(v===y||r(v,y,n,o,a)))return h.push(k)})){p=!1;break}}else if(!(v===g||r(v,g,n,o,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function XR(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function Uy(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var ZR=1,QR=2,JR="[object Boolean]",e4="[object Date]",t4="[object Error]",n4="[object Map]",o4="[object Number]",r4="[object RegExp]",a4="[object Set]",l4="[object String]",s4="[object Symbol]",i4="[object ArrayBuffer]",u4="[object DataView]",g1=qr?qr.prototype:void 0,Bg=g1?g1.valueOf:void 0;function c4(e,t,n,o,r,a,l){switch(n){case u4:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case i4:return!(e.byteLength!=t.byteLength||!a(new Ch(e),new Ch(t)));case JR:case e4:case o4:return ld(+e,+t);case t4:return e.name==t.name&&e.message==t.message;case r4:case l4:return e==t+"";case n4:var i=XR;case a4:var u=o&ZR;if(i||(i=Uy),e.size!=t.size&&!u)return!1;var c=l.get(e);if(c)return c==t;o|=QR,l.set(e,t);var d=l2(i(e),i(t),o,r,a,l);return l.delete(e),d;case s4:if(Bg)return Bg.call(e)==Bg.call(t)}return!1}var d4=1,f4=Object.prototype,h4=f4.hasOwnProperty;function p4(e,t,n,o,r,a){var l=n&d4,i=Lv(e),u=i.length,c=Lv(t),d=c.length;if(u!=d&&!l)return!1;for(var f=u;f--;){var p=i[f];if(!(l?p in t:h4.call(t,p)))return!1}var h=a.get(e),v=a.get(t);if(h&&v)return h==t&&v==e;var g=!0;a.set(e,t),a.set(t,e);for(var m=l;++f<u;){p=i[f];var y=e[p],k=t[p];if(o)var C=l?o(k,y,p,t,e,a):o(y,k,p,e,t,a);if(!(C===void 0?y===k||r(y,k,n,o,a):C)){g=!1;break}m||(m=p=="constructor")}if(g&&!m){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof x=="function"&&x instanceof x)&&(g=!1)}return a.delete(e),a.delete(t),g}var g4=1,v1="[object Arguments]",m1="[object Array]",of="[object Object]",v4=Object.prototype,y1=v4.hasOwnProperty;function m4(e,t,n,o,r,a){var l=ur(e),i=ur(t),u=l?m1:Gr(e),c=i?m1:Gr(t);u=u==v1?of:u,c=c==v1?of:c;var d=u==of,f=c==of,p=u==c;if(p&&Oc(e)){if(!Oc(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new na),l||Vy(e)?l2(e,t,n,o,r,a):c4(e,t,u,n,o,r,a);if(!(n&g4)){var h=d&&y1.call(e,"__wrapped__"),v=f&&y1.call(t,"__wrapped__");if(h||v){var g=h?e.value():e,m=v?t.value():t;return a||(a=new na),r(g,m,n,o,a)}}return p?(a||(a=new na),p4(e,t,n,o,r,a)):!1}function xp(e,t,n,o,r){return e===t?!0:e==null||t==null||!Na(e)&&!Na(t)?e!==e&&t!==t:m4(e,t,n,o,xp,r)}var y4=1,b4=2;function w4(e,t,n,o){var r=n.length,a=r;if(e==null)return!a;for(e=Object(e);r--;){var l=n[r];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<a;){l=n[r];var i=l[0],u=e[i],c=l[1];if(l[2]){if(u===void 0&&!(i in e))return!1}else{var d=new na,f;if(!(f===void 0?xp(c,u,y4|b4,o,d):f))return!1}}return!0}function s2(e){return e===e&&!cr(e)}function C4(e){for(var t=sd(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,s2(r)]}return t}function i2(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function k4(e){var t=C4(e);return t.length==1&&t[0][2]?i2(t[0][0],t[0][1]):function(n){return n===e||w4(n,e,t)}}function S4(e,t){return e!=null&&t in Object(e)}function _4(e,t,n){t=vu(t,e);for(var o=-1,r=t.length,a=!1;++o<r;){var l=mu(t[o]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++o!=r?a:(r=e==null?0:e.length,!!r&&Dy(r)&&bp(l,r)&&(ur(e)||Tc(e)))}function u2(e,t){return e!=null&&_4(e,t,S4)}var x4=1,E4=2;function z4(e,t){return Fy(e)&&s2(t)?i2(mu(e),t):function(n){var o=Zn(n,e);return o===void 0&&o===t?u2(n,e):xp(t,o,x4|E4)}}function T4(e){return function(t){return t?.[e]}}function O4(e){return function(t){return Sp(t,e)}}function $4(e){return Fy(e)?T4(mu(e)):O4(e)}function c2(e){return typeof e=="function"?e:e==null?Ay:typeof e=="object"?ur(e)?z4(e[0],e[1]):k4(e):$4(e)}function P4(e){return function(t,n,o){for(var r=-1,a=Object(t),l=o(t),i=l.length;i--;){var u=l[++r];if(n(a[u],u,a)===!1)break}return t}}var d2=P4();function I4(e,t){return e&&d2(e,t,sd)}function M4(e,t){return function(n,o){if(n==null)return n;if(!gu(n))return e(n,o);for(var r=n.length,a=-1,l=Object(n);++a<r&&o(l[a],a,l)!==!1;);return n}}var A4=M4(I4),Vg=function(){return ha.Date.now()},j4="Expected a function",N4=Math.max,R4=Math.min;function Ra(e,t,n){var o,r,a,l,i,u,c=0,d=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(j4);t=cc(t)||0,cr(n)&&(d=!!n.leading,f="maxWait"in n,a=f?N4(cc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p);function h(_){var z=o,I=r;return o=r=void 0,c=_,l=e.apply(I,z),l}function v(_){return c=_,i=setTimeout(y,t),d?h(_):l}function g(_){var z=_-u,I=_-c,P=t-z;return f?R4(P,a-I):P}function m(_){var z=_-u,I=_-c;return u===void 0||z>=t||z<0||f&&I>=a}function y(){var _=Vg();if(m(_))return k(_);i=setTimeout(y,g(_))}function k(_){return i=void 0,p&&o?h(_):(o=r=void 0,l)}function C(){i!==void 0&&clearTimeout(i),c=0,o=u=r=i=void 0}function b(){return i===void 0?l:k(Vg())}function x(){var _=Vg(),z=m(_);if(o=arguments,r=this,u=_,z){if(i===void 0)return v(u);if(f)return clearTimeout(i),i=setTimeout(y,t),h(u)}return i===void 0&&(i=setTimeout(y,t)),l}return x.cancel=C,x.flush=b,x}function Fv(e,t,n){(n!==void 0&&!ld(e[t],n)||n===void 0&&!(t in e))&&Ny(e,t,n)}function f2(e){return Na(e)&&gu(e)}function qv(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function D4(e){return pu(e,id(e))}function L4(e,t,n,o,r,a,l){var i=qv(e,n),u=qv(t,n),c=l.get(u);if(c){Fv(e,n,c);return}var d=a?a(i,u,n+"",e,t,l):void 0,f=d===void 0;if(f){var p=ur(u),h=!p&&Oc(u),v=!p&&!h&&Vy(u);d=u,p||h||v?ur(i)?d=i:f2(i)?d=Ax(i):h?(f=!1,d=Gx(u,!0)):v?(f=!1,d=e2(u,!0)):d=[]:Ux(u)||Tc(u)?(d=i,Tc(i)?d=D4(i):(!cr(i)||jy(i))&&(d=t2(u))):f=!1}f&&(l.set(u,d),r(d,u,o,a,l),l.delete(u)),Fv(e,n,d)}function h2(e,t,n,o,r){e!==t&&d2(t,function(a,l){if(r||(r=new na),cr(a))L4(e,t,l,n,h2,o,r);else{var i=o?o(qv(e,l),a,l+"",e,t,r):void 0;i===void 0&&(i=a),Fv(e,l,i)}},id)}function B4(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function p2(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var r=o-1;return Nx(e,c2(t),r,!0)}function V4(e,t){var n=-1,o=gu(e)?Array(e.length):[];return A4(e,function(r,a,l){o[++n]=t(r,a,l)}),o}function F4(e,t){var n=ur(e)?My:V4;return n(e,c2(t))}function g2(e,t){return ud(F4(e,t),1)}var q4=1/0;function K4(e){var t=e==null?0:e.length;return t?ud(e,q4):[]}function Mc(e){for(var t=-1,n=e==null?0:e.length,o={};++t<n;){var r=e[t];o[r[0]]=r[1]}return o}function H4(e,t){return t.length<2?e:Sp(e,hN(t,0,-1))}function Vn(e,t){return xp(e,t)}function Yn(e){return e==null}function cd(e){return e===null}function W4(e){return e===void 0}var v2=RA(function(e,t,n){h2(e,t,n)});function U4(e,t){return t=vu(t,e),e=H4(e,t),e==null||delete e[mu(B4(t))]}function Y4(e){return Ux(e)?void 0:e}var G4=1,X4=2,Z4=4,Ep=Hx(function(e,t){var n={};if(e==null)return n;var o=!1;t=My(t,function(a){return a=vu(a,e),o||(o=a.length>1),a}),pu(e,Jx(e),n),o&&(n=Ri(n,G4|X4|Z4,Y4));for(var r=t.length;r--;)U4(n,t[r]);return n});function m2(e,t,n,o){if(!cr(e))return e;t=vu(t,e);for(var r=-1,a=t.length,l=a-1,i=e;i!=null&&++r<a;){var u=mu(t[r]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(r!=l){var d=i[u];c=void 0,c===void 0&&(c=cr(d)?d:bp(t[r+1])?[]:{})}Ry(i,u,c),i=i[u]}return e}function Q4(e,t,n){for(var o=-1,r=t.length,a={};++o<r;){var l=t[o],i=Sp(e,l);n(i,l)&&m2(a,vu(l,e),i)}return a}function J4(e,t){return Q4(e,t,function(n,o){return u2(e,o)})}var ml=Hx(function(e,t){return e==null?{}:J4(e,t)});function eD(e,t,n){return e==null?e:m2(e,t,n)}var tD="Expected a function";function Bs(e,t,n){var o=!0,r=!0;if(typeof e!="function")throw new TypeError(tD);return cr(n)&&(o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r),Ra(e,t,{leading:o,maxWait:t,trailing:r})}var nD=1/0,oD=Ni&&1/Uy(new Ni([,-0]))[1]==nD?function(e){return new Ni(e)}:bA,rD=200;function aD(e,t,n){var o=-1,r=$A,a=e.length,l=!0,i=[],u=i;if(a>=rD){var c=oD(e);if(c)return Uy(c);l=!1,r=a2,u=new Ic}else u=i;e:for(;++o<a;){var d=e[o],f=d;if(d=d!==0?d:0,l&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;i.push(d)}else r(u,f,n)||(u!==i&&u.push(f),i.push(d))}return i}var Fg=Dx(function(e){return aD(ud(e,1,f2,!0))});const Zt=e=>e===void 0,fn=e=>typeof e=="boolean",ft=e=>typeof e=="number",lr=e=>!e&&e!==0||Be(e)&&e.length===0||At(e)&&!Object.keys(e).length,zr=e=>typeof Element>"u"?!1:e instanceof Element,Tr=e=>Yn(e),lD=e=>rt(e)?!Number.isNaN(Number(e)):!1,dd=e=>e===window;var sD=Object.defineProperty,iD=Object.defineProperties,uD=Object.getOwnPropertyDescriptors,b1=Object.getOwnPropertySymbols,cD=Object.prototype.hasOwnProperty,dD=Object.prototype.propertyIsEnumerable,w1=(e,t,n)=>t in e?sD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fD=(e,t)=>{for(var n in t||(t={}))cD.call(t,n)&&w1(e,n,t[n]);if(b1)for(var n of b1(t))dD.call(t,n)&&w1(e,n,t[n]);return e},hD=(e,t)=>iD(e,uD(t));function Sh(e,t){var n;const o=xn();return sr(()=>{o.value=e()},hD(fD({},t),{flush:(n=void 0)!=null?n:"sync"})),Ws(o)}var C1;const nn=typeof window<"u",pD=e=>typeof e<"u",Kv=e=>typeof e=="function",gD=e=>typeof e=="string",y2=(e,t,n)=>Math.min(n,Math.max(t,e)),dl=()=>{},_h=nn&&((C1=window?.navigator)==null?void 0:C1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ls(e){return typeof e=="function"?e():s(e)}function b2(e,t){function n(...o){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(a)})}return n}function vD(e,t={}){let n,o,r=dl;const a=i=>{clearTimeout(i),r(),r=dl};return i=>{const u=ls(e),c=ls(t.maxWait);return n&&a(n),u<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(i())):new Promise((d,f)=>{r=t.rejectOnCancel?f:d,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,d(i())},c)),n=setTimeout(()=>{o&&a(o),o=null,d(i())},u)})}}function mD(e,t=!0,n=!0,o=!1){let r=0,a,l=!0,i=dl,u;const c=()=>{a&&(clearTimeout(a),a=void 0,i(),i=dl)};return f=>{const p=ls(e),h=Date.now()-r,v=()=>u=f();return c(),p<=0?(r=Date.now(),v()):(h>p&&(n||!l)?(r=Date.now(),v()):t&&(u=new Promise((g,m)=>{i=o?m:g,a=setTimeout(()=>{r=Date.now(),l=!0,g(v()),c()},Math.max(0,p-h))})),!n&&!a&&(a=setTimeout(()=>l=!0,p)),l=!1,u)}}function yD(e){return e}function bD(e,t){let n,o,r;const a=L(!0),l=()=>{a.value=!0,r()};ke(e,l,{flush:"sync"});const i=Kv(t)?t:t.get,u=Kv(t)?void 0:t.set,c=PP((d,f)=>(o=d,r=f,{get(){return a.value&&(n=i(),a.value=!1),o(),n},set(p){u?.(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function yu(e){return hy()?(py(e),!0):!1}function wD(e){if(!Cn(e))return an(e);const t=new Proxy({},{get(n,o,r){return s(Reflect.get(e.value,o,r))},set(n,o,r){return Cn(e.value[o])&&!Cn(r)?e.value[o].value=r:e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return an(t)}function CD(e){return wD(S(e))}function fd(e,t=200,n={}){return b2(vD(t,n),e)}function kD(e,t=200,n={}){const o=L(e.value),r=fd(()=>{o.value=e.value},t,n);return ke(e,()=>r()),o}function w2(e,t=200,n=!1,o=!0,r=!1){return b2(mD(t,n,o,r),e)}function Yy(e,t=!0){Lt()?Bt(e):t?e():Qe(e)}function Xi(e,t,n={}){const{immediate:o=!0}=n,r=L(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function i(){r.value=!1,l()}function u(...c){l(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},ls(t))}return o&&(r.value=!0,nn&&u()),yu(i),{isPending:Ws(r),start:u,stop:i}}function wo(e){var t;const n=ls(e);return(t=n?.$el)!=null?t:n}const Va=nn?window:void 0,SD=nn?window.document:void 0;function gn(...e){let t,n,o,r;if(gD(e[0])||Array.isArray(e[0])?([n,o,r]=e,t=Va):[t,n,o,r]=e,!t)return dl;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],l=()=>{a.forEach(d=>d()),a.length=0},i=(d,f,p,h)=>(d.addEventListener(f,p,h),()=>d.removeEventListener(f,p,h)),u=ke(()=>[wo(t),ls(r)],([d,f])=>{l(),d&&a.push(...n.flatMap(p=>o.map(h=>i(d,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{u(),l()};return yu(c),c}let k1=!1;function Gy(e,t,n={}){const{window:o=Va,ignore:r=[],capture:a=!0,detectIframe:l=!1}=n;if(!o)return;_h&&!k1&&(k1=!0,Array.from(o.document.body.children).forEach(p=>p.addEventListener("click",dl)));let i=!0;const u=p=>r.some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(v=>v===p.target||p.composedPath().includes(v));{const v=wo(h);return v&&(p.target===v||p.composedPath().includes(v))}}),d=[gn(o,"click",p=>{const h=wo(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(i=!u(p)),!i){i=!0;return}t(p)}},{passive:!0,capture:a}),gn(o,"pointerdown",p=>{const h=wo(e);h&&(i=!p.composedPath().includes(h)&&!u(p))},{passive:!0}),l&&gn(o,"blur",p=>{var h;const v=wo(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!v?.contains(o.document.activeElement)&&t(p)})].filter(Boolean);return()=>d.forEach(p=>p())}function _D(e={}){var t;const{window:n=Va}=e,o=(t=e.document)!=null?t:n?.document,r=bD(()=>null,()=>o?.activeElement);return n&&(gn(n,"blur",a=>{a.relatedTarget===null&&r.trigger()},!0),gn(n,"focus",r.trigger,!0)),r}function Xy(e,t=!1){const n=L(),o=()=>n.value=!!e();return o(),Yy(o,t),n}function xD(e){return JSON.parse(JSON.stringify(e))}const S1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},_1="__vueuse_ssr_handlers__";S1[_1]=S1[_1]||{};function ED(e,t,{window:n=Va,initialValue:o=""}={}){const r=L(o),a=S(()=>{var l;return wo(t)||((l=n?.document)==null?void 0:l.documentElement)});return ke([a,()=>ls(e)],([l,i])=>{var u;if(l&&n){const c=(u=n.getComputedStyle(l).getPropertyValue(i))==null?void 0:u.trim();r.value=c||o}},{immediate:!0}),ke(r,l=>{var i;(i=a.value)!=null&&i.style&&a.value.style.setProperty(ls(e),l)}),r}function zD({document:e=SD}={}){if(!e)return L("visible");const t=L(e.visibilityState);return gn(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var x1=Object.getOwnPropertySymbols,TD=Object.prototype.hasOwnProperty,OD=Object.prototype.propertyIsEnumerable,$D=(e,t)=>{var n={};for(var o in e)TD.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&x1)for(var o of x1(e))t.indexOf(o)<0&&OD.call(e,o)&&(n[o]=e[o]);return n};function In(e,t,n={}){const o=n,{window:r=Va}=o,a=$D(o,["window"]);let l;const i=Xy(()=>r&&"ResizeObserver"in r),u=()=>{l&&(l.disconnect(),l=void 0)},c=ke(()=>wo(e),f=>{u(),i.value&&r&&f&&(l=new ResizeObserver(t),l.observe(f,a))},{immediate:!0,flush:"post"}),d=()=>{u(),c()};return yu(d),{isSupported:i,stop:d}}function E1(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:r=!0,immediate:a=!0}=t,l=L(0),i=L(0),u=L(0),c=L(0),d=L(0),f=L(0),p=L(0),h=L(0);function v(){const g=wo(e);if(!g){n&&(l.value=0,i.value=0,u.value=0,c.value=0,d.value=0,f.value=0,p.value=0,h.value=0);return}const m=g.getBoundingClientRect();l.value=m.height,i.value=m.bottom,u.value=m.left,c.value=m.right,d.value=m.top,f.value=m.width,p.value=m.x,h.value=m.y}return In(e,v),ke(()=>wo(e),g=>!g&&v()),r&&gn("scroll",v,{capture:!0,passive:!0}),o&&gn("resize",v,{passive:!0}),Yy(()=>{a&&v()}),{height:l,bottom:i,left:u,right:c,top:d,width:f,x:p,y:h,update:v}}function Hv(e,t={width:0,height:0},n={}){const{window:o=Va,box:r="content-box"}=n,a=S(()=>{var u,c;return(c=(u=wo(e))==null?void 0:u.namespaceURI)==null?void 0:c.includes("svg")}),l=L(t.width),i=L(t.height);return In(e,([u])=>{const c=r==="border-box"?u.borderBoxSize:r==="content-box"?u.contentBoxSize:u.devicePixelContentBoxSize;if(o&&a.value){const d=wo(e);if(d){const f=o.getComputedStyle(d);l.value=parseFloat(f.width),i.value=parseFloat(f.height)}}else if(c){const d=Array.isArray(c)?c:[c];l.value=d.reduce((f,{inlineSize:p})=>f+p,0),i.value=d.reduce((f,{blockSize:p})=>f+p,0)}else l.value=u.contentRect.width,i.value=u.contentRect.height},n),ke(()=>wo(e),u=>{l.value=u?t.width:0,i.value=u?t.height:0}),{width:l,height:i}}function PD(e,t,n={}){const{root:o,rootMargin:r="0px",threshold:a=.1,window:l=Va}=n,i=Xy(()=>l&&"IntersectionObserver"in l);let u=dl;const c=i.value?ke(()=>({el:wo(e),root:wo(o)}),({el:f,root:p})=>{if(u(),!f)return;const h=new IntersectionObserver(t,{root:p,rootMargin:r,threshold:a});h.observe(f),u=()=>{h.disconnect(),u=dl}},{immediate:!0,flush:"post"}):dl,d=()=>{u(),c()};return yu(d),{isSupported:i,stop:d}}var z1=Object.getOwnPropertySymbols,ID=Object.prototype.hasOwnProperty,MD=Object.prototype.propertyIsEnumerable,AD=(e,t)=>{var n={};for(var o in e)ID.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&z1)for(var o of z1(e))t.indexOf(o)<0&&MD.call(e,o)&&(n[o]=e[o]);return n};function C2(e,t,n={}){const o=n,{window:r=Va}=o,a=AD(o,["window"]);let l;const i=Xy(()=>r&&"MutationObserver"in r),u=()=>{l&&(l.disconnect(),l=void 0)},c=ke(()=>wo(e),f=>{u(),i.value&&r&&f&&(l=new MutationObserver(t),l.observe(f,a))},{immediate:!0}),d=()=>{u(),c()};return yu(d),{isSupported:i,stop:d}}var T1;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(T1||(T1={}));var jD=Object.defineProperty,O1=Object.getOwnPropertySymbols,ND=Object.prototype.hasOwnProperty,RD=Object.prototype.propertyIsEnumerable,$1=(e,t,n)=>t in e?jD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DD=(e,t)=>{for(var n in t||(t={}))ND.call(t,n)&&$1(e,n,t[n]);if(O1)for(var n of O1(t))RD.call(t,n)&&$1(e,n,t[n]);return e};const LD={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};DD({linear:yD},LD);function k2(e,t,n,o={}){var r,a,l;const{clone:i=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f}=o,p=Lt(),h=n||p?.emit||((r=p?.$emit)==null?void 0:r.bind(p))||((l=(a=p?.proxy)==null?void 0:a.$emit)==null?void 0:l.bind(p?.proxy));let v=c;t||(t="modelValue"),v=c||v||`update:${t.toString()}`;const g=y=>i?Kv(i)?i(y):xD(y):y,m=()=>pD(e[t])?g(e[t]):f;if(u){const y=m(),k=L(y);return ke(()=>e[t],C=>k.value=g(C)),ke(k,C=>{(C!==e[t]||d)&&h(v,C)},{deep:d}),k}else return S({get(){return m()},set(y){h(v,y)}})}function BD({window:e=Va}={}){if(!e)return L(!1);const t=L(e.document.hasFocus());return gn(e,"blur",()=>{t.value=!1}),gn(e,"focus",()=>{t.value=!0}),t}function Zy(e={}){const{window:t=Va,initialWidth:n=1/0,initialHeight:o=1/0,listenOrientation:r=!0,includeScrollbar:a=!0}=e,l=L(n),i=L(o),u=()=>{t&&(a?(l.value=t.innerWidth,i.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};return u(),Yy(u),gn("resize",u,{passive:!0}),r&&gn("orientationchange",u,{passive:!0}),{width:l,height:i}}class S2 extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Qn(e,t){throw new S2(`[${e}] ${t}`)}function Kt(e,t){const n=rt(e)?new S2(`[${e}] ${t}`):e;console.warn(n)}const P1={current:0},I1=L(0),_2=2e3,M1=Symbol("elZIndexContextKey"),x2=Symbol("zIndexContextKey"),hd=e=>{const t=Lt()?et(M1,P1):P1,n=e||(Lt()?et(x2,void 0):void 0),o=S(()=>{const l=s(n);return ft(l)?l:_2}),r=S(()=>o.value+I1.value),a=()=>(t.current++,I1.value=t.current,r.value);return!nn&&!et(M1)&&Kt("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:o,currentZIndex:r,nextZIndex:a}};var VD={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"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const FD=e=>(t,n)=>qD(t,n,s(e)),qD=(e,t,n)=>Zn(n,e,e).replace(/\{(\w+)\}/g,(o,r)=>{var a;return`${(a=t?.[r])!=null?a:`{${r}}`}`}),KD=e=>{const t=S(()=>s(e).name),n=Cn(e)?e:L(e);return{lang:t,locale:n,t:FD(e)}},E2=Symbol("localeContextKey"),Qt=e=>{const t=e||et(E2,L());return KD(S(()=>t.value||VD))},z2="__epPropKey",se=e=>e,HD=e=>At(e)&&!!e[z2],pa=(e,t)=>{if(!At(e)||HD(e))return e;const{values:n,required:o,default:r,type:a,validator:l}=e,u={type:a,required:!!o,validator:n||l?c=>{let d=!1,f=[];if(n&&(f=Array.from(n),rn(e,"default")&&f.push(r),d||(d=f.includes(c))),l&&(d||(d=l(c))),!d&&f.length>0){const p=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");DI(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,[z2]:!0};return rn(e,"default")&&(u.default=r),u},qe=e=>Mc(Object.entries(e).map(([t,n])=>[t,pa(n,t)])),Fa=["","default","small","large"],io=pa({type:String,values:Fa,required:!1}),T2=Symbol("size"),O2=()=>{const e=et(T2,{});return S(()=>s(e.size)||"")},$2=Symbol("emptyValuesContextKey"),WD="use-empty-values",UD=["",void 0,null],YD=void 0,si=qe({emptyValues:Array,valueOnClear:{type:se([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=it(e)?e():e,Be(e)?e.every(t=>!t):!e)}}),pd=(e,t)=>{const n=Lt()?et($2,L({})):L({}),o=S(()=>e.emptyValues||n.value.emptyValues||UD),r=S(()=>it(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:it(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:YD),a=l=>{let i=!0;return Be(l)?i=o.value.some(u=>Vn(l,u)):i=o.value.includes(l),i};return a(r.value)||Kt(WD,"value-on-clear should be a value of empty-values"),{emptyValues:o,valueOnClear:r,isEmptyValue:a}},Ac=e=>Object.keys(e),P2=e=>Object.entries(e),fc=(e,t,n)=>({get value(){return Zn(e,t,n)},set value(o){eD(e,t,o)}}),xh=L();function bu(e,t=void 0){const n=Lt()?et(Ox,xh):xh;return e?S(()=>{var o,r;return(r=(o=n.value)==null?void 0:o[e])!=null?r:t}):n}function zp(e,t){const n=bu(),o=Ie(e,S(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||uc})),r=Qt(S(()=>{var i;return(i=n.value)==null?void 0:i.locale})),a=hd(S(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||_2})),l=S(()=>{var i;return s(t)||((i=n.value)==null?void 0:i.size)||""});return Qy(S(()=>s(n)||{})),{ns:o,locale:r,zIndex:a,size:l}}const Qy=(e,t,n=!1)=>{var o;const r=!!Lt(),a=r?bu():void 0,l=(o=t?.provide)!=null?o:r?Ut:void 0;if(!l){Kt("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const i=S(()=>{const u=s(e);return a?.value?GD(a.value,u):u});return l(Ox,i),l(E2,S(()=>i.value.locale)),l($x,S(()=>i.value.namespace)),l(x2,S(()=>i.value.zIndex)),l(T2,{size:S(()=>i.value.size||"")}),l($2,S(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!xh.value)&&(xh.value=i.value),i},GD=(e,t)=>{const n=[...new Set([...Ac(e),...Ac(t)])],o={};for(const r of n)o[r]=t[r]!==void 0?t[r]:e[r];return o},XD=(e=[])=>({version:jM,install:(n,o)=>{n[Fw]||(n[Fw]=!0,e.forEach(r=>n.use(r)),o&&Qy(o,n,!0))}}),St="update:modelValue",Wt="change",oo="input",ZD=qe({zIndex:{type:se([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),QD={scroll:({scrollTop:e,fixed:t})=>ft(e)&&fn(t),[Wt]:e=>fn(e)};var Ue=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function JD(e,t,n,o){const r=n-t;return e/=o/2,e<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}const ss=e=>nn?window.requestAnimationFrame(e):setTimeout(e,16),Gs=e=>nn?window.cancelAnimationFrame(e):clearTimeout(e),e3="utils/dom/style",I2=(e="")=>e.split(" ").filter(t=>!!t.trim()),Zr=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Lr=(e,t)=>{!e||!t.trim()||e.classList.add(...I2(t))},Go=(e,t)=>{!e||!t.trim()||e.classList.remove(...I2(t))},ll=(e,t)=>{var n;if(!nn||!e||!t)return"";let o=ir(t);o==="float"&&(o="cssFloat");try{const r=e.style[o];if(r)return r;const a=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return a?a[o]:""}catch{return e.style[o]}},M2=(e,t,n)=>{if(!(!e||!t))if(At(t))P2(t).forEach(([o,r])=>M2(e,o,r));else{const o=ir(t);e.style[o]=n}};function Nn(e,t="px"){if(!e)return"";if(ft(e)||lD(e))return`${e}${t}`;if(rt(e))return e;Kt(e3,"binding value must be a string or number")}const t3=(e,t)=>{if(!nn)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=ll(e,n);return["scroll","auto","overlay"].some(r=>o.includes(r))},Jy=(e,t)=>{if(!nn)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(t3(n,t))return n;n=n.parentNode}return n};let rf;const A2=e=>{var t;if(!nn)return 0;if(rf!==void 0)return rf;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const a=r.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),rf=o-a,rf};function eb(e,t){if(!nn)return;if(!t){e.scrollTop=0;return}const n=[];let o=t.offsetParent;for(;o!==null&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const r=t.offsetTop+n.reduce((u,c)=>u+c.offsetTop,0),a=r+t.offsetHeight,l=e.scrollTop,i=l+e.clientHeight;r<l?e.scrollTop=r:a>i&&(e.scrollTop=a-e.clientHeight)}function n3(e,t,n,o,r){const a=Date.now();let l;const i=()=>{const c=Date.now()-a,d=JD(c>o?o:c,t,n,o);dd(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,c<o?l=ss(i):it(r)&&r()};return i(),()=>{l&&Gs(l)}}const A1=(e,t)=>dd(t)?e.ownerDocument.documentElement:t,j1=e=>dd(e)?window.scrollY:e.scrollTop,j2="ElAffix",o3=te({name:j2}),r3=te({...o3,props:ZD,emits:QD,setup(e,{expose:t,emit:n}){const o=e,r=Ie("affix"),a=xn(),l=xn(),i=xn(),{height:u}=Zy(),{height:c,width:d,top:f,bottom:p,update:h}=E1(l,{windowScroll:!1}),v=E1(a),g=L(!1),m=L(0),y=L(0),k=S(()=>({height:g.value?`${c.value}px`:"",width:g.value?`${d.value}px`:""})),C=S(()=>{if(!g.value)return{};const z=o.offset?Nn(o.offset):0;return{height:`${c.value}px`,width:`${d.value}px`,top:o.position==="top"?z:"",bottom:o.position==="bottom"?z:"",transform:y.value?`translateY(${y.value}px)`:"",zIndex:o.zIndex}}),b=()=>{if(!i.value)return;m.value=i.value instanceof Window?document.documentElement.scrollTop:i.value.scrollTop||0;const{position:z,target:I,offset:P}=o,j=P+c.value;if(z==="top")if(I){const O=v.bottom.value-j;g.value=P>f.value&&v.bottom.value>0,y.value=O<0?O:0}else g.value=P>f.value;else if(I){const O=u.value-v.top.value-j;g.value=u.value-P<p.value&&u.value>v.top.value,y.value=O<0?-O:0}else g.value=u.value-P<p.value},x=async()=>{if(!g.value){h();return}g.value=!1,await Qe(),h(),g.value=!0},_=async()=>{h(),await Qe(),n("scroll",{scrollTop:m.value,fixed:g.value})};return ke(g,z=>n(Wt,z)),Bt(()=>{var z;o.target?(a.value=(z=document.querySelector(o.target))!=null?z:void 0,a.value||Qn(j2,`Target does not exist: ${o.target}`)):a.value=document.documentElement,i.value=Jy(l.value,!0),h()}),gn(i,"scroll",_),sr(b),t({update:b,updateRoot:x}),(z,I)=>(T(),F("div",{ref_key:"root",ref:l,class:M(s(r).b()),style:ht(s(k))},[H("div",{class:M({[s(r).m("fixed")]:g.value}),style:ht(s(C))},[he(z.$slots,"default")],6)],6))}});var a3=Ue(r3,[["__file","affix.vue"]]);const Pt=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t??{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},N2=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),l3=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Rn=e=>(e.install=un,e),s3=Pt(a3),i3=qe({size:{type:se([Number,String])},color:{type:String}}),u3=te({name:"ElIcon",inheritAttrs:!1}),c3=te({...u3,props:i3,setup(e){const t=e,n=Ie("icon"),o=S(()=>{const{size:r,color:a}=t;return!r&&!a?{}:{fontSize:Zt(r)?void 0:Nn(r),"--color":a}});return(r,a)=>(T(),F("i",Vt({class:s(n).b(),style:s(o)},r.$attrs),[he(r.$slots,"default")],16))}});var d3=Ue(c3,[["__file","icon.vue"]]);const lt=Pt(d3);function N1(){let e;const t=(o,r)=>{n(),e=window.setTimeout(o,r)},n=()=>window.clearTimeout(e);return yu(()=>n()),{registerTimeout:t,cancelTimeout:n}}const R2=qe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),D2=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:r})=>{const{registerTimeout:a}=N1(),{registerTimeout:l,cancelTimeout:i}=N1();return{onOpen:(d,f=s(e))=>{a(()=>{o(d);const p=s(n);ft(p)&&p>0&&l(()=>{r(d)},p)},f)},onClose:(d,f=s(t))=>{i(),a(()=>{r(d)},f)}}};var f3=te({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),qa=f3,h3=te({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),yl=h3,p3=te({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),Xo=p3,g3=te({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),Tp=g3,v3=te({name:"Back",__name:"back",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),H("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),m3=v3,y3=te({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),b3=y3,w3=te({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),L2=w3,C3=te({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),k3=C3,S3=te({name:"Check",__name:"check",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),gd=S3,_3=te({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),x3=_3,E3=te({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"}),H("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"})]))}}),tb=E3,z3=te({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),nb=z3,T3=te({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"}),H("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"})]))}}),Ol=T3,O3=te({name:"Clock",__name:"clock",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"}),H("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),H("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),B2=O3,$3=te({name:"Close",__name:"close",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),Kr=$3,P3=te({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),is=P3,I3=te({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),us=I3,M3=te({name:"Delete",__name:"delete",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),A3=M3,j3=te({name:"DocumentCopy",__name:"document-copy",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),zce=j3,N3=te({name:"Document",__name:"document",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),R3=N3,D3=te({name:"Edit",__name:"edit",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),H("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),Tce=D3,L3=te({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),B3=L3,V3=te({name:"Hide",__name:"hide",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"}),H("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"})]))}}),F3=V3,q3=te({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),jc=q3,K3=te({name:"Link",__name:"link",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),Oce=K3,H3=te({name:"Loading",__name:"loading",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),la=H3,W3=te({name:"Minus",__name:"minus",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),U3=W3,Y3=te({name:"Monitor",__name:"monitor",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),G3=Y3,X3=te({name:"Moon",__name:"moon",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),Z3=X3,Q3=te({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),R1=Q3,J3=te({name:"More",__name:"more",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),eL=J3,tL=te({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),nL=tL,oL=te({name:"Plus",__name:"plus",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),V2=oL,rL=te({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),aL=rL,lL=te({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),sL=lL,iL=te({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),uL=iL,cL=te({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),dL=cL,fL=te({name:"Search",__name:"search",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),F2=fL,hL=te({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),pL=hL,gL=te({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),vL=gL,mL=te({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),af=mL,yL=te({name:"Star",__name:"star",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),bL=yL,wL=te({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),q2=wL,CL=te({name:"Sunny",__name:"sunny",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),D1=CL,kL=te({name:"UploadFilled",__name:"upload-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),SL=kL,_L=te({name:"View",__name:"view",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),xL=_L,EL=te({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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"})]))}}),Op=EL,zL=te({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),K2=zL,TL=te({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(T(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[H("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 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),OL=TL;const hn=se([String,Object,Function]),H2={Close:Kr},ob={Close:Kr,SuccessFilled:q2,InfoFilled:jc,WarningFilled:Op,CircleCloseFilled:nb},cs={primary:jc,success:q2,warning:Op,error:nb,info:jc},$p={validating:la,success:tb,error:Ol},$L=["light","dark"],PL=qe({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Ac(cs),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:$L,default:"light"},...R2,showAfter:Number}),IL={open:()=>!0,close:e=>Zt(e)||e instanceof Event},ML=te({name:"ElAlert"}),AL=te({...ML,props:PL,emits:IL,setup(e,{emit:t}){const n=e,{Close:o}=ob,r=ao(),a=Ie("alert"),l=L(Zt(n.showAfter)),i=S(()=>cs[n.type]),u=S(()=>!!(n.description||r.default)),c=()=>{l.value=!0,t("open")},d=h=>{l.value=!1,t("close",h)},{onOpen:f,onClose:p}=D2({showAfter:sn(n,"showAfter",0),hideAfter:sn(n,"hideAfter"),autoClose:sn(n,"autoClose"),open:c,close:d});return nn&&f(),(h,v)=>(T(),ge(So,{name:s(a).b("fade"),persisted:""},{default:ne(()=>[Nt(H("div",{class:M([s(a).b(),s(a).m(h.type),s(a).is("center",h.center),s(a).is(h.effect)]),role:"alert"},[h.showIcon&&(h.$slots.icon||s(i))?(T(),ge(s(lt),{key:0,class:M([s(a).e("icon"),s(a).is("big",s(u))])},{default:ne(()=>[he(h.$slots,"icon",{},()=>[(T(),ge(Rt(s(i))))])]),_:3},8,["class"])):fe("v-if",!0),H("div",{class:M(s(a).e("content"))},[h.title||h.$slots.title?(T(),F("span",{key:0,class:M([s(a).e("title"),{"with-description":s(u)}])},[he(h.$slots,"title",{},()=>[Tt(Pe(h.title),1)])],2)):fe("v-if",!0),s(u)?(T(),F("p",{key:1,class:M(s(a).e("description"))},[he(h.$slots,"default",{},()=>[Tt(Pe(h.description),1)])],2)):fe("v-if",!0),h.closable?(T(),F(tt,{key:2},[h.closeText?(T(),F("div",{key:0,class:M([s(a).e("close-btn"),s(a).is("customed")]),onClick:d},Pe(h.closeText),3)):(T(),ge(s(lt),{key:1,class:M(s(a).e("close-btn")),onClick:s(p)},{default:ne(()=>[Q(s(o))]),_:1},8,["class","onClick"]))],64)):fe("v-if",!0)],2)],2),[[tn,l.value]])]),_:3},8,["name"]))}});var jL=Ue(AL,[["__file","alert.vue"]]);const NL=Pt(jL),rb=()=>nn&&/firefox/i.test(window.navigator.userAgent),W2=()=>nn&&/android/i.test(window.navigator.userAgent);let fr;const RL={height:"0",visibility:"hidden",overflow:rb()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},DL=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],L1=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function LL(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),r=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:DL.map(l=>[l,t.getPropertyValue(l)]),paddingSize:o,borderSize:r,boxSizing:n}}function B1(e,t=1,n){var o,r;fr||(fr=document.createElement("textarea"),((o=e.parentNode)!=null?o:document.body).appendChild(fr));const{paddingSize:a,borderSize:l,boxSizing:i,contextStyle:u}=LL(e);u.forEach(([p,h])=>fr?.style.setProperty(p,h)),Object.entries(RL).forEach(([p,h])=>fr?.style.setProperty(p,h,"important")),fr.value=e.value||e.placeholder||"";let c=fr.scrollHeight;const d={};i==="border-box"?c=c+l:i==="content-box"&&(c=c-a),fr.value="";const f=fr.scrollHeight-a;if(ft(t)){let p=f*t;i==="border-box"&&(p=p+a+l),c=Math.max(p,c),d.minHeight=`${p}px`}if(ft(n)){let p=f*n;i==="border-box"&&(p=p+a+l),c=Math.min(p,c)}return d.height=`${c}px`,(r=fr.parentNode)==null||r.removeChild(fr),fr=void 0,d}const jn=e=>e,BL=qe({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Zo=e=>ml(BL,e),vd=qe({id:{type:String,default:void 0},size:io,disabled:Boolean,modelValue:{type:se([String,Number,Object]),default:""},modelModifiers:{type:se(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:se([Boolean,Object]),default:!1},autocomplete:{type:se(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:hn,default:Ol},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:hn},prefixIcon:{type:hn},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:se([Object,Array,String]),default:()=>jn({})},autofocus:Boolean,rows:{type:Number,default:2},...Zo(["ariaLabel"]),inputmode:{type:se(String),default:void 0},name:String}),VL={[St]:e=>rt(e),input:e=>rt(e),change:e=>rt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},FL=["class","style"],qL=/^on[A-Z]/,Pp=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=S(()=>(n?.value||[]).concat(FL)),r=Lt();return r?S(()=>{var a;return Mc(Object.entries((a=r.proxy)==null?void 0:a.$attrs).filter(([l])=>!o.value.includes(l)&&!(t&&qL.test(l))))}):(Kt("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),S(()=>({})))},Wv={prefix:Math.floor(Math.random()*1e4),current:0},KL=Symbol("elIdInjection"),ab=()=>Lt()?et(KL,Wv):Wv,To=e=>{const t=ab();!nn&&t===Wv&&Kt("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
usage: app.provide(ID_INJECTION_KEY, {
prefix: number,
current: number,
})`);const n=Iy();return Sh(()=>s(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},ii=Symbol("formContextKey"),Da=Symbol("formItemContextKey"),xo=()=>{const e=et(ii,void 0),t=et(Da,void 0);return{form:e,formItem:t}},Pr=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=L(!1)),o||(o=L(!1));const r=Lt(),a=()=>{let c=r?.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},l=L();let i;const u=S(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return Bt(()=>{i=ke([sn(e,"id"),n],([c,d])=>{const f=c??(d?void 0:To().value);f!==l.value&&(t?.removeInputId&&!a()&&(l.value&&t.removeInputId(l.value),!o?.value&&!d&&f&&t.addInputId(f)),l.value=f)},{immediate:!0})}),oi(()=>{i&&i(),t?.removeInputId&&l.value&&t.removeInputId(l.value)}),{isLabeledByFormItem:u,inputId:l}},U2=e=>{const t=Lt();return S(()=>{var n,o;return(o=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:o[e]})},ro=(e,t={})=>{const n=L(void 0),o=t.prop?n:U2("size"),r=t.global?n:O2(),a=t.form?{size:void 0}:et(ii,void 0),l=t.formItem?{size:void 0}:et(Da,void 0);return S(()=>o.value||s(e)||l?.size||a?.size||r.value||"")},go=e=>{const t=U2("disabled"),n=et(ii,void 0);return S(()=>t.value||s(e)||n?.disabled||!1)},HL='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',V1=e=>typeof Element>"u"?!1:e instanceof Element,WL=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,F1=e=>Array.from(e.querySelectorAll(HL)).filter(t=>Nc(t)&&WL(t)),Nc=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}},$f=function(e,t,...n){let o;t.includes("mouse")||t.includes("click")?o="MouseEvents":t.includes("key")?o="KeyboardEvent":o="HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e},Y2=e=>!e.getAttribute("aria-owns"),G2=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const r=o.querySelectorAll(n),a=Array.prototype.indexOf.call(r,e);return r[a+t]||null},md=(e,t)=>{if(!e||!e.focus)return;let n=!1;V1(e)&&!Nc(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),V1(e)&&n&&e.removeAttribute("tabindex")},Pf=e=>{e&&(md(e),!Y2(e)&&e.click())};function $l(e,{disabled:t,beforeFocus:n,afterFocus:o,beforeBlur:r,afterBlur:a}={}){const l=Lt(),{emit:i}=l,u=xn(),c=L(!1),d=h=>{const v=it(n)?n(h):!1;s(t)||c.value||v||(c.value=!0,i("focus",h),o?.())},f=h=>{var v;const g=it(r)?r(h):!1;s(t)||h.relatedTarget&&((v=u.value)!=null&&v.contains(h.relatedTarget))||g||(c.value=!1,i("blur",h),a?.())},p=h=>{var v,g;s(t)||Nc(h.target)||(v=u.value)!=null&&v.contains(document.activeElement)&&u.value!==document.activeElement||(g=e.value)==null||g.focus()};return ke([u,()=>s(t)],([h,v])=>{h&&(v?h.removeAttribute("tabindex"):h.setAttribute("tabindex","-1"))}),gn(u,"focus",d,!0),gn(u,"blur",f,!0),gn(u,"click",p,!0),{isFocused:c,wrapperRef:u,handleFocus:d,handleBlur:f}}const UL=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function yd({afterComposition:e,emit:t}){const n=L(!1),o=i=>{t?.("compositionstart",i),n.value=!0},r=i=>{var u;t?.("compositionupdate",i);const c=(u=i.target)==null?void 0:u.value,d=c[c.length-1]||"";n.value=!UL(d)},a=i=>{t?.("compositionend",i),n.value&&(n.value=!1,Qe(()=>e(i)))};return{isComposing:n,handleComposition:i=>{i.type==="compositionend"?a(i):r(i)},handleCompositionStart:o,handleCompositionUpdate:r,handleCompositionEnd:a}}function YL(e){let t;function n(){if(e.value==null)return;const{selectionStart:r,selectionEnd:a,value:l}=e.value;if(r==null||a==null)return;const i=l.slice(0,Math.max(0,r)),u=l.slice(Math.max(0,a));t={selectionStart:r,selectionEnd:a,value:l,beforeTxt:i,afterTxt:u}}function o(){if(e.value==null||t==null)return;const{value:r}=e.value,{beforeTxt:a,afterTxt:l,selectionStart:i}=t;if(a==null||l==null||i==null)return;let u=r.length;if(r.endsWith(l))u=r.length-l.length;else if(r.startsWith(a))u=a.length;else{const c=a[i-1],d=r.indexOf(c,i-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}return[n,o]}const X2="ElInput",GL=te({name:X2,inheritAttrs:!1}),XL=te({...GL,props:vd,emits:VL,setup(e,{expose:t,emit:n}){const o=e,r=El(),a=Pp(),l=ao(),i=S(()=>[o.type==="textarea"?g.b():v.b(),v.m(p.value),v.is("disabled",h.value),v.is("exceed",X.value),{[v.b("group")]:l.prepend||l.append,[v.m("prefix")]:l.prefix||o.prefixIcon,[v.m("suffix")]:l.suffix||o.suffixIcon||o.clearable||o.showPassword,[v.bm("suffix","password-clear")]:D.value&&B.value,[v.b("hidden")]:o.type==="hidden"},r.class]),u=S(()=>[v.e("wrapper"),v.is("focus",I.value)]),{form:c,formItem:d}=xo(),{inputId:f}=Pr(o,{formItemContext:d}),p=ro(),h=go(),v=Ie("input"),g=Ie("textarea"),m=xn(),y=xn(),k=L(!1),C=L(!1),b=L(),x=xn(o.inputStyle),_=S(()=>m.value||y.value),{wrapperRef:z,isFocused:I,handleFocus:P,handleBlur:j}=$l(_,{disabled:h,afterBlur(){var Ne;o.validateEvent&&((Ne=d?.validate)==null||Ne.call(d,"blur").catch(vt=>Kt(vt)))}}),O=S(()=>{var Ne;return(Ne=c?.statusIcon)!=null?Ne:!1}),A=S(()=>d?.validateState||""),K=S(()=>A.value&&$p[A.value]),Y=S(()=>C.value?xL:F3),Z=S(()=>[r.style]),$=S(()=>[o.inputStyle,x.value,{resize:o.resize}]),R=S(()=>Yn(o.modelValue)?"":String(o.modelValue)),D=S(()=>o.clearable&&!h.value&&!o.readonly&&!!R.value&&(I.value||k.value)),B=S(()=>o.showPassword&&!h.value&&!!R.value),q=S(()=>o.showWordLimit&&!!o.maxlength&&(o.type==="text"||o.type==="textarea")&&!h.value&&!o.readonly&&!o.showPassword),G=S(()=>R.value.length),X=S(()=>!!q.value&&G.value>Number(o.maxlength)),J=S(()=>!!l.suffix||!!o.suffixIcon||D.value||o.showPassword||q.value||!!A.value&&O.value),ue=S(()=>!!Object.keys(o.modelModifiers).length),[ae,ve]=YL(m);In(y,Ne=>{if(oe(),!q.value||o.resize!=="both")return;const vt=Ne[0],{width:_t}=vt.contentRect;b.value={right:`calc(100% - ${_t+15+6}px)`}});const re=()=>{const{type:Ne,autosize:vt}=o;if(!(!nn||Ne!=="textarea"||!y.value))if(vt){const _t=At(vt)?vt.minRows:void 0,Gt=At(vt)?vt.maxRows:void 0,on=B1(y.value,_t,Gt);x.value={overflowY:"hidden",...on},Qe(()=>{y.value.offsetHeight,x.value=on})}else x.value={minHeight:B1(y.value).minHeight}},oe=(Ne=>{let vt=!1;return()=>{var _t;if(vt||!o.autosize)return;((_t=y.value)==null?void 0:_t.offsetParent)===null||(setTimeout(Ne),vt=!0)}})(re),ie=()=>{const Ne=_.value,vt=o.formatter?o.formatter(R.value):R.value;!Ne||Ne.value===vt||(Ne.value=vt)},de=Ne=>{const{trim:vt,number:_t}=o.modelModifiers;return vt&&(Ne=Ne.trim()),_t&&(Ne=`${L1(Ne)}`),o.formatter&&o.parser&&(Ne=o.parser(Ne)),Ne},U=async Ne=>{if(me.value)return;const{lazy:vt}=o.modelModifiers;let{value:_t}=Ne.target;if(vt){n(oo,_t);return}if(_t=de(_t),String(_t)===R.value){o.formatter&&ie();return}ae(),n(St,_t),n(oo,_t),await Qe(),(o.formatter&&o.parser||!ue.value)&&ie(),ve()},le=async Ne=>{let{value:vt}=Ne.target;vt=de(vt),o.modelModifiers.lazy&&n(St,vt),n(Wt,vt),await Qe(),ie()},{isComposing:me,handleCompositionStart:_e,handleCompositionUpdate:Ce,handleCompositionEnd:we}=yd({emit:n,afterComposition:U}),$e=()=>{C.value=!C.value},Re=()=>{var Ne;return(Ne=_.value)==null?void 0:Ne.focus()},Ke=()=>{var Ne;return(Ne=_.value)==null?void 0:Ne.blur()},De=Ne=>{k.value=!1,n("mouseleave",Ne)},at=Ne=>{k.value=!0,n("mouseenter",Ne)},Ze=Ne=>{n("keydown",Ne)},ot=()=>{var Ne;(Ne=_.value)==null||Ne.select()},gt=()=>{n(St,""),n(Wt,""),n("clear"),n(oo,"")};return ke(()=>o.modelValue,()=>{var Ne;Qe(()=>re()),o.validateEvent&&((Ne=d?.validate)==null||Ne.call(d,"change").catch(vt=>Kt(vt)))}),ke(R,Ne=>{if(!_.value)return;const{trim:vt,number:_t}=o.modelModifiers,Gt=_.value.value,on=(_t||o.type==="number")&&!/^0\d/.test(Gt)?`${L1(Gt)}`:Gt;on!==Ne&&(document.activeElement===_.value&&_.value.type!=="range"&&vt&&on.trim()===Ne||ie())}),ke(()=>o.type,async()=>{await Qe(),ie(),re()}),Bt(()=>{!o.formatter&&o.parser&&Kt(X2,"If you set the parser, you also need to set the formatter."),ie(),Qe(re)}),t({input:m,textarea:y,ref:_,textareaStyle:$,autosize:sn(o,"autosize"),isComposing:me,focus:Re,blur:Ke,select:ot,clear:gt,resizeTextarea:re}),(Ne,vt)=>(T(),F("div",{class:M([s(i),{[s(v).bm("group","append")]:Ne.$slots.append,[s(v).bm("group","prepend")]:Ne.$slots.prepend}]),style:ht(s(Z)),onMouseenter:at,onMouseleave:De},[fe(" input "),Ne.type!=="textarea"?(T(),F(tt,{key:0},[fe(" prepend slot "),Ne.$slots.prepend?(T(),F("div",{key:0,class:M(s(v).be("group","prepend"))},[he(Ne.$slots,"prepend")],2)):fe("v-if",!0),H("div",{ref_key:"wrapperRef",ref:z,class:M(s(u))},[fe(" prefix slot "),Ne.$slots.prefix||Ne.prefixIcon?(T(),F("span",{key:0,class:M(s(v).e("prefix"))},[H("span",{class:M(s(v).e("prefix-inner"))},[he(Ne.$slots,"prefix"),Ne.prefixIcon?(T(),ge(s(lt),{key:0,class:M(s(v).e("icon"))},{default:ne(()=>[(T(),ge(Rt(Ne.prefixIcon)))]),_:1},8,["class"])):fe("v-if",!0)],2)],2)):fe("v-if",!0),H("input",Vt({id:s(f),ref_key:"input",ref:m,class:s(v).e("inner")},s(a),{name:Ne.name,minlength:Ne.minlength,maxlength:Ne.maxlength,type:Ne.showPassword?C.value?"text":"password":Ne.type,disabled:s(h),readonly:Ne.readonly,autocomplete:Ne.autocomplete,tabindex:Ne.tabindex,"aria-label":Ne.ariaLabel,placeholder:Ne.placeholder,style:Ne.inputStyle,form:Ne.form,autofocus:Ne.autofocus,role:Ne.containerRole,inputmode:Ne.inputmode,onCompositionstart:s(_e),onCompositionupdate:s(Ce),onCompositionend:s(we),onInput:U,onChange:le,onKeydown:Ze}),null,16,["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode","onCompositionstart","onCompositionupdate","onCompositionend"]),fe(" suffix slot "),s(J)?(T(),F("span",{key:1,class:M(s(v).e("suffix"))},[H("span",{class:M(s(v).e("suffix-inner"))},[!s(D)||!s(B)||!s(q)?(T(),F(tt,{key:0},[he(Ne.$slots,"suffix"),Ne.suffixIcon?(T(),ge(s(lt),{key:0,class:M(s(v).e("icon"))},{default:ne(()=>[(T(),ge(Rt(Ne.suffixIcon)))]),_:1},8,["class"])):fe("v-if",!0)],64)):fe("v-if",!0),s(D)?(T(),ge(s(lt),{key:1,class:M([s(v).e("icon"),s(v).e("clear")]),onMousedown:wt(s(un),["prevent"]),onClick:gt},{default:ne(()=>[(T(),ge(Rt(Ne.clearIcon)))]),_:1},8,["class","onMousedown"])):fe("v-if",!0),s(B)?(T(),ge(s(lt),{key:2,class:M([s(v).e("icon"),s(v).e("password")]),onClick:$e,onMousedown:wt(s(un),["prevent"]),onMouseup:wt(s(un),["prevent"])},{default:ne(()=>[(T(),ge(Rt(s(Y))))]),_:1},8,["class","onMousedown","onMouseup"])):fe("v-if",!0),s(q)?(T(),F("span",{key:3,class:M([s(v).e("count"),s(v).is("outside",Ne.wordLimitPosition==="outside")])},[H("span",{class:M(s(v).e("count-inner"))},Pe(s(G))+" / "+Pe(Ne.maxlength),3)],2)):fe("v-if",!0),s(A)&&s(K)&&s(O)?(T(),ge(s(lt),{key:4,class:M([s(v).e("icon"),s(v).e("validateIcon"),s(v).is("loading",s(A)==="validating")])},{default:ne(()=>[(T(),ge(Rt(s(K))))]),_:1},8,["class"])):fe("v-if",!0)],2)],2)):fe("v-if",!0)],2),fe(" append slot "),Ne.$slots.append?(T(),F("div",{key:1,class:M(s(v).be("group","append"))},[he(Ne.$slots,"append")],2)):fe("v-if",!0)],64)):(T(),F(tt,{key:1},[fe(" textarea "),H("textarea",Vt({id:s(f),ref_key:"textarea",ref:y,class:[s(g).e("inner"),s(v).is("focus",s(I))]},s(a),{minlength:Ne.minlength,maxlength:Ne.maxlength,tabindex:Ne.tabindex,disabled:s(h),readonly:Ne.readonly,autocomplete:Ne.autocomplete,style:s($),"aria-label":Ne.ariaLabel,placeholder:Ne.placeholder,form:Ne.form,autofocus:Ne.autofocus,rows:Ne.rows,role:Ne.containerRole,onCompositionstart:s(_e),onCompositionupdate:s(Ce),onCompositionend:s(we),onInput:U,onFocus:s(P),onBlur:s(j),onChange:le,onKeydown:Ze}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),s(q)?(T(),F("span",{key:0,style:ht(b.value),class:M([s(v).e("count"),s(v).is("outside",Ne.wordLimitPosition==="outside")])},Pe(s(G))+" / "+Pe(Ne.maxlength),7)):fe("v-if",!0)],64))],38))}});var ZL=Ue(XL,[["__file","input.vue"]]);const Yo=Pt(ZL),mi=4,Z2={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"}},QL=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),lb=Symbol("scrollbarContextKey"),JL=qe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),e8="Thumb",t8=te({__name:"thumb",props:JL,setup(e){const t=e,n=et(lb),o=Ie("scrollbar");n||Qn(e8,"can not inject scrollbar context");const r=L(),a=L(),l=L({}),i=L(!1);let u=!1,c=!1,d=0,f=0,p=nn?document.onselectstart:null;const h=S(()=>Z2[t.vertical?"vertical":"horizontal"]),v=S(()=>QL({size:t.size,move:t.move,bar:h.value})),g=S(()=>r.value[h.value.offset]**2/n.wrapElement[h.value.scrollSize]/t.ratio/a.value[h.value.offset]),m=I=>{var P;if(I.stopPropagation(),I.ctrlKey||[1,2].includes(I.button))return;(P=window.getSelection())==null||P.removeAllRanges(),k(I);const j=I.currentTarget;j&&(l.value[h.value.axis]=j[h.value.offset]-(I[h.value.client]-j.getBoundingClientRect()[h.value.direction]))},y=I=>{if(!a.value||!r.value||!n.wrapElement)return;const P=Math.abs(I.target.getBoundingClientRect()[h.value.direction]-I[h.value.client]),j=a.value[h.value.offset]/2,O=(P-j)*100*g.value/r.value[h.value.offset];n.wrapElement[h.value.scroll]=O*n.wrapElement[h.value.scrollSize]/100},k=I=>{I.stopImmediatePropagation(),u=!0,d=n.wrapElement.scrollHeight,f=n.wrapElement.scrollWidth,document.addEventListener("mousemove",C),document.addEventListener("mouseup",b),p=document.onselectstart,document.onselectstart=()=>!1},C=I=>{if(!r.value||!a.value||u===!1)return;const P=l.value[h.value.axis];if(!P)return;const j=(r.value.getBoundingClientRect()[h.value.direction]-I[h.value.client])*-1,O=a.value[h.value.offset]-P,A=(j-O)*100*g.value/r.value[h.value.offset];h.value.scroll==="scrollLeft"?n.wrapElement[h.value.scroll]=A*f/100:n.wrapElement[h.value.scroll]=A*d/100},b=()=>{u=!1,l.value[h.value.axis]=0,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",b),z(),c&&(i.value=!1)},x=()=>{c=!1,i.value=!!t.size},_=()=>{c=!0,i.value=u};cn(()=>{z(),document.removeEventListener("mouseup",b)});const z=()=>{document.onselectstart!==p&&(document.onselectstart=p)};return gn(sn(n,"scrollbarElement"),"mousemove",x),gn(sn(n,"scrollbarElement"),"mouseleave",_),(I,P)=>(T(),ge(So,{name:s(o).b("fade"),persisted:""},{default:ne(()=>[Nt(H("div",{ref_key:"instance",ref:r,class:M([s(o).e("bar"),s(o).is(s(h).key)]),onMousedown:y,onClick:wt(()=>{},["stop"])},[H("div",{ref_key:"thumb",ref:a,class:M(s(o).e("thumb")),style:ht(s(v)),onMousedown:m},null,38)],42,["onClick"]),[[tn,I.always||i.value]])]),_:1},8,["name"]))}});var q1=Ue(t8,[["__file","thumb.vue"]]);const n8=qe({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),o8=te({__name:"bar",props:n8,setup(e,{expose:t}){const n=e,o=et(lb),r=L(0),a=L(0),l=L(""),i=L(""),u=L(1),c=L(1);return t({handleScroll:p=>{if(p){const h=p.offsetHeight-mi,v=p.offsetWidth-mi;a.value=p.scrollTop*100/h*u.value,r.value=p.scrollLeft*100/v*c.value}},update:()=>{const p=o?.wrapElement;if(!p)return;const h=p.offsetHeight-mi,v=p.offsetWidth-mi,g=h**2/p.scrollHeight,m=v**2/p.scrollWidth,y=Math.max(g,n.minSize),k=Math.max(m,n.minSize);u.value=g/(h-g)/(y/(h-y)),c.value=m/(v-m)/(k/(v-k)),i.value=y+mi<h?`${y}px`:"",l.value=k+mi<v?`${k}px`:""}}),(p,h)=>(T(),F(tt,null,[Q(q1,{move:r.value,ratio:c.value,size:l.value,always:p.always},null,8,["move","ratio","size","always"]),Q(q1,{move:a.value,ratio:u.value,size:i.value,vertical:"",always:p.always},null,8,["move","ratio","size","always"])],64))}});var r8=Ue(o8,[["__file","bar.vue"]]);const a8=qe({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:se([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],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,...Zo(["ariaLabel","ariaOrientation"])}),Q2={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(ft)},Uv="ElScrollbar",l8=te({name:Uv}),s8=te({...l8,props:a8,emits:Q2,setup(e,{expose:t,emit:n}){const o=e,r=Ie("scrollbar");let a,l,i,u=0,c=0,d="";const f={bottom:!1,top:!1,right:!1,left:!1},p=L(),h=L(),v=L(),g=L(),m=S(()=>{const O={};return o.height&&(O.height=Nn(o.height)),o.maxHeight&&(O.maxHeight=Nn(o.maxHeight)),[o.wrapStyle,O]}),y=S(()=>[o.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!o.native}]),k=S(()=>[r.e("view"),o.viewClass]),C=O=>{var A;return(A=f[O])!=null?A:!1},b={top:"bottom",bottom:"top",left:"right",right:"left"},x=O=>{const A=b[d];if(!A)return;const K=O[d],Y=O[A];K&&!f[d]&&(f[d]=!0),!Y&&f[A]&&(f[A]=!1)},_=()=>{var O;if(h.value){(O=g.value)==null||O.handleScroll(h.value);const A=u,K=c;u=h.value.scrollTop,c=h.value.scrollLeft;const Y={bottom:u+h.value.clientHeight>=h.value.scrollHeight-o.distance,top:u<=o.distance&&A!==0,right:c+h.value.clientWidth>=h.value.scrollWidth-o.distance&&K!==c,left:c<=o.distance&&K!==0};if(n("scroll",{scrollTop:u,scrollLeft:c}),A!==u&&(d=u>A?"bottom":"top"),K!==c&&(d=c>K?"right":"left"),o.distance>0){if(C(d))return;x(Y)}Y[d]&&n("end-reached",d)}};function z(O,A){At(O)?h.value.scrollTo(O):ft(O)&&ft(A)&&h.value.scrollTo(O,A)}const I=O=>{if(!ft(O)){Kt(Uv,"value must be a number");return}h.value.scrollTop=O},P=O=>{if(!ft(O)){Kt(Uv,"value must be a number");return}h.value.scrollLeft=O},j=()=>{var O;(O=g.value)==null||O.update(),f[d]=!1};return ke(()=>o.noresize,O=>{O?(a?.(),l?.(),i?.()):({stop:a}=In(v,j),{stop:l}=In(h,j),i=gn("resize",j))},{immediate:!0}),ke(()=>[o.maxHeight,o.height],()=>{o.native||Qe(()=>{var O;j(),h.value&&((O=g.value)==null||O.handleScroll(h.value))})}),Ut(lb,an({scrollbarElement:p,wrapElement:h})),cp(()=>{h.value&&(h.value.scrollTop=u,h.value.scrollLeft=c)}),Bt(()=>{o.native||Qe(()=>{j()})}),fa(()=>j()),t({wrapRef:h,update:j,scrollTo:z,setScrollTop:I,setScrollLeft:P,handleScroll:_}),(O,A)=>(T(),F("div",{ref_key:"scrollbarRef",ref:p,class:M(s(r).b())},[H("div",{ref_key:"wrapRef",ref:h,class:M(s(y)),style:ht(s(m)),tabindex:O.tabindex,onScroll:_},[(T(),ge(Rt(O.tag),{id:O.id,ref_key:"resizeRef",ref:v,class:M(s(k)),style:ht(O.viewStyle),role:O.role,"aria-label":O.ariaLabel,"aria-orientation":O.ariaOrientation},{default:ne(()=>[he(O.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),O.native?fe("v-if",!0):(T(),ge(r8,{key:0,ref_key:"barRef",ref:g,always:O.always,"min-size":O.minSize},null,8,["always","min-size"]))],2))}});var i8=Ue(s8,[["__file","scrollbar.vue"]]);const sa=Pt(i8),sb=Symbol("popper"),J2=Symbol("popperContent"),eE=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],tE=qe({role:{type:String,values:eE,default:"tooltip"}}),u8=te({name:"ElPopper",inheritAttrs:!1}),c8=te({...u8,props:tE,setup(e,{expose:t}){const n=e,o=L(),r=L(),a=L(),l=L(),i=S(()=>n.role),u={triggerRef:o,popperInstanceRef:r,contentRef:a,referenceRef:l,role:i};return t(u),Ut(sb,u),(c,d)=>he(c.$slots,"default")}});var d8=Ue(c8,[["__file","popper.vue"]]);const f8=te({name:"ElPopperArrow",inheritAttrs:!1}),h8=te({...f8,setup(e,{expose:t}){const n=Ie("popper"),{arrowRef:o,arrowStyle:r}=et(J2,void 0);return cn(()=>{o.value=void 0}),t({arrowRef:o}),(a,l)=>(T(),F("span",{ref_key:"arrowRef",ref:o,class:M(s(n).e("arrow")),style:ht(s(r)),"data-popper-arrow":""},null,6))}});var p8=Ue(h8,[["__file","arrow.vue"]]);const nE=qe({virtualRef:{type:se(Object)},virtualTriggering:Boolean,onMouseenter:{type:se(Function)},onMouseleave:{type:se(Function)},onClick:{type:se(Function)},onKeydown:{type:se(Function)},onFocus:{type:se(Function)},onBlur:{type:se(Function)},onContextmenu:{type:se(Function)},id:String,open:Boolean}),oE=Symbol("elForwardRef"),g8=e=>{Ut(oE,{setForwardRef:n=>{e.value=n}})},v8=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),qg="ElOnlyChild",rE=te({name:qg,setup(e,{slots:t,attrs:n}){var o;const r=et(oE),a=v8((o=r?.setForwardRef)!=null?o:un);return()=>{var l;const i=(l=t.default)==null?void 0:l.call(t,n);if(!i)return null;const[u,c]=aE(i);return u?(c>1&&Kt(qg,"requires exact only one valid child."),Nt(gl(u,n),[[a]])):(Kt(qg,"no valid child node found"),null)}}});function aE(e){if(!e)return[null,0];const t=e,n=t.filter(o=>o.type!==Xn).length;for(const o of t){if(At(o))switch(o.type){case Xn:continue;case fu:case"svg":return[K1(o),n];case tt:return aE(o.children);default:return[o,n]}return[K1(o),n]}return[null,0]}function K1(e){const t=Ie("only-child");return Q("span",{class:t.e("content")},[e])}const m8=te({name:"ElPopperTrigger",inheritAttrs:!1}),y8=te({...m8,props:nE,setup(e,{expose:t}){const n=e,{role:o,triggerRef:r}=et(sb,void 0);g8(r);const a=S(()=>i.value?n.id:void 0),l=S(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),i=S(()=>{if(o&&o.value!=="tooltip")return o.value}),u=S(()=>i.value?`${n.open}`:void 0);let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return Bt(()=>{ke(()=>n.virtualRef,f=>{f&&(r.value=wo(f))},{immediate:!0}),ke(r,(f,p)=>{c?.(),c=void 0,zr(f)&&(d.forEach(h=>{var v;const g=n[h];g&&(f.addEventListener(h.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(h)),(v=p?.removeEventListener)==null||v.call(p,h.slice(2).toLowerCase(),g,["onFocus","onBlur"].includes(h)))}),Nc(f)&&(c=ke([a,l,i,u],h=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,g)=>{Yn(h[g])?f.removeAttribute(v):f.setAttribute(v,h[g])})},{immediate:!0}))),zr(p)&&Nc(p)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(h=>p.removeAttribute(h))},{immediate:!0})}),cn(()=>{if(c?.(),c=void 0,r.value&&zr(r.value)){const f=r.value;d.forEach(p=>{const h=n[p];h&&f.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),r.value=void 0}}),t({triggerRef:r}),(f,p)=>f.virtualTriggering?fe("v-if",!0):(T(),ge(s(rE),Vt({key:0},f.$attrs,{"aria-controls":s(a),"aria-describedby":s(l),"aria-expanded":s(u),"aria-haspopup":s(i)}),{default:ne(()=>[he(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var b8=Ue(y8,[["__file","trigger.vue"]]);const Kg="focus-trap.focus-after-trapped",Hg="focus-trap.focus-after-released",w8="focus-trap.focusout-prevented",H1={cancelable:!0,bubbles:!1},C8={cancelable:!0,bubbles:!1},W1="focusAfterTrapped",U1="focusAfterReleased",lE=Symbol("elFocusTrap"),ib=L(),Ip=L(0),ub=L(0);let lf=0;const sE=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Y1=(e,t)=>{for(const n of e)if(!k8(n,t))return n},k8=(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},S8=e=>{const t=sE(e),n=Y1(t,e),o=Y1(t.reverse(),e);return[n,o]},_8=e=>e instanceof HTMLInputElement&&"select"in e,ql=(e,t)=>{if(e){const n=document.activeElement;md(e,{preventScroll:!0}),ub.value=window.performance.now(),e!==n&&_8(e)&&t&&e.select()}};function G1(e,t){const n=[...e],o=e.indexOf(t);return o!==-1&&n.splice(o,1),n}const x8=()=>{let e=[];return{push:o=>{const r=e[0];r&&o!==r&&r.pause(),e=G1(e,o),e.unshift(o)},remove:o=>{var r,a;e=G1(e,o),(a=(r=e[0])==null?void 0:r.resume)==null||a.call(r)}}},E8=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(ql(o,t),document.activeElement!==n)return},X1=x8(),z8=()=>Ip.value>ub.value,sf=()=>{ib.value="pointer",Ip.value=window.performance.now()},Z1=()=>{ib.value="keyboard",Ip.value=window.performance.now()},T8=()=>(Bt(()=>{lf===0&&(document.addEventListener("mousedown",sf),document.addEventListener("touchstart",sf),document.addEventListener("keydown",Z1)),lf++}),cn(()=>{lf--,lf<=0&&(document.removeEventListener("mousedown",sf),document.removeEventListener("touchstart",sf),document.removeEventListener("keydown",Z1))}),{focusReason:ib,lastUserFocusTimestamp:Ip,lastAutomatedFocusTimestamp:ub}),uf=e=>new CustomEvent(w8,{...C8,detail:e}),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"},po=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const a=e?.(r);if(n===!1||!a)return t?.(r)},Q1=e=>t=>t.pointerType==="mouse"?e(t):void 0,kn=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=iE(e);if(t){if(Object.values(We).includes(t))return t;switch(t){case" ":return We.space;default:return""}}return""},iE=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&W2()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t};let xi=[];const J1=e=>{kn(e)===We.esc&&xi.forEach(n=>n(e))},O8=e=>{Bt(()=>{xi.length===0&&document.addEventListener("keydown",J1),nn&&xi.push(e)}),cn(()=>{xi=xi.filter(t=>t!==e),xi.length===0&&nn&&document.removeEventListener("keydown",J1)})},$8=te({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[W1,U1,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=L();let o,r;const{focusReason:a}=T8();O8(v=>{e.trapped&&!l.paused&&t("release-requested",v)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=v=>{if(!e.loop&&!e.trapped||l.paused)return;const{altKey:g,ctrlKey:m,metaKey:y,currentTarget:k,shiftKey:C}=v,{loop:b}=e,_=kn(v)===We.tab&&!g&&!m&&!y,z=document.activeElement;if(_&&z){const I=k,[P,j]=S8(I);if(P&&j){if(!C&&z===j){const A=uf({focusReason:a.value});t("focusout-prevented",A),A.defaultPrevented||(v.preventDefault(),b&&ql(P,!0))}else if(C&&[P,I].includes(z)){const A=uf({focusReason:a.value});t("focusout-prevented",A),A.defaultPrevented||(v.preventDefault(),b&&ql(j,!0))}}else if(z===I){const A=uf({focusReason:a.value});t("focusout-prevented",A),A.defaultPrevented||v.preventDefault()}}};Ut(lE,{focusTrapRef:n,onKeydown:i}),ke(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),ke([n],([v],[g])=>{v&&(v.addEventListener("keydown",i),v.addEventListener("focusin",d),v.addEventListener("focusout",f)),g&&(g.removeEventListener("keydown",i),g.removeEventListener("focusin",d),g.removeEventListener("focusout",f))});const u=v=>{t(W1,v)},c=v=>t(U1,v),d=v=>{const g=s(n);if(!g)return;const m=v.target,y=v.relatedTarget,k=m&&g.contains(m);e.trapped||y&&g.contains(y)||(o=y),k&&t("focusin",v),!l.paused&&e.trapped&&(k?r=m:ql(r,!0))},f=v=>{const g=s(n);if(!(l.paused||!g))if(e.trapped){const m=v.relatedTarget;!Yn(m)&&!g.contains(m)&&setTimeout(()=>{if(!l.paused&&e.trapped){const y=uf({focusReason:a.value});t("focusout-prevented",y),y.defaultPrevented||ql(r,!0)}},0)}else{const m=v.target;m&&g.contains(m)||t("focusout",v)}};async function p(){await Qe();const v=s(n);if(v){X1.push(l);const g=v.contains(document.activeElement)?o:document.activeElement;if(o=g,!v.contains(g)){const y=new Event(Kg,H1);v.addEventListener(Kg,u),v.dispatchEvent(y),y.defaultPrevented||Qe(()=>{let k=e.focusStartEl;rt(k)||(ql(k),document.activeElement!==k&&(k="first")),k==="first"&&E8(sE(v),!0),(document.activeElement===g||k==="container")&&ql(v)})}}}function h(){const v=s(n);if(v){v.removeEventListener(Kg,u);const g=new CustomEvent(Hg,{...H1,detail:{focusReason:a.value}});v.addEventListener(Hg,c),v.dispatchEvent(g),!g.defaultPrevented&&(a.value=="keyboard"||!z8()||v.contains(document.activeElement))&&ql(o??document.body),v.removeEventListener(Hg,c),X1.remove(l),o=null,r=null}}return Bt(()=>{e.trapped&&p(),ke(()=>e.trapped,v=>{v?p():h()})}),cn(()=>{e.trapped&&h(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",f),n.value=void 0)}),{onKeydown:i}}});function P8(e,t,n,o,r,a){return he(e.$slots,"default",{handleKeydown:e.onKeydown})}var wu=Ue($8,[["render",P8],["__file","focus-trap.vue"]]),vr="top",Hr="bottom",Wr="right",mr="left",cb="auto",bd=[vr,Hr,Wr,mr],Zi="start",Rc="end",I8="clippingParents",uE="viewport",Bu="popper",M8="reference",eC=bd.reduce(function(e,t){return e.concat([t+"-"+Zi,t+"-"+Rc])},[]),Pl=[].concat(bd,[cb]).reduce(function(e,t){return e.concat([t,t+"-"+Zi,t+"-"+Rc])},[]),A8="beforeRead",j8="read",N8="afterRead",R8="beforeMain",D8="main",L8="afterMain",B8="beforeWrite",V8="write",F8="afterWrite",q8=[A8,j8,N8,R8,D8,L8,B8,V8,F8];function La(e){return e?(e.nodeName||"").toLowerCase():null}function ga(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Qi(e){var t=ga(e).Element;return e instanceof t||e instanceof Element}function Fr(e){var t=ga(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function db(e){if(typeof ShadowRoot>"u")return!1;var t=ga(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function K8(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},r=t.attributes[n]||{},a=t.elements[n];!Fr(a)||!La(a)||(Object.assign(a.style,o),Object.keys(r).forEach(function(l){var i=r[l];i===!1?a.removeAttribute(l):a.setAttribute(l,i===!0?"":i)}))})}function H8(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(o){var r=t.elements[o],a=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),i=l.reduce(function(u,c){return u[c]="",u},{});!Fr(r)||!La(r)||(Object.assign(r.style,i),Object.keys(a).forEach(function(u){r.removeAttribute(u)}))})}}var cE={name:"applyStyles",enabled:!0,phase:"write",fn:K8,effect:H8,requires:["computeStyles"]};function Ia(e){return e.split("-")[0]}var Vs=Math.max,Eh=Math.min,Ji=Math.round;function eu(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(Fr(e)&&t){var a=e.offsetHeight,l=e.offsetWidth;l>0&&(o=Ji(n.width)/l||1),a>0&&(r=Ji(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function fb(e){var t=eu(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function dE(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&db(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function bl(e){return ga(e).getComputedStyle(e)}function W8(e){return["table","td","th"].indexOf(La(e))>=0}function hs(e){return((Qi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Mp(e){return La(e)==="html"?e:e.assignedSlot||e.parentNode||(db(e)?e.host:null)||hs(e)}function tC(e){return!Fr(e)||bl(e).position==="fixed"?null:e.offsetParent}function U8(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Fr(e)){var o=bl(e);if(o.position==="fixed")return null}var r=Mp(e);for(db(r)&&(r=r.host);Fr(r)&&["html","body"].indexOf(La(r))<0;){var a=bl(r);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return r;r=r.parentNode}return null}function wd(e){for(var t=ga(e),n=tC(e);n&&W8(n)&&bl(n).position==="static";)n=tC(n);return n&&(La(n)==="html"||La(n)==="body"&&bl(n).position==="static")?t:n||U8(e)||t}function hb(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function hc(e,t,n){return Vs(e,Eh(t,n))}function Y8(e,t,n){var o=hc(e,t,n);return o>n?n:o}function fE(){return{top:0,right:0,bottom:0,left:0}}function hE(e){return Object.assign({},fE(),e)}function pE(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var G8=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,hE(typeof e!="number"?e:pE(e,bd))};function X8(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,i=Ia(n.placement),u=hb(i),c=[mr,Wr].indexOf(i)>=0,d=c?"height":"width";if(!(!a||!l)){var f=G8(r.padding,n),p=fb(a),h=u==="y"?vr:mr,v=u==="y"?Hr:Wr,g=n.rects.reference[d]+n.rects.reference[u]-l[u]-n.rects.popper[d],m=l[u]-n.rects.reference[u],y=wd(a),k=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,C=g/2-m/2,b=f[h],x=k-p[d]-f[v],_=k/2-p[d]/2+C,z=hc(b,_,x),I=u;n.modifiersData[o]=(t={},t[I]=z,t.centerOffset=z-_,t)}}function Z8(e){var t=e.state,n=e.options,o=n.element,r=o===void 0?"[data-popper-arrow]":o;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||!dE(t.elements.popper,r)||(t.elements.arrow=r))}var Q8={name:"arrow",enabled:!0,phase:"main",fn:X8,effect:Z8,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tu(e){return e.split("-")[1]}var J8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function eB(e){var t=e.x,n=e.y,o=window,r=o.devicePixelRatio||1;return{x:Ji(t*r)/r||0,y:Ji(n*r)/r||0}}function nC(e){var t,n=e.popper,o=e.popperRect,r=e.placement,a=e.variation,l=e.offsets,i=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=l.x,h=p===void 0?0:p,v=l.y,g=v===void 0?0:v,m=typeof d=="function"?d({x:h,y:g}):{x:h,y:g};h=m.x,g=m.y;var y=l.hasOwnProperty("x"),k=l.hasOwnProperty("y"),C=mr,b=vr,x=window;if(c){var _=wd(n),z="clientHeight",I="clientWidth";if(_===ga(n)&&(_=hs(n),bl(_).position!=="static"&&i==="absolute"&&(z="scrollHeight",I="scrollWidth")),_=_,r===vr||(r===mr||r===Wr)&&a===Rc){b=Hr;var P=f&&_===x&&x.visualViewport?x.visualViewport.height:_[z];g-=P-o.height,g*=u?1:-1}if(r===mr||(r===vr||r===Hr)&&a===Rc){C=Wr;var j=f&&_===x&&x.visualViewport?x.visualViewport.width:_[I];h-=j-o.width,h*=u?1:-1}}var O=Object.assign({position:i},c&&J8),A=d===!0?eB({x:h,y:g}):{x:h,y:g};if(h=A.x,g=A.y,u){var K;return Object.assign({},O,(K={},K[b]=k?"0":"",K[C]=y?"0":"",K.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",K))}return Object.assign({},O,(t={},t[b]=k?g+"px":"",t[C]=y?h+"px":"",t.transform="",t))}function tB(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=o===void 0?!0:o,a=n.adaptive,l=a===void 0?!0:a,i=n.roundOffsets,u=i===void 0?!0:i,c={placement:Ia(t.placement),variation:tu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,nC(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,nC(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var gE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tB,data:{}},cf={passive:!0};function nB(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=r===void 0?!0:r,l=o.resize,i=l===void 0?!0:l,u=ga(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",n.update,cf)}),i&&u.addEventListener("resize",n.update,cf),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",n.update,cf)}),i&&u.removeEventListener("resize",n.update,cf)}}var vE={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:nB,data:{}},oB={left:"right",right:"left",bottom:"top",top:"bottom"};function If(e){return e.replace(/left|right|bottom|top/g,function(t){return oB[t]})}var rB={start:"end",end:"start"};function oC(e){return e.replace(/start|end/g,function(t){return rB[t]})}function pb(e){var t=ga(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function gb(e){return eu(hs(e)).left+pb(e).scrollLeft}function aB(e){var t=ga(e),n=hs(e),o=t.visualViewport,r=n.clientWidth,a=n.clientHeight,l=0,i=0;return o&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=o.offsetLeft,i=o.offsetTop)),{width:r,height:a,x:l+gb(e),y:i}}function lB(e){var t,n=hs(e),o=pb(e),r=(t=e.ownerDocument)==null?void 0:t.body,a=Vs(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Vs(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),i=-o.scrollLeft+gb(e),u=-o.scrollTop;return bl(r||n).direction==="rtl"&&(i+=Vs(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:l,x:i,y:u}}function vb(e){var t=bl(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function mE(e){return["html","body","#document"].indexOf(La(e))>=0?e.ownerDocument.body:Fr(e)&&vb(e)?e:mE(Mp(e))}function pc(e,t){var n;t===void 0&&(t=[]);var o=mE(e),r=o===((n=e.ownerDocument)==null?void 0:n.body),a=ga(o),l=r?[a].concat(a.visualViewport||[],vb(o)?o:[]):o,i=t.concat(l);return r?i:i.concat(pc(Mp(l)))}function Yv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sB(e){var t=eu(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function rC(e,t){return t===uE?Yv(aB(e)):Qi(t)?sB(t):Yv(lB(hs(e)))}function iB(e){var t=pc(Mp(e)),n=["absolute","fixed"].indexOf(bl(e).position)>=0,o=n&&Fr(e)?wd(e):e;return Qi(o)?t.filter(function(r){return Qi(r)&&dE(r,o)&&La(r)!=="body"}):[]}function uB(e,t,n){var o=t==="clippingParents"?iB(e):[].concat(t),r=[].concat(o,[n]),a=r[0],l=r.reduce(function(i,u){var c=rC(e,u);return i.top=Vs(c.top,i.top),i.right=Eh(c.right,i.right),i.bottom=Eh(c.bottom,i.bottom),i.left=Vs(c.left,i.left),i},rC(e,a));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function yE(e){var t=e.reference,n=e.element,o=e.placement,r=o?Ia(o):null,a=o?tu(o):null,l=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2,u;switch(r){case vr:u={x:l,y:t.y-n.height};break;case Hr:u={x:l,y:t.y+t.height};break;case Wr:u={x:t.x+t.width,y:i};break;case mr:u={x:t.x-n.width,y:i};break;default:u={x:t.x,y:t.y}}var c=r?hb(r):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case Zi:u[c]=u[c]-(t[d]/2-n[d]/2);break;case Rc:u[c]=u[c]+(t[d]/2-n[d]/2);break}}return u}function Dc(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=o===void 0?e.placement:o,a=n.boundary,l=a===void 0?I8:a,i=n.rootBoundary,u=i===void 0?uE:i,c=n.elementContext,d=c===void 0?Bu:c,f=n.altBoundary,p=f===void 0?!1:f,h=n.padding,v=h===void 0?0:h,g=hE(typeof v!="number"?v:pE(v,bd)),m=d===Bu?M8:Bu,y=e.rects.popper,k=e.elements[p?m:d],C=uB(Qi(k)?k:k.contextElement||hs(e.elements.popper),l,u),b=eu(e.elements.reference),x=yE({reference:b,element:y,placement:r}),_=Yv(Object.assign({},y,x)),z=d===Bu?_:b,I={top:C.top-z.top+g.top,bottom:z.bottom-C.bottom+g.bottom,left:C.left-z.left+g.left,right:z.right-C.right+g.right},P=e.modifiersData.offset;if(d===Bu&&P){var j=P[r];Object.keys(I).forEach(function(O){var A=[Wr,Hr].indexOf(O)>=0?1:-1,K=[vr,Hr].indexOf(O)>=0?"y":"x";I[O]+=j[K]*A})}return I}function cB(e,t){t===void 0&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,l=n.padding,i=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?Pl:u,d=tu(o),f=d?i?eC:eC.filter(function(v){return tu(v)===d}):bd,p=f.filter(function(v){return c.indexOf(v)>=0});p.length===0&&(p=f);var h=p.reduce(function(v,g){return v[g]=Dc(e,{placement:g,boundary:r,rootBoundary:a,padding:l})[Ia(g)],v},{});return Object.keys(h).sort(function(v,g){return h[v]-h[g]})}function dB(e){if(Ia(e)===cb)return[];var t=If(e);return[oC(e),t,oC(t)]}function fB(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=r===void 0?!0:r,l=n.altAxis,i=l===void 0?!0:l,u=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,g=n.allowedAutoPlacements,m=t.options.placement,y=Ia(m),k=y===m,C=u||(k||!v?[If(m)]:dB(m)),b=[m].concat(C).reduce(function(ue,ae){return ue.concat(Ia(ae)===cb?cB(t,{placement:ae,boundary:d,rootBoundary:f,padding:c,flipVariations:v,allowedAutoPlacements:g}):ae)},[]),x=t.rects.reference,_=t.rects.popper,z=new Map,I=!0,P=b[0],j=0;j<b.length;j++){var O=b[j],A=Ia(O),K=tu(O)===Zi,Y=[vr,Hr].indexOf(A)>=0,Z=Y?"width":"height",$=Dc(t,{placement:O,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),R=Y?K?Wr:mr:K?Hr:vr;x[Z]>_[Z]&&(R=If(R));var D=If(R),B=[];if(a&&B.push($[A]<=0),i&&B.push($[R]<=0,$[D]<=0),B.every(function(ue){return ue})){P=O,I=!1;break}z.set(O,B)}if(I)for(var q=v?3:1,G=function(ue){var ae=b.find(function(ve){var re=z.get(ve);if(re)return re.slice(0,ue).every(function(ce){return ce})});if(ae)return P=ae,"break"},X=q;X>0;X--){var J=G(X);if(J==="break")break}t.placement!==P&&(t.modifiersData[o]._skip=!0,t.placement=P,t.reset=!0)}}var hB={name:"flip",enabled:!0,phase:"main",fn:fB,requiresIfExists:["offset"],data:{_skip:!1}};function aC(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 lC(e){return[vr,Wr,Hr,mr].some(function(t){return e[t]>=0})}function pB(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,l=Dc(t,{elementContext:"reference"}),i=Dc(t,{altBoundary:!0}),u=aC(l,o),c=aC(i,r,a),d=lC(u),f=lC(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var gB={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pB};function vB(e,t,n){var o=Ia(e),r=[mr,vr].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],i=a[1];return l=l||0,i=(i||0)*r,[mr,Wr].indexOf(o)>=0?{x:i,y:l}:{x:l,y:i}}function mB(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=r===void 0?[0,0]:r,l=Pl.reduce(function(d,f){return d[f]=vB(f,t.rects,a),d},{}),i=l[t.placement],u=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=l}var yB={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mB};function bB(e){var t=e.state,n=e.name;t.modifiersData[n]=yE({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var bE={name:"popperOffsets",enabled:!0,phase:"read",fn:bB,data:{}};function wB(e){return e==="x"?"y":"x"}function CB(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=r===void 0?!0:r,l=n.altAxis,i=l===void 0?!1:l,u=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,v=n.tetherOffset,g=v===void 0?0:v,m=Dc(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),y=Ia(t.placement),k=tu(t.placement),C=!k,b=hb(y),x=wB(b),_=t.modifiersData.popperOffsets,z=t.rects.reference,I=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,j=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(_){if(a){var K,Y=b==="y"?vr:mr,Z=b==="y"?Hr:Wr,$=b==="y"?"height":"width",R=_[b],D=R+m[Y],B=R-m[Z],q=h?-I[$]/2:0,G=k===Zi?z[$]:I[$],X=k===Zi?-I[$]:-z[$],J=t.elements.arrow,ue=h&&J?fb(J):{width:0,height:0},ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:fE(),ve=ae[Y],re=ae[Z],ce=hc(0,z[$],ue[$]),oe=C?z[$]/2-q-ce-ve-j.mainAxis:G-ce-ve-j.mainAxis,ie=C?-z[$]/2+q+ce+re+j.mainAxis:X+ce+re+j.mainAxis,de=t.elements.arrow&&wd(t.elements.arrow),U=de?b==="y"?de.clientTop||0:de.clientLeft||0:0,le=(K=O?.[b])!=null?K:0,me=R+oe-le-U,_e=R+ie-le,Ce=hc(h?Eh(D,me):D,R,h?Vs(B,_e):B);_[b]=Ce,A[b]=Ce-R}if(i){var we,$e=b==="x"?vr:mr,Re=b==="x"?Hr:Wr,Ke=_[x],De=x==="y"?"height":"width",at=Ke+m[$e],Ze=Ke-m[Re],ot=[vr,mr].indexOf(y)!==-1,gt=(we=O?.[x])!=null?we:0,Ne=ot?at:Ke-z[De]-I[De]-gt+j.altAxis,vt=ot?Ke+z[De]+I[De]-gt-j.altAxis:Ze,_t=h&&ot?Y8(Ne,Ke,vt):hc(h?Ne:at,Ke,h?vt:Ze);_[x]=_t,A[x]=_t-Ke}t.modifiersData[o]=A}}var kB={name:"preventOverflow",enabled:!0,phase:"main",fn:CB,requiresIfExists:["offset"]};function SB(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function _B(e){return e===ga(e)||!Fr(e)?pb(e):SB(e)}function xB(e){var t=e.getBoundingClientRect(),n=Ji(t.width)/e.offsetWidth||1,o=Ji(t.height)/e.offsetHeight||1;return n!==1||o!==1}function EB(e,t,n){n===void 0&&(n=!1);var o=Fr(t),r=Fr(t)&&xB(t),a=hs(t),l=eu(e,r),i={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&((La(t)!=="body"||vb(a))&&(i=_B(t)),Fr(t)?(u=eu(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=gb(a))),{x:l.left+i.scrollLeft-u.x,y:l.top+i.scrollTop-u.y,width:l.width,height:l.height}}function zB(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function r(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(i){if(!n.has(i)){var u=t.get(i);u&&r(u)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||r(a)}),o}function TB(e){var t=zB(e);return q8.reduce(function(n,o){return n.concat(t.filter(function(r){return r.phase===o}))},[])}function OB(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function $B(e){var t=e.reduce(function(n,o){var r=n[o.name];return n[o.name]=r?Object.assign({},r,o,{options:Object.assign({},r.options,o.options),data:Object.assign({},r.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var sC={placement:"bottom",modifiers:[],strategy:"absolute"};function iC(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function mb(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,r=t.defaultOptions,a=r===void 0?sC:r;return function(l,i,u){u===void 0&&(u=a);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},sC,a),modifiersData:{},elements:{reference:l,popper:i},attributes:{},styles:{}},d=[],f=!1,p={state:c,setOptions:function(g){var m=typeof g=="function"?g(c.options):g;v(),c.options=Object.assign({},a,c.options,m),c.scrollParents={reference:Qi(l)?pc(l):l.contextElement?pc(l.contextElement):[],popper:pc(i)};var y=TB($B([].concat(o,c.options.modifiers)));return c.orderedModifiers=y.filter(function(k){return k.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var g=c.elements,m=g.reference,y=g.popper;if(iC(m,y)){c.rects={reference:EB(m,wd(y),c.options.strategy==="fixed"),popper:fb(y)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(I){return c.modifiersData[I.name]=Object.assign({},I.data)});for(var k=0;k<c.orderedModifiers.length;k++){if(c.reset===!0){c.reset=!1,k=-1;continue}var C=c.orderedModifiers[k],b=C.fn,x=C.options,_=x===void 0?{}:x,z=C.name;typeof b=="function"&&(c=b({state:c,options:_,name:z,instance:p})||c)}}}},update:OB(function(){return new Promise(function(g){p.forceUpdate(),g(c)})}),destroy:function(){v(),f=!0}};if(!iC(l,i))return p;p.setOptions(u).then(function(g){!f&&u.onFirstUpdate&&u.onFirstUpdate(g)});function h(){c.orderedModifiers.forEach(function(g){var m=g.name,y=g.options,k=y===void 0?{}:y,C=g.effect;if(typeof C=="function"){var b=C({state:c,name:m,instance:p,options:k}),x=function(){};d.push(b||x)}})}function v(){d.forEach(function(g){return g()}),d=[]}return p}}mb();var PB=[vE,bE,gE,cE];mb({defaultModifiers:PB});var IB=[vE,bE,gE,cE,yB,hB,kB,Q8,gB],MB=mb({defaultModifiers:IB});const wE=qe({arrowOffset:{type:Number,default:5}}),AB=["fixed","absolute"],jB=qe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:se(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Pl,default:"bottom"},popperOptions:{type:se(Object),default:()=>({})},strategy:{type:String,values:AB,default:"absolute"}}),CE=qe({...jB,...wE,id:String,style:{type:se([String,Array,Object])},className:{type:se([String,Array,Object])},effect:{type:se(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:se([String,Array,Object])},popperStyle:{type:se([String,Array,Object])},referenceEl:{type:se(Object)},triggerTargetEl:{type:se(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...Zo(["ariaLabel"]),loop:Boolean}),NB={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},RB=(e,t)=>{const n=L(!1),o=L();return{focusStartRef:o,trapped:n,onFocusAfterReleased:c=>{var d;((d=c.detail)==null?void 0:d.focusReason)!=="pointer"&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:c=>{e.visible&&!n.value&&(c.target&&(o.value=c.target),n.value=!0)},onFocusoutPrevented:c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},DB=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:r}=e,a={placement:n,strategy:o,...r,modifiers:[...BB(e),...t]};return VB(a,r?.modifiers),a},LB=e=>{if(nn)return wo(e)};function BB(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=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:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function VB(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const FB=(e,t,n={})=>{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const c=qB(u);Object.assign(l.value,c)},requires:["computeStyles"]},r=S(()=>{const{onFirstUpdate:u,placement:c,strategy:d,modifiers:f}=s(n);return{onFirstUpdate:u,placement:c||"bottom",strategy:d||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),a=xn(),l=L({styles:{popper:{position:s(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return ke(r,u=>{const c=s(a);c&&c.setOptions(u)},{deep:!0}),ke([e,t],([u,c])=>{i(),!(!u||!c)&&(a.value=MB(u,c,s(r)))}),cn(()=>{i()}),{state:S(()=>{var u;return{...((u=s(a))==null?void 0:u.state)||{}}}),styles:S(()=>s(l).styles),attributes:S(()=>s(l).attributes),update:()=>{var u;return(u=s(a))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=s(a))==null?void 0:u.forceUpdate()},instanceRef:S(()=>s(a))}};function qB(e){const t=Object.keys(e.elements),n=Mc(t.map(r=>[r,e.styles[r]||{}])),o=Mc(t.map(r=>[r,e.attributes[r]]));return{styles:n,attributes:o}}const KB=0,HB=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:r}=et(sb,void 0),a=L(),l=S(()=>e.arrowOffset),i=S(()=>({name:"eventListeners",enabled:!!e.visible})),u=S(()=>{var y;const k=s(a),C=(y=s(l))!=null?y:KB;return{name:"arrow",enabled:!W4(k),options:{element:k,padding:C}}}),c=S(()=>({onFirstUpdate:()=>{v()},...DB(e,[s(u),s(i)])})),d=S(()=>LB(e.referenceEl)||s(o)),{attributes:f,state:p,styles:h,update:v,forceUpdate:g,instanceRef:m}=FB(d,n,c);return ke(m,y=>t.value=y,{flush:"sync"}),Bt(()=>{ke(()=>{var y,k;return(k=(y=s(d))==null?void 0:y.getBoundingClientRect)==null?void 0:k.call(y)},()=>{v()})}),{attributes:f,arrowRef:a,contentRef:n,instanceRef:m,state:p,styles:h,role:r,forceUpdate:g,update:v}},WB=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:r}=hd(),a=Ie("popper"),l=S(()=>s(t).popper),i=L(ft(e.zIndex)?e.zIndex:r()),u=S(()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass]),c=S(()=>[{zIndex:s(i)},s(n).popper,e.popperStyle||{}]),d=S(()=>o.value==="dialog"?"false":void 0),f=S(()=>s(n).arrow||{});return{ariaModal:d,arrowStyle:f,contentAttrs:l,contentClass:u,contentStyle:c,contentZIndex:i,updateZIndex:()=>{i.value=ft(e.zIndex)?e.zIndex:r()}}},UB=te({name:"ElPopperContent"}),YB=te({...UB,props:CE,emits:NB,setup(e,{expose:t,emit:n}){const o=e,{focusStartRef:r,trapped:a,onFocusAfterReleased:l,onFocusAfterTrapped:i,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:d}=RB(o,n),{attributes:f,arrowRef:p,contentRef:h,styles:v,instanceRef:g,role:m,update:y}=HB(o),{ariaModal:k,arrowStyle:C,contentAttrs:b,contentClass:x,contentStyle:_,updateZIndex:z}=WB(o,{styles:v,attributes:f,role:m}),I=et(Da,void 0);Ut(J2,{arrowStyle:C,arrowRef:p}),I&&Ut(Da,{...I,addInputId:un,removeInputId:un});let P;const j=(A=!0)=>{y(),A&&z()},O=()=>{j(!1),o.visible&&o.focusOnShow?a.value=!0:o.visible===!1&&(a.value=!1)};return Bt(()=>{ke(()=>o.triggerTargetEl,(A,K)=>{P?.(),P=void 0;const Y=s(A||h.value),Z=s(K||h.value);zr(Y)&&(P=ke([m,()=>o.ariaLabel,k,()=>o.id],$=>{["role","aria-label","aria-modal","id"].forEach((R,D)=>{Yn($[D])?Y.removeAttribute(R):Y.setAttribute(R,$[D])})},{immediate:!0})),Z!==Y&&zr(Z)&&["role","aria-label","aria-modal","id"].forEach($=>{Z.removeAttribute($)})},{immediate:!0}),ke(()=>o.visible,O,{immediate:!0})}),cn(()=>{P?.(),P=void 0}),t({popperContentRef:h,popperInstanceRef:g,updatePopper:j,contentStyle:_}),(A,K)=>(T(),F("div",Vt({ref_key:"contentRef",ref:h},s(b),{style:s(_),class:s(x),tabindex:"-1",onMouseenter:Y=>A.$emit("mouseenter",Y),onMouseleave:Y=>A.$emit("mouseleave",Y)}),[Q(s(wu),{loop:A.loop,trapped:s(a),"trap-on-focus-in":!0,"focus-trap-el":s(h),"focus-start-el":s(r),onFocusAfterTrapped:s(i),onFocusAfterReleased:s(l),onFocusin:s(u),onFocusoutPrevented:s(c),onReleaseRequested:s(d)},{default:ne(()=>[he(A.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var GB=Ue(YB,[["__file","content.vue"]]);const kE=Pt(d8),yb=Symbol("elTooltip"),Ap=qe({to:{type:se([String,Object]),required:!0},disabled:Boolean}),mn=qe({...R2,...CE,appendTo:{type:Ap.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:se(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...Zo(["ariaLabel"])}),Ma=qe({...nE,disabled:Boolean,trigger:{type:se([String,Array]),default:"hover"},triggerKeys:{type:se(Array),default:()=>[We.enter,We.numpadEnter,We.space]},focusOnTarget:Boolean}),XB=pa({type:se(Boolean),default:null}),ZB=pa({type:se(Function)}),QB=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],r={[e]:XB,[n]:ZB};return{useModelToggle:({indicator:l,toggleReason:i,shouldHideWhenRouteChanges:u,shouldProceed:c,onShow:d,onHide:f})=>{const p=Lt(),{emit:h}=p,v=p.props,g=S(()=>it(v[n])),m=S(()=>v[e]===null),y=z=>{l.value!==!0&&(l.value=!0,i&&(i.value=z),it(d)&&d(z))},k=z=>{l.value!==!1&&(l.value=!1,i&&(i.value=z),it(f)&&f(z))},C=z=>{if(v.disabled===!0||it(c)&&!c())return;const I=g.value&&nn;I&&h(t,!0),(m.value||!I)&&y(z)},b=z=>{if(v.disabled===!0||!nn)return;const I=g.value&&nn;I&&h(t,!1),(m.value||!I)&&k(z)},x=z=>{fn(z)&&(v.disabled&&z?g.value&&h(t,!1):l.value!==z&&(z?y():k()))},_=()=>{l.value?b():C()};return ke(()=>v[e],x),u&&p.appContext.config.globalProperties.$route!==void 0&&ke(()=>({...p.proxy.$route}),()=>{u.value&&l.value&&b()}),Bt(()=>{x(v[e])}),{hide:b,show:C,toggle:_,hasUpdateHandler:g}},useModelToggleProps:r,useModelToggleEmits:o}},{useModelToggleProps:JB,useModelToggleEmits:eV,useModelToggle:tV}=QB("visible"),nV=qe({...tE,...JB,...mn,...Ma,...wE,showArrow:{type:Boolean,default:!0}}),oV=[...eV,"before-show","before-hide","show","hide","open","close"],Gv=(e,t)=>Be(e)?e.includes(t):e===t,yi=(e,t,n)=>o=>{Gv(s(e),t)&&n(o)},rV=te({name:"ElTooltipTrigger"}),aV=te({...rV,props:Ma,setup(e,{expose:t}){const n=e,o=Ie("tooltip"),{controlled:r,id:a,open:l,onOpen:i,onClose:u,onToggle:c}=et(yb,void 0),d=L(null),f=()=>{if(s(r)||n.disabled)return!0},p=sn(n,"trigger"),h=po(f,yi(p,"hover",b=>{i(b),n.focusOnTarget&&b.target&&Qe(()=>{md(b.target,{preventScroll:!0})})})),v=po(f,yi(p,"hover",u)),g=po(f,yi(p,"click",b=>{b.button===0&&c(b)})),m=po(f,yi(p,"focus",i)),y=po(f,yi(p,"focus",u)),k=po(f,yi(p,"contextmenu",b=>{b.preventDefault(),c(b)})),C=po(f,b=>{const x=kn(b);n.triggerKeys.includes(x)&&(b.preventDefault(),c(b))});return t({triggerRef:d}),(b,x)=>(T(),ge(s(b8),{id:s(a),"virtual-ref":b.virtualRef,open:s(l),"virtual-triggering":b.virtualTriggering,class:M(s(o).e("trigger")),onBlur:s(y),onClick:s(g),onContextmenu:s(k),onFocus:s(m),onMouseenter:s(h),onMouseleave:s(v),onKeydown:s(C)},{default:ne(()=>[he(b.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var lV=Ue(aV,[["__file","trigger.vue"]]);const sV=te({__name:"teleport",props:Ap,setup(e){return(t,n)=>t.disabled?he(t.$slots,"default",{key:0}):(T(),ge(x_,{key:1,to:t.to},[he(t.$slots,"default")],8,["to"]))}});var iV=Ue(sV,[["__file","teleport.vue"]]);const Cd=Pt(iV),SE=()=>{const e=Iy(),t=ab(),n=S(()=>`${e.value}-popper-container-${t.prefix}`),o=S(()=>`#${n.value}`);return{id:n,selector:o}},uV=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},cV=()=>{const{id:e,selector:t}=SE();return fp(()=>{nn&&(document.body.querySelector(t.value)||uV(e.value))}),{id:e,selector:t}},uC=e=>[...new Set(e)],Vu=e=>Be(e)?e[0]:e,Uo=e=>!e&&e!==0?[]:Be(e)?e:[e],dV=te({name:"ElTooltipContent",inheritAttrs:!1}),fV=te({...dV,props:mn,setup(e,{expose:t}){const n=e,{selector:o}=SE(),r=Ie("tooltip"),a=L(),l=Sh(()=>{var D;return(D=a.value)==null?void 0:D.popperContentRef});let i;const{controlled:u,id:c,open:d,trigger:f,onClose:p,onOpen:h,onShow:v,onHide:g,onBeforeShow:m,onBeforeHide:y}=et(yb,void 0),k=S(()=>n.transition||`${r.namespace.value}-fade-in-linear`),C=S(()=>n.persistent);cn(()=>{i?.()});const b=S(()=>s(C)?!0:s(d)),x=S(()=>n.disabled?!1:s(d)),_=S(()=>n.appendTo||o.value),z=S(()=>{var D;return(D=n.style)!=null?D:{}}),I=L(!0),P=()=>{g(),R()&&md(document.body,{preventScroll:!0}),I.value=!0},j=()=>{if(s(u))return!0},O=po(j,()=>{n.enterable&&Gv(s(f),"hover")&&h()}),A=po(j,()=>{Gv(s(f),"hover")&&p()}),K=()=>{var D,B;(B=(D=a.value)==null?void 0:D.updatePopper)==null||B.call(D),m?.()},Y=()=>{y?.()},Z=()=>{v()},$=()=>{n.virtualTriggering||p()},R=D=>{var B;const q=(B=a.value)==null?void 0:B.popperContentRef,G=D?.relatedTarget||document.activeElement;return q?.contains(G)};return ke(()=>s(d),D=>{D?(I.value=!1,i=Gy(l,()=>{if(s(u))return;Uo(s(f)).every(q=>q!=="hover"&&q!=="focus")&&p()},{detectIframe:!0})):i?.()},{flush:"post"}),ke(()=>n.content,()=>{var D,B;(B=(D=a.value)==null?void 0:D.updatePopper)==null||B.call(D)}),t({contentRef:a,isFocusInsideContent:R}),(D,B)=>(T(),ge(s(Cd),{disabled:!D.teleported,to:s(_)},{default:ne(()=>[s(b)||!I.value?(T(),ge(So,{key:0,name:s(k),appear:!s(C),onAfterLeave:P,onBeforeEnter:K,onAfterEnter:Z,onBeforeLeave:Y,persisted:""},{default:ne(()=>[Nt(Q(s(GB),Vt({id:s(c),ref_key:"contentRef",ref:a},D.$attrs,{"aria-label":D.ariaLabel,"aria-hidden":I.value,"boundaries-padding":D.boundariesPadding,"fallback-placements":D.fallbackPlacements,"gpu-acceleration":D.gpuAcceleration,offset:D.offset,placement:D.placement,"popper-options":D.popperOptions,"arrow-offset":D.arrowOffset,strategy:D.strategy,effect:D.effect,enterable:D.enterable,pure:D.pure,"popper-class":D.popperClass,"popper-style":[D.popperStyle,s(z)],"reference-el":D.referenceEl,"trigger-target-el":D.triggerTargetEl,visible:s(x),"z-index":D.zIndex,loop:D.loop,onMouseenter:s(O),onMouseleave:s(A),onBlur:$,onClose:s(p)}),{default:ne(()=>[he(D.$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"]),[[tn,s(x)]])]),_:3},8,["name","appear"])):fe("v-if",!0)]),_:3},8,["disabled","to"]))}});var hV=Ue(fV,[["__file","content.vue"]]);const pV=te({name:"ElTooltip"}),gV=te({...pV,props:nV,emits:oV,setup(e,{expose:t,emit:n}){const o=e;cV();const r=Ie("tooltip"),a=To(),l=L(),i=L(),u=()=>{var C;const b=s(l);b&&((C=b.popperInstanceRef)==null||C.update())},c=L(!1),d=L(),{show:f,hide:p,hasUpdateHandler:h}=tV({indicator:c,toggleReason:d}),{onOpen:v,onClose:g}=D2({showAfter:sn(o,"showAfter"),hideAfter:sn(o,"hideAfter"),autoClose:sn(o,"autoClose"),open:f,close:p}),m=S(()=>fn(o.visible)&&!h.value),y=S(()=>[r.b(),o.popperClass]);Ut(yb,{controlled:m,id:a,open:Ws(c),trigger:sn(o,"trigger"),onOpen:v,onClose:g,onToggle:C=>{s(c)?g(C):v(C)},onShow:()=>{n("show",d.value)},onHide:()=>{n("hide",d.value)},onBeforeShow:()=>{n("before-show",d.value)},onBeforeHide:()=>{n("before-hide",d.value)},updatePopper:u}),ke(()=>o.disabled,C=>{C&&c.value&&(c.value=!1)});const k=C=>{var b;return(b=i.value)==null?void 0:b.isFocusInsideContent(C)};return M_(()=>c.value&&p()),t({popperRef:l,contentRef:i,isFocusInsideContent:k,updatePopper:u,onOpen:v,onClose:g,hide:p}),(C,b)=>(T(),ge(s(kE),{ref_key:"popperRef",ref:l,role:C.role},{default:ne(()=>[Q(lV,{disabled:C.disabled,trigger:C.trigger,"trigger-keys":C.triggerKeys,"virtual-ref":C.virtualRef,"virtual-triggering":C.virtualTriggering,"focus-on-target":C.focusOnTarget},{default:ne(()=>[C.$slots.default?he(C.$slots,"default",{key:0}):fe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),Q(hV,{ref_key:"contentRef",ref:i,"aria-label":C.ariaLabel,"boundaries-padding":C.boundariesPadding,content:C.content,disabled:C.disabled,effect:C.effect,enterable:C.enterable,"fallback-placements":C.fallbackPlacements,"hide-after":C.hideAfter,"gpu-acceleration":C.gpuAcceleration,offset:C.offset,persistent:C.persistent,"popper-class":s(y),"popper-style":C.popperStyle,placement:C.placement,"popper-options":C.popperOptions,"arrow-offset":C.arrowOffset,pure:C.pure,"raw-content":C.rawContent,"reference-el":C.referenceEl,"trigger-target-el":C.triggerTargetEl,"show-after":C.showAfter,strategy:C.strategy,teleported:C.teleported,transition:C.transition,"virtual-triggering":C.virtualTriggering,"z-index":C.zIndex,"append-to":C.appendTo,loop:C.loop},{default:ne(()=>[he(C.$slots,"content",{},()=>[C.rawContent?(T(),F("span",{key:0,innerHTML:C.content},null,8,["innerHTML"])):(T(),F("span",{key:1},Pe(C.content),1))]),C.showArrow?(T(),ge(s(p8),{key:0})):fe("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"]))}});var vV=Ue(gV,[["__file","tooltip.vue"]]);const Oo=Pt(vV),mV=qe({...vd,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:se(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:se([Function,Array]),default:un},popperClass:mn.popperClass,popperStyle:mn.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:mn.teleported,appendTo:mn.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),yV={[St]:e=>rt(e)||ft(e),[oo]:e=>rt(e)||ft(e),[Wt]:e=>rt(e)||ft(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>At(e)},_E="ElAutocomplete",bV=te({name:_E,inheritAttrs:!1}),wV=te({...bV,props:mV,emits:yV,setup(e,{expose:t,emit:n}){const o=e,r=S(()=>ml(o,Object.keys(vd))),a=El(),l=go(),i=Ie("autocomplete"),u=L(),c=L(),d=L(),f=L();let p=!1,h=!1;const v=L([]),g=L(-1),m=L(""),y=L(!1),k=L(!1),C=L(!1),b=To(),x=S(()=>a.style),_=S(()=>(v.value.length>0||C.value)&&y.value),z=S(()=>!o.hideLoading&&C.value),I=S(()=>u.value?Array.from(u.value.$el.querySelectorAll("input")):[]),P=()=>{_.value&&(m.value=`${u.value.$el.offsetWidth}px`)},j=()=>{g.value=-1},O=async ie=>{if(k.value)return;const de=U=>{C.value=!1,!k.value&&(Be(U)?(v.value=U,g.value=o.highlightFirstItem?0:-1):Qn(_E,"autocomplete suggestions must be an array"))};if(C.value=!0,Be(o.fetchSuggestions))de(o.fetchSuggestions);else{const U=await o.fetchSuggestions(ie,de);Be(U)&&de(U)}},A=S(()=>o.debounce),K=fd(O,A),Y=ie=>{const de=!!ie;if(n(oo,ie),n(St,ie),k.value=!1,y.value||(y.value=de),!o.triggerOnFocus&&!ie){k.value=!0,v.value=[];return}K(ie)},Z=ie=>{var de;l.value||(((de=ie.target)==null?void 0:de.tagName)!=="INPUT"||I.value.includes(document.activeElement))&&(y.value=!0)},$=ie=>{n(Wt,ie)},R=ie=>{var de;if(h)h=!1;else{y.value=!0,n("focus",ie);const U=(de=o.modelValue)!=null?de:"";o.triggerOnFocus&&!p&&K(String(U))}},D=ie=>{setTimeout(()=>{var de;if((de=d.value)!=null&&de.isFocusInsideContent()){h=!0;return}y.value&&X(),n("blur",ie)})},B=()=>{y.value=!1,n(St,""),n("clear")},q=async()=>{var ie;(ie=u.value)!=null&&ie.isComposing||(_.value&&g.value>=0&&g.value<v.value.length?ae(v.value[g.value]):(o.selectWhenUnmatched&&(n("select",{value:o.modelValue}),v.value=[],g.value=-1),y.value=!0,K(String(o.modelValue))))},G=ie=>{_.value&&(ie.preventDefault(),ie.stopPropagation(),X())},X=()=>{y.value=!1},J=()=>{var ie;(ie=u.value)==null||ie.focus()},ue=()=>{var ie;(ie=u.value)==null||ie.blur()},ae=async ie=>{n(oo,ie[o.valueKey]),n(St,ie[o.valueKey]),n("select",ie),v.value=[],g.value=-1},ve=ie=>{var de,U;if(!_.value||C.value)return;if(ie<0){if(!o.loopNavigation){g.value=-1;return}ie=v.value.length-1}ie>=v.value.length&&(ie=o.loopNavigation?0:v.value.length-1);const[le,me]=re(),_e=me[ie],Ce=le.scrollTop,{offsetTop:we,scrollHeight:$e}=_e;we+$e>Ce+le.clientHeight&&(le.scrollTop=we+$e-le.clientHeight),we<Ce&&(le.scrollTop=we),g.value=ie,(U=(de=u.value)==null?void 0:de.ref)==null||U.setAttribute("aria-activedescendant",`${b.value}-item-${g.value}`)},re=()=>{const ie=c.value.querySelector(`.${i.be("suggestion","wrap")}`),de=ie.querySelectorAll(`.${i.be("suggestion","list")} li`);return[ie,de]},ce=Gy(f,()=>{var ie;(ie=d.value)!=null&&ie.isFocusInsideContent()||_.value&&X()}),oe=ie=>{switch(kn(ie)){case We.up:ie.preventDefault(),ve(g.value-1);break;case We.down:ie.preventDefault(),ve(g.value+1);break;case We.enter:ie.preventDefault(),q();break;case We.tab:X();break;case We.esc:G(ie);break;case We.home:ie.preventDefault(),ve(0);break;case We.end:ie.preventDefault(),ve(v.value.length-1);break;case We.pageUp:ie.preventDefault(),ve(Math.max(0,g.value-10));break;case We.pageDown:ie.preventDefault(),ve(Math.min(v.value.length-1,g.value+10));break}};return cn(()=>{ce?.()}),Bt(()=>{var ie;const de=(ie=u.value)==null?void 0:ie.ref;de&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:"id"},{key:"aria-activedescendant",value:`${b.value}-item-${g.value}`}].forEach(({key:U,value:le})=>de.setAttribute(U,le)),p=de.hasAttribute("readonly"))}),t({highlightedIndex:g,activated:y,loading:C,inputRef:u,popperRef:d,suggestions:v,handleSelect:ae,handleKeyEnter:q,focus:J,blur:ue,close:X,highlight:ve,getData:O}),(ie,de)=>(T(),ge(s(Oo),{ref_key:"popperRef",ref:d,visible:s(_),placement:ie.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[s(i).e("popper"),ie.popperClass],"popper-style":ie.popperStyle,teleported:ie.teleported,"append-to":ie.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${s(i).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:P,onHide:j},{content:ne(()=>[H("div",{ref_key:"regionRef",ref:c,class:M([s(i).b("suggestion"),s(i).is("loading",s(z))]),style:ht({[ie.fitInputWidth?"width":"minWidth"]:m.value,outline:"none"}),role:"region"},[ie.$slots.header?(T(),F("div",{key:0,class:M(s(i).be("suggestion","header")),onClick:wt(()=>{},["stop"])},[he(ie.$slots,"header")],10,["onClick"])):fe("v-if",!0),Q(s(sa),{id:s(b),tag:"ul","wrap-class":s(i).be("suggestion","wrap"),"view-class":s(i).be("suggestion","list"),role:"listbox"},{default:ne(()=>[s(z)?(T(),F("li",{key:0},[he(ie.$slots,"loading",{},()=>[Q(s(lt),{class:M(s(i).is("loading"))},{default:ne(()=>[Q(s(la))]),_:1},8,["class"])])])):(T(!0),F(tt,{key:1},Dt(v.value,(U,le)=>(T(),F("li",{id:`${s(b)}-item-${le}`,key:le,class:M({highlighted:g.value===le}),role:"option","aria-selected":g.value===le,onClick:me=>ae(U)},[he(ie.$slots,"default",{item:U},()=>[Tt(Pe(U[ie.valueKey]),1)])],10,["id","aria-selected","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class"]),ie.$slots.footer?(T(),F("div",{key:1,class:M(s(i).be("suggestion","footer")),onClick:wt(()=>{},["stop"])},[he(ie.$slots,"footer")],10,["onClick"])):fe("v-if",!0)],6)]),default:ne(()=>[H("div",{ref_key:"listboxRef",ref:f,class:M([s(i).b(),ie.$attrs.class]),style:ht(s(x)),role:"combobox","aria-haspopup":"listbox","aria-expanded":s(_),"aria-owns":s(b)},[Q(s(Yo),Vt({ref_key:"inputRef",ref:u},Vt(s(r),ie.$attrs),{"model-value":ie.modelValue,disabled:s(l),onInput:Y,onChange:$,onFocus:R,onBlur:D,onClear:B,onKeydown:oe,onMousedown:Z}),yr({_:2},[ie.$slots.prepend?{name:"prepend",fn:ne(()=>[he(ie.$slots,"prepend")])}:void 0,ie.$slots.append?{name:"append",fn:ne(()=>[he(ie.$slots,"append")])}:void 0,ie.$slots.prefix?{name:"prefix",fn:ne(()=>[he(ie.$slots,"prefix")])}:void 0,ie.$slots.suffix?{name:"suffix",fn:ne(()=>[he(ie.$slots,"suffix")])}:void 0]),1040,["model-value","disabled"])],14,["aria-expanded","aria-owns"])]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});var CV=Ue(wV,[["__file","autocomplete.vue"]]);const kV=Pt(CV),SV=qe({size:{type:[Number,String],values:Fa,default:"",validator:e=>ft(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:hn},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:se(String),default:"cover"}}),_V={error:e=>e instanceof Event},xV=te({name:"ElAvatar"}),EV=te({...xV,props:SV,emits:_V,setup(e,{emit:t}){const n=e,o=Ie("avatar"),r=L(!1),a=S(()=>{const{size:c,icon:d,shape:f}=n,p=[o.b()];return rt(c)&&p.push(o.m(c)),d&&p.push(o.m("icon")),f&&p.push(o.m(f)),p}),l=S(()=>{const{size:c}=n;return ft(c)?o.cssVarBlock({size:Nn(c)||""}):void 0}),i=S(()=>({objectFit:n.fit}));ke(()=>n.src,()=>r.value=!1);function u(c){r.value=!0,t("error",c)}return(c,d)=>(T(),F("span",{class:M(s(a)),style:ht(s(l))},[(c.src||c.srcSet)&&!r.value?(T(),F("img",{key:0,src:c.src,alt:c.alt,srcset:c.srcSet,style:ht(s(i)),onError:u},null,44,["src","alt","srcset"])):c.icon?(T(),ge(s(lt),{key:1},{default:ne(()=>[(T(),ge(Rt(c.icon)))]),_:1})):he(c.$slots,"default",{key:2})],6))}});var zV=Ue(EV,[["__file","avatar.vue"]]);const TV=Pt(zV),OV={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},$V={click:e=>e instanceof MouseEvent},PV=(e,t,n)=>{const o=xn(),r=xn(),a=L(!1),l=()=>{o.value&&(a.value=o.value.scrollTop>=e.visibilityHeight)},i=c=>{var d;(d=o.value)==null||d.scrollTo({top:0,behavior:"smooth"}),t("click",c)},u=w2(l,300,!0);return gn(r,"scroll",u),Bt(()=>{var c;r.value=document,o.value=document.documentElement,e.target&&(o.value=(c=document.querySelector(e.target))!=null?c:void 0,o.value||Qn(n,`target does not exist: ${e.target}`),r.value=o.value),l()}),{visible:a,handleClick:i}},xE="ElBacktop",IV=te({name:xE}),MV=te({...IV,props:OV,emits:$V,setup(e,{emit:t}){const n=e,o=Ie("backtop"),{handleClick:r,visible:a}=PV(n,t,xE),l=S(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(i,u)=>(T(),ge(So,{name:`${s(o).namespace.value}-fade-in`},{default:ne(()=>[s(a)?(T(),F("div",{key:0,style:ht(s(l)),class:M(s(o).b()),onClick:wt(s(r),["stop"])},[he(i.$slots,"default",{},()=>[Q(s(lt),{class:M(s(o).e("icon"))},{default:ne(()=>[Q(s(k3))]),_:1},8,["class"])])],14,["onClick"])):fe("v-if",!0)]),_:3},8,["name"]))}});var AV=Ue(MV,[["__file","backtop.vue"]]);const jV=Pt(AV),NV=qe({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:se([String,Object,Array])},offset:{type:se(Array),default:[0,0]},badgeClass:{type:String}}),RV=te({name:"ElBadge"}),DV=te({...RV,props:NV,setup(e,{expose:t}){const n=e,o=Ie("badge"),r=S(()=>n.isDot?"":ft(n.value)&&ft(n.max)?n.max<n.value?`${n.max}+`:`${n.value}`:`${n.value}`),a=S(()=>{var l,i,u,c,d;return[{backgroundColor:n.color,marginRight:Nn(-((i=(l=n.offset)==null?void 0:l[0])!=null?i:0)),marginTop:Nn((c=(u=n.offset)==null?void 0:u[1])!=null?c:0)},(d=n.badgeStyle)!=null?d:{}]});return t({content:r}),(l,i)=>(T(),F("div",{class:M(s(o).b())},[he(l.$slots,"default"),Q(So,{name:`${s(o).namespace.value}-zoom-in-center`,persisted:""},{default:ne(()=>[Nt(H("sup",{class:M([s(o).e("content"),s(o).em("content",l.type),s(o).is("fixed",!!l.$slots.default),s(o).is("dot",l.isDot),s(o).is("hide-zero",!l.showZero&&l.value===0),l.badgeClass]),style:ht(s(a))},[he(l.$slots,"content",{value:s(r)},()=>[Tt(Pe(s(r)),1)])],6),[[tn,!l.hidden&&(s(r)||l.isDot||l.$slots.content)]])]),_:3},8,["name"])],2))}});var LV=Ue(DV,[["__file","badge.vue"]]);const EE=Pt(LV),zE=Symbol("breadcrumbKey"),BV=qe({separator:{type:String,default:"/"},separatorIcon:{type:hn}}),VV=te({name:"ElBreadcrumb"}),FV=te({...VV,props:BV,setup(e){const t=e,{t:n}=Qt(),o=Ie("breadcrumb"),r=L();return Ut(zE,t),Bt(()=>{const a=r.value.querySelectorAll(`.${o.e("item")}`);a.length&&a[a.length-1].setAttribute("aria-current","page")}),(a,l)=>(T(),F("div",{ref_key:"breadcrumb",ref:r,class:M(s(o).b()),"aria-label":s(n)("el.breadcrumb.label"),role:"navigation"},[he(a.$slots,"default")],10,["aria-label"]))}});var qV=Ue(FV,[["__file","breadcrumb.vue"]]);const KV=qe({to:{type:se([String,Object]),default:""},replace:Boolean}),HV=te({name:"ElBreadcrumbItem"}),WV=te({...HV,props:KV,setup(e){const t=e,n=Lt(),o=et(zE,void 0),r=Ie("breadcrumb"),a=n.appContext.config.globalProperties.$router,l=L(),i=()=>{!t.to||!a||(t.replace?a.replace(t.to):a.push(t.to))};return(u,c)=>{var d,f;return T(),F("span",{class:M(s(r).e("item"))},[H("span",{ref_key:"link",ref:l,class:M([s(r).e("inner"),s(r).is("link",!!u.to)]),role:"link",onClick:i},[he(u.$slots,"default")],2),(d=s(o))!=null&&d.separatorIcon?(T(),ge(s(lt),{key:0,class:M(s(r).e("separator"))},{default:ne(()=>[(T(),ge(Rt(s(o).separatorIcon)))]),_:1},8,["class"])):(T(),F("span",{key:1,class:M(s(r).e("separator")),role:"presentation"},Pe((f=s(o))==null?void 0:f.separator),3))],2)}}});var TE=Ue(WV,[["__file","breadcrumb-item.vue"]]);const UV=Pt(qV,{BreadcrumbItem:TE}),YV=Rn(TE),OE=Symbol("buttonGroupContextKey"),Aa=({from:e,replacement:t,scope:n,version:o,ref:r,type:a="API"},l)=>{ke(()=>s(l),i=>{i&&Kt(n,`[${a}] ${e} is about to be deprecated in version ${o}, please use ${t} instead.
For more detail, please visit: ${r}
`)},{immediate:!0})},GV=(e,t)=>{Aa({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},S(()=>e.type==="text"));const n=et(OE,void 0),o=bu("button"),{form:r}=xo(),a=ro(S(()=>n?.size)),l=go(),i=L(),u=ao(),c=S(()=>{var y;return e.type||n?.type||((y=o.value)==null?void 0:y.type)||""}),d=S(()=>{var y,k,C;return(C=(k=e.autoInsertSpace)!=null?k:(y=o.value)==null?void 0:y.autoInsertSpace)!=null?C:!1}),f=S(()=>{var y,k,C;return(C=(k=e.plain)!=null?k:(y=o.value)==null?void 0:y.plain)!=null?C:!1}),p=S(()=>{var y,k,C;return(C=(k=e.round)!=null?k:(y=o.value)==null?void 0:y.round)!=null?C:!1}),h=S(()=>{var y,k,C;return(C=(k=e.text)!=null?k:(y=o.value)==null?void 0:y.text)!=null?C:!1}),v=S(()=>e.tag==="button"?{ariaDisabled:l.value||e.loading,disabled:l.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),g=S(()=>{var y;const k=(y=u.default)==null?void 0:y.call(u);if(d.value&&k?.length===1){const C=k[0];if(C?.type===fu){const b=C.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(b.trim())}}return!1});return{_disabled:l,_size:a,_type:c,_ref:i,_props:v,_plain:f,_round:p,_text:h,shouldAddSpace:g,handleClick:y=>{if(l.value||e.loading){y.stopPropagation();return}e.nativeType==="reset"&&r?.resetFields(),t("click",y)}}},Xv=["default","primary","success","warning","info","danger","text",""],XV=["button","submit","reset"],Zv=qe({size:io,disabled:Boolean,type:{type:String,values:Xv,default:""},icon:{type:hn},nativeType:{type:String,values:XV,default:"button"},loading:Boolean,loadingIcon:{type:hn,default:()=>la},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,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:se([String,Object]),default:"button"}}),ZV={click:e=>e instanceof MouseEvent};function Ro(e,t){QV(e)&&(e="100%");var n=JV(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 df(e){return Math.min(1,Math.max(0,e))}function QV(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function JV(e){return typeof e=="string"&&e.indexOf("%")!==-1}function $E(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ff(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Is(e){return e.length===1?"0"+e:String(e)}function e6(e,t,n){return{r:Ro(e,255)*255,g:Ro(t,255)*255,b:Ro(n,255)*255}}function cC(e,t,n){e=Ro(e,255),t=Ro(t,255),n=Ro(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=0,i=(o+r)/2;if(o===r)l=0,a=0;else{var u=o-r;switch(l=i>.5?u/(2-o-r):u/(o+r),o){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break}a/=6}return{h:a,s:l,l:i}}function Wg(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 t6(e,t,n){var o,r,a;if(e=Ro(e,360),t=Ro(t,100),n=Ro(n,100),t===0)r=n,a=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,i=2*n-l;o=Wg(i,l,e+1/3),r=Wg(i,l,e),a=Wg(i,l,e-1/3)}return{r:o*255,g:r*255,b:a*255}}function dC(e,t,n){e=Ro(e,255),t=Ro(t,255),n=Ro(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),a=0,l=o,i=o-r,u=o===0?0:i/o;if(o===r)a=0;else{switch(o){case e:a=(t-n)/i+(t<n?6:0);break;case t:a=(n-e)/i+2;break;case n:a=(e-t)/i+4;break}a/=6}return{h:a,s:u,v:l}}function n6(e,t,n){e=Ro(e,360)*6,t=Ro(t,100),n=Ro(n,100);var o=Math.floor(e),r=e-o,a=n*(1-t),l=n*(1-r*t),i=n*(1-(1-r)*t),u=o%6,c=[n,l,a,a,i,n][u],d=[i,n,n,l,a,a][u],f=[a,a,i,n,n,l][u];return{r:c*255,g:d*255,b:f*255}}function fC(e,t,n,o){var r=[Is(Math.round(e).toString(16)),Is(Math.round(t).toString(16)),Is(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function o6(e,t,n,o,r){var a=[Is(Math.round(e).toString(16)),Is(Math.round(t).toString(16)),Is(Math.round(n).toString(16)),Is(r6(o))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function r6(e){return Math.round(parseFloat(e)*255).toString(16)}function hC(e){return kr(e)/255}function kr(e){return parseInt(e,16)}function a6(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Qv={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 l6(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,a=null,l=!1,i=!1;return typeof e=="string"&&(e=u6(e)),typeof e=="object"&&(Za(e.r)&&Za(e.g)&&Za(e.b)?(t=e6(e.r,e.g,e.b),l=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Za(e.h)&&Za(e.s)&&Za(e.v)?(o=ff(e.s),r=ff(e.v),t=n6(e.h,o,r),l=!0,i="hsv"):Za(e.h)&&Za(e.s)&&Za(e.l)&&(o=ff(e.s),a=ff(e.l),t=t6(e.h,o,a),l=!0,i="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=$E(n),{ok:l,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}}var s6="[-\\+]?\\d+%?",i6="[-\\+]?\\d*\\.\\d+%?",Ql="(?:".concat(i6,")|(?:").concat(s6,")"),Ug="[\\s|\\(]+(".concat(Ql,")[,|\\s]+(").concat(Ql,")[,|\\s]+(").concat(Ql,")\\s*\\)?"),Yg="[\\s|\\(]+(".concat(Ql,")[,|\\s]+(").concat(Ql,")[,|\\s]+(").concat(Ql,")[,|\\s]+(").concat(Ql,")\\s*\\)?"),Yr={CSS_UNIT:new RegExp(Ql),rgb:new RegExp("rgb"+Ug),rgba:new RegExp("rgba"+Yg),hsl:new RegExp("hsl"+Ug),hsla:new RegExp("hsla"+Yg),hsv:new RegExp("hsv"+Ug),hsva:new RegExp("hsva"+Yg),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 u6(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Qv[e])e=Qv[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Yr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Yr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Yr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Yr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Yr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Yr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Yr.hex8.exec(e),n?{r:kr(n[1]),g:kr(n[2]),b:kr(n[3]),a:hC(n[4]),format:t?"name":"hex8"}:(n=Yr.hex6.exec(e),n?{r:kr(n[1]),g:kr(n[2]),b:kr(n[3]),format:t?"name":"hex"}:(n=Yr.hex4.exec(e),n?{r:kr(n[1]+n[1]),g:kr(n[2]+n[2]),b:kr(n[3]+n[3]),a:hC(n[4]+n[4]),format:t?"name":"hex8"}:(n=Yr.hex3.exec(e),n?{r:kr(n[1]+n[1]),g:kr(n[2]+n[2]),b:kr(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Za(e){return!!Yr.CSS_UNIT.exec(String(e))}var Oi=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=a6(t)),this.originalInput=t;var r=l6(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=(o=n.format)!==null&&o!==void 0?o: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}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,a=t.r/255,l=t.g/255,i=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=$E(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=dC(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=dC(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=cC(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=cC(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),fC(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),o6(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ro(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ro(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+fC(this.r,this.g,this.b,!1),n=0,o=Object.entries(Qv);n<o.length;n++){var r=o[n],a=r[0],l=r[1];if(t===l)return a}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var o=!1,r=this.a<1&&this.a>=0,a=!n&&r&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=df(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var 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 e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=df(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=df(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=df(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),a=n/100,l={r:(r.r-o.r)*a+o.r,g:(r.g-o.g)*a+o.g,b:(r.b-o.b)*a+o.b,a:(r.a-o.a)*a+o.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,a=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,a.push(new e(o));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,a=n.v,l=[],i=1/t;t--;)l.push(new e({h:o,s:r,v:a})),a=(a+i)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],a=360/t,l=1;l<t;l++)r.push(new e({h:(o+l*a)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function Dl(e,t=20){return e.mix("#141414",t).toString()}function c6(e){const t=go(),n=Ie("button");return S(()=>{let o={},r=e.color;if(r){const a=r.match(/var\((.*?)\)/);a&&(r=window.getComputedStyle(window.document.documentElement).getPropertyValue(a[1]));const l=new Oi(r),i=e.dark?l.tint(20).toString():Dl(l,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?Dl(l,90):l.tint(90).toString(),"text-color":r,"border-color":e.dark?Dl(l,50):l.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?Dl(l,90):l.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?Dl(l,50):l.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?Dl(l,80):l.tint(80).toString());else{const u=e.dark?Dl(l,30):l.tint(30).toString(),c=l.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":r,"text-color":c,"border-color":r,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":i,"active-border-color":i}),t.value){const d=e.dark?Dl(l,50):l.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=d,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=d}}}return o})}const d6=te({name:"ElButton"}),f6=te({...d6,props:Zv,emits:ZV,setup(e,{expose:t,emit:n}){const o=e,r=c6(o),a=Ie("button"),{_ref:l,_size:i,_type:u,_disabled:c,_props:d,_plain:f,_round:p,_text:h,shouldAddSpace:v,handleClick:g}=GV(o,n),m=S(()=>[a.b(),a.m(u.value),a.m(i.value),a.is("disabled",c.value),a.is("loading",o.loading),a.is("plain",f.value),a.is("round",p.value),a.is("circle",o.circle),a.is("text",h.value),a.is("link",o.link),a.is("has-bg",o.bg)]);return t({ref:l,size:i,type:u,disabled:c,shouldAddSpace:v}),(y,k)=>(T(),ge(Rt(y.tag),Vt({ref_key:"_ref",ref:l},s(d),{class:s(m),style:s(r),onClick:s(g)}),{default:ne(()=>[y.loading?(T(),F(tt,{key:0},[y.$slots.loading?he(y.$slots,"loading",{key:0}):(T(),ge(s(lt),{key:1,class:M(s(a).is("loading"))},{default:ne(()=>[(T(),ge(Rt(y.loadingIcon)))]),_:1},8,["class"]))],64)):y.icon||y.$slots.icon?(T(),ge(s(lt),{key:1},{default:ne(()=>[y.icon?(T(),ge(Rt(y.icon),{key:0})):he(y.$slots,"icon",{key:1})]),_:3})):fe("v-if",!0),y.$slots.default?(T(),F("span",{key:2,class:M({[s(a).em("text","expand")]:s(v)})},[he(y.$slots,"default")],2)):fe("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var h6=Ue(f6,[["__file","button.vue"]]);const p6={size:Zv.size,type:Zv.type},g6=te({name:"ElButtonGroup"}),v6=te({...g6,props:p6,setup(e){const t=e;Ut(OE,an({size:sn(t,"size"),type:sn(t,"type")}));const n=Ie("button");return(o,r)=>(T(),F("div",{class:M(s(n).b("group"))},[he(o.$slots,"default")],2))}});var PE=Ue(v6,[["__file","button-group.vue"]]);const Co=Pt(h6,{ButtonGroup:PE}),IE=Rn(PE);var m6=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mf={exports:{}},y6=Mf.exports,pC;function b6(){return pC||(pC=1,(function(e,t){(function(n,o){e.exports=o()})(y6,(function(){var n=1e3,o=6e4,r=36e5,a="millisecond",l="second",i="minute",u="hour",c="day",d="week",f="month",p="quarter",h="year",v="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={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(Y){var Z=["th","st","nd","rd"],$=Y%100;return"["+Y+(Z[($-20)%10]||Z[$]||Z[0])+"]"}},C=function(Y,Z,$){var R=String(Y);return!R||R.length>=Z?Y:""+Array(Z+1-R.length).join($)+Y},b={s:C,z:function(Y){var Z=-Y.utcOffset(),$=Math.abs(Z),R=Math.floor($/60),D=$%60;return(Z<=0?"+":"-")+C(R,2,"0")+":"+C(D,2,"0")},m:function Y(Z,$){if(Z.date()<$.date())return-Y($,Z);var R=12*($.year()-Z.year())+($.month()-Z.month()),D=Z.clone().add(R,f),B=$-D<0,q=Z.clone().add(R+(B?-1:1),f);return+(-(R+($-D)/(B?D-q:q-D))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:h,w:d,d:c,D:v,h:u,m:i,s:l,ms:a,Q:p}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},x="en",_={};_[x]=k;var z="$isDayjsObject",I=function(Y){return Y instanceof A||!(!Y||!Y[z])},P=function Y(Z,$,R){var D;if(!Z)return x;if(typeof Z=="string"){var B=Z.toLowerCase();_[B]&&(D=B),$&&(_[B]=$,D=B);var q=Z.split("-");if(!D&&q.length>1)return Y(q[0])}else{var G=Z.name;_[G]=Z,D=G}return!R&&D&&(x=D),D||!R&&x},j=function(Y,Z){if(I(Y))return Y.clone();var $=typeof Z=="object"?Z:{};return $.date=Y,$.args=arguments,new A($)},O=b;O.l=P,O.i=I,O.w=function(Y,Z){return j(Y,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var A=(function(){function Y($){this.$L=P($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[z]=!0}var Z=Y.prototype;return Z.parse=function($){this.$d=(function(R){var D=R.date,B=R.utc;if(D===null)return new Date(NaN);if(O.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var q=D.match(m);if(q){var G=q[2]-1||0,X=(q[7]||"0").substring(0,3);return B?new Date(Date.UTC(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)):new Date(q[1],G,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)}}return new Date(D)})($),this.init()},Z.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},Z.$utils=function(){return O},Z.isValid=function(){return this.$d.toString()!==g},Z.isSame=function($,R){var D=j($);return this.startOf(R)<=D&&D<=this.endOf(R)},Z.isAfter=function($,R){return j($)<this.startOf(R)},Z.isBefore=function($,R){return this.endOf(R)<j($)},Z.$g=function($,R,D){return O.u($)?this[R]:this.set(D,$)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function($,R){var D=this,B=!!O.u(R)||R,q=O.p($),G=function(oe,ie){var de=O.w(D.$u?Date.UTC(D.$y,ie,oe):new Date(D.$y,ie,oe),D);return B?de:de.endOf(c)},X=function(oe,ie){return O.w(D.toDate()[oe].apply(D.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(ie)),D)},J=this.$W,ue=this.$M,ae=this.$D,ve="set"+(this.$u?"UTC":"");switch(q){case h:return B?G(1,0):G(31,11);case f:return B?G(1,ue):G(0,ue+1);case d:var re=this.$locale().weekStart||0,ce=(J<re?J+7:J)-re;return G(B?ae-ce:ae+(6-ce),ue);case c:case v:return X(ve+"Hours",0);case u:return X(ve+"Minutes",1);case i:return X(ve+"Seconds",2);case l:return X(ve+"Milliseconds",3);default:return this.clone()}},Z.endOf=function($){return this.startOf($,!1)},Z.$set=function($,R){var D,B=O.p($),q="set"+(this.$u?"UTC":""),G=(D={},D[c]=q+"Date",D[v]=q+"Date",D[f]=q+"Month",D[h]=q+"FullYear",D[u]=q+"Hours",D[i]=q+"Minutes",D[l]=q+"Seconds",D[a]=q+"Milliseconds",D)[B],X=B===c?this.$D+(R-this.$W):R;if(B===f||B===h){var J=this.clone().set(v,1);J.$d[G](X),J.init(),this.$d=J.set(v,Math.min(this.$D,J.daysInMonth())).$d}else G&&this.$d[G](X);return this.init(),this},Z.set=function($,R){return this.clone().$set($,R)},Z.get=function($){return this[O.p($)]()},Z.add=function($,R){var D,B=this;$=Number($);var q=O.p(R),G=function(ue){var ae=j(B);return O.w(ae.date(ae.date()+Math.round(ue*$)),B)};if(q===f)return this.set(f,this.$M+$);if(q===h)return this.set(h,this.$y+$);if(q===c)return G(1);if(q===d)return G(7);var X=(D={},D[i]=o,D[u]=r,D[l]=n,D)[q]||1,J=this.$d.getTime()+$*X;return O.w(J,this)},Z.subtract=function($,R){return this.add(-1*$,R)},Z.format=function($){var R=this,D=this.$locale();if(!this.isValid())return D.invalidDate||g;var B=$||"YYYY-MM-DDTHH:mm:ssZ",q=O.z(this),G=this.$H,X=this.$m,J=this.$M,ue=D.weekdays,ae=D.months,ve=D.meridiem,re=function(ie,de,U,le){return ie&&(ie[de]||ie(R,B))||U[de].slice(0,le)},ce=function(ie){return O.s(G%12||12,ie,"0")},oe=ve||function(ie,de,U){var le=ie<12?"AM":"PM";return U?le.toLowerCase():le};return B.replace(y,(function(ie,de){return de||(function(U){switch(U){case"YY":return String(R.$y).slice(-2);case"YYYY":return O.s(R.$y,4,"0");case"M":return J+1;case"MM":return O.s(J+1,2,"0");case"MMM":return re(D.monthsShort,J,ae,3);case"MMMM":return re(ae,J);case"D":return R.$D;case"DD":return O.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return re(D.weekdaysMin,R.$W,ue,2);case"ddd":return re(D.weekdaysShort,R.$W,ue,3);case"dddd":return ue[R.$W];case"H":return String(G);case"HH":return O.s(G,2,"0");case"h":return ce(1);case"hh":return ce(2);case"a":return oe(G,X,!0);case"A":return oe(G,X,!1);case"m":return String(X);case"mm":return O.s(X,2,"0");case"s":return String(R.$s);case"ss":return O.s(R.$s,2,"0");case"SSS":return O.s(R.$ms,3,"0");case"Z":return q}return null})(ie)||q.replace(":","")}))},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function($,R,D){var B,q=this,G=O.p(R),X=j($),J=(X.utcOffset()-this.utcOffset())*o,ue=this-X,ae=function(){return O.m(q,X)};switch(G){case h:B=ae()/12;break;case f:B=ae();break;case p:B=ae()/3;break;case d:B=(ue-J)/6048e5;break;case c:B=(ue-J)/864e5;break;case u:B=ue/r;break;case i:B=ue/o;break;case l:B=ue/n;break;default:B=ue}return D?B:O.a(B)},Z.daysInMonth=function(){return this.endOf(f).$D},Z.$locale=function(){return _[this.$L]},Z.locale=function($,R){if(!$)return this.$L;var D=this.clone(),B=P($,R,!0);return B&&(D.$L=B),D},Z.clone=function(){return O.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},Y})(),K=A.prototype;return j.prototype=K,[["$ms",a],["$s",l],["$m",i],["$H",u],["$W",c],["$M",f],["$y",h],["$D",v]].forEach((function(Y){K[Y[1]]=function(Z){return this.$g(Z,Y[0],Y[1])}})),j.extend=function(Y,Z){return Y.$i||(Y(Z,A,j),Y.$i=!0),j},j.locale=P,j.isDayjs=I,j.unix=function(Y){return j(1e3*Y)},j.en=_[x],j.Ls=_,j.p={},j}))})(Mf)),Mf.exports}var w6=b6();const Mt=Ka(w6),Gg=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],ns=e=>Array.from(Array.from({length:e}).keys()),ME=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),AE=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),gC=function(e,t){const n=os(e),o=os(t);return n&&o?e.getTime()===t.getTime():!n&&!o?e===t:!1},jE=function(e,t){const n=Be(e),o=Be(t);return n&&o?e.length!==t.length?!1:e.every((r,a)=>gC(r,t[a])):!n&&!o?gC(e,t):!1},vC=function(e,t,n){const o=lr(t)||t==="x"?Mt(e).locale(n):Mt(e,t).locale(n);return o.isValid()?o:void 0},mC=function(e,t,n){return lr(t)?e:t==="x"?+e:Mt(e).locale(n).format(t)},Xg=(e,t)=>{var n;const o=[],r=t?.();for(let a=0;a<e;a++)o.push((n=r?.includes(a))!=null?n:!1);return o},Af=e=>Be(e)?e.map(t=>t.toDate()):e.toDate(),C6=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return ns(t).map((o,r)=>n-(t-r-1))},k6=e=>{const t=e.daysInMonth();return ns(t).map((n,o)=>o+1)},S6=e=>ns(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),_6=qe({selectedDay:{type:se(Object)},range:{type:se(Array)},date:{type:se(Object),required:!0},hideHeader:{type:Boolean}}),x6={pick:e=>At(e)};var jf={exports:{}},E6=jf.exports,yC;function z6(){return yC||(yC=1,(function(e,t){(function(n,o){e.exports=o()})(E6,(function(){return function(n,o,r){var a=o.prototype,l=function(f){return f&&(f.indexOf?f:f.s)},i=function(f,p,h,v,g){var m=f.name?f:f.$locale(),y=l(m[p]),k=l(m[h]),C=y||k.map((function(x){return x.slice(0,v)}));if(!g)return C;var b=m.weekStart;return C.map((function(x,_){return C[(_+(b||0))%7]}))},u=function(){return r.Ls[r.locale()]},c=function(f,p){return f.formats[p]||(function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(v,g,m){return g||m.slice(1)}))})(f.formats[p.toUpperCase()])},d=function(){var f=this;return{months:function(p){return p?p.format("MMMM"):i(f,"months")},monthsShort:function(p){return p?p.format("MMM"):i(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):i(f,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):i(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):i(f,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return c(f.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},r.localeData=function(){var f=u();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(p){return c(f,p)},meridiem:f.meridiem,ordinal:f.ordinal}},r.months=function(){return i(u(),"months")},r.monthsShort=function(){return i(u(),"monthsShort","months",3)},r.weekdays=function(f){return i(u(),"weekdays",null,null,f)},r.weekdaysShort=function(f){return i(u(),"weekdaysShort","weekdays",3,f)},r.weekdaysMin=function(f){return i(u(),"weekdaysMin","weekdays",2,f)}}}))})(jf)),jf.exports}var T6=z6();const NE=Ka(T6),O6=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],Zg=["sun","mon","tue","wed","thu","fri","sat"],$6=(e,t)=>{Mt.extend(NE);const n=Mt.localeData().firstDayOfWeek(),{t:o,lang:r}=Qt(),a=Mt().locale(r.value),l=S(()=>!!e.range&&!!e.range.length),i=S(()=>{let p=[];if(l.value){const[h,v]=e.range,g=ns(v.date()-h.date()+1).map(k=>({text:h.date()+k,type:"current"}));let m=g.length%7;m=m===0?0:7-m;const y=ns(m).map((k,C)=>({text:C+1,type:"next"}));p=g.concat(y)}else{const h=e.date.startOf("month").day(),v=C6(e.date,(h-n+7)%7).map(k=>({text:k,type:"prev"})),g=k6(e.date).map(k=>({text:k,type:"current"}));p=[...v,...g];const m=7-(p.length%7||7),y=ns(m).map((k,C)=>({text:C+1,type:"next"}));p=p.concat(y)}return S6(p)}),u=S(()=>{const p=n;return p===0?Zg.map(h=>o(`el.datepicker.weeks.${h}`)):Zg.slice(p).concat(Zg.slice(0,p)).map(h=>o(`el.datepicker.weeks.${h}`))}),c=(p,h)=>{switch(h){case"prev":return e.date.startOf("month").subtract(1,"month").date(p);case"next":return e.date.startOf("month").add(1,"month").date(p);case"current":return e.date.date(p)}};return{now:a,isInRange:l,rows:i,weekDays:u,getFormattedDate:c,handlePickDay:({text:p,type:h})=>{const v=c(p,h);t("pick",v)},getSlotData:({text:p,type:h})=>{const v=c(p,h);return{isSelected:v.isSame(e.selectedDay),type:`${h}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},P6=te({name:"DateTable"}),I6=te({...P6,props:_6,emits:x6,setup(e,{expose:t,emit:n}){const o=e,{isInRange:r,now:a,rows:l,weekDays:i,getFormattedDate:u,handlePickDay:c,getSlotData:d}=$6(o,n),f=Ie("calendar-table"),p=Ie("calendar-day"),h=({text:v,type:g})=>{const m=[g];if(g==="current"){const y=u(v,g);y.isSame(o.selectedDay,"day")&&m.push(p.is("selected")),y.isSame(a,"day")&&m.push(p.is("today"))}return m};return t({getFormattedDate:u}),(v,g)=>(T(),F("table",{class:M([s(f).b(),s(f).is("range",s(r))]),cellspacing:"0",cellpadding:"0"},[v.hideHeader?fe("v-if",!0):(T(),F("thead",{key:0},[H("tr",null,[(T(!0),F(tt,null,Dt(s(i),m=>(T(),F("th",{key:m,scope:"col"},Pe(m),1))),128))])])),H("tbody",null,[(T(!0),F(tt,null,Dt(s(l),(m,y)=>(T(),F("tr",{key:y,class:M({[s(f).e("row")]:!0,[s(f).em("row","hide-border")]:y===0&&v.hideHeader})},[(T(!0),F(tt,null,Dt(m,(k,C)=>(T(),F("td",{key:C,class:M(h(k)),onClick:b=>s(c)(k)},[H("div",{class:M(s(p).b())},[he(v.$slots,"date-cell",{data:s(d)(k)},()=>[H("span",null,Pe(k.text),1)])],2)],10,["onClick"]))),128))],2))),128))])],2))}});var bC=Ue(I6,[["__file","date-table.vue"]]);const M6=(e,t)=>{const n=e.endOf("month"),o=t.startOf("month"),a=n.isSame(o,"week")?o.add(1,"week"):o;return[[e,n],[a.startOf("week"),t]]},A6=(e,t)=>{const n=e.endOf("month"),o=e.add(1,"month").startOf("month"),r=n.isSame(o,"week")?o.add(1,"week"):o,a=r.endOf("month"),l=t.startOf("month"),i=a.isSame(l,"week")?l.add(1,"week"):l;return[[e,n],[r.startOf("week"),a],[i.startOf("week"),t]]},j6=(e,t,n)=>{const{lang:o}=Qt(),r=L(),a=Mt().locale(o.value),l=S({get(){return e.modelValue?u.value:r.value},set(m){if(!m)return;r.value=m;const y=m.toDate();t(oo,y),t(St,y)}}),i=S(()=>{if(!e.range||!Be(e.range)||e.range.length!==2||e.range.some(C=>!os(C)))return[];const m=e.range.map(C=>Mt(C).locale(o.value)),[y,k]=m;return y.isAfter(k)?(Kt(n,"end time should be greater than start time"),[]):y.isSame(k,"month")?h(y,k):y.add(1,"month").month()!==k.month()?(Kt(n,"start time and end time interval must not exceed two months"),[]):h(y,k)}),u=S(()=>e.modelValue?Mt(e.modelValue).locale(o.value):l.value||(i.value.length?i.value[0][0]:a)),c=S(()=>u.value.subtract(1,"month").date(1)),d=S(()=>u.value.add(1,"month").date(1)),f=S(()=>u.value.subtract(1,"year").date(1)),p=S(()=>u.value.add(1,"year").date(1)),h=(m,y)=>{const k=m.startOf("week"),C=y.endOf("week"),b=k.get("month"),x=C.get("month");return b===x?[[k,C]]:(b+1)%12===x?M6(k,C):b+2===x||(b+1)%11===x?A6(k,C):(Kt(n,"start time and end time interval must not exceed two months"),[])},v=m=>{l.value=m};return{calculateValidatedDateRange:h,date:u,realSelectedDay:l,pickDay:v,selectDate:m=>{const k={"prev-month":c.value,"next-month":d.value,"prev-year":f.value,"next-year":p.value,today:a}[m];k.isSame(u.value,"day")||v(k)},validatedRange:i}},N6=e=>Be(e)&&e.length===2&&e.every(t=>os(t)),R6=qe({modelValue:{type:Date},range:{type:se(Array),validator:N6}}),D6={[St]:e=>os(e),[oo]:e=>os(e)},RE="ElCalendar",L6=te({name:RE}),B6=te({...L6,props:R6,emits:D6,setup(e,{expose:t,emit:n}){const o=e,r=Ie("calendar"),{calculateValidatedDateRange:a,date:l,pickDay:i,realSelectedDay:u,selectDate:c,validatedRange:d}=j6(o,n,RE),{t:f}=Qt(),p=S(()=>{const h=`el.datepicker.month${l.value.format("M")}`;return`${l.value.year()} ${f("el.datepicker.year")} ${f(h)}`});return t({selectedDay:u,pickDay:i,selectDate:c,calculateValidatedDateRange:a}),(h,v)=>(T(),F("div",{class:M(s(r).b())},[H("div",{class:M(s(r).e("header"))},[he(h.$slots,"header",{date:s(p)},()=>[H("div",{class:M(s(r).e("title"))},Pe(s(p)),3),s(d).length===0?(T(),F("div",{key:0,class:M(s(r).e("button-group"))},[Q(s(IE),null,{default:ne(()=>[Q(s(Co),{size:"small",onClick:g=>s(c)("prev-month")},{default:ne(()=>[Tt(Pe(s(f)("el.datepicker.prevMonth")),1)]),_:1},8,["onClick"]),Q(s(Co),{size:"small",onClick:g=>s(c)("today")},{default:ne(()=>[Tt(Pe(s(f)("el.datepicker.today")),1)]),_:1},8,["onClick"]),Q(s(Co),{size:"small",onClick:g=>s(c)("next-month")},{default:ne(()=>[Tt(Pe(s(f)("el.datepicker.nextMonth")),1)]),_:1},8,["onClick"])]),_:1})],2)):fe("v-if",!0)])],2),s(d).length===0?(T(),F("div",{key:0,class:M(s(r).e("body"))},[Q(bC,{date:s(l),"selected-day":s(u),onPick:s(i)},yr({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:ne(g=>[he(h.$slots,"date-cell",Qr(Pa(g)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(T(),F("div",{key:1,class:M(s(r).e("body"))},[(T(!0),F(tt,null,Dt(s(d),(g,m)=>(T(),ge(bC,{key:m,date:g[0],"selected-day":s(u),range:g,"hide-header":m!==0,onPick:s(i)},yr({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:ne(y=>[he(h.$slots,"date-cell",Qr(Pa(y)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var V6=Ue(B6,[["__file","calendar.vue"]]);const F6=Pt(V6),q6=qe({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:se([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),K6=te({name:"ElCard"}),H6=te({...K6,props:q6,setup(e){const t=bu("card"),n=Ie("card");return(o,r)=>{var a;return T(),F("div",{class:M([s(n).b(),s(n).is(`${o.shadow||((a=s(t))==null?void 0:a.shadow)||"always"}-shadow`)])},[o.$slots.header||o.header?(T(),F("div",{key:0,class:M([s(n).e("header"),o.headerClass])},[he(o.$slots,"header",{},()=>[Tt(Pe(o.header),1)])],2)):fe("v-if",!0),H("div",{class:M([s(n).e("body"),o.bodyClass]),style:ht(o.bodyStyle)},[he(o.$slots,"default")],6),o.$slots.footer||o.footer?(T(),F("div",{key:1,class:M([s(n).e("footer"),o.footerClass])},[he(o.$slots,"footer",{},()=>[Tt(Pe(o.footer),1)])],2)):fe("v-if",!0)],2)}}});var W6=Ue(H6,[["__file","card.vue"]]);const U6=Pt(W6),Y6=qe({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),G6={change:(e,t)=>[e,t].every(ft)},DE=Symbol("carouselContextKey"),Lc="ElCarouselItem",X6="utils/vue/vnode";var Dr=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Dr||{});function Jv(e){return zn(e)&&e.type===tt}function Z6(e){return zn(e)&&e.type===Xn}function Q6(e){return zn(e)&&!Jv(e)&&!Z6(e)}const J6=e=>{if(!zn(e))return Kt(X6,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(zn(e.type)?e.type.props:void 0)||{},o={};return Object.keys(n).forEach(r=>{rn(n[r],"default")&&(o[r]=n[r].default)}),Object.keys(t).forEach(r=>{o[ir(r)]=t[r]}),o},Ta=e=>{const t=Be(e)?e:[e],n=[];return t.forEach(o=>{var r;Be(o)?n.push(...Ta(o)):zn(o)&&((r=o.component)!=null&&r.subTree)?n.push(o,...Ta(o.component.subTree)):zn(o)&&Be(o.children)?n.push(...Ta(o.children)):zn(o)&&o.shapeFlag===2?n.push(...Ta(o.type())):n.push(o)}),n},eF=(e,t,n)=>Ta(e.subTree).filter(a=>{var l;return zn(a)&&((l=a.type)==null?void 0:l.name)===t&&!!a.component}).map(a=>a.component.uid).map(a=>n[a]).filter(a=>!!a),jp=(e,t)=>{const n=xn({}),o=xn([]),r=new WeakMap,a=d=>{n.value[d.uid]=d,Ef(n),Bt(()=>{const f=d.getVnode().el,p=f.parentNode;if(!r.has(p)){r.set(p,[]);const h=p.insertBefore.bind(p);p.insertBefore=(v,g)=>(r.get(p).some(y=>v===y||g===y)&&Ef(n),h(v,g))}r.get(p).push(f)})},l=d=>{delete n.value[d.uid],Ef(n);const f=d.getVnode().el,p=f.parentNode,h=r.get(p),v=h.indexOf(f);h.splice(v,1)},i=()=>{o.value=eF(e,t,n.value)},u=d=>d.render();return{children:o,addChild:a,removeChild:l,ChildrenSorter:te({setup(d,{slots:f}){return()=>(i(),f.default?mt(u,{render:f.default}):null)}})}},wC=300,tF=(e,t,n)=>{const{children:o,addChild:r,removeChild:a,ChildrenSorter:l}=jp(Lt(),Lc),i=ao(),u=L(-1),c=L(null),d=L(!1),f=L(),p=L(0),h=L(!0),v=S(()=>e.arrow!=="never"&&!s(y)),g=S(()=>o.value.some(ae=>ae.props.label.toString().length>0)),m=S(()=>e.type==="card"),y=S(()=>e.direction==="vertical"),k=S(()=>e.height!=="auto"?{height:e.height}:{height:`${p.value}px`,overflow:"hidden"}),C=Bs(ae=>{P(ae)},wC,{trailing:!0}),b=Bs(ae=>{R(ae)},wC),x=ae=>h.value?u.value<=1?ae<=1:ae>1:!0;function _(){c.value&&(clearInterval(c.value),c.value=null)}function z(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>I(),e.interval))}const I=()=>{u.value<o.value.length-1?u.value=u.value+1:e.loop&&(u.value=0)};function P(ae){if(rt(ae)){const ce=o.value.filter(oe=>oe.props.name===ae);ce.length>0&&(ae=o.value.indexOf(ce[0]))}if(ae=Number(ae),Number.isNaN(ae)||ae!==Math.floor(ae)){Kt(n,"index must be integer.");return}const ve=o.value.length,re=u.value;ae<0?u.value=e.loop?ve-1:0:ae>=ve?u.value=e.loop?0:ve-1:u.value=ae,re===u.value&&j(re),q()}function j(ae){o.value.forEach((ve,re)=>{ve.translateItem(re,u.value,ae)})}function O(ae,ve){var re,ce,oe,ie;const de=s(o),U=de.length;if(U===0||!ae.states.inStage)return!1;const le=ve+1,me=ve-1,_e=U-1,Ce=de[_e].states.active,we=de[0].states.active,$e=(ce=(re=de[le])==null?void 0:re.states)==null?void 0:ce.active,Re=(ie=(oe=de[me])==null?void 0:oe.states)==null?void 0:ie.active;return ve===_e&&we||$e?"left":ve===0&&Ce||Re?"right":!1}function A(){d.value=!0,e.pauseOnHover&&_()}function K(){d.value=!1,z()}function Y(ae){s(y)||o.value.forEach((ve,re)=>{ae===O(ve,re)&&(ve.states.hover=!0)})}function Z(){s(y)||o.value.forEach(ae=>{ae.states.hover=!1})}function $(ae){u.value=ae}function R(ae){e.trigger==="hover"&&ae!==u.value&&(u.value=ae)}function D(){P(u.value-1)}function B(){P(u.value+1)}function q(){_(),e.pauseOnHover||z()}function G(ae){e.height==="auto"&&(p.value=ae)}function X(){var ae;const ve=(ae=i.default)==null?void 0:ae.call(i);if(!ve)return null;const ce=Ta(ve).filter(oe=>zn(oe)&&oe.type.name===Lc);return ce?.length===2&&e.loop&&!m.value?(h.value=!0,ce):(h.value=!1,null)}ke(()=>u.value,(ae,ve)=>{j(ve),h.value&&(ae=ae%2,ve=ve%2),ve>-1&&t(Wt,ae,ve)});const J=S({get:()=>h.value?u.value%2:u.value,set:ae=>u.value=ae});ke(()=>e.autoplay,ae=>{ae?z():_()}),ke(()=>e.loop,()=>{P(u.value)}),ke(()=>e.interval,()=>{q()});const ue=xn();return Bt(()=>{ke(()=>o.value,()=>{o.value.length>0&&P(e.initialIndex)},{immediate:!0}),ue.value=In(f.value,()=>{j()}),z()}),cn(()=>{_(),f.value&&ue.value&&ue.value.stop()}),Ut(DE,{root:f,isCardType:m,isVertical:y,items:o,loop:e.loop,cardScale:e.cardScale,addItem:r,removeItem:a,setActiveItem:P,setContainerHeight:G}),{root:f,activeIndex:u,exposeActiveIndex:J,arrowDisplay:v,hasLabel:g,hover:d,isCardType:m,items:o,isVertical:y,containerStyle:k,isItemsTwoLength:h,handleButtonEnter:Y,handleButtonLeave:Z,handleIndicatorClick:$,handleMouseEnter:A,handleMouseLeave:K,setActiveItem:P,prev:D,next:B,PlaceholderItem:X,isTwoLengthShow:x,ItemsSorter:l,throttledArrowClick:C,throttledIndicatorHover:b}},LE="ElCarousel",nF=te({name:LE}),oF=te({...nF,props:Y6,emits:G6,setup(e,{expose:t,emit:n}){const o=e,{root:r,activeIndex:a,exposeActiveIndex:l,arrowDisplay:i,hasLabel:u,hover:c,isCardType:d,items:f,isVertical:p,containerStyle:h,handleButtonEnter:v,handleButtonLeave:g,handleIndicatorClick:m,handleMouseEnter:y,handleMouseLeave:k,setActiveItem:C,prev:b,next:x,PlaceholderItem:_,isTwoLengthShow:z,ItemsSorter:I,throttledArrowClick:P,throttledIndicatorHover:j}=tF(o,n,LE),O=Ie("carousel"),{t:A}=Qt(),K=S(()=>{const R=[O.b(),O.m(o.direction)];return s(d)&&R.push(O.m("card")),R}),Y=S(()=>{const R=[O.e("indicators"),O.em("indicators",o.direction)];return s(u)&&R.push(O.em("indicators","labels")),o.indicatorPosition==="outside"&&R.push(O.em("indicators","outside")),s(p)&&R.push(O.em("indicators","right")),R});function Z(R){if(!o.motionBlur)return;const D=s(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;R.currentTarget.classList.add(D)}function $(R){if(!o.motionBlur)return;const D=s(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;R.currentTarget.classList.remove(D)}return t({activeIndex:l,setActiveItem:C,prev:b,next:x}),(R,D)=>(T(),F("div",{ref_key:"root",ref:r,class:M(s(K)),onMouseenter:wt(s(y),["stop"]),onMouseleave:wt(s(k),["stop"])},[s(i)?(T(),ge(So,{key:0,name:"carousel-arrow-left",persisted:""},{default:ne(()=>[Nt(H("button",{type:"button",class:M([s(O).e("arrow"),s(O).em("arrow","left")]),"aria-label":s(A)("el.carousel.leftArrow"),onMouseenter:B=>s(v)("left"),onMouseleave:s(g),onClick:wt(B=>s(P)(s(a)-1),["stop"])},[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[tn,(R.arrow==="always"||s(c))&&(R.loop||s(a)>0)]])]),_:1})):fe("v-if",!0),s(i)?(T(),ge(So,{key:1,name:"carousel-arrow-right",persisted:""},{default:ne(()=>[Nt(H("button",{type:"button",class:M([s(O).e("arrow"),s(O).em("arrow","right")]),"aria-label":s(A)("el.carousel.rightArrow"),onMouseenter:B=>s(v)("right"),onMouseleave:s(g),onClick:wt(B=>s(P)(s(a)+1),["stop"])},[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[tn,(R.arrow==="always"||s(c))&&(R.loop||s(a)<s(f).length-1)]])]),_:1})):fe("v-if",!0),H("div",{class:M(s(O).e("container")),style:ht(s(h)),onTransitionstart:Z,onTransitionend:$},[Q(s(_)),he(R.$slots,"default")],38),Q(s(I),null,{default:ne(()=>[R.indicatorPosition!=="none"?(T(),F("ul",{key:0,class:M(s(Y))},[(T(!0),F(tt,null,Dt(s(f),(B,q)=>Nt((T(),F("li",{key:q,class:M([s(O).e("indicator"),s(O).em("indicator",R.direction),s(O).is("active",q===s(a))]),onMouseenter:G=>s(j)(q),onClick:wt(G=>s(m)(q),["stop"])},[H("button",{class:M(s(O).e("button")),"aria-label":s(A)("el.carousel.indicator",{index:q+1})},[s(u)?(T(),F("span",{key:0},Pe(B.props.label),1)):fe("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[tn,s(z)(q)]])),128))],2)):fe("v-if",!0)]),_:1}),R.motionBlur?(T(),F("svg",{key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[H("defs",null,[H("filter",{id:"elCarouselHorizontal"},[H("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),H("filter",{id:"elCarouselVertical"},[H("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):fe("v-if",!0)],42,["onMouseenter","onMouseleave"]))}});var rF=Ue(oF,[["__file","carousel.vue"]]);const aF=qe({name:{type:String,default:""},label:{type:[String,Number],default:""}}),lF=e=>{const t=et(DE),n=Lt();t||Kt(Lc,"usage: <el-carousel></el-carousel-item></el-carousel>"),n||Kt(Lc,"compositional hook can only be invoked inside setups");const o=L(),r=L(!1),a=L(0),l=L(1),i=L(!1),u=L(!1),c=L(!1),d=L(!1),{isCardType:f,isVertical:p,cardScale:h}=t;function v(b,x,_){const z=_-1,I=x-1,P=x+1,j=_/2;return x===0&&b===z?-1:x===z&&b===0?_:b<I&&x-b>=j?_+1:b>P&&b-x>=j?-2:b}function g(b,x){var _,z;const I=s(p)?((_=t.root.value)==null?void 0:_.offsetHeight)||0:((z=t.root.value)==null?void 0:z.offsetWidth)||0;return c.value?I*((2-h)*(b-x)+1)/4:b<x?-(1+h)*I/4:(3+h)*I/4}function m(b,x,_){const z=t.root.value;return z?((_?z.offsetHeight:z.offsetWidth)||0)*(b-x):0}const y=(b,x,_)=>{var z;const I=s(f),P=(z=t.items.value.length)!=null?z:Number.NaN,j=b===x;!I&&!Zt(_)&&(d.value=j||b===_),!j&&P>2&&t.loop&&(b=v(b,x,P));const O=s(p);i.value=j,I?(c.value=Math.round(Math.abs(b-x))<=1,a.value=g(b,x),l.value=s(i)?1:h):a.value=m(b,x,O),u.value=!0,j&&o.value&&t.setContainerHeight(o.value.offsetHeight)};function k(){if(t&&s(f)){const b=t.items.value.findIndex(({uid:x})=>x===n.uid);t.setActiveItem(b)}}const C={props:e,states:an({hover:r,translate:a,scale:l,active:i,ready:u,inStage:c,animating:d}),uid:n.uid,getVnode:()=>n.vnode,translateItem:y};return t.addItem(C),cn(()=>{t.removeItem(C)}),{carouselItemRef:o,active:i,animating:d,hover:r,inStage:c,isVertical:p,translate:a,isCardType:f,scale:l,ready:u,handleItemClick:k}},sF=te({name:Lc}),iF=te({...sF,props:aF,setup(e){const t=e,n=Ie("carousel"),{carouselItemRef:o,active:r,animating:a,hover:l,inStage:i,isVertical:u,translate:c,isCardType:d,scale:f,ready:p,handleItemClick:h}=lF(t),v=S(()=>[n.e("item"),n.is("active",r.value),n.is("in-stage",i.value),n.is("hover",l.value),n.is("animating",a.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&u.value}]),g=S(()=>{const y=`${`translate${s(u)?"Y":"X"}`}(${s(c)}px)`,k=`scale(${s(f)})`;return{transform:[y,k].join(" ")}});return(m,y)=>Nt((T(),F("div",{ref_key:"carouselItemRef",ref:o,class:M(s(v)),style:ht(s(g)),onClick:s(h)},[s(d)?Nt((T(),F("div",{key:0,class:M(s(n).e("mask"))},null,2)),[[tn,!s(r)]]):fe("v-if",!0),he(m.$slots,"default")],14,["onClick"])),[[tn,s(p)]])}});var BE=Ue(iF,[["__file","carousel-item.vue"]]);const uF=Pt(rF,{CarouselItem:BE}),cF=Rn(BE),VE={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:io,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...Zo(["ariaControls"])},FE={[St]:e=>rt(e)||ft(e)||fn(e),change:e=>rt(e)||ft(e)||fn(e)},Cu=Symbol("checkboxGroupContextKey"),dF=({model:e,isChecked:t})=>{const n=et(Cu,void 0),o=S(()=>{var a,l;const i=(a=n?.max)==null?void 0:a.value,u=(l=n?.min)==null?void 0:l.value;return!Zt(i)&&e.value.length>=i&&!t.value||!Zt(u)&&e.value.length<=u&&t.value});return{isDisabled:go(S(()=>n?.disabled.value||o.value)),isLimitDisabled:o}},fF=(e,{model:t,isLimitExceeded:n,hasOwnLabel:o,isDisabled:r,isLabeledByFormItem:a})=>{const l=et(Cu,void 0),{formItem:i}=xo(),{emit:u}=Lt();function c(v){var g,m,y,k;return[!0,e.trueValue,e.trueLabel].includes(v)?(m=(g=e.trueValue)!=null?g:e.trueLabel)!=null?m:!0:(k=(y=e.falseValue)!=null?y:e.falseLabel)!=null?k:!1}function d(v,g){u(Wt,c(v),g)}function f(v){if(n.value)return;const g=v.target;u(Wt,c(g.checked),v)}async function p(v){n.value||!o.value&&!r.value&&a.value&&(v.composedPath().some(y=>y.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await Qe(),d(t.value,v)))}const h=S(()=>l?.validateEvent||e.validateEvent);return ke(()=>e.modelValue,()=>{h.value&&i?.validate("change").catch(v=>Kt(v))}),{handleChange:f,onClickRoot:p}},hF=e=>{const t=L(!1),{emit:n}=Lt(),o=et(Cu,void 0),r=S(()=>Zt(o)===!1),a=L(!1),l=S({get(){var i,u;return r.value?(i=o?.modelValue)==null?void 0:i.value:(u=e.modelValue)!=null?u:t.value},set(i){var u,c;r.value&&Be(i)?(a.value=((u=o?.max)==null?void 0:u.value)!==void 0&&i.length>o?.max.value&&i.length>l.value.length,a.value===!1&&((c=o?.changeEvent)==null||c.call(o,i))):(n(St,i),t.value=i)}});return{model:l,isGroup:r,isLimitExceeded:a}},pF=(e,t,{model:n})=>{const o=et(Cu,void 0),r=L(!1),a=S(()=>Tr(e.value)?e.label:e.value),l=S(()=>{const d=n.value;return fn(d)?d:Be(d)?At(a.value)?d.map(wn).some(f=>Vn(f,a.value)):d.map(wn).includes(a.value):d!=null?d===e.trueValue||d===e.trueLabel:!!d}),i=ro(S(()=>{var d;return(d=o?.size)==null?void 0:d.value}),{prop:!0}),u=ro(S(()=>{var d;return(d=o?.size)==null?void 0:d.value})),c=S(()=>!!t.default||!Tr(a.value));return{checkboxButtonSize:i,isChecked:l,isFocused:r,checkboxSize:u,hasOwnLabel:c,actualValue:a}},qE=(e,t)=>{const{formItem:n}=xo(),{model:o,isGroup:r,isLimitExceeded:a}=hF(e),{isFocused:l,isChecked:i,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=pF(e,t,{model:o}),{isDisabled:p}=dF({model:o,isChecked:i}),{inputId:h,isLabeledByFormItem:v}=Pr(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:r}),{handleChange:g,onClickRoot:m}=fF(e,{model:o,isLimitExceeded:a,hasOwnLabel:d,isDisabled:p,isLabeledByFormItem:v});return(()=>{function k(){var C,b;Be(o.value)&&!o.value.includes(f.value)?o.value.push(f.value):o.value=(b=(C=e.trueValue)!=null?C:e.trueLabel)!=null?b:!0}e.checked&&k()})(),Aa({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>r.value&&Tr(e.value))),Aa({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.trueLabel)),Aa({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},S(()=>!!e.falseLabel)),{inputId:h,isLabeledByFormItem:v,isChecked:i,isDisabled:p,isFocused:l,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:o,actualValue:f,handleChange:g,onClickRoot:m}},gF=te({name:"ElCheckbox"}),vF=te({...gF,props:VE,emits:FE,setup(e){const t=e,n=ao(),{inputId:o,isLabeledByFormItem:r,isChecked:a,isDisabled:l,isFocused:i,checkboxSize:u,hasOwnLabel:c,model:d,actualValue:f,handleChange:p,onClickRoot:h}=qE(t,n),v=S(()=>{var k,C,b,x;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(C=(k=t.trueValue)!=null?k:t.trueLabel)!=null?C:!0,"false-value":(x=(b=t.falseValue)!=null?b:t.falseLabel)!=null?x:!1}:{value:f.value}}),g=Ie("checkbox"),m=S(()=>[g.b(),g.m(u.value),g.is("disabled",l.value),g.is("bordered",t.border),g.is("checked",a.value)]),y=S(()=>[g.e("input"),g.is("disabled",l.value),g.is("checked",a.value),g.is("indeterminate",t.indeterminate),g.is("focus",i.value)]);return(k,C)=>(T(),ge(Rt(!s(c)&&s(r)?"span":"label"),{class:M(s(m)),"aria-controls":k.indeterminate?k.ariaControls:null,onClick:s(h)},{default:ne(()=>[H("span",{class:M(s(y))},[Nt(H("input",Vt({id:s(o),"onUpdate:modelValue":b=>Cn(d)?d.value=b:null,class:s(g).e("original"),type:"checkbox",indeterminate:k.indeterminate,name:k.name,tabindex:k.tabindex,disabled:s(l)},s(v),{onChange:s(p),onFocus:b=>i.value=!0,onBlur:b=>i.value=!1,onClick:wt(()=>{},["stop"])}),null,16,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","onChange","onFocus","onBlur","onClick"]),[[hx,s(d)]]),H("span",{class:M(s(g).e("inner"))},null,2)],2),s(c)?(T(),F("span",{key:0,class:M(s(g).e("label"))},[he(k.$slots,"default"),k.$slots.default?fe("v-if",!0):(T(),F(tt,{key:0},[Tt(Pe(k.label),1)],64))],2)):fe("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var KE=Ue(vF,[["__file","checkbox.vue"]]);const mF=te({name:"ElCheckboxButton"}),yF=te({...mF,props:VE,emits:FE,setup(e){const t=e,n=ao(),{isFocused:o,isChecked:r,isDisabled:a,checkboxButtonSize:l,model:i,actualValue:u,handleChange:c}=qE(t,n),d=S(()=>{var g,m,y,k;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(m=(g=t.trueValue)!=null?g:t.trueLabel)!=null?m:!0,"false-value":(k=(y=t.falseValue)!=null?y:t.falseLabel)!=null?k:!1}:{value:u.value}}),f=et(Cu,void 0),p=Ie("checkbox"),h=S(()=>{var g,m,y,k;const C=(m=(g=f?.fill)==null?void 0:g.value)!=null?m:"";return{backgroundColor:C,borderColor:C,color:(k=(y=f?.textColor)==null?void 0:y.value)!=null?k:"",boxShadow:C?`-1px 0 0 0 ${C}`:void 0}}),v=S(()=>[p.b("button"),p.bm("button",l.value),p.is("disabled",a.value),p.is("checked",r.value),p.is("focus",o.value)]);return(g,m)=>(T(),F("label",{class:M(s(v))},[Nt(H("input",Vt({"onUpdate:modelValue":y=>Cn(i)?i.value=y:null,class:s(p).be("button","original"),type:"checkbox",name:g.name,tabindex:g.tabindex,disabled:s(a)},s(d),{onChange:s(c),onFocus:y=>o.value=!0,onBlur:y=>o.value=!1,onClick:wt(()=>{},["stop"])}),null,16,["onUpdate:modelValue","name","tabindex","disabled","onChange","onFocus","onBlur","onClick"]),[[hx,s(i)]]),g.$slots.default||g.label?(T(),F("span",{key:0,class:M(s(p).be("button","inner")),style:ht(s(r)?s(h):void 0)},[he(g.$slots,"default",{},()=>[Tt(Pe(g.label),1)])],6)):fe("v-if",!0)],2))}});var bb=Ue(yF,[["__file","checkbox-button.vue"]]);const bF=qe({modelValue:{type:se(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:io,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:se(Array)},props:{type:se(Object),default:()=>HE},type:{type:String,values:["checkbox","button"],default:"checkbox"},...Zo(["ariaLabel"])}),wF={[St]:e=>Be(e),change:e=>Be(e)},HE={label:"label",value:"value",disabled:"disabled"},CF=te({name:"ElCheckboxGroup"}),kF=te({...CF,props:bF,emits:wF,setup(e,{emit:t}){const n=e,o=Ie("checkbox"),{formItem:r}=xo(),{inputId:a,isLabeledByFormItem:l}=Pr(n,{formItemContext:r}),i=async p=>{t(St,p),await Qe(),t(Wt,p)},u=S({get(){return n.modelValue},set(p){i(p)}}),c=S(()=>({...HE,...n.props})),d=p=>{const{label:h,value:v,disabled:g}=c.value,m={label:p[h],value:p[v],disabled:p[g]};return{...Ep(p,[h,v,g]),...m}},f=S(()=>n.type==="button"?bb:KE);return Ut(Cu,{...ml(fo(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:i}),ke(()=>n.modelValue,(p,h)=>{n.validateEvent&&!Vn(p,h)&&r?.validate("change").catch(v=>Kt(v))}),(p,h)=>{var v;return T(),ge(Rt(p.tag),{id:s(a),class:M(s(o).b("group")),role:"group","aria-label":s(l)?void 0:p.ariaLabel||"checkbox-group","aria-labelledby":s(l)?(v=s(r))==null?void 0:v.labelId:void 0},{default:ne(()=>[he(p.$slots,"default",{},()=>[(T(!0),F(tt,null,Dt(p.options,(g,m)=>(T(),ge(Rt(s(f)),Vt({key:m},d(g)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var WE=Ue(kF,[["__file","checkbox-group.vue"]]);const Ur=Pt(KE,{CheckboxButton:bb,CheckboxGroup:WE}),SF=Rn(bb),UE=Rn(WE),YE=qe({modelValue:{type:[String,Number,Boolean],default:void 0},size:io,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),_F=qe({...YE,border:Boolean}),GE={[St]:e=>rt(e)||ft(e)||fn(e),[Wt]:e=>rt(e)||ft(e)||fn(e)},XE=Symbol("radioGroupKey"),ZE=(e,t)=>{const n=L(),o=et(XE,void 0),r=S(()=>!!o),a=S(()=>Tr(e.value)?e.label:e.value),l=S({get(){return r.value?o.modelValue:e.modelValue},set(f){r.value?o.changeEvent(f):t&&t(St,f),n.value.checked=e.modelValue===a.value}}),i=ro(S(()=>o?.size)),u=go(S(()=>o?.disabled)),c=L(!1),d=S(()=>u.value||r.value&&l.value!==a.value?-1:0);return Aa({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},S(()=>r.value&&Tr(e.value))),{radioRef:n,isGroup:r,radioGroup:o,focus:c,size:i,disabled:u,tabIndex:d,modelValue:l,actualValue:a}},xF=te({name:"ElRadio"}),EF=te({...xF,props:_F,emits:GE,setup(e,{emit:t}){const n=e,o=Ie("radio"),{radioRef:r,radioGroup:a,focus:l,size:i,disabled:u,modelValue:c,actualValue:d}=ZE(n,t);function f(){Qe(()=>t(Wt,c.value))}return(p,h)=>{var v;return T(),F("label",{class:M([s(o).b(),s(o).is("disabled",s(u)),s(o).is("focus",s(l)),s(o).is("bordered",p.border),s(o).is("checked",s(c)===s(d)),s(o).m(s(i))])},[H("span",{class:M([s(o).e("input"),s(o).is("disabled",s(u)),s(o).is("checked",s(c)===s(d))])},[Nt(H("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":g=>Cn(c)?c.value=g:null,class:M(s(o).e("original")),value:s(d),name:p.name||((v=s(a))==null?void 0:v.name),disabled:s(u),checked:s(c)===s(d),type:"radio",onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onChange:f,onClick:wt(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[px,s(c)]]),H("span",{class:M(s(o).e("inner"))},null,2)],2),H("span",{class:M(s(o).e("label")),onKeydown:wt(()=>{},["stop"])},[he(p.$slots,"default",{},()=>[Tt(Pe(p.label),1)])],42,["onKeydown"])],2)}}});var QE=Ue(EF,[["__file","radio.vue"]]);const zF=qe({...YE}),TF=te({name:"ElRadioButton"}),OF=te({...TF,props:zF,setup(e){const t=e,n=Ie("radio"),{radioRef:o,focus:r,size:a,disabled:l,modelValue:i,radioGroup:u,actualValue:c}=ZE(t),d=S(()=>({backgroundColor:u?.fill||"",borderColor:u?.fill||"",boxShadow:u?.fill?`-1px 0 0 0 ${u.fill}`:"",color:u?.textColor||""}));return(f,p)=>{var h;return T(),F("label",{class:M([s(n).b("button"),s(n).is("active",s(i)===s(c)),s(n).is("disabled",s(l)),s(n).is("focus",s(r)),s(n).bm("button",s(a))])},[Nt(H("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":v=>Cn(i)?i.value=v:null,class:M(s(n).be("button","original-radio")),value:s(c),type:"radio",name:f.name||((h=s(u))==null?void 0:h.name),disabled:s(l),onFocus:v=>r.value=!0,onBlur:v=>r.value=!1,onClick:wt(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[px,s(i)]]),H("span",{class:M(s(n).be("button","inner")),style:ht(s(i)===s(c)?s(d):{}),onKeydown:wt(()=>{},["stop"])},[he(f.$slots,"default",{},()=>[Tt(Pe(f.label),1)])],46,["onKeydown"])],2)}}});var wb=Ue(OF,[["__file","radio-button.vue"]]);const $F=qe({id:{type:String,default:void 0},size:io,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:se(Array)},props:{type:se(Object),default:()=>JE},type:{type:String,values:["radio","button"],default:"radio"},...Zo(["ariaLabel"])}),PF=GE,JE={label:"label",value:"value",disabled:"disabled"},IF=te({name:"ElRadioGroup"}),MF=te({...IF,props:$F,emits:PF,setup(e,{emit:t}){const n=e,o=Ie("radio"),r=To(),a=L(),{formItem:l}=xo(),{inputId:i,isLabeledByFormItem:u}=Pr(n,{formItemContext:l}),c=v=>{t(St,v),Qe(()=>t(Wt,v))};Bt(()=>{const v=a.value.querySelectorAll("[type=radio]"),g=v[0];!Array.from(v).some(m=>m.checked)&&g&&(g.tabIndex=0)});const d=S(()=>n.name||r.value),f=S(()=>({...JE,...n.props})),p=v=>{const{label:g,value:m,disabled:y}=f.value,k={label:v[g],value:v[m],disabled:v[y]};return{...Ep(v,[g,m,y]),...k}},h=S(()=>n.type==="button"?wb:QE);return Ut(XE,an({...fo(n),changeEvent:c,name:d})),ke(()=>n.modelValue,(v,g)=>{n.validateEvent&&!Vn(v,g)&&l?.validate("change").catch(m=>Kt(m))}),(v,g)=>(T(),F("div",{id:s(i),ref_key:"radioGroupRef",ref:a,class:M(s(o).b("group")),role:"radiogroup","aria-label":s(u)?void 0:v.ariaLabel||"radio-group","aria-labelledby":s(u)?s(l).labelId:void 0},[he(v.$slots,"default",{},()=>[(T(!0),F(tt,null,Dt(v.options,(m,y)=>(T(),ge(Rt(s(h)),Vt({key:y},p(m)),null,16))),128))])],10,["id","aria-label","aria-labelledby"]))}});var ez=Ue(MF,[["__file","radio-group.vue"]]);const tz=Pt(QE,{RadioButton:wb,RadioGroup:ez}),AF=Rn(ez),jF=Rn(wb),Np=Symbol();function NF(e){return!!(Be(e)?e.every(({type:t})=>t===Xn):e?.type===Xn)}var RF=te({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=Ie("cascader-node"),{renderLabelFn:n}=et(Np),{node:o}=e,{data:r,label:a}=o,l=()=>{const i=n?.({node:o,data:r});return NF(i)?a:i??a};return()=>Q("span",{class:t.e("label")},[l()])}});const DF=te({name:"ElCascaderNode"}),LF=te({...DF,props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,o=et(Np),r=Ie("cascader-node"),a=S(()=>o.isHoverMenu),l=S(()=>o.config.multiple),i=S(()=>o.config.checkStrictly),u=S(()=>o.config.showPrefix),c=S(()=>{var I;return(I=o.checkedNodes[0])==null?void 0:I.uid}),d=S(()=>n.node.isDisabled),f=S(()=>n.node.isLeaf),p=S(()=>i.value&&!f.value||!d.value),h=S(()=>g(o.expandingNode)),v=S(()=>i.value&&o.checkedNodes.some(g)),g=I=>{var P;const{level:j,uid:O}=n.node;return((P=I?.pathNodes[j-1])==null?void 0:P.uid)===O},m=()=>{h.value||o.expandNode(n.node)},y=I=>{const{node:P}=n;I!==P.checked&&o.handleCheckChange(P,I)},k=()=>{o.lazyLoad(n.node,()=>{f.value||m()})},C=I=>{a.value&&(b(),!f.value&&t("expand",I))},b=()=>{const{node:I}=n;!p.value||I.loading||(I.loaded?m():k())},x=()=>{f.value&&!d.value&&!i.value&&!l.value?z(!0):(o.config.checkOnClickNode&&(l.value||i.value)||f.value&&o.config.checkOnClickLeaf)&&!d.value?_(!n.node.checked):a.value||b()},_=I=>{i.value?(y(I),n.node.loaded&&m()):z(I)},z=I=>{n.node.loaded?(y(I),!i.value&&m()):k()};return(I,P)=>(T(),F("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!s(f),"aria-owns":s(f)?void 0:e.menuId,"aria-expanded":s(h),tabindex:s(p)?-1:void 0,class:M([s(r).b(),s(r).is("selectable",s(i)),s(r).is("active",e.node.checked),s(r).is("disabled",!s(p)),s(h)&&"in-active-path",s(v)&&"in-checked-path"]),onMouseenter:C,onFocus:C,onClick:x},[fe(" prefix "),s(l)&&s(u)?(T(),ge(s(Ur),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:s(d),onClick:wt(()=>{},["stop"]),"onUpdate:modelValue":_},null,8,["model-value","indeterminate","disabled","onClick"])):s(i)&&s(u)?(T(),ge(s(tz),{key:1,"model-value":s(c),label:e.node.uid,disabled:s(d),"onUpdate:modelValue":_,onClick:wt(()=>{},["stop"])},{default:ne(()=>[fe(`
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
`),H("span")]),_:1},8,["model-value","label","disabled","onClick"])):s(f)&&e.node.checked?(T(),ge(s(lt),{key:2,class:M(s(r).e("prefix"))},{default:ne(()=>[Q(s(gd))]),_:1},8,["class"])):fe("v-if",!0),fe(" content "),Q(s(RF),{node:e.node},null,8,["node"]),fe(" postfix "),s(f)?fe("v-if",!0):(T(),F(tt,{key:3},[e.node.loading?(T(),ge(s(lt),{key:0,class:M([s(r).is("loading"),s(r).e("postfix")])},{default:ne(()=>[Q(s(la))]),_:1},8,["class"])):(T(),ge(s(lt),{key:1,class:M(["arrow-right",s(r).e("postfix")])},{default:ne(()=>[Q(s(Xo))]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex"]))}});var BF=Ue(LF,[["__file","node.vue"]]);const VF=te({name:"ElCascaderMenu"}),FF=te({...VF,props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=Lt(),o=Ie("cascader-menu"),{t:r}=Qt(),a=To();let l,i;const u=et(Np),c=L(),d=S(()=>!t.nodes.length),f=S(()=>!u.initialLoaded),p=S(()=>`${a.value}-${t.index}`),h=y=>{l=y.target},v=y=>{if(!(!u.isHoverMenu||!l||!c.value))if(l.contains(y.target)){g();const k=n.vnode.el,{left:C}=k.getBoundingClientRect(),{offsetWidth:b,offsetHeight:x}=k,_=y.clientX-C,z=l.offsetTop,I=z+l.offsetHeight;c.value.innerHTML=`
<path style="pointer-events: auto;" fill="transparent" d="M${_} ${z} L${b} 0 V${z} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${_} ${I} L${b} ${x} V${I} Z" />
`}else i||(i=window.setTimeout(m,u.config.hoverThreshold))},g=()=>{i&&(clearTimeout(i),i=void 0)},m=()=>{c.value&&(c.value.innerHTML="",g())};return(y,k)=>(T(),ge(s(sa),{key:s(p),tag:"ul",role:"menu",class:M(s(o).b()),"wrap-class":s(o).e("wrap"),"view-class":[s(o).e("list"),s(o).is("empty",s(d))],onMousemove:v,onMouseleave:m},{default:ne(()=>{var C;return[(T(!0),F(tt,null,Dt(e.nodes,b=>(T(),ge(BF,{key:b.uid,node:b,"menu-id":s(p),onExpand:h},null,8,["node","menu-id"]))),128)),s(f)?(T(),F("div",{key:0,class:M(s(o).e("empty-text"))},[Q(s(lt),{size:"14",class:M(s(o).is("loading"))},{default:ne(()=>[Q(s(la))]),_:1},8,["class"]),Tt(" "+Pe(s(r)("el.cascader.loading")),1)],2)):s(d)?(T(),F("div",{key:1,class:M(s(o).e("empty-text"))},[he(y.$slots,"empty",{},()=>[Tt(Pe(s(r)("el.cascader.noData")),1)])],2)):(C=s(u))!=null&&C.isHoverMenu?(T(),F(tt,{key:2},[fe(" eslint-disable-next-line vue/html-self-closing "),(T(),F("svg",{ref_key:"hoverZone",ref:c,class:M(s(o).e("hover-zone"))},null,2))],2112)):fe("v-if",!0)]}),_:3},8,["class","wrap-class","view-class"]))}});var qF=Ue(FF,[["__file","menu.vue"]]);let KF=0;const HF=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let em=class tm{constructor(t,n,o,r=!1){this.data=t,this.config=n,this.parent=o,this.root=r,this.uid=KF++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:a,label:l,children:i}=n,u=t[i],c=HF(this);this.level=r?0:o?o.level+1:1,this.value=t[a],this.label=t[l],this.pathNodes=c,this.pathValues=c.map(d=>d.value),this.pathLabels=c.map(d=>d.label),this.childrenData=u,this.children=(u||[]).map(d=>new tm(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!lr(u),this.text=""}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:r,checkStrictly:a}=o;return(it(r)?r(t,this):!!t[r])||!a&&!!n?.isDisabled}get isLeaf(){const{data:t,config:n,childrenData:o,loaded:r}=this,{lazy:a,leaf:l}=n,i=it(l)?l(t,this):t[l];return Zt(i)?a&&!r?!1:!(Be(o)&&o.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,r=new tm(t,this.config,this);return Be(n)?n.push(t):this.childrenData=[t],o.push(r),r}calcText(t,n){const o=t?this.pathLabels.join(n):this.label;return this.text=o,o}broadcast(t){this.children.forEach(n=>{var o;n&&(n.broadcast(t),(o=n.onParentCheck)==null||o.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(r=>!r.isDisabled),o=n.length?n.every(r=>r.checked):!1;this.setCheckState(o)}setCheckState(t){const n=this.children.length,o=this.children.reduce((r,a)=>{const l=a.checked?1:a.indeterminate?.5:0;return r+l},0);this.checked=this.loaded&&this.children.filter(r=>!r.isDisabled).every(r=>r.loaded&&r.checked)&&t,this.indeterminate=this.loaded&&o!==n&&o>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:o}=this.config;n||!o?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const nm=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(nm(o.children,t))),n),[]);class CC{constructor(t,n){this.config=n;const o=(t||[]).map(r=>new em(r,this.config));this.nodes=o,this.allNodes=nm(o,!1),this.leafNodes=nm(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new em(t,this.config);n||this.nodes.push(o),this.appendAllNodesAndLeafNodes(o)}appendNodes(t,n){t.length>0?t.forEach(o=>this.appendNode(o,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return Tr(t)?null:this.getFlattedNodes(n).find(r=>Vn(r.value,t)||Vn(r.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:r})=>Vn(t.value,o)&&t.level===r)||null}}const nz=qe({modelValue:{type:se([Number,String,Array,Object])},options:{type:se(Array),default:()=>[]},props:{type:se(Object),default:()=>({})}}),WF={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:un,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},UF=qe({...nz,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),kC=e=>!0,YF={[St]:kC,[Wt]:kC,close:()=>!0,"expand-change":e=>e},GF=e=>S(()=>({...WF,...e.props})),SC=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},XF=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():Y2(e)&&e.click()},ZF=(e,t)=>{const n=t.slice(0),o=n.map(a=>a.uid),r=e.reduce((a,l)=>{const i=o.indexOf(l.uid);return i>-1&&(a.push(l),n.splice(i,1),o.splice(i,1)),a},[]);return r.push(...n),r},QF=te({name:"ElCascaderPanel",inheritAttrs:!1}),JF=te({...QF,props:UF,emits:YF,setup(e,{expose:t,emit:n}){const o=e;let r=!1;const a=Ie("cascader"),l=GF(o),i=ao();let u;const c=L(!0),d=L(!1),f=L([]),p=L(),h=L([]),v=L(),g=L([]),m=S(()=>l.value.expandTrigger==="hover"),y=S(()=>o.renderLabel||i.default),k=()=>{const{options:$}=o,R=l.value;r=!1,u=new CC($,R),h.value=[u.getNodes()],R.lazy&&lr(o.options)?(c.value=!1,C(void 0,D=>{D&&(u=new CC(D,R),h.value=[u.getNodes()]),c.value=!0,O(!1,!0)})):O(!1,!0)},C=($,R)=>{const D=l.value;$=$||new em({},D,void 0,!0),$.loading=!0;const B=G=>{const X=$,J=X.root?null:X;X.loading=!1,X.loaded=!0,X.childrenData=X.childrenData||[],G&&u?.appendNodes(G,J),G&&R?.(G),$.level===0&&(d.value=!0)},q=()=>{$.loading=!1,$.loaded=!1,$.level===0&&(c.value=!0)};D.lazyLoad($,B,q)},b=($,R)=>{var D;const{level:B}=$,q=h.value.slice(0,B);let G;$.isLeaf?G=$.pathNodes[B-2]:(G=$,q.push($.children)),((D=v.value)==null?void 0:D.uid)!==G?.uid&&(v.value=$,h.value=q,!R&&n("expand-change",$?.pathValues||[]))},x=($,R,D=!0)=>{const{checkStrictly:B,multiple:q}=l.value,G=g.value[0];r=!0,!q&&G?.doCheck(!1),$.doCheck(R),j(),D&&!q&&!B&&n("close"),!D&&!q&&_($)},_=$=>{$&&($=$.parent,_($),$&&b($))},z=$=>u?.getFlattedNodes($),I=$=>{var R;return(R=z($))==null?void 0:R.filter(({checked:D})=>D!==!1)},P=()=>{g.value.forEach($=>$.doCheck(!1)),j(),h.value=h.value.slice(0,1),v.value=void 0,n("expand-change",[])},j=()=>{var $;const{checkStrictly:R,multiple:D}=l.value,B=g.value,q=I(!R),G=ZF(B,q),X=G.map(J=>J.valueByOption);g.value=G,p.value=D?X:($=X[0])!=null?$:null},O=($=!1,R=!1)=>{const{modelValue:D}=o,{lazy:B,multiple:q,checkStrictly:G}=l.value,X=!G;if(!(!c.value||r||!R&&Vn(D,p.value)))if(B&&!$){const ue=uC(K4(Uo(D))).map(ae=>u?.getNodeByValue(ae)).filter(ae=>!!ae&&!ae.loaded&&!ae.loading);ue.length?ue.forEach(ae=>{C(ae,()=>O(!1,R))}):O(!0,R)}else{const J=q?Uo(D):[D],ue=uC(J.map(ae=>u?.getNodeByValue(ae,X)));A(ue,R),p.value=kh(D??void 0)}},A=($,R=!0)=>{const{checkStrictly:D}=l.value,B=g.value,q=$.filter(J=>!!J&&(D||J.isLeaf)),G=u?.getSameNode(v.value),X=R&&G||q[0];X?X.pathNodes.forEach(J=>b(J,!0)):v.value=void 0,B.forEach(J=>J.doCheck(!1)),an(q).forEach(J=>J.doCheck(!0)),g.value=q,Qe(K)},K=()=>{nn&&f.value.forEach($=>{const R=$?.$el;if(R){const D=R.querySelector(`.${a.namespace.value}-scrollbar__wrap`),B=R.querySelector(`.${a.b("node")}.${a.is("active")}:last-child`)||R.querySelector(`.${a.b("node")}.in-active-path`);eb(D,B)}})},Y=$=>{const R=$.target,D=kn($);switch(D){case We.up:case We.down:{$.preventDefault();const B=D===We.up?-1:1;Pf(G2(R,B,`.${a.b("node")}[tabindex="-1"]`));break}case We.left:{$.preventDefault();const B=f.value[SC(R)-1],q=B?.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);Pf(q);break}case We.right:{$.preventDefault();const B=f.value[SC(R)+1],q=B?.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);Pf(q);break}case We.enter:case We.numpadEnter:XF(R);break}};Ut(Np,an({config:l,expandingNode:v,checkedNodes:g,isHoverMenu:m,initialLoaded:c,renderLabelFn:y,lazyLoad:C,expandNode:b,handleCheckChange:x})),ke(l,($,R)=>{Vn($,R)||k()},{immediate:!0}),ke(()=>o.options,k,{deep:!0}),ke(()=>o.modelValue,()=>{r=!1,O()},{deep:!0}),ke(()=>p.value,$=>{Vn($,o.modelValue)||(n(St,$),n(Wt,$))});const Z=()=>{d.value||k()};return Sy(()=>f.value=[]),Bt(()=>!lr(o.modelValue)&&O()),t({menuList:f,menus:h,checkedNodes:g,handleKeyDown:Y,handleCheckChange:x,getFlattedNodes:z,getCheckedNodes:I,clearCheckedNodes:P,calculateCheckedValue:j,scrollToExpandingNode:K,loadLazyRootNodes:Z}),($,R)=>(T(),F("div",{class:M([s(a).b("panel"),s(a).is("bordered",$.border)]),onKeydown:Y},[(T(!0),F(tt,null,Dt(h.value,(D,B)=>(T(),ge(qF,{key:B,ref_for:!0,ref:q=>f.value[B]=q,index:B,nodes:[...D]},{empty:ne(()=>[he($.$slots,"empty")]),_:2},1032,["index","nodes"]))),128))],34))}});var eq=Ue(JF,[["__file","index.vue"]]);const oz=Pt(eq),wl=qe({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Fa},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tq={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},nq=te({name:"ElTag"}),oq=te({...nq,props:wl,emits:tq,setup(e,{emit:t}){const n=e,o=ro(),r=Ie("tag"),a=S(()=>{const{type:c,hit:d,effect:f,closable:p,round:h}=n;return[r.b(),r.is("closable",p),r.m(c||"primary"),r.m(o.value),r.m(f),r.is("hit",d),r.is("round",h)]}),l=c=>{t("close",c)},i=c=>{t("click",c)},u=c=>{var d,f,p;(p=(f=(d=c?.component)==null?void 0:d.subTree)==null?void 0:f.component)!=null&&p.bum&&(c.component.subTree.component.bum=null)};return(c,d)=>c.disableTransitions?(T(),F("span",{key:0,class:M(s(a)),style:ht({backgroundColor:c.color}),onClick:i},[H("span",{class:M(s(r).e("content"))},[he(c.$slots,"default")],2),c.closable?(T(),ge(s(lt),{key:0,class:M(s(r).e("close")),onClick:wt(l,["stop"])},{default:ne(()=>[Q(s(Kr))]),_:1},8,["class","onClick"])):fe("v-if",!0)],6)):(T(),ge(So,{key:1,name:`${s(r).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:ne(()=>[H("span",{class:M(s(a)),style:ht({backgroundColor:c.color}),onClick:i},[H("span",{class:M(s(r).e("content"))},[he(c.$slots,"default")],2),c.closable?(T(),ge(s(lt),{key:0,class:M(s(r).e("close")),onClick:wt(l,["stop"])},{default:ne(()=>[Q(s(Kr))]),_:1},8,["class","onClick"])):fe("v-if",!0)],6)]),_:3},8,["name"]))}});var rq=Ue(oq,[["__file","tag.vue"]]);const fl=Pt(rq),aq=qe({...nz,size:io,placeholder:String,disabled:Boolean,clearable:Boolean,clearIcon:{type:hn,default:Ol},filterable:Boolean,filterMethod:{type:se(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:se(Function),default:()=>!0},placement:{type:se(String),values:Pl,default:"bottom-start"},fallbackPlacements:{type:se(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:mn.popperClass,popperStyle:mn.popperStyle,teleported:mn.teleported,effect:{type:se(String),default:"light"},tagType:{...wl.type,default:"info"},tagEffect:{...wl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...si}),_C=e=>!0,lq={[St]:_C,[Wt]:_C,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>fn(e),expandChange:e=>!!e,removeTag:e=>!!e},Kl=new Map;if(nn){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of Kl.values())for(const{documentHandler:o}of n)o(t,e);e=void 0}})}function xC(e,t){let n=[];return Be(t.arg)?n=t.arg:zr(t.arg)&&n.push(t.arg),function(o,r){const a=t.instance.popperRef,l=o.target,i=r?.target,u=!t||!t.instance,c=!l||!i,d=e.contains(l)||e.contains(i),f=e===l,p=n.length&&n.some(v=>v?.contains(l))||n.length&&n.includes(i),h=a&&(a.contains(l)||a.contains(i));u||c||d||f||p||h||t.value(o,r)}}const Cl={beforeMount(e,t){Kl.has(e)||Kl.set(e,[]),Kl.get(e).push({documentHandler:xC(e,t),bindingFn:t.value})},updated(e,t){Kl.has(e)||Kl.set(e,[]);const n=Kl.get(e),o=n.findIndex(a=>a.bindingFn===t.oldValue),r={documentHandler:xC(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted(e){Kl.delete(e)}},sq=te({name:"ElCascader"}),iq=te({...sq,props:aq,emits:lq,setup(e,{expose:t,emit:n}){const o=e,r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:xe})=>{const{modifiersData:dt,placement:Fe}=xe;["right","left","bottom","top"].includes(Fe)||dt.arrow&&(dt.arrow.x=35)},requires:["arrow"]}]},a=El();let l=0,i=0;const u=Ie("cascader"),c=Ie("input"),{t:d}=Qt(),{formItem:f}=xo(),p=go(),{valueOnClear:h}=pd(o),{isComposing:v,handleComposition:g}=yd({afterComposition(xe){var dt;const Fe=(dt=xe.target)==null?void 0:dt.value;ye(Fe)}}),m=L(),y=L(),k=L(),C=L(),b=L(),x=L(),_=L(!1),z=L(!1),I=L(!1),P=L(""),j=L(""),O=L([]),A=L([]),K=S(()=>o.props.multiple?o.collapseTags?O.value.slice(0,o.maxCollapseTags):O.value:[]),Y=S(()=>o.props.multiple?o.collapseTags?O.value.slice(o.maxCollapseTags):[]:[]),Z=S(()=>a.style),$=S(()=>{var xe;return(xe=o.placeholder)!=null?xe:d("el.cascader.placeholder")}),R=S(()=>j.value||O.value.length>0||v.value?"":$.value),D=ro(),B=S(()=>D.value==="small"?"small":"default"),q=S(()=>!!o.props.multiple),G=S(()=>!o.filterable||q.value),X=S(()=>q.value?j.value:P.value),J=S(()=>{var xe;return((xe=b.value)==null?void 0:xe.checkedNodes)||[]}),{wrapperRef:ue,isFocused:ae,handleBlur:ve}=$l(k,{disabled:p,beforeBlur(xe){var dt,Fe;return((dt=m.value)==null?void 0:dt.isFocusInsideContent(xe))||((Fe=y.value)==null?void 0:Fe.isFocusInsideContent(xe))},afterBlur(){var xe;o.validateEvent&&((xe=f?.validate)==null||xe.call(f,"blur").catch(dt=>Kt(dt)))}}),re=S(()=>!o.clearable||p.value||I.value||!z.value&&!ae.value?!1:!!J.value.length),ce=S(()=>{const{showAllLevels:xe,separator:dt}=o,Fe=J.value;return Fe.length?q.value?"":Fe[0].calcText(xe,dt):""}),oe=S(()=>f?.validateState||""),ie=S({get(){return kh(o.modelValue)},set(xe){const dt=xe??h.value;n(St,dt),n(Wt,dt),o.validateEvent&&f?.validate("change").catch(Fe=>Kt(Fe))}}),de=S(()=>[u.b(),u.m(D.value),u.is("disabled",p.value),a.class]),U=S(()=>[c.e("icon"),"icon-arrow-down",u.is("reverse",_.value)]),le=S(()=>u.is("focus",ae.value)),me=S(()=>{var xe,dt;return(dt=(xe=m.value)==null?void 0:xe.popperRef)==null?void 0:dt.contentRef}),_e=xe=>{if(ae.value){const dt=new FocusEvent("blur",xe);ve(dt)}Ce(!1)},Ce=xe=>{var dt,Fe,en;p.value||(xe=xe??!_.value,xe!==_.value&&(_.value=xe,(Fe=(dt=k.value)==null?void 0:dt.input)==null||Fe.setAttribute("aria-expanded",`${xe}`),xe?(we(),Qe((en=b.value)==null?void 0:en.scrollToExpandingNode)):o.filterable&&on(),n("visibleChange",xe)))},we=()=>{Qe(()=>{var xe;(xe=m.value)==null||xe.updatePopper()})},$e=()=>{I.value=!1},Re=xe=>{const{showAllLevels:dt,separator:Fe}=o;return{node:xe,key:xe.uid,text:xe.calcText(dt,Fe),hitState:!1,closable:!p.value&&!xe.isDisabled}},Ke=xe=>{var dt;const Fe=xe.node;Fe.doCheck(!1),(dt=b.value)==null||dt.calculateCheckedValue(),n("removeTag",Fe.valueByOption)},De=()=>{switch(o.showCheckedStrategy){case"child":return J.value;case"parent":{const xe=Ne(!1),dt=xe.map(en=>en.value);return xe.filter(en=>!en.parent||!dt.includes(en.parent.value))}default:return[]}},at=()=>{if(!q.value)return;const xe=De(),dt=[];xe.forEach(Fe=>dt.push(Re(Fe))),O.value=dt},Ze=()=>{var xe,dt;const{filterMethod:Fe,showAllLevels:en,separator:Fn}=o,lo=(dt=(xe=b.value)==null?void 0:xe.getFlattedNodes(!o.props.checkStrictly))==null?void 0:dt.filter(Jn=>Jn.isDisabled?!1:(Jn.calcText(en,Fn),Fe(Jn,X.value)));q.value&&O.value.forEach(Jn=>{Jn.hitState=!1}),I.value=!0,A.value=lo,we()},ot=()=>{var xe;let dt;I.value&&x.value?dt=x.value.$el.querySelector(`.${u.e("suggestion-item")}`):dt=(xe=b.value)==null?void 0:xe.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),dt&&(dt.focus(),!I.value&&dt.click())},gt=()=>{var xe,dt;const Fe=(xe=k.value)==null?void 0:xe.input,en=C.value,Fn=(dt=x.value)==null?void 0:dt.$el;if(!(!nn||!Fe)){if(Fn){const lo=Fn.querySelector(`.${u.e("suggestion-list")}`);lo.style.minWidth=`${Fe.offsetWidth}px`}if(en){const{offsetHeight:lo}=en,Jn=O.value.length>0?`${Math.max(lo,l)-2}px`:`${l}px`;Fe.style.height=Jn,we()}}},Ne=xe=>{var dt;return(dt=b.value)==null?void 0:dt.getCheckedNodes(xe)},vt=xe=>{we(),n("expandChange",xe)},_t=xe=>{if(v.value)return;switch(kn(xe)){case We.enter:case We.numpadEnter:Ce();break;case We.down:Ce(!0),Qe(ot),xe.preventDefault();break;case We.esc:_.value===!0&&(xe.preventDefault(),xe.stopPropagation(),Ce(!1));break;case We.tab:Ce(!1);break}},Gt=()=>{var xe;(xe=b.value)==null||xe.clearCheckedNodes(),!_.value&&o.filterable&&on(),Ce(!1),n("clear")},on=()=>{const{value:xe}=ce;P.value=xe,j.value=xe},yt=xe=>{var dt,Fe;const{checked:en}=xe;q.value?(dt=b.value)==null||dt.handleCheckChange(xe,!en,!1):(!en&&((Fe=b.value)==null||Fe.handleCheckChange(xe,!0,!1)),Ce(!1))},Ot=xe=>{const dt=xe.target,Fe=kn(xe);switch(Fe){case We.up:case We.down:{xe.preventDefault();const en=Fe===We.up?-1:1;Pf(G2(dt,en,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case We.enter:case We.numpadEnter:dt.click();break}},Oe=()=>{const xe=O.value[O.value.length-1];i=j.value?0:i+1,!(!xe||!i||o.collapseTags&&O.value.length>1)&&(xe.hitState?Ke(xe):xe.hitState=!0)},ut=S(()=>o.debounce),pt=fd(()=>{const{value:xe}=X;if(!xe)return;const dt=o.beforeFilter(xe);Hs(dt)?dt.then(Ze).catch(()=>{}):dt!==!1?Ze():$e()},ut),ye=(xe,dt)=>{!_.value&&Ce(!0),!dt?.isComposing&&(xe?pt():$e())},ct=xe=>Number.parseFloat(ED(c.cssVarName("input-height"),xe).value)-2;return ke(I,we),ke([J,p,()=>o.collapseTags,()=>o.maxCollapseTags],at),ke(O,()=>{Qe(()=>gt())}),ke(D,async()=>{await Qe();const xe=k.value.input;l=ct(xe)||l,gt()}),ke(ce,on,{immediate:!0}),ke(()=>_.value,xe=>{var dt;xe&&o.props.lazy&&o.props.lazyLoad&&((dt=b.value)==null||dt.loadLazyRootNodes())}),Bt(()=>{const xe=k.value.input,dt=ct(xe);l=xe.offsetHeight||dt,In(xe,gt)}),t({getCheckedNodes:Ne,cascaderPanelRef:b,togglePopperVisible:Ce,contentRef:me,presentText:ce}),(xe,dt)=>(T(),ge(s(Oo),{ref_key:"tooltipRef",ref:m,visible:_.value,teleported:xe.teleported,"popper-class":[s(u).e("dropdown"),xe.popperClass],"popper-style":xe.popperStyle,"popper-options":r,"fallback-placements":xe.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:xe.placement,transition:`${s(u).namespace.value}-zoom-in-top`,effect:xe.effect,pure:"",persistent:xe.persistent,onHide:$e},{default:ne(()=>[Nt((T(),F("div",{ref_key:"wrapperRef",ref:ue,class:M(s(de)),style:ht(s(Z)),onClick:()=>Ce(s(G)?void 0:!0),onKeydown:_t,onMouseenter:Fe=>z.value=!0,onMouseleave:Fe=>z.value=!1},[Q(s(Yo),{ref_key:"inputRef",ref:k,modelValue:P.value,"onUpdate:modelValue":Fe=>P.value=Fe,placeholder:s(R),readonly:s(G),disabled:s(p),"validate-event":!1,size:s(D),class:M(s(le)),tabindex:s(q)&&xe.filterable&&!s(p)?-1:void 0,onCompositionstart:s(g),onCompositionupdate:s(g),onCompositionend:s(g),onInput:ye},yr({suffix:ne(()=>[s(re)?(T(),ge(s(lt),{key:"clear",class:M([s(c).e("icon"),"icon-circle-close"]),onClick:wt(Gt,["stop"])},{default:ne(()=>[(T(),ge(Rt(xe.clearIcon)))]),_:1},8,["class","onClick"])):(T(),ge(s(lt),{key:"arrow-down",class:M(s(U)),onClick:wt(Fe=>Ce(),["stop"])},{default:ne(()=>[Q(s(qa))]),_:1},8,["class","onClick"]))]),_:2},[xe.$slots.prefix?{name:"prefix",fn:ne(()=>[he(xe.$slots,"prefix")])}:void 0]),1032,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),s(q)?(T(),F("div",{key:0,ref_key:"tagWrapper",ref:C,class:M([s(u).e("tags"),s(u).is("validate",!!s(oe))])},[he(xe.$slots,"tag",{data:O.value,deleteTag:Ke},()=>[(T(!0),F(tt,null,Dt(s(K),Fe=>(T(),ge(s(fl),{key:Fe.key,type:xe.tagType,size:s(B),effect:xe.tagEffect,hit:Fe.hitState,closable:Fe.closable,"disable-transitions":"",onClose:en=>Ke(Fe)},{default:ne(()=>[H("span",null,Pe(Fe.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),xe.collapseTags&&O.value.length>xe.maxCollapseTags?(T(),ge(s(Oo),{key:0,ref_key:"tagTooltipRef",ref:y,disabled:_.value||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":xe.popperClass,"popper-style":xe.popperStyle,effect:xe.effect,persistent:xe.persistent},{default:ne(()=>[Q(s(fl),{closable:!1,size:s(B),type:xe.tagType,effect:xe.tagEffect,"disable-transitions":""},{default:ne(()=>[H("span",{class:M(s(u).e("tags-text"))}," + "+Pe(O.value.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:ne(()=>[Q(s(sa),{"max-height":xe.maxCollapseTagsTooltipHeight},{default:ne(()=>[H("div",{class:M(s(u).e("collapse-tags"))},[(T(!0),F(tt,null,Dt(s(Y),(Fe,en)=>(T(),F("div",{key:en,class:M(s(u).e("collapse-tag"))},[(T(),ge(s(fl),{key:Fe.key,class:"in-tooltip",type:xe.tagType,size:s(B),effect:xe.tagEffect,hit:Fe.hitState,closable:Fe.closable,"disable-transitions":"",onClose:Fn=>Ke(Fe)},{default:ne(()=>[H("span",null,Pe(Fe.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):fe("v-if",!0),xe.filterable&&!s(p)?Nt((T(),F("input",{key:1,"onUpdate:modelValue":Fe=>j.value=Fe,type:"text",class:M(s(u).e("search-input")),placeholder:s(ce)?"":s($),onInput:Fe=>ye(j.value,Fe),onClick:wt(Fe=>Ce(!0),["stop"]),onKeydown:Ln(Oe,["delete"]),onCompositionstart:s(g),onCompositionupdate:s(g),onCompositionend:s(g)},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[vp,j.value]]):fe("v-if",!0)],2)):fe("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[s(Cl),_e,s(me)]])]),content:ne(()=>[xe.$slots.header?(T(),F("div",{key:0,class:M(s(u).e("header")),onClick:wt(()=>{},["stop"])},[he(xe.$slots,"header")],10,["onClick"])):fe("v-if",!0),Nt(Q(s(oz),{ref_key:"cascaderPanelRef",ref:b,modelValue:s(ie),"onUpdate:modelValue":Fe=>Cn(ie)?ie.value=Fe:null,options:xe.options,props:o.props,border:!1,"render-label":xe.$slots.default,onExpandChange:vt,onClose:Fe=>xe.$nextTick(()=>Ce(!1))},{empty:ne(()=>[he(xe.$slots,"empty")]),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[tn,!I.value]]),xe.filterable?Nt((T(),ge(s(sa),{key:1,ref_key:"suggestionPanel",ref:x,tag:"ul",class:M(s(u).e("suggestion-panel")),"view-class":s(u).e("suggestion-list"),onKeydown:Ot},{default:ne(()=>[A.value.length?(T(!0),F(tt,{key:0},Dt(A.value,Fe=>(T(),F("li",{key:Fe.uid,class:M([s(u).e("suggestion-item"),s(u).is("checked",Fe.checked)]),tabindex:-1,onClick:en=>yt(Fe)},[he(xe.$slots,"suggestion-item",{item:Fe},()=>[H("span",null,Pe(Fe.text),1),Fe.checked?(T(),ge(s(lt),{key:0},{default:ne(()=>[Q(s(gd))]),_:1})):fe("v-if",!0)])],10,["onClick"]))),128)):he(xe.$slots,"empty",{key:1},()=>[H("li",{class:M(s(u).e("empty-text"))},Pe(s(d)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[tn,I.value]]):fe("v-if",!0),xe.$slots.footer?(T(),F("div",{key:2,class:M(s(u).e("footer")),onClick:wt(()=>{},["stop"])},[he(xe.$slots,"footer")],10,["onClick"])):fe("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});var uq=Ue(iq,[["__file","cascader.vue"]]);const cq=Pt(uq),dq=qe({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),fq={"update:checked":e=>fn(e),[Wt]:e=>fn(e)},hq=te({name:"ElCheckTag"}),pq=te({...hq,props:dq,emits:fq,setup(e,{emit:t}){const n=e,o=Ie("check-tag"),r=S(()=>[o.b(),o.is("checked",n.checked),o.is("disabled",n.disabled),o.m(n.type||"primary")]),a=()=>{if(n.disabled)return;const l=!n.checked;t(Wt,l),t("update:checked",l)};return(l,i)=>(T(),F("span",{class:M(s(r)),onClick:a},[he(l.$slots,"default")],2))}});var gq=Ue(pq,[["__file","check-tag.vue"]]);const vq=Pt(gq),mq=qe({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:se([Number,Object]),default:()=>jn({})},sm:{type:se([Number,Object]),default:()=>jn({})},md:{type:se([Number,Object]),default:()=>jn({})},lg:{type:se([Number,Object]),default:()=>jn({})},xl:{type:se([Number,Object]),default:()=>jn({})}}),rz=Symbol("rowContextKey"),yq=te({name:"ElCol"}),bq=te({...yq,props:mq,setup(e){const t=e,{gutter:n}=et(rz,{gutter:S(()=>0)}),o=Ie("col"),r=S(()=>{const l={};return n.value&&(l.paddingLeft=l.paddingRight=`${n.value/2}px`),l}),a=S(()=>{const l=[];return["span","offset","pull","push"].forEach(c=>{const d=t[c];ft(d)&&(c==="span"?l.push(o.b(`${t[c]}`)):d>0&&l.push(o.b(`${c}-${t[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{ft(t[c])?l.push(o.b(`${c}-${t[c]}`)):At(t[c])&&Object.entries(t[c]).forEach(([d,f])=>{l.push(d!=="span"?o.b(`${c}-${d}-${f}`):o.b(`${c}-${f}`))})}),n.value&&l.push(o.is("guttered")),[o.b(),l]});return(l,i)=>(T(),ge(Rt(l.tag),{class:M(s(a)),style:ht(s(r))},{default:ne(()=>[he(l.$slots,"default")]),_:3},8,["class","style"]))}});var wq=Ue(bq,[["__file","col.vue"]]);const Cq=Pt(wq),EC=e=>ft(e)||rt(e)||Be(e),kq=qe({accordion:Boolean,modelValue:{type:se([Array,String,Number]),default:()=>jn([])},expandIconPosition:{type:se([String]),default:"right"},beforeCollapse:{type:se(Function)}}),Sq={[St]:EC,[Wt]:EC},az=Symbol("collapseContextKey"),zC="ElCollapse",_q=(e,t)=>{const n=L(bo(e.modelValue)),o=l=>{n.value=l;const i=e.accordion?n.value[0]:n.value;t(St,i),t(Wt,i)},r=l=>{if(e.accordion)o([n.value[0]===l?"":l]);else{const i=[...n.value],u=i.indexOf(l);u>-1?i.splice(u,1):i.push(l),o(i)}},a=async l=>{const{beforeCollapse:i}=e;if(!i){r(l);return}const u=i(l);[Hs(u),fn(u)].includes(!0)||Qn(zC,"beforeCollapse must return type `Promise<boolean>` or `boolean`"),Hs(u)?u.then(d=>{d!==!1&&r(l)}).catch(d=>{Kt(zC,`some error occurred: ${d}`)}):u&&r(l)};return ke(()=>e.modelValue,()=>n.value=bo(e.modelValue),{deep:!0}),Ut(az,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:o}},xq=e=>{const t=Ie("collapse");return{rootKls:S(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},Eq=te({name:"ElCollapse"}),zq=te({...Eq,props:kq,emits:Sq,setup(e,{expose:t,emit:n}){const o=e,{activeNames:r,setActiveNames:a}=_q(o,n),{rootKls:l}=xq(o);return t({activeNames:r,setActiveNames:a}),(i,u)=>(T(),F("div",{class:M(s(l))},[he(i.$slots,"default")],2))}});var Tq=Ue(zq,[["__file","collapse.vue"]]);const Oq=te({name:"ElCollapseTransition"}),$q=te({...Oq,setup(e){const t=Ie("collapse-transition"),n=r=>{r.style.maxHeight="",r.style.overflow=r.dataset.oldOverflow,r.style.paddingTop=r.dataset.oldPaddingTop,r.style.paddingBottom=r.dataset.oldPaddingBottom},o={beforeEnter(r){r.dataset||(r.dataset={}),r.dataset.oldPaddingTop=r.style.paddingTop,r.dataset.oldPaddingBottom=r.style.paddingBottom,r.style.height&&(r.dataset.elExistsHeight=r.style.height),r.style.maxHeight=0,r.style.paddingTop=0,r.style.paddingBottom=0},enter(r){requestAnimationFrame(()=>{r.dataset.oldOverflow=r.style.overflow,r.dataset.elExistsHeight?r.style.maxHeight=r.dataset.elExistsHeight:r.scrollHeight!==0?r.style.maxHeight=`${r.scrollHeight}px`:r.style.maxHeight=0,r.style.paddingTop=r.dataset.oldPaddingTop,r.style.paddingBottom=r.dataset.oldPaddingBottom,r.style.overflow="hidden"})},afterEnter(r){r.style.maxHeight="",r.style.overflow=r.dataset.oldOverflow},enterCancelled(r){n(r)},beforeLeave(r){r.dataset||(r.dataset={}),r.dataset.oldPaddingTop=r.style.paddingTop,r.dataset.oldPaddingBottom=r.style.paddingBottom,r.dataset.oldOverflow=r.style.overflow,r.style.maxHeight=`${r.scrollHeight}px`,r.style.overflow="hidden"},leave(r){r.scrollHeight!==0&&(r.style.maxHeight=0,r.style.paddingTop=0,r.style.paddingBottom=0)},afterLeave(r){n(r)},leaveCancelled(r){n(r)}};return(r,a)=>(T(),ge(So,Vt({name:s(t).b()},XP(o)),{default:ne(()=>[he(r.$slots,"default")]),_:3},16,["name"]))}});var Pq=Ue($q,[["__file","collapse-transition.vue"]]);const Rp=Pt(Pq),Iq=qe({title:{type:String,default:""},name:{type:se([String,Number]),default:void 0},icon:{type:hn,default:Xo},disabled:Boolean}),Mq=e=>{const t=et(az),{namespace:n}=Ie("collapse"),o=L(!1),r=L(!1),a=ab(),l=S(()=>a.current++),i=S(()=>{var p;return(p=e.name)!=null?p:`${n.value}-id-${a.prefix}-${s(l)}`}),u=S(()=>t?.activeNames.value.includes(s(i)));return{focusing:o,id:l,isActive:u,handleFocus:()=>{setTimeout(()=>{r.value?r.value=!1:o.value=!0},50)},handleHeaderClick:p=>{if(e.disabled)return;const h=p.target;h?.closest("input, textarea, select")||(t?.handleItemClick(s(i)),o.value=!1,r.value=!0)},handleEnterClick:p=>{const h=p.target;h?.closest("input, textarea, select")||(p.preventDefault(),t?.handleItemClick(s(i)))}}},Aq=(e,{focusing:t,isActive:n,id:o})=>{const r=Ie("collapse"),a=S(()=>[r.b("item"),r.is("active",s(n)),r.is("disabled",e.disabled)]),l=S(()=>[r.be("item","header"),r.is("active",s(n)),{focusing:s(t)&&!e.disabled}]),i=S(()=>[r.be("item","arrow"),r.is("active",s(n))]),u=S(()=>[r.be("item","title")]),c=S(()=>r.be("item","wrap")),d=S(()=>r.be("item","content")),f=S(()=>r.b(`content-${s(o)}`)),p=S(()=>r.b(`head-${s(o)}`));return{itemTitleKls:u,arrowKls:i,headKls:l,rootKls:a,itemWrapperKls:c,itemContentKls:d,scopedContentId:f,scopedHeadId:p}},jq=te({name:"ElCollapseItem"}),Nq=te({...jq,props:Iq,setup(e,{expose:t}){const n=e,{focusing:o,id:r,isActive:a,handleFocus:l,handleHeaderClick:i,handleEnterClick:u}=Mq(n),{arrowKls:c,headKls:d,rootKls:f,itemTitleKls:p,itemWrapperKls:h,itemContentKls:v,scopedContentId:g,scopedHeadId:m}=Aq(n,{focusing:o,isActive:a,id:r});return t({isActive:a}),(y,k)=>(T(),F("div",{class:M(s(f))},[H("div",{id:s(m),class:M(s(d)),"aria-expanded":s(a),"aria-controls":s(g),"aria-describedby":s(g),tabindex:y.disabled?void 0:0,"aria-disabled":y.disabled,role:"button",onClick:s(i),onKeydown:Ln(wt(s(u),["stop"]),["space","enter"]),onFocus:s(l),onBlur:C=>o.value=!1},[H("span",{class:M(s(p))},[he(y.$slots,"title",{isActive:s(a)},()=>[Tt(Pe(y.title),1)])],2),he(y.$slots,"icon",{isActive:s(a)},()=>[Q(s(lt),{class:M(s(c))},{default:ne(()=>[(T(),ge(Rt(y.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled","onClick","onKeydown","onFocus","onBlur"]),Q(s(Rp),null,{default:ne(()=>[Nt(H("div",{id:s(g),role:"region",class:M(s(h)),"aria-hidden":!s(a),"aria-labelledby":s(m)},[H("div",{class:M(s(v))},[he(y.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[tn,s(a)]])]),_:3})],2))}});var lz=Ue(Nq,[["__file","collapse-item.vue"]]);const Rq=Pt(Tq,{CollapseItem:lz}),Dq=Rn(lz),sz=qe({color:{type:se(Object),required:!0},vertical:Boolean,disabled:Boolean}),Lq=sz;let Qg=!1;function om(e,t){if(!nn)return;const n=function(a){var l;(l=t.drag)==null||l.call(t,a)},o=function(a){var l;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",o),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",o),document.onselectstart=null,document.ondragstart=null,Qg=!1,(l=t.end)==null||l.call(t,a)},r=function(a){var l;Qg||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",o),document.addEventListener("touchmove",n),document.addEventListener("touchend",o),Qg=!0,(l=t.start)==null||l.call(t,a))};e.addEventListener("mousedown",r),e.addEventListener("touchstart",r,{passive:!1})}const TC=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},rm=(e,t)=>Math.abs(TC(e)-TC(t)),iz=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},uz=(e,{key:t,minValue:n,maxValue:o})=>{const r=Lt(),a=xn(),l=xn(),i=S(()=>e.color.get(t));function u(p){var h;if(e.disabled)return;p.target!==a.value&&c(p),(h=a.value)==null||h.focus()}function c(p){if(!l.value||!a.value||e.disabled)return;const v=r.vnode.el.getBoundingClientRect(),{clientX:g,clientY:m}=iz(p);let y;if(e.vertical){let k=m-v.top;k=Math.max(a.value.offsetHeight/2,k),k=Math.min(k,v.height-a.value.offsetHeight/2),y=Math.round((k-a.value.offsetHeight/2)/(v.height-a.value.offsetHeight)*o)}else{let k=g-v.left;k=Math.max(a.value.offsetWidth/2,k),k=Math.min(k,v.width-a.value.offsetWidth/2),y=Math.round((k-a.value.offsetWidth/2)/(v.width-a.value.offsetWidth)*o)}e.color.set(t,y)}function d(p){if(e.disabled)return;const{shiftKey:h}=p,v=kn(p),g=h?10:1,m=t==="hue"?-1:1;let y=!0;switch(v){case We.left:case We.down:f(-g*m);break;case We.right:case We.up:f(g*m);break;case We.home:e.color.set(t,t==="hue"?o:n);break;case We.end:e.color.set(t,t==="hue"?n:o);break;case We.pageDown:f(-4*m);break;case We.pageUp:f(4*m);break;default:y=!1;break}y&&p.preventDefault()}function f(p){let h=i.value+p;h=h<n?n:h>o?o:h,e.color.set(t,h)}return{thumb:a,bar:l,currentValue:i,handleDrag:c,handleClick:u,handleKeydown:d}},cz=(e,{namespace:t,maxValue:n,bar:o,thumb:r,currentValue:a,handleDrag:l,getBackground:i})=>{const u=Lt(),c=Ie(t),d=L(0),f=L(0),p=L();function h(){if(!r.value||e.vertical)return 0;const x=u.vnode.el,_=a.value;return x?Math.round(_*(x.offsetWidth-r.value.offsetWidth/2)/n):0}function v(){if(!r.value)return 0;const x=u.vnode.el;if(!e.vertical)return 0;const _=a.value;return x?Math.round(_*(x.offsetHeight-r.value.offsetHeight/2)/n):0}function g(){d.value=h(),f.value=v(),p.value=i?.()}Bt(()=>{if(!o.value||!r.value)return;const x={drag:_=>{l(_)},end:_=>{l(_)}};om(o.value,x),om(r.value,x),g()}),ke(a,()=>g()),ke(()=>e.color.value,()=>g());const m=S(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),y=S(()=>c.e("bar")),k=S(()=>c.e("thumb")),C=S(()=>({background:p.value})),b=S(()=>({left:Nn(d.value),top:Nn(f.value)}));return{rootKls:m,barKls:y,barStyle:C,thumbKls:k,thumbStyle:b,thumbLeft:d,thumbTop:f,update:g}},OC=0,Jg=100,Bq=te({name:"ElColorAlphaSlider"}),Vq=te({...Bq,props:sz,setup(e,{expose:t}){const n=e,{currentValue:o,bar:r,thumb:a,handleDrag:l,handleClick:i,handleKeydown:u}=uz(n,{key:"alpha",minValue:OC,maxValue:Jg}),{rootKls:c,barKls:d,barStyle:f,thumbKls:p,thumbStyle:h,update:v}=cz(n,{namespace:"color-alpha-slider",maxValue:Jg,currentValue:o,bar:r,thumb:a,handleDrag:l,getBackground:k}),{t:g}=Qt(),m=S(()=>g("el.colorpicker.alphaLabel")),y=S(()=>g("el.colorpicker.alphaDescription",{alpha:o.value,color:n.color.value}));function k(){if(n.color&&n.color.value){const{r:C,g:b,b:x}=n.color.toRgb();return`linear-gradient(to right, rgba(${C}, ${b}, ${x}, 0) 0%, rgba(${C}, ${b}, ${x}, 1) 100%)`}return""}return t({update:v,bar:r,thumb:a}),(C,b)=>(T(),F("div",{class:M(s(c))},[H("div",{ref_key:"bar",ref:r,class:M(s(d)),style:ht(s(f)),onClick:s(i)},null,14,["onClick"]),H("div",{ref_key:"thumb",ref:a,class:M(s(p)),style:ht(s(h)),"aria-label":s(m),"aria-valuenow":s(o),"aria-valuetext":s(y),"aria-orientation":C.vertical?"vertical":"horizontal","aria-valuemin":OC,"aria-valuemax":Jg,role:"slider",tabindex:"0",onKeydown:s(u)},null,46,["aria-label","aria-valuenow","aria-valuetext","aria-orientation","onKeydown"])],2))}});var Fq=Ue(Vq,[["__file","alpha-slider.vue"]]);const $C=0,ev=360,qq=te({name:"ElColorHueSlider"}),Kq=te({...qq,props:Lq,setup(e,{expose:t}){const n=e,{currentValue:o,bar:r,thumb:a,handleDrag:l,handleClick:i,handleKeydown:u}=uz(n,{key:"hue",minValue:$C,maxValue:ev}),{rootKls:c,barKls:d,thumbKls:f,thumbStyle:p,thumbTop:h,update:v}=cz(n,{namespace:"color-hue-slider",maxValue:ev,currentValue:o,bar:r,thumb:a,handleDrag:l}),{t:g}=Qt(),m=S(()=>g("el.colorpicker.hueLabel")),y=S(()=>g("el.colorpicker.hueDescription",{hue:o.value,color:n.color.value}));return t({bar:r,thumb:a,thumbTop:h,update:v}),(k,C)=>(T(),F("div",{class:M(s(c))},[H("div",{ref_key:"bar",ref:r,class:M(s(d)),onClick:s(i)},null,10,["onClick"]),H("div",{ref_key:"thumb",ref:a,class:M(s(f)),style:ht(s(p)),"aria-label":s(m),"aria-valuenow":s(o),"aria-valuetext":s(y),"aria-orientation":k.vertical?"vertical":"horizontal","aria-valuemin":$C,"aria-valuemax":ev,role:"slider",tabindex:"0",onKeydown:s(u)},null,46,["aria-label","aria-valuenow","aria-valuetext","aria-orientation","onKeydown"])],2))}});var Hq=Ue(Kq,[["__file","hue-slider.vue"]]);const Wq=qe({colors:{type:se(Array),required:!0},color:{type:se(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean}),dz=qe({modelValue:{type:se(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:se(Array)},validateEvent:{type:Boolean,default:!0}}),Uq={[St]:e=>rt(e)||Yn(e)},fz=Symbol("colorCommonPickerKey"),hz=Symbol("colorPickerPanelContextKey");class zh{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new Oi,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const n in t)rn(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const o in t)rn(t,o)&&this.set(o,t[o]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new Oi(t);if(this._isValid=n.isValid,n.isValid){const{h:o,s:r,v:a,a:l}=n.toHsv();this._hue=o,this._saturation=r*100,this._value=a*100,this._alpha=l*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const n=new Oi({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:o,_alpha:r,format:a,enableAlpha:l}=this;let i=a||(l?"rgb":"hex");a==="hex"&&l&&(i="hex8"),this._tiny=new Oi({h:t,s:n/100,v:o/100,a:r/100}),this.value=this._isValid?this._tiny.toString(i):""}}const Yq=e=>{const{currentColor:t}=et(hz),n=L(r(e.colors,e.color));ke(()=>t.value,a=>{const l=new zh({value:a,enableAlpha:e.enableAlpha});n.value.forEach(i=>{i.selected=l.compare(i)})}),sr(()=>{n.value=r(e.colors,e.color)});function o(a){e.color.fromString(e.colors[a])}function r(a,l){return a.map(i=>{const u=new zh({value:i,enableAlpha:e.enableAlpha});return u.selected=u.compare(l),u})}return{rgbaColors:n,handleSelect:o}},Gq=e=>{const t=Ie("color-predefine"),n=S(()=>[t.b(),t.is("disabled",e.disabled)]),o=S(()=>t.e("colors"));function r(a){return[t.e("color-selector"),t.is("alpha",a.get("alpha")<100),{selected:a.selected}]}return{rootKls:n,colorsKls:o,colorSelectorKls:r}},Xq=te({name:"ElColorPredefine"}),Zq=te({...Xq,props:Wq,setup(e){const t=e,{rgbaColors:n,handleSelect:o}=Yq(t),{rootKls:r,colorsKls:a,colorSelectorKls:l}=Gq(t),{t:i}=Qt(),u=c=>i("el.colorpicker.predefineDescription",{value:c});return(c,d)=>(T(),F("div",{class:M(s(r))},[H("div",{class:M(s(a))},[(T(!0),F(tt,null,Dt(s(n),(f,p)=>(T(),F("button",{key:c.colors[p],type:"button",disabled:c.disabled,"aria-label":u(f.value),class:M(s(l)(f)),onClick:h=>s(o)(p)},[H("div",{style:ht({backgroundColor:f.value})},null,4)],10,["disabled","aria-label","onClick"]))),128))],2)],2))}});var Qq=Ue(Zq,[["__file","predefine.vue"]]);const Jq=qe({color:{type:se(Object),required:!0},disabled:Boolean}),e5=e=>{const t=Lt(),n=L(),o=L(0),r=L(0),a=L("hsl(0, 100%, 50%)"),l=S(()=>e.color.get("saturation")),i=S(()=>e.color.get("value")),u=S(()=>e.color.get("hue"));function c(v){var g;if(e.disabled)return;v.target!==n.value&&d(v),(g=n.value)==null||g.focus({preventScroll:!0})}function d(v){if(e.disabled)return;const m=t.vnode.el.getBoundingClientRect(),{clientX:y,clientY:k}=iz(v);let C=y-m.left,b=k-m.top;C=Math.max(0,C),C=Math.min(C,m.width),b=Math.max(0,b),b=Math.min(b,m.height),r.value=C,o.value=b,e.color.set({saturation:C/m.width*100,value:100-b/m.height*100})}function f(v){if(e.disabled)return;const{shiftKey:g}=v,m=kn(v),y=g?10:1;let k=!0;switch(m){case We.left:p(-y);break;case We.right:p(y);break;case We.up:h(y);break;case We.down:h(-y);break;default:k=!1;break}k&&v.preventDefault()}function p(v){let g=l.value+v;g=g<0?0:g>100?100:g,e.color.set("saturation",g)}function h(v){let g=i.value+v;g=g<0?0:g>100?100:g,e.color.set("value",g)}return{cursorRef:n,cursorTop:o,cursorLeft:r,background:a,saturation:l,brightness:i,hue:u,handleClick:c,handleDrag:d,handleKeydown:f}},t5=(e,{cursorTop:t,cursorLeft:n,background:o,handleDrag:r})=>{const a=Lt(),l=Ie("color-svpanel");function i(){const p=e.color.get("saturation"),h=e.color.get("value"),v=a.vnode.el,{clientWidth:g,clientHeight:m}=v;n.value=p*g/100,t.value=(100-h)*m/100,o.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}Bt(()=>{om(a.vnode.el,{drag:p=>{r(p)},end:p=>{r(p)}}),i()}),ke([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>i());const u=S(()=>l.b()),c=S(()=>l.e("cursor")),d=S(()=>({backgroundColor:o.value})),f=S(()=>({top:Nn(t.value),left:Nn(n.value)}));return{rootKls:u,cursorKls:c,rootStyle:d,cursorStyle:f,update:i}},n5=te({name:"ElSvPanel"}),o5=te({...n5,props:Jq,setup(e,{expose:t}){const n=e,{cursorRef:o,cursorTop:r,cursorLeft:a,background:l,saturation:i,brightness:u,handleClick:c,handleDrag:d,handleKeydown:f}=e5(n),{rootKls:p,cursorKls:h,rootStyle:v,cursorStyle:g,update:m}=t5(n,{cursorTop:r,cursorLeft:a,background:l,handleDrag:d}),{t:y}=Qt(),k=S(()=>y("el.colorpicker.svLabel")),C=S(()=>y("el.colorpicker.svDescription",{saturation:i.value,brightness:u.value,color:n.color.value}));return t({update:m}),(b,x)=>(T(),F("div",{class:M(s(p)),style:ht(s(v)),onClick:s(c)},[H("div",{ref_key:"cursorRef",ref:o,class:M(s(h)),style:ht(s(g)),tabindex:"0",role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":s(k),"aria-valuenow":`${s(i)},${s(u)}`,"aria-valuetext":s(C),onKeydown:s(f)},null,46,["aria-label","aria-valuenow","aria-valuetext","onKeydown"])],14,["onClick"]))}});var r5=Ue(o5,[["__file","sv-panel.vue"]]);const pz=(e,t)=>{const n=an(new zh({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return ke(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(St,n.value)}),{color:n}},a5=te({name:"ElColorPickerPanel"}),l5=te({...a5,props:dz,emits:Uq,setup(e,{expose:t,emit:n}){const o=e,r=Ie("color-picker-panel"),{formItem:a}=xo(),l=go(),i=L(),u=L(),c=L(),d=L(),f=L(""),{color:p}=et(fz,()=>pz(o,n),!0);function h(){p.fromString(f.value),p.value!==f.value&&(f.value=p.value)}function v(){var m;o.validateEvent&&((m=a?.validate)==null||m.call(a,"blur").catch(y=>Kt(y)))}function g(){var m,y,k;(m=i.value)==null||m.update(),(y=u.value)==null||y.update(),(k=c.value)==null||k.update()}return Bt(()=>{o.modelValue&&(f.value=p.value),Qe(g)}),ke(()=>o.modelValue,m=>{m!==p.value&&(m?p.fromString(m):p.clear())}),ke(()=>p.value,m=>{n(St,m),f.value=m,o.validateEvent&&a?.validate("change").catch(y=>Kt(y))}),Ut(hz,{currentColor:S(()=>p.value)}),t({color:p,inputRef:d,update:g}),(m,y)=>(T(),F("div",{class:M([s(r).b(),s(r).is("disabled",s(l)),s(r).is("border",m.border)]),onFocusout:v},[H("div",{class:M(s(r).e("wrapper"))},[Q(Hq,{ref_key:"hueRef",ref:i,class:"hue-slider",color:s(p),vertical:"",disabled:s(l)},null,8,["color","disabled"]),Q(r5,{ref_key:"svRef",ref:u,color:s(p),disabled:s(l)},null,8,["color","disabled"])],2),m.showAlpha?(T(),ge(Fq,{key:0,ref_key:"alphaRef",ref:c,color:s(p),disabled:s(l)},null,8,["color","disabled"])):fe("v-if",!0),m.predefine?(T(),ge(Qq,{key:1,ref:"predefine","enable-alpha":m.showAlpha,color:s(p),colors:m.predefine,disabled:s(l)},null,8,["enable-alpha","color","colors","disabled"])):fe("v-if",!0),H("div",{class:M(s(r).e("footer"))},[Q(s(Yo),{ref_key:"inputRef",ref:d,modelValue:f.value,"onUpdate:modelValue":k=>f.value=k,"validate-event":!1,size:"small",disabled:s(l),onChange:h},null,8,["modelValue","onUpdate:modelValue","disabled"]),he(m.$slots,"footer")],2)],34))}});var s5=Ue(l5,[["__file","color-picker-panel.vue"]]);const gz=Pt(s5),i5=qe({persistent:{type:Boolean,default:!0},modelValue:{type:se(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:io,popperClass:mn.popperClass,popperStyle:mn.popperStyle,tabindex:{type:[String,Number],default:0},teleported:mn.teleported,appendTo:mn.appendTo,predefine:{type:se(Array)},validateEvent:{type:Boolean,default:!0},...si,...Zo(["ariaLabel"])}),u5={[St]:e=>rt(e)||Yn(e),[Wt]:e=>rt(e)||Yn(e),activeChange:e=>rt(e)||Yn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},c5=te({name:"ElColorPicker"}),d5=te({...c5,props:i5,emits:u5,setup(e,{expose:t,emit:n}){const o=e,{t:r}=Qt(),a=Ie("color"),{formItem:l}=xo(),i=ro(),u=go(),{valueOnClear:c,isEmptyValue:d}=pd(o,null),f=pz(o,n),{inputId:p,isLabeledByFormItem:h}=Pr(o,{formItemContext:l}),v=L(),g=L(),m=L(),y=L(!1),k=L(!1);let C=!0;const{isFocused:b,handleFocus:x,handleBlur:_}=$l(g,{disabled:u,beforeBlur(oe){var ie;return(ie=v.value)==null?void 0:ie.isFocusInsideContent(oe)},afterBlur(){var oe;Z(!1),B(),o.validateEvent&&((oe=l?.validate)==null||oe.call(l,"blur").catch(ie=>Kt(ie)))}}),z=CD(()=>{var oe,ie;return(ie=(oe=m.value)==null?void 0:oe.color)!=null?ie:f.color}),I=S(()=>ml(o,Object.keys(dz))),P=S(()=>!o.modelValue&&!k.value?"transparent":Y(z,o.showAlpha)),j=S(()=>!o.modelValue&&!k.value?"":z.value),O=S(()=>h.value?void 0:o.ariaLabel||r("el.colorpicker.defaultLabel")),A=S(()=>h.value?l?.labelId:void 0),K=S(()=>[a.b("picker"),a.is("disabled",u.value),a.bm("picker",i.value),a.is("focused",b.value)]);function Y(oe,ie){const{r:de,g:U,b:le,a:me}=oe.toRgb();return ie?`rgba(${de}, ${U}, ${le}, ${me})`:`rgb(${de}, ${U}, ${le})`}function Z(oe){y.value=oe}const $=Ra(Z,100,{leading:!0});function R(){u.value||Z(!0)}function D(){$(!1),B()}function B(){Qe(()=>{o.modelValue?z.fromString(o.modelValue):(z.value="",Qe(()=>{k.value=!1}))})}function q(){u.value||(y.value&&B(),$(!y.value))}function G(){const oe=d(z.value)?c.value:z.value;n(St,oe),n(Wt,oe),o.validateEvent&&l?.validate("change").catch(ie=>Kt(ie)),$(!1),Qe(()=>{const ie=new zh({enableAlpha:o.showAlpha,format:o.colorFormat||"",value:o.modelValue});z.compare(ie)||B()})}function X(){$(!1),n(St,c.value),n(Wt,c.value),o.modelValue!==c.value&&o.validateEvent&&l?.validate("change").catch(oe=>Kt(oe)),B()}function J(){var oe,ie;(ie=(oe=m?.value)==null?void 0:oe.inputRef)==null||ie.focus()}function ue(){y.value&&(D(),b.value&&re())}function ae(oe){oe.preventDefault(),oe.stopPropagation(),Z(!1),B()}function ve(oe){switch(kn(oe)){case We.enter:case We.numpadEnter:case We.space:oe.preventDefault(),oe.stopPropagation(),R();break;case We.esc:ae(oe);break}}function re(){g.value.focus()}function ce(){g.value.blur()}return ke(()=>j.value,oe=>{C&&n("activeChange",oe),C=!0}),ke(()=>z.value,()=>{!o.modelValue&&!k.value&&(k.value=!0)}),ke(()=>o.modelValue,oe=>{oe?oe&&oe!==z.value&&(C=!1,z.fromString(oe)):k.value=!1}),ke(()=>y.value,()=>{var oe;Qe((oe=m.value)==null?void 0:oe.update)}),Ut(fz,f),t({color:z,show:R,hide:D,focus:re,blur:ce}),(oe,ie)=>(T(),ge(s(Oo),{ref_key:"popper",ref:v,visible:y.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[s(a).be("picker","panel"),oe.popperClass],"popper-style":oe.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:oe.teleported,transition:`${s(a).namespace.value}-zoom-in-top`,persistent:oe.persistent,"append-to":oe.appendTo,onShow:J,onHide:de=>Z(!1)},{content:ne(()=>[Nt((T(),ge(s(gz),Vt({ref_key:"pickerPanelRef",ref:m},s(I),{border:!1,"validate-event":!1,onKeydown:Ln(ae,["esc"])}),{footer:ne(()=>[H("div",null,[Q(s(Co),{class:M(s(a).be("footer","link-btn")),text:"",size:"small",onClick:X},{default:ne(()=>[Tt(Pe(s(r)("el.colorpicker.clear")),1)]),_:1},8,["class"]),Q(s(Co),{plain:"",size:"small",class:M(s(a).be("footer","btn")),onClick:G},{default:ne(()=>[Tt(Pe(s(r)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16,["onKeydown"])),[[s(Cl),ue,g.value]])]),default:ne(()=>[H("div",Vt({id:s(p),ref_key:"triggerRef",ref:g},oe.$attrs,{class:s(K),role:"button","aria-label":s(O),"aria-labelledby":s(A),"aria-description":s(r)("el.colorpicker.description",{color:oe.modelValue||""}),"aria-disabled":s(u),tabindex:s(u)?void 0:oe.tabindex,onKeydown:ve,onFocus:s(x),onBlur:s(_)}),[H("div",{class:M(s(a).be("picker","trigger")),onClick:q},[H("span",{class:M([s(a).be("picker","color"),s(a).is("alpha",oe.showAlpha)])},[H("span",{class:M(s(a).be("picker","color-inner")),style:ht({backgroundColor:s(P)})},[Nt(Q(s(lt),{class:M([s(a).be("picker","icon"),s(a).is("icon-arrow-down")])},{default:ne(()=>[Q(s(qa))]),_:1},8,["class"]),[[tn,oe.modelValue||k.value]]),Nt(Q(s(lt),{class:M([s(a).be("picker","empty"),s(a).is("icon-close")])},{default:ne(()=>[Q(s(Kr))]),_:1},8,["class"]),[[tn,!oe.modelValue&&!k.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to","onHide"]))}});var f5=Ue(d5,[["__file","color-picker.vue"]]);const h5=Pt(f5),p5=qe({a11y:{type:Boolean,default:!0},locale:{type:se(Object)},size:io,button:{type:se(Object)},card:{type:se(Object)},dialog:{type:se(Object)},link:{type:se(Object)},experimentalFeatures:{type:se(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:se(Object)},zIndex:Number,namespace:{type:String,default:"el"},...si}),Ko={placement:"top"},g5=te({name:"ElConfigProvider",props:p5,setup(e,{slots:t}){const n=Qy(e);return ke(()=>e.message,o=>{var r,a;Object.assign(Ko,(a=(r=n?.value)==null?void 0:r.message)!=null?a:{},o??{})},{immediate:!0,deep:!0}),()=>he(t,"default",{config:n?.value})}}),v5=Pt(g5),m5=te({name:"ElContainer"}),y5=te({...m5,props:qe({direction:{type:String,values:["horizontal","vertical"]}}),setup(e){const t=e,n=ao(),o=Ie("container"),r=S(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(l=>{const i=l.type.name;return i==="ElHeader"||i==="ElFooter"}):!1);return(a,l)=>(T(),F("section",{class:M([s(o).b(),s(o).is("vertical",s(r))])},[he(a.$slots,"default")],2))}});var b5=Ue(y5,[["__file","container.vue"]]);const w5=te({name:"ElAside"}),C5=te({...w5,props:{width:{type:String,default:null}},setup(e){const t=e,n=Ie("aside"),o=S(()=>t.width?n.cssVarBlock({width:t.width}):{});return(r,a)=>(T(),F("aside",{class:M(s(n).b()),style:ht(s(o))},[he(r.$slots,"default")],6))}});var vz=Ue(C5,[["__file","aside.vue"]]);const k5=te({name:"ElFooter"}),S5=te({...k5,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ie("footer"),o=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(r,a)=>(T(),F("footer",{class:M(s(n).b()),style:ht(s(o))},[he(r.$slots,"default")],6))}});var mz=Ue(S5,[["__file","footer.vue"]]);const _5=te({name:"ElHeader"}),x5=te({..._5,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ie("header"),o=S(()=>t.height?n.cssVarBlock({height:t.height}):{});return(r,a)=>(T(),F("header",{class:M(s(n).b()),style:ht(s(o))},[he(r.$slots,"default")],6))}});var yz=Ue(x5,[["__file","header.vue"]]);const E5=te({name:"ElMain"}),z5=te({...E5,setup(e){const t=Ie("main");return(n,o)=>(T(),F("main",{class:M(s(t).b())},[he(n.$slots,"default")],2))}});var bz=Ue(z5,[["__file","main.vue"]]);const T5=Pt(b5,{Aside:vz,Footer:mz,Header:yz,Main:bz}),O5=Rn(vz),$5=Rn(mz),P5=Rn(yz),I5=Rn(bz);var Nf={exports:{}},M5=Nf.exports,PC;function A5(){return PC||(PC=1,(function(e,t){(function(n,o){e.exports=o()})(M5,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,a=/\d\d/,l=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,u={},c=function(m){return(m=+m)+(m>68?1900:2e3)},d=function(m){return function(y){this[m]=+y}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var k=y.match(/([+-]|\d\d)/g),C=60*k[1]+(+k[2]||0);return C===0?0:k[0]==="+"?-C:C})(m)}],p=function(m){var y=u[m];return y&&(y.indexOf?y:y.s.concat(y.f))},h=function(m,y){var k,C=u.meridiem;if(C){for(var b=1;b<=24;b+=1)if(m.indexOf(C(b,0,y))>-1){k=b>12;break}}else k=m===(y?"pm":"PM");return k},v={A:[i,function(m){this.afternoon=h(m,!1)}],a:[i,function(m){this.afternoon=h(m,!0)}],Q:[r,function(m){this.month=3*(m-1)+1}],S:[r,function(m){this.milliseconds=100*+m}],SS:[a,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[l,d("seconds")],ss:[l,d("seconds")],m:[l,d("minutes")],mm:[l,d("minutes")],H:[l,d("hours")],h:[l,d("hours")],HH:[l,d("hours")],hh:[l,d("hours")],D:[l,d("day")],DD:[a,d("day")],Do:[i,function(m){var y=u.ordinal,k=m.match(/\d+/);if(this.day=k[0],y)for(var C=1;C<=31;C+=1)y(C).replace(/\[|\]/g,"")===m&&(this.day=C)}],w:[l,d("week")],ww:[a,d("week")],M:[l,d("month")],MM:[a,d("month")],MMM:[i,function(m){var y=p("months"),k=(p("monthsShort")||y.map((function(C){return C.slice(0,3)}))).indexOf(m)+1;if(k<1)throw new Error;this.month=k%12||k}],MMMM:[i,function(m){var y=p("months").indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,d("year")],YY:[a,function(m){this.year=c(m)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(m){var y,k;y=m,k=u&&u.formats;for(var C=(m=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(j,O,A){var K=A&&A.toUpperCase();return O||k[A]||n[A]||k[K].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,Z,$){return Z||$.slice(1)}))}))).match(o),b=C.length,x=0;x<b;x+=1){var _=C[x],z=v[_],I=z&&z[0],P=z&&z[1];C[x]=P?{regex:I,parser:P}:_.replace(/^\[|\]$/g,"")}return function(j){for(var O={},A=0,K=0;A<b;A+=1){var Y=C[A];if(typeof Y=="string")K+=Y.length;else{var Z=Y.regex,$=Y.parser,R=j.slice(K),D=Z.exec(R)[0];$.call(O,D),j=j.replace(D,"")}}return(function(B){var q=B.afternoon;if(q!==void 0){var G=B.hours;q?G<12&&(B.hours+=12):G===12&&(B.hours=0),delete B.afternoon}})(O),O}}return function(m,y,k){k.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(c=m.parseTwoDigitYear);var C=y.prototype,b=C.parse;C.parse=function(x){var _=x.date,z=x.utc,I=x.args;this.$u=z;var P=I[1];if(typeof P=="string"){var j=I[2]===!0,O=I[3]===!0,A=j||O,K=I[2];O&&(K=I[2]),u=this.$locale(),!j&&K&&(u=k.Ls[K]),this.$d=(function(R,D,B,q){try{if(["x","X"].indexOf(D)>-1)return new Date((D==="X"?1e3:1)*R);var G=g(D)(R),X=G.year,J=G.month,ue=G.day,ae=G.hours,ve=G.minutes,re=G.seconds,ce=G.milliseconds,oe=G.zone,ie=G.week,de=new Date,U=ue||(X||J?1:de.getDate()),le=X||de.getFullYear(),me=0;X&&!J||(me=J>0?J-1:de.getMonth());var _e,Ce=ae||0,we=ve||0,$e=re||0,Re=ce||0;return oe?new Date(Date.UTC(le,me,U,Ce,we,$e,Re+60*oe.offset*1e3)):B?new Date(Date.UTC(le,me,U,Ce,we,$e,Re)):(_e=new Date(le,me,U,Ce,we,$e,Re),ie&&(_e=q(_e).week(ie).toDate()),_e)}catch{return new Date("")}})(_,P,z,k),this.init(),K&&K!==!0&&(this.$L=this.locale(K).$L),A&&_!=this.format(P)&&(this.$d=new Date("")),u={}}else if(P instanceof Array)for(var Y=P.length,Z=1;Z<=Y;Z+=1){I[1]=P[Z-1];var $=k.apply(this,I);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}Z===Y&&(this.$d=new Date(""))}else b.call(this,x)}}}))})(Nf)),Nf.exports}var j5=A5();const Cb=Ka(j5),IC=["hours","minutes","seconds"],ia="EP_PICKER_BASE",kb="ElPopperOptions",wz=Symbol("commonPickerContextKey"),nu="HH:mm:ss",Xl="YYYY-MM-DD",N5={date:Xl,dates:Xl,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${Xl} ${nu}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Xl,datetimerange:`${Xl} ${nu}`},Cz=(e,t)=>{const{lang:n}=Qt(),o=L(!1),r=L(!1),a=L(null),l=S(()=>{const{modelValue:v}=e;return!v||Be(v)&&!v.filter(Boolean).length}),i=v=>{if(!jE(e.modelValue,v)){let g;Be(v)?g=v.map(y=>mC(y,e.valueFormat,n.value)):v&&(g=mC(v,e.valueFormat,n.value)),t(St,v&&g,n.value)}},u=S(()=>{var v;let g;if(l.value?c.value.getDefaultValue&&(g=c.value.getDefaultValue()):Be(e.modelValue)?g=e.modelValue.map(m=>vC(m,e.valueFormat,n.value)):g=vC((v=e.modelValue)!=null?v:"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const m=c.value.getRangeAvailableTime(g);Vn(m,g)||(g=m,l.value||i(Af(g)))}return Be(g)&&g.some(m=>!m)&&(g=[]),g}),c=L({});return{parsedValue:u,pickerActualVisible:r,pickerOptions:c,pickerVisible:o,userInput:a,valueIsEmpty:l,emitInput:i,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,g,m)=>{t("panel-change",v,g,m)},onPick:(v="",g=!1)=>{o.value=g;let m;Be(v)?m=v.map(y=>y.toDate()):m=v&&v.toDate(),a.value=null,i(m)},onSetPickerOption:v=>{c.value[v[0]]=v[1],c.value.panelReady=!0}}},Sb=qe({disabledHours:{type:se(Function)},disabledMinutes:{type:se(Function)},disabledSeconds:{type:se(Function)}}),kz=qe({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),_b=qe({automaticDropdown:{type:Boolean,default:!0},id:{type:se([Array,String])},name:{type:se([Array,String])},popperClass:mn.popperClass,popperStyle:mn.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:se([String,Object]),default:Ol},editable:{type:Boolean,default:!0},prefixIcon:{type:se([String,Object]),default:""},size:io,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:se(Object),default:()=>({})},modelValue:{type:se([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:se([Date,Array])},defaultTime:{type:se([Date,Array])},isRange:Boolean,...Sb,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:se([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:se(String),values:Pl,default:"bottom"},fallbackPlacements:{type:se(Array),default:["bottom","top","right","left"]},...si,...Zo(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),R5=qe({id:{type:se(Array)},name:{type:se(Array)},modelValue:{type:se([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),D5=te({name:"PickerRangeTrigger",inheritAttrs:!1}),L5=te({...D5,props:R5,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const o=e,{formItem:r}=xo(),{inputId:a}=Pr(an({id:S(()=>{var z;return(z=o.id)==null?void 0:z[0]})}),{formItemContext:r}),l=Pp(),i=Ie("date"),u=Ie("range"),c=L(),d=L(),{wrapperRef:f,isFocused:p}=$l(c,{disabled:S(()=>o.disabled)}),h=z=>{n("click",z)},v=z=>{n("mouseenter",z)},g=z=>{n("mouseleave",z)},m=z=>{n("touchstart",z)},y=z=>{n("startInput",z)},k=z=>{n("endInput",z)},C=z=>{n("startChange",z)},b=z=>{n("endChange",z)};return t({focus:()=>{var z;(z=c.value)==null||z.focus()},blur:()=>{var z,I;(z=c.value)==null||z.blur(),(I=d.value)==null||I.blur()}}),(z,I)=>(T(),F("div",{ref_key:"wrapperRef",ref:f,class:M([s(i).is("active",s(p)),z.$attrs.class]),style:ht(z.$attrs.style),onClick:h,onMouseenter:v,onMouseleave:g,onTouchstartPassive:m},[he(z.$slots,"prefix"),H("input",Vt(s(l),{id:s(a),ref_key:"inputRef",ref:c,name:z.name&&z.name[0],placeholder:z.startPlaceholder,value:z.modelValue&&z.modelValue[0],class:s(u).b("input"),disabled:z.disabled,onInput:y,onChange:C}),null,16,["id","name","placeholder","value","disabled"]),he(z.$slots,"range-separator"),H("input",Vt(s(l),{id:z.id&&z.id[1],ref_key:"endInputRef",ref:d,name:z.name&&z.name[1],placeholder:z.endPlaceholder,value:z.modelValue&&z.modelValue[1],class:s(u).b("input"),disabled:z.disabled,onInput:k,onChange:b}),null,16,["id","name","placeholder","value","disabled"]),he(z.$slots,"suffix")],38))}});var B5=Ue(L5,[["__file","picker-range-trigger.vue"]]);const V5=te({name:"Picker"}),F5=te({...V5,props:_b,emits:[St,Wt,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const o=e,r=El(),a=Ie("date"),l=Ie("input"),i=Ie("range"),{formItem:u}=xo(),c=et(kb,{}),d=pd(o,null),f=L(),p=L(),h=L(null);let v=!1;const g=go(),m=Cz(o,n),{parsedValue:y,pickerActualVisible:k,userInput:C,pickerVisible:b,pickerOptions:x,valueIsEmpty:_,emitInput:z,onPick:I,onSetPickerOption:P,onCalendarChange:j,onPanelChange:O}=m,{isFocused:A,handleFocus:K,handleBlur:Y}=$l(p,{disabled:g,beforeFocus(){return o.readonly},afterFocus(){o.automaticDropdown&&(b.value=!0)},beforeBlur(ye){var ct;return!v&&((ct=f.value)==null?void 0:ct.isFocusInsideContent(ye))},afterBlur(){ot(),b.value=!1,v=!1,o.validateEvent&&u?.validate("blur").catch(ye=>Kt(ye))}}),Z=L(!1),$=S(()=>[a.b("editor"),a.bm("editor",o.type),l.e("wrapper"),a.is("disabled",g.value),a.is("active",b.value),i.b("editor"),De?i.bm("editor",De.value):"",r.class]),R=S(()=>[l.e("icon"),i.e("close-icon"),me.value?"":i.em("close-icon","hidden")]);ke(b,ye=>{ye?Qe(()=>{ye&&(h.value=o.modelValue)}):(C.value=null,Qe(()=>{D(o.modelValue)}))});const D=(ye,ct)=>{(ct||!jE(ye,h.value))&&(n(Wt,ye),ct&&(h.value=ye),o.validateEvent&&u?.validate("change").catch(xe=>Kt(xe)))},B=ye=>{n("keydown",ye)},q=S(()=>p.value?Array.from(p.value.$el.querySelectorAll("input")):[]),G=(ye,ct,xe)=>{const dt=q.value;dt.length&&(!xe||xe==="min"?(dt[0].setSelectionRange(ye,ct),dt[0].focus()):xe==="max"&&(dt[1].setSelectionRange(ye,ct),dt[1].focus()))},X=()=>{k.value=!0},J=()=>{n("visible-change",!0)},ue=()=>{k.value=!1,b.value=!1,n("visible-change",!1)},ae=()=>{b.value=!0},ve=()=>{b.value=!1},re=S(()=>{const ye=Ne(y.value);return Be(C.value)?[C.value[0]||ye&&ye[0]||"",C.value[1]||ye&&ye[1]||""]:C.value!==null?C.value:!oe.value&&_.value||!b.value&&_.value?"":ye?ie.value||de.value||U.value?ye.join(", "):ye:""}),ce=S(()=>o.type.includes("time")),oe=S(()=>o.type.startsWith("time")),ie=S(()=>o.type==="dates"),de=S(()=>o.type==="months"),U=S(()=>o.type==="years"),le=S(()=>o.prefixIcon||(ce.value?B2:b3)),me=S(()=>o.clearable&&!g.value&&!o.readonly&&!_.value&&(Z.value||A.value)),_e=ye=>{o.readonly||g.value||(me.value&&(ye.stopPropagation(),x.value.handleClear?x.value.handleClear():z(d.valueOnClear.value),D(d.valueOnClear.value,!0),ue()),n("clear"))},Ce=async ye=>{var ct;o.readonly||g.value||(((ct=ye.target)==null?void 0:ct.tagName)!=="INPUT"||A.value||!o.automaticDropdown)&&(b.value=!0)},we=()=>{o.readonly||g.value||!_.value&&o.clearable&&(Z.value=!0)},$e=()=>{Z.value=!1},Re=ye=>{var ct;o.readonly||g.value||(((ct=ye.touches[0].target)==null?void 0:ct.tagName)!=="INPUT"||A.value||!o.automaticDropdown)&&(b.value=!0)},Ke=S(()=>o.type.includes("range")),De=ro(),at=S(()=>{var ye,ct;return(ct=(ye=s(f))==null?void 0:ye.popperRef)==null?void 0:ct.contentRef}),Ze=Gy(p,ye=>{const ct=s(at),xe=wo(p);ct&&(ye.target===ct||ye.composedPath().includes(ct))||ye.target===xe||xe&&ye.composedPath().includes(xe)||(b.value=!1)});cn(()=>{Ze?.()});const ot=()=>{if(C.value){const ye=gt(re.value);ye&&vt(ye)&&(z(Af(ye)),C.value=null)}C.value===""&&(z(d.valueOnClear.value),D(d.valueOnClear.value,!0),C.value=null)},gt=ye=>ye?x.value.parseUserInput(ye):null,Ne=ye=>ye?Be(ye)?ye.map(xe=>xe.format(o.format)):ye.format(o.format):null,vt=ye=>x.value.isValidValue(ye),_t=async ye=>{if(o.readonly||g.value)return;const ct=kn(ye);if(B(ye),ct===We.esc){b.value===!0&&(b.value=!1,ye.preventDefault(),ye.stopPropagation());return}if(ct===We.down&&(x.value.handleFocusPicker&&(ye.preventDefault(),ye.stopPropagation()),b.value===!1&&(b.value=!0,await Qe()),x.value.handleFocusPicker)){x.value.handleFocusPicker();return}if(ct===We.tab){v=!0;return}if(ct===We.enter||ct===We.numpadEnter){b.value?(C.value===null||C.value===""||vt(gt(re.value)))&&(ot(),b.value=!1):b.value=!0,ye.preventDefault(),ye.stopPropagation();return}if(C.value){ye.stopPropagation();return}x.value.handleKeydownInput&&x.value.handleKeydownInput(ye)},Gt=ye=>{C.value=ye,b.value||(b.value=!0)},on=ye=>{const ct=ye.target;C.value?C.value=[ct.value,C.value[1]]:C.value=[ct.value,null]},yt=ye=>{const ct=ye.target;C.value?C.value=[C.value[0],ct.value]:C.value=[null,ct.value]},Ot=()=>{var ye;const ct=C.value,xe=gt(ct&&ct[0]),dt=s(y);if(xe&&xe.isValid()){C.value=[Ne(xe),((ye=re.value)==null?void 0:ye[1])||null];const Fe=[xe,dt&&(dt[1]||null)];vt(Fe)&&(z(Af(Fe)),C.value=null)}},Oe=()=>{var ye;const ct=s(C),xe=gt(ct&&ct[1]),dt=s(y);if(xe&&xe.isValid()){C.value=[((ye=s(re))==null?void 0:ye[0])||null,Ne(xe)];const Fe=[dt&&dt[0],xe];vt(Fe)&&(z(Af(Fe)),C.value=null)}},ut=()=>{var ye;(ye=p.value)==null||ye.focus()},pt=()=>{var ye;(ye=p.value)==null||ye.blur()};return Ut(ia,{props:o,emptyValues:d}),Ut(wz,m),t({focus:ut,blur:pt,handleOpen:ae,handleClose:ve,onPick:I}),(ye,ct)=>(T(),ge(s(Oo),Vt({ref_key:"refPopper",ref:f,visible:s(b),effect:"light",pure:"",trigger:"click"},ye.$attrs,{role:"dialog",teleported:"",transition:`${s(a).namespace.value}-zoom-in-top`,"popper-class":[`${s(a).namespace.value}-picker__popper`,ye.popperClass],"popper-style":ye.popperStyle,"popper-options":s(c),"fallback-placements":ye.fallbackPlacements,"gpu-acceleration":!1,placement:ye.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:X,onShow:J,onHide:ue}),{default:ne(()=>[s(Ke)?(T(),ge(B5,{key:1,id:ye.id,ref_key:"inputRef",ref:p,"model-value":s(re),name:ye.name,disabled:s(g),readonly:!ye.editable||ye.readonly,"start-placeholder":ye.startPlaceholder,"end-placeholder":ye.endPlaceholder,class:M(s($)),style:ht(ye.$attrs.style),"aria-label":ye.ariaLabel,tabindex:ye.tabindex,autocomplete:"off",role:"combobox",onClick:Ce,onFocus:s(K),onBlur:s(Y),onStartInput:on,onStartChange:Ot,onEndInput:yt,onEndChange:Oe,onMousedown:Ce,onMouseenter:we,onMouseleave:$e,onTouchstartPassive:Re,onKeydown:_t},{prefix:ne(()=>[s(le)?(T(),ge(s(lt),{key:0,class:M([s(l).e("icon"),s(i).e("icon")])},{default:ne(()=>[(T(),ge(Rt(s(le))))]),_:1},8,["class"])):fe("v-if",!0)]),"range-separator":ne(()=>[he(ye.$slots,"range-separator",{},()=>[H("span",{class:M(s(i).b("separator"))},Pe(ye.rangeSeparator),3)])]),suffix:ne(()=>[ye.clearIcon?(T(),ge(s(lt),{key:0,class:M(s(R)),onMousedown:wt(s(un),["prevent"]),onClick:_e},{default:ne(()=>[(T(),ge(Rt(ye.clearIcon)))]),_:1},8,["class","onMousedown"])):fe("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(T(),ge(s(Yo),{key:0,id:ye.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":s(re),name:ye.name,size:s(De),disabled:s(g),placeholder:ye.placeholder,class:M([s(a).b("editor"),s(a).bm("editor",ye.type),s(a).is("focus",s(b)),ye.$attrs.class]),style:ht(ye.$attrs.style),readonly:!ye.editable||ye.readonly||s(ie)||s(de)||s(U)||ye.type==="week","aria-label":ye.ariaLabel,tabindex:ye.tabindex,"validate-event":!1,onInput:Gt,onFocus:s(K),onBlur:s(Y),onKeydown:_t,onChange:ot,onMousedown:Ce,onMouseenter:we,onMouseleave:$e,onTouchstartPassive:Re,onClick:wt(()=>{},["stop"])},{prefix:ne(()=>[s(le)?(T(),ge(s(lt),{key:0,class:M(s(l).e("icon")),onMousedown:wt(Ce,["prevent"]),onTouchstartPassive:Re},{default:ne(()=>[(T(),ge(Rt(s(le))))]),_:1},8,["class","onMousedown"])):fe("v-if",!0)]),suffix:ne(()=>[s(me)&&ye.clearIcon?(T(),ge(s(lt),{key:0,class:M(`${s(l).e("icon")} clear-icon`),onMousedown:wt(s(un),["prevent"]),onClick:_e},{default:ne(()=>[(T(),ge(Rt(ye.clearIcon)))]),_:1},8,["class","onMousedown"])):fe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))]),content:ne(()=>[he(ye.$slots,"default",{visible:s(b),actualVisible:s(k),parsedValue:s(y),format:ye.format,dateFormat:ye.dateFormat,timeFormat:ye.timeFormat,unlinkPanels:ye.unlinkPanels,type:ye.type,defaultValue:ye.defaultValue,showNow:ye.showNow,showConfirm:ye.showConfirm,showFooter:ye.showFooter,showWeekNumber:ye.showWeekNumber,onPick:s(I),onSelectRange:G,onSetPickerOption:s(P),onCalendarChange:s(j),onPanelChange:s(O),onMousedown:wt(()=>{},["stop"])})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});var Sz=Ue(F5,[["__file","picker.vue"]]);const q5=qe({...kz,datetimeRole:String,parsedValue:{type:se(Object)}}),_z=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const o=(l,i,u,c)=>{const d={hour:e,minute:t,second:n};let f=l;return["hour","minute","second"].forEach(p=>{if(d[p]){let h;const v=d[p];switch(p){case"minute":{h=v(f.hour(),i,c);break}case"second":{h=v(f.hour(),f.minute(),i,c);break}default:{h=v(i,c);break}}if(h?.length&&!h.includes(f[p]())){const g=u?0:h.length-1;f=f[p](h[g])}}}),f},r={};return{timePickerOptions:r,getAvailableTime:o,onSetOption:([l,i])=>{r[l]=i}}},tv=e=>{const t=(o,r)=>o||r,n=o=>o!==!0;return e.map(t).filter(n)},xz=(e,t,n)=>({getHoursList:(l,i)=>Xg(24,e&&(()=>e?.(l,i))),getMinutesList:(l,i,u)=>Xg(60,t&&(()=>t?.(l,i,u))),getSecondsList:(l,i,u,c)=>Xg(60,n&&(()=>n?.(l,i,u,c)))}),Ez=(e,t,n)=>{const{getHoursList:o,getMinutesList:r,getSecondsList:a}=xz(e,t,n);return{getAvailableHours:(c,d)=>tv(o(c,d)),getAvailableMinutes:(c,d,f)=>tv(r(c,d,f)),getAvailableSeconds:(c,d,f,p)=>tv(a(c,d,f,p))}},zz=e=>{const t=L(e.parsedValue);return ke(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},K5=qe({role:{type:String,required:!0},spinnerDate:{type:se(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:se(String),default:""},...Sb}),H5=100,W5=600,hf="_RepeatClick",Th={beforeMount(e,t){const n=t.value,{interval:o=H5,delay:r=W5}=it(n)?{}:n;let a,l;const i=()=>it(n)?n():n.handler(),u=()=>{l&&(clearTimeout(l),l=void 0),a&&(clearInterval(a),a=void 0)},c=d=>{d.button===0&&(u(),i(),document.addEventListener("mouseup",u,{once:!0}),l=setTimeout(()=>{a=setInterval(()=>{i()},o)},r))};e[hf]={start:c,clear:u},e.addEventListener("mousedown",c)},unmounted(e){if(!e[hf])return;const{start:t,clear:n}=e[hf];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[hf]=null}},U5=te({__name:"basic-time-spinner",props:K5,emits:[Wt,"select-range","set-option"],setup(e,{emit:t}){const n=e,o=et(ia),{isRange:r,format:a}=o.props,l=Ie("time"),{getHoursList:i,getMinutesList:u,getSecondsList:c}=xz(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const f=L(),p=L(),h=L(),v=L(),g={hours:p,minutes:h,seconds:v},m=S(()=>n.showSeconds?IC:IC.slice(0,2)),y=S(()=>{const{spinnerDate:X}=n,J=X.hour(),ue=X.minute(),ae=X.second();return{hours:J,minutes:ue,seconds:ae}}),k=S(()=>{const{hours:X,minutes:J}=s(y),{role:ue,spinnerDate:ae}=n,ve=r?void 0:ae;return{hours:i(ue,ve),minutes:u(X,ue,ve),seconds:c(X,J,ue,ve)}}),C=S(()=>{const{hours:X,minutes:J,seconds:ue}=s(y);return{hours:Gg(X,23),minutes:Gg(J,59),seconds:Gg(ue,59)}}),b=Ra(X=>{d=!1,z(X)},200),x=X=>{if(!!!n.amPmMode)return"";const ue=n.amPmMode==="A";let ae=X<12?" am":" pm";return ue&&(ae=ae.toUpperCase()),ae},_=X=>{let J=[0,0];const ue=a||nu,ae=ue.indexOf("HH"),ve=ue.indexOf("mm"),re=ue.indexOf("ss");switch(X){case"hours":ae!==-1&&(J=[ae,ae+2]);break;case"minutes":ve!==-1&&(J=[ve,ve+2]);break;case"seconds":re!==-1&&(J=[re,re+2]);break}const[ce,oe]=J;t("select-range",ce,oe),f.value=X},z=X=>{j(X,s(y)[X])},I=()=>{z("hours"),z("minutes"),z("seconds")},P=X=>X.querySelector(`.${l.namespace.value}-scrollbar__wrap`),j=(X,J)=>{if(n.arrowControl)return;const ue=s(g[X]);ue&&ue.$el&&(P(ue.$el).scrollTop=Math.max(0,J*O(X)))},O=X=>{const J=s(g[X]),ue=J?.$el.querySelector("li");return ue&&Number.parseFloat(ll(ue,"height"))||0},A=()=>{Y(1)},K=()=>{Y(-1)},Y=X=>{f.value||_("hours");const J=f.value,ue=s(y)[J],ae=f.value==="hours"?24:60,ve=Z(J,ue,X,ae);$(J,ve),j(J,ve),Qe(()=>_(J))},Z=(X,J,ue,ae)=>{let ve=(J+ue+ae)%ae;const re=s(k)[X];for(;re[ve]&&ve!==J;)ve=(ve+ue+ae)%ae;return ve},$=(X,J)=>{if(s(k)[X][J])return;const{hours:ve,minutes:re,seconds:ce}=s(y);let oe;switch(X){case"hours":oe=n.spinnerDate.hour(J).minute(re).second(ce);break;case"minutes":oe=n.spinnerDate.hour(ve).minute(J).second(ce);break;case"seconds":oe=n.spinnerDate.hour(ve).minute(re).second(J);break}t(Wt,oe)},R=(X,{value:J,disabled:ue})=>{ue||($(X,J),_(X),j(X,J))},D=X=>{const J=s(g[X]);if(!J)return;d=!0,b(X);const ue=Math.min(Math.round((P(J.$el).scrollTop-(B(X)*.5-10)/O(X)+3)/O(X)),X==="hours"?23:59);$(X,ue)},B=X=>s(g[X]).$el.offsetHeight,q=()=>{const X=J=>{const ue=s(g[J]);ue&&ue.$el&&(P(ue.$el).onscroll=()=>{D(J)})};X("hours"),X("minutes"),X("seconds")};Bt(()=>{Qe(()=>{!n.arrowControl&&q(),I(),n.role==="start"&&_("hours")})});const G=(X,J)=>{g[J].value=X??void 0};return t("set-option",[`${n.role}_scrollDown`,Y]),t("set-option",[`${n.role}_emitSelectRange`,_]),ke(()=>n.spinnerDate,()=>{d||I()}),(X,J)=>(T(),F("div",{class:M([s(l).b("spinner"),{"has-seconds":X.showSeconds}])},[X.arrowControl?fe("v-if",!0):(T(!0),F(tt,{key:0},Dt(s(m),ue=>(T(),ge(s(sa),{key:ue,ref_for:!0,ref:ae=>G(ae,ue),class:M(s(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":s(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ae=>_(ue),onMousemove:ae=>z(ue)},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(k)[ue],(ae,ve)=>(T(),F("li",{key:ve,class:M([s(l).be("spinner","item"),s(l).is("active",ve===s(y)[ue]),s(l).is("disabled",ae)]),onClick:re=>R(ue,{value:ve,disabled:ae})},[ue==="hours"?(T(),F(tt,{key:0},[Tt(Pe(("0"+(X.amPmMode?ve%12||12:ve)).slice(-2))+Pe(x(ve)),1)],64)):(T(),F(tt,{key:1},[Tt(Pe(("0"+ve).slice(-2)),1)],64))],10,["onClick"]))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),X.arrowControl?(T(!0),F(tt,{key:1},Dt(s(m),ue=>(T(),F("div",{key:ue,class:M([s(l).be("spinner","wrapper"),s(l).is("arrow")]),onMouseenter:ae=>_(ue)},[Nt((T(),ge(s(lt),{class:M(["arrow-up",s(l).be("spinner","arrow")])},{default:ne(()=>[Q(s(Tp))]),_:1},8,["class"])),[[s(Th),K]]),Nt((T(),ge(s(lt),{class:M(["arrow-down",s(l).be("spinner","arrow")])},{default:ne(()=>[Q(s(qa))]),_:1},8,["class"])),[[s(Th),A]]),H("ul",{class:M(s(l).be("spinner","list"))},[(T(!0),F(tt,null,Dt(s(C)[ue],(ae,ve)=>(T(),F("li",{key:ve,class:M([s(l).be("spinner","item"),s(l).is("active",ae===s(y)[ue]),s(l).is("disabled",s(k)[ue][ae])])},[s(ft)(ae)?(T(),F(tt,{key:0},[ue==="hours"?(T(),F(tt,{key:0},[Tt(Pe(("0"+(X.amPmMode?ae%12||12:ae)).slice(-2))+Pe(x(ae)),1)],64)):(T(),F(tt,{key:1},[Tt(Pe(("0"+ae).slice(-2)),1)],64))],64)):fe("v-if",!0)],2))),128))],2)],42,["onMouseenter"]))),128)):fe("v-if",!0)],2))}});var am=Ue(U5,[["__file","basic-time-spinner.vue"]]);const Y5=te({__name:"panel-time-pick",props:q5,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,o=et(ia),{arrowControl:r,disabledHours:a,disabledMinutes:l,disabledSeconds:i,defaultValue:u}=o.props,{getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}=Ez(a,l,i),p=Ie("time"),{t:h,lang:v}=Qt(),g=L([0,2]),m=zz(n),y=S(()=>Zt(n.actualVisible)?`${p.namespace.value}-zoom-in-top`:""),k=S(()=>n.format.includes("ss")),C=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),b=R=>{const D=Mt(R).locale(v.value),B=Y(D);return D.isSame(B)},x=()=>{const R=m.value;t("pick",R,!1),Qe(()=>{m.value=R})},_=(R=!1,D=!1)=>{D||t("pick",n.parsedValue,R)},z=R=>{if(!n.visible)return;const D=Y(R).millisecond(0);t("pick",D,!0)},I=(R,D)=>{t("select-range",R,D),g.value=[R,D]},P=R=>{const D=n.format,B=D.indexOf("HH"),q=D.indexOf("mm"),G=D.indexOf("ss"),X=[],J=[];B!==-1&&(X.push(B),J.push("hours")),q!==-1&&(X.push(q),J.push("minutes")),G!==-1&&k.value&&(X.push(G),J.push("seconds"));const ae=(X.indexOf(g.value[0])+R+X.length)%X.length;O.start_emitSelectRange(J[ae])},j=R=>{const D=kn(R),{left:B,right:q,up:G,down:X}=We;if([B,q].includes(D)){P(D===B?-1:1),R.preventDefault();return}if([G,X].includes(D)){const J=D===G?-1:1;O.start_scrollDown(J),R.preventDefault();return}},{timePickerOptions:O,onSetOption:A,getAvailableTime:K}=_z({getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}),Y=R=>K(R,n.datetimeRole||"",!0),Z=R=>R?Mt(R,n.format).locale(v.value):null,$=()=>Mt(u).locale(v.value);return t("set-picker-option",["isValidValue",b]),t("set-picker-option",["parseUserInput",Z]),t("set-picker-option",["handleKeydownInput",j]),t("set-picker-option",["getRangeAvailableTime",Y]),t("set-picker-option",["getDefaultValue",$]),(R,D)=>(T(),ge(So,{name:s(y)},{default:ne(()=>[R.actualVisible||R.visible?(T(),F("div",{key:0,class:M(s(p).b("panel"))},[H("div",{class:M([s(p).be("panel","content"),{"has-seconds":s(k)}])},[Q(am,{ref:"spinner",role:R.datetimeRole||"start","arrow-control":s(r),"show-seconds":s(k),"am-pm-mode":s(C),"spinner-date":R.parsedValue,"disabled-hours":s(a),"disabled-minutes":s(l),"disabled-seconds":s(i),onChange:z,onSetOption:s(A),onSelectRange:I},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),H("div",{class:M(s(p).be("panel","footer"))},[H("button",{type:"button",class:M([s(p).be("panel","btn"),"cancel"]),onClick:x},Pe(s(h)("el.datepicker.cancel")),3),H("button",{type:"button",class:M([s(p).be("panel","btn"),"confirm"]),onClick:B=>_()},Pe(s(h)("el.datepicker.confirm")),11,["onClick"])],2)],2)):fe("v-if",!0)]),_:1},8,["name"]))}});var Oh=Ue(Y5,[["__file","panel-time-pick.vue"]]);const G5=qe({...kz,parsedValue:{type:se(Array)}}),X5=te({__name:"panel-time-range",props:G5,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,o=(ie,de)=>{const U=[];for(let le=ie;le<=de;le++)U.push(le);return U},{t:r,lang:a}=Qt(),l=Ie("time"),i=Ie("picker"),u=et(ia),{arrowControl:c,disabledHours:d,disabledMinutes:f,disabledSeconds:p,defaultValue:h}=u.props,v=S(()=>[l.be("range-picker","body"),l.be("panel","content"),l.is("arrow",c),b.value?"has-seconds":""]),g=S(()=>[l.be("range-picker","body"),l.be("panel","content"),l.is("arrow",c),b.value?"has-seconds":""]),m=S(()=>n.parsedValue[0]),y=S(()=>n.parsedValue[1]),k=zz(n),C=()=>{const ie=k.value;t("pick",ie,!1),Qe(()=>{k.value=ie})},b=S(()=>n.format.includes("ss")),x=S(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),_=(ie=!1)=>{t("pick",[m.value,y.value],ie)},z=ie=>{j(ie.millisecond(0),y.value)},I=ie=>{j(m.value,ie.millisecond(0))},P=ie=>{const de=ie.map(le=>Mt(le).locale(a.value)),U=G(de);return de[0].isSame(U[0])&&de[1].isSame(U[1])},j=(ie,de)=>{n.visible&&t("pick",[ie,de],!0)},O=S(()=>m.value>y.value),A=L([0,2]),K=(ie,de)=>{t("select-range",ie,de,"min"),A.value=[ie,de]},Y=S(()=>b.value?11:8),Z=(ie,de)=>{t("select-range",ie,de,"max");const U=s(Y);A.value=[ie+U,de+U]},$=ie=>{const de=b.value?[0,3,6,11,14,17]:[0,3,8,11],U=["hours","minutes"].concat(b.value?["seconds"]:[]),me=(de.indexOf(A.value[0])+ie+de.length)%de.length,_e=de.length/2;me<_e?ae.start_emitSelectRange(U[me]):ae.end_emitSelectRange(U[me-_e])},R=ie=>{const de=kn(ie),{left:U,right:le,up:me,down:_e}=We;if([U,le].includes(de)){$(de===U?-1:1),ie.preventDefault();return}if([me,_e].includes(de)){const Ce=de===me?-1:1,we=A.value[0]<Y.value?"start":"end";ae[`${we}_scrollDown`](Ce),ie.preventDefault();return}},D=(ie,de)=>{const U=d?d(ie):[],le=ie==="start",_e=(de||(le?y.value:m.value)).hour(),Ce=le?o(_e+1,23):o(0,_e-1);return Fg(U,Ce)},B=(ie,de,U)=>{const le=f?f(ie,de):[],me=de==="start",_e=U||(me?y.value:m.value),Ce=_e.hour();if(ie!==Ce)return le;const we=_e.minute(),$e=me?o(we+1,59):o(0,we-1);return Fg(le,$e)},q=(ie,de,U,le)=>{const me=p?p(ie,de,U):[],_e=U==="start",Ce=le||(_e?y.value:m.value),we=Ce.hour(),$e=Ce.minute();if(ie!==we||de!==$e)return me;const Re=Ce.second(),Ke=_e?o(Re+1,59):o(0,Re-1);return Fg(me,Ke)},G=([ie,de])=>[ve(ie,"start",!0,de),ve(de,"end",!1,ie)],{getAvailableHours:X,getAvailableMinutes:J,getAvailableSeconds:ue}=Ez(D,B,q),{timePickerOptions:ae,getAvailableTime:ve,onSetOption:re}=_z({getAvailableHours:X,getAvailableMinutes:J,getAvailableSeconds:ue}),ce=ie=>ie?Be(ie)?ie.map(de=>Mt(de,n.format).locale(a.value)):Mt(ie,n.format).locale(a.value):null,oe=()=>{if(Be(h))return h.map(de=>Mt(de).locale(a.value));const ie=Mt(h).locale(a.value);return[ie,ie.add(60,"m")]};return t("set-picker-option",["parseUserInput",ce]),t("set-picker-option",["isValidValue",P]),t("set-picker-option",["handleKeydownInput",R]),t("set-picker-option",["getDefaultValue",oe]),t("set-picker-option",["getRangeAvailableTime",G]),(ie,de)=>ie.actualVisible?(T(),F("div",{key:0,class:M([s(l).b("range-picker"),s(i).b("panel")])},[H("div",{class:M(s(l).be("range-picker","content"))},[H("div",{class:M(s(l).be("range-picker","cell"))},[H("div",{class:M(s(l).be("range-picker","header"))},Pe(s(r)("el.datepicker.startTime")),3),H("div",{class:M(s(v))},[Q(am,{ref:"minSpinner",role:"start","show-seconds":s(b),"am-pm-mode":s(x),"arrow-control":s(c),"spinner-date":s(m),"disabled-hours":D,"disabled-minutes":B,"disabled-seconds":q,onChange:z,onSetOption:s(re),onSelectRange:K},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),H("div",{class:M(s(l).be("range-picker","cell"))},[H("div",{class:M(s(l).be("range-picker","header"))},Pe(s(r)("el.datepicker.endTime")),3),H("div",{class:M(s(g))},[Q(am,{ref:"maxSpinner",role:"end","show-seconds":s(b),"am-pm-mode":s(x),"arrow-control":s(c),"spinner-date":s(y),"disabled-hours":D,"disabled-minutes":B,"disabled-seconds":q,onChange:I,onSetOption:s(re),onSelectRange:Z},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),H("div",{class:M(s(l).be("panel","footer"))},[H("button",{type:"button",class:M([s(l).be("panel","btn"),"cancel"]),onClick:U=>C()},Pe(s(r)("el.datepicker.cancel")),11,["onClick"]),H("button",{type:"button",class:M([s(l).be("panel","btn"),"confirm"]),disabled:s(O),onClick:U=>_()},Pe(s(r)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):fe("v-if",!0)}});var Z5=Ue(X5,[["__file","panel-time-range.vue"]]);Mt.extend(Cb);var Q5=te({name:"ElTimePicker",install:null,props:{..._b,isRange:Boolean},emits:[St],setup(e,t){const n=L(),[o,r]=e.isRange?["timerange",Z5]:["time",Oh],a=l=>t.emit(St,l);return Ut(kb,e.popperOptions),t.expose({focus:()=>{var l;(l=n.value)==null||l.focus()},blur:()=>{var l;(l=n.value)==null||l.blur()},handleOpen:()=>{var l;(l=n.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=n.value)==null||l.handleClose()}}),()=>{var l;const i=(l=e.format)!=null?l:nu;return Q(Sz,Vt(e,{ref:n,type:o,format:i,"onUpdate:modelValue":a}),{default:u=>Q(r,u,null)})}}});const J5=Pt(Q5);var Rf={exports:{}},eK=Rf.exports,MC;function tK(){return MC||(MC=1,(function(e,t){(function(n,o){e.exports=o()})(eK,(function(){return function(n,o){var r=o.prototype,a=r.format;r.format=function(l){var i=this,u=this.$locale();if(!this.isValid())return a.bind(this)(l);var c=this.$utils(),d=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return u.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return u.ordinal(i.week(),"W");case"w":case"ww":return c.s(i.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(i.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(i.$H===0?24:i.$H),f==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return f}}));return a.bind(this)(d)}}}))})(Rf)),Rf.exports}var nK=tK();const oK=Ka(nK);var Df={exports:{}},rK=Df.exports,AC;function aK(){return AC||(AC=1,(function(e,t){(function(n,o){e.exports=o()})(rK,(function(){var n="week",o="year";return function(r,a,l){var i=a.prototype;i.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=l(this).startOf(o).add(1,o).date(c),f=l(this).endOf(n);if(d.isBefore(f))return 1}var p=l(this).startOf(o).date(c).startOf(n).subtract(1,"millisecond"),h=this.diff(p,n,!0);return h<0?l(this).startOf("week").week():Math.ceil(h)},i.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}}))})(Df)),Df.exports}var lK=aK();const sK=Ka(lK);var Lf={exports:{}},iK=Lf.exports,jC;function uK(){return jC||(jC=1,(function(e,t){(function(n,o){e.exports=o()})(iK,(function(){return function(n,o){o.prototype.weekYear=function(){var r=this.month(),a=this.week(),l=this.year();return a===1&&r===11?l+1:r===0&&a>=52?l-1:l}}}))})(Lf)),Lf.exports}var cK=uK();const dK=Ka(cK);var Bf={exports:{}},fK=Bf.exports,NC;function hK(){return NC||(NC=1,(function(e,t){(function(n,o){e.exports=o()})(fK,(function(){return function(n,o,r){o.prototype.dayOfYear=function(a){var l=Math.round((r(this).startOf("day")-r(this).startOf("year"))/864e5)+1;return a==null?l:this.add(a-l,"day")}}}))})(Bf)),Bf.exports}var pK=hK();const gK=Ka(pK);var Vf={exports:{}},vK=Vf.exports,RC;function mK(){return RC||(RC=1,(function(e,t){(function(n,o){e.exports=o()})(vK,(function(){return function(n,o){o.prototype.isSameOrAfter=function(r,a){return this.isSame(r,a)||this.isAfter(r,a)}}}))})(Vf)),Vf.exports}var yK=mK();const bK=Ka(yK);var Ff={exports:{}},wK=Ff.exports,DC;function CK(){return DC||(DC=1,(function(e,t){(function(n,o){e.exports=o()})(wK,(function(){return function(n,o){o.prototype.isSameOrBefore=function(r,a){return this.isSame(r,a)||this.isBefore(r,a)}}}))})(Ff)),Ff.exports}var kK=CK();const SK=Ka(kK),_K=qe({valueFormat:String,dateFormat:String,timeFormat:String,disabled:Boolean,modelValue:{type:se([Date,Array,String,Number]),default:""},defaultValue:{type:se([Date,Array])},defaultTime:{type:se([Date,Array])},isRange:Boolean,...Sb,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:se(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0}}),xb=Symbol("rootPickerContextKey"),kd="ElIsDefaultFormat",xK=["date","dates","year","years","month","months","week","range"],Eb=qe({cellClassName:{type:se(Function)},disabledDate:{type:se(Function)},date:{type:se(Object),required:!0},minDate:{type:se(Object)},maxDate:{type:se(Object)},parsedValue:{type:se([Object,Array])},rangeState:{type:se(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),Tz=qe({type:{type:se(String),required:!0,values:O6},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean}),zb=qe({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:se(Array)}}),Tb=e=>({type:String,values:xK,default:e}),EK=qe({...Tz,parsedValue:{type:se([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Bc=e=>{if(!Be(e))return!1;const[t,n]=e;return Mt.isDayjs(t)&&Mt.isDayjs(n)&&Mt(t).isValid()&&Mt(n).isValid()&&t.isSameOrBefore(n)},Dp=(e,{lang:t,step:n=1,unit:o,unlinkPanels:r})=>{let a;if(Be(e)){let[l,i]=e.map(u=>Mt(u).locale(t));return r||(i=l.add(n,o)),[l,i]}else e?a=Mt(e):a=Mt();return a=a.locale(t),[a,a.add(n,o)]},zK=(e,t,{columnIndexOffset:n,startDate:o,nextEndDate:r,now:a,unit:l,relativeDateGetter:i,setCellMetadata:u,setRowMetadata:c})=>{for(let d=0;d<e.row;d++){const f=t[d];for(let p=0;p<e.column;p++){let h=f[p+n];h||(h={row:d,column:p,type:"normal",inRange:!1,start:!1,end:!1});const v=d*e.column+p,g=i(v);h.dayjs=g,h.date=g.toDate(),h.timestamp=g.valueOf(),h.type="normal",h.inRange=!!(o&&g.isSameOrAfter(o,l)&&r&&g.isSameOrBefore(r,l))||!!(o&&g.isSameOrBefore(o,l)&&r&&g.isSameOrAfter(r,l)),o?.isSameOrAfter(r)?(h.start=!!r&&g.isSame(r,l),h.end=o&&g.isSame(o,l)):(h.start=!!o&&g.isSame(o,l),h.end=!!r&&g.isSame(r,l)),g.isSame(a,l)&&(h.type="today"),u?.(h,{rowIndex:d,columnIndex:p}),f[p+n]=h}c?.(f)}},$h=(e,t,n,o)=>{const r=Mt().locale(o).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),a=r.daysInMonth();return ns(a).map(l=>r.add(l,"day").toDate())},ou=(e,t,n,o,r)=>{const a=Mt().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),l=$h(e,t,n,o).find(i=>!r?.(i));return l?Mt(l).locale(o):a.locale(o)},Ph=(e,t,n)=>{const o=e.year();if(!n?.(e.toDate()))return e.locale(t);const r=e.month();if(!$h(e,o,r,t).every(n))return ou(e,o,r,t,n);for(let a=0;a<12;a++)if(!$h(e,o,a,t).every(n))return ou(e,o,a,t,n);return e},ru=(e,t,n,o)=>{if(Be(e))return e.map(r=>ru(r,t,n,o));if(rt(e)){const r=o?.value?Mt(e):Mt(e,t);if(!r.isValid())return r}return Mt(e,t).locale(n)},TK=qe({...Eb,showWeekNumber:Boolean,selectionMode:Tb("date")}),OK=["changerange","pick","select"],lm=(e="")=>["normal","today"].includes(e),$K=(e,t)=>{const{lang:n}=Qt(),o=L(),r=L(),a=L(),l=L(),i=L([[],[],[],[],[],[]]);let u=!1;const c=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(B=>B.toLowerCase()),f=S(()=>c>3?7-c:-c),p=S(()=>{const B=e.date.startOf("month");return B.subtract(B.day()||7,"day")}),h=S(()=>d.concat(d).slice(c,c+7)),v=S(()=>Kx(s(b)).some(B=>B.isCurrent)),g=S(()=>{const B=e.date.startOf("month"),q=B.day()||7,G=B.daysInMonth(),X=B.subtract(1,"month").daysInMonth();return{startOfMonthDay:q,dateCountOfMonth:G,dateCountOfLastMonth:X}}),m=S(()=>e.selectionMode==="dates"?Uo(e.parsedValue):[]),y=(B,{count:q,rowIndex:G,columnIndex:X})=>{const{startOfMonthDay:J,dateCountOfMonth:ue,dateCountOfLastMonth:ae}=s(g),ve=s(f);if(G>=0&&G<=1){const re=J+ve<0?7+J+ve:J+ve;if(X+G*7>=re)return B.text=q,!0;B.text=ae-(re-X%7)+1+G*7,B.type="prev-month"}else return q<=ue?B.text=q:(B.text=q-ue,B.type="next-month"),!0;return!1},k=(B,{columnIndex:q,rowIndex:G},X)=>{const{disabledDate:J,cellClassName:ue}=e,ae=s(m),ve=y(B,{count:X,rowIndex:G,columnIndex:q}),re=B.dayjs.toDate();return B.selected=ae.find(ce=>ce.isSame(B.dayjs,"day")),B.isSelected=!!B.selected,B.isCurrent=_(B),B.disabled=J?.(re),B.customClass=ue?.(re),ve},C=B=>{if(e.selectionMode==="week"){const[q,G]=e.showWeekNumber?[1,7]:[0,6],X=D(B[q+1]);B[q].inRange=X,B[q].start=X,B[G].inRange=X,B[G].end=X}},b=S(()=>{const{minDate:B,maxDate:q,rangeState:G,showWeekNumber:X}=e,J=s(f),ue=s(i),ae="day";let ve=1;if(zK({row:6,column:7},ue,{startDate:B,columnIndexOffset:X?1:0,nextEndDate:G.endDate||q||G.selecting&&B||null,now:Mt().locale(s(n)).startOf(ae),unit:ae,relativeDateGetter:re=>s(p).add(re-J,ae),setCellMetadata:(...re)=>{k(...re,ve)&&(ve+=1)},setRowMetadata:C}),X)for(let re=0;re<6;re++)ue[re][1].dayjs&&(ue[re][0]={type:"week",text:ue[re][1].dayjs.week()});return ue});ke(()=>e.date,async()=>{var B;(B=s(o))!=null&&B.contains(document.activeElement)&&(await Qe(),await x())});const x=async()=>{var B;return(B=s(r))==null?void 0:B.focus()},_=B=>e.selectionMode==="date"&&lm(B.type)&&z(B,e.parsedValue),z=(B,q)=>q?Mt(q).locale(s(n)).isSame(e.date.date(Number(B.text)),"day"):!1,I=(B,q)=>{const G=B*7+(q-(e.showWeekNumber?1:0))-s(f);return s(p).add(G,"day")},P=B=>{var q;if(!e.rangeState.selecting)return;let G=B.target;if(G.tagName==="SPAN"&&(G=(q=G.parentNode)==null?void 0:q.parentNode),G.tagName==="DIV"&&(G=G.parentNode),G.tagName!=="TD")return;const X=G.parentNode.rowIndex-1,J=G.cellIndex;s(b)[X][J].disabled||(X!==s(a)||J!==s(l))&&(a.value=X,l.value=J,t("changerange",{selecting:!0,endDate:I(X,J)}))},j=B=>!s(v)&&B?.text===1&&B.type==="normal"||B.isCurrent,O=B=>{u||s(v)||e.selectionMode!=="date"||R(B,!0)},A=B=>{B.target.closest("td")&&(u=!0)},K=B=>{B.target.closest("td")&&(u=!1)},Y=B=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:B,maxDate:null}),t("select",!0)):(B>=e.minDate?t("pick",{minDate:e.minDate,maxDate:B}):t("pick",{minDate:B,maxDate:e.minDate}),t("select",!1))},Z=B=>{const q=B.week(),G=`${B.year()}w${q}`;t("pick",{year:B.year(),week:q,value:G,date:B.startOf("week")})},$=(B,q)=>{const G=q?Uo(e.parsedValue).filter(X=>X?.valueOf()!==B.valueOf()):Uo(e.parsedValue).concat([B]);t("pick",G)},R=(B,q=!1)=>{if(e.disabled)return;const G=B.target.closest("td");if(!G)return;const X=G.parentNode.rowIndex-1,J=G.cellIndex,ue=s(b)[X][J];if(ue.disabled||ue.type==="week")return;const ae=I(X,J);switch(e.selectionMode){case"range":{Y(ae);break}case"date":{t("pick",ae,q);break}case"week":{Z(ae);break}case"dates":{$(ae,!!ue.selected);break}}},D=B=>{if(e.selectionMode!=="week")return!1;let q=e.date.startOf("day");if(B.type==="prev-month"&&(q=q.subtract(1,"month")),B.type==="next-month"&&(q=q.add(1,"month")),q=q.date(Number.parseInt(B.text,10)),e.parsedValue&&!Be(e.parsedValue)){const G=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(G,"day").isSame(q,"day")}return!1};return{WEEKS:h,rows:b,tbodyRef:o,currentCellRef:r,focus:x,isCurrent:_,isWeekActive:D,isSelectedCell:j,handlePickDate:R,handleMouseUp:K,handleMouseDown:A,handleMouseMove:P,handleFocus:O}},PK=(e,{isCurrent:t,isWeekActive:n})=>{const o=Ie("date-table"),{t:r}=Qt(),a=S(()=>[o.b(),o.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),l=S(()=>r("el.datepicker.dateTablePrompt")),i=c=>{const d=[];return lm(c.type)&&!c.disabled?(d.push("available"),c.type==="today"&&d.push("today")):d.push(c.type),t(c)&&d.push("current"),c.inRange&&(lm(c.type)||e.selectionMode==="week")&&(d.push("in-range"),c.start&&d.push("start-date"),c.end&&d.push("end-date")),(c.disabled||e.disabled)&&d.push("disabled"),c.selected&&d.push("selected"),c.customClass&&d.push(c.customClass),d.join(" ")},u=c=>[o.e("row"),{current:n(c)}];return{tableKls:a,tableLabel:l,weekHeaderClass:o.e("week-header"),getCellClasses:i,getRowKls:u,t:r}},IK=qe({cell:{type:se(Object)}});var Ob=te({name:"ElDatePickerCell",props:IK,setup(e){const t=Ie("date-table-cell"),{slots:n}=et(xb);return()=>{const{cell:o}=e;return he(n,"default",{...o},()=>{var r;return[Q("div",{class:t.b()},[Q("span",{class:t.e("text")},[(r=o?.renderText)!=null?r:o?.text])])]})}}});const MK=te({__name:"basic-date-table",props:TK,emits:OK,setup(e,{expose:t,emit:n}){const o=e,{WEEKS:r,rows:a,tbodyRef:l,currentCellRef:i,focus:u,isCurrent:c,isWeekActive:d,isSelectedCell:f,handlePickDate:p,handleMouseUp:h,handleMouseDown:v,handleMouseMove:g,handleFocus:m}=$K(o,n),{tableLabel:y,tableKls:k,getCellClasses:C,getRowKls:b,weekHeaderClass:x,t:_}=PK(o,{isCurrent:c,isWeekActive:d});let z=!1;return cn(()=>{z=!0}),t({focus:u}),(I,P)=>(T(),F("table",{"aria-label":s(y),class:M(s(k)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:s(p),onMousemove:s(g),onMousedown:s(v),onMouseup:s(h)},[H("tbody",{ref_key:"tbodyRef",ref:l},[H("tr",null,[I.showWeekNumber?(T(),F("th",{key:0,scope:"col",class:M(s(x))},null,2)):fe("v-if",!0),(T(!0),F(tt,null,Dt(s(r),(j,O)=>(T(),F("th",{key:O,"aria-label":s(_)("el.datepicker.weeksFull."+j),scope:"col"},Pe(s(_)("el.datepicker.weeks."+j)),9,["aria-label"]))),128))]),(T(!0),F(tt,null,Dt(s(a),(j,O)=>(T(),F("tr",{key:O,class:M(s(b)(I.showWeekNumber?j[2]:j[1]))},[(T(!0),F(tt,null,Dt(j,(A,K)=>(T(),F("td",{key:`${O}.${K}`,ref_for:!0,ref:Y=>!s(z)&&s(f)(A)&&(i.value=Y),class:M(s(C)(A)),"aria-current":A.isCurrent?"date":void 0,"aria-selected":A.isCurrent,tabindex:s(f)(A)?0:-1,onFocus:s(m)},[Q(s(Ob),{cell:A},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"]))),128))],2))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var sm=Ue(MK,[["__file","basic-date-table.vue"]]);const AK=qe({...Eb,selectionMode:Tb("month")}),jK=te({__name:"basic-month-table",props:AK,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,r=Ie("month-table"),{t:a,lang:l}=Qt(),i=L(),u=L(),c=L(o.date.locale("en").localeData().monthsShort().map(C=>C.toLowerCase())),d=L([[],[],[]]),f=L(),p=L(),h=S(()=>{var C,b,x;const _=d.value,z=Mt().locale(l.value).startOf("month");for(let I=0;I<3;I++){const P=_[I];for(let j=0;j<4;j++){const O=P[j]||(P[j]={row:I,column:j,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});O.type="normal";const A=I*4+j,K=o.date.startOf("year").month(A),Y=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;O.inRange=!!(o.minDate&&K.isSameOrAfter(o.minDate,"month")&&Y&&K.isSameOrBefore(Y,"month"))||!!(o.minDate&&K.isSameOrBefore(o.minDate,"month")&&Y&&K.isSameOrAfter(Y,"month")),(C=o.minDate)!=null&&C.isSameOrAfter(Y)?(O.start=!!(Y&&K.isSame(Y,"month")),O.end=o.minDate&&K.isSame(o.minDate,"month")):(O.start=!!(o.minDate&&K.isSame(o.minDate,"month")),O.end=!!(Y&&K.isSame(Y,"month"))),z.isSame(K)&&(O.type="today");const $=K.toDate();O.text=A,O.disabled=((b=o.disabledDate)==null?void 0:b.call(o,$))||!1,O.date=$,O.customClass=(x=o.cellClassName)==null?void 0:x.call(o,$),O.dayjs=K,O.timestamp=K.valueOf(),O.isSelected=m(O)}}return _}),v=()=>{var C;(C=u.value)==null||C.focus()},g=C=>{const b={},x=o.date.year(),_=new Date,z=C.text;return b.disabled=o.disabled||(o.disabledDate?$h(o.date,x,z,l.value).every(o.disabledDate):!1),b.current=Uo(o.parsedValue).some(I=>Mt.isDayjs(I)&&I.year()===x&&I.month()===z),b.today=_.getFullYear()===x&&_.getMonth()===z,C.customClass&&(b[C.customClass]=!0),C.inRange&&(b["in-range"]=!0,C.start&&(b["start-date"]=!0),C.end&&(b["end-date"]=!0)),b},m=C=>{const b=o.date.year(),x=C.text;return Uo(o.date).some(_=>_.year()===b&&_.month()===x)},y=C=>{var b;if(!o.rangeState.selecting)return;let x=C.target;if(x.tagName==="SPAN"&&(x=(b=x.parentNode)==null?void 0:b.parentNode),x.tagName==="DIV"&&(x=x.parentNode),x.tagName!=="TD")return;const _=x.parentNode.rowIndex,z=x.cellIndex;h.value[_][z].disabled||(_!==f.value||z!==p.value)&&(f.value=_,p.value=z,n("changerange",{selecting:!0,endDate:o.date.startOf("year").month(_*4+z)}))},k=C=>{var b;if(o.disabled)return;const x=(b=C.target)==null?void 0:b.closest("td");if(x?.tagName!=="TD"||Zr(x,"disabled"))return;const _=x.cellIndex,I=x.parentNode.rowIndex*4+_,P=o.date.startOf("year").month(I);if(o.selectionMode==="months"){if(C.type==="keydown"){n("pick",Uo(o.parsedValue),!1);return}const j=ou(o.date,o.date.year(),I,l.value,o.disabledDate),O=Zr(x,"current")?Uo(o.parsedValue).filter(A=>A?.year()!==j.year()||A?.month()!==j.month()):Uo(o.parsedValue).concat([Mt(j)]);n("pick",O)}else o.selectionMode==="range"?o.rangeState.selecting?(o.minDate&&P>=o.minDate?n("pick",{minDate:o.minDate,maxDate:P}):n("pick",{minDate:P,maxDate:o.minDate}),n("select",!1)):(n("pick",{minDate:P,maxDate:null}),n("select",!0)):n("pick",I)};return ke(()=>o.date,async()=>{var C,b;(C=i.value)!=null&&C.contains(document.activeElement)&&(await Qe(),(b=u.value)==null||b.focus())}),t({focus:v}),(C,b)=>(T(),F("table",{role:"grid","aria-label":s(a)("el.datepicker.monthTablePrompt"),class:M(s(r).b()),onClick:k,onMousemove:y},[H("tbody",{ref_key:"tbodyRef",ref:i},[(T(!0),F(tt,null,Dt(s(h),(x,_)=>(T(),F("tr",{key:_},[(T(!0),F(tt,null,Dt(x,(z,I)=>(T(),F("td",{key:I,ref_for:!0,ref:P=>z.isSelected&&(u.value=P),class:M(g(z)),"aria-selected":!!z.isSelected,"aria-label":s(a)(`el.datepicker.month${+z.text+1}`),tabindex:z.isSelected?0:-1,onKeydown:[Ln(wt(k,["prevent","stop"]),["space"]),Ln(wt(k,["prevent","stop"]),["enter"])]},[Q(s(Ob),{cell:{...z,renderText:s(a)("el.datepicker.months."+c.value[z.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var Vc=Ue(jK,[["__file","basic-month-table.vue"]]);const NK=qe({...Eb,selectionMode:Tb("year")}),RK=te({__name:"basic-year-table",props:NK,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,r=(b,x)=>{const _=Mt(String(b)).locale(x).startOf("year"),I=_.endOf("year").dayOfYear();return ns(I).map(P=>_.add(P,"day").toDate())},a=Ie("year-table"),{t:l,lang:i}=Qt(),u=L(),c=L(),d=S(()=>Math.floor(o.date.year()/10)*10),f=L([[],[],[]]),p=L(),h=L(),v=S(()=>{var b,x,_;const z=f.value,I=Mt().locale(i.value).startOf("year");for(let P=0;P<3;P++){const j=z[P];for(let O=0;O<4&&!(P*4+O>=10);O++){let A=j[O];A||(A={row:P,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),A.type="normal";const K=P*4+O+d.value,Y=Mt().year(K),Z=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;A.inRange=!!(o.minDate&&Y.isSameOrAfter(o.minDate,"year")&&Z&&Y.isSameOrBefore(Z,"year"))||!!(o.minDate&&Y.isSameOrBefore(o.minDate,"year")&&Z&&Y.isSameOrAfter(Z,"year")),(b=o.minDate)!=null&&b.isSameOrAfter(Z)?(A.start=!!(Z&&Y.isSame(Z,"year")),A.end=!!(o.minDate&&Y.isSame(o.minDate,"year"))):(A.start=!!(o.minDate&&Y.isSame(o.minDate,"year")),A.end=!!(Z&&Y.isSame(Z,"year"))),I.isSame(Y)&&(A.type="today"),A.text=K;const R=Y.toDate();A.disabled=((x=o.disabledDate)==null?void 0:x.call(o,R))||!1,A.date=R,A.customClass=(_=o.cellClassName)==null?void 0:_.call(o,R),A.dayjs=Y,A.timestamp=Y.valueOf(),A.isSelected=y(A),j[O]=A}}return z}),g=()=>{var b;(b=c.value)==null||b.focus()},m=b=>{const x={},_=Mt().locale(i.value),z=b.text;return x.disabled=o.disabled||(o.disabledDate?r(z,i.value).every(o.disabledDate):!1),x.today=_.year()===z,x.current=Uo(o.parsedValue).some(I=>I.year()===z),b.customClass&&(x[b.customClass]=!0),b.inRange&&(x["in-range"]=!0,b.start&&(x["start-date"]=!0),b.end&&(x["end-date"]=!0)),x},y=b=>{const x=b.text;return Uo(o.date).some(_=>_.year()===x)},k=b=>{var x;if(o.disabled)return;const _=(x=b.target)==null?void 0:x.closest("td");if(!_||!_.textContent||Zr(_,"disabled"))return;const z=_.cellIndex,P=_.parentNode.rowIndex*4+z+d.value,j=Mt().year(P);if(o.selectionMode==="range")o.rangeState.selecting?(o.minDate&&j>=o.minDate?n("pick",{minDate:o.minDate,maxDate:j}):n("pick",{minDate:j,maxDate:o.minDate}),n("select",!1)):(n("pick",{minDate:j,maxDate:null}),n("select",!0));else if(o.selectionMode==="years"){if(b.type==="keydown"){n("pick",Uo(o.parsedValue),!1);return}const O=Ph(j.startOf("year"),i.value,o.disabledDate),A=Zr(_,"current")?Uo(o.parsedValue).filter(K=>K?.year()!==P):Uo(o.parsedValue).concat([O]);n("pick",A)}else n("pick",P)},C=b=>{var x;if(!o.rangeState.selecting)return;const _=(x=b.target)==null?void 0:x.closest("td");if(!_)return;const z=_.parentNode.rowIndex,I=_.cellIndex;v.value[z][I].disabled||(z!==p.value||I!==h.value)&&(p.value=z,h.value=I,n("changerange",{selecting:!0,endDate:Mt().year(d.value).add(z*4+I,"year")}))};return ke(()=>o.date,async()=>{var b,x;(b=u.value)!=null&&b.contains(document.activeElement)&&(await Qe(),(x=c.value)==null||x.focus())}),t({focus:g}),(b,x)=>(T(),F("table",{role:"grid","aria-label":s(l)("el.datepicker.yearTablePrompt"),class:M(s(a).b()),onClick:k,onMousemove:C},[H("tbody",{ref_key:"tbodyRef",ref:u},[(T(!0),F(tt,null,Dt(s(v),(_,z)=>(T(),F("tr",{key:z},[(T(!0),F(tt,null,Dt(_,(I,P)=>(T(),F("td",{key:`${z}_${P}`,ref_for:!0,ref:j=>I.isSelected&&(c.value=j),class:M(["available",m(I)]),"aria-selected":I.isSelected,"aria-label":String(I.text),tabindex:I.isSelected?0:-1,onKeydown:[Ln(wt(k,["prevent","stop"]),["space"]),Ln(wt(k,["prevent","stop"]),["enter"])]},[Q(s(Ob),{cell:I},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var Fc=Ue(RK,[["__file","basic-year-table.vue"]]);const DK=te({__name:"panel-date-pick",props:EK,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,o=(Oe,ut,pt)=>!0,r=Ie("picker-panel"),a=Ie("date-picker"),l=El(),i=ao(),{t:u,lang:c}=Qt(),d=et(ia),f=et(kd,void 0),{shortcuts:p,disabledDate:h,cellClassName:v,defaultTime:g}=d.props,m=sn(d.props,"defaultValue"),y=L(),k=L(Mt().locale(c.value)),C=L(!1);let b=!1;const x=S(()=>Mt(g).locale(c.value)),_=S(()=>k.value.month()),z=S(()=>k.value.year()),I=L([]),P=L(null),j=L(null),O=Oe=>I.value.length>0?o(Oe,I.value,n.format||"HH:mm:ss"):!0,A=Oe=>g&&!Ce.value&&!C.value&&!b?x.value.year(Oe.year()).month(Oe.month()).date(Oe.date()):re.value?Oe.millisecond(0):Oe.startOf("day"),K=(Oe,...ut)=>{if(!Oe)t("pick",Oe,...ut);else if(Be(Oe)){const pt=Oe.map(A);t("pick",pt,...ut)}else t("pick",A(Oe),...ut);P.value=null,j.value=null,C.value=!1,b=!1},Y=async(Oe,ut)=>{if(q.value==="date"&&Mt.isDayjs(Oe)){const pt=Vu(n.parsedValue);let ye=pt?pt.year(Oe.year()).month(Oe.month()).date(Oe.date()):Oe;O(ye),k.value=ye,K(ye,re.value||ut)}else q.value==="week"?K(Oe.date):q.value==="dates"&&K(Oe,!0)},Z=Oe=>{const ut=Oe?"add":"subtract";k.value=k.value[ut](1,"month"),Ot("month")},$=Oe=>{const ut=k.value,pt=Oe?"add":"subtract";k.value=R.value==="year"?ut[pt](10,"year"):ut[pt](1,"year"),Ot("year")},R=L("date"),D=S(()=>{const Oe=u("el.datepicker.year");if(R.value==="year"){const ut=Math.floor(z.value/10)*10;return Oe?`${ut} ${Oe} - ${ut+9} ${Oe}`:`${ut} - ${ut+9}`}return`${z.value} ${Oe}`}),B=Oe=>{const ut=it(Oe.value)?Oe.value():Oe.value;if(ut){b=!0,K(Mt(ut).locale(c.value));return}Oe.onClick&&Oe.onClick({attrs:l,slots:i,emit:t})},q=S(()=>{const{type:Oe}=n;return["week","month","months","year","years","dates"].includes(Oe)?Oe:"date"}),G=S(()=>q.value==="dates"||q.value==="months"||q.value==="years"),X=S(()=>q.value==="date"?R.value:q.value),J=S(()=>!!p.length),ue=async(Oe,ut)=>{q.value==="month"?(k.value=ou(k.value,k.value.year(),Oe,c.value,h),K(k.value,!1)):q.value==="months"?K(Oe,ut??!0):(k.value=ou(k.value,k.value.year(),Oe,c.value,h),R.value="date",["month","year","date","week"].includes(q.value)&&(K(k.value,!0),await Qe(),_t())),Ot("month")},ae=async(Oe,ut)=>{if(q.value==="year"){const pt=k.value.startOf("year").year(Oe);k.value=Ph(pt,c.value,h),K(k.value,!1)}else if(q.value==="years")K(Oe,ut??!0);else{const pt=k.value.year(Oe);k.value=Ph(pt,c.value,h),R.value="month",["month","year","date","week"].includes(q.value)&&(K(k.value,!0),await Qe(),_t())}Ot("year")},ve=async Oe=>{n.disabled||(R.value=Oe,await Qe(),_t())},re=S(()=>n.type==="datetime"||n.type==="datetimerange"),ce=S(()=>{const Oe=re.value||q.value==="dates",ut=q.value==="years",pt=q.value==="months",ye=R.value==="date",ct=R.value==="year",xe=R.value==="month";return Oe&&ye||ut&&ct||pt&&xe}),oe=S(()=>!G.value&&n.showNow||n.showConfirm),ie=S(()=>h?n.parsedValue?Be(n.parsedValue)?h(n.parsedValue[0].toDate()):h(n.parsedValue.toDate()):!0:!1),de=()=>{if(G.value)K(n.parsedValue);else{let Oe=Vu(n.parsedValue);if(!Oe){const ut=Mt(g).locale(c.value),pt=vt();Oe=ut.year(pt.year()).month(pt.month()).date(pt.date())}k.value=Oe,K(Oe)}},U=S(()=>h?h(Mt().locale(c.value).toDate()):!1),le=()=>{const ut=Mt().locale(c.value).toDate();C.value=!0,(!h||!h(ut))&&O(ut)&&(k.value=Mt().locale(c.value),K(k.value))},me=S(()=>n.timeFormat||AE(n.format)||nu),_e=S(()=>n.dateFormat||ME(n.format)||Xl),Ce=S(()=>j.value?j.value:!n.parsedValue&&!m.value?void 0:(Vu(n.parsedValue)||k.value).format(me.value)),we=S(()=>P.value?P.value:!n.parsedValue&&!m.value?void 0:(Vu(n.parsedValue)||k.value).format(_e.value)),$e=L(!1),Re=()=>{$e.value=!0},Ke=()=>{$e.value=!1},De=Oe=>({hour:Oe.hour(),minute:Oe.minute(),second:Oe.second(),year:Oe.year(),month:Oe.month(),date:Oe.date()}),at=(Oe,ut,pt)=>{const{hour:ye,minute:ct,second:xe}=De(Oe),dt=Vu(n.parsedValue),Fe=dt?dt.hour(ye).minute(ct).second(xe):Oe;k.value=Fe,K(k.value,!0),pt||($e.value=ut)},Ze=Oe=>{const ut=Mt(Oe,me.value).locale(c.value);if(ut.isValid()&&O(ut)){const{year:pt,month:ye,date:ct}=De(k.value);k.value=ut.year(pt).month(ye).date(ct),j.value=null,$e.value=!1,K(k.value,!0)}},ot=Oe=>{const ut=ru(Oe,_e.value,c.value,f);if(ut.isValid()){if(h&&h(ut.toDate()))return;const{hour:pt,minute:ye,second:ct}=De(k.value);k.value=ut.hour(pt).minute(ye).second(ct),P.value=null,K(k.value,!0)}},gt=Oe=>Mt.isDayjs(Oe)&&Oe.isValid()&&(h?!h(Oe.toDate()):!0),Ne=Oe=>ru(Oe,n.format,c.value,f),vt=()=>{const Oe=Mt(m.value).locale(c.value);if(!m.value){const ut=x.value;return Mt().hour(ut.hour()).minute(ut.minute()).second(ut.second()).locale(c.value)}return Oe},_t=()=>{var Oe;["week","month","year","date"].includes(q.value)&&((Oe=y.value)==null||Oe.focus())},Gt=()=>{_t(),q.value==="week"&&yt(We.down)},on=Oe=>{const ut=kn(Oe);[We.up,We.down,We.left,We.right,We.home,We.end,We.pageUp,We.pageDown].includes(ut)&&(yt(ut),Oe.stopPropagation(),Oe.preventDefault()),[We.enter,We.space,We.numpadEnter].includes(ut)&&P.value===null&&j.value===null&&(Oe.preventDefault(),K(k.value,!1))},yt=Oe=>{var ut;const{up:pt,down:ye,left:ct,right:xe,home:dt,end:Fe,pageUp:en,pageDown:Fn}=We,lo={year:{[pt]:-4,[ye]:4,[ct]:-1,[xe]:1,offset:(Je,Jt)=>Je.setFullYear(Je.getFullYear()+Jt)},month:{[pt]:-4,[ye]:4,[ct]:-1,[xe]:1,offset:(Je,Jt)=>Je.setMonth(Je.getMonth()+Jt)},week:{[pt]:-1,[ye]:1,[ct]:-1,[xe]:1,offset:(Je,Jt)=>Je.setDate(Je.getDate()+Jt*7)},date:{[pt]:-7,[ye]:7,[ct]:-1,[xe]:1,[dt]:Je=>-Je.getDay(),[Fe]:Je=>-Je.getDay()+6,[en]:Je=>-new Date(Je.getFullYear(),Je.getMonth(),0).getDate(),[Fn]:Je=>new Date(Je.getFullYear(),Je.getMonth()+1,0).getDate(),offset:(Je,Jt)=>Je.setDate(Je.getDate()+Jt)}},Jn=k.value.toDate();for(;Math.abs(k.value.diff(Jn,"year",!0))<1;){const Je=lo[X.value];if(!Je)return;if(Je.offset(Jn,it(Je[Oe])?Je[Oe](Jn):(ut=Je[Oe])!=null?ut:0),h&&h(Jn))break;const Jt=Mt(Jn).locale(c.value);k.value=Jt,t("pick",Jt,!0);break}},Ot=Oe=>{t("panel-change",k.value.toDate(),Oe,R.value)};return ke(()=>q.value,Oe=>{if(["month","year"].includes(Oe)){R.value=Oe;return}else if(Oe==="years"){R.value="year";return}else if(Oe==="months"){R.value="month";return}R.value="date"},{immediate:!0}),ke(()=>m.value,Oe=>{Oe&&(k.value=vt())},{immediate:!0}),ke(()=>n.parsedValue,Oe=>{if(Oe){if(G.value||Be(Oe))return;k.value=Oe}else k.value=vt()},{immediate:!0}),t("set-picker-option",["isValidValue",gt]),t("set-picker-option",["parseUserInput",Ne]),t("set-picker-option",["handleFocusPicker",Gt]),(Oe,ut)=>(T(),F("div",{class:M([s(r).b(),s(a).b(),s(r).is("border",Oe.border),s(r).is("disabled",Oe.disabled),{"has-sidebar":Oe.$slots.sidebar||s(J),"has-time":s(re)}])},[H("div",{class:M(s(r).e("body-wrapper"))},[he(Oe.$slots,"sidebar",{class:M(s(r).e("sidebar"))}),s(J)?(T(),F("div",{key:0,class:M(s(r).e("sidebar"))},[(T(!0),F(tt,null,Dt(s(p),(pt,ye)=>(T(),F("button",{key:ye,type:"button",disabled:Oe.disabled,class:M(s(r).e("shortcut")),onClick:ct=>B(pt)},Pe(pt.text),11,["disabled","onClick"]))),128))],2)):fe("v-if",!0),H("div",{class:M(s(r).e("body"))},[s(re)?(T(),F("div",{key:0,class:M(s(a).e("time-header"))},[H("span",{class:M(s(a).e("editor-wrap"))},[Q(s(Yo),{placeholder:s(u)("el.datepicker.selectDate"),"model-value":s(we),size:"small","validate-event":!1,disabled:Oe.disabled,onInput:pt=>P.value=pt,onChange:ot},null,8,["placeholder","model-value","disabled","onInput"])],2),Nt((T(),F("span",{class:M(s(a).e("editor-wrap"))},[Q(s(Yo),{placeholder:s(u)("el.datepicker.selectTime"),"model-value":s(Ce),size:"small","validate-event":!1,disabled:Oe.disabled,onFocus:Re,onInput:pt=>j.value=pt,onChange:Ze},null,8,["placeholder","model-value","disabled","onInput"]),Q(s(Oh),{visible:$e.value,format:s(me),"parsed-value":k.value,onPick:at},null,8,["visible","format","parsed-value"])],2)),[[s(Cl),Ke]])],2)):fe("v-if",!0),Nt(H("div",{class:M([s(a).e("header"),(R.value==="year"||R.value==="month")&&s(a).em("header","bordered")])},[H("span",{class:M(s(a).e("prev-btn"))},[H("button",{type:"button","aria-label":s(u)("el.datepicker.prevYear"),class:M(["d-arrow-left",s(r).e("icon-btn")]),disabled:Oe.disabled,onClick:pt=>$(!1)},[he(Oe.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["aria-label","disabled","onClick"]),Nt(H("button",{type:"button","aria-label":s(u)("el.datepicker.prevMonth"),class:M([s(r).e("icon-btn"),"arrow-left"]),disabled:Oe.disabled,onClick:pt=>Z(!1)},[he(Oe.$slots,"prev-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1})])],10,["aria-label","disabled","onClick"]),[[tn,R.value==="date"]])],2),H("span",{role:"button",class:M(s(a).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Ln(pt=>ve("year"),["enter"]),onClick:pt=>ve("year")},Pe(s(D)),43,["onKeydown","onClick"]),Nt(H("span",{role:"button","aria-live":"polite",tabindex:"0",class:M([s(a).e("header-label"),{active:R.value==="month"}]),onKeydown:Ln(pt=>ve("month"),["enter"]),onClick:pt=>ve("month")},Pe(s(u)(`el.datepicker.month${s(_)+1}`)),43,["onKeydown","onClick"]),[[tn,R.value==="date"]]),H("span",{class:M(s(a).e("next-btn"))},[Nt(H("button",{type:"button","aria-label":s(u)("el.datepicker.nextMonth"),class:M([s(r).e("icon-btn"),"arrow-right"]),disabled:Oe.disabled,onClick:pt=>Z(!0)},[he(Oe.$slots,"next-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})])],10,["aria-label","disabled","onClick"]),[[tn,R.value==="date"]]),H("button",{type:"button","aria-label":s(u)("el.datepicker.nextYear"),class:M([s(r).e("icon-btn"),"d-arrow-right"]),disabled:Oe.disabled,onClick:pt=>$(!0)},[he(Oe.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["aria-label","disabled","onClick"])],2)],2),[[tn,R.value!=="time"]]),H("div",{class:M(s(r).e("content")),onKeydown:on},[R.value==="date"?(T(),ge(sm,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":s(q),date:k.value,"parsed-value":Oe.parsedValue,"disabled-date":s(h),disabled:Oe.disabled,"cell-class-name":s(v),"show-week-number":Oe.showWeekNumber,onPick:Y},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):fe("v-if",!0),R.value==="year"?(T(),ge(Fc,{key:1,ref_key:"currentViewRef",ref:y,"selection-mode":s(q),date:k.value,"disabled-date":s(h),disabled:Oe.disabled,"parsed-value":Oe.parsedValue,"cell-class-name":s(v),onPick:ae},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):fe("v-if",!0),R.value==="month"?(T(),ge(Vc,{key:2,ref_key:"currentViewRef",ref:y,"selection-mode":s(q),date:k.value,"parsed-value":Oe.parsedValue,"disabled-date":s(h),disabled:Oe.disabled,"cell-class-name":s(v),onPick:ue},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):fe("v-if",!0)],34)],2)],2),Oe.showFooter&&s(ce)&&s(oe)?(T(),F("div",{key:0,class:M(s(r).e("footer"))},[Nt(Q(s(Co),{text:"",size:"small",class:M(s(r).e("link-btn")),disabled:s(U),onClick:le},{default:ne(()=>[Tt(Pe(s(u)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[tn,!s(G)&&Oe.showNow]]),Oe.showConfirm?(T(),ge(s(Co),{key:0,plain:"",size:"small",class:M(s(r).e("link-btn")),disabled:s(ie),onClick:de},{default:ne(()=>[Tt(Pe(s(u)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):fe("v-if",!0)],2)):fe("v-if",!0)],2))}});var LK=Ue(DK,[["__file","panel-date-pick.vue"]]);const BK=qe({...Tz,...zb}),VK=e=>{const{emit:t}=Lt(),n=El(),o=ao();return a=>{const l=it(a.value)?a.value():a.value;if(l){t("pick",[Mt(l[0]).locale(e.value),Mt(l[1]).locale(e.value)]);return}a.onClick&&a.onClick({attrs:n,slots:o,emit:t})}},$b=(e,{defaultValue:t,defaultTime:n,leftDate:o,rightDate:r,step:a,unit:l,sortDates:i})=>{const{emit:u}=Lt(),{pickerNs:c}=et(xb),d=Ie("date-range-picker"),{t:f,lang:p}=Qt(),h=VK(p),v=L(),g=L(),m=L({endDate:null,selecting:!1}),y=_=>{m.value=_},k=(_=!1)=>{const z=s(v),I=s(g);Bc([z,I])&&u("pick",[z,I],_)},C=_=>{m.value.selecting=_,_||(m.value.endDate=null)},b=_=>{if(Be(_)&&_.length===2){const[z,I]=_;v.value=z,o.value=z,g.value=I,i(s(v),s(g))}else x()},x=()=>{let[_,z]=Dp(s(t),{lang:s(p),step:a,unit:l,unlinkPanels:e.unlinkPanels});const I=j=>j.diff(j.startOf("d"),"ms"),P=s(n);if(P){let j=0,O=0;if(Be(P)){const[A,K]=P.map(Mt);j=I(A),O=I(K)}else{const A=I(Mt(P));j=A,O=A}_=_.startOf("d").add(j,"ms"),z=z.startOf("d").add(O,"ms")}v.value=void 0,g.value=void 0,o.value=_,r.value=z};return ke(t,_=>{_&&x()},{immediate:!0}),ke(()=>e.parsedValue,_=>{(!_?.length||!Vn(_,[v.value,g.value]))&&b(_)},{immediate:!0}),ke(()=>e.visible,()=>{e.visible&&b(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:g,rangeState:m,lang:p,ppNs:c,drpNs:d,handleChangeRange:y,handleRangeConfirm:k,handleShortcutClick:h,onSelect:C,parseValue:b,t:f}},FK=(e,t,n,o)=>{const r=L("date"),a=L(),l=L("date"),i=L(),u=et(ia),{disabledDate:c}=u.props,{t:d,lang:f}=Qt(),p=S(()=>n.value.year()),h=S(()=>n.value.month()),v=S(()=>o.value.year()),g=S(()=>o.value.month());function m(_,z){const I=d("el.datepicker.year");if(_.value==="year"){const P=Math.floor(z.value/10)*10;return I?`${P} ${I} - ${P+9} ${I}`:`${P} - ${P+9}`}return`${z.value} ${I}`}function y(_){_?.focus()}async function k(_,z){if(e.disabled)return;const I=_==="left"?r:l,P=_==="left"?a:i;I.value=z,await Qe(),y(P.value)}async function C(_,z,I){if(e.disabled)return;const P=z==="left",j=P?n:o,O=P?o:n,A=P?r:l,K=P?a:i;if(_==="year"){const Y=j.value.year(I);j.value=Ph(Y,f.value,c)}_==="month"&&(j.value=ou(j.value,j.value.year(),I,f.value,c)),e.unlinkPanels||(O.value=z==="left"?j.value.add(1,"month"):j.value.subtract(1,"month")),A.value=_==="year"?"month":"date",await Qe(),y(K.value),b(_)}function b(_){t("panel-change",[n.value.toDate(),o.value.toDate()],_)}function x(_,z,I){const P=I?"add":"subtract";return _==="year"?z[P](10,"year"):z[P](1,"year")}return{leftCurrentView:r,rightCurrentView:l,leftCurrentViewRef:a,rightCurrentViewRef:i,leftYear:p,rightYear:v,leftMonth:h,rightMonth:g,leftYearLabel:S(()=>m(r,p)),rightYearLabel:S(()=>m(l,v)),showLeftPicker:_=>k("left",_),showRightPicker:_=>k("right",_),handleLeftYearPick:_=>C("year","left",_),handleRightYearPick:_=>C("year","right",_),handleLeftMonthPick:_=>C("month","left",_),handleRightMonthPick:_=>C("month","right",_),handlePanelChange:b,adjustDateByView:x}},pf="month",qK=te({__name:"panel-date-range",props:BK,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,o=et(ia),r=et(kd,void 0),{disabledDate:a,cellClassName:l,defaultTime:i,clearable:u}=o.props,c=sn(o.props,"format"),d=sn(o.props,"shortcuts"),f=sn(o.props,"defaultValue"),{lang:p}=Qt(),h=L(Mt().locale(p.value)),v=L(Mt().locale(p.value).add(1,pf)),{minDate:g,maxDate:m,rangeState:y,ppNs:k,drpNs:C,handleChangeRange:b,handleRangeConfirm:x,handleShortcutClick:_,onSelect:z,parseValue:I,t:P}=$b(n,{defaultValue:f,defaultTime:i,leftDate:h,rightDate:v,unit:pf,sortDates:Jn});ke(()=>n.visible,Je=>{!Je&&y.value.selecting&&(I(n.parsedValue),z(!1))});const j=L({min:null,max:null}),O=L({min:null,max:null}),{leftCurrentView:A,rightCurrentView:K,leftCurrentViewRef:Y,rightCurrentViewRef:Z,leftYear:$,rightYear:R,leftMonth:D,rightMonth:B,leftYearLabel:q,rightYearLabel:G,showLeftPicker:X,showRightPicker:J,handleLeftYearPick:ue,handleRightYearPick:ae,handleLeftMonthPick:ve,handleRightMonthPick:re,handlePanelChange:ce,adjustDateByView:oe}=FK(n,t,h,v),ie=S(()=>!!d.value.length),de=S(()=>j.value.min!==null?j.value.min:g.value?g.value.format(Ce.value):""),U=S(()=>j.value.max!==null?j.value.max:m.value||g.value?(m.value||g.value).format(Ce.value):""),le=S(()=>O.value.min!==null?O.value.min:g.value?g.value.format(_e.value):""),me=S(()=>O.value.max!==null?O.value.max:m.value||g.value?(m.value||g.value).format(_e.value):""),_e=S(()=>n.timeFormat||AE(c.value||"")||nu),Ce=S(()=>n.dateFormat||ME(c.value||"")||Xl),we=Je=>Bc(Je)&&(a?!a(Je[0].toDate())&&!a(Je[1].toDate()):!0),$e=()=>{h.value=oe(A.value,h.value,!1),n.unlinkPanels||(v.value=h.value.add(1,"month")),ce("year")},Re=()=>{h.value=h.value.subtract(1,"month"),n.unlinkPanels||(v.value=h.value.add(1,"month")),ce("month")},Ke=()=>{n.unlinkPanels?v.value=oe(K.value,v.value,!0):(h.value=oe(K.value,h.value,!0),v.value=h.value.add(1,"month")),ce("year")},De=()=>{n.unlinkPanels?v.value=v.value.add(1,"month"):(h.value=h.value.add(1,"month"),v.value=h.value.add(1,"month")),ce("month")},at=()=>{h.value=oe(A.value,h.value,!0),ce("year")},Ze=()=>{h.value=h.value.add(1,"month"),ce("month")},ot=()=>{v.value=oe(K.value,v.value,!1),ce("year")},gt=()=>{v.value=v.value.subtract(1,"month"),ce("month")},Ne=S(()=>{const Je=(D.value+1)%12,Jt=D.value+1>=12?1:0;return n.unlinkPanels&&new Date($.value+Jt,Je)<new Date(R.value,B.value)}),vt=S(()=>n.unlinkPanels&&R.value*12+B.value-($.value*12+D.value+1)>=12),_t=S(()=>!(g.value&&m.value&&!y.value.selecting&&Bc([g.value,m.value]))),Gt=S(()=>n.type==="datetime"||n.type==="datetimerange"),on=(Je,Jt)=>{if(Je)return i?Mt(i[Jt]||i).locale(p.value).year(Je.year()).month(Je.month()).date(Je.date()):Je},yt=(Je,Jt=!0)=>{const Ft=Je.minDate,Tn=Je.maxDate,vo=on(Ft,0),Po=on(Tn,1);m.value===Po&&g.value===vo||(t("calendar-change",[Ft.toDate(),Tn&&Tn.toDate()]),m.value=Po,g.value=vo,!Gt.value&&Jt&&(Jt=!vo||!Po),x(Jt))},Ot=L(!1),Oe=L(!1),ut=()=>{Ot.value=!1},pt=()=>{Oe.value=!1},ye=(Je,Jt)=>{j.value[Jt]=Je;const Ft=Mt(Je,Ce.value).locale(p.value);if(Ft.isValid()){if(a&&a(Ft.toDate()))return;Jt==="min"?(h.value=Ft,g.value=(g.value||h.value).year(Ft.year()).month(Ft.month()).date(Ft.date()),!n.unlinkPanels&&(!m.value||m.value.isBefore(g.value))&&(v.value=Ft.add(1,"month"),m.value=g.value.add(1,"month"))):(v.value=Ft,m.value=(m.value||v.value).year(Ft.year()).month(Ft.month()).date(Ft.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(m.value))&&(h.value=Ft.subtract(1,"month"),g.value=m.value.subtract(1,"month"))),Jn(g.value,m.value),x(!0)}},ct=(Je,Jt)=>{j.value[Jt]=null},xe=(Je,Jt)=>{O.value[Jt]=Je;const Ft=Mt(Je,_e.value).locale(p.value);Ft.isValid()&&(Jt==="min"?(Ot.value=!0,g.value=(g.value||h.value).hour(Ft.hour()).minute(Ft.minute()).second(Ft.second()),h.value=g.value):(Oe.value=!0,m.value=(m.value||v.value).hour(Ft.hour()).minute(Ft.minute()).second(Ft.second()),v.value=m.value))},dt=(Je,Jt)=>{O.value[Jt]=null,Jt==="min"?(h.value=g.value,Ot.value=!1,(!m.value||m.value.isBefore(g.value))&&(m.value=g.value)):(v.value=m.value,Oe.value=!1,m.value&&m.value.isBefore(g.value)&&(g.value=m.value)),x(!0)},Fe=(Je,Jt,Ft)=>{O.value.min||(Je&&(h.value=Je,g.value=(g.value||h.value).hour(Je.hour()).minute(Je.minute()).second(Je.second())),Ft||(Ot.value=Jt),(!m.value||m.value.isBefore(g.value))&&(m.value=g.value,v.value=Je,Qe(()=>{I(n.parsedValue)})),x(!0))},en=(Je,Jt,Ft)=>{O.value.max||(Je&&(v.value=Je,m.value=(m.value||v.value).hour(Je.hour()).minute(Je.minute()).second(Je.second())),Ft||(Oe.value=Jt),m.value&&m.value.isBefore(g.value)&&(g.value=m.value),x(!0))},Fn=()=>{let Je=null;o?.emptyValues&&(Je=o.emptyValues.valueOnClear.value),h.value=Dp(s(f),{lang:s(p),unit:"month",unlinkPanels:n.unlinkPanels})[0],v.value=h.value.add(1,"month"),m.value=void 0,g.value=void 0,x(!0),t("pick",Je)},lo=Je=>ru(Je,c.value||"",p.value,r);function Jn(Je,Jt){if(n.unlinkPanels&&Jt){const Ft=Je?.year()||0,Tn=Je?.month()||0,vo=Jt.year(),Po=Jt.month();v.value=Ft===vo&&Tn===Po?Jt.add(1,pf):Jt}else v.value=h.value.add(1,pf),Jt&&(v.value=v.value.hour(Jt.hour()).minute(Jt.minute()).second(Jt.second()))}return t("set-picker-option",["isValidValue",we]),t("set-picker-option",["parseUserInput",lo]),t("set-picker-option",["handleClear",Fn]),(Je,Jt)=>(T(),F("div",{class:M([s(k).b(),s(C).b(),s(k).is("border",Je.border),s(k).is("disabled",Je.disabled),{"has-sidebar":Je.$slots.sidebar||s(ie),"has-time":s(Gt)}])},[H("div",{class:M(s(k).e("body-wrapper"))},[he(Je.$slots,"sidebar",{class:M(s(k).e("sidebar"))}),s(ie)?(T(),F("div",{key:0,class:M(s(k).e("sidebar"))},[(T(!0),F(tt,null,Dt(s(d),(Ft,Tn)=>(T(),F("button",{key:Tn,type:"button",disabled:Je.disabled,class:M(s(k).e("shortcut")),onClick:vo=>s(_)(Ft)},Pe(Ft.text),11,["disabled","onClick"]))),128))],2)):fe("v-if",!0),H("div",{class:M(s(k).e("body"))},[s(Gt)?(T(),F("div",{key:0,class:M(s(C).e("time-header"))},[H("span",{class:M(s(C).e("editors-wrap"))},[H("span",{class:M(s(C).e("time-picker-wrap"))},[Q(s(Yo),{size:"small",disabled:s(y).selecting||Je.disabled,placeholder:s(P)("el.datepicker.startDate"),class:M(s(C).e("editor")),"model-value":s(de),"validate-event":!1,onInput:Ft=>ye(Ft,"min"),onChange:Ft=>ct(Ft,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),Nt((T(),F("span",{class:M(s(C).e("time-picker-wrap"))},[Q(s(Yo),{size:"small",class:M(s(C).e("editor")),disabled:s(y).selecting||Je.disabled,placeholder:s(P)("el.datepicker.startTime"),"model-value":s(le),"validate-event":!1,onFocus:Ft=>Ot.value=!0,onInput:Ft=>xe(Ft,"min"),onChange:Ft=>dt(Ft,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),Q(s(Oh),{visible:Ot.value,format:s(_e),"datetime-role":"start","parsed-value":h.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[s(Cl),ut]])],2),H("span",null,[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})]),H("span",{class:M([s(C).e("editors-wrap"),"is-right"])},[H("span",{class:M(s(C).e("time-picker-wrap"))},[Q(s(Yo),{size:"small",class:M(s(C).e("editor")),disabled:s(y).selecting||Je.disabled,placeholder:s(P)("el.datepicker.endDate"),"model-value":s(U),readonly:!s(g),"validate-event":!1,onInput:Ft=>ye(Ft,"max"),onChange:Ft=>ct(Ft,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),Nt((T(),F("span",{class:M(s(C).e("time-picker-wrap"))},[Q(s(Yo),{size:"small",class:M(s(C).e("editor")),disabled:s(y).selecting||Je.disabled,placeholder:s(P)("el.datepicker.endTime"),"model-value":s(me),readonly:!s(g),"validate-event":!1,onFocus:Ft=>s(g)&&(Oe.value=!0),onInput:Ft=>xe(Ft,"max"),onChange:Ft=>dt(Ft,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),Q(s(Oh),{"datetime-role":"end",visible:Oe.value,format:s(_e),"parsed-value":v.value,onPick:en},null,8,["visible","format","parsed-value"])],2)),[[s(Cl),pt]])],2)],2)):fe("v-if",!0),H("div",{class:M([[s(k).e("content"),s(C).e("content")],"is-left"])},[H("div",{class:M(s(C).e("header"))},[H("button",{type:"button",class:M([s(k).e("icon-btn"),"d-arrow-left"]),"aria-label":s(P)("el.datepicker.prevYear"),disabled:Je.disabled,onClick:$e},[he(Je.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["aria-label","disabled"]),Nt(H("button",{type:"button",class:M([s(k).e("icon-btn"),"arrow-left"]),"aria-label":s(P)("el.datepicker.prevMonth"),disabled:Je.disabled,onClick:Re},[he(Je.$slots,"prev-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1})])],10,["aria-label","disabled"]),[[tn,s(A)==="date"]]),Je.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s(vt)||Je.disabled,class:M([[s(k).e("icon-btn"),s(k).is("disabled",!s(vt)||Je.disabled)],"d-arrow-right"]),"aria-label":s(P)("el.datepicker.nextYear"),onClick:at},[he(Je.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["disabled","aria-label"])):fe("v-if",!0),Je.unlinkPanels&&s(A)==="date"?(T(),F("button",{key:1,type:"button",disabled:!s(Ne)||Je.disabled,class:M([[s(k).e("icon-btn"),s(k).is("disabled",!s(Ne)||Je.disabled)],"arrow-right"]),"aria-label":s(P)("el.datepicker.nextMonth"),onClick:Ze},[he(Je.$slots,"next-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})])],10,["disabled","aria-label"])):fe("v-if",!0),H("div",null,[H("span",{role:"button",class:M(s(C).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Ln(Ft=>s(X)("year"),["enter"]),onClick:Ft=>s(X)("year")},Pe(s(q)),43,["onKeydown","onClick"]),Nt(H("span",{role:"button","aria-live":"polite",tabindex:"0",class:M([s(C).e("header-label"),{active:s(A)==="month"}]),onKeydown:Ln(Ft=>s(X)("month"),["enter"]),onClick:Ft=>s(X)("month")},Pe(s(P)(`el.datepicker.month${h.value.month()+1}`)),43,["onKeydown","onClick"]),[[tn,s(A)==="date"]])])],2),s(A)==="date"?(T(),ge(sm,{key:0,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"range",date:h.value,"min-date":s(g),"max-date":s(m),"range-state":s(y),"disabled-date":s(a),"cell-class-name":s(l),"show-week-number":Je.showWeekNumber,disabled:Je.disabled,onChangerange:s(b),onPick:yt,onSelect:s(z)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):fe("v-if",!0),s(A)==="year"?(T(),ge(Fc,{key:1,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"year",date:h.value,"disabled-date":s(a),"parsed-value":Je.parsedValue,disabled:Je.disabled,onPick:s(ue)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):fe("v-if",!0),s(A)==="month"?(T(),ge(Vc,{key:2,ref_key:"leftCurrentViewRef",ref:Y,"selection-mode":"month",date:h.value,"parsed-value":Je.parsedValue,"disabled-date":s(a),disabled:Je.disabled,onPick:s(ve)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):fe("v-if",!0)],2),H("div",{class:M([[s(k).e("content"),s(C).e("content")],"is-right"])},[H("div",{class:M([s(C).e("header"),s(k).is("disabled",!s(vt)||Je.disabled)])},[Je.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s(vt)||Je.disabled,class:M([s(k).e("icon-btn"),"d-arrow-left"]),"aria-label":s(P)("el.datepicker.prevYear"),onClick:ot},[he(Je.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["disabled","aria-label"])):fe("v-if",!0),Je.unlinkPanels&&s(K)==="date"?(T(),F("button",{key:1,type:"button",disabled:!s(Ne)||Je.disabled,class:M([s(k).e("icon-btn"),"arrow-left"]),"aria-label":s(P)("el.datepicker.prevMonth"),onClick:gt},[he(Je.$slots,"prev-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1})])],10,["disabled","aria-label"])):fe("v-if",!0),H("button",{type:"button","aria-label":s(P)("el.datepicker.nextYear"),class:M([s(k).e("icon-btn"),"d-arrow-right"]),disabled:Je.disabled,onClick:Ke},[he(Je.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["aria-label","disabled"]),Nt(H("button",{type:"button",class:M([s(k).e("icon-btn"),"arrow-right"]),disabled:Je.disabled,"aria-label":s(P)("el.datepicker.nextMonth"),onClick:De},[he(Je.$slots,"next-month",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})])],10,["disabled","aria-label"]),[[tn,s(K)==="date"]]),H("div",null,[H("span",{role:"button",class:M(s(C).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Ln(Ft=>s(J)("year"),["enter"]),onClick:Ft=>s(J)("year")},Pe(s(G)),43,["onKeydown","onClick"]),Nt(H("span",{role:"button","aria-live":"polite",tabindex:"0",class:M([s(C).e("header-label"),{active:s(K)==="month"}]),onKeydown:Ln(Ft=>s(J)("month"),["enter"]),onClick:Ft=>s(J)("month")},Pe(s(P)(`el.datepicker.month${v.value.month()+1}`)),43,["onKeydown","onClick"]),[[tn,s(K)==="date"]])])],2),s(K)==="date"?(T(),ge(sm,{key:0,ref_key:"rightCurrentViewRef",ref:Z,"selection-mode":"range",date:v.value,"min-date":s(g),"max-date":s(m),"range-state":s(y),"disabled-date":s(a),"cell-class-name":s(l),"show-week-number":Je.showWeekNumber,disabled:Je.disabled,onChangerange:s(b),onPick:yt,onSelect:s(z)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):fe("v-if",!0),s(K)==="year"?(T(),ge(Fc,{key:1,ref_key:"rightCurrentViewRef",ref:Z,"selection-mode":"year",date:v.value,"disabled-date":s(a),"parsed-value":Je.parsedValue,disabled:Je.disabled,onPick:s(ae)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):fe("v-if",!0),s(K)==="month"?(T(),ge(Vc,{key:2,ref_key:"rightCurrentViewRef",ref:Z,"selection-mode":"month",date:v.value,"parsed-value":Je.parsedValue,"disabled-date":s(a),disabled:Je.disabled,onPick:s(re)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):fe("v-if",!0)],2)],2)],2),Je.showFooter&&s(Gt)&&(Je.showConfirm||s(u))?(T(),F("div",{key:0,class:M(s(k).e("footer"))},[s(u)?(T(),ge(s(Co),{key:0,text:"",size:"small",class:M(s(k).e("link-btn")),onClick:Fn},{default:ne(()=>[Tt(Pe(s(P)("el.datepicker.clear")),1)]),_:1},8,["class"])):fe("v-if",!0),Je.showConfirm?(T(),ge(s(Co),{key:1,plain:"",size:"small",class:M(s(k).e("link-btn")),disabled:s(_t),onClick:Ft=>s(x)(!1)},{default:ne(()=>[Tt(Pe(s(P)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled","onClick"])):fe("v-if",!0)],2)):fe("v-if",!0)],2))}});var KK=Ue(qK,[["__file","panel-date-range.vue"]]);const HK=qe({...zb}),WK=["pick","set-picker-option","calendar-change"],UK=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:o}=Qt(),r=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},a=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},l=()=>{t.value=t.value.add(1,"year")},i=()=>{n.value=n.value.subtract(1,"year")},u=S(()=>`${t.value.year()} ${o("el.datepicker.year")}`),c=S(()=>`${n.value.year()} ${o("el.datepicker.year")}`),d=S(()=>t.value.year()),f=S(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:r,rightNextYear:a,leftNextYear:l,rightPrevYear:i,leftLabel:u,rightLabel:c,leftYear:d,rightYear:f}},gf="year",YK=te({name:"DatePickerMonthRange"}),GK=te({...YK,props:HK,emits:WK,setup(e,{emit:t}){const n=e,{lang:o}=Qt(),r=et(ia),a=et(kd,void 0),{shortcuts:l,disabledDate:i,cellClassName:u}=r.props,c=sn(r.props,"format"),d=sn(r.props,"defaultValue"),f=L(Mt().locale(o.value)),p=L(Mt().locale(o.value).add(1,gf)),{minDate:h,maxDate:v,rangeState:g,ppNs:m,drpNs:y,handleChangeRange:k,handleRangeConfirm:C,handleShortcutClick:b,onSelect:x,parseValue:_}=$b(n,{defaultValue:d,leftDate:f,rightDate:p,unit:gf,sortDates:q}),z=S(()=>!!l.length),{leftPrevYear:I,rightNextYear:P,leftNextYear:j,rightPrevYear:O,leftLabel:A,rightLabel:K,leftYear:Y,rightYear:Z}=UK({unlinkPanels:sn(n,"unlinkPanels"),leftDate:f,rightDate:p}),$=S(()=>n.unlinkPanels&&Z.value>Y.value+1),R=(G,X=!0)=>{const J=G.minDate,ue=G.maxDate;v.value===ue&&h.value===J||(t("calendar-change",[J.toDate(),ue&&ue.toDate()]),v.value=ue,h.value=J,X&&C())},D=()=>{let G=null;r?.emptyValues&&(G=r.emptyValues.valueOnClear.value),f.value=Dp(s(d),{lang:s(o),unit:"year",unlinkPanels:n.unlinkPanels})[0],p.value=f.value.add(1,"year"),t("pick",G)},B=G=>ru(G,c.value,o.value,a);function q(G,X){if(n.unlinkPanels&&X){const J=G?.year()||0,ue=X.year();p.value=J===ue?X.add(1,gf):X}else p.value=f.value.add(1,gf)}return ke(()=>n.visible,G=>{!G&&g.value.selecting&&(_(n.parsedValue),x(!1))}),t("set-picker-option",["isValidValue",Bc]),t("set-picker-option",["parseUserInput",B]),t("set-picker-option",["handleClear",D]),(G,X)=>(T(),F("div",{class:M([s(m).b(),s(y).b(),s(m).is("border",G.border),s(m).is("disabled",G.disabled),{"has-sidebar":!!G.$slots.sidebar||s(z)}])},[H("div",{class:M(s(m).e("body-wrapper"))},[he(G.$slots,"sidebar",{class:M(s(m).e("sidebar"))}),s(z)?(T(),F("div",{key:0,class:M(s(m).e("sidebar"))},[(T(!0),F(tt,null,Dt(s(l),(J,ue)=>(T(),F("button",{key:ue,type:"button",class:M(s(m).e("shortcut")),disabled:G.disabled,onClick:ae=>s(b)(J)},Pe(J.text),11,["disabled","onClick"]))),128))],2)):fe("v-if",!0),H("div",{class:M(s(m).e("body"))},[H("div",{class:M([[s(m).e("content"),s(y).e("content")],"is-left"])},[H("div",{class:M(s(y).e("header"))},[H("button",{type:"button",class:M([s(m).e("icon-btn"),"d-arrow-left"]),disabled:G.disabled,onClick:s(I)},[he(G.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["disabled","onClick"]),G.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s($)||G.disabled,class:M([[s(m).e("icon-btn"),s(m).is("disabled",!s($))],"d-arrow-right"]),onClick:s(j)},[he(G.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["disabled","onClick"])):fe("v-if",!0),H("div",null,Pe(s(A)),1)],2),Q(Vc,{"selection-mode":"range",date:f.value,"min-date":s(h),"max-date":s(v),"range-state":s(g),"disabled-date":s(i),disabled:G.disabled,"cell-class-name":s(u),onChangerange:s(k),onPick:R,onSelect:s(x)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),H("div",{class:M([[s(m).e("content"),s(y).e("content")],"is-right"])},[H("div",{class:M(s(y).e("header"))},[G.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s($)||G.disabled,class:M([[s(m).e("icon-btn"),s(m).is("disabled",!s($))],"d-arrow-left"]),onClick:s(O)},[he(G.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["disabled","onClick"])):fe("v-if",!0),H("button",{type:"button",class:M([s(m).e("icon-btn"),"d-arrow-right"]),disabled:G.disabled,onClick:s(P)},[he(G.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["disabled","onClick"]),H("div",null,Pe(s(K)),1)],2),Q(Vc,{"selection-mode":"range",date:p.value,"min-date":s(h),"max-date":s(v),"range-state":s(g),"disabled-date":s(i),disabled:G.disabled,"cell-class-name":s(u),onChangerange:s(k),onPick:R,onSelect:s(x)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var XK=Ue(GK,[["__file","panel-month-range.vue"]]);const ZK=qe({...zb}),QK=["pick","set-picker-option","calendar-change"],JK=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const o=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},r=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},a=()=>{t.value=t.value.add(10,"year")},l=()=>{n.value=n.value.subtract(10,"year")},i=S(()=>{const f=Math.floor(t.value.year()/10)*10;return`${f}-${f+9}`}),u=S(()=>{const f=Math.floor(n.value.year()/10)*10;return`${f}-${f+9}`}),c=S(()=>Math.floor(t.value.year()/10)*10+9),d=S(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:o,rightNextYear:r,leftNextYear:a,rightPrevYear:l,leftLabel:i,rightLabel:u,leftYear:c,rightYear:d}},bi=10,Fu="year",eH=te({name:"DatePickerYearRange"}),tH=te({...eH,props:ZK,emits:QK,setup(e,{emit:t}){const n=e,{lang:o}=Qt(),r=L(Mt().locale(o.value)),a=L(Mt().locale(o.value).add(bi,Fu)),l=et(kd,void 0),i=et(ia),{shortcuts:u,disabledDate:c,cellClassName:d}=i.props,f=sn(i.props,"format"),p=sn(i.props,"defaultValue"),{minDate:h,maxDate:v,rangeState:g,ppNs:m,drpNs:y,handleChangeRange:k,handleRangeConfirm:C,handleShortcutClick:b,onSelect:x,parseValue:_}=$b(n,{defaultValue:p,leftDate:r,rightDate:a,step:bi,unit:Fu,sortDates:ue}),{leftPrevYear:z,rightNextYear:I,leftNextYear:P,rightPrevYear:j,leftLabel:O,rightLabel:A,leftYear:K,rightYear:Y}=JK({unlinkPanels:sn(n,"unlinkPanels"),leftDate:r,rightDate:a}),Z=S(()=>!!u.length),$=S(()=>[m.b(),y.b(),m.is("border",n.border),m.is("disabled",n.disabled),{"has-sidebar":!!ao().sidebar||Z.value}]),R=S(()=>({content:[m.e("content"),y.e("content"),"is-left"],arrowLeftBtn:[m.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[m.e("icon-btn"),m.is("disabled",!B.value),"d-arrow-right"]})),D=S(()=>({content:[m.e("content"),y.e("content"),"is-right"],arrowLeftBtn:[m.e("icon-btn"),m.is("disabled",!B.value),"d-arrow-left"],arrowRightBtn:[m.e("icon-btn"),"d-arrow-right"]})),B=S(()=>n.unlinkPanels&&Y.value>K.value+1),q=(ae,ve=!0)=>{const re=ae.minDate,ce=ae.maxDate;v.value===ce&&h.value===re||(t("calendar-change",[re.toDate(),ce&&ce.toDate()]),v.value=ce,h.value=re,ve&&C())},G=ae=>ru(ae,f.value,o.value,l),X=ae=>Bc(ae)&&(c?!c(ae[0].toDate())&&!c(ae[1].toDate()):!0),J=()=>{let ae=null;i?.emptyValues&&(ae=i.emptyValues.valueOnClear.value);const ve=Dp(s(p),{lang:s(o),step:bi,unit:Fu,unlinkPanels:n.unlinkPanels});r.value=ve[0],a.value=ve[1],t("pick",ae)};function ue(ae,ve){if(n.unlinkPanels&&ve){const re=ae?.year()||0,ce=ve.year();a.value=re+bi>ce?ve.add(bi,Fu):ve}else a.value=r.value.add(bi,Fu)}return ke(()=>n.visible,ae=>{!ae&&g.value.selecting&&(_(n.parsedValue),x(!1))}),t("set-picker-option",["isValidValue",X]),t("set-picker-option",["parseUserInput",G]),t("set-picker-option",["handleClear",J]),(ae,ve)=>(T(),F("div",{class:M(s($))},[H("div",{class:M(s(m).e("body-wrapper"))},[he(ae.$slots,"sidebar",{class:M(s(m).e("sidebar"))}),s(Z)?(T(),F("div",{key:0,class:M(s(m).e("sidebar"))},[(T(!0),F(tt,null,Dt(s(u),(re,ce)=>(T(),F("button",{key:ce,type:"button",class:M(s(m).e("shortcut")),disabled:ae.disabled,onClick:oe=>s(b)(re)},Pe(re.text),11,["disabled","onClick"]))),128))],2)):fe("v-if",!0),H("div",{class:M(s(m).e("body"))},[H("div",{class:M(s(R).content)},[H("div",{class:M(s(y).e("header"))},[H("button",{type:"button",class:M(s(R).arrowLeftBtn),disabled:ae.disabled,onClick:s(z)},[he(ae.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["disabled","onClick"]),ae.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s(B)||ae.disabled,class:M(s(R).arrowRightBtn),onClick:s(P)},[he(ae.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["disabled","onClick"])):fe("v-if",!0),H("div",null,Pe(s(O)),1)],2),Q(Fc,{"selection-mode":"range",date:r.value,"min-date":s(h),"max-date":s(v),"range-state":s(g),"disabled-date":s(c),disabled:ae.disabled,"cell-class-name":s(d),onChangerange:s(k),onPick:q,onSelect:s(x)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),H("div",{class:M(s(D).content)},[H("div",{class:M(s(y).e("header"))},[ae.unlinkPanels?(T(),F("button",{key:0,type:"button",disabled:!s(B)||ae.disabled,class:M(s(D).arrowLeftBtn),onClick:s(j)},[he(ae.$slots,"prev-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(is))]),_:1})])],10,["disabled","onClick"])):fe("v-if",!0),H("button",{type:"button",class:M(s(D).arrowRightBtn),disabled:ae.disabled,onClick:s(I)},[he(ae.$slots,"next-year",{},()=>[Q(s(lt),null,{default:ne(()=>[Q(s(us))]),_:1})])],10,["disabled","onClick"]),H("div",null,Pe(s(A)),1)],2),Q(Fc,{"selection-mode":"range",date:a.value,"min-date":s(h),"max-date":s(v),"range-state":s(g),"disabled-date":s(c),disabled:ae.disabled,"cell-class-name":s(d),onChangerange:s(k),onPick:q,onSelect:s(x)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var nH=Ue(tH,[["__file","panel-year-range.vue"]]);const oH=function(e){switch(e){case"daterange":case"datetimerange":return KK;case"monthrange":return XK;case"yearrange":return nH;default:return LK}};function rH(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}Mt.extend(NE);Mt.extend(oK);Mt.extend(Cb);Mt.extend(sK);Mt.extend(dK);Mt.extend(gK);Mt.extend(bK);Mt.extend(SK);var aH=te({name:"ElDatePickerPanel",install:null,props:_K,emits:[St,"calendar-change","panel-change","visible-change","pick"],setup(e,{slots:t,emit:n}){const o=Ie("picker-panel"),r=et(ia,void 0);if(Zt(r)){const d=an({...fo(e)});Ut(ia,{props:d})}Ut(xb,{slots:t,pickerNs:o});const{parsedValue:a,onCalendarChange:l,onPanelChange:i,onSetPickerOption:u,onPick:c}=et(wz,()=>Cz(e,n),!0);return()=>{const d=oH(e.type);return Q(d,Vt(e,{parsedValue:a.value,"onSet-picker-option":u,"onCalendar-change":l,"onPanel-change":i,onPick:c}),rH(t)?t:{default:()=>[t]})}}});const Oz=Pt(aH),lH=qe({..._b,type:{type:se(String),default:"date"}});function sH(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}var iH=te({name:"ElDatePicker",install:null,props:lH,emits:[St],setup(e,{expose:t,emit:n,slots:o}){const r=S(()=>!e.format);Ut(kd,r),Ut(kb,an(sn(e,"popperOptions")));const a=L();t({focus:()=>{var u;(u=a.value)==null||u.focus()},blur:()=>{var u;(u=a.value)==null||u.blur()},handleOpen:()=>{var u;(u=a.value)==null||u.handleOpen()},handleClose:()=>{var u;(u=a.value)==null||u.handleClose()}});const i=u=>{n(St,u)};return()=>{var u;const c=(u=e.format)!=null?u:N5[e.type]||Xl;return Q(Sz,Vt(e,{format:c,type:e.type,ref:a,"onUpdate:modelValue":i}),{default:d=>Q(Oz,Vt({border:!1},d),sH(o)?o:{default:()=>[o]}),"range-separator":o["range-separator"]})}}});const uH=Pt(iH),Pb=Symbol("elDescriptions");var qu=te({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:et(Pb,{})}},render(){var e;const t=J6(this.cell),n=(((e=this.cell)==null?void 0:e.dirs)||[]).map(y=>{const{dir:k,arg:C,modifiers:b,value:x}=y;return[k,x,C,b]}),{border:o,direction:r}=this.descriptions,a=r==="vertical",l=()=>{var y,k,C;return((C=(k=(y=this.cell)==null?void 0:y.children)==null?void 0:k.label)==null?void 0:C.call(k))||t.label},i=()=>{var y,k,C;return(C=(k=(y=this.cell)==null?void 0:y.children)==null?void 0:k.default)==null?void 0:C.call(k)},u=t.span,c=t.rowspan,d=t.align?`is-${t.align}`:"",f=t.labelAlign?`is-${t.labelAlign}`:d,p=t.className,h=t.labelClassName,v=this.type==="label"&&(t.labelWidth||this.descriptions.labelWidth)||t.width,g={width:Nn(v),minWidth:Nn(t.minWidth)},m=Ie("descriptions");switch(this.type){case"label":return Nt(mt(this.tag,{style:g,class:[m.e("cell"),m.e("label"),m.is("bordered-label",o),m.is("vertical-label",a),f,h],colSpan:a?u:1,rowspan:a?1:c},l()),n);case"content":return Nt(mt(this.tag,{style:g,class:[m.e("cell"),m.e("content"),m.is("bordered-content",o),m.is("vertical-content",a),d,p],colSpan:a?u:u*2-1,rowspan:a?c*2-1:c},i()),n);default:{const y=l(),k={},C=Nn(t.labelWidth||this.descriptions.labelWidth);return C&&(k.width=C,k.display="inline-block"),Nt(mt("td",{style:g,class:[m.e("cell"),d],colSpan:u,rowspan:c},[Yn(y)?void 0:mt("span",{style:k,class:[m.e("label"),h]},y),mt("span",{class:[m.e("content"),p]},i())]),n)}}}});const cH=qe({row:{type:se(Array),default:()=>[]}}),dH=te({name:"ElDescriptionsRow"}),fH=te({...dH,props:cH,setup(e){const t=et(Pb,{});return(n,o)=>s(t).direction==="vertical"?(T(),F(tt,{key:0},[H("tr",null,[(T(!0),F(tt,null,Dt(n.row,(r,a)=>(T(),ge(s(qu),{key:`tr1-${a}`,cell:r,tag:"th",type:"label"},null,8,["cell"]))),128))]),H("tr",null,[(T(!0),F(tt,null,Dt(n.row,(r,a)=>(T(),ge(s(qu),{key:`tr2-${a}`,cell:r,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(T(),F("tr",{key:1},[(T(!0),F(tt,null,Dt(n.row,(r,a)=>(T(),F(tt,{key:`tr3-${a}`},[s(t).border?(T(),F(tt,{key:0},[Q(s(qu),{cell:r,tag:"td",type:"label"},null,8,["cell"]),Q(s(qu),{cell:r,tag:"td",type:"content"},null,8,["cell"])],64)):(T(),ge(s(qu),{key:1,cell:r,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var hH=Ue(fH,[["__file","descriptions-row.vue"]]);const pH=qe({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:io,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),$z="ElDescriptionsItem",gH=te({name:"ElDescriptions"}),vH=te({...gH,props:pH,setup(e){const t=e,n=Ie("descriptions"),o=ro(),r=ao();Ut(Pb,t);const a=S(()=>[n.b(),n.m(o.value)]),l=(u,c,d,f=!1)=>(u.props||(u.props={}),c>d&&(u.props.span=d),f&&(u.props.span=c),u),i=()=>{if(!r.default)return[];const u=Ta(r.default()).filter(v=>{var g;return((g=v?.type)==null?void 0:g.name)===$z}),c=[];let d=[],f=t.column,p=0;const h=[];return u.forEach((v,g)=>{var m,y,k;const C=((m=v.props)==null?void 0:m.span)||1,b=((y=v.props)==null?void 0:y.rowspan)||1,x=c.length;if(h[x]||(h[x]=0),b>1)for(let _=1;_<b;_++)h[k=x+_]||(h[k]=0),h[x+_]++,p++;if(h[x]>0&&(f-=h[x],h[x]=0),g<u.length-1&&(p+=C>f?f:C),g===u.length-1){const _=t.column-p%t.column;d.push(l(v,_,f,!0)),c.push(d);return}C<f?(f-=C,d.push(v)):(d.push(l(v,C,f)),c.push(d),f=t.column,d=[])}),c};return(u,c)=>(T(),F("div",{class:M(s(a))},[u.title||u.extra||u.$slots.title||u.$slots.extra?(T(),F("div",{key:0,class:M(s(n).e("header"))},[H("div",{class:M(s(n).e("title"))},[he(u.$slots,"title",{},()=>[Tt(Pe(u.title),1)])],2),H("div",{class:M(s(n).e("extra"))},[he(u.$slots,"extra",{},()=>[Tt(Pe(u.extra),1)])],2)],2)):fe("v-if",!0),H("div",{class:M(s(n).e("body"))},[H("table",{class:M([s(n).e("table"),s(n).is("bordered",u.border)])},[H("tbody",null,[(T(!0),F(tt,null,Dt(i(),(d,f)=>(T(),ge(hH,{key:f,row:d},null,8,["row"]))),128))])],2)],2)],2))}});var mH=Ue(vH,[["__file","description.vue"]]);const LC=["left","center","right"],yH=qe({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,values:LC,default:"left"},labelAlign:{type:String,values:LC},className:{type:String,default:""},labelClassName:{type:String,default:""}}),Pz=te({name:$z,props:yH}),bH=Pt(mH,{DescriptionsItem:Pz}),wH=Rn(Pz),Ib=e=>{if(!e)return{onClick:un,onMousedown:un,onMouseup:un};let t=!1,n=!1;return{onClick:l=>{t&&n&&e(l),t=n=!1},onMousedown:l=>{t=l.target===l.currentTarget},onMouseup:l=>{n=l.target===l.currentTarget}}},CH=qe({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:se([String,Array,Object])},zIndex:{type:se([String,Number])}}),kH={click:e=>e instanceof MouseEvent},SH="overlay";var _H=te({name:"ElOverlay",props:CH,emits:kH,setup(e,{slots:t,emit:n}){const o=Ie(SH),r=u=>{n("click",u)},{onClick:a,onMousedown:l,onMouseup:i}=Ib(e.customMaskEvent?void 0:r);return()=>e.mask?Q("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:a,onMousedown:l,onMouseup:i},[he(t,"default")],Dr.STYLE|Dr.CLASS|Dr.PROPS,["onClick","onMouseup","onMousedown"]):mt("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[he(t,"default")])}});const Mb=_H,Iz=Symbol("dialogInjectionKey"),nv="dialog-fade",Mz=qe({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:hn},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),xH={close:()=>!0},Az=(e,t,n,o)=>{const r={offsetX:0,offsetY:0},a=L(!1),l=(p,h)=>{if(e.value){const{offsetX:v,offsetY:g}=r,m=e.value.getBoundingClientRect(),y=m.left,k=m.top,C=m.width,b=m.height,x=document.documentElement.clientWidth,_=document.documentElement.clientHeight,z=-y+v,I=-k+g,P=x-y-C+v,j=_-k-(b<_?b:0)+g;o?.value||(p=Math.min(Math.max(p,z),P),h=Math.min(Math.max(h,I),j)),r.offsetX=p,r.offsetY=h,e.value.style.transform=`translate(${Nn(p)}, ${Nn(h)})`}},i=p=>{const h=p.clientX,v=p.clientY,{offsetX:g,offsetY:m}=r,y=C=>{a.value||(a.value=!0);const b=g+C.clientX-h,x=m+C.clientY-v;l(b,x)},k=()=>{a.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",k)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",k)},u=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",i),window.addEventListener("resize",f))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",i),window.removeEventListener("resize",f))},d=()=>{r.offsetX=0,r.offsetY=0,e.value&&(e.value.style.transform="")},f=()=>{const{offsetX:p,offsetY:h}=r;l(p,h)};return Bt(()=>{sr(()=>{n.value?u():c()})}),cn(()=>{c()}),{isDragging:a,resetPosition:d,updatePosition:f}},Ab=(...e)=>t=>{e.forEach(n=>{n.value=t})},EH=te({name:"ElDialogContent"}),zH=te({...EH,props:Mz,emits:xH,setup(e,{expose:t}){const n=e,{t:o}=Qt(),{Close:r}=H2,{dialogRef:a,headerRef:l,bodyId:i,ns:u,style:c}=et(Iz),{focusTrapRef:d}=et(lE),f=Ab(d,a),p=S(()=>!!n.draggable),h=S(()=>!!n.overflow),{resetPosition:v,updatePosition:g,isDragging:m}=Az(a,l,p,h),y=S(()=>[u.b(),u.is("fullscreen",n.fullscreen),u.is("draggable",p.value),u.is("dragging",m.value),u.is("align-center",!!n.alignCenter),{[u.m("center")]:n.center}]);return t({resetPosition:v,updatePosition:g}),(k,C)=>(T(),F("div",{ref:s(f),class:M(s(y)),style:ht(s(c)),tabindex:"-1"},[H("header",{ref_key:"headerRef",ref:l,class:M([s(u).e("header"),k.headerClass,{"show-close":k.showClose}])},[he(k.$slots,"header",{},()=>[H("span",{role:"heading","aria-level":k.ariaLevel,class:M(s(u).e("title"))},Pe(k.title),11,["aria-level"])]),k.showClose?(T(),F("button",{key:0,"aria-label":s(o)("el.dialog.close"),class:M(s(u).e("headerbtn")),type:"button",onClick:b=>k.$emit("close")},[Q(s(lt),{class:M(s(u).e("close"))},{default:ne(()=>[(T(),ge(Rt(k.closeIcon||s(r))))]),_:1},8,["class"])],10,["aria-label","onClick"])):fe("v-if",!0)],2),H("div",{id:s(i),class:M([s(u).e("body"),k.bodyClass])},[he(k.$slots,"default")],10,["id"]),k.$slots.footer?(T(),F("footer",{key:0,class:M([s(u).e("footer"),k.footerClass])},[he(k.$slots,"footer")],2)):fe("v-if",!0)],6))}});var TH=Ue(zH,[["__file","dialog-content.vue"]]);const jz=qe({...Mz,appendToBody:Boolean,appendTo:{type:Ap.to.type,default:"body"},beforeClose:{type:se(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:se([String,Object]),default:void 0}}),Nz={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[St]:e=>fn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},jb=(e,t={})=>{Cn(e)||Qn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ie("popup"),o=S(()=>n.bm("parent","hidden"));let r=0,a=!1,l="0";const i=()=>{setTimeout(()=>{typeof document>"u"||a&&document&&(document.body.style.width=l,Go(document.body,o.value))},200)};ke(e,u=>{if(!u){i();return}a=!Zr(document.body,o.value),a&&(l=document.body.style.width,Lr(document.body,o.value)),r=A2(n.namespace.value);const c=document.documentElement.clientHeight<document.body.scrollHeight,d=ll(document.body,"overflowY");r>0&&(c||d==="scroll")&&a&&(document.body.style.width=`calc(100% - ${r}px)`)}),py(()=>i())},OH="ElDialog",Rz=(e,t)=>{var n;const r=Lt().emit,{nextZIndex:a}=hd();let l="";const i=To(),u=To(),c=L(!1),d=L(!1),f=L(!1),p=L((n=e.zIndex)!=null?n:a());let h,v;const g=bu(),m=S(()=>{var G,X;return(X=(G=g.value)==null?void 0:G.namespace)!=null?X:uc}),y=S(()=>{var G;return(G=g.value)==null?void 0:G.dialog}),k=S(()=>{const G={},X=`--${m.value}-dialog`;return e.fullscreen||(e.top&&(G[`${X}-margin-top`]=e.top),e.width&&(G[`${X}-width`]=Nn(e.width))),G}),C=S(()=>{var G,X,J;return((J=(X=e.draggable)!=null?X:(G=y.value)==null?void 0:G.draggable)!=null?J:!1)&&!e.fullscreen}),b=S(()=>{var G,X,J;return(J=(X=e.alignCenter)!=null?X:(G=y.value)==null?void 0:G.alignCenter)!=null?J:!1}),x=S(()=>{var G,X,J;return(J=(X=e.overflow)!=null?X:(G=y.value)==null?void 0:G.overflow)!=null?J:!1}),_=S(()=>b.value?{display:"flex"}:{}),z=S(()=>{var G,X,J;const ue=(J=(X=e.transition)!=null?X:(G=y.value)==null?void 0:G.transition)!=null?J:nv,ae={name:ue,onAfterEnter:I,onBeforeLeave:j,onAfterLeave:P};if(At(ue)){const ve={...ue},re=(ce,oe)=>ie=>{Be(ce)?ce.forEach(de=>{it(de)&&de(ie)}):it(ce)&&ce(ie),oe()};return ve.onAfterEnter=re(ve.onAfterEnter,I),ve.onBeforeLeave=re(ve.onBeforeLeave,j),ve.onAfterLeave=re(ve.onAfterLeave,P),ve.name||(ve.name=nv,Kt(OH,`transition.name is missing when using object syntax, fallback to '${nv}'`)),ve}return ae});function I(){r("opened")}function P(){r("closed"),r(St,!1),e.destroyOnClose&&(f.value=!1)}function j(){r("close")}function O(){v?.(),h?.(),e.openDelay&&e.openDelay>0?{stop:h}=Xi(()=>Z(),e.openDelay):Z()}function A(){h?.(),v?.(),e.closeDelay&&e.closeDelay>0?{stop:v}=Xi(()=>$(),e.closeDelay):$()}function K(){function G(X){X||(d.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(G):A()}function Y(){e.closeOnClickModal&&K()}function Z(){nn&&(c.value=!0)}function $(){c.value=!1}function R(){r("openAutoFocus")}function D(){r("closeAutoFocus")}function B(G){var X;((X=G.detail)==null?void 0:X.focusReason)==="pointer"&&G.preventDefault()}e.lockScroll&&jb(c);function q(){e.closeOnPressEscape&&K()}return ke(()=>e.zIndex,()=>{var G;p.value=(G=e.zIndex)!=null?G:a()}),ke(()=>e.modelValue,G=>{var X;G?(d.value=!1,O(),f.value=!0,p.value=(X=e.zIndex)!=null?X:a(),Qe(()=>{r("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&A()}),ke(()=>e.fullscreen,G=>{t.value&&(G?(l=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=l)}),Bt(()=>{e.modelValue&&(c.value=!0,f.value=!0,O())}),{afterEnter:I,afterLeave:P,beforeLeave:j,handleClose:K,onModalClick:Y,close:A,doClose:$,onOpenAutoFocus:R,onCloseAutoFocus:D,onCloseRequested:q,onFocusoutPrevented:B,titleId:i,bodyId:u,closed:d,style:k,overlayDialogStyle:_,rendered:f,visible:c,zIndex:p,transitionConfig:z,_draggable:C,_alignCenter:b,_overflow:x}},$H=te({name:"ElDialog",inheritAttrs:!1}),PH=te({...$H,props:jz,emits:Nz,setup(e,{expose:t}){const n=e,o=ao();Aa({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},S(()=>!!o.title));const r=Ie("dialog"),a=L(),l=L(),i=L(),{visible:u,titleId:c,bodyId:d,style:f,overlayDialogStyle:p,rendered:h,transitionConfig:v,zIndex:g,_draggable:m,_alignCenter:y,_overflow:k,handleClose:C,onModalClick:b,onOpenAutoFocus:x,onCloseAutoFocus:_,onCloseRequested:z,onFocusoutPrevented:I}=Rz(n,a);Ut(Iz,{dialogRef:a,headerRef:l,bodyId:d,ns:r,rendered:h,style:f});const P=Ib(b),j=S(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:u,dialogContentRef:i,resetPosition:()=>{var A;(A=i.value)==null||A.resetPosition()},handleClose:C}),(A,K)=>(T(),ge(s(Cd),{to:A.appendTo,disabled:A.appendTo!=="body"?!1:!A.appendToBody},{default:ne(()=>[Q(So,Vt(s(v),{persisted:""}),{default:ne(()=>{var Y;return[Nt(Q(s(Mb),{"custom-mask-event":"",mask:A.modal,"overlay-class":[(Y=A.modalClass)!=null?Y:"",`${s(r).namespace.value}-modal-dialog`,s(r).is("penetrable",s(j))],"z-index":s(g)},{default:ne(()=>[H("div",{role:"dialog","aria-modal":"true","aria-label":A.title||void 0,"aria-labelledby":A.title?void 0:s(c),"aria-describedby":s(d),class:M(`${s(r).namespace.value}-overlay-dialog`),style:ht(s(p)),onClick:s(P).onClick,onMousedown:s(P).onMousedown,onMouseup:s(P).onMouseup},[Q(s(wu),{loop:"",trapped:s(u),"focus-start-el":"container",onFocusAfterTrapped:s(x),onFocusAfterReleased:s(_),onFocusoutPrevented:s(I),onReleaseRequested:s(z)},{default:ne(()=>[s(h)?(T(),ge(TH,Vt({key:0,ref_key:"dialogContentRef",ref:i},A.$attrs,{center:A.center,"align-center":s(y),"close-icon":A.closeIcon,draggable:s(m),overflow:s(k),fullscreen:A.fullscreen,"header-class":A.headerClass,"body-class":A.bodyClass,"footer-class":A.footerClass,"show-close":A.showClose,title:A.title,"aria-level":A.headerAriaLevel,onClose:s(C)}),yr({header:ne(()=>[A.$slots.title?he(A.$slots,"title",{key:1}):he(A.$slots,"header",{key:0,close:s(C),titleId:s(c),titleClass:s(r).e("title")})]),default:ne(()=>[he(A.$slots,"default")]),_:2},[A.$slots.footer?{name:"footer",fn:ne(()=>[he(A.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):fe("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["mask","overlay-class","z-index"]),[[tn,s(u)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});var IH=Ue(PH,[["__file","dialog.vue"]]);const MH=Pt(IH),AH=qe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:se(String),default:"solid"}}),jH=te({name:"ElDivider"}),NH=te({...jH,props:AH,setup(e){const t=e,n=Ie("divider"),o=S(()=>n.cssVar({"border-style":t.borderStyle}));return(r,a)=>(T(),F("div",{class:M([s(n).b(),s(n).m(r.direction)]),style:ht(s(o)),role:"separator"},[r.$slots.default&&r.direction!=="vertical"?(T(),F("div",{key:0,class:M([s(n).e("text"),s(n).is(r.contentPosition)])},[he(r.$slots,"default")],2)):fe("v-if",!0)],6))}});var RH=Ue(NH,[["__file","divider.vue"]]);const Dz=Pt(RH),DH=qe({...jz,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),LH=Nz;function BH(e,t){const{width:n,height:o}=Zy(),r=S(()=>["ltr","rtl"].includes(e.direction)),a=S(()=>["ltr","ttb"].includes(e.direction)?1:-1),l=S(()=>r.value?n.value:o.value),i=S(()=>y2(u.value+a.value*c.value,4,l.value)),u=L(0),c=L(0),d=L(!1),f=L(!1);let p=[],h=[];const v=()=>{var C;const b=(C=t.value)==null?void 0:C.closest('[aria-modal="true"]');return b?r.value?b.offsetWidth:b.offsetHeight:100};ke(()=>[e.size,e.resizable],()=>{f.value=!1,u.value=0,c.value=0,y()});const g=C=>{e.resizable&&(f.value||(u.value=v(),f.value=!0),p=[C.pageX,C.pageY],d.value=!0,h.push(gn(window,"mouseup",y),gn(window,"mousemove",m)))},m=C=>{const{pageX:b,pageY:x}=C,_=b-p[0],z=x-p[1];c.value=r.value?_:z},y=()=>{p=[],u.value=i.value,c.value=0,d.value=!1,h.forEach(C=>C?.()),h=[]},k=gn(t,"mousedown",g);return cn(()=>{k(),y()}),{size:S(()=>f.value?`${i.value}px`:Nn(e.size)),isResizing:d,isHorizontal:r}}const VH=te({name:"ElDrawer",inheritAttrs:!1}),FH=te({...VH,props:DH,emits:LH,setup(e,{expose:t}){const n=e,o=ao();Aa({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},S(()=>!!o.title));const r=L(),a=L(),l=L(),i=Ie("drawer"),{t:u}=Qt(),{afterEnter:c,afterLeave:d,beforeLeave:f,visible:p,rendered:h,titleId:v,bodyId:g,zIndex:m,onModalClick:y,onOpenAutoFocus:k,onCloseAutoFocus:C,onFocusoutPrevented:b,onCloseRequested:x,handleClose:_}=Rz(n,r),{isHorizontal:z,size:I,isResizing:P}=BH(n,l),j=S(()=>n.modalPenetrable&&!n.modal);return t({handleClose:_,afterEnter:c,afterLeave:d}),(O,A)=>(T(),ge(s(Cd),{to:O.appendTo,disabled:O.appendTo!=="body"?!1:!O.appendToBody},{default:ne(()=>[Q(So,{name:s(i).b("fade"),onAfterEnter:s(c),onAfterLeave:s(d),onBeforeLeave:s(f),persisted:""},{default:ne(()=>{var K;return[Nt(Q(s(Mb),{mask:O.modal,"overlay-class":[s(i).is("drawer"),(K=O.modalClass)!=null?K:"",`${s(i).namespace.value}-modal-drawer`,s(i).is("penetrable",s(j))],"z-index":s(m),onClick:s(y)},{default:ne(()=>[Q(s(wu),{loop:"",trapped:s(p),"focus-trap-el":r.value,"focus-start-el":a.value,onFocusAfterTrapped:s(k),onFocusAfterReleased:s(C),onFocusoutPrevented:s(b),onReleaseRequested:s(x)},{default:ne(()=>[H("div",Vt({ref_key:"drawerRef",ref:r,"aria-modal":"true","aria-label":O.title||void 0,"aria-labelledby":O.title?void 0:s(v),"aria-describedby":s(g)},O.$attrs,{class:[s(i).b(),O.direction,s(p)&&"open",s(i).is("dragging",s(P))],style:{[s(z)?"width":"height"]:s(I)},role:"dialog",onClick:wt(()=>{},["stop"])}),[H("span",{ref_key:"focusStartRef",ref:a,class:M(s(i).e("sr-focus")),tabindex:"-1"},null,2),O.withHeader?(T(),F("header",{key:0,class:M([s(i).e("header"),O.headerClass])},[O.$slots.title?he(O.$slots,"title",{key:1},()=>[fe(" DEPRECATED SLOT ")]):he(O.$slots,"header",{key:0,close:s(_),titleId:s(v),titleClass:s(i).e("title")},()=>[H("span",{id:s(v),role:"heading","aria-level":O.headerAriaLevel,class:M(s(i).e("title"))},Pe(O.title),11,["id","aria-level"])]),O.showClose?(T(),F("button",{key:2,"aria-label":s(u)("el.drawer.close"),class:M(s(i).e("close-btn")),type:"button",onClick:s(_)},[Q(s(lt),{class:M(s(i).e("close"))},{default:ne(()=>[Q(s(Kr))]),_:1},8,["class"])],10,["aria-label","onClick"])):fe("v-if",!0)],2)):fe("v-if",!0),s(h)?(T(),F("div",{key:1,id:s(g),class:M([s(i).e("body"),O.bodyClass])},[he(O.$slots,"default")],10,["id"])):fe("v-if",!0),O.$slots.footer?(T(),F("div",{key:2,class:M([s(i).e("footer"),O.footerClass])},[he(O.$slots,"footer")],2)):fe("v-if",!0),O.resizable?(T(),F("div",{key:3,ref_key:"draggerRef",ref:l,style:ht({zIndex:s(m)}),class:M(s(i).e("dragger"))},null,6)):fe("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[tn,s(p)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var qH=Ue(FH,[["__file","drawer.vue"]]);const KH=Pt(qH),HH=te({inheritAttrs:!1});function WH(e,t,n,o,r,a){return he(e.$slots,"default")}var UH=Ue(HH,[["render",WH],["__file","collection.vue"]]);const YH=te({name:"ElCollectionItem",inheritAttrs:!1});function GH(e,t,n,o,r,a){return he(e.$slots,"default")}var XH=Ue(YH,[["render",GH],["__file","collection-item.vue"]]);const Lz="data-el-collection-item",ZH=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),r=Symbol(n),a={...UH,name:t,setup(){const i=L(),u=new Map;Ut(o,{itemMap:u,getItems:()=>{const d=s(i);if(!d)return[];const f=Array.from(d.querySelectorAll(`[${Lz}]`));return[...u.values()].sort((h,v)=>f.indexOf(h.ref)-f.indexOf(v.ref))},collectionRef:i})}},l={...XH,name:n,setup(i,{attrs:u}){const c=L(),d=et(o,void 0);Ut(r,{collectionItemRef:c}),Bt(()=>{const f=s(c);f&&d.itemMap.set(f,{ref:f,...u})}),cn(()=>{const f=s(c);d.itemMap.delete(f)})}};return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:a,ElCollectionItem:l}},QH=qe({style:{type:se([String,Array,Object])},currentTabId:{type:se(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:se(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:JH,ElCollectionItem:e9,COLLECTION_INJECTION_KEY:Bz,COLLECTION_ITEM_INJECTION_KEY:t9}=ZH("RovingFocusGroup"),Nb=Symbol("elRovingFocusGroup"),Vz=Symbol("elRovingFocusGroupItem"),n9={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},o9=(e,t)=>e,r9=(e,t,n)=>{const o=kn(e),r=o9(o);return n9[r]},a9=(e,t)=>e.map((n,o)=>e[(o+t)%e.length]),BC=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},VC="currentTabIdChange",FC="rovingFocusGroup.entryFocus",l9={bubbles:!1,cancelable:!0},s9=te({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:QH,emits:[VC,"entryFocus"],setup(e,{emit:t}){var n;const o=L((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),r=L(!1),a=L(!1),l=L(),{getItems:i}=et(Bz,void 0),u=S(()=>[{outline:"none"},e.style]),c=m=>{t(VC,m)},d=()=>{r.value=!0},f=po(m=>{var y;(y=e.onMousedown)==null||y.call(e,m)},()=>{a.value=!0}),p=po(m=>{var y;(y=e.onFocus)==null||y.call(e,m)},m=>{const y=!s(a),{target:k,currentTarget:C}=m;if(k===C&&y&&!s(r)){const b=new Event(FC,l9);if(C?.dispatchEvent(b),!b.defaultPrevented){const x=i().filter(j=>j.focusable),_=x.find(j=>j.active),z=x.find(j=>j.id===s(o)),P=[_,z,...x].filter(Boolean).map(j=>j.ref);BC(P)}}a.value=!1}),h=po(m=>{var y;(y=e.onBlur)==null||y.call(e,m)},()=>{r.value=!1}),v=(...m)=>{t("entryFocus",...m)},g=m=>{const y=r9(m);if(y){m.preventDefault();let C=i().filter(b=>b.focusable).map(b=>b.ref);switch(y){case"last":{C.reverse();break}case"prev":case"next":{y==="prev"&&C.reverse();const b=C.indexOf(m.currentTarget);C=e.loop?a9(C,b+1):C.slice(b+1);break}}Qe(()=>{BC(C)})}};Ut(Nb,{currentTabbedId:Ws(o),loop:sn(e,"loop"),tabIndex:S(()=>s(r)?-1:0),rovingFocusGroupRef:l,rovingFocusGroupRootStyle:u,orientation:sn(e,"orientation"),dir:sn(e,"dir"),onItemFocus:c,onItemShiftTab:d,onBlur:h,onFocus:p,onMousedown:f,onKeydown:g}),ke(()=>e.currentTabId,m=>{o.value=m??null}),gn(l,FC,v)}});function i9(e,t,n,o,r,a){return he(e.$slots,"default")}var u9=Ue(s9,[["render",i9],["__file","roving-focus-group-impl.vue"]]);const c9=te({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:JH,ElRovingFocusGroupImpl:u9}});function d9(e,t,n,o,r,a){const l=kt("el-roving-focus-group-impl"),i=kt("el-focus-group-collection");return T(),ge(i,null,{default:ne(()=>[Q(l,Qr(Pa(e.$attrs)),{default:ne(()=>[he(e.$slots,"default")]),_:3},16)]),_:3})}var f9=Ue(c9,[["render",d9],["__file","roving-focus-group.vue"]]);const qf=qe({trigger:{...Ma.trigger,type:se([String,Array])},triggerKeys:{type:se(Array),default:()=>[We.enter,We.numpadEnter,We.space,We.down]},virtualTriggering:Ma.virtualTriggering,virtualRef:Ma.virtualRef,effect:{...mn.effect,default:"light"},type:{type:se(String)},placement:{type:se(String),default:"bottom"},popperOptions:{type:se(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:se([Number,String]),default:0},maxHeight:{type:se([Number,String]),default:""},popperClass:mn.popperClass,popperStyle:mn.popperStyle,disabled:Boolean,role:{type:String,values:eE,default:"menu"},buttonProps:{type:se(Object)},teleported:mn.teleported,persistent:{type:Boolean,default:!0}}),Fz=qe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:hn}}),h9=qe({onKeydown:{type:se(Function)}}),Lp=Symbol("elDropdown"),qz="elDropdown",{ButtonGroup:p9}=Co,g9=te({name:"ElDropdown",components:{ElButton:Co,ElButtonGroup:p9,ElScrollbar:sa,ElTooltip:Oo,ElRovingFocusGroup:f9,ElOnlyChild:rE,ElIcon:lt,ArrowDown:qa},props:qf,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Lt(),o=Ie("dropdown"),{t:r}=Qt(),a=L(),l=L(),i=L(),u=L(),c=L(null),d=L(null),f=L(!1),p=S(()=>({maxHeight:Nn(e.maxHeight)})),h=S(()=>[o.m(b.value)]),v=S(()=>bo(e.trigger)),g=To().value,m=S(()=>e.id||g);function y(){var K;(K=i.value)==null||K.onClose(void 0,0)}function k(){var K;(K=i.value)==null||K.onClose()}function C(){var K;(K=i.value)==null||K.onOpen()}const b=ro();function x(...K){t("command",...K)}function _(){}function z(){const K=s(u);v.value.includes("hover")&&K?.focus({preventScroll:!0}),d.value=null}function I(K){d.value=K}function P(){t("visible-change",!0)}function j(K){var Y;f.value=K?.type==="keydown",(Y=u.value)==null||Y.focus()}function O(){t("visible-change",!1)}return Ut(Lp,{contentRef:u,role:S(()=>e.role),triggerId:m,isUsingKeyboard:f,onItemEnter:_,onItemLeave:z,handleClose:k}),Ut(qz,{instance:n,dropdownSize:b,handleClick:y,commandHandler:x,trigger:sn(e,"trigger"),hideOnClick:sn(e,"hideOnClick")}),{t:r,ns:o,scrollbar:c,wrapStyle:p,dropdownTriggerKls:h,dropdownSize:b,triggerId:m,currentTabId:d,handleCurrentTabIdChange:I,handlerMainButtonClick:K=>{t("click",K)},handleClose:k,handleOpen:C,handleBeforeShowTooltip:P,handleShowTooltip:j,handleBeforeHideTooltip:O,popperRef:i,contentRef:u,triggeringElementRef:a,referenceElementRef:l}}});function v9(e,t,n,o,r,a){var l;const i=kt("el-roving-focus-group"),u=kt("el-scrollbar"),c=kt("el-only-child"),d=kt("el-tooltip"),f=kt("el-button"),p=kt("arrow-down"),h=kt("el-icon"),v=kt("el-button-group");return T(),F("div",{class:M([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Q(d,{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":(l=e.virtualRef)!=null?l:e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},yr({content:ne(()=>[Q(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:ne(()=>[Q(i,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:ne(()=>[he(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:ne(()=>[Q(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:ne(()=>[he(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),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","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(T(),ge(v,{key:0},{default:ne(()=>[Q(f,Vt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:ne(()=>[he(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),Q(f,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:ne(()=>[Q(h,{class:M(e.ns.e("icon"))},{default:ne(()=>[Q(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):fe("v-if",!0)],2)}var m9=Ue(g9,[["render",v9],["__file","dropdown.vue"]]);const y9=te({components:{ElRovingFocusCollectionItem:e9},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:o,onItemShiftTab:r,onKeydown:a}=et(Nb,void 0),l=To(),i=L(),u=po(p=>{t("mousedown",p)},p=>{e.focusable?o(s(l)):p.preventDefault()}),c=po(p=>{t("focus",p)},()=>{o(s(l))}),d=po(p=>{t("keydown",p)},p=>{const{shiftKey:h,target:v,currentTarget:g}=p;if(kn(p)===We.tab&&h){r();return}v===g&&a(p)}),f=S(()=>n.value===s(l));return Ut(Vz,{rovingFocusGroupItemRef:i,tabIndex:S(()=>s(f)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:d}),{id:l,handleKeydown:d,handleFocus:c,handleMousedown:u}}});function b9(e,t,n,o,r,a){const l=kt("el-roving-focus-collection-item");return T(),ge(l,{id:e.id,focusable:e.focusable,active:e.active},{default:ne(()=>[he(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var w9=Ue(y9,[["render",b9],["__file","roving-focus-item.vue"]]);const C9=te({name:"DropdownItemImpl",components:{ElIcon:lt},props:Fz,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ie("dropdown"),{role:o}=et(Lp,void 0),{collectionItemRef:r}=et(t9,void 0),{rovingFocusGroupItemRef:a,tabIndex:l,handleFocus:i,handleKeydown:u,handleMousedown:c}=et(Vz,void 0),d=Ab(r,a),f=S(()=>o.value==="menu"?"menuitem":o.value==="navigation"?"link":"button"),p=po(h=>{const v=kn(h);if([We.enter,We.numpadEnter,We.space].includes(v))return h.preventDefault(),h.stopImmediatePropagation(),t("clickimpl",h),!0},u);return{ns:n,itemRef:d,dataset:{[Lz]:""},role:f,tabIndex:l,handleFocus:i,handleKeydown:p,handleMousedown:c}}});function k9(e,t,n,o,r,a){const l=kt("el-icon");return T(),F(tt,null,[e.divided?(T(),F("li",{key:0,role:"separator",class:M(e.ns.bem("menu","item","divided"))},null,2)):fe("v-if",!0),H("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:i=>e.$emit("clickimpl",i),onFocus:e.handleFocus,onKeydown:wt(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:i=>e.$emit("pointermove",i),onPointerleave:i=>e.$emit("pointerleave",i)}),[e.icon?(T(),ge(l,{key:0},{default:ne(()=>[(T(),ge(Rt(e.icon)))]),_:1})):fe("v-if",!0),he(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var S9=Ue(C9,[["render",k9],["__file","dropdown-item-impl.vue"]]);const Kz=()=>{const e=et(qz,{}),t=S(()=>e?.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},_9=te({name:"ElDropdownItem",components:{ElRovingFocusItem:w9,ElDropdownItemImpl:S9},inheritAttrs:!1,props:Fz,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=Kz(),r=Lt(),{onItemEnter:a,onItemLeave:l}=et(Lp,void 0),i=po(f=>(t("pointermove",f),f.defaultPrevented),Q1(f=>{if(e.disabled){l(f);return}const p=f.currentTarget;p===document.activeElement||p.contains(document.activeElement)||(a(f),f.defaultPrevented||p?.focus({preventScroll:!0}))})),u=po(f=>(t("pointerleave",f),f.defaultPrevented),Q1(l)),c=po(f=>{if(!e.disabled)return t("click",f),f.type!=="keydown"&&f.defaultPrevented},f=>{var p,h,v;if(e.disabled){f.stopImmediatePropagation();return}(p=o?.hideOnClick)!=null&&p.value&&((h=o.handleClick)==null||h.call(o)),(v=o.commandHandler)==null||v.call(o,e.command,r,f)}),d=S(()=>({...e,...n}));return{handleClick:c,handlePointerMove:i,handlePointerLeave:u,propsAndAttrs:d}}});function x9(e,t,n,o,r,a){const l=kt("el-dropdown-item-impl"),i=kt("el-roving-focus-item");return T(),ge(i,{focusable:!e.disabled},{default:ne(()=>[Q(l,Vt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:ne(()=>[he(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var Hz=Ue(_9,[["render",x9],["__file","dropdown-item.vue"]]);const E9=te({name:"ElDropdownMenu",props:h9,setup(e){const t=Ie("dropdown"),{_elDropdownSize:n}=Kz(),o=n.value,{contentRef:r,role:a,triggerId:l,isUsingKeyboard:i,handleClose:u}=et(Lp,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:d,onBlur:f,onFocus:p,onKeydown:h,onMousedown:v}=et(Nb,void 0),{collectionRef:g}=et(Bz,void 0),m=S(()=>[t.b("menu"),t.bm("menu",o?.value)]),y=Ab(r,c,g),k=po(b=>{var x;(x=e.onKeydown)==null||x.call(e,b)},b=>{const{currentTarget:x,target:_}=b,z=kn(b);if(x.contains(_),We.tab===z)return u();h(b)});function C(b){i.value&&p(b)}return{size:o,rovingFocusGroupRootStyle:d,dropdownKls:m,role:a,triggerId:l,dropdownListWrapperRef:y,handleKeydown:k,onBlur:f,handleFocus:C,onMousedown:v}}});function z9(e,t,n,o,r,a){return T(),F("ul",{ref:e.dropdownListWrapperRef,class:M(e.dropdownKls),style:ht(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:e.handleFocus,onFocusout:e.onBlur,onKeydown:wt(e.handleKeydown,["self"]),onMousedown:wt(e.onMousedown,["self"])},[he(e.$slots,"default")],46,["role","aria-labelledby","onFocusin","onFocusout","onKeydown","onMousedown"])}var Wz=Ue(E9,[["render",z9],["__file","dropdown-menu.vue"]]);const T9=Pt(m9,{DropdownItem:Hz,DropdownMenu:Wz}),O9=Rn(Hz),$9=Rn(Wz),P9=te({name:"ImgEmpty"}),I9=te({...P9,setup(e){const t=Ie("empty"),n=To();return(o,r)=>(T(),F("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[H("defs",null,[H("linearGradient",{id:`linearGradient-1-${s(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[H("stop",{"stop-color":`var(${s(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),H("stop",{"stop-color":`var(${s(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),H("linearGradient",{id:`linearGradient-2-${s(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[H("stop",{"stop-color":`var(${s(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),H("stop",{"stop-color":`var(${s(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),H("rect",{id:`path-3-${s(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),H("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[H("g",{transform:"translate(-1268.000000, -535.000000)"},[H("g",{transform:"translate(1268.000000, 535.000000)"},[H("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${s(t).cssVarBlockName("fill-color-3")})`},null,8,["fill"]),H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),H("g",{transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),H("rect",{fill:`url(#linearGradient-1-${s(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),H("rect",{fill:`url(#linearGradient-2-${s(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),H("g",{transform:"translate(53.000000, 45.000000)"},[H("use",{fill:`var(${s(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${s(n)}`},null,8,["fill","xlink:href"]),H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${s(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),H("polygon",{fill:`var(${s(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}});var M9=Ue(I9,[["__file","img-empty.vue"]]);const A9=qe({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),j9=te({name:"ElEmpty"}),N9=te({...j9,props:A9,setup(e){const t=e,{t:n}=Qt(),o=Ie("empty"),r=S(()=>t.description||n("el.table.emptyText")),a=S(()=>({width:Nn(t.imageSize)}));return(l,i)=>(T(),F("div",{class:M(s(o).b())},[H("div",{class:M(s(o).e("image")),style:ht(s(a))},[l.image?(T(),F("img",{key:0,src:l.image,ondragstart:"return false"},null,8,["src"])):he(l.$slots,"image",{key:1},()=>[Q(M9)])],6),H("div",{class:M(s(o).e("description"))},[l.$slots.description?he(l.$slots,"description",{key:0}):(T(),F("p",{key:1},Pe(s(r)),1))],2),l.$slots.default?(T(),F("div",{key:0,class:M(s(o).e("bottom"))},[he(l.$slots,"default")],2)):fe("v-if",!0)],2))}});var R9=Ue(N9,[["__file","empty.vue"]]);const Uz=Pt(R9),D9=qe({size:{type:String,values:Fa},disabled:Boolean}),L9=qe({...D9,model:Object,rules:{type:se(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:se([Object,Boolean]),default:!0}}),B9={validate:(e,t,n)=>(Be(e)||rt(e))&&fn(t)&&rt(n)},V9="ElForm";function F9(){const e=L([]),t=S(()=>{if(!e.value.length)return"0";const a=Math.max(...e.value);return a?`${a}px`:""});function n(a){const l=e.value.indexOf(a);return l===-1&&t.value==="0"&&Kt(V9,`unexpected width ${a}`),l}function o(a,l){if(a&&l){const i=n(l);e.value.splice(i,1,a)}else a&&e.value.push(a)}function r(a){const l=n(a);l>-1&&e.value.splice(l,1)}return{autoLabelWidth:t,registerLabelWidth:o,deregisterLabelWidth:r}}const vf=(e,t)=>{const n=bo(t).map(o=>Be(o)?o.join("."):o);return n.length>0?e.filter(o=>o.propString&&n.includes(o.propString)):e},Kf="ElForm",q9=te({name:Kf}),K9=te({...q9,props:L9,emits:B9,setup(e,{expose:t,emit:n}){const o=e,r=L(),a=an([]),l=ro(),i=Ie("form"),u=S(()=>{const{labelPosition:b,inline:x}=o;return[i.b(),i.m(l.value||"default"),{[i.m(`label-${b}`)]:b,[i.m("inline")]:x}]}),c=b=>vf(a,[b])[0],d=b=>{a.push(b)},f=b=>{b.prop&&a.splice(a.indexOf(b),1)},p=(b=[])=>{if(!o.model){Kt(Kf,"model is required for resetFields to work.");return}vf(a,b).forEach(x=>x.resetField())},h=(b=[])=>{vf(a,b).forEach(x=>x.clearValidate())},v=S(()=>{const b=!!o.model;return b||Kt(Kf,"model is required for validate to work."),b}),g=b=>{if(a.length===0)return[];const x=vf(a,b);return x.length?x:(Kt(Kf,"please pass correct props!"),[])},m=async b=>k(void 0,b),y=async(b=[])=>{if(!v.value)return!1;const x=g(b);if(x.length===0)return!0;let _={};for(const z of x)try{await z.validate(""),z.validateState==="error"&&!z.error&&z.resetField()}catch(I){_={..._,...I}}return Object.keys(_).length===0?!0:Promise.reject(_)},k=async(b=[],x)=>{let _=!1;const z=!it(x);try{return _=await y(b),_===!0&&await x?.(_),_}catch(I){if(I instanceof Error)throw I;const P=I;if(o.scrollToError&&r.value){const j=r.value.querySelector(`.${i.b()}-item.is-error`);j?.scrollIntoView(o.scrollIntoViewOptions)}return!_&&await x?.(!1,P),z&&Promise.reject(P)}},C=b=>{var x;const _=c(b);_&&((x=_.$el)==null||x.scrollIntoView(o.scrollIntoViewOptions))};return ke(()=>o.rules,()=>{o.validateOnRuleChange&&m().catch(b=>Kt(b))},{deep:!0,flush:"post"}),Ut(ii,an({...fo(o),emit:n,resetFields:p,clearValidate:h,validateField:k,getField:c,addField:d,removeField:f,...F9()})),t({validate:m,validateField:k,resetFields:p,clearValidate:h,scrollToField:C,getField:c,fields:a}),(b,x)=>(T(),F("form",{ref_key:"formRef",ref:r,class:M(s(u))},[he(b.$slots,"default")],2))}});var H9=Ue(K9,[["__file","form.vue"]]);function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ms.apply(this,arguments)}function W9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qc(e,t)}function im(e){return im=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},im(e)}function qc(e,t){return qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},qc(e,t)}function U9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Hf(e,t,n){return U9()?Hf=Reflect.construct.bind():Hf=function(r,a,l){var i=[null];i.push.apply(i,a);var u=Function.bind.apply(r,i),c=new u;return l&&qc(c,l.prototype),c},Hf.apply(null,arguments)}function Y9(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function um(e){var t=typeof Map=="function"?new Map:void 0;return um=function(o){if(o===null||!Y9(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(o))return t.get(o);t.set(o,r)}function r(){return Hf(o,arguments,im(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),qc(r,o)},um(e)}var G9=/%[sdj%]/g,X9=function(){};function cm(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var o=n.field;t[o]=t[o]||[],t[o].push(n)}),t}function Er(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var l=e.replace(G9,function(i){if(i==="%%")return"%";if(r>=a)return i;switch(i){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}break;default:return i}});return l}return e}function Z9(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function _o(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Z9(t)&&typeof e=="string"&&!e)}function Q9(e,t,n){var o=[],r=0,a=e.length;function l(i){o.push.apply(o,i||[]),r++,r===a&&n(o)}e.forEach(function(i){t(i,l)})}function qC(e,t,n){var o=0,r=e.length;function a(l){if(l&&l.length){n(l);return}var i=o;o=o+1,i<r?t(e[i],a):n([])}a([])}function J9(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var KC=(function(e){W9(t,e);function t(n,o){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return t})(um(Error));function eW(e,t,n,o,r){if(t.first){var a=new Promise(function(p,h){var v=function(y){return o(y),y.length?h(new KC(y,cm(y))):p(r)},g=J9(e);qC(g,n,v)});return a.catch(function(p){return p}),a}var l=t.firstFields===!0?Object.keys(e):t.firstFields||[],i=Object.keys(e),u=i.length,c=0,d=[],f=new Promise(function(p,h){var v=function(m){if(d.push.apply(d,m),c++,c===u)return o(d),d.length?h(new KC(d,cm(d))):p(r)};i.length||(o(d),p(r)),i.forEach(function(g){var m=e[g];l.indexOf(g)!==-1?qC(m,n,v):Q9(m,n,v)})});return f.catch(function(p){return p}),f}function tW(e){return!!(e&&e.message!==void 0)}function nW(e,t){for(var n=e,o=0;o<t.length;o++){if(n==null)return n;n=n[t[o]]}return n}function HC(e,t){return function(n){var o;return e.fullFields?o=nW(t,e.fullFields):o=t[n.field||e.fullField],tW(n)?(n.field=n.field||e.fullField,n.fieldValue=o,n):{message:typeof n=="function"?n():n,fieldValue:o,field:n.field||e.fullField}}}function WC(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];typeof o=="object"&&typeof e[n]=="object"?e[n]=Ms({},e[n],o):e[n]=o}}return e}var Yz=function(t,n,o,r,a,l){t.required&&(!o.hasOwnProperty(t.field)||_o(n,l||t.type))&&r.push(Er(a.messages.required,t.fullField))},oW=function(t,n,o,r,a){(/^\s+$/.test(n)||n==="")&&r.push(Er(a.messages.whitespace,t.fullField))},mf,rW=(function(){if(mf)return mf;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",r=(`
(?:
(?:`+o+":){7}(?:"+o+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+o+":){6}(?:"+n+"|:"+o+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+o+":){5}(?::"+n+"|(?::"+o+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+o+":){4}(?:(?::"+o+"){0,1}:"+n+"|(?::"+o+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+o+":){3}(?:(?::"+o+"){0,2}:"+n+"|(?::"+o+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+o+":){2}(?:(?::"+o+"){0,3}:"+n+"|(?::"+o+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+o+":){1}(?:(?::"+o+"){0,4}:"+n+"|(?::"+o+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+o+"){0,5}:"+n+"|(?::"+o+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+r+"$)"),l=new RegExp("^"+n+"$"),i=new RegExp("^"+r+"$"),u=function(b){return b&&b.exact?a:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+r+t(b)+")","g")};u.v4=function(C){return C&&C.exact?l:new RegExp(""+t(C)+n+t(C),"g")},u.v6=function(C){return C&&C.exact?i:new RegExp(""+t(C)+r+t(C),"g")};var c="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",f=u.v4().source,p=u.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",m="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',k="(?:"+c+"|www\\.)"+d+"(?:localhost|"+f+"|"+p+"|"+h+v+g+")"+m+y;return mf=new RegExp("(?:^"+k+"$)","i"),mf}),UC={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yu={integer:function(t){return Yu.number(t)&&parseInt(t,10)===t},float:function(t){return Yu.number(t)&&!Yu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Yu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(UC.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(rW())},hex:function(t){return typeof t=="string"&&!!t.match(UC.hex)}},aW=function(t,n,o,r,a){if(t.required&&n===void 0){Yz(t,n,o,r,a);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=t.type;l.indexOf(i)>-1?Yu[i](n)||r.push(Er(a.messages.types[i],t.fullField,t.type)):i&&typeof n!==t.type&&r.push(Er(a.messages.types[i],t.fullField,t.type))},lW=function(t,n,o,r,a){var l=typeof t.len=="number",i=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,p=typeof n=="number",h=typeof n=="string",v=Array.isArray(n);if(p?f="number":h?f="string":v&&(f="array"),!f)return!1;v&&(d=n.length),h&&(d=n.replace(c,"_").length),l?d!==t.len&&r.push(Er(a.messages[f].len,t.fullField,t.len)):i&&!u&&d<t.min?r.push(Er(a.messages[f].min,t.fullField,t.min)):u&&!i&&d>t.max?r.push(Er(a.messages[f].max,t.fullField,t.max)):i&&u&&(d<t.min||d>t.max)&&r.push(Er(a.messages[f].range,t.fullField,t.min,t.max))},wi="enum",sW=function(t,n,o,r,a){t[wi]=Array.isArray(t[wi])?t[wi]:[],t[wi].indexOf(n)===-1&&r.push(Er(a.messages[wi],t.fullField,t[wi].join(", ")))},iW=function(t,n,o,r,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||r.push(Er(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(n)||r.push(Er(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},En={required:Yz,whitespace:oW,type:aW,range:lW,enum:sW,pattern:iW},uW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n,"string")&&!t.required)return o();En.required(t,n,r,l,a,"string"),_o(n,"string")||(En.type(t,n,r,l,a),En.range(t,n,r,l,a),En.pattern(t,n,r,l,a),t.whitespace===!0&&En.whitespace(t,n,r,l,a))}o(l)},cW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&En.type(t,n,r,l,a)}o(l)},dW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(n===""&&(n=void 0),_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&(En.type(t,n,r,l,a),En.range(t,n,r,l,a))}o(l)},fW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&En.type(t,n,r,l,a)}o(l)},hW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),_o(n)||En.type(t,n,r,l,a)}o(l)},pW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&(En.type(t,n,r,l,a),En.range(t,n,r,l,a))}o(l)},gW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&(En.type(t,n,r,l,a),En.range(t,n,r,l,a))}o(l)},vW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(n==null&&!t.required)return o();En.required(t,n,r,l,a,"array"),n!=null&&(En.type(t,n,r,l,a),En.range(t,n,r,l,a))}o(l)},mW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&En.type(t,n,r,l,a)}o(l)},yW="enum",bW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a),n!==void 0&&En[yW](t,n,r,l,a)}o(l)},wW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n,"string")&&!t.required)return o();En.required(t,n,r,l,a),_o(n,"string")||En.pattern(t,n,r,l,a)}o(l)},CW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n,"date")&&!t.required)return o();if(En.required(t,n,r,l,a),!_o(n,"date")){var u;n instanceof Date?u=n:u=new Date(n),En.type(t,u,r,l,a),u&&En.range(t,u.getTime(),r,l,a)}}o(l)},kW=function(t,n,o,r,a){var l=[],i=Array.isArray(n)?"array":typeof n;En.required(t,n,r,l,a,i),o(l)},ov=function(t,n,o,r,a){var l=t.type,i=[],u=t.required||!t.required&&r.hasOwnProperty(t.field);if(u){if(_o(n,l)&&!t.required)return o();En.required(t,n,r,i,a,l),_o(n,l)||En.type(t,n,r,i,a)}o(i)},SW=function(t,n,o,r,a){var l=[],i=t.required||!t.required&&r.hasOwnProperty(t.field);if(i){if(_o(n)&&!t.required)return o();En.required(t,n,r,l,a)}o(l)},gc={string:uW,method:cW,number:dW,boolean:fW,regexp:hW,integer:pW,float:gW,array:vW,object:mW,enum:bW,pattern:wW,date:CW,url:ov,hex:ov,email:ov,required:kW,any:SW};function dm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var fm=dm(),Sd=(function(){function e(n){this.rules=null,this._messages=fm,this.define(n)}var t=e.prototype;return t.define=function(o){var r=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(a){var l=o[a];r.rules[a]=Array.isArray(l)?l:[l]})},t.messages=function(o){return o&&(this._messages=WC(dm(),o)),this._messages},t.validate=function(o,r,a){var l=this;r===void 0&&(r={}),a===void 0&&(a=function(){});var i=o,u=r,c=a;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function d(g){var m=[],y={};function k(b){if(Array.isArray(b)){var x;m=(x=m).concat.apply(x,b)}else m.push(b)}for(var C=0;C<g.length;C++)k(g[C]);m.length?(y=cm(m),c(m,y)):c(null,i)}if(u.messages){var f=this.messages();f===fm&&(f=dm()),WC(f,u.messages),u.messages=f}else u.messages=this.messages();var p={},h=u.keys||Object.keys(this.rules);h.forEach(function(g){var m=l.rules[g],y=i[g];m.forEach(function(k){var C=k;typeof C.transform=="function"&&(i===o&&(i=Ms({},i)),y=i[g]=C.transform(y)),typeof C=="function"?C={validator:C}:C=Ms({},C),C.validator=l.getValidationMethod(C),C.validator&&(C.field=g,C.fullField=C.fullField||g,C.type=l.getType(C),p[g]=p[g]||[],p[g].push({rule:C,value:y,source:i,field:g}))})});var v={};return eW(p,u,function(g,m){var y=g.rule,k=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");k=k&&(y.required||!y.required&&g.value),y.field=g.field;function C(_,z){return Ms({},z,{fullField:y.fullField+"."+_,fullFields:y.fullFields?[].concat(y.fullFields,[_]):[_]})}function b(_){_===void 0&&(_=[]);var z=Array.isArray(_)?_:[_];!u.suppressWarning&&z.length&&e.warning("async-validator:",z),z.length&&y.message!==void 0&&(z=[].concat(y.message));var I=z.map(HC(y,i));if(u.first&&I.length)return v[y.field]=1,m(I);if(!k)m(I);else{if(y.required&&!g.value)return y.message!==void 0?I=[].concat(y.message).map(HC(y,i)):u.error&&(I=[u.error(y,Er(u.messages.required,y.field))]),m(I);var P={};y.defaultField&&Object.keys(g.value).map(function(A){P[A]=y.defaultField}),P=Ms({},P,g.rule.fields);var j={};Object.keys(P).forEach(function(A){var K=P[A],Y=Array.isArray(K)?K:[K];j[A]=Y.map(C.bind(null,A))});var O=new e(j);O.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),O.validate(g.value,g.rule.options||u,function(A){var K=[];I&&I.length&&K.push.apply(K,I),A&&A.length&&K.push.apply(K,A),m(K.length?K:null)})}}var x;if(y.asyncValidator)x=y.asyncValidator(y,g.value,b,g.source,u);else if(y.validator){try{x=y.validator(y,g.value,b,g.source,u)}catch(_){console.error?.(_),u.suppressValidatorError||setTimeout(function(){throw _},0),b(_.message)}x===!0?b():x===!1?b(typeof y.message=="function"?y.message(y.fullField||y.field):y.message||(y.fullField||y.field)+" fails"):x instanceof Array?b(x):x instanceof Error&&b(x.message)}x&&x.then&&x.then(function(){return b()},function(_){return b(_)})},function(g){d(g)},i)},t.getType=function(o){if(o.type===void 0&&o.pattern instanceof RegExp&&(o.type="pattern"),typeof o.validator!="function"&&o.type&&!gc.hasOwnProperty(o.type))throw new Error(Er("Unknown rule type %s",o.type));return o.type||"string"},t.getValidationMethod=function(o){if(typeof o.validator=="function")return o.validator;var r=Object.keys(o),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?gc.required:gc[this.getType(o)]||void 0},e})();Sd.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");gc[t]=n};Sd.warning=X9;Sd.messages=fm;Sd.validators=gc;const _W=["","error","validating","success"],xW=qe({label:String,labelWidth:{type:[String,Number],default:""},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:se([String,Array])},required:{type:Boolean,default:void 0},rules:{type:se([Object,Array])},error:String,validateStatus:{type:String,values:_W},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:Fa}}),YC="ElLabelWrap";var EW=te({name:YC,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=et(ii,void 0),o=et(Da);o||Qn(YC,"usage: <el-form-item><label-wrap /></el-form-item>");const r=Ie("form"),a=L(),l=L(0),i=()=>{var d;if((d=a.value)!=null&&d.firstElementChild){const f=window.getComputedStyle(a.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},u=(d="update")=>{Qe(()=>{t.default&&e.isAutoWidth&&(d==="update"?l.value=i():d==="remove"&&n?.deregisterLabelWidth(l.value))})},c=()=>u("update");return Bt(()=>{c()}),cn(()=>{u("remove")}),fa(()=>c()),ke(l,(d,f)=>{e.updateAll&&n?.registerLabelWidth(d,f)}),In(S(()=>{var d,f;return(f=(d=a.value)==null?void 0:d.firstElementChild)!=null?f:null}),c),()=>{var d,f;if(!t)return null;const{isAutoWidth:p}=e;if(p){const h=n?.autoLabelWidth,v=o?.hasLabel,g={};if(v&&h&&h!=="auto"){const m=Math.max(0,Number.parseInt(h,10)-l.value),k=(o.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";m&&(g[k]=`${m}px`)}return Q("div",{ref:a,class:[r.be("item","label-wrap")],style:g},[(d=t.default)==null?void 0:d.call(t)])}else return Q(tt,{ref:a},[(f=t.default)==null?void 0:f.call(t)])}}});const zW=te({name:"ElFormItem"}),TW=te({...zW,props:xW,setup(e,{expose:t}){const n=e,o=ao(),r=et(ii,void 0),a=et(Da,void 0),l=ro(void 0,{formItem:!1}),i=Ie("form-item"),u=To().value,c=L([]),d=L(""),f=kD(d,100),p=L(""),h=L();let v,g=!1;const m=S(()=>n.labelPosition||r?.labelPosition),y=S(()=>{if(m.value==="top")return{};const ce=Nn(n.labelWidth||r?.labelWidth||"");return ce?{width:ce}:{}}),k=S(()=>{if(m.value==="top"||r?.inline)return{};if(!n.label&&!n.labelWidth&&j)return{};const ce=Nn(n.labelWidth||r?.labelWidth||"");return!n.label&&!o.label?{marginLeft:ce}:{}}),C=S(()=>[i.b(),i.m(l.value),i.is("error",d.value==="error"),i.is("validating",d.value==="validating"),i.is("success",d.value==="success"),i.is("required",Z.value||n.required),i.is("no-asterisk",r?.hideRequiredAsterisk),r?.requireAsteriskPosition==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:r?.statusIcon,[i.m(`label-${m.value}`)]:m.value}]),b=S(()=>fn(n.inlineMessage)?n.inlineMessage:r?.inlineMessage||!1),x=S(()=>[i.e("error"),{[i.em("error","inline")]:b.value}]),_=S(()=>n.prop?Be(n.prop)?n.prop.join("."):n.prop:""),z=S(()=>!!(n.label||o.label)),I=S(()=>{var ce;return(ce=n.for)!=null?ce:c.value.length===1?c.value[0]:void 0}),P=S(()=>!I.value&&z.value),j=!!a,O=S(()=>{const ce=r?.model;if(!(!ce||!n.prop))return fc(ce,n.prop).value}),A=S(()=>{const{required:ce}=n,oe=[];n.rules&&oe.push(...bo(n.rules));const ie=r?.rules;if(ie&&n.prop){const de=fc(ie,n.prop).value;de&&oe.push(...bo(de))}if(ce!==void 0){const de=oe.map((U,le)=>[U,le]).filter(([U])=>"required"in U);if(de.length>0)for(const[U,le]of de)U.required!==ce&&(oe[le]={...U,required:ce});else oe.push({required:ce})}return oe}),K=S(()=>A.value.length>0),Y=ce=>A.value.filter(ie=>!ie.trigger||!ce?!0:Be(ie.trigger)?ie.trigger.includes(ce):ie.trigger===ce).map(({trigger:ie,...de})=>de),Z=S(()=>A.value.some(ce=>ce.required)),$=S(()=>{var ce;return f.value==="error"&&n.showMessage&&((ce=r?.showMessage)!=null?ce:!0)}),R=S(()=>`${n.label||""}${r?.labelSuffix||""}`),D=ce=>{d.value=ce},B=ce=>{var oe,ie;const{errors:de,fields:U}=ce;(!de||!U)&&console.error(ce),D("error"),p.value=de?(ie=(oe=de?.[0])==null?void 0:oe.message)!=null?ie:`${n.prop} is required`:"",r?.emit("validate",n.prop,!1,p.value)},q=()=>{D("success"),r?.emit("validate",n.prop,!0,"")},G=async ce=>{const oe=_.value;return new Sd({[oe]:ce}).validate({[oe]:O.value},{firstFields:!0}).then(()=>(q(),!0)).catch(de=>(B(de),Promise.reject(de)))},X=async(ce,oe)=>{if(g||!n.prop)return!1;const ie=it(oe);if(!K.value)return oe?.(!1),!1;const de=Y(ce);return de.length===0?(oe?.(!0),!0):(D("validating"),G(de).then(()=>(oe?.(!0),!0)).catch(U=>{const{fields:le}=U;return oe?.(!1,le),ie?!1:Promise.reject(le)}))},J=()=>{D(""),p.value="",g=!1},ue=async()=>{const ce=r?.model;if(!ce||!n.prop)return;const oe=fc(ce,n.prop);g=!0,oe.value=p1(v),await Qe(),J(),g=!1},ae=ce=>{c.value.includes(ce)||c.value.push(ce)},ve=ce=>{c.value=c.value.filter(oe=>oe!==ce)};ke(()=>n.error,ce=>{p.value=ce||"",D(ce?"error":"")},{immediate:!0}),ke(()=>n.validateStatus,ce=>D(ce||""));const re=an({...fo(n),$el:h,size:l,validateMessage:p,validateState:d,labelId:u,inputIds:c,isGroup:P,hasLabel:z,fieldValue:O,addInputId:ae,removeInputId:ve,resetField:ue,clearValidate:J,validate:X,propString:_});return Ut(Da,re),Bt(()=>{n.prop&&(r?.addField(re),v=p1(O.value))}),cn(()=>{r?.removeField(re)}),t({size:l,validateMessage:p,validateState:d,validate:X,clearValidate:J,resetField:ue}),(ce,oe)=>{var ie;return T(),F("div",{ref_key:"formItemRef",ref:h,class:M(s(C)),role:s(P)?"group":void 0,"aria-labelledby":s(P)?s(u):void 0},[Q(s(EW),{"is-auto-width":s(y).width==="auto","update-all":((ie=s(r))==null?void 0:ie.labelWidth)==="auto"},{default:ne(()=>[ce.label||ce.$slots.label?(T(),ge(Rt(s(I)?"label":"div"),{key:0,id:s(u),for:s(I),class:M(s(i).e("label")),style:ht(s(y))},{default:ne(()=>[he(ce.$slots,"label",{label:s(R)},()=>[Tt(Pe(s(R)),1)])]),_:3},8,["id","for","class","style"])):fe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),H("div",{class:M(s(i).e("content")),style:ht(s(k))},[he(ce.$slots,"default"),Q(fx,{name:`${s(i).namespace.value}-zoom-in-top`},{default:ne(()=>[s($)?he(ce.$slots,"error",{key:0,error:p.value},()=>[H("div",{class:M(s(x))},Pe(p.value),3)]):fe("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var Gz=Ue(TW,[["__file","form-item.vue"]]);const OW=Pt(H9,{FormItem:Gz}),$W=Rn(Gz),PW=qe({urlList:{type:se(Array),default:()=>jn([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:se(String)}}),IW={close:()=>!0,error:e=>e instanceof Event,switch:e=>ft(e),rotate:e=>ft(e)},MW=te({name:"ElImageViewer"}),AW=te({...MW,props:PW,emits:IW,setup(e,{expose:t,emit:n}){var o;const r=e,a={CONTAIN:{name:"contain",icon:ea(B3)},ORIGINAL:{name:"original",icon:ea(dL)}};let l,i="";const{t:u}=Qt(),c=Ie("image-viewer"),{nextZIndex:d}=hd(),f=L(),p=L(),h=fy(),v=S(()=>{const{scale:ce,minScale:oe,maxScale:ie}=r;return y2(ce,oe,ie)}),g=L(!0),m=L(!1),y=L(r.initialIndex),k=xn(a.CONTAIN),C=L({scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),b=L((o=r.zIndex)!=null?o:d()),x=S(()=>{const{urlList:ce}=r;return ce.length<=1}),_=S(()=>y.value===0),z=S(()=>y.value===r.urlList.length-1),I=S(()=>r.urlList[y.value]),P=S(()=>[c.e("btn"),c.e("prev"),c.is("disabled",!r.infinite&&_.value)]),j=S(()=>[c.e("btn"),c.e("next"),c.is("disabled",!r.infinite&&z.value)]),O=S(()=>{const{scale:ce,deg:oe,offsetX:ie,offsetY:de,enableTransition:U}=C.value;let le=ie/ce,me=de/ce;const _e=oe*Math.PI/180,Ce=Math.cos(_e),we=Math.sin(_e);le=le*Ce+me*we,me=me*Ce-ie/ce*we;const $e={transform:`scale(${ce}) rotate(${oe}deg) translate(${le}px, ${me}px)`,transition:U?"transform .3s":""};return k.value.name===a.CONTAIN.name&&($e.maxWidth=$e.maxHeight="100%"),$e}),A=S(()=>`${y.value+1} / ${r.urlList.length}`);function K(){Z(),l?.(),document.body.style.overflow=i,n("close")}function Y(){const ce=Bs(ie=>{switch(kn(ie)){case We.esc:r.closeOnPressEscape&&K();break;case We.space:q();break;case We.left:X();break;case We.up:ue("zoomIn");break;case We.right:J();break;case We.down:ue("zoomOut");break}}),oe=Bs(ie=>{const de=ie.deltaY||ie.deltaX;ue(de<0?"zoomIn":"zoomOut",{zoomRate:r.zoomRate,enableTransition:!1})});h.run(()=>{gn(document,"keydown",ce),gn(document,"wheel",oe)})}function Z(){h.stop()}function $(){g.value=!1}function R(ce){m.value=!0,g.value=!1,n("error",ce),ce.target.alt=u("el.image.error")}function D(ce){if(g.value||ce.button!==0||!f.value)return;C.value.enableTransition=!1;const{offsetX:oe,offsetY:ie}=C.value,de=ce.pageX,U=ce.pageY,le=Bs(_e=>{C.value={...C.value,offsetX:oe+_e.pageX-de,offsetY:ie+_e.pageY-U}}),me=gn(document,"mousemove",le);gn(document,"mouseup",()=>{me()}),ce.preventDefault()}function B(){C.value={scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function q(){if(g.value||m.value)return;const ce=Ac(a),oe=Object.values(a),ie=k.value.name,U=(oe.findIndex(le=>le.name===ie)+1)%ce.length;k.value=a[ce[U]],B()}function G(ce){m.value=!1;const oe=r.urlList.length;y.value=(ce+oe)%oe}function X(){_.value&&!r.infinite||G(y.value-1)}function J(){z.value&&!r.infinite||G(y.value+1)}function ue(ce,oe={}){if(g.value||m.value)return;const{minScale:ie,maxScale:de}=r,{zoomRate:U,rotateDeg:le,enableTransition:me}={zoomRate:r.zoomRate,rotateDeg:90,enableTransition:!0,...oe};switch(ce){case"zoomOut":C.value.scale>ie&&(C.value.scale=Number.parseFloat((C.value.scale/U).toFixed(3)));break;case"zoomIn":C.value.scale<de&&(C.value.scale=Number.parseFloat((C.value.scale*U).toFixed(3)));break;case"clockwise":C.value.deg+=le,n("rotate",C.value.deg);break;case"anticlockwise":C.value.deg-=le,n("rotate",C.value.deg);break}C.value.enableTransition=me}function ae(ce){var oe;((oe=ce.detail)==null?void 0:oe.focusReason)==="pointer"&&ce.preventDefault()}function ve(){r.closeOnPressEscape&&K()}function re(ce){if(ce.ctrlKey){if(ce.deltaY<0)return ce.preventDefault(),!1;if(ce.deltaY>0)return ce.preventDefault(),!1}}return ke(()=>v.value,ce=>{C.value.scale=ce}),ke(I,()=>{Qe(()=>{const ce=p.value;ce?.complete||(g.value=!0)})}),ke(y,ce=>{B(),n("switch",ce)}),Bt(()=>{Y(),l=gn("wheel",re,{passive:!1}),i=document.body.style.overflow,document.body.style.overflow="hidden"}),t({setActiveItem:G}),(ce,oe)=>(T(),ge(s(Cd),{to:"body",disabled:!ce.teleported},{default:ne(()=>[Q(So,{name:"viewer-fade",appear:""},{default:ne(()=>[H("div",{ref_key:"wrapper",ref:f,tabindex:-1,class:M(s(c).e("wrapper")),style:ht({zIndex:b.value})},[Q(s(wu),{loop:"",trapped:"","focus-trap-el":f.value,"focus-start-el":"container",onFocusoutPrevented:ae,onReleaseRequested:ve},{default:ne(()=>[H("div",{class:M(s(c).e("mask")),onClick:wt(ie=>ce.hideOnClickModal&&K(),["self"])},null,10,["onClick"]),fe(" CLOSE "),H("span",{class:M([s(c).e("btn"),s(c).e("close")]),onClick:K},[Q(s(lt),null,{default:ne(()=>[Q(s(Kr))]),_:1})],2),fe(" ARROW "),s(x)?fe("v-if",!0):(T(),F(tt,{key:0},[H("span",{class:M(s(P)),onClick:X},[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1})],2),H("span",{class:M(s(j)),onClick:J},[Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})],2)],64)),ce.$slots.progress||ce.showProgress?(T(),F("div",{key:1,class:M([s(c).e("btn"),s(c).e("progress")])},[he(ce.$slots,"progress",{activeIndex:y.value,total:ce.urlList.length},()=>[Tt(Pe(s(A)),1)])],2)):fe("v-if",!0),fe(" ACTIONS "),H("div",{class:M([s(c).e("btn"),s(c).e("actions")])},[H("div",{class:M(s(c).e("actions__inner"))},[he(ce.$slots,"toolbar",{actions:ue,prev:X,next:J,reset:q,activeIndex:y.value,setActiveItem:G},()=>[Q(s(lt),{onClick:ie=>ue("zoomOut")},{default:ne(()=>[Q(s(OL))]),_:1},8,["onClick"]),Q(s(lt),{onClick:ie=>ue("zoomIn")},{default:ne(()=>[Q(s(K2))]),_:1},8,["onClick"]),H("i",{class:M(s(c).e("actions__divider"))},null,2),Q(s(lt),{onClick:q},{default:ne(()=>[(T(),ge(Rt(s(k).icon)))]),_:1}),H("i",{class:M(s(c).e("actions__divider"))},null,2),Q(s(lt),{onClick:ie=>ue("anticlockwise")},{default:ne(()=>[Q(s(sL))]),_:1},8,["onClick"]),Q(s(lt),{onClick:ie=>ue("clockwise")},{default:ne(()=>[Q(s(uL))]),_:1},8,["onClick"])])],2)],2),fe(" CANVAS "),H("div",{class:M(s(c).e("canvas"))},[m.value&&ce.$slots["viewer-error"]?he(ce.$slots,"viewer-error",{key:0,activeIndex:y.value,src:s(I)}):(T(),F("img",{ref_key:"imgRef",ref:p,key:s(I),src:s(I),style:ht(s(O)),class:M(s(c).e("img")),crossorigin:ce.crossorigin,onLoad:$,onError:R,onMousedown:D},null,46,["src","crossorigin"]))],2),he(ce.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});var jW=Ue(AW,[["__file","image-viewer.vue"]]);const Xz=Pt(jW),NW=qe({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:se([String,Object])},previewSrcList:{type:se(Array),default:()=>jn([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:se(String)}}),RW={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>ft(e),close:()=>!0,show:()=>!0},DW=te({name:"ElImage",inheritAttrs:!1}),LW=te({...DW,props:NW,emits:RW,setup(e,{expose:t,emit:n}){const o=e,{t:r}=Qt(),a=Ie("image"),l=El(),i=S(()=>Mc(Object.entries(l).filter(([$])=>/^(data-|on[A-Z])/i.test($)||["id","style"].includes($)))),u=Pp({excludeListeners:!0,excludeKeys:S(()=>Object.keys(i.value))}),c=L(),d=L(!1),f=L(!0),p=L(!1),h=L(),v=L(),g=nn&&"loading"in HTMLImageElement.prototype;let m;const y=S(()=>[a.e("inner"),C.value&&a.e("preview"),f.value&&a.is("loading")]),k=S(()=>{const{fit:$}=o;return nn&&$?{objectFit:$}:{}}),C=S(()=>{const{previewSrcList:$}=o;return Be($)&&$.length>0}),b=S(()=>{const{previewSrcList:$,initialIndex:R}=o;let D=R;return R>$.length-1&&(D=0),D}),x=S(()=>o.loading==="eager"?!1:!g&&o.loading==="lazy"||o.lazy),_=()=>{nn&&(f.value=!0,d.value=!1,c.value=o.src)};function z($){f.value=!1,d.value=!1,n("load",$)}function I($){f.value=!1,d.value=!0,n("error",$)}function P($){$&&(_(),A())}const j=w2(P,200,!0);async function O(){var $;if(!nn)return;await Qe();const{scrollContainer:R}=o;if(zr(R))v.value=R;else if(rt(R)&&R!=="")v.value=($=document.querySelector(R))!=null?$:void 0;else if(h.value){const B=Jy(h.value);v.value=dd(B)?void 0:B}const{stop:D}=PD(h,([B])=>{j(B.isIntersecting)},{root:v});m=D}function A(){!nn||!j||(m?.(),v.value=void 0,m=void 0)}function K(){C.value&&(p.value=!0,n("show"))}function Y(){p.value=!1,n("close")}function Z($){n("switch",$)}return ke(()=>o.src,()=>{x.value?(f.value=!0,d.value=!1,A(),O()):_()}),Bt(()=>{x.value?O():_()}),t({showPreview:K}),($,R)=>(T(),F("div",Vt({ref_key:"container",ref:h},s(i),{class:[s(a).b(),$.$attrs.class]}),[d.value?he($.$slots,"error",{key:0},()=>[H("div",{class:M(s(a).e("error"))},Pe(s(r)("el.image.error")),3)]):(T(),F(tt,{key:1},[c.value!==void 0?(T(),F("img",Vt({key:0},s(u),{src:c.value,loading:$.loading,style:s(k),class:s(y),crossorigin:$.crossorigin,onClick:K,onLoad:z,onError:I}),null,16,["src","loading","crossorigin"])):fe("v-if",!0),f.value?(T(),F("div",{key:1,class:M(s(a).e("wrapper"))},[he($.$slots,"placeholder",{},()=>[H("div",{class:M(s(a).e("placeholder"))},null,2)])],2)):fe("v-if",!0)],64)),s(C)?(T(),F(tt,{key:2},[p.value?(T(),ge(s(Xz),{key:0,"z-index":$.zIndex,"initial-index":s(b),infinite:$.infinite,"zoom-rate":$.zoomRate,"min-scale":$.minScale,"max-scale":$.maxScale,"show-progress":$.showProgress,"url-list":$.previewSrcList,scale:$.scale,crossorigin:$.crossorigin,"hide-on-click-modal":$.hideOnClickModal,teleported:$.previewTeleported,"close-on-press-escape":$.closeOnPressEscape,onClose:Y,onSwitch:Z},yr({toolbar:ne(D=>[he($.$slots,"toolbar",Qr(Pa(D)))]),default:ne(()=>[$.$slots.viewer?(T(),F("div",{key:0},[he($.$slots,"viewer")])):fe("v-if",!0)]),_:2},[$.$slots.progress?{name:"progress",fn:ne(D=>[he($.$slots,"progress",Qr(Pa(D)))])}:void 0,$.$slots["viewer-error"]?{name:"viewer-error",fn:ne(D=>[he($.$slots,"viewer-error",Qr(Pa(D)))])}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):fe("v-if",!0)],64)):fe("v-if",!0)],16))}});var BW=Ue(LW,[["__file","image.vue"]]);const VW=Pt(BW),FW=qe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:Boolean,size:io,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||ft(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Zo(["ariaLabel"]),inputmode:{type:se(String),default:void 0},align:{type:se(String),default:"center"},disabledScientific:Boolean}),qW={[Wt]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[oo]:e=>ft(e)||Yn(e),[St]:e=>ft(e)||Yn(e)},KW=te({name:"ElInputNumber"}),HW=te({...KW,props:FW,emits:qW,setup(e,{expose:t,emit:n}){const o=e,{t:r}=Qt(),a=Ie("input-number"),l=L(),i=an({currentValue:o.modelValue,userInput:null}),{formItem:u}=xo(),c=S(()=>ft(o.modelValue)&&o.modelValue<=o.min),d=S(()=>ft(o.modelValue)&&o.modelValue>=o.max),f=S(()=>{const $=y(o.step);return Zt(o.precision)?Math.max(y(o.modelValue),$):($>o.precision&&Kt("InputNumber","precision should not be less than the decimal places of step"),o.precision)}),p=S(()=>o.controls&&o.controlsPosition==="right"),h=ro(),v=go(),g=S(()=>{if(i.userInput!==null)return i.userInput;let $=i.currentValue;if(Yn($))return"";if(ft($)){if(Number.isNaN($))return"";Zt(o.precision)||($=$.toFixed(o.precision))}return $}),m=($,R)=>{if(Zt(R)&&(R=f.value),R===0)return Math.round($);let D=String($);const B=D.indexOf(".");if(B===-1||!D.replace(".","").split("")[B+R])return $;const X=D.length;return D.charAt(X-1)==="5"&&(D=`${D.slice(0,Math.max(0,X-1))}6`),Number.parseFloat(Number(D).toFixed(R))},y=$=>{if(Yn($))return 0;const R=$.toString(),D=R.indexOf(".");let B=0;return D!==-1&&(B=R.length-D-1),B},k=($,R=1)=>ft($)?$>=Number.MAX_SAFE_INTEGER&&R===1?(Kt("InputNumber","The value has reached the maximum safe integer limit."),$):$<=Number.MIN_SAFE_INTEGER&&R===-1?(Kt("InputNumber","The value has reached the minimum safe integer limit."),$):m($+o.step*R):i.currentValue,C=$=>{const R=kn($),D=iE($);if(o.disabledScientific&&["e","E"].includes(D)){$.preventDefault();return}switch(R){case We.up:{$.preventDefault(),b();break}case We.down:{$.preventDefault(),x();break}}},b=()=>{if(o.readonly||v.value||d.value)return;const $=Number(g.value)||0,R=k($);z(R),n(oo,i.currentValue),Y()},x=()=>{if(o.readonly||v.value||c.value)return;const $=Number(g.value)||0,R=k($,-1);z(R),n(oo,i.currentValue),Y()},_=($,R)=>{const{max:D,min:B,step:q,precision:G,stepStrictly:X,valueOnClear:J}=o;D<B&&Qn("InputNumber","min should not be greater than max.");let ue=Number($);if(Yn($)||Number.isNaN(ue))return null;if($===""){if(J===null)return null;ue=rt(J)?{min:B,max:D}[J]:J}return X&&(ue=m(Math.round(m(ue/q))*q,G),ue!==$&&R&&n(St,ue)),Zt(G)||(ue=m(ue,G)),(ue>D||ue<B)&&(ue=ue>D?D:B,R&&n(St,ue)),ue},z=($,R=!0)=>{var D;const B=i.currentValue,q=_($);if(!R){n(St,q);return}B===q&&$||(i.userInput=null,n(St,q),B!==q&&n(Wt,q,B),o.validateEvent&&((D=u?.validate)==null||D.call(u,"change").catch(G=>Kt(G))),i.currentValue=q)},I=$=>{i.userInput=$;const R=$===""?null:Number($);n(oo,R),z(R,!1)},P=$=>{const R=$!==""?Number($):"";(ft(R)&&!Number.isNaN(R)||$==="")&&z(R),Y(),i.userInput=null},j=()=>{var $,R;(R=($=l.value)==null?void 0:$.focus)==null||R.call($)},O=()=>{var $,R;(R=($=l.value)==null?void 0:$.blur)==null||R.call($)},A=$=>{n("focus",$)},K=$=>{var R,D;i.userInput=null,i.currentValue===null&&((R=l.value)!=null&&R.input)&&(l.value.input.value=""),n("blur",$),o.validateEvent&&((D=u?.validate)==null||D.call(u,"blur").catch(B=>Kt(B)))},Y=()=>{i.currentValue!==o.modelValue&&(i.currentValue=o.modelValue)},Z=$=>{document.activeElement===$.target&&$.preventDefault()};return ke(()=>o.modelValue,($,R)=>{const D=_($,!0);i.userInput===null&&D!==R&&(i.currentValue=D)},{immediate:!0}),ke(()=>o.precision,()=>{i.currentValue=_(o.modelValue)}),Bt(()=>{var $;const{min:R,max:D,modelValue:B}=o,q=($=l.value)==null?void 0:$.input;if(q.setAttribute("role","spinbutton"),Number.isFinite(D)?q.setAttribute("aria-valuemax",String(D)):q.removeAttribute("aria-valuemax"),Number.isFinite(R)?q.setAttribute("aria-valuemin",String(R)):q.removeAttribute("aria-valuemin"),q.setAttribute("aria-valuenow",i.currentValue||i.currentValue===0?String(i.currentValue):""),q.setAttribute("aria-disabled",String(v.value)),!ft(B)&&B!=null){let G=Number(B);Number.isNaN(G)&&(G=null),n(St,G)}q.addEventListener("wheel",Z,{passive:!1})}),fa(()=>{var $,R;const D=($=l.value)==null?void 0:$.input;D?.setAttribute("aria-valuenow",`${(R=i.currentValue)!=null?R:""}`)}),t({focus:j,blur:O}),($,R)=>(T(),F("div",{class:M([s(a).b(),s(a).m(s(h)),s(a).is("disabled",s(v)),s(a).is("without-controls",!$.controls),s(a).is("controls-right",s(p)),s(a).is($.align,!!$.align)]),onDragstart:wt(()=>{},["prevent"])},[$.controls?Nt((T(),F("span",{key:0,role:"button","aria-label":s(r)("el.inputNumber.decrease"),class:M([s(a).e("decrease"),s(a).is("disabled",s(c))]),onKeydown:Ln(x,["enter"])},[he($.$slots,"decrease-icon",{},()=>[Q(s(lt),null,{default:ne(()=>[s(p)?(T(),ge(s(qa),{key:0})):(T(),ge(s(U3),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[s(Th),x]]):fe("v-if",!0),$.controls?Nt((T(),F("span",{key:1,role:"button","aria-label":s(r)("el.inputNumber.increase"),class:M([s(a).e("increase"),s(a).is("disabled",s(d))]),onKeydown:Ln(b,["enter"])},[he($.$slots,"increase-icon",{},()=>[Q(s(lt),null,{default:ne(()=>[s(p)?(T(),ge(s(Tp),{key:0})):(T(),ge(s(V2),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[s(Th),b]]):fe("v-if",!0),Q(s(Yo),{id:$.id,ref_key:"input",ref:l,type:"number",step:$.step,"model-value":s(g),placeholder:$.placeholder,readonly:$.readonly,disabled:s(v),size:s(h),max:$.max,min:$.min,name:$.name,"aria-label":$.ariaLabel,"validate-event":!1,inputmode:$.inputmode,onKeydown:C,onBlur:K,onFocus:A,onInput:I,onChange:P},yr({_:2},[$.$slots.prefix?{name:"prefix",fn:ne(()=>[he($.$slots,"prefix")])}:void 0,$.$slots.suffix?{name:"suffix",fn:ne(()=>[he($.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],42,["onDragstart"]))}});var WW=Ue(HW,[["__file","input-number.vue"]]);const Zz=Pt(WW),UW=qe({modelValue:{type:se(Array)},max:Number,tagType:{...wl.type,default:"info"},tagEffect:wl.effect,trigger:{type:se(String),default:We.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:io,clearable:Boolean,clearIcon:{type:hn,default:Ol},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:se(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),YW={[St]:e=>Be(e)||Zt(e),[Wt]:e=>Be(e)||Zt(e),[oo]:e=>rt(e),"add-tag":e=>rt(e)||Be(e),"remove-tag":(e,t)=>rt(e)&&ft(t),"drag-tag":(e,t,n)=>ft(e)&&ft(t)&&rt(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function GW({props:e,emit:t,formItem:n}){const o=go(),r=ro(),a=xn(),l=L(),i=L(),u=S(()=>["small"].includes(r.value)?"small":"default"),c=S(()=>{var Z;return(Z=e.modelValue)!=null&&Z.length?void 0:e.placeholder}),d=S(()=>!(e.readonly||o.value)),f=S(()=>{var Z,$;return Zt(e.max)?!1:(($=(Z=e.modelValue)==null?void 0:Z.length)!=null?$:0)>=e.max}),p=S(()=>{var Z;return e.collapseTags?(Z=e.modelValue)==null?void 0:Z.slice(0,e.maxCollapseTags):e.modelValue}),h=S(()=>{var Z;return e.collapseTags?(Z=e.modelValue)==null?void 0:Z.slice(e.maxCollapseTags):[]}),v=Z=>{var $;const R=[...($=e.modelValue)!=null?$:[],...bo(Z)];t(St,R),t(Wt,R),t("add-tag",Z),l.value=void 0},g=Z=>{var $,R;const D=Z.split(e.delimiter).filter(B=>B&&B!==Z);if(e.max){const B=e.max-((R=($=e.modelValue)==null?void 0:$.length)!=null?R:0);D.splice(B)}return D.length===1?D[0]:D},m=Z=>{if(f.value){l.value=void 0;return}if(!O.value){if(e.delimiter&&l.value){const $=g(l.value);$.length&&v($)}t(oo,Z.target.value)}},y=Z=>{var $;if(O.value)return;switch(kn(Z)){case e.trigger:Z.preventDefault(),Z.stopPropagation(),C();break;case We.numpadEnter:e.trigger===We.enter&&(Z.preventDefault(),Z.stopPropagation(),C());break;case We.backspace:!l.value&&(($=e.modelValue)!=null&&$.length)&&(Z.preventDefault(),Z.stopPropagation(),b(e.modelValue.length-1));break}},k=Z=>{if(O.value||!W2())return;switch(kn(Z)){case We.space:e.trigger===We.space&&(Z.preventDefault(),Z.stopPropagation(),C());break}},C=()=>{var Z;const $=(Z=l.value)==null?void 0:Z.trim();!$||f.value||v($)},b=Z=>{var $;const R=(($=e.modelValue)!=null?$:[]).slice(),[D]=R.splice(Z,1);t(St,R),t(Wt,R),t("remove-tag",D,Z)},x=()=>{l.value=void 0,t(St,void 0),t(Wt,void 0),t("clear")},_=(Z,$,R)=>{var D;const B=((D=e.modelValue)!=null?D:[]).slice(),[q]=B.splice(Z,1),G=$>Z&&R==="before"?-1:$<Z&&R==="after"?1:0;B.splice($+G,0,q),t(St,B),t(Wt,B),t("drag-tag",Z,$+G,q)},z=()=>{var Z;(Z=a.value)==null||Z.focus()},I=()=>{var Z;(Z=a.value)==null||Z.blur()},{wrapperRef:P,isFocused:j}=$l(a,{disabled:o,beforeBlur(Z){var $;return($=i.value)==null?void 0:$.isFocusInsideContent(Z)},afterBlur(){var Z;e.saveOnBlur?C():l.value=void 0,e.validateEvent&&((Z=n?.validate)==null||Z.call(n,"blur").catch($=>Kt($)))}}),{isComposing:O,handleCompositionStart:A,handleCompositionUpdate:K,handleCompositionEnd:Y}=yd({afterComposition:m});return ke(()=>e.modelValue,()=>{var Z;e.validateEvent&&((Z=n?.validate)==null||Z.call(n,Wt).catch($=>Kt($)))}),{inputRef:a,wrapperRef:P,tagTooltipRef:i,isFocused:j,isComposing:O,inputValue:l,size:r,tagSize:u,placeholder:c,closable:d,disabled:o,inputLimit:f,showTagList:p,collapseTagList:h,handleDragged:_,handleInput:m,handleKeydown:y,handleKeyup:k,handleAddTag:C,handleRemoveTag:b,handleClear:x,handleCompositionStart:A,handleCompositionUpdate:K,handleCompositionEnd:Y,focus:z,blur:I}}function XW(){const e=L(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}const Rb=11,Qz=2;function Db(){const e=xn(),t=L(0),n=S(()=>({minWidth:`${Math.max(t.value,Rb)}px`}));return In(e,()=>{var r,a;t.value=(a=(r=e.value)==null?void 0:r.getBoundingClientRect().width)!=null?a:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}function ZW({wrapperRef:e,handleDragged:t,afterDragged:n}){const o=Ie("input-tag"),r=xn(),a=L(!1);let l,i,u,c;function d(v){return`.${o.e("inner")} .${o.namespace.value}-tag:nth-child(${v+1})`}function f(v,g){l=g,i=e.value.querySelector(d(g)),i&&(i.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function p(v,g){if(u=g,v.preventDefault(),v.dataTransfer.dropEffect="move",Zt(l)||l===g){a.value=!1;return}const m=e.value.querySelector(d(g)).getBoundingClientRect(),y=l+1!==g,k=l-1!==g,C=v.clientX-m.left,b=y?k?.5:1:-1,x=k?y?.5:0:1;C<=m.width*b?c="before":C>m.width*x?c="after":c=void 0;const _=e.value.querySelector(`.${o.e("inner")}`),z=_.getBoundingClientRect(),I=Number.parseFloat(ll(_,"gap"))/2,P=m.top-z.top;let j=-9999;if(c==="before")j=Math.max(m.left-z.left-I,Math.floor(-I/2));else if(c==="after"){const O=m.right-z.left;j=O+(z.width===O?Math.floor(I/2):I)}M2(r.value,{top:`${P}px`,left:`${j}px`}),a.value=!!c}function h(v){v.preventDefault(),i&&(i.style.opacity=""),c&&!Zt(l)&&!Zt(u)&&l!==u&&t(l,u,c),a.value=!1,l=void 0,i=null,u=void 0,c=void 0,n?.()}return{dropIndicatorRef:r,showDropIndicator:a,handleDragStart:f,handleDragOver:p,handleDragEnd:h}}function QW({props:e,isFocused:t,hovering:n,disabled:o,inputValue:r,size:a,validateState:l,validateIcon:i,needStatusIcon:u}){const c=El(),d=ao(),f=Ie("input-tag"),p=Ie("input"),h=S(()=>[f.b(),f.is("focused",t.value),f.is("hovering",n.value),f.is("disabled",o.value),f.m(a.value),f.e("wrapper"),c.class]),v=S(()=>[c.style]),g=S(()=>{var k,C;return[f.e("inner"),f.is("draggable",e.draggable),f.is("left-space",!((k=e.modelValue)!=null&&k.length)&&!d.prefix),f.is("right-space",!((C=e.modelValue)!=null&&C.length)&&!y.value)]}),m=S(()=>{var k;return e.clearable&&!o.value&&!e.readonly&&(((k=e.modelValue)==null?void 0:k.length)||r.value)&&(t.value||n.value)}),y=S(()=>d.suffix||m.value||l.value&&i.value&&u.value);return{ns:f,nsInput:p,containerKls:h,containerStyle:v,innerKls:g,showClear:m,showSuffix:y}}const JW=te({name:"ElInputTag",inheritAttrs:!1}),e7=te({...JW,props:UW,emits:YW,setup(e,{expose:t,emit:n}){const o=e,r=Pp(),a=ao(),{form:l,formItem:i}=xo(),{inputId:u}=Pr(o,{formItemContext:i}),c=S(()=>{var Ce;return(Ce=l?.statusIcon)!=null?Ce:!1}),d=S(()=>i?.validateState||""),f=S(()=>d.value&&$p[d.value]),{inputRef:p,wrapperRef:h,tagTooltipRef:v,isFocused:g,inputValue:m,size:y,tagSize:k,placeholder:C,closable:b,disabled:x,showTagList:_,collapseTagList:z,handleDragged:I,handleInput:P,handleKeydown:j,handleKeyup:O,handleRemoveTag:A,handleClear:K,handleCompositionStart:Y,handleCompositionUpdate:Z,handleCompositionEnd:$,focus:R,blur:D}=GW({props:o,emit:n,formItem:i}),{hovering:B,handleMouseEnter:q,handleMouseLeave:G}=XW(),{calculatorRef:X,inputStyle:J}=Db(),{dropIndicatorRef:ue,showDropIndicator:ae,handleDragStart:ve,handleDragOver:re,handleDragEnd:ce}=ZW({wrapperRef:h,handleDragged:I,afterDragged:R}),{ns:oe,nsInput:ie,containerKls:de,containerStyle:U,innerKls:le,showClear:me,showSuffix:_e}=QW({props:o,hovering:B,isFocused:g,inputValue:m,disabled:x,size:y,validateState:d,validateIcon:f,needStatusIcon:c});return t({focus:R,blur:D}),(Ce,we)=>(T(),F("div",{ref_key:"wrapperRef",ref:h,class:M(s(de)),style:ht(s(U)),onMouseenter:s(q),onMouseleave:s(G)},[s(a).prefix?(T(),F("div",{key:0,class:M(s(oe).e("prefix"))},[he(Ce.$slots,"prefix")],2)):fe("v-if",!0),H("div",{class:M(s(le))},[(T(!0),F(tt,null,Dt(s(_),($e,Re)=>(T(),ge(s(fl),{key:Re,size:s(k),closable:s(b),type:Ce.tagType,effect:Ce.tagEffect,draggable:s(b)&&Ce.draggable,"disable-transitions":"",onClose:Ke=>s(A)(Re),onDragstart:Ke=>s(ve)(Ke,Re),onDragover:Ke=>s(re)(Ke,Re),onDragend:s(ce),onDrop:wt(()=>{},["stop"])},{default:ne(()=>[he(Ce.$slots,"tag",{value:$e,index:Re},()=>[Tt(Pe($e),1)])]),_:2},1032,["size","closable","type","effect","draggable","onClose","onDragstart","onDragover","onDragend","onDrop"]))),128)),Ce.collapseTags&&Ce.modelValue&&Ce.modelValue.length>Ce.maxCollapseTags?(T(),ge(s(Oo),{key:0,ref_key:"tagTooltipRef",ref:v,disabled:!Ce.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:Ce.tagEffect,placement:"bottom"},{default:ne(()=>[Q(s(fl),{closable:!1,size:s(k),type:Ce.tagType,effect:Ce.tagEffect,"disable-transitions":""},{default:ne(()=>[Tt(" + "+Pe(Ce.modelValue.length-Ce.maxCollapseTags),1)]),_:1},8,["size","type","effect"])]),content:ne(()=>[H("div",{class:M(s(oe).e("input-tag-list"))},[(T(!0),F(tt,null,Dt(s(z),($e,Re)=>(T(),ge(s(fl),{key:Re,size:s(k),closable:s(b),type:Ce.tagType,effect:Ce.tagEffect,"disable-transitions":"",onClose:Ke=>s(A)(Re+Ce.maxCollapseTags)},{default:ne(()=>[he(Ce.$slots,"tag",{value:$e,index:Re+Ce.maxCollapseTags},()=>[Tt(Pe($e),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):fe("v-if",!0),H("div",{class:M(s(oe).e("input-wrapper"))},[Nt(H("input",Vt({id:s(u),ref_key:"inputRef",ref:p,"onUpdate:modelValue":$e=>Cn(m)?m.value=$e:null},s(r),{type:"text",minlength:Ce.minlength,maxlength:Ce.maxlength,disabled:s(x),readonly:Ce.readonly,autocomplete:Ce.autocomplete,tabindex:Ce.tabindex,placeholder:s(C),autofocus:Ce.autofocus,ariaLabel:Ce.ariaLabel,class:s(oe).e("input"),style:s(J),onCompositionstart:s(Y),onCompositionupdate:s(Z),onCompositionend:s($),onInput:s(P),onKeydown:s(j),onKeyup:s(O)}),null,16,["id","onUpdate:modelValue","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onKeydown","onKeyup"]),[[vp,s(m)]]),H("span",{ref_key:"calculatorRef",ref:X,"aria-hidden":"true",class:M(s(oe).e("input-calculator")),textContent:Pe(s(m))},null,10,["textContent"])],2),Nt(H("div",{ref_key:"dropIndicatorRef",ref:ue,class:M(s(oe).e("drop-indicator"))},null,2),[[tn,s(ae)]])],2),s(_e)?(T(),F("div",{key:1,class:M(s(oe).e("suffix"))},[he(Ce.$slots,"suffix"),s(me)?(T(),ge(s(lt),{key:0,class:M([s(oe).e("icon"),s(oe).e("clear")]),onMousedown:wt(s(un),["prevent"]),onClick:s(K)},{default:ne(()=>[(T(),ge(Rt(Ce.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):fe("v-if",!0),s(d)&&s(f)&&s(c)?(T(),ge(s(lt),{key:1,class:M([s(ie).e("icon"),s(ie).e("validateIcon"),s(ie).is("loading",s(d)==="validating")])},{default:ne(()=>[(T(),ge(Rt(s(f))))]),_:1},8,["class"])):fe("v-if",!0)],2)):fe("v-if",!0)],46,["onMouseenter","onMouseleave"]))}});var t7=Ue(e7,[["__file","input-tag.vue"]]);const n7=Pt(t7),o7=qe({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:hn}}),r7={click:e=>e instanceof MouseEvent},a7=te({name:"ElLink"}),l7=te({...a7,props:o7,emits:r7,setup(e,{emit:t}){const n=e,o=bu("link");Aa({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},S(()=>fn(n.underline)));const r=Ie("link"),a=S(()=>{var u,c,d;return[r.b(),r.m((d=(c=n.type)!=null?c:(u=o.value)==null?void 0:u.type)!=null?d:"default"),r.is("disabled",n.disabled),r.is("underline",l.value==="always"),r.is("hover-underline",l.value==="hover"&&!n.disabled)]}),l=S(()=>{var u,c,d;return fn(n.underline)?n.underline?"hover":"never":(d=(c=n.underline)!=null?c:(u=o.value)==null?void 0:u.underline)!=null?d:"hover"});function i(u){n.disabled||t("click",u)}return(u,c)=>(T(),F("a",{class:M(s(a)),href:u.disabled||!u.href?void 0:u.href,target:u.disabled||!u.href?void 0:u.target,onClick:i},[u.icon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(u.icon)))]),_:1})):fe("v-if",!0),u.$slots.default?(T(),F("span",{key:1,class:M(s(r).e("inner"))},[he(u.$slots,"default")],2)):fe("v-if",!0),u.$slots.icon?he(u.$slots,"icon",{key:2}):fe("v-if",!0)],10,["href","target"]))}});var s7=Ue(l7,[["__file","link.vue"]]);const i7=Pt(s7);let u7=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",o=>{const r=kn(o);let a=!1;switch(r){case We.down:{this.gotoSubIndex(this.subIndex+1),a=!0;break}case We.up:{this.gotoSubIndex(this.subIndex-1),a=!0;break}case We.tab:{$f(t,"mouseleave");break}case We.enter:case We.numpadEnter:case We.space:{a=!0,o.currentTarget.click();break}}return a&&(o.preventDefault(),o.stopPropagation()),!1})})}},c7=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new u7(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const n=kn(t);let o=!1;switch(n){case We.down:{$f(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),o=!0;break}case We.up:{$f(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),o=!0;break}case We.tab:{$f(t.currentTarget,"mouseleave");break}case We.enter:case We.numpadEnter:case We.space:{o=!0,t.currentTarget.click();break}}o&&t.preventDefault()})}},d7=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(o=>{o.nodeType===1&&new c7(o,t)})}};const f7=te({name:"ElMenuCollapseTransition"}),h7=te({...f7,setup(e){const t=Ie("menu"),n={onBeforeEnter:o=>o.style.opacity="0.2",onEnter(o,r){Lr(o,`${t.namespace.value}-opacity-transition`),o.style.opacity="1",r()},onAfterEnter(o){Go(o,`${t.namespace.value}-opacity-transition`),o.style.opacity=""},onBeforeLeave(o){o.dataset||(o.dataset={}),Zr(o,t.m("collapse"))?(Go(o,t.m("collapse")),o.dataset.oldOverflow=o.style.overflow,o.dataset.scrollWidth=o.clientWidth.toString(),Lr(o,t.m("collapse"))):(Lr(o,t.m("collapse")),o.dataset.oldOverflow=o.style.overflow,o.dataset.scrollWidth=o.clientWidth.toString(),Go(o,t.m("collapse"))),o.style.width=`${o.scrollWidth}px`,o.style.overflow="hidden"},onLeave(o){Lr(o,"horizontal-collapse-transition"),o.style.width=`${o.dataset.scrollWidth}px`}};return(o,r)=>(T(),ge(So,Vt({mode:"out-in"},s(n)),{default:ne(()=>[he(o.$slots,"default")]),_:3},16))}});var p7=Ue(h7,[["__file","menu-collapse-transition.vue"]]);function Jz(e,t){const n=S(()=>{let r=e.parent;const a=[t.value];for(;r.type.name!=="ElMenu";)r.props.index&&a.unshift(r.props.index),r=r.parent;return a});return{parentMenu:S(()=>{let r=e.parent;for(;r&&!["ElMenu","ElSubMenu"].includes(r.type.name);)r=r.parent;return r}),indexPath:n}}function g7(e){return S(()=>{const n=e.backgroundColor;return n?new Oi(n).shade(20).toString():""})}const eT=(e,t)=>{const n=Ie("menu");return S(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":g7(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},Lb="rootMenu",Ih="subMenu:",v7=qe({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:se([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:hn},expandOpenIcon:{type:hn},collapseCloseIcon:{type:hn},collapseOpenIcon:{type:hn}}),rv="ElSubMenu";var Bb=te({name:rv,props:v7,setup(e,{slots:t,expose:n}){const o=Lt(),{indexPath:r,parentMenu:a}=Jz(o,S(()=>e.index)),l=Ie("menu"),i=Ie("sub-menu"),u=et(Lb);u||Qn(rv,"can not inject root menu");const c=et(`${Ih}${a.value.uid}`);c||Qn(rv,"can not inject sub menu");const d=L({}),f=L({});let p;const h=L(!1),v=L(),g=L(),m=S(()=>c.level===0),y=S(()=>I.value==="horizontal"&&m.value?"bottom-start":"right-start"),k=S(()=>I.value==="horizontal"&&m.value||I.value==="vertical"&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?_.value?e.expandOpenIcon:e.expandCloseIcon:qa:e.collapseCloseIcon&&e.collapseOpenIcon?_.value?e.collapseOpenIcon:e.collapseCloseIcon:Xo),C=S(()=>{const X=e.teleported;return Zt(X)?m.value:X}),b=S(()=>u.props.collapse?`${l.namespace.value}-zoom-in-left`:`${l.namespace.value}-zoom-in-top`),x=S(()=>I.value==="horizontal"&&m.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"]),_=S(()=>u.openedMenus.includes(e.index)),z=S(()=>[...Object.values(d.value),...Object.values(f.value)].some(({active:X})=>X)),I=S(()=>u.props.mode),P=S(()=>u.props.persistent),j=an({index:e.index,indexPath:r,active:z}),O=eT(u.props,c.level+1),A=S(()=>{var X;return(X=e.popperOffset)!=null?X:u.props.popperOffset}),K=S(()=>{var X;return(X=e.popperClass)!=null?X:u.props.popperClass}),Y=S(()=>{var X;return(X=e.popperStyle)!=null?X:u.props.popperStyle}),Z=S(()=>{var X;return(X=e.showTimeout)!=null?X:u.props.showTimeout}),$=S(()=>{var X;return(X=e.hideTimeout)!=null?X:u.props.hideTimeout}),R=()=>{var X,J,ue;return(ue=(J=(X=g.value)==null?void 0:X.popperRef)==null?void 0:J.popperInstanceRef)==null?void 0:ue.destroy()},D=X=>{X||R()},B=()=>{u.props.menuTrigger==="hover"&&u.props.mode==="horizontal"||u.props.collapse&&u.props.mode==="vertical"||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:r.value,active:z.value})},q=(X,J=Z.value)=>{var ue;if(X.type!=="focus"){if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,p?.(),{stop:p}=Xi(()=>{u.openMenu(e.index,r.value)},J),C.value&&((ue=a.value.vnode.el)==null||ue.dispatchEvent(new MouseEvent("mouseenter"))),X.type==="mouseenter"&&X.target&&Qe(()=>{md(X.target,{preventScroll:!0})})}},G=(X=!1)=>{var J;if(u.props.menuTrigger==="click"&&u.props.mode==="horizontal"||!u.props.collapse&&u.props.mode==="vertical"){c.mouseInChild.value=!1;return}p?.(),c.mouseInChild.value=!1,{stop:p}=Xi(()=>!h.value&&u.closeMenu(e.index,r.value),$.value),C.value&&X&&((J=c.handleMouseleave)==null||J.call(c,!0))};ke(()=>u.props.collapse,X=>D(!!X));{const X=ue=>{f.value[ue.index]=ue},J=ue=>{delete f.value[ue.index]};Ut(`${Ih}${o.uid}`,{addSubMenu:X,removeSubMenu:J,handleMouseleave:G,mouseInChild:h,level:c.level+1})}return n({opened:_}),Bt(()=>{u.addSubMenu(j),c.addSubMenu(j)}),cn(()=>{c.removeSubMenu(j),u.removeSubMenu(j)}),()=>{var X;const J=[(X=t.title)==null?void 0:X.call(t),mt(lt,{class:i.e("icon-arrow"),style:{transform:_.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>rt(k.value)?mt(o.appContext.components[k.value]):mt(k.value)})],ue=u.isMenuPopup?mt(Oo,{ref:g,visible:_.value,effect:"light",pure:!0,offset:A.value,showArrow:!1,persistent:P.value,popperClass:K.value,popperStyle:Y.value,placement:y.value,teleported:C.value,fallbackPlacements:x.value,transition:b.value,gpuAcceleration:!1},{content:()=>{var ae;return mt("div",{class:[l.m(I.value),l.m("popup-container"),K.value],onMouseenter:ve=>q(ve,100),onMouseleave:()=>G(!0),onFocus:ve=>q(ve,100)},[mt("ul",{class:[l.b(),l.m("popup"),l.m(`popup-${y.value}`)],style:O.value},[(ae=t.default)==null?void 0:ae.call(t)])])},default:()=>mt("div",{class:i.e("title"),onClick:B},J)}):mt(tt,{},[mt("div",{class:i.e("title"),ref:v,onClick:B},J),mt(Rp,{},{default:()=>{var ae;return Nt(mt("ul",{role:"menu",class:[l.b(),l.m("inline")],style:O.value},[(ae=t.default)==null?void 0:ae.call(t)]),[[tn,_.value]])}})]);return mt("li",{class:[i.b(),i.is("active",z.value),i.is("opened",_.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:_.value,onMouseenter:q,onMouseleave:()=>G(),onFocus:q},[ue])}}});const m7=qe({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:se(Array),default:()=>jn([])},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:hn,default:()=>eL},popperEffect:{type:se(String),default:"dark"},popperClass:String,popperStyle:{type:se([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),av=e=>Be(e)&&e.every(t=>rt(t)),y7={close:(e,t)=>rt(e)&&av(t),open:(e,t)=>rt(e)&&av(t),select:(e,t,n,o)=>rt(e)&&av(t)&&At(n)&&(Zt(o)||o instanceof Promise)};var b7=te({name:"ElMenu",props:m7,emits:y7,setup(e,{emit:t,slots:n,expose:o}){const r=Lt(),a=r.appContext.config.globalProperties.$router,l=L(),i=L(),u=Ie("menu"),c=Ie("sub-menu");let d=64;const f=L(-1),p=L(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),h=L(e.defaultActive),v=L({}),g=L({}),m=S(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const R=h.value&&v.value[h.value];if(!R||e.mode==="horizontal"||e.collapse)return;R.indexPath.forEach(B=>{const q=g.value[B];q&&k(B,q.indexPath)})},k=(R,D)=>{p.value.includes(R)||(e.uniqueOpened&&(p.value=p.value.filter(B=>D.includes(B))),p.value.push(R),t("open",R,D))},C=R=>{const D=p.value.indexOf(R);D!==-1&&p.value.splice(D,1)},b=(R,D)=>{C(R),t("close",R,D)},x=({index:R,indexPath:D})=>{p.value.includes(R)?b(R,D):k(R,D)},_=R=>{(e.mode==="horizontal"||e.collapse)&&(p.value=[]);const{index:D,indexPath:B}=R;if(!(Yn(D)||Yn(B)))if(e.router&&a){const q=R.route||D,G=a.push(q).then(X=>(X||(h.value=D),X));t("select",D,B,{index:D,indexPath:B,route:q},G)}else h.value=D,t("select",D,B,{index:D,indexPath:B})},z=R=>{var D;const B=v.value,q=B[R]||h.value&&B[h.value]||B[e.defaultActive];h.value=(D=q?.index)!=null?D:R},I=R=>{const D=getComputedStyle(R),B=Number.parseInt(D.marginLeft,10),q=Number.parseInt(D.marginRight,10);return R.offsetWidth+B+q||0},P=()=>{var R,D;if(!l.value)return-1;const B=Array.from((D=(R=l.value)==null?void 0:R.childNodes)!=null?D:[]).filter(ve=>ve.nodeName!=="#comment"&&(ve.nodeName!=="#text"||ve.nodeValue)),q=getComputedStyle(l.value),G=Number.parseInt(q.paddingLeft,10),X=Number.parseInt(q.paddingRight,10),J=l.value.clientWidth-G-X;let ue=0,ae=0;return B.forEach((ve,re)=>{ue+=I(ve),ue<=J-d&&(ae=re+1)}),ae===B.length?-1:ae},j=R=>g.value[R].indexPath,O=(R,D=33.34)=>{let B;return()=>{B&&clearTimeout(B),B=setTimeout(()=>{R()},D)}};let A=!0;const K=()=>{const R=wo(i);if(R&&(d=I(R)||64),f.value===P())return;const D=()=>{f.value=-1,Qe(()=>{f.value=P()})};A?D():O(D)(),A=!1};ke(()=>e.defaultActive,R=>{v.value[R]||(h.value=""),z(R)}),ke(()=>e.collapse,R=>{R&&(p.value=[])}),ke(v.value,y);let Y;sr(()=>{e.mode==="horizontal"&&e.ellipsis?Y=In(l,K).stop:Y?.()});const Z=L(!1);{const R=G=>{g.value[G.index]=G},D=G=>{delete g.value[G.index]};Ut(Lb,an({props:e,openedMenus:p,items:v,subMenus:g,activeIndex:h,isMenuPopup:m,addMenuItem:G=>{v.value[G.index]=G},removeMenuItem:G=>{delete v.value[G.index]},addSubMenu:R,removeSubMenu:D,openMenu:k,closeMenu:b,handleMenuItemClick:_,handleSubMenuClick:x})),Ut(`${Ih}${r.uid}`,{addSubMenu:R,removeSubMenu:D,mouseInChild:Z,level:0})}Bt(()=>{e.mode==="horizontal"&&new d7(r.vnode.el,u.namespace.value)}),o({open:D=>{const{indexPath:B}=g.value[D];B.forEach(q=>k(q,B))},close:C,updateActiveIndex:z,handleResize:K});const $=eT(e,0);return()=>{var R,D;let B=(D=(R=n.default)==null?void 0:R.call(n))!=null?D:[];const q=[];if(e.mode==="horizontal"&&l.value){const J=Ta(B).filter(ve=>ve?.shapeFlag!==8),ue=f.value===-1?J:J.slice(0,f.value),ae=f.value===-1?[]:J.slice(f.value);ae?.length&&e.ellipsis&&(B=ue,q.push(mt(Bb,{ref:i,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>mt(lt,{class:c.e("icon-more")},{default:()=>mt(e.ellipsisIcon)}),default:()=>ae})))}const G=e.closeOnClickOutside?[[Cl,()=>{p.value.length&&(Z.value||(p.value.forEach(J=>t("close",J,j(J))),p.value=[]))}]]:[],X=Nt(mt("ul",{key:String(e.collapse),role:"menubar",ref:l,style:$.value,class:{[u.b()]:!0,[u.m(e.mode)]:!0,[u.m("collapse")]:e.collapse}},[...B,...q]),G);return e.collapseTransition&&e.mode==="vertical"?mt(p7,()=>X):X}}});const w7=qe({index:{type:se([String,null]),default:null},route:{type:se([String,Object])},disabled:Boolean}),C7={click:e=>rt(e.index)&&Be(e.indexPath)},Wf="ElMenuItem",k7=te({name:Wf}),S7=te({...k7,props:w7,emits:C7,setup(e,{expose:t,emit:n}){const o=e;Tr(o.index)&&Kt(Wf,'Missing required prop: "index"');const r=Lt(),a=et(Lb),l=Ie("menu"),i=Ie("menu-item");a||Qn(Wf,"can not inject root menu");const{parentMenu:u,indexPath:c}=Jz(r,sn(o,"index")),d=et(`${Ih}${u.value.uid}`);d||Qn(Wf,"can not inject sub menu");const f=S(()=>o.index===a.activeIndex),p=an({index:o.index,indexPath:c,active:f}),h=()=>{o.disabled||(a.handleMenuItemClick({index:o.index,indexPath:c.value,route:o.route}),n("click",p))};return Bt(()=>{d.addSubMenu(p),a.addMenuItem(p)}),cn(()=>{d.removeSubMenu(p),a.removeMenuItem(p)}),t({parentMenu:u,rootMenu:a,active:f,nsMenu:l,nsMenuItem:i,handleClick:h}),(v,g)=>(T(),F("li",{class:M([s(i).b(),s(i).is("active",s(f)),s(i).is("disabled",v.disabled)]),role:"menuitem",tabindex:"-1",onClick:h},[s(u).type.name==="ElMenu"&&s(a).props.collapse&&v.$slots.title?(T(),ge(s(Oo),{key:0,effect:s(a).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:s(a).props.persistent,"focus-on-target":""},{content:ne(()=>[he(v.$slots,"title")]),default:ne(()=>[H("div",{class:M(s(l).be("tooltip","trigger"))},[he(v.$slots,"default")],2)]),_:3},8,["effect","persistent"])):(T(),F(tt,{key:1},[he(v.$slots,"default"),he(v.$slots,"title")],64))],2))}});var tT=Ue(S7,[["__file","menu-item.vue"]]);const _7={title:String},x7=te({name:"ElMenuItemGroup"}),E7=te({...x7,props:_7,setup(e){const t=Ie("menu-item-group");return(n,o)=>(T(),F("li",{class:M(s(t).b())},[H("div",{class:M(s(t).e("title"))},[n.$slots.title?he(n.$slots,"title",{key:1}):(T(),F(tt,{key:0},[Tt(Pe(n.title),1)],64))],2),H("ul",null,[he(n.$slots,"default")])],2))}});var nT=Ue(E7,[["__file","menu-item-group.vue"]]);const z7=Pt(b7,{MenuItem:tT,MenuItemGroup:nT,SubMenu:Bb}),T7=Rn(tT),O7=Rn(nT),$7=Rn(Bb),P7=qe({icon:{type:hn,default:()=>m3},title:String,content:{type:String,default:""}}),I7={back:()=>!0},M7=te({name:"ElPageHeader"}),A7=te({...M7,props:P7,emits:I7,setup(e,{emit:t}){const{t:n}=Qt(),o=Ie("page-header");function r(){t("back")}return(a,l)=>(T(),F("div",{class:M([s(o).b(),s(o).is("contentful",!!a.$slots.default),{[s(o).m("has-breadcrumb")]:!!a.$slots.breadcrumb,[s(o).m("has-extra")]:!!a.$slots.extra}])},[a.$slots.breadcrumb?(T(),F("div",{key:0,class:M(s(o).e("breadcrumb"))},[he(a.$slots,"breadcrumb")],2)):fe("v-if",!0),H("div",{class:M(s(o).e("header"))},[H("div",{class:M(s(o).e("left"))},[H("div",{class:M(s(o).e("back")),role:"button",tabindex:"0",onClick:r},[a.icon||a.$slots.icon?(T(),F("div",{key:0,"aria-label":a.title||s(n)("el.pageHeader.title"),class:M(s(o).e("icon"))},[he(a.$slots,"icon",{},()=>[a.icon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(a.icon)))]),_:1})):fe("v-if",!0)])],10,["aria-label"])):fe("v-if",!0),H("div",{class:M(s(o).e("title"))},[he(a.$slots,"title",{},()=>[Tt(Pe(a.title||s(n)("el.pageHeader.title")),1)])],2)],2),Q(s(Dz),{direction:"vertical"}),H("div",{class:M(s(o).e("content"))},[he(a.$slots,"content",{},()=>[Tt(Pe(a.content),1)])],2)],2),a.$slots.extra?(T(),F("div",{key:0,class:M(s(o).e("extra"))},[he(a.$slots,"extra")],2)):fe("v-if",!0)],2),a.$slots.default?(T(),F("div",{key:1,class:M(s(o).e("main"))},[he(a.$slots,"default")],2)):fe("v-if",!0)],2))}});var j7=Ue(A7,[["__file","page-header.vue"]]);const N7=Pt(j7),oT=Symbol("elPaginationKey"),R7=qe({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:hn}}),D7={click:e=>e instanceof MouseEvent},L7=te({name:"ElPaginationPrev"}),B7=te({...L7,props:R7,emits:D7,setup(e){const t=e,{t:n}=Qt(),o=S(()=>t.disabled||t.currentPage<=1);return(r,a)=>(T(),F("button",{type:"button",class:"btn-prev",disabled:s(o),"aria-label":r.prevText||s(n)("el.pagination.prev"),"aria-disabled":s(o),onClick:l=>r.$emit("click",l)},[r.prevText?(T(),F("span",{key:0},Pe(r.prevText),1)):(T(),ge(s(lt),{key:1},{default:ne(()=>[(T(),ge(Rt(r.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var V7=Ue(B7,[["__file","prev.vue"]]);const F7=qe({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:hn}}),q7=te({name:"ElPaginationNext"}),K7=te({...q7,props:F7,emits:["click"],setup(e){const t=e,{t:n}=Qt(),o=S(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(r,a)=>(T(),F("button",{type:"button",class:"btn-next",disabled:s(o),"aria-label":r.nextText||s(n)("el.pagination.next"),"aria-disabled":s(o),onClick:l=>r.$emit("click",l)},[r.nextText?(T(),F("span",{key:0},Pe(r.nextText),1)):(T(),ge(s(lt),{key:1},{default:ne(()=>[(T(),ge(Rt(r.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var H7=Ue(K7,[["__file","next.vue"]]);const Vb={label:"label",value:"value",disabled:"disabled",options:"options"};function _d(e){const t=S(()=>({...Vb,...e.props}));return{aliasProps:t,getLabel:l=>Zn(l,t.value.label),getValue:l=>Zn(l,t.value.value),getDisabled:l=>Zn(l,t.value.disabled),getOptions:l=>Zn(l,t.value.options)}}const rT=Symbol("ElSelectGroup"),xd=Symbol("ElSelect"),hm="ElOption",W7=qe({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),Fb=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Zl=e=>od(e);function U7(e,t){const n=et(xd);n||Qn(hm,"usage: <el-select><el-option /></el-select/>");const o=et(rT,{disabled:!1}),r=S(()=>d(bo(n.props.modelValue),e.value)),a=S(()=>{var h;if(n.props.multiple){const v=bo((h=n.props.modelValue)!=null?h:[]);return!r.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),l=S(()=>{var h;return(h=e.label)!=null?h:At(e.value)?"":e.value}),i=S(()=>e.value||e.label||""),u=S(()=>e.disabled||t.groupDisabled||a.value),c=Lt(),d=(h=[],v)=>{if(At(e.value)){const g=n.props.valueKey;return h&&h.some(m=>wn(Zn(m,g))===Zn(v,g))}else return h&&h.includes(v)},f=()=>{!e.disabled&&!o.disabled&&(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},p=h=>{const v=new RegExp(Fb(h),"i");t.visible=v.test(String(l.value))||e.created};return ke(()=>l.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ke(()=>e.value,(h,v)=>{const{remote:g,valueKey:m}=n.props;if((g?h!==v:!Vn(h,v))&&(n.onOptionDestroy(v,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!g){if(m&&At(h)&&At(v)&&h[m]===v[m])return;n.setSelected()}}),ke(()=>o.disabled,()=>{t.groupDisabled=o.disabled},{immediate:!0}),{select:n,currentLabel:l,currentValue:i,itemSelected:r,isDisabled:u,hoverItem:f,updateOption:p}}const Y7=te({name:hm,componentName:hm,props:W7,setup(e){const t=Ie("select"),n=To(),o=S(()=>[t.be("dropdown","item"),t.is("disabled",s(i)),t.is("selected",s(l)),t.is("hovering",s(p))]),r=an({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:a,itemSelected:l,isDisabled:i,select:u,hoverItem:c,updateOption:d}=U7(e,r),{visible:f,hover:p}=fo(r),h=Lt().proxy;u.onOptionCreate(h),cn(()=>{const g=h.value;Qe(()=>{const{selected:m}=u.states,y=m.some(k=>k.value===h.value);u.states.cachedOptions.get(g)===h&&!y&&u.states.cachedOptions.delete(g)}),u.onOptionDestroy(g,h)});function v(){i.value||u.handleOptionSelect(h)}return{ns:t,id:n,containerKls:o,currentLabel:a,itemSelected:l,isDisabled:i,select:u,visible:f,hover:p,states:r,hoverItem:c,updateOption:d,selectOptionClick:v}}});function G7(e,t){return Nt((T(),F("li",{id:e.id,class:M(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:wt(e.selectOptionClick,["stop"])},[he(e.$slots,"default",{},()=>[H("span",null,Pe(e.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[tn,e.visible]])}var qb=Ue(Y7,[["render",G7],["__file","option.vue"]]);const X7=te({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=et(xd),t=Ie("select"),n=S(()=>e.props.popperClass),o=S(()=>e.props.multiple),r=S(()=>e.props.fitInputWidth),a=L("");function l(){var i;const u=(i=e.selectRef)==null?void 0:i.offsetWidth;u?a.value=`${u-Qz}px`:a.value=""}return Bt(()=>{l(),In(e.selectRef,l)}),{ns:t,minWidth:a,popperClass:n,isMultiple:o,isFitInputWidth:r}}});function Z7(e,t,n,o,r,a){return T(),F("div",{class:M([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:ht({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(T(),F("div",{key:0,class:M(e.ns.be("dropdown","header"))},[he(e.$slots,"header")],2)):fe("v-if",!0),he(e.$slots,"default"),e.$slots.footer?(T(),F("div",{key:1,class:M(e.ns.be("dropdown","footer"))},[he(e.$slots,"footer")],2)):fe("v-if",!0)],6)}var Q7=Ue(X7,[["render",Z7],["__file","select-dropdown.vue"]]);const J7=(e,t)=>{const{t:n}=Qt(),o=To(),r=Ie("select"),a=Ie("input"),l=an({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),i=L(),u=L(),c=L(),d=L(),f=L(),p=L(),h=L(),v=L(),g=L(),m=L(),y=L(),k=L(!1),C=L(),b=L(!1),{form:x,formItem:_}=xo(),{inputId:z}=Pr(e,{formItemContext:_}),{valueOnClear:I,isEmptyValue:P}=pd(e),{isComposing:j,handleCompositionStart:O,handleCompositionUpdate:A,handleCompositionEnd:K}=yd({afterComposition:Ye=>Gt(Ye)}),Y=S(()=>e.disabled||!!x?.disabled),{wrapperRef:Z,isFocused:$,handleBlur:R}=$l(f,{disabled:Y,afterFocus(){e.automaticDropdown&&!k.value&&(k.value=!0,l.menuVisibleOnFocus=!0)},beforeBlur(Ye){var bt,Xt;return((bt=c.value)==null?void 0:bt.isFocusInsideContent(Ye))||((Xt=d.value)==null?void 0:Xt.isFocusInsideContent(Ye))},afterBlur(){var Ye;k.value=!1,l.menuVisibleOnFocus=!1,e.validateEvent&&((Ye=_?.validate)==null||Ye.call(_,"blur").catch(bt=>Kt(bt)))}}),D=S(()=>Be(e.modelValue)?e.modelValue.length>0:!P(e.modelValue)),B=S(()=>{var Ye;return(Ye=x?.statusIcon)!=null?Ye:!1}),q=S(()=>e.clearable&&!Y.value&&D.value&&($.value||l.inputHovering)),G=S(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),X=S(()=>r.is("reverse",!!(G.value&&k.value))),J=S(()=>_?.validateState||""),ue=S(()=>J.value&&$p[J.value]),ae=S(()=>e.remote?e.debounce:0),ve=S(()=>e.remote&&!l.inputValue&&l.options.size===0),re=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&l.inputValue&&l.options.size>0&&ce.value===0?e.noMatchText||n("el.select.noMatch"):l.options.size===0?e.noDataText||n("el.select.noData"):null),ce=S(()=>oe.value.filter(Ye=>Ye.visible).length),oe=S(()=>{const Ye=Array.from(l.options.values()),bt=[];return l.optionValues.forEach(Xt=>{const yn=Ye.findIndex(Mn=>Mn.value===Xt);yn>-1&&bt.push(Ye[yn])}),bt.length>=Ye.length?bt:Ye}),ie=S(()=>Array.from(l.cachedOptions.values())),de=S(()=>{const Ye=oe.value.filter(bt=>!bt.created).some(bt=>bt.currentLabel===l.inputValue);return e.filterable&&e.allowCreate&&l.inputValue!==""&&!Ye}),U=()=>{e.filterable&&it(e.filterMethod)||e.filterable&&e.remote&&it(e.remoteMethod)||oe.value.forEach(Ye=>{var bt;(bt=Ye.updateOption)==null||bt.call(Ye,l.inputValue)})},le=ro(),me=S(()=>["small"].includes(le.value)?"small":"default"),_e=S({get(){return k.value&&(e.loading||!ve.value)&&(!b.value||!lr(l.previousQuery))},set(Ye){k.value=Ye}}),Ce=S(()=>{if(e.multiple&&!Zt(e.modelValue))return bo(e.modelValue).length===0&&!l.inputValue;const Ye=Be(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||Zt(Ye)?!l.inputValue:!0}),we=S(()=>{var Ye;const bt=(Ye=e.placeholder)!=null?Ye:n("el.select.placeholder");return e.multiple||!D.value?bt:l.selectedLabel}),$e=S(()=>_h?null:"mouseenter");ke(()=>e.modelValue,(Ye,bt)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(l.inputValue="",Re("")),De(),!Vn(Ye,bt)&&e.validateEvent&&_?.validate("change").catch(Xt=>Kt(Xt))},{flush:"post",deep:!0}),ke(()=>k.value,Ye=>{Ye?Re(l.inputValue):(l.inputValue="",l.previousQuery=null,l.isBeforeHide=!0),t("visible-change",Ye)}),ke(()=>l.options.entries(),()=>{nn&&(De(),e.defaultFirstOption&&(e.filterable||e.remote)&&ce.value&&Ke())},{flush:"post"}),ke([()=>l.hoveringIndex,oe],([Ye])=>{ft(Ye)&&Ye>-1?C.value=oe.value[Ye]||{}:C.value={},oe.value.forEach(bt=>{bt.hover=C.value===bt})}),sr(()=>{l.isBeforeHide||U()});const Re=Ye=>{l.previousQuery===Ye||j.value||(l.previousQuery=Ye,e.filterable&&it(e.filterMethod)?e.filterMethod(Ye):e.filterable&&e.remote&&it(e.remoteMethod)&&e.remoteMethod(Ye),e.defaultFirstOption&&(e.filterable||e.remote)&&ce.value?Qe(Ke):Qe(Ze))},Ke=()=>{const Ye=oe.value.filter(Mn=>Mn.visible&&!Mn.disabled&&!Mn.states.groupDisabled),bt=Ye.find(Mn=>Mn.created),Xt=Ye[0],yn=oe.value.map(Mn=>Mn.value);l.hoveringIndex=ct(yn,bt||Xt)},De=()=>{if(e.multiple)l.selectedLabel="";else{const bt=Be(e.modelValue)?e.modelValue[0]:e.modelValue,Xt=at(bt);l.selectedLabel=Xt.currentLabel,l.selected=[Xt];return}const Ye=[];Zt(e.modelValue)||bo(e.modelValue).forEach(bt=>{Ye.push(at(bt))}),l.selected=Ye},at=Ye=>{let bt;const Xt=bc(Ye);for(let ho=l.cachedOptions.size-1;ho>=0;ho--){const bn=ie.value[ho];if(Xt?Zn(bn.value,e.valueKey)===Zn(Ye,e.valueKey):bn.value===Ye){bt={index:oe.value.filter(mo=>!mo.created).indexOf(bn),value:Ye,currentLabel:bn.currentLabel,get isDisabled(){return bn.isDisabled}};break}}if(bt)return bt;const yn=Xt?Ye.label:Ye??"";return{index:-1,value:Ye,currentLabel:yn}},Ze=()=>{l.hoveringIndex=oe.value.findIndex(Ye=>l.selected.some(bt=>Po(bt)===Po(Ye)))},ot=()=>{l.selectionWidth=Number.parseFloat(window.getComputedStyle(u.value).width)},gt=()=>{l.collapseItemWidth=m.value.getBoundingClientRect().width},Ne=()=>{var Ye,bt;(bt=(Ye=c.value)==null?void 0:Ye.updatePopper)==null||bt.call(Ye)},vt=()=>{var Ye,bt;(bt=(Ye=d.value)==null?void 0:Ye.updatePopper)==null||bt.call(Ye)},_t=()=>{l.inputValue.length>0&&!k.value&&(k.value=!0),Re(l.inputValue)},Gt=Ye=>{if(l.inputValue=Ye.target.value,e.remote)b.value=!0,on();else return _t()},on=fd(()=>{_t(),b.value=!1},ae),yt=Ye=>{Vn(e.modelValue,Ye)||t(Wt,Ye)},Ot=Ye=>p2(Ye,bt=>{const Xt=l.cachedOptions.get(bt);return Xt&&!Xt.disabled&&!Xt.states.groupDisabled}),Oe=Ye=>{const bt=kn(Ye);if(e.multiple&&bt!==We.delete&&Ye.target.value.length<=0){const Xt=bo(e.modelValue).slice(),yn=Ot(Xt);if(yn<0)return;const Mn=Xt[yn];Xt.splice(yn,1),t(St,Xt),yt(Xt),t("remove-tag",Mn)}},ut=(Ye,bt)=>{const Xt=l.selected.indexOf(bt);if(Xt>-1&&!Y.value){const yn=bo(e.modelValue).slice();yn.splice(Xt,1),t(St,yn),yt(yn),t("remove-tag",bt.value)}Ye.stopPropagation(),lo()},pt=Ye=>{Ye.stopPropagation();const bt=e.multiple?[]:I.value;if(e.multiple)for(const Xt of l.selected)Xt.isDisabled&&bt.push(Xt.value);t(St,bt),yt(bt),l.hoveringIndex=-1,k.value=!1,t("clear"),lo()},ye=Ye=>{var bt;if(e.multiple){const Xt=bo((bt=e.modelValue)!=null?bt:[]).slice(),yn=ct(Xt,Ye);yn>-1?Xt.splice(yn,1):(e.multipleLimit<=0||Xt.length<e.multipleLimit)&&Xt.push(Ye.value),t(St,Xt),yt(Xt),Ye.created&&Re(""),e.filterable&&!e.reserveKeyword&&(l.inputValue="")}else!Vn(e.modelValue,Ye.value)&&t(St,Ye.value),yt(Ye.value),k.value=!1;lo(),!k.value&&Qe(()=>{xe(Ye)})},ct=(Ye,bt)=>Zt(bt)?-1:At(bt.value)?Ye.findIndex(Xt=>Vn(Zn(Xt,e.valueKey),Po(bt))):Ye.indexOf(bt.value),xe=Ye=>{var bt,Xt,yn,Mn,ho;const bn=Be(Ye)?Ye[0]:Ye;let Eo=null;if(!Yn(bn?.value)){const mo=oe.value.filter(Ya=>Ya.value===bn.value);mo.length>0&&(Eo=mo[0].$el)}if(c.value&&Eo){const mo=(Mn=(yn=(Xt=(bt=c.value)==null?void 0:bt.popperRef)==null?void 0:Xt.contentRef)==null?void 0:yn.querySelector)==null?void 0:Mn.call(yn,`.${r.be("dropdown","wrap")}`);mo&&eb(mo,Eo)}(ho=y.value)==null||ho.handleScroll()},dt=Ye=>{l.options.set(Ye.value,Ye),l.cachedOptions.set(Ye.value,Ye)},Fe=(Ye,bt)=>{l.options.get(Ye)===bt&&l.options.delete(Ye)},en=S(()=>{var Ye,bt;return(bt=(Ye=c.value)==null?void 0:Ye.popperRef)==null?void 0:bt.contentRef}),Fn=()=>{l.isBeforeHide=!1,Qe(()=>{var Ye;(Ye=y.value)==null||Ye.update(),xe(l.selected)})},lo=()=>{var Ye;(Ye=f.value)==null||Ye.focus()},Jn=()=>{var Ye;if(k.value){k.value=!1,Qe(()=>{var bt;return(bt=f.value)==null?void 0:bt.blur()});return}(Ye=f.value)==null||Ye.blur()},Je=Ye=>{pt(Ye)},Jt=Ye=>{if(k.value=!1,$.value){const bt=new FocusEvent("blur",Ye);Qe(()=>R(bt))}},Ft=()=>{l.inputValue.length>0?l.inputValue="":k.value=!1},Tn=()=>{Y.value||(_h&&(l.inputHovering=!0),l.menuVisibleOnFocus?l.menuVisibleOnFocus=!1:k.value=!k.value)},vo=()=>{if(!k.value)Tn();else{const Ye=oe.value[l.hoveringIndex];Ye&&!Ye.isDisabled&&ye(Ye)}},Po=Ye=>At(Ye.value)?Zn(Ye.value,e.valueKey):Ye.value,Il=S(()=>oe.value.filter(Ye=>Ye.visible).every(Ye=>Ye.isDisabled)),$n=S(()=>e.multiple?e.collapseTags?l.selected.slice(0,e.maxCollapseTags):l.selected:[]),eo=S(()=>e.multiple?e.collapseTags?l.selected.slice(e.maxCollapseTags):[]:[]),Wa=Ye=>{if(!k.value){k.value=!0;return}if(!(l.options.size===0||ce.value===0||j.value)&&!Il.value){Ye==="next"?(l.hoveringIndex++,l.hoveringIndex===l.options.size&&(l.hoveringIndex=0)):Ye==="prev"&&(l.hoveringIndex--,l.hoveringIndex<0&&(l.hoveringIndex=l.options.size-1));const bt=oe.value[l.hoveringIndex];(bt.isDisabled||!bt.visible)&&Wa(Ye),Qe(()=>xe(C.value))}},Ua=(Ye,bt,Xt,yn)=>{for(let Mn=bt;Mn>=0&&Mn<yn;Mn+=Xt){const ho=Ye[Mn];if(!ho?.isDisabled&&ho?.visible)return Mn}return null},dr=(Ye,bt)=>{var Xt;const yn=l.options.size;if(yn===0)return;const Mn=_p(Ye,0,yn-1),ho=oe.value,bn=bt==="up"?-1:1,Eo=(Xt=Ua(ho,Mn,bn,yn))!=null?Xt:Ua(ho,Mn-bn,-bn,yn);Eo!=null&&(l.hoveringIndex=Eo,Qe(()=>xe(C.value)))},Ml=Ye=>{const bt=kn(Ye);let Xt=!0;switch(bt){case We.up:Wa("prev");break;case We.down:Wa("next");break;case We.enter:vo();break;case We.esc:Ft();break;case We.backspace:Xt=!1,Oe(Ye);return;case We.home:if(!k.value)return;dr(0,"down");break;case We.end:if(!k.value)return;dr(l.options.size-1,"up");break;case We.pageUp:if(!k.value)return;dr(l.hoveringIndex-10,"up");break;case We.pageDown:if(!k.value)return;dr(l.hoveringIndex+10,"down");break;default:Xt=!1;break}Xt&&(Ye.preventDefault(),Ye.stopPropagation())},Eu=()=>{if(!u.value)return 0;const Ye=window.getComputedStyle(u.value);return Number.parseFloat(Ye.gap||"6px")},Ir=S(()=>{const Ye=Eu(),bt=e.filterable?Ye+Rb:0;return{maxWidth:`${m.value&&e.maxCollapseTags===1?l.selectionWidth-l.collapseItemWidth-Ye-bt:l.selectionWidth-bt}px`}}),ma=S(()=>({maxWidth:`${l.selectionWidth}px`})),Mr=Ye=>{t("popup-scroll",Ye)};In(u,ot),In(Z,Ne),In(g,vt),In(m,gt);let Ar;return ke(()=>_e.value,Ye=>{Ye?Ar=In(v,Ne).stop:(Ar?.(),Ar=void 0)}),Bt(()=>{De()}),{inputId:z,contentId:o,nsSelect:r,nsInput:a,states:l,isFocused:$,expanded:k,optionsArray:oe,hoverOption:C,selectSize:le,filteredOptionsCount:ce,updateTooltip:Ne,updateTagTooltip:vt,debouncedOnInputChange:on,onInput:Gt,deletePrevTag:Oe,deleteTag:ut,deleteSelected:pt,handleOptionSelect:ye,scrollToOption:xe,hasModelValue:D,shouldShowPlaceholder:Ce,currentPlaceholder:we,mouseEnterEventName:$e,needStatusIcon:B,showClearBtn:q,iconComponent:G,iconReverse:X,validateState:J,validateIcon:ue,showNewOption:de,updateOptions:U,collapseTagSize:me,setSelected:De,selectDisabled:Y,emptyText:re,handleCompositionStart:O,handleCompositionUpdate:A,handleCompositionEnd:K,handleKeydown:Ml,onOptionCreate:dt,onOptionDestroy:Fe,handleMenuEnter:Fn,focus:lo,blur:Jn,handleClearClick:Je,handleClickOutside:Jt,handleEsc:Ft,toggleMenu:Tn,selectOption:vo,getValueKey:Po,navigateOptions:Wa,dropdownMenuVisible:_e,showTagList:$n,collapseTagList:eo,popupScroll:Mr,getOption:at,tagStyle:Ir,collapseTagStyle:ma,popperRef:en,inputRef:f,tooltipRef:c,tagTooltipRef:d,prefixRef:p,suffixRef:h,selectRef:i,wrapperRef:Z,selectionRef:u,scrollbarRef:y,menuRef:v,tagMenuRef:g,collapseItemRef:m}};var eU=te({name:"ElOptions",setup(e,{slots:t}){const n=et(xd);let o=[];return()=>{var r,a;const l=(r=t.default)==null?void 0:r.call(t),i=[];function u(c){Be(c)&&c.forEach(d=>{var f,p,h,v;const g=(f=d?.type||{})==null?void 0:f.name;g==="ElOptionGroup"?u(!rt(d.children)&&!Be(d.children)&&it((p=d.children)==null?void 0:p.default)?(h=d.children)==null?void 0:h.default():d.children):g==="ElOption"?i.push((v=d.props)==null?void 0:v.value):Be(d.children)&&u(d.children)})}return l.length&&u((a=l[0])==null?void 0:a.children),Vn(i,o)||(o=i,n&&(n.states.optionValues=i)),l}}});const tU=qe({name:String,id:String,modelValue:{type:se([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:io,effect:{type:se(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:se([String,Object])},popperOptions:{type:se(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:se(Function)},filterMethod:{type:se(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:mn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:hn,default:Ol},fitInputWidth:Boolean,suffixIcon:{type:hn,default:qa},tagType:{...wl.type,default:"info"},tagEffect:{...wl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:se(String),values:Pl,default:"bottom-start"},fallbackPlacements:{type:se(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:mn.appendTo,options:{type:se(Array)},props:{type:se(Object),default:()=>Vb},...si,...Zo(["ariaLabel"])});Q2.scroll;const nU=te({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ie("select"),n=L(),o=Lt(),r=L([]);Ut(rT,an({...fo(e)}));const a=S(()=>r.value.some(c=>c.visible===!0)),l=c=>{var d;return c.type.name==="ElOption"&&!!((d=c.component)!=null&&d.proxy)},i=c=>{const d=bo(c),f=[];return d.forEach(p=>{var h;zn(p)&&(l(p)?f.push(p.component.proxy):Be(p.children)&&p.children.length?f.push(...i(p.children)):(h=p.component)!=null&&h.subTree&&f.push(...i(p.component.subTree)))}),f},u=()=>{r.value=i(o.subTree)};return Bt(()=>{u()}),C2(n,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:a,ns:t}}});function oU(e,t,n,o,r,a){return Nt((T(),F("ul",{ref:"groupRef",class:M(e.ns.be("group","wrap"))},[H("li",{class:M(e.ns.be("group","title"))},Pe(e.label),3),H("li",null,[H("ul",{class:M(e.ns.b("group"))},[he(e.$slots,"default")],2)])],2)),[[tn,e.visible]])}var Kb=Ue(nU,[["render",oU],["__file","option-group.vue"]]);const GC="ElSelect",rU=te({name:GC,componentName:GC,components:{ElSelectMenu:Q7,ElOption:qb,ElOptions:eU,ElOptionGroup:Kb,ElTag:fl,ElScrollbar:sa,ElTooltip:Oo,ElIcon:lt},directives:{ClickOutside:Cl},props:tU,emits:[St,Wt,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const o=Lt(),r=o.appContext.config.warnHandler;o.appContext.config.warnHandler=(...k)=>{!k[0]||k[0].includes('Slot "default" invoked outside of the render function')||console.warn(...k)};const a=S(()=>{const{modelValue:k,multiple:C}=e,b=C?[]:void 0;return Be(k)?C?k:b:C?b:k}),l=an({...fo(e),modelValue:a}),i=J7(l,t),{calculatorRef:u,inputStyle:c}=Db(),{getLabel:d,getValue:f,getOptions:p,getDisabled:h}=_d(e),v=k=>({label:d(k),value:f(k),disabled:h(k)}),g=k=>k.reduce((C,b)=>(C.push(b),b.children&&b.children.length>0&&C.push(...g(b.children)),C),[]),m=k=>{Ta(k||[]).forEach(b=>{var x;if(At(b)&&(b.type.name==="ElOption"||b.type.name==="ElTree")){const _=b.type.name;if(_==="ElTree"){const z=((x=b.props)==null?void 0:x.data)||[];g(z).forEach(P=>{P.currentLabel=P.label||(At(P.value)?"":P.value),i.onOptionCreate(P)})}else if(_==="ElOption"){const z={...b.props};z.currentLabel=z.label||(At(z.value)?"":z.value),i.onOptionCreate(z)}}})};ke(()=>{var k;return[(k=n.default)==null?void 0:k.call(n),a.value]},()=>{var k;e.persistent||i.states.options.size>0||m((k=n.default)==null?void 0:k.call(n))},{immediate:!0}),Ut(xd,an({props:l,states:i.states,selectRef:i.selectRef,optionsArray:i.optionsArray,setSelected:i.setSelected,handleOptionSelect:i.handleOptionSelect,onOptionCreate:i.onOptionCreate,onOptionDestroy:i.onOptionDestroy}));const y=S(()=>e.multiple?i.states.selected.map(k=>k.currentLabel):i.states.selectedLabel);return cn(()=>{o.appContext.config.warnHandler=r}),{...i,modelValue:a,selectedLabel:y,calculatorRef:u,inputStyle:c,getLabel:d,getValue:f,getOptions:p,getDisabled:h,getOptionProps:v}}});function aU(e,t){const n=kt("el-tag"),o=kt("el-tooltip"),r=kt("el-icon"),a=kt("el-option"),l=kt("el-option-group"),i=kt("el-options"),u=kt("el-scrollbar"),c=kt("el-select-menu"),d=hp("click-outside");return Nt((T(),F("div",{ref:"selectRef",class:M([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[ec(e.mouseEnterEventName)]:f=>e.states.inputHovering=!0,onMouseleave:f=>e.states.inputHovering=!1},[Q(o,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:f=>e.states.isBeforeHide=!1},{default:ne(()=>{var f;return[H("div",{ref:"wrapperRef",class:M([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:wt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(T(),F("div",{key:0,ref:"prefixRef",class:M(e.nsSelect.e("prefix"))},[he(e.$slots,"prefix")],2)):fe("v-if",!0),H("div",{ref:"selectionRef",class:M([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?he(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(T(!0),F(tt,null,Dt(e.showTagList,p=>(T(),F("div",{key:e.getValueKey(p),class:M(e.nsSelect.e("selected-item"))},[Q(n,{closable:!e.selectDisabled&&!p.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:ht(e.tagStyle),onClose:h=>e.deleteTag(h,p)},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))},[he(e.$slots,"label",{index:p.index,label:p.currentLabel,value:p.value},()=>[Tt(Pe(p.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(T(),ge(o,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported},{default:ne(()=>[H("div",{ref:"collapseItemRef",class:M(e.nsSelect.e("selected-item"))},[Q(n,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:ht(e.collapseTagStyle)},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))}," + "+Pe(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ne(()=>[H("div",{ref:"tagMenuRef",class:M(e.nsSelect.e("selection"))},[(T(!0),F(tt,null,Dt(e.collapseTagList,p=>(T(),F("div",{key:e.getValueKey(p),class:M(e.nsSelect.e("selected-item"))},[Q(n,{class:"in-tooltip",closable:!e.selectDisabled&&!p.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:h=>e.deleteTag(h,p)},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))},[he(e.$slots,"label",{index:p.index,label:p.currentLabel,value:p.value},()=>[Tt(Pe(p.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported"])):fe("v-if",!0)]):fe("v-if",!0),H("div",{class:M([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[Nt(H("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":p=>e.states.inputValue=p,type:"text",name:e.name,class:M([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:ht(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((f=e.hoverOption)==null?void 0:f.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:e.handleKeydown,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:wt(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[vp,e.states.inputValue]]),e.filterable?(T(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:M(e.nsSelect.e("input-calculator")),textContent:Pe(e.states.inputValue)},null,10,["textContent"])):fe("v-if",!0)],2),e.shouldShowPlaceholder?(T(),F("div",{key:1,class:M([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?he(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[H("span",null,Pe(e.currentPlaceholder),1)]):(T(),F("span",{key:1},Pe(e.currentPlaceholder),1))],2)):fe("v-if",!0)],2),H("div",{ref:"suffixRef",class:M(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(T(),ge(r,{key:0,class:M([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:ne(()=>[(T(),ge(Rt(e.iconComponent)))]),_:1},8,["class"])):fe("v-if",!0),e.showClearBtn&&e.clearIcon?(T(),ge(r,{key:1,class:M([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:ne(()=>[(T(),ge(Rt(e.clearIcon)))]),_:1},8,["class","onClick"])):fe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(T(),ge(r,{key:2,class:M([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ne(()=>[(T(),ge(Rt(e.validateIcon)))]),_:1},8,["class"])):fe("v-if",!0)],2)],10,["onClick"])]}),content:ne(()=>[Q(c,{ref:"menuRef"},{default:ne(()=>[e.$slots.header?(T(),F("div",{key:0,class:M(e.nsSelect.be("dropdown","header")),onClick:wt(()=>{},["stop"])},[he(e.$slots,"header")],10,["onClick"])):fe("v-if",!0),Nt(Q(u,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:M([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:ne(()=>[e.showNewOption?(T(),ge(a,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):fe("v-if",!0),Q(i,null,{default:ne(()=>[he(e.$slots,"default",{},()=>[(T(!0),F(tt,null,Dt(e.options,(f,p)=>{var h;return T(),F(tt,{key:p},[(h=e.getOptions(f))!=null&&h.length?(T(),ge(l,{key:0,label:e.getLabel(f),disabled:e.getDisabled(f)},{default:ne(()=>[(T(!0),F(tt,null,Dt(e.getOptions(f),v=>(T(),ge(a,Vt({key:e.getValue(v)},e.getOptionProps(v)),null,16))),128))]),_:2},1032,["label","disabled"])):(T(),ge(a,Qr(Vt({key:1},e.getOptionProps(f))),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[tn,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(T(),F("div",{key:1,class:M(e.nsSelect.be("dropdown","loading"))},[he(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(T(),F("div",{key:2,class:M(e.nsSelect.be("dropdown","empty"))},[he(e.$slots,"empty",{},()=>[H("span",null,Pe(e.emptyText),1)])],2)):fe("v-if",!0),e.$slots.footer?(T(),F("div",{key:3,class:M(e.nsSelect.be("dropdown","footer")),onClick:wt(()=>{},["stop"])},[he(e.$slots,"footer")],10,["onClick"])):fe("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],16,["onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}var lU=Ue(rU,[["render",aU],["__file","select.vue"]]);const Xs=Pt(lU,{Option:qb,OptionGroup:Kb}),Mh=Rn(qb),sU=Rn(Kb),Hb=()=>et(oT,{}),iU=qe({pageSize:{type:Number,required:!0},pageSizes:{type:se(Array),default:()=>jn([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:se([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:Fa},appendSizeTo:String}),uU=te({name:"ElPaginationSizes"}),cU=te({...uU,props:iU,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:o}=Qt(),r=Ie("pagination"),a=Hb(),l=L(n.pageSize);ke(()=>n.pageSizes,(c,d)=>{if(!Vn(c,d)&&Be(c)){const f=c.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",f)}}),ke(()=>n.pageSize,c=>{l.value=c});const i=S(()=>n.pageSizes);function u(c){var d;c!==l.value&&(l.value=c,(d=a.handleSizeChange)==null||d.call(a,Number(c)))}return(c,d)=>(T(),F("span",{class:M(s(r).e("sizes"))},[Q(s(Xs),{"model-value":l.value,disabled:c.disabled,"popper-class":c.popperClass,"popper-style":c.popperStyle,size:c.size,teleported:c.teleported,"validate-event":!1,"append-to":c.appendSizeTo,onChange:u},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(i),f=>(T(),ge(s(Mh),{key:f,value:f,label:f+s(o)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});var dU=Ue(cU,[["__file","sizes.vue"]]);const fU=qe({size:{type:String,values:Fa}}),hU=te({name:"ElPaginationJumper"}),pU=te({...hU,props:fU,setup(e){const{t}=Qt(),n=Ie("pagination"),{pageCount:o,disabled:r,currentPage:a,changeEvent:l}=Hb(),i=L(),u=S(()=>{var f;return(f=i.value)!=null?f:a?.value});function c(f){i.value=f?+f:""}function d(f){f=Math.trunc(+f),l?.(f),i.value=void 0}return(f,p)=>(T(),F("span",{class:M(s(n).e("jump")),disabled:s(r)},[H("span",{class:M([s(n).e("goto")])},Pe(s(t)("el.pagination.goto")),3),Q(s(Yo),{size:f.size,class:M([s(n).e("editor"),s(n).is("in-pagination")]),min:1,max:s(o),disabled:s(r),"model-value":s(u),"validate-event":!1,"aria-label":s(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),H("span",{class:M([s(n).e("classifier")])},Pe(s(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var gU=Ue(pU,[["__file","jumper.vue"]]);const vU=qe({total:{type:Number,default:1e3}}),mU=te({name:"ElPaginationTotal"}),yU=te({...mU,props:vU,setup(e){const{t}=Qt(),n=Ie("pagination"),{disabled:o}=Hb();return(r,a)=>(T(),F("span",{class:M(s(n).e("total")),disabled:s(o)},Pe(s(t)("el.pagination.total",{total:r.total})),11,["disabled"]))}});var bU=Ue(yU,[["__file","total.vue"]]);const wU=qe({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),CU=te({name:"ElPaginationPager"}),kU=te({...CU,props:wU,emits:[Wt],setup(e,{emit:t}){const n=e,o=Ie("pager"),r=Ie("icon"),{t:a}=Qt(),l=L(!1),i=L(!1),u=L(!1),c=L(!1),d=L(!1),f=L(!1),p=S(()=>{const b=n.pagerCount,x=(b-1)/2,_=Number(n.currentPage),z=Number(n.pageCount);let I=!1,P=!1;z>b&&(_>b-x&&(I=!0),_<z-x&&(P=!0));const j=[];if(I&&!P){const O=z-(b-2);for(let A=O;A<z;A++)j.push(A)}else if(!I&&P)for(let O=2;O<b;O++)j.push(O);else if(I&&P){const O=Math.floor(b/2)-1;for(let A=_-O;A<=_+O;A++)j.push(A)}else for(let O=2;O<z;O++)j.push(O);return j}),h=S(()=>["more","btn-quickprev",r.b(),o.is("disabled",n.disabled)]),v=S(()=>["more","btn-quicknext",r.b(),o.is("disabled",n.disabled)]),g=S(()=>n.disabled?-1:0);ke(()=>[n.pageCount,n.pagerCount,n.currentPage],([b,x,_])=>{const z=(x-1)/2;let I=!1,P=!1;b>x&&(I=_>x-z,P=_<b-z),u.value&&(u.value=I),c.value&&(c.value=P),l.value=I,i.value=P},{immediate:!0});function m(b=!1){n.disabled||(b?u.value=!0:c.value=!0)}function y(b=!1){b?d.value=!0:f.value=!0}function k(b){const x=b.target;if(x.tagName.toLowerCase()==="li"&&Array.from(x.classList).includes("number")){const _=Number(x.textContent);_!==n.currentPage&&t(Wt,_)}else x.tagName.toLowerCase()==="li"&&Array.from(x.classList).includes("more")&&C(b)}function C(b){const x=b.target;if(x.tagName.toLowerCase()==="ul"||n.disabled)return;let _=Number(x.textContent);const z=n.pageCount,I=n.currentPage,P=n.pagerCount-2;x.className.includes("more")&&(x.className.includes("quickprev")?_=I-P:x.className.includes("quicknext")&&(_=I+P)),Number.isNaN(+_)||(_<1&&(_=1),_>z&&(_=z)),_!==I&&t(Wt,_)}return(b,x)=>(T(),F("ul",{class:M(s(o).b()),onClick:C,onKeyup:Ln(k,["enter"])},[b.pageCount>0?(T(),F("li",{key:0,class:M([[s(o).is("active",b.currentPage===1),s(o).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===1,"aria-label":s(a)("el.pagination.currentPage",{pager:1}),tabindex:s(g)}," 1 ",10,["aria-current","aria-label","tabindex"])):fe("v-if",!0),l.value?(T(),F("li",{key:1,class:M(s(h)),tabindex:s(g),"aria-label":s(a)("el.pagination.prevPages",{pager:b.pagerCount-2}),onMouseenter:_=>m(!0),onMouseleave:_=>u.value=!1,onFocus:_=>y(!0),onBlur:_=>d.value=!1},[(u.value||d.value)&&!b.disabled?(T(),ge(s(is),{key:0})):(T(),ge(s(R1),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):fe("v-if",!0),(T(!0),F(tt,null,Dt(s(p),_=>(T(),F("li",{key:_,class:M([[s(o).is("active",b.currentPage===_),s(o).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===_,"aria-label":s(a)("el.pagination.currentPage",{pager:_}),tabindex:s(g)},Pe(_),11,["aria-current","aria-label","tabindex"]))),128)),i.value?(T(),F("li",{key:2,class:M(s(v)),tabindex:s(g),"aria-label":s(a)("el.pagination.nextPages",{pager:b.pagerCount-2}),onMouseenter:_=>m(),onMouseleave:_=>c.value=!1,onFocus:_=>y(),onBlur:_=>f.value=!1},[(c.value||f.value)&&!b.disabled?(T(),ge(s(us),{key:0})):(T(),ge(s(R1),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):fe("v-if",!0),b.pageCount>1?(T(),F("li",{key:3,class:M([[s(o).is("active",b.currentPage===b.pageCount),s(o).is("disabled",b.disabled)],"number"]),"aria-current":b.currentPage===b.pageCount,"aria-label":s(a)("el.pagination.currentPage",{pager:b.pageCount}),tabindex:s(g)},Pe(b.pageCount),11,["aria-current","aria-label","tabindex"])):fe("v-if",!0)],42,["onKeyup"]))}});var SU=Ue(kU,[["__file","pager.vue"]]);const er=e=>typeof e!="number",_U=qe({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>ft(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:se(Array),default:()=>jn([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:se([String,Object])},prevText:{type:String,default:""},prevIcon:{type:hn,default:()=>yl},nextText:{type:String,default:""},nextIcon:{type:hn,default:()=>Xo},teleported:{type:Boolean,default:!0},small:Boolean,size:io,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),xU={"update:current-page":e=>ft(e),"update:page-size":e=>ft(e),"size-change":e=>ft(e),change:(e,t)=>ft(e)&&ft(t),"current-change":e=>ft(e),"prev-click":e=>ft(e),"next-click":e=>ft(e)},XC="ElPagination";var EU=te({name:XC,props:_U,emits:xU,setup(e,{emit:t,slots:n}){const{t:o}=Qt(),r=Ie("pagination"),a=Lt().vnode.props||{},l=O2(),i=S(()=>{var x;return e.small?"small":(x=e.size)!=null?x:l.value});Aa({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},S(()=>!!e.small));const u="onUpdate:currentPage"in a||"onUpdate:current-page"in a||"onCurrentChange"in a,c="onUpdate:pageSize"in a||"onUpdate:page-size"in a||"onSizeChange"in a,d=S(()=>{if(er(e.total)&&er(e.pageCount)||!er(e.currentPage)&&!u)return!1;if(e.layout.includes("sizes")){if(er(e.pageCount)){if(!er(e.total)&&!er(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),f=L(er(e.defaultPageSize)?10:e.defaultPageSize),p=L(er(e.defaultCurrentPage)?1:e.defaultCurrentPage),h=S({get(){return er(e.pageSize)?f.value:e.pageSize},set(x){er(e.pageSize)&&(f.value=x),c&&(t("update:page-size",x),t("size-change",x))}}),v=S(()=>{let x=0;return er(e.pageCount)?er(e.total)||(x=Math.max(1,Math.ceil(e.total/h.value))):x=e.pageCount,x}),g=S({get(){return er(e.currentPage)?p.value:e.currentPage},set(x){let _=x;x<1?_=1:x>v.value&&(_=v.value),er(e.currentPage)&&(p.value=_),u&&(t("update:current-page",_),t("current-change",_))}});ke(v,x=>{g.value>x&&(g.value=x)}),ke([g,h],x=>{t(Wt,...x)},{flush:"post"});function m(x){g.value=x}function y(x){h.value=x;const _=v.value;g.value>_&&(g.value=_)}function k(){e.disabled||(g.value-=1,t("prev-click",g.value))}function C(){e.disabled||(g.value+=1,t("next-click",g.value))}function b(x,_){x&&(x.props||(x.props={}),x.props.class=[x.props.class,_].join(" "))}return Ut(oT,{pageCount:v,disabled:S(()=>e.disabled),currentPage:g,changeEvent:m,handleSizeChange:y}),()=>{var x,_;if(!d.value)return Kt(XC,o("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const z=[],I=[],P=mt("div",{class:r.e("rightwrapper")},I),j={prev:mt(V7,{disabled:e.disabled,currentPage:g.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:k}),jumper:mt(gU,{size:i.value}),pager:mt(SU,{currentPage:g.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:mt(H7,{disabled:e.disabled,currentPage:g.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:C}),sizes:mt(dU,{pageSize:h.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:i.value,appendSizeTo:e.appendSizeTo}),slot:(_=(x=n?.default)==null?void 0:x.call(n))!=null?_:null,total:mt(bU,{total:er(e.total)?0:e.total})},O=e.layout.split(",").map(K=>K.trim());let A=!1;return O.forEach(K=>{if(K==="->"){A=!0;return}A?I.push(j[K]):z.push(j[K])}),b(z[0],r.is("first")),b(z[z.length-1],r.is("last")),A&&I.length>0&&(b(I[0],r.is("first")),b(I[I.length-1],r.is("last")),z.push(P)),mt("div",{class:[r.b(),r.is("background",e.background),r.m(i.value)]},z)}}});const zU=Pt(EU),TU=qe({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:Xv,default:"primary"},cancelButtonType:{type:String,values:Xv,default:"text"},icon:{type:hn,default:()=>aL},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...mn.effect,default:"light"},teleported:mn.teleported,persistent:mn.persistent,width:{type:[String,Number],default:150},virtualTriggering:Ma.virtualTriggering,virtualRef:Ma.virtualRef}),OU={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},$U=te({name:"ElPopconfirm"}),PU=te({...$U,props:TU,emits:OU,setup(e,{expose:t,emit:n}){const o=e,{t:r}=Qt(),a=Ie("popconfirm"),l=L(),i=L(),u=S(()=>{var m;return(m=s(l))==null?void 0:m.popperRef}),c=()=>{var m,y;(y=(m=i.value)==null?void 0:m.focus)==null||y.call(m)},d=()=>{var m,y;(y=(m=l.value)==null?void 0:m.onClose)==null||y.call(m)},f=S(()=>({width:Nn(o.width)})),p=m=>{n("confirm",m),d()},h=m=>{n("cancel",m),d()},v=S(()=>o.confirmButtonText||r("el.popconfirm.confirmButtonText")),g=S(()=>o.cancelButtonText||r("el.popconfirm.cancelButtonText"));return t({popperRef:u,hide:d}),(m,y)=>(T(),ge(s(Oo),Vt({ref_key:"tooltipRef",ref:l,trigger:"click",effect:m.effect},m.$attrs,{"popper-class":`${s(a).namespace.value}-popover`,"popper-style":s(f),teleported:m.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":m.hideAfter,persistent:m.persistent,loop:"",onShow:c}),{content:ne(()=>[H("div",{ref_key:"rootRef",ref:i,tabindex:"-1",class:M(s(a).b())},[H("div",{class:M(s(a).e("main"))},[!m.hideIcon&&m.icon?(T(),ge(s(lt),{key:0,class:M(s(a).e("icon")),style:ht({color:m.iconColor})},{default:ne(()=>[(T(),ge(Rt(m.icon)))]),_:1},8,["class","style"])):fe("v-if",!0),Tt(" "+Pe(m.title),1)],2),H("div",{class:M(s(a).e("action"))},[he(m.$slots,"actions",{confirm:p,cancel:h},()=>[Q(s(Co),{size:"small",type:m.cancelButtonType==="text"?"":m.cancelButtonType,text:m.cancelButtonType==="text",onClick:h},{default:ne(()=>[Tt(Pe(s(g)),1)]),_:1},8,["type","text"]),Q(s(Co),{size:"small",type:m.confirmButtonType==="text"?"":m.confirmButtonType,text:m.confirmButtonType==="text",onClick:p},{default:ne(()=>[Tt(Pe(s(v)),1)]),_:1},8,["type","text"])])],2)],2)]),default:ne(()=>[m.$slots.reference?he(m.$slots,"reference",{key:0}):fe("v-if",!0)]),_:3},16,["effect","popper-class","popper-style","teleported","hide-after","persistent"]))}});var IU=Ue(PU,[["__file","popconfirm.vue"]]);const MU=Pt(IU),AU=qe({trigger:Ma.trigger,triggerKeys:Ma.triggerKeys,placement:qf.placement,disabled:Ma.disabled,visible:mn.visible,transition:mn.transition,popperOptions:qf.popperOptions,tabindex:qf.tabindex,content:mn.content,popperStyle:mn.popperStyle,popperClass:mn.popperClass,enterable:{...mn.enterable,default:!0},effect:{...mn.effect,default:"light"},teleported:mn.teleported,appendTo:mn.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}}),jU={"update:visible":e=>fn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},NU="onUpdate:visible",RU=te({name:"ElPopover"}),DU=te({...RU,props:AU,emits:jU,setup(e,{expose:t,emit:n}){const o=e,r=S(()=>o[NU]),a=Ie("popover"),l=L(),i=S(()=>{var m;return(m=s(l))==null?void 0:m.popperRef}),u=S(()=>[{width:Nn(o.width)},o.popperStyle]),c=S(()=>[a.b(),o.popperClass,{[a.m("plain")]:!!o.content}]),d=S(()=>o.transition===`${a.namespace.value}-fade-in-linear`),f=()=>{var m;(m=l.value)==null||m.hide()},p=()=>{n("before-enter")},h=()=>{n("before-leave")},v=()=>{n("after-enter")},g=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:i,hide:f}),(m,y)=>(T(),ge(s(Oo),Vt({ref_key:"tooltipRef",ref:l},m.$attrs,{trigger:m.trigger,"trigger-keys":m.triggerKeys,placement:m.placement,disabled:m.disabled,visible:m.visible,transition:m.transition,"popper-options":m.popperOptions,tabindex:m.tabindex,content:m.content,offset:m.offset,"show-after":m.showAfter,"hide-after":m.hideAfter,"auto-close":m.autoClose,"show-arrow":m.showArrow,"aria-label":m.title,effect:m.effect,enterable:m.enterable,"popper-class":s(c),"popper-style":s(u),teleported:m.teleported,"append-to":m.appendTo,persistent:m.persistent,"gpu-acceleration":s(d),"onUpdate:visible":s(r),onBeforeShow:p,onBeforeHide:h,onShow:v,onHide:g}),{content:ne(()=>[m.title?(T(),F("div",{key:0,class:M(s(a).e("title")),role:"title"},Pe(m.title),3)):fe("v-if",!0),he(m.$slots,"default",{},()=>[Tt(Pe(m.content),1)])]),default:ne(()=>[m.$slots.reference?he(m.$slots,"reference",{key:0}):fe("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"]))}});var LU=Ue(DU,[["__file","popover.vue"]]);const ZC=(e,t)=>{const n=t.arg||t.value,o=n?.popperRef;o&&(o.triggerRef=e)};var BU={mounted(e,t){ZC(e,t)},updated(e,t){ZC(e,t)}};const VU="popover",aT=l3(BU,VU),FU=Pt(LU,{directive:aT}),qU=qe({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:se(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:se([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:se(Function),default:e=>`${e}%`}}),KU=te({name:"ElProgress"}),HU=te({...KU,props:qU,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=Ie("progress"),r=S(()=>{const C={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},b=k(t.percentage);return b.includes("gradient")?C.background=b:C.backgroundColor=b,C}),a=S(()=>(t.strokeWidth/t.width*100).toFixed(1)),l=S(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(a.value)/2}`,10):0),i=S(()=>{const C=l.value,b=t.type==="dashboard";return`
M 50 50
m 0 ${b?"":"-"}${C}
a ${C} ${C} 0 1 1 0 ${b?"-":""}${C*2}
a ${C} ${C} 0 1 1 0 ${b?"":"-"}${C*2}
`}),u=S(()=>2*Math.PI*l.value),c=S(()=>t.type==="dashboard"?.75:1),d=S(()=>`${-1*u.value*(1-c.value)/2}px`),f=S(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),p=S(()=>({strokeDasharray:`${u.value*c.value*(t.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),h=S(()=>{let C;return t.color?C=k(t.percentage):C=n[t.status]||n.default,C}),v=S(()=>t.status==="warning"?Op:t.type==="line"?t.status==="success"?tb:Ol:t.status==="success"?gd:Kr),g=S(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),m=S(()=>t.format(t.percentage));function y(C){const b=100/C.length;return C.map((_,z)=>rt(_)?{color:_,percentage:(z+1)*b}:_).sort((_,z)=>_.percentage-z.percentage)}const k=C=>{var b;const{color:x}=t;if(it(x))return x(C);if(rt(x))return x;{const _=y(x);for(const z of _)if(z.percentage>C)return z.color;return(b=_[_.length-1])==null?void 0:b.color}};return(C,b)=>(T(),F("div",{class:M([s(o).b(),s(o).m(C.type),s(o).is(C.status),{[s(o).m("without-text")]:!C.showText,[s(o).m("text-inside")]:C.textInside}]),role:"progressbar","aria-valuenow":C.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[C.type==="line"?(T(),F("div",{key:0,class:M(s(o).b("bar"))},[H("div",{class:M(s(o).be("bar","outer")),style:ht({height:`${C.strokeWidth}px`})},[H("div",{class:M([s(o).be("bar","inner"),{[s(o).bem("bar","inner","indeterminate")]:C.indeterminate},{[s(o).bem("bar","inner","striped")]:C.striped},{[s(o).bem("bar","inner","striped-flow")]:C.stripedFlow}]),style:ht(s(r))},[(C.showText||C.$slots.default)&&C.textInside?(T(),F("div",{key:0,class:M(s(o).be("bar","innerText"))},[he(C.$slots,"default",{percentage:C.percentage},()=>[H("span",null,Pe(s(m)),1)])],2)):fe("v-if",!0)],6)],6)],2)):(T(),F("div",{key:1,class:M(s(o).b("circle")),style:ht({height:`${C.width}px`,width:`${C.width}px`})},[(T(),F("svg",{viewBox:"0 0 100 100"},[H("path",{class:M(s(o).be("circle","track")),d:s(i),stroke:`var(${s(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":C.strokeLinecap,"stroke-width":s(a),fill:"none",style:ht(s(f))},null,14,["d","stroke","stroke-linecap","stroke-width"]),H("path",{class:M(s(o).be("circle","path")),d:s(i),stroke:s(h),fill:"none",opacity:C.percentage?1:0,"stroke-linecap":C.strokeLinecap,"stroke-width":s(a),style:ht(s(p))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(C.showText||C.$slots.default)&&!C.textInside?(T(),F("div",{key:2,class:M(s(o).e("text")),style:ht({fontSize:`${s(g)}px`})},[he(C.$slots,"default",{percentage:C.percentage},()=>[C.status?(T(),ge(s(lt),{key:1},{default:ne(()=>[(T(),ge(Rt(s(v))))]),_:1})):(T(),F("span",{key:0},Pe(s(m)),1))])],6)):fe("v-if",!0)],10,["aria-valuenow"]))}});var WU=Ue(HU,[["__file","progress.vue"]]);const lT=Pt(WU),UU=qe({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:se([Array,Object]),default:()=>jn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:se([Array,Object]),default:()=>[af,af,af]},voidIcon:{type:hn,default:()=>bL},disabledVoidIcon:{type:hn,default:()=>af},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:se(Array),default:()=>jn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:io,clearable:Boolean,...Zo(["ariaLabel"])}),YU={[Wt]:e=>ft(e),[St]:e=>ft(e)},GU=te({name:"ElRate"}),XU=te({...GU,props:UU,emits:YU,setup(e,{expose:t,emit:n}){const o=e;function r(D,B){const q=J=>At(J),G=Object.keys(B).map(J=>+J).filter(J=>{const ue=B[J];return(q(ue)?ue.excluded:!1)?D<J:D<=J}).sort((J,ue)=>J-ue),X=B[G[0]];return q(X)&&X.value||X}const a=et(ii,void 0),l=et(Da,void 0),i=ro(),u=Ie("rate"),{inputId:c,isLabeledByFormItem:d}=Pr(o,{formItemContext:l}),f=L(o.modelValue),p=L(-1),h=L(!0),v=L([]),g=S(()=>v.value.map(D=>D.$el.clientWidth)),m=S(()=>[u.b(),u.m(i.value)]),y=S(()=>o.disabled||a?.disabled),k=S(()=>u.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":_.value})),C=S(()=>{let D="";return o.showScore?D=o.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?`${o.modelValue}`:`${f.value}`):o.showText&&(D=o.texts[Math.ceil(f.value)-1]),D}),b=S(()=>o.modelValue*100-Math.floor(o.modelValue)*100),x=S(()=>Be(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),_=S(()=>{const D=r(f.value,x.value);return At(D)?"":D}),z=S(()=>{let D="";return y.value?D=`${b.value}%`:o.allowHalf&&(D="50%"),{color:_.value,width:D}}),I=S(()=>{let D=Be(o.icons)?[...o.icons]:{...o.icons};return D=ea(D),Be(D)?{[o.lowThreshold]:D[0],[o.highThreshold]:{value:D[1],excluded:!0},[o.max]:D[2]}:D}),P=S(()=>r(o.modelValue,I.value)),j=S(()=>y.value?rt(o.disabledVoidIcon)?o.disabledVoidIcon:ea(o.disabledVoidIcon):rt(o.voidIcon)?o.voidIcon:ea(o.voidIcon)),O=S(()=>r(f.value,I.value));function A(D){const B=y.value&&b.value>0&&D-1<o.modelValue&&D>o.modelValue,q=o.allowHalf&&h.value&&D-.5<=f.value&&D>f.value;return B||q}function K(D){o.clearable&&D===o.modelValue&&(D=0),n(St,D),o.modelValue!==D&&n(Wt,D)}function Y(D){y.value||(o.allowHalf&&h.value?K(f.value):K(D))}function Z(D){if(y.value)return;const B=kn(D),q=o.allowHalf?.5:1;let G=f.value;switch(B){case We.up:case We.right:G+=q;break;case We.left:case We.down:G-=q;break}if(G=_p(G,0,o.max),G!==f.value)return D.stopPropagation(),D.preventDefault(),n(St,G),n(Wt,G),G}function $(D,B){y.value||(o.allowHalf&&B?(h.value=B.offsetX*2<=g.value[D-1],f.value=h.value?D-.5:D):f.value=D,p.value=D)}function R(){y.value||(o.allowHalf&&(h.value=o.modelValue!==Math.floor(o.modelValue)),f.value=o.modelValue,p.value=-1)}return ke(()=>o.modelValue,D=>{f.value=D,h.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||n(St,0),t({setCurrentValue:$,resetCurrentValue:R}),(D,B)=>{var q;return T(),F("div",{id:s(c),class:M([s(m),s(u).is("disabled",s(y))]),role:"slider","aria-label":s(d)?void 0:D.ariaLabel||"rating","aria-labelledby":s(d)?(q=s(l))==null?void 0:q.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":s(C)||void 0,"aria-valuemin":"0","aria-valuemax":D.max,tabindex:"0",style:ht(s(k)),onKeydown:Z},[(T(!0),F(tt,null,Dt(D.max,(G,X)=>(T(),F("span",{key:X,class:M(s(u).e("item")),onMousemove:J=>$(G,J),onMouseleave:R,onClick:J=>Y(G)},[Q(s(lt),{ref_for:!0,ref_key:"iconRefs",ref:v,class:M([s(u).e("icon"),{hover:p.value===G},s(u).is("active",G<=f.value),s(u).is("focus-visible",G===Math.ceil(f.value||1))])},{default:ne(()=>[Nt((T(),ge(Rt(s(O)),null,null,512)),[[tn,!A(G)&&G<=f.value]]),Nt((T(),ge(Rt(s(j)),null,null,512)),[[tn,!A(G)&&G>f.value]]),Nt((T(),ge(Rt(s(j)),{class:M([s(u).em("decimal","box")])},null,8,["class"])),[[tn,A(G)]]),Nt(Q(s(lt),{style:ht(s(z)),class:M([s(u).e("icon"),s(u).e("decimal")])},{default:ne(()=>[(T(),ge(Rt(s(P))))]),_:2},1032,["style","class"]),[[tn,A(G)]])]),_:2},1032,["class"])],42,["onMousemove","onClick"]))),128)),D.showText||D.showScore?(T(),F("span",{key:0,class:M(s(u).e("text")),style:ht({color:D.textColor})},Pe(s(C)),7)):fe("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var ZU=Ue(XU,[["__file","rate.vue"]]);const QU=Pt(ZU),Ts={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},QC={[Ts.primary]:jc,[Ts.success]:x3,[Ts.warning]:Op,[Ts.error]:nb,[Ts.info]:jc},JU=qe({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}}),eY=te({name:"ElResult"}),tY=te({...eY,props:JU,setup(e){const t=e,n=Ie("result"),o=S(()=>{const r=t.icon,a=r&&Ts[r]?Ts[r]:"icon-info",l=QC[a]||QC["icon-info"];return{class:a,component:l}});return(r,a)=>(T(),F("div",{class:M(s(n).b())},[H("div",{class:M(s(n).e("icon"))},[he(r.$slots,"icon",{},()=>[s(o).component?(T(),ge(Rt(s(o).component),{key:0,class:M(s(o).class)},null,8,["class"])):fe("v-if",!0)])],2),r.title||r.$slots.title?(T(),F("div",{key:0,class:M(s(n).e("title"))},[he(r.$slots,"title",{},()=>[H("p",null,Pe(r.title),1)])],2)):fe("v-if",!0),r.subTitle||r.$slots["sub-title"]?(T(),F("div",{key:1,class:M(s(n).e("subtitle"))},[he(r.$slots,"sub-title",{},()=>[H("p",null,Pe(r.subTitle),1)])],2)):fe("v-if",!0),r.$slots.extra?(T(),F("div",{key:2,class:M(s(n).e("extra"))},[he(r.$slots,"extra")],2)):fe("v-if",!0)],2))}});var nY=Ue(tY,[["__file","result.vue"]]);const oY=Pt(nY),rY=["start","center","end","space-around","space-between","space-evenly"],aY=["top","middle","bottom"],lY=qe({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:rY,default:"start"},align:{type:String,values:aY}}),sY=te({name:"ElRow"}),iY=te({...sY,props:lY,setup(e){const t=e,n=Ie("row"),o=S(()=>t.gutter);Ut(rz,{gutter:o});const r=S(()=>{const l={};return t.gutter&&(l.marginRight=l.marginLeft=`-${t.gutter/2}px`),l}),a=S(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(l,i)=>(T(),ge(Rt(l.tag),{class:M(s(a)),style:ht(s(r))},{default:ne(()=>[he(l.$slots,"default")]),_:3},8,["class","style"]))}});var uY=Ue(iY,[["__file","row.vue"]]);const cY=Pt(uY),dY=te({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:Ie("select")}}});function fY(e,t,n,o,r,a){return T(),F("div",{class:M(e.ns.be("group","title")),style:ht({...e.style,lineHeight:`${e.height}px`})},Pe(e.item.label),7)}var hY=Ue(dY,[["render",fY],["__file","group-item.vue"]]);function pY(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const gY=qe({allowCreate:Boolean,autocomplete:{type:se(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:hn,default:Ol},effect:{type:se(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:se(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:se([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:se(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:se(Array),required:!0},placeholder:{type:String},teleported:mn.teleported,persistent:{type:Boolean,default:!0},popperClass:mn.popperClass,popperStyle:mn.popperStyle,popperOptions:{type:se(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:io,props:{type:se(Object),default:()=>Vb},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},showArrow:{type:Boolean,default:!0},placement:{type:se(String),values:Pl,default:"bottom-start"},fallbackPlacements:{type:se(Array),default:["bottom-start","top-start","right","left"]},tagType:{...wl.type,default:"info"},tagEffect:{...wl.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:mn.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return fn(e)||ft(e)}},suffixIcon:{type:hn,default:qa},...si,...Zo(["ariaLabel"])}),vY=qe({data:Array,disabled:Boolean,hovering:Boolean,item:{type:se(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),mY={[St]:e=>!0,[Wt]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},yY={hover:e=>ft(e),select:(e,t)=>!0},Wb=Symbol("ElSelectV2Injection"),bY=te({props:vY,emits:yY,setup(e,{emit:t}){const n=et(Wb),o=Ie("select"),{hoverItem:r,selectOptionClick:a}=pY(e,{emit:t}),{getLabel:l}=_d(n.props),i=n.contentId;return{ns:o,contentId:i,hoverItem:r,selectOptionClick:a,getLabel:l}}});function wY(e,t,n,o,r,a){return T(),F("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:ht(e.style),class:M([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:e.hoverItem,onClick:wt(e.selectOptionClick,["stop"])},[he(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[H("span",null,Pe(e.getLabel(e.item)),1)])],46,["id","aria-selected","aria-disabled","onMousemove","onClick"])}var CY=Ue(bY,[["render",wY],["__file","option-item.vue"]]),JC=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function kY(e,t){return!!(e===t||JC(e)&&JC(t))}function SY(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!kY(e[n],t[n]))return!1;return!0}function _Y(e,t){t===void 0&&(t=SY);var n=null;function o(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var l=e.apply(this,r);return n={lastResult:l,lastArgs:r,lastThis:this},l}return o.clear=function(){n=null},o}const sT=()=>{const t=Lt().proxy.$props;return S(()=>{const n=(o,r,a)=>({});return t.perfMode?kp(n):_Y(n)})},pm=50,Ah="itemRendered",jh="scroll",$i="forward",Nh="backward",Br="auto",Bp="smart",Kc="start",Oa="center",Hc="end",au="horizontal",Ub="vertical",xY="ltr",Di="rtl",Wc="negative",Yb="positive-ascending",Gb="positive-descending",EY={[au]:"left",[Ub]:"top"},zY=20,TY={[au]:"deltaX",[Ub]:"deltaY"},iT=({atEndEdge:e,atStartEdge:t,layout:n},o)=>{let r,a=0;const l=u=>u<0&&t.value||u>0&&e.value;return{hasReachedEdge:l,onWheel:u=>{Gs(r);const c=u[TY[n.value]];l(a)&&l(a+c)||(a+=c,rb()||u.preventDefault(),r=ss(()=>{o(a),a=0}))}}},gm=pa({type:se([Number,Function]),required:!0}),vm=pa({type:Number}),mm=pa({type:Number,default:2}),OY=pa({type:String,values:["ltr","rtl"],default:"ltr"}),ym=pa({type:Number,default:0}),Rh=pa({type:Number,required:!0}),uT=pa({type:String,values:["horizontal","vertical"],default:Ub}),cT=qe({className:{type:String,default:""},containerElement:{type:se([String,Object]),default:"div"},data:{type:se(Array),default:()=>jn([])},direction:OY,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:se(Object),default:()=>({})},style:{type:se([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),dT=qe({cache:mm,estimatedItemSize:vm,layout:uT,initScrollOffset:ym,total:Rh,itemSize:gm,...cT}),bm={type:Number,default:6},fT={type:Number,default:0},hT={type:Number,default:2},Fs=qe({columnCache:mm,columnWidth:gm,estimatedColumnWidth:vm,estimatedRowHeight:vm,initScrollLeft:ym,initScrollTop:ym,itemKey:{type:se(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:mm,rowHeight:gm,totalColumn:Rh,totalRow:Rh,hScrollbarSize:bm,vScrollbarSize:bm,scrollbarStartGap:fT,scrollbarEndGap:hT,role:String,...cT}),pT=qe({alwaysOn:Boolean,class:String,layout:uT,total:Rh,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:bm,startGap:fT,endGap:hT,visible:Boolean}),As=(e,t)=>e<t?$i:Nh,Uc=e=>e===xY||e===Di||e===au,ek=e=>e===Di;let Ci=null;function Dh(e=!1){if(Ci===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const o=document.createElement("div"),r=o.style;return r.width="100px",r.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?Ci=Gb:(t.scrollLeft=1,t.scrollLeft===0?Ci=Wc:Ci=Yb),document.body.removeChild(t),Ci}return Ci}function $Y({move:e,size:t,bar:n},o){const r={},a=`translate${n.axis}(${e}px)`;return r[n.size]=t,r.transform=a,o==="horizontal"?r.height="100%":r.width="100%",r}const wm=te({name:"ElVirtualScrollBar",props:pT,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=S(()=>e.startGap+e.endGap),o=Ie("virtual-scrollbar"),r=Ie("scrollbar"),a=L(),l=L();let i=null,u=null;const c=an({isDragging:!1,traveled:0}),d=S(()=>Z2[e.layout]),f=S(()=>e.clientSize-s(n)),p=S(()=>({position:"absolute",width:`${au===e.layout?f.value:e.scrollbarSize}px`,height:`${au===e.layout?e.scrollbarSize:f.value}px`,[EY[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),h=S(()=>{const _=e.ratio;if(_>=100)return Number.POSITIVE_INFINITY;if(_>=50)return _*f.value/100;const z=f.value/3;return Math.floor(Math.min(Math.max(_*f.value/100,zY),z))}),v=S(()=>{if(!Number.isFinite(h.value))return{display:"none"};const _=`${h.value}px`;return $Y({bar:d.value,size:_,move:c.traveled},e.layout)}),g=S(()=>Math.ceil(e.clientSize-h.value-s(n))),m=()=>{window.addEventListener("mousemove",b),window.addEventListener("mouseup",C);const _=s(l);_&&(u=document.onselectstart,document.onselectstart=()=>!1,_.addEventListener("touchmove",b,{passive:!0}),_.addEventListener("touchend",C))},y=()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",C),document.onselectstart=u,u=null;const _=s(l);_&&(_.removeEventListener("touchmove",b),_.removeEventListener("touchend",C))},k=_=>{_.stopImmediatePropagation(),!(_.ctrlKey||[1,2].includes(_.button))&&(c.isDragging=!0,c[d.value.axis]=_.currentTarget[d.value.offset]-(_[d.value.client]-_.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),m())},C=()=>{c.isDragging=!1,c[d.value.axis]=0,t("stop-move"),y()},b=_=>{const{isDragging:z}=c;if(!z||!l.value||!a.value)return;const I=c[d.value.axis];if(!I)return;Gs(i);const P=(a.value.getBoundingClientRect()[d.value.direction]-_[d.value.client])*-1,j=l.value[d.value.offset]-I,O=P-j;i=ss(()=>{c.traveled=Math.max(0,Math.min(O,g.value)),t("scroll",O,g.value)})},x=_=>{const z=Math.abs(_.target.getBoundingClientRect()[d.value.direction]-_[d.value.client]),I=l.value[d.value.offset]/2,P=z-I;c.traveled=Math.max(0,Math.min(P,g.value)),t("scroll",P,g.value)};return ke(()=>e.scrollFrom,_=>{c.isDragging||(c.traveled=Math.ceil(_*g.value))}),cn(()=>{y()}),()=>mt("div",{role:"presentation",ref:a,class:[o.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:p.value,onMousedown:wt(x,["stop","prevent"]),onTouchstartPrevent:k},mt("div",{ref:l,class:r.e("thumb"),style:v.value,onMousedown:k},[]))}}),gT=({name:e,getOffset:t,getItemSize:n,getItemOffset:o,getEstimatedTotalSize:r,getStartIndexForOffset:a,getStopIndexForStartIndex:l,initCache:i,clearCache:u,validateProps:c})=>te({name:e??"ElVirtualList",props:dT,emits:[Ah,jh],setup(d,{emit:f,expose:p}){c(d);const h=Lt(),v=Ie("vl"),g=L(i(d,h)),m=sT(),y=L(),k=L(),C=L(),b=L({isScrolling:!1,scrollDir:"forward",scrollOffset:ft(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),x=S(()=>{const{total:J,cache:ue}=d,{isScrolling:ae,scrollDir:ve,scrollOffset:re}=s(b);if(J===0)return[0,0,0,0];const ce=a(d,re,s(g)),oe=l(d,ce,re,s(g)),ie=!ae||ve===Nh?Math.max(1,ue):1,de=!ae||ve===$i?Math.max(1,ue):1;return[Math.max(0,ce-ie),Math.max(0,Math.min(J-1,oe+de)),ce,oe]}),_=S(()=>r(d,s(g))),z=S(()=>Uc(d.layout)),I=S(()=>[{position:"relative",[`overflow-${z.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:ft(d.height)?`${d.height}px`:d.height,width:ft(d.width)?`${d.width}px`:d.width},d.style]),P=S(()=>{const J=s(_),ue=s(z);return{height:ue?"100%":`${J}px`,pointerEvents:s(b).isScrolling?"none":void 0,width:ue?`${J}px`:"100%"}}),j=S(()=>z.value?d.width:d.height),{onWheel:O}=iT({atStartEdge:S(()=>b.value.scrollOffset<=0),atEndEdge:S(()=>b.value.scrollOffset>=_.value),layout:S(()=>d.layout)},J=>{var ue,ae;(ae=(ue=C.value).onMouseUp)==null||ae.call(ue),R(Math.min(b.value.scrollOffset+J,_.value-j.value))});gn(y,"wheel",O,{passive:!1});const A=()=>{const{total:J}=d;if(J>0){const[re,ce,oe,ie]=s(x);f(Ah,re,ce,oe,ie)}const{scrollDir:ue,scrollOffset:ae,updateRequested:ve}=s(b);f(jh,ue,ae,ve)},K=J=>{const{clientHeight:ue,scrollHeight:ae,scrollTop:ve}=J.currentTarget,re=s(b);if(re.scrollOffset===ve)return;const ce=Math.max(0,Math.min(ve,ae-ue));b.value={...re,isScrolling:!0,scrollDir:As(re.scrollOffset,ce),scrollOffset:ce,updateRequested:!1},Qe(q)},Y=J=>{const{clientWidth:ue,scrollLeft:ae,scrollWidth:ve}=J.currentTarget,re=s(b);if(re.scrollOffset===ae)return;const{direction:ce}=d;let oe=ae;if(ce===Di)switch(Dh()){case Wc:{oe=-ae;break}case Gb:{oe=ve-ue-ae;break}}oe=Math.max(0,Math.min(oe,ve-ue)),b.value={...re,isScrolling:!0,scrollDir:As(re.scrollOffset,oe),scrollOffset:oe,updateRequested:!1},Qe(q)},Z=J=>{s(z)?Y(J):K(J),A()},$=(J,ue)=>{const ae=(_.value-j.value)/ue*J;R(Math.min(_.value-j.value,ae))},R=J=>{J=Math.max(J,0),J!==s(b).scrollOffset&&(b.value={...s(b),scrollOffset:J,scrollDir:As(s(b).scrollOffset,J),updateRequested:!0},Qe(q))},D=(J,ue=Br)=>{const{scrollOffset:ae}=s(b);J=Math.max(0,Math.min(J,d.total-1)),R(t(d,J,ue,ae,s(g)))},B=J=>{const{direction:ue,itemSize:ae,layout:ve}=d,re=m.value(u&&ae,u&&ve,u&&ue);let ce;if(rn(re,String(J)))ce=re[J];else{const oe=o(d,J,s(g)),ie=n(d,J,s(g)),de=s(z),U=ue===Di,le=de?oe:0;re[J]=ce={position:"absolute",left:U?void 0:`${le}px`,right:U?`${le}px`:void 0,top:de?0:`${oe}px`,height:de?"100%":`${ie}px`,width:de?`${ie}px`:"100%"}}return ce},q=()=>{b.value.isScrolling=!1,Qe(()=>{m.value(-1,null,null)})},G=()=>{const J=y.value;J&&(J.scrollTop=0)};Bt(()=>{if(!nn)return;const{initScrollOffset:J}=d,ue=s(y);ft(J)&&ue&&(s(z)?ue.scrollLeft=J:ue.scrollTop=J),A()}),fa(()=>{const{direction:J,layout:ue}=d,{scrollOffset:ae,updateRequested:ve}=s(b),re=s(y);if(ve&&re)if(ue===au)if(J===Di)switch(Dh()){case Wc:{re.scrollLeft=-ae;break}case Yb:{re.scrollLeft=ae;break}default:{const{clientWidth:ce,scrollWidth:oe}=re;re.scrollLeft=oe-ce-ae;break}}else re.scrollLeft=ae;else re.scrollTop=ae}),cp(()=>{s(y).scrollTop=s(b).scrollOffset});const X={ns:v,clientSize:j,estimatedTotalSize:_,windowStyle:I,windowRef:y,innerRef:k,innerStyle:P,itemsToRender:x,scrollbarRef:C,states:b,getItemStyle:B,onScroll:Z,onScrollbarScroll:$,onWheel:O,scrollTo:R,scrollToItem:D,resetScrollTop:G};return p({windowRef:y,innerRef:k,getItemStyleCache:m,scrollTo:R,scrollToItem:D,resetScrollTop:G,states:b}),X},render(d){var f;const{$slots:p,className:h,clientSize:v,containerElement:g,data:m,getItemStyle:y,innerElement:k,itemsToRender:C,innerStyle:b,layout:x,total:_,onScroll:z,onScrollbarScroll:I,states:P,useIsScrolling:j,windowStyle:O,ns:A}=d,[K,Y]=C,Z=Rt(g),$=Rt(k),R=[];if(_>0)for(let G=K;G<=Y;G++)R.push(mt(tt,{key:G},(f=p.default)==null?void 0:f.call(p,{data:m,index:G,isScrolling:j?P.isScrolling:void 0,style:y(G)})));const D=[mt($,Vt(d.innerProps,{style:b,ref:"innerRef"}),rt($)?R:{default:()=>R})],B=mt(wm,{ref:"scrollbarRef",clientSize:v,layout:x,onScroll:I,ratio:v*100/this.estimatedTotalSize,scrollFrom:P.scrollOffset/(this.estimatedTotalSize-v),total:_,alwaysOn:P.scrollbarAlwaysOn}),q=mt(Z,{class:[A.e("window"),h],style:O,onScroll:z,ref:"windowRef",key:0},rt(Z)?[D]:{default:()=>[D]});return mt("div",{key:0,class:[A.e("wrapper"),P.scrollbarAlwaysOn?"always-on":""]},[q,B])}}),vT=gT({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:o,width:r},a,l,i)=>{const u=Uc(o)?r:e,c=Math.max(0,t*n-u),d=Math.min(c,a*n),f=Math.max(0,(a+1)*n-u);switch(l===Bp&&(i>=f-u&&i<=d+u?l=Br:l=Oa),l){case Kc:return d;case Hc:return f;case Oa:{const p=Math.round(f+(d-f)/2);return p<Math.ceil(u/2)?0:p>c+Math.floor(u/2)?c:p}case Br:default:return i>=f&&i<=d?i:i<f?f:d}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:o,width:r},a,l)=>{const i=a*n,u=Uc(o)?r:e,c=Math.ceil((u+l-i)/n);return Math.max(0,Math.min(t-1,a+c-1))},initCache(){},clearCache:!0,validateProps(){}}),Pi=(e,t,n)=>{const{itemSize:o}=e,{items:r,lastVisitedIndex:a}=n;if(t>a){let l=0;if(a>=0){const i=r[a];l=i.offset+i.size}for(let i=a+1;i<=t;i++){const u=o(i);r[i]={offset:l,size:u},l+=u}n.lastVisitedIndex=t}return r[t]},PY=(e,t,n)=>{const{items:o,lastVisitedIndex:r}=t;return(r>0?o[r].offset:0)>=n?mT(e,t,0,r,n):IY(e,t,Math.max(0,r),n)},mT=(e,t,n,o,r)=>{for(;n<=o;){const a=n+Math.floor((o-n)/2),l=Pi(e,a,t).offset;if(l===r)return a;l<r?n=a+1:l>r&&(o=a-1)}return Math.max(0,n-1)},IY=(e,t,n,o)=>{const{total:r}=e;let a=1;for(;n<r&&Pi(e,n,t).offset<o;)n+=a,a*=2;return mT(e,t,Math.floor(n/2),Math.min(n,r-1),o)},tk=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:o})=>{let r=0;if(o>=e&&(o=e-1),o>=0){const i=t[o];r=i.offset+i.size}const l=(e-o-1)*n;return r+l},MY=gT({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Pi(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:tk,getOffset:(e,t,n,o,r)=>{const{height:a,layout:l,width:i}=e,u=Uc(l)?i:a,c=Pi(e,t,r),d=tk(e,r),f=Math.max(0,Math.min(d-u,c.offset)),p=Math.max(0,c.offset-u+c.size);switch(n===Bp&&(o>=p-u&&o<=f+u?n=Br:n=Oa),n){case Kc:return f;case Hc:return p;case Oa:return Math.round(p+(f-p)/2);case Br:default:return o>=p&&o<=f?o:o<p?p:f}},getStartIndexForOffset:(e,t,n)=>PY(e,n,t),getStopIndexForStartIndex:(e,t,n,o)=>{const{height:r,total:a,layout:l,width:i}=e,u=Uc(l)?i:r,c=Pi(e,t,o),d=n+u;let f=c.offset+c.size,p=t;for(;p<a-1&&f<d;)p++,f+=Pi(e,p,o).size;return p},initCache({estimatedItemSize:e=pm},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(o,r=!0)=>{var a,l;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,o-1),(a=t.exposed)==null||a.getItemStyleCache(-1),r&&((l=t.proxy)==null||l.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),AY={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var jY=te({name:"ElSelectDropdown",props:AY,setup(e,{slots:t,expose:n}){const o=et(Wb),r=Ie("select"),{getLabel:a,getValue:l,getDisabled:i}=_d(o.props),u=L([]),c=L(),d=S(()=>e.data.length);ke(()=>d.value,()=>{var O,A;(A=(O=o.tooltipRef.value)==null?void 0:O.updatePopper)==null||A.call(O)});const f=S(()=>Zt(o.props.estimatedOptionHeight)),p=S(()=>f.value?{itemSize:o.props.itemHeight}:{estimatedSize:o.props.estimatedOptionHeight,itemSize:O=>u.value[O]}),h=(O=[],A)=>{const{props:{valueKey:K}}=o;return At(A)?O&&O.some(Y=>wn(Zn(Y,K))===Zn(A,K)):O.includes(A)},v=(O,A)=>{if(At(A)){const{valueKey:K}=o.props;return Zn(O,K)===Zn(A,K)}else return O===A},g=(O,A)=>o.props.multiple?h(O,l(A)):v(O,l(A)),m=(O,A)=>{const{disabled:K,multiple:Y,multipleLimit:Z}=o.props;return K||!A&&(Y?Z>0&&O.length>=Z:!1)},y=O=>e.hoveringIndex===O;n({listRef:c,isSized:f,isItemDisabled:m,isItemHovering:y,isItemSelected:g,scrollToItem:O=>{const A=c.value;A&&A.scrollToItem(O)},resetScrollTop:()=>{const O=c.value;O&&O.resetScrollTop()}});const x=O=>{const{index:A,data:K,style:Y}=O,Z=s(f),{itemSize:$,estimatedSize:R}=s(p),{modelValue:D}=o.props,{onSelect:B,onHover:q}=o,G=K[A];if(G.type==="Group")return Q(hY,{item:G,style:Y,height:Z?$:R},null);const X=g(D,G),J=m(D,X),ue=y(A);return Q(CY,Vt(O,{selected:X,disabled:i(G)||J,created:!!G.created,hovering:ue,item:G,onSelect:B,onHover:q}),{default:ae=>{var ve;return((ve=t.default)==null?void 0:ve.call(t,ae))||Q("span",null,[a(G)])}})},{onKeyboardNavigate:_,onKeyboardSelect:z}=o,I=()=>{_("forward")},P=()=>{_("backward")},j=O=>{const A=kn(O),{tab:K,esc:Y,down:Z,up:$,enter:R,numpadEnter:D}=We;switch([Y,Z,$,R,D].includes(A)&&(O.preventDefault(),O.stopPropagation()),A){case K:case Y:break;case Z:I();break;case $:P();break;case R:case D:z();break}};return()=>{var O,A,K,Y;const{data:Z,width:$}=e,{height:R,multiple:D,scrollbarAlwaysOn:B}=o.props,q=S(()=>_h?!0:B),G=s(f)?vT:MY;return Q("div",{class:[r.b("dropdown"),r.is("multiple",D)],style:{width:`${$}px`}},[(O=t.header)==null?void 0:O.call(t),((A=t.loading)==null?void 0:A.call(t))||((K=t.empty)==null?void 0:K.call(t))||Q(G,Vt({ref:c},s(p),{className:r.be("dropdown","list"),scrollbarAlwaysOn:q.value,data:Z,height:R,width:$,total:Z.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:j}),{default:X=>Q(x,X,null)}),(Y=t.footer)==null?void 0:Y.call(t)])}}});function NY(e,t){const{aliasProps:n,getLabel:o,getValue:r}=_d(e),a=L(0),l=L(),i=S(()=>e.allowCreate&&e.filterable);ke(()=>e.options,h=>{const v=new Set(h.map(g=>o(g)));t.createdOptions=t.createdOptions.filter(g=>!v.has(o(g)))});function u(h){const v=g=>o(g)===h;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function c(h){i.value&&(e.multiple&&h.created?a.value++:l.value=h)}function d(h){if(i.value)if(h&&h.length>0){if(u(h)){t.createdOptions=t.createdOptions.filter(g=>o(g)!==t.previousQuery);return}const v={[n.value.value]:h,[n.value.label]:h,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=a.value?t.createdOptions[a.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=a.value;else{const v=l.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function f(h){if(!i.value||!h||!h.created||h.created&&e.reserveKeyword&&t.inputValue===o(h))return;const v=t.createdOptions.findIndex(g=>r(g)===r(h));~v&&(t.createdOptions.splice(v,1),a.value--)}function p(){i.value&&(t.createdOptions.length=0,a.value=0)}return{createNewOption:d,removeNewOption:f,selectNewOption:c,clearAllNewOption:p}}const RY=(e,t)=>{const{t:n}=Qt(),o=Ie("select"),r=Ie("input"),{form:a,formItem:l}=xo(),{inputId:i}=Pr(e,{formItemContext:l}),{aliasProps:u,getLabel:c,getValue:d,getDisabled:f,getOptions:p}=_d(e),{valueOnClear:h,isEmptyValue:v}=pd(e),g=an({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),m=L(-1),y=L(!1),k=L(),C=L(),b=L(),x=L(),_=L(),z=L(),I=L(),P=L(),j=L(),O=L(),{isComposing:A,handleCompositionStart:K,handleCompositionEnd:Y,handleCompositionUpdate:Z}=yd({afterComposition:Ge=>yn(Ge)}),$=S(()=>e.disabled||!!a?.disabled),{wrapperRef:R,isFocused:D,handleBlur:B}=$l(_,{disabled:$,afterFocus(){e.automaticDropdown&&!J.value&&(J.value=!0,g.menuVisibleOnFocus=!0)},beforeBlur(Ge){var xt,qt;return((xt=b.value)==null?void 0:xt.isFocusInsideContent(Ge))||((qt=x.value)==null?void 0:qt.isFocusInsideContent(Ge))},afterBlur(){var Ge;J.value=!1,g.menuVisibleOnFocus=!1,e.validateEvent&&((Ge=l?.validate)==null||Ge.call(l,"blur").catch(xt=>Kt(xt)))}}),q=S(()=>we("")),G=S(()=>e.loading?!1:e.options.length>0||g.createdOptions.length>0),X=L([]),J=L(!1),ue=S(()=>{var Ge;return(Ge=a?.statusIcon)!=null?Ge:!1}),ae=S(()=>{const Ge=X.value.length*e.itemHeight;return Ge>e.height?e.height:Ge}),ve=S(()=>e.multiple?Be(e.modelValue)&&e.modelValue.length>0:!v(e.modelValue)),re=S(()=>e.clearable&&!$.value&&ve.value&&(D.value||g.inputHovering)),ce=S(()=>e.remote&&e.filterable?"":e.suffixIcon),oe=S(()=>ce.value&&o.is("reverse",J.value)),ie=S(()=>l?.validateState||""),de=S(()=>{if(ie.value)return $p[ie.value]}),U=S(()=>e.remote?e.debounce:0),le=S(()=>e.remote&&!g.inputValue&&!G.value),me=S(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&g.inputValue&&G.value&&X.value.length===0?e.noMatchText||n("el.select.noMatch"):G.value?null:e.noDataText||n("el.select.noData")),_e=S(()=>e.filterable&&it(e.filterMethod)),Ce=S(()=>e.filterable&&e.remote&&it(e.remoteMethod)),we=Ge=>{const xt=new RegExp(Fb(Ge),"i"),qt=Yt=>_e.value||Ce.value?!0:Ge?xt.test(c(Yt)||""):!0;return e.loading?[]:[...g.createdOptions,...e.options].reduce((Yt,Dn)=>{const Qo=p(Dn);if(Be(Qo)){const ya=Qo.filter(qt);ya.length>0&&Yt.push({label:c(Dn),type:"Group"},...ya)}else(e.remote||qt(Dn))&&Yt.push(Dn);return Yt},[])},$e=()=>{X.value=we(g.inputValue)},Re=S(()=>{const Ge=new Map;return q.value.forEach((xt,qt)=>{Ge.set(Tn(d(xt)),{option:xt,index:qt})}),Ge}),Ke=S(()=>{const Ge=new Map;return X.value.forEach((xt,qt)=>{Ge.set(Tn(d(xt)),{option:xt,index:qt})}),Ge}),De=S(()=>X.value.every(Ge=>f(Ge))),at=ro(),Ze=S(()=>at.value==="small"?"small":"default"),ot=()=>{var Ge;if(ft(e.fitInputWidth)){m.value=e.fitInputWidth;return}const xt=((Ge=k.value)==null?void 0:Ge.offsetWidth)||200;!e.fitInputWidth&&G.value?Qe(()=>{m.value=Math.max(xt,gt())}):m.value=xt},gt=()=>{var Ge,xt;const Yt=document.createElement("canvas").getContext("2d"),Dn=o.be("dropdown","item"),ya=(((xt=(Ge=P.value)==null?void 0:Ge.listRef)==null?void 0:xt.innerRef)||document).querySelector(`.${Dn}`);if(ya===null||Yt===null)return 0;const gs=getComputedStyle(ya),_n=Number.parseFloat(gs.paddingLeft)+Number.parseFloat(gs.paddingRight);return Yt.font=`bold ${gs.font.replace(new RegExp(`\\b${gs.fontWeight}\\b`),"")}`,X.value.reduce((jd,ci)=>{const vs=Yt.measureText(c(ci));return Math.max(vs.width,jd)},0)+_n},Ne=()=>{if(!C.value)return 0;const Ge=window.getComputedStyle(C.value);return Number.parseFloat(Ge.gap||"6px")},vt=S(()=>{const Ge=Ne(),xt=e.filterable?Ge+Rb:0;return{maxWidth:`${O.value&&e.maxCollapseTags===1?g.selectionWidth-g.collapseItemWidth-Ge-xt:g.selectionWidth-xt}px`}}),_t=S(()=>({maxWidth:`${g.selectionWidth}px`})),Gt=S(()=>Be(e.modelValue)?e.modelValue.length===0&&!g.inputValue:e.filterable?!g.inputValue:!0),on=S(()=>{var Ge;const xt=(Ge=e.placeholder)!=null?Ge:n("el.select.placeholder");return e.multiple||!ve.value?xt:g.selectedLabel}),yt=S(()=>{var Ge,xt;return(xt=(Ge=b.value)==null?void 0:Ge.popperRef)==null?void 0:xt.contentRef}),Ot=S(()=>{if(e.multiple){const Ge=e.modelValue.length;if(e.modelValue.length>0&&Ke.value.has(e.modelValue[Ge-1])){const{index:xt}=Ke.value.get(e.modelValue[Ge-1]);return xt}}else if(!v(e.modelValue)&&Ke.value.has(e.modelValue)){const{index:Ge}=Ke.value.get(e.modelValue);return Ge}return-1}),Oe=S({get(){return J.value&&(e.loading||!le.value)&&(!y.value||!lr(g.previousQuery))},set(Ge){J.value=Ge}}),ut=S(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(0,e.maxCollapseTags):g.cachedOptions:[]),pt=S(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:ye,removeNewOption:ct,selectNewOption:xe,clearAllNewOption:dt}=NY(e,g),Fe=()=>{$.value||(g.menuVisibleOnFocus?g.menuVisibleOnFocus=!1:J.value=!J.value)},en=()=>{g.inputValue.length>0&&!J.value&&(J.value=!0),ye(g.inputValue),Qe(()=>{lo(g.inputValue)})},Fn=fd(()=>{en(),y.value=!1},U),lo=Ge=>{g.previousQuery===Ge||A.value||(g.previousQuery=Ge,e.filterable&&it(e.filterMethod)?e.filterMethod(Ge):e.filterable&&e.remote&&it(e.remoteMethod)&&e.remoteMethod(Ge),e.defaultFirstOption&&(e.filterable||e.remote)&&X.value.length?Qe(Jn):Qe(Xt))},Jn=()=>{const Ge=X.value.filter(Yt=>!Yt.disabled&&Yt.type!=="Group"),xt=Ge.find(Yt=>Yt.created),qt=Ge[0];g.hoveringIndex=Ft(X.value,xt||qt)},Je=Ge=>{Vn(e.modelValue,Ge)||t(Wt,Ge)},Jt=Ge=>{t(St,Ge),Je(Ge),g.previousValue=e.multiple?String(Ge):Ge,Qe(()=>{if(e.multiple&&Be(e.modelValue)){const xt=g.cachedOptions.slice(),qt=e.modelValue.map(Yt=>Eo(Yt,xt));Vn(g.cachedOptions,qt)||(g.cachedOptions=qt)}else Ya(!0)})},Ft=(Ge=[],xt)=>{if(!At(xt))return Ge.indexOf(xt);const qt=e.valueKey;let Yt=-1;return Ge.some((Dn,Qo)=>Zn(Dn,qt)===Zn(xt,qt)?(Yt=Qo,!0):!1),Yt},Tn=Ge=>At(Ge)?Zn(Ge,e.valueKey):Ge,vo=()=>{ot()},Po=()=>{g.selectionWidth=Number.parseFloat(window.getComputedStyle(C.value).width)},Il=()=>{g.collapseItemWidth=O.value.getBoundingClientRect().width},$n=()=>{var Ge,xt;(xt=(Ge=b.value)==null?void 0:Ge.updatePopper)==null||xt.call(Ge)},eo=()=>{var Ge,xt;(xt=(Ge=x.value)==null?void 0:Ge.updatePopper)==null||xt.call(Ge)},Wa=Ge=>{const xt=d(Ge);if(e.multiple){let qt=e.modelValue.slice();const Yt=Ft(qt,xt);Yt>-1?(qt=[...qt.slice(0,Yt),...qt.slice(Yt+1)],g.cachedOptions.splice(Yt,1),ct(Ge)):(e.multipleLimit<=0||qt.length<e.multipleLimit)&&(qt=[...qt,xt],g.cachedOptions.push(Ge),xe(Ge)),Jt(qt),Ge.created&&lo(""),e.filterable&&!e.reserveKeyword&&(g.inputValue="")}else g.selectedLabel=c(Ge),!Vn(e.modelValue,xt)&&Jt(xt),J.value=!1,xe(Ge),Ge.created||dt();dr()},Ua=(Ge,xt)=>{let qt=e.modelValue.slice();const Yt=Ft(qt,d(xt));Yt>-1&&!$.value&&(qt=[...e.modelValue.slice(0,Yt),...e.modelValue.slice(Yt+1)],g.cachedOptions.splice(Yt,1),Jt(qt),t("remove-tag",d(xt)),ct(xt)),Ge.stopPropagation(),dr()},dr=()=>{var Ge;(Ge=_.value)==null||Ge.focus()},Ml=()=>{var Ge;if(J.value){J.value=!1,Qe(()=>{var xt;return(xt=_.value)==null?void 0:xt.blur()});return}(Ge=_.value)==null||Ge.blur()},Eu=()=>{g.inputValue.length>0?g.inputValue="":J.value=!1},Ir=Ge=>p2(Ge,xt=>!g.cachedOptions.some(qt=>d(qt)===xt&&f(qt))),ma=Ge=>{const xt=kn(Ge);if(e.multiple&&xt!==We.delete&&g.inputValue.length===0){Ge.preventDefault();const qt=e.modelValue.slice(),Yt=Ir(qt);if(Yt<0)return;const Dn=qt[Yt];qt.splice(Yt,1);const Qo=g.cachedOptions[Yt];g.cachedOptions.splice(Yt,1),ct(Qo),Jt(qt),t("remove-tag",Dn)}},Mr=()=>{let Ge;Be(e.modelValue)?Ge=[]:Ge=h.value,g.selectedLabel="",J.value=!1,Jt(Ge),t("clear"),dt(),dr()},Ar=(Ge,xt=void 0)=>{const qt=X.value;if(!["forward","backward"].includes(Ge)||$.value||qt.length<=0||De.value||A.value)return;if(!J.value)return Fe();Zt(xt)&&(xt=g.hoveringIndex);let Yt=-1;Ge==="forward"?(Yt=xt+1,Yt>=qt.length&&(Yt=0)):Ge==="backward"&&(Yt=xt-1,(Yt<0||Yt>=qt.length)&&(Yt=qt.length-1));const Dn=qt[Yt];if(f(Dn)||Dn.type==="Group")return Ar(Ge,Yt);g.hoveringIndex=Yt,bn(Yt)},Ye=()=>{if(J.value)~g.hoveringIndex&&X.value[g.hoveringIndex]&&Wa(X.value[g.hoveringIndex]);else return Fe()},bt=Ge=>{g.hoveringIndex=Ge??-1},Xt=()=>{e.multiple?g.hoveringIndex=X.value.findIndex(Ge=>e.modelValue.some(xt=>Tn(xt)===Tn(d(Ge)))):g.hoveringIndex=X.value.findIndex(Ge=>Tn(d(Ge))===Tn(e.modelValue))},yn=Ge=>{if(g.inputValue=Ge.target.value,e.remote)y.value=!0,Fn();else return en()},Mn=Ge=>{if(J.value=!1,D.value){const xt=new FocusEvent("blur",Ge);B(xt)}},ho=()=>(g.isBeforeHide=!1,Qe(()=>{~Ot.value&&bn(g.hoveringIndex)})),bn=Ge=>{P.value.scrollToItem(Ge)},Eo=(Ge,xt)=>{const qt=Tn(Ge);if(Re.value.has(qt)){const{option:Yt}=Re.value.get(qt);return Yt}if(xt&&xt.length){const Yt=xt.find(Dn=>Tn(d(Dn))===qt);if(Yt)return Yt}return{[u.value.value]:Ge,[u.value.label]:Ge}},mo=Ge=>{var xt,qt;return(qt=(xt=Re.value.get(d(Ge)))==null?void 0:xt.index)!=null?qt:-1},Ya=(Ge=!1)=>{if(e.multiple)if(e.modelValue.length>0){const xt=g.cachedOptions.slice();g.cachedOptions.length=0,g.previousValue=e.modelValue.toString();for(const qt of e.modelValue){const Yt=Eo(qt,xt);g.cachedOptions.push(Yt)}}else g.cachedOptions=[],g.previousValue=void 0;else if(ve.value){g.previousValue=e.modelValue;const xt=X.value,qt=xt.findIndex(Yt=>Tn(d(Yt))===Tn(e.modelValue));~qt?g.selectedLabel=c(xt[qt]):(!g.selectedLabel||Ge)&&(g.selectedLabel=Tn(e.modelValue))}else g.selectedLabel="",g.previousValue=void 0;dt(),ot()};return ke(()=>e.fitInputWidth,()=>{ot()}),ke(J,Ge=>{Ge?(e.persistent||ot(),lo("")):(g.inputValue="",g.previousQuery=null,g.isBeforeHide=!0,ye("")),t("visible-change",Ge)}),ke(()=>e.modelValue,(Ge,xt)=>{var qt;(!Ge||Be(Ge)&&Ge.length===0||e.multiple&&!Vn(Ge.toString(),g.previousValue)||!e.multiple&&Tn(Ge)!==Tn(g.previousValue))&&Ya(!0),!Vn(Ge,xt)&&e.validateEvent&&((qt=l?.validate)==null||qt.call(l,"change").catch(Dn=>Kt(Dn)))},{deep:!0}),ke(()=>e.options,()=>{const Ge=_.value;(!Ge||Ge&&document.activeElement!==Ge)&&Ya()},{deep:!0,flush:"post"}),ke(()=>X.value,()=>(ot(),P.value&&Qe(P.value.resetScrollTop))),sr(()=>{g.isBeforeHide||$e()}),sr(()=>{const{valueKey:Ge,options:xt}=e,qt=new Map;for(const Yt of xt){const Dn=d(Yt);let Qo=Dn;if(At(Qo)&&(Qo=Zn(Dn,Ge)),qt.get(Qo)){Kt("ElSelectV2","The option values you provided seem to be duplicated, which may cause some problems, please check.");break}else qt.set(Qo,!0)}}),Bt(()=>{Ya()}),In(k,vo),In(C,Po),In(P,$n),In(R,$n),In(j,eo),In(O,Il),{inputId:i,collapseTagSize:Ze,currentPlaceholder:on,expanded:J,emptyText:me,popupHeight:ae,debounce:U,allOptions:q,allOptionsValueMap:Re,filteredOptions:X,iconComponent:ce,iconReverse:oe,tagStyle:vt,collapseTagStyle:_t,popperSize:m,dropdownMenuVisible:Oe,hasModelValue:ve,shouldShowPlaceholder:Gt,selectDisabled:$,selectSize:at,needStatusIcon:ue,showClearBtn:re,states:g,isFocused:D,nsSelect:o,nsInput:r,inputRef:_,menuRef:P,tagMenuRef:j,tooltipRef:b,tagTooltipRef:x,selectRef:k,wrapperRef:R,selectionRef:C,prefixRef:z,suffixRef:I,collapseItemRef:O,popperRef:yt,validateState:ie,validateIcon:de,showTagList:ut,collapseTagList:pt,debouncedOnInputChange:Fn,deleteTag:Ua,getLabel:c,getValue:d,getDisabled:f,getValueKey:Tn,getIndex:mo,handleClear:Mr,handleClickOutside:Mn,handleDel:ma,handleEsc:Eu,focus:dr,blur:Ml,handleMenuEnter:ho,handleResize:vo,resetSelectionWidth:Po,updateTooltip:$n,updateTagTooltip:eo,updateOptions:$e,toggleMenu:Fe,scrollTo:bn,onInput:yn,onKeyboardNavigate:Ar,onKeyboardSelect:Ye,onSelect:Wa,onHover:bt,handleCompositionStart:K,handleCompositionEnd:Y,handleCompositionUpdate:Z}},DY=te({name:"ElSelectV2",components:{ElSelectMenu:jY,ElTag:fl,ElTooltip:Oo,ElIcon:lt},directives:{ClickOutside:Cl},props:gY,emits:mY,setup(e,{emit:t}){const n=S(()=>{const{modelValue:u,multiple:c}=e,d=c?[]:void 0;return Be(u)?c?u:d:c?d:u}),o=RY(an({...fo(e),modelValue:n}),t),{calculatorRef:r,inputStyle:a}=Db(),l=To();Ut(Wb,{props:an({...fo(e),height:o.popupHeight,modelValue:n}),expanded:o.expanded,tooltipRef:o.tooltipRef,contentId:l,onSelect:o.onSelect,onHover:o.onHover,onKeyboardNavigate:o.onKeyboardNavigate,onKeyboardSelect:o.onKeyboardSelect});const i=S(()=>e.multiple?o.states.cachedOptions.map(u=>o.getLabel(u)):o.states.selectedLabel);return{...o,modelValue:n,selectedLabel:i,calculatorRef:r,inputStyle:a,contentId:l,BORDER_HORIZONTAL_WIDTH:Qz}}});function LY(e,t,n,o,r,a){const l=kt("el-tag"),i=kt("el-tooltip"),u=kt("el-icon"),c=kt("el-select-menu"),d=hp("click-outside");return Nt((T(),F("div",{ref:"selectRef",class:M([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:f=>e.states.inputHovering=!0,onMouseleave:f=>e.states.inputHovering=!1},[Q(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:f=>e.states.isBeforeHide=!1},{default:ne(()=>{var f,p;return[H("div",{ref:"wrapperRef",class:M([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:wt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(T(),F("div",{key:0,ref:"prefixRef",class:M(e.nsSelect.e("prefix"))},[he(e.$slots,"prefix")],2)):fe("v-if",!0),H("div",{ref:"selectionRef",class:M([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?he(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(T(!0),F(tt,null,Dt(e.showTagList,h=>(T(),F("div",{key:e.getValueKey(e.getValue(h)),class:M(e.nsSelect.e("selected-item"))},[Q(l,{closable:!e.selectDisabled&&!e.getDisabled(h),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:ht(e.tagStyle),onClose:v=>e.deleteTag(v,h)},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))},[he(e.$slots,"label",{index:e.getIndex(h),label:e.getLabel(h),value:e.getValue(h)},()=>[Tt(Pe(e.getLabel(h)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(T(),ge(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported},{default:ne(()=>[H("div",{ref:"collapseItemRef",class:M(e.nsSelect.e("selected-item"))},[Q(l,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:ht(e.collapseTagStyle),"disable-transitions":""},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))}," + "+Pe(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:ne(()=>[H("div",{ref:"tagMenuRef",class:M(e.nsSelect.e("selection"))},[(T(!0),F(tt,null,Dt(e.collapseTagList,h=>(T(),F("div",{key:e.getValueKey(e.getValue(h)),class:M(e.nsSelect.e("selected-item"))},[Q(l,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(h),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:v=>e.deleteTag(v,h)},{default:ne(()=>[H("span",{class:M(e.nsSelect.e("tags-text"))},[he(e.$slots,"label",{index:e.getIndex(h),label:e.getLabel(h),value:e.getValue(h)},()=>[Tt(Pe(e.getLabel(h)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported"])):fe("v-if",!0)]):fe("v-if",!0),H("div",{class:M([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[Nt(H("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":h=>e.states.inputValue=h,style:ht(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:M([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:e.onInput,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onKeydown:[Ln(wt(h=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"]),Ln(wt(h=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"]),Ln(wt(e.onKeyboardSelect,["stop","prevent"]),["enter"]),Ln(wt(e.handleEsc,["stop","prevent"]),["esc"]),Ln(wt(e.handleDel,["stop"]),["delete"])],onClick:wt(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[vp,e.states.inputValue]]),e.filterable?(T(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:M(e.nsSelect.e("input-calculator")),textContent:Pe(e.states.inputValue)},null,10,["textContent"])):fe("v-if",!0)],2),e.shouldShowPlaceholder?(T(),F("div",{key:1,class:M([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?he(e.$slots,"label",{key:0,index:(p=(f=e.allOptionsValueMap.get(e.modelValue))==null?void 0:f.index)!=null?p:-1,label:e.currentPlaceholder,value:e.modelValue},()=>[H("span",null,Pe(e.currentPlaceholder),1)]):(T(),F("span",{key:1},Pe(e.currentPlaceholder),1))],2)):fe("v-if",!0)],2),H("div",{ref:"suffixRef",class:M(e.nsSelect.e("suffix"))},[e.iconComponent?Nt((T(),ge(u,{key:0,class:M([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:ne(()=>[(T(),ge(Rt(e.iconComponent)))]),_:1},8,["class"])),[[tn,!e.showClearBtn]]):fe("v-if",!0),e.showClearBtn&&e.clearIcon?(T(),ge(u,{key:1,class:M([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:wt(e.handleClear,["prevent","stop"])},{default:ne(()=>[(T(),ge(Rt(e.clearIcon)))]),_:1},8,["class","onClick"])):fe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(T(),ge(u,{key:2,class:M([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:ne(()=>[(T(),ge(Rt(e.validateIcon)))]),_:1},8,["class"])):fe("v-if",!0)],2)],10,["onClick"])]}),content:ne(()=>[Q(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},yr({default:ne(f=>[he(e.$slots,"default",Qr(Pa(f)))]),_:2},[e.$slots.header?{name:"header",fn:ne(()=>[H("div",{class:M(e.nsSelect.be("dropdown","header")),onClick:wt(()=>{},["stop"])},[he(e.$slots,"header")],10,["onClick"])])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:ne(()=>[H("div",{class:M(e.nsSelect.be("dropdown","loading"))},[he(e.$slots,"loading")],2)])}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:ne(()=>[H("div",{class:M(e.nsSelect.be("dropdown","empty"))},[he(e.$slots,"empty",{},()=>[H("span",null,Pe(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:ne(()=>[H("div",{class:M(e.nsSelect.be("dropdown","footer")),onClick:wt(()=>{},["stop"])},[he(e.$slots,"footer")],10,["onClick"])])}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],42,["onMouseenter","onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}var BY=Ue(DY,[["render",LY],["__file","select.vue"]]);const VY=Pt(BY),FY=qe({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:se([Number,Object])}}),qY=qe({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),KY=te({name:"ElSkeletonItem"}),HY=te({...KY,props:qY,setup(e){const t=Ie("skeleton");return(n,o)=>(T(),F("div",{class:M([s(t).e("item"),s(t).e(n.variant)])},[n.variant==="image"?(T(),ge(s(nL),{key:0})):fe("v-if",!0)],2))}});var Lh=Ue(HY,[["__file","skeleton-item.vue"]]);const WY=(e,t=0)=>{if(t===0)return e;const n=At(t)&&!!t.initVal,o=L(n);let r=null;const a=i=>{if(Zt(i)){o.value=e.value;return}r&&clearTimeout(r),r=setTimeout(()=>{o.value=e.value},i)},l=i=>{i==="leading"?ft(t)?a(t):a(t.leading):At(t)?a(t.trailing):o.value=!1};return Bt(()=>l("leading")),ke(()=>e.value,i=>{l(i?"leading":"trailing")}),o},UY=te({name:"ElSkeleton"}),YY=te({...UY,props:FY,setup(e,{expose:t}){const n=e,o=Ie("skeleton"),r=WY(sn(n,"loading"),n.throttle);return t({uiLoading:r}),(a,l)=>s(r)?(T(),F("div",Vt({key:0,class:[s(o).b(),s(o).is("animated",a.animated)]},a.$attrs),[(T(!0),F(tt,null,Dt(a.count,i=>(T(),F(tt,{key:i},[s(r)?he(a.$slots,"template",{key:i},()=>[Q(Lh,{class:M(s(o).is("first")),variant:"p"},null,8,["class"]),(T(!0),F(tt,null,Dt(a.rows,u=>(T(),ge(Lh,{key:u,class:M([s(o).e("paragraph"),s(o).is("last",u===a.rows&&a.rows>1)]),variant:"p"},null,8,["class"]))),128))]):fe("v-if",!0)],64))),128))],16)):he(a.$slots,"default",Qr(Vt({key:1},a.$attrs)))}});var GY=Ue(YY,[["__file","skeleton.vue"]]);const XY=Pt(GY,{SkeletonItem:Lh}),ZY=Rn(Lh),yT=Symbol("sliderContextKey"),QY=qe({modelValue:{type:se([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:io,inputSize:io,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:se(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:se(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Pl,default:"top"},marks:{type:se(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Zo(["ariaLabel"])}),lv=e=>ft(e)||Be(e)&&e.every(ft),JY={[St]:lv,[oo]:lv,[Wt]:lv},eG=qe({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Pl,default:"top"}}),tG={[St]:e=>ft(e)},nG=(e,t,n)=>{const o=L(),r=L(!1),a=S(()=>t.value instanceof Function),l=S(()=>a.value&&t.value(e.modelValue)||e.modelValue),i=Ra(()=>{n.value&&(r.value=!0)},50),u=Ra(()=>{n.value&&(r.value=!1)},50);return{tooltip:o,tooltipVisible:r,formatValue:l,displayTooltip:i,hideTooltip:u}},oG=(e,t,n)=>{const{disabled:o,min:r,max:a,step:l,showTooltip:i,persistent:u,precision:c,sliderSize:d,formatTooltip:f,emitChange:p,resetSize:h,updateDragging:v}=et(yT),{tooltip:g,tooltipVisible:m,formatValue:y,displayTooltip:k,hideTooltip:C}=nG(e,f,i),b=L(),x=S(()=>`${(e.modelValue-r.value)/(a.value-r.value)*100}%`),_=S(()=>e.vertical?{bottom:x.value}:{left:x.value}),z=()=>{t.hovering=!0,k()},I=()=>{t.hovering=!1,t.dragging||C()},P=J=>{o.value||(J.preventDefault(),B(J),window.addEventListener("mousemove",q),window.addEventListener("touchmove",q),window.addEventListener("mouseup",G),window.addEventListener("touchend",G),window.addEventListener("contextmenu",G),b.value.focus())},j=J=>{o.value||(t.newPosition=Number.parseFloat(x.value)+J/(a.value-r.value)*100,X(t.newPosition),p())},O=()=>{j(-l.value)},A=()=>{j(l.value)},K=()=>{j(-l.value*4)},Y=()=>{j(l.value*4)},Z=()=>{o.value||(X(0),p())},$=()=>{o.value||(X(100),p())},R=J=>{const ue=kn(J);let ae=!0;switch(ue){case We.left:case We.down:O();break;case We.right:case We.up:A();break;case We.home:Z();break;case We.end:$();break;case We.pageDown:K();break;case We.pageUp:Y();break;default:ae=!1;break}ae&&J.preventDefault()},D=J=>{let ue,ae;return J.type.startsWith("touch")?(ae=J.touches[0].clientY,ue=J.touches[0].clientX):(ae=J.clientY,ue=J.clientX),{clientX:ue,clientY:ae}},B=J=>{t.dragging=!0,t.isClick=!0;const{clientX:ue,clientY:ae}=D(J);e.vertical?t.startY=ae:t.startX=ue,t.startPosition=Number.parseFloat(x.value),t.newPosition=t.startPosition},q=J=>{if(t.dragging){t.isClick=!1,k(),h();let ue;const{clientX:ae,clientY:ve}=D(J);e.vertical?(t.currentY=ve,ue=(t.startY-t.currentY)/d.value*100):(t.currentX=ae,ue=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+ue,X(t.newPosition)}},G=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||C(),t.isClick||X(t.newPosition),p()},0),window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",G),window.removeEventListener("touchend",G),window.removeEventListener("contextmenu",G))},X=async J=>{if(J===null||Number.isNaN(+J))return;J=_p(J,0,100);const ue=Math.floor((a.value-r.value)/l.value),ae=ue*l.value/(a.value-r.value)*100,ve=ae+(100-ae)/2;let re;if(J<ae){const ce=ae/ue,oe=Math.round(J/ce);re=r.value+oe*l.value}else J<ve?re=r.value+ue*l.value:re=a.value;re=Number.parseFloat(re.toFixed(c.value)),re!==e.modelValue&&n(St,re),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await Qe(),t.dragging&&k(),g.value.updatePopper()};return ke(()=>t.dragging,J=>{v(J)}),gn(b,"touchstart",P,{passive:!1}),{disabled:o,button:b,tooltip:g,tooltipVisible:m,showTooltip:i,persistent:u,wrapperStyle:_,formatValue:y,handleMouseEnter:z,handleMouseLeave:I,onButtonDown:P,onKeyDown:R,setPosition:X}},rG=te({name:"ElSliderButton"}),aG=te({...rG,props:eG,emits:tG,setup(e,{expose:t,emit:n}){const o=e,r=Ie("slider"),a=an({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:o.modelValue}),l=S(()=>d.value?f.value:!1),{disabled:i,button:u,tooltip:c,showTooltip:d,persistent:f,tooltipVisible:p,wrapperStyle:h,formatValue:v,handleMouseEnter:g,handleMouseLeave:m,onButtonDown:y,onKeyDown:k,setPosition:C}=oG(o,a,n),{hovering:b,dragging:x}=fo(a);return t({onButtonDown:y,onKeyDown:k,setPosition:C,hovering:b,dragging:x}),(_,z)=>(T(),F("div",{ref_key:"button",ref:u,class:M([s(r).e("button-wrapper"),{hover:s(b),dragging:s(x)}]),style:ht(s(h)),tabindex:s(i)?void 0:0,onMouseenter:s(g),onMouseleave:s(m),onMousedown:s(y),onFocus:s(g),onBlur:s(m),onKeydown:s(k)},[Q(s(Oo),{ref_key:"tooltip",ref:c,visible:s(p),placement:_.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":_.tooltipClass,disabled:!s(d),persistent:s(l)},{content:ne(()=>[H("span",null,Pe(s(v)),1)]),default:ne(()=>[H("div",{class:M([s(r).e("button"),{hover:s(b),dragging:s(x)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var nk=Ue(aG,[["__file","button.vue"]]);const lG=qe({mark:{type:se([String,Object]),default:void 0}});var sG=te({name:"ElSliderMarker",props:lG,setup(e){const t=Ie("slider"),n=S(()=>rt(e.mark)?e.mark:e.mark.label),o=S(()=>rt(e.mark)?void 0:e.mark.style);return()=>mt("div",{class:t.e("marks-text"),style:o.value},n.value)}});const iG=(e,t,n)=>{const{form:o,formItem:r}=xo(),a=xn(),l=L(),i=L(),u={firstButton:l,secondButton:i},c=S(()=>e.disabled||o?.disabled||!1),d=S(()=>Math.min(t.firstValue,t.secondValue)),f=S(()=>Math.max(t.firstValue,t.secondValue)),p=S(()=>e.range?`${100*(f.value-d.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=S(()=>e.range?`${100*(d.value-e.min)/(e.max-e.min)}%`:"0%"),v=S(()=>e.vertical?{height:e.height}:{}),g=S(()=>e.vertical?{height:p.value,bottom:h.value}:{width:p.value,left:h.value}),m=()=>{if(a.value){const A=a.value.getBoundingClientRect();t.sliderSize=A[e.vertical?"height":"width"]}},y=A=>{const K=e.min+A*(e.max-e.min)/100;if(!e.range)return l;let Y;return Math.abs(d.value-K)<Math.abs(f.value-K)?Y=t.firstValue<t.secondValue?"firstButton":"secondButton":Y=t.firstValue>t.secondValue?"firstButton":"secondButton",u[Y]},k=A=>{const K=y(A);return K.value.setPosition(A),K},C=A=>{t.firstValue=A??e.min,x(e.range?[d.value,f.value]:A??e.min)},b=A=>{t.secondValue=A,e.range&&x([d.value,f.value])},x=A=>{n(St,A),n(oo,A)},_=async()=>{await Qe(),n(Wt,e.range?[d.value,f.value]:e.modelValue)},z=A=>{var K,Y,Z,$,R,D;if(c.value||t.dragging)return;m();let B=0;if(e.vertical){const q=(Z=(Y=(K=A.touches)==null?void 0:K.item(0))==null?void 0:Y.clientY)!=null?Z:A.clientY;B=(a.value.getBoundingClientRect().bottom-q)/t.sliderSize*100}else{const q=(D=(R=($=A.touches)==null?void 0:$.item(0))==null?void 0:R.clientX)!=null?D:A.clientX,G=a.value.getBoundingClientRect().left;B=(q-G)/t.sliderSize*100}if(!(B<0||B>100))return k(B)};return{elFormItem:r,slider:a,firstButton:l,secondButton:i,sliderDisabled:c,minValue:d,maxValue:f,runwayStyle:v,barStyle:g,resetSize:m,setPosition:k,emitChange:_,onSliderWrapperPrevent:A=>{var K,Y;((K=u.firstButton.value)!=null&&K.dragging||(Y=u.secondButton.value)!=null&&Y.dragging)&&A.preventDefault()},onSliderClick:A=>{z(A)&&_()},onSliderDown:async A=>{const K=z(A);K&&(await Qe(),K.value.onButtonDown(A))},onSliderMarkerDown:A=>{if(c.value||t.dragging)return;k(A)&&_()},setFirstValue:C,setSecondValue:b}},uG=(e,t,n,o)=>({stops:S(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return Kt("ElSlider","step should not be 0."),[];const l=Math.ceil((e.max-e.min)/e.step),i=100*e.step/(e.max-e.min),u=Array.from({length:l-1}).map((c,d)=>(d+1)*i);return e.range?u.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(o.value-e.min)/(e.max-e.min)):u.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:l=>e.vertical?{bottom:`${l}%`}:{left:`${l}%`}}),cG=e=>S(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,o)=>n-o).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),dG=(e,t,n,o,r,a)=>{const l=c=>{r(St,c),r(oo,c)},i=()=>e.range?![n.value,o.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,u=()=>{var c,d;e.min>e.max&&Qn("Slider","min should not be greater than max.");const f=e.modelValue;e.range&&Be(f)?f[1]<e.min?l([e.min,e.min]):f[0]>e.max?l([e.max,e.max]):f[0]<e.min?l([e.min,f[1]]):f[1]>e.max?l([f[0],e.max]):(t.firstValue=f[0],t.secondValue=f[1],i()&&(e.validateEvent&&((c=a?.validate)==null||c.call(a,"change").catch(p=>Kt(p))),t.oldValue=f.slice())):!e.range&&ft(f)&&!Number.isNaN(f)&&(f<e.min?l(e.min):f>e.max?l(e.max):(t.firstValue=f,i()&&(e.validateEvent&&((d=a?.validate)==null||d.call(a,"change").catch(p=>Kt(p))),t.oldValue=f)))};u(),ke(()=>t.dragging,c=>{c||u()}),ke(()=>e.modelValue,(c,d)=>{t.dragging||Be(c)&&Be(d)&&c.every((f,p)=>f===d[p])&&t.firstValue===c[0]&&t.secondValue===c[1]||u()},{deep:!0}),ke(()=>[e.min,e.max],()=>{u()})},fG=(e,t,n)=>{const o=L();return Bt(async()=>{e.range?(Be(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!ft(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),gn(window,"resize",n),await Qe(),n()}),{sliderWrapper:o}},hG=te({name:"ElSlider"}),pG=te({...hG,props:QY,emits:JY,setup(e,{expose:t,emit:n}){const o=e,r=Ie("slider"),{t:a}=Qt(),l=an({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:i,slider:u,firstButton:c,secondButton:d,sliderDisabled:f,minValue:p,maxValue:h,runwayStyle:v,barStyle:g,resetSize:m,emitChange:y,onSliderWrapperPrevent:k,onSliderClick:C,onSliderDown:b,onSliderMarkerDown:x,setFirstValue:_,setSecondValue:z}=iG(o,l,n),{stops:I,getStopStyle:P}=uG(o,l,p,h),{inputId:j,isLabeledByFormItem:O}=Pr(o,{formItemContext:i}),A=ro(),K=S(()=>o.inputSize||A.value),Y=S(()=>o.ariaLabel||a("el.slider.defaultLabel",{min:o.min,max:o.max})),Z=S(()=>o.range?o.rangeStartLabel||a("el.slider.defaultRangeStartLabel"):Y.value),$=S(()=>o.formatValueText?o.formatValueText(J.value):`${J.value}`),R=S(()=>o.rangeEndLabel||a("el.slider.defaultRangeEndLabel")),D=S(()=>o.formatValueText?o.formatValueText(ue.value):`${ue.value}`),B=S(()=>[r.b(),r.m(A.value),r.is("vertical",o.vertical),{[r.m("with-input")]:o.showInput}]),q=cG(o);dG(o,l,p,h,n,i);const G=S(()=>{const re=[o.min,o.max,o.step].map(ce=>{const oe=`${ce}`.split(".")[1];return oe?oe.length:0});return Math.max.apply(null,re)}),{sliderWrapper:X}=fG(o,l,m),{firstValue:J,secondValue:ue,sliderSize:ae}=fo(l),ve=re=>{l.dragging=re};return gn(X,"touchstart",k,{passive:!1}),gn(X,"touchmove",k,{passive:!1}),Ut(yT,{...fo(o),sliderSize:ae,disabled:f,precision:G,emitChange:y,resetSize:m,updateDragging:ve}),t({onSliderClick:C}),(re,ce)=>{var oe,ie;return T(),F("div",{id:re.range?s(j):void 0,ref_key:"sliderWrapper",ref:X,class:M(s(B)),role:re.range?"group":void 0,"aria-label":re.range&&!s(O)?s(Y):void 0,"aria-labelledby":re.range&&s(O)?(oe=s(i))==null?void 0:oe.labelId:void 0},[H("div",{ref_key:"slider",ref:u,class:M([s(r).e("runway"),{"show-input":re.showInput&&!re.range},s(r).is("disabled",s(f))]),style:ht(s(v)),onMousedown:s(b),onTouchstartPassive:s(b)},[H("div",{class:M(s(r).e("bar")),style:ht(s(g))},null,6),Q(nk,{id:re.range?void 0:s(j),ref_key:"firstButton",ref:c,"model-value":s(J),vertical:re.vertical,"tooltip-class":re.tooltipClass,placement:re.placement,role:"slider","aria-label":re.range||!s(O)?s(Z):void 0,"aria-labelledby":!re.range&&s(O)?(ie=s(i))==null?void 0:ie.labelId:void 0,"aria-valuemin":re.min,"aria-valuemax":re.range?s(ue):re.max,"aria-valuenow":s(J),"aria-valuetext":s($),"aria-orientation":re.vertical?"vertical":"horizontal","aria-disabled":s(f),"onUpdate:modelValue":s(_)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),re.range?(T(),ge(nk,{key:0,ref_key:"secondButton",ref:d,"model-value":s(ue),vertical:re.vertical,"tooltip-class":re.tooltipClass,placement:re.placement,role:"slider","aria-label":s(R),"aria-valuemin":s(J),"aria-valuemax":re.max,"aria-valuenow":s(ue),"aria-valuetext":s(D),"aria-orientation":re.vertical?"vertical":"horizontal","aria-disabled":s(f),"onUpdate:modelValue":s(z)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):fe("v-if",!0),re.showStops?(T(),F("div",{key:1},[(T(!0),F(tt,null,Dt(s(I),(de,U)=>(T(),F("div",{key:U,class:M(s(r).e("stop")),style:ht(s(P)(de))},null,6))),128))])):fe("v-if",!0),s(q).length>0?(T(),F(tt,{key:2},[H("div",null,[(T(!0),F(tt,null,Dt(s(q),(de,U)=>(T(),F("div",{key:U,style:ht(s(P)(de.position)),class:M([s(r).e("stop"),s(r).e("marks-stop")])},null,6))),128))]),H("div",{class:M(s(r).e("marks"))},[(T(!0),F(tt,null,Dt(s(q),(de,U)=>(T(),ge(s(sG),{key:U,mark:de.mark,style:ht(s(P)(de.position)),onMousedown:wt(le=>s(x)(de.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):fe("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),re.showInput&&!re.range?(T(),ge(s(Zz),{key:0,ref:"input","model-value":s(J),class:M(s(r).e("input")),step:re.step,disabled:s(f),controls:re.showInputControls,min:re.min,max:re.max,precision:s(G),size:s(K),"onUpdate:modelValue":s(_),onChange:s(y)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):fe("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var gG=Ue(pG,[["__file","slider.vue"]]);const vG=Pt(gG),mG=qe({prefixCls:{type:String}}),ok=te({name:"ElSpaceItem",props:mG,setup(e,{slots:t}){const n=Ie("space"),o=S(()=>`${e.prefixCls||n.b()}__item`);return()=>mt("div",{class:o.value},he(t,"default"))}}),rk={small:8,default:12,large:16};function yG(e){const t=Ie("space"),n=S(()=>[t.b(),t.m(e.direction),e.class]),o=L(0),r=L(0),a=S(()=>{const i=e.wrap||e.fill?{flexWrap:"wrap"}:{},u={alignItems:e.alignment},c={rowGap:`${r.value}px`,columnGap:`${o.value}px`};return[i,u,c,e.style]}),l=S(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return sr(()=>{const{size:i="small",wrap:u,direction:c,fill:d}=e;if(Be(i)){const[f=0,p=0]=i;o.value=f,r.value=p}else{let f;ft(i)?f=i:f=rk[i||"small"]||rk.small,(u||d)&&c==="horizontal"?o.value=r.value=f:c==="horizontal"?(o.value=f,r.value=0):(r.value=f,o.value=0)}}),{classes:n,containerStyle:a,itemStyle:l}}const bG=qe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:se([String,Object,Array]),default:""},style:{type:se([String,Array,Object]),default:""},alignment:{type:se(String),default:"center"},prefixCls:{type:String},spacer:{type:se([Object,String,Number,Array]),default:null,validator:e=>zn(e)||ft(e)||rt(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Fa,validator:e=>ft(e)||Be(e)&&e.length===2&&e.every(ft)}}),wG=te({name:"ElSpace",props:bG,setup(e,{slots:t}){const{classes:n,containerStyle:o,itemStyle:r}=yG(e);function a(l,i="",u=[]){const{prefixCls:c}=e;return l.forEach((d,f)=>{Jv(d)?Be(d.children)&&d.children.forEach((p,h)=>{Jv(p)&&Be(p.children)?a(p.children,`${i+h}-`,u):zn(p)&&p?.type===Xn?u.push(p):u.push(Q(ok,{style:r.value,prefixCls:c,key:`nested-${i+h}`},{default:()=>[p]},Dr.PROPS|Dr.STYLE,["style","prefixCls"]))}):Q6(d)&&u.push(Q(ok,{style:r.value,prefixCls:c,key:`LoopKey${i+f}`},{default:()=>[d]},Dr.PROPS|Dr.STYLE,["style","prefixCls"]))}),u}return()=>{var l;const{spacer:i,direction:u}=e,c=he(t,"default",{key:0},()=>[]);if(((l=c.children)!=null?l:[]).length===0)return null;if(Be(c.children)){let d=a(c.children);if(i){const f=d.length-1;d=d.reduce((p,h,v)=>{const g=[...p,h];return v!==f&&g.push(Q("span",{style:[r.value,u==="vertical"?"width: 100%":null],key:v},[zn(i)?i:Tt(i,Dr.TEXT)],Dr.STYLE)),g},[])}return Q("div",{class:n.value,style:o.value},d,Dr.STYLE|Dr.CLASS)}return c.children}}}),CG=Pt(wG),kG=qe({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:se([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:se([String,Object,Array])}}),SG=te({name:"ElStatistic"}),_G=te({...SG,props:kG,setup(e,{expose:t}){const n=e,o=Ie("statistic"),r=S(()=>{const{value:a,formatter:l,precision:i,decimalSeparator:u,groupSeparator:c}=n;if(it(l))return l(a);if(!ft(a)||Number.isNaN(a))return a;let[d,f=""]=String(a).split(".");return f=f.padEnd(i,"0").slice(0,i>0?i:0),d=d.replace(/\B(?=(\d{3})+(?!\d))/g,c),[d,f].join(f?u:"")});return t({displayValue:r}),(a,l)=>(T(),F("div",{class:M(s(o).b())},[a.$slots.title||a.title?(T(),F("div",{key:0,class:M(s(o).e("head"))},[he(a.$slots,"title",{},()=>[Tt(Pe(a.title),1)])],2)):fe("v-if",!0),H("div",{class:M(s(o).e("content"))},[a.$slots.prefix||a.prefix?(T(),F("div",{key:0,class:M(s(o).e("prefix"))},[he(a.$slots,"prefix",{},()=>[H("span",null,Pe(a.prefix),1)])],2)):fe("v-if",!0),H("span",{class:M(s(o).e("number")),style:ht(a.valueStyle)},Pe(s(r)),7),a.$slots.suffix||a.suffix?(T(),F("div",{key:1,class:M(s(o).e("suffix"))},[he(a.$slots,"suffix",{},()=>[H("span",null,Pe(a.suffix),1)])],2)):fe("v-if",!0)],2)],2))}});var xG=Ue(_G,[["__file","statistic.vue"]]);const bT=Pt(xG),EG=qe({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:se([Number,Object]),default:0},valueStyle:{type:se([String,Object,Array])}}),zG={finish:()=>!0,[Wt]:e=>ft(e)},TG=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],ak=e=>ft(e)?new Date(e).getTime():e.valueOf(),lk=(e,t)=>{let n=e;const o=/\[([^\]]*)]/g;return TG.reduce((a,[l,i])=>{const u=new RegExp(`${l}+(?![^\\[\\]]*\\])`,"g");if(u.test(a)){const c=Math.floor(n/i);return n-=c*i,a.replace(u,d=>String(c).padStart(d.length,"0"))}return a},t).replace(o,"$1")},OG=te({name:"ElCountdown"}),$G=te({...OG,props:EG,emits:zG,setup(e,{expose:t,emit:n}){const o=e;let r;const a=L(0),l=S(()=>lk(a.value,o.format)),i=d=>lk(d,o.format),u=()=>{r&&(Gs(r),r=void 0)},c=()=>{const d=ak(o.value),f=()=>{let p=d-Date.now();n(Wt,p),p<=0?(p=0,u(),n("finish")):r=ss(f),a.value=p};r=ss(f)};return Bt(()=>{a.value=ak(o.value)-Date.now(),ke(()=>[o.value,o.format],()=>{u(),c()},{immediate:!0})}),cn(()=>{u()}),t({displayValue:l}),(d,f)=>(T(),ge(s(bT),{value:a.value,title:d.title,prefix:d.prefix,suffix:d.suffix,"value-style":d.valueStyle,formatter:i},yr({_:2},[Dt(d.$slots,(p,h)=>({name:h,fn:ne(()=>[he(d.$slots,h)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var PG=Ue($G,[["__file","countdown.vue"]]);const IG=Pt(PG),MG=qe({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),AG={[Wt]:(e,t)=>[e,t].every(ft)},wT="ElSteps",jG=te({name:"ElSteps"}),NG=te({...jG,props:MG,emits:AG,setup(e,{emit:t}){const n=e,o=Ie("steps"),{children:r,addChild:a,removeChild:l,ChildrenSorter:i}=jp(Lt(),"ElStep");return ke(r,()=>{r.value.forEach((u,c)=>{u.setIndex(c)})}),Ut(wT,{props:n,steps:r,addStep:a,removeStep:l}),ke(()=>n.active,(u,c)=>{t(Wt,u,c)}),(u,c)=>(T(),F("div",{class:M([s(o).b(),s(o).m(u.simple?"simple":u.direction)])},[he(u.$slots,"default"),Q(s(i))],2))}});var RG=Ue(NG,[["__file","steps.vue"]]);const DG=qe({title:{type:String,default:""},icon:{type:hn},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),LG=te({name:"ElStep"}),BG=te({...LG,props:DG,setup(e){const t=e,n=Ie("step"),o=L(-1),r=L({}),a=L(""),l=et(wT),i=Lt();let u=0,c=0;Bt(()=>{ke([()=>l.props.active,()=>l.props.processStatus,()=>l.props.finishStatus],([I],[P])=>{c=P||0,u=I-c,_(I)},{immediate:!0})});const d=S(()=>t.status||a.value),f=S(()=>{const I=l.steps.value[o.value-1];return I?I.internalStatus.value:"wait"}),p=S(()=>l.props.alignCenter),h=S(()=>l.props.direction==="vertical"),v=S(()=>l.props.simple),g=S(()=>l.steps.value.length),m=S(()=>{var I;return((I=l.steps.value[g.value-1])==null?void 0:I.uid)===i.uid}),y=S(()=>v.value?"":l.props.space),k=S(()=>[n.b(),n.is(v.value?"simple":l.props.direction),n.is("flex",m.value&&!y.value&&!p.value),n.is("center",p.value&&!h.value&&!v.value)]),C=S(()=>{const I={flexBasis:ft(y.value)?`${y.value}px`:y.value?y.value:`${100/(g.value-(p.value?0:1))}%`};return h.value||m.value&&(I.maxWidth=`${100/g.value}%`),I}),b=I=>{o.value=I},x=I=>{const P=I==="wait",O={transitionDelay:`${Math.abs(u)===1?0:u>0?(o.value+1-c)*150:-(o.value+1-l.props.active)*150}ms`},A=I===l.props.processStatus||P?0:100;O.borderWidth=A&&!v.value?"1px":0,O[l.props.direction==="vertical"?"height":"width"]=`${A}%`,r.value=O},_=I=>{I>o.value?a.value=l.props.finishStatus:I===o.value&&f.value!=="error"?a.value=l.props.processStatus:a.value="wait";const P=l.steps.value[o.value-1];P&&P.calcProgress(a.value)},z={uid:i.uid,getVnode:()=>i.vnode,currentStatus:d,internalStatus:a,setIndex:b,calcProgress:x};return l.addStep(z),cn(()=>{l.removeStep(z)}),(I,P)=>(T(),F("div",{style:ht(s(C)),class:M(s(k))},[fe(" icon & line "),H("div",{class:M([s(n).e("head"),s(n).is(s(d))])},[s(v)?fe("v-if",!0):(T(),F("div",{key:0,class:M(s(n).e("line"))},[H("i",{class:M(s(n).e("line-inner")),style:ht(r.value)},null,6)],2)),H("div",{class:M([s(n).e("icon"),s(n).is(I.icon||I.$slots.icon?"icon":"text")])},[he(I.$slots,"icon",{},()=>[I.icon?(T(),ge(s(lt),{key:0,class:M(s(n).e("icon-inner"))},{default:ne(()=>[(T(),ge(Rt(I.icon)))]),_:1},8,["class"])):s(d)==="success"?(T(),ge(s(lt),{key:1,class:M([s(n).e("icon-inner"),s(n).is("status")])},{default:ne(()=>[Q(s(gd))]),_:1},8,["class"])):s(d)==="error"?(T(),ge(s(lt),{key:2,class:M([s(n).e("icon-inner"),s(n).is("status")])},{default:ne(()=>[Q(s(Kr))]),_:1},8,["class"])):s(v)?fe("v-if",!0):(T(),F("div",{key:3,class:M(s(n).e("icon-inner"))},Pe(o.value+1),3))])],2)],2),fe(" title & description "),H("div",{class:M(s(n).e("main"))},[H("div",{class:M([s(n).e("title"),s(n).is(s(d))])},[he(I.$slots,"title",{},()=>[Tt(Pe(I.title),1)])],2),s(v)?(T(),F("div",{key:0,class:M(s(n).e("arrow"))},null,2)):(T(),F("div",{key:1,class:M([s(n).e("description"),s(n).is(s(d))])},[he(I.$slots,"description",{},()=>[Tt(Pe(I.description),1)])],2))],2)],6))}});var CT=Ue(BG,[["__file","item.vue"]]);const VG=Pt(RG,{Step:CT}),FG=Rn(CT),kT=e=>["",...Fa].includes(e),qG=qe({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:kT},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:hn},activeActionIcon:{type:hn},activeIcon:{type:hn},inactiveIcon:{type:hn},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:se(Function)},id:String,tabindex:{type:[String,Number]},...Zo(["ariaLabel"])}),KG={[St]:e=>fn(e)||rt(e)||ft(e),[Wt]:e=>fn(e)||rt(e)||ft(e),[oo]:e=>fn(e)||rt(e)||ft(e)},Cm="ElSwitch",HG=te({name:Cm}),WG=te({...HG,props:qG,emits:KG,setup(e,{expose:t,emit:n}){const o=e,{formItem:r}=xo(),a=ro(),l=Ie("switch"),{inputId:i}=Pr(o,{formItemContext:r}),u=go(S(()=>o.loading)),c=L(o.modelValue!==!1),d=xn(),f=S(()=>[l.b(),l.m(a.value),l.is("disabled",u.value),l.is("checked",m.value)]),p=S(()=>[l.e("label"),l.em("label","left"),l.is("active",!m.value)]),h=S(()=>[l.e("label"),l.em("label","right"),l.is("active",m.value)]),v=S(()=>({width:Nn(o.width)}));ke(()=>o.modelValue,()=>{c.value=!0});const g=S(()=>c.value?o.modelValue:!1),m=S(()=>g.value===o.activeValue);[o.activeValue,o.inactiveValue].includes(g.value)||(n(St,o.inactiveValue),n(Wt,o.inactiveValue),n(oo,o.inactiveValue)),ke(m,b=>{var x;d.value.checked=b,o.validateEvent&&((x=r?.validate)==null||x.call(r,"change").catch(_=>Kt(_)))});const y=()=>{const b=m.value?o.inactiveValue:o.activeValue;n(St,b),n(Wt,b),n(oo,b),Qe(()=>{d.value.checked=m.value})},k=()=>{if(u.value)return;const{beforeChange:b}=o;if(!b){y();return}const x=b();[Hs(x),fn(x)].includes(!0)||Qn(Cm,"beforeChange must return type `Promise<boolean>` or `boolean`"),Hs(x)?x.then(z=>{z&&y()}).catch(z=>{Kt(Cm,`some error occurred: ${z}`)}):x&&y()},C=()=>{var b,x;(x=(b=d.value)==null?void 0:b.focus)==null||x.call(b)};return Bt(()=>{d.value.checked=m.value}),t({focus:C,checked:m}),(b,x)=>(T(),F("div",{class:M(s(f)),onClick:wt(k,["prevent"])},[H("input",{id:s(i),ref_key:"input",ref:d,class:M(s(l).e("input")),type:"checkbox",role:"switch","aria-checked":s(m),"aria-disabled":s(u),"aria-label":b.ariaLabel,name:b.name,"true-value":b.activeValue,"false-value":b.inactiveValue,disabled:s(u),tabindex:b.tabindex,onChange:y,onKeydown:Ln(k,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!b.inlinePrompt&&(b.inactiveIcon||b.inactiveText)?(T(),F("span",{key:0,class:M(s(p))},[b.inactiveIcon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(b.inactiveIcon)))]),_:1})):fe("v-if",!0),!b.inactiveIcon&&b.inactiveText?(T(),F("span",{key:1,"aria-hidden":s(m)},Pe(b.inactiveText),9,["aria-hidden"])):fe("v-if",!0)],2)):fe("v-if",!0),H("span",{class:M(s(l).e("core")),style:ht(s(v))},[b.inlinePrompt?(T(),F("div",{key:0,class:M(s(l).e("inner"))},[b.activeIcon||b.inactiveIcon?(T(),ge(s(lt),{key:0,class:M(s(l).is("icon"))},{default:ne(()=>[(T(),ge(Rt(s(m)?b.activeIcon:b.inactiveIcon)))]),_:1},8,["class"])):b.activeText||b.inactiveText?(T(),F("span",{key:1,class:M(s(l).is("text")),"aria-hidden":!s(m)},Pe(s(m)?b.activeText:b.inactiveText),11,["aria-hidden"])):fe("v-if",!0)],2)):fe("v-if",!0),H("div",{class:M(s(l).e("action"))},[b.loading?(T(),ge(s(lt),{key:0,class:M(s(l).is("loading"))},{default:ne(()=>[Q(s(la))]),_:1},8,["class"])):s(m)?he(b.$slots,"active-action",{key:1},()=>[b.activeActionIcon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(b.activeActionIcon)))]),_:1})):fe("v-if",!0)]):s(m)?fe("v-if",!0):he(b.$slots,"inactive-action",{key:2},()=>[b.inactiveActionIcon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(b.inactiveActionIcon)))]),_:1})):fe("v-if",!0)])],2)],6),!b.inlinePrompt&&(b.activeIcon||b.activeText)?(T(),F("span",{key:1,class:M(s(h))},[b.activeIcon?(T(),ge(s(lt),{key:0},{default:ne(()=>[(T(),ge(Rt(b.activeIcon)))]),_:1})):fe("v-if",!0),!b.activeIcon&&b.activeText?(T(),F("span",{key:1,"aria-hidden":!s(m)},Pe(b.activeText),9,["aria-hidden"])):fe("v-if",!0)],2)):fe("v-if",!0)],10,["onClick"]))}});var UG=Ue(WG,[["__file","switch.vue"]]);const YG=Pt(UG),sv=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},GG=function(e,t,n,o,r){if(!t&&!o&&(!r||Be(r)&&!r.length))return e;rt(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const a=o?null:function(i,u){return r?g2(bo(r),c=>rt(c)?Zn(i,c):c(i,u,e)):(t!=="$key"&&At(i)&&"$value"in i&&(i=i.$value),[At(i)?t?Zn(i,t):null:i])},l=function(i,u){var c,d,f,p,h,v;if(o)return o(i.value,u.value);for(let g=0,m=(d=(c=i.key)==null?void 0:c.length)!=null?d:0;g<m;g++){if(((f=i.key)==null?void 0:f[g])<((p=u.key)==null?void 0:p[g]))return-1;if(((h=i.key)==null?void 0:h[g])>((v=u.key)==null?void 0:v[g]))return 1}return 0};return e.map((i,u)=>({value:i,index:u,key:a?a(i,u):null})).sort((i,u)=>{let c=l(i,u);return c||(c=i.index-u.index),c*+n}).map(i=>i.value)},ST=function(e,t){let n=null;return e.columns.forEach(o=>{o.id===t&&(n=o)}),n},XG=function(e,t){let n=null;for(let o=0;o<e.columns.length;o++){const r=e.columns[o];if(r.columnKey===t){n=r;break}}return n||Qn("ElTable",`No column matching with column-key: ${t}`),n},sk=function(e,t,n){const o=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return o?ST(e,o[0]):null},jo=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(rt(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let o=e;for(const r of n)o=o[r];return`${o}`}else if(it(t))return t.call(null,e);return""},Li=function(e,t,n=!1,o="children"){const r=e||[],a={};return r.forEach((l,i)=>{if(a[jo(l,t)]={row:l,index:i},n){const u=l[o];Be(u)&&Object.assign(a,Li(u,t,!0,o))}}),a};function ZG(e,t){const n={};let o;for(o in e)n[o]=e[o];for(o in t)if(rn(t,o)){const r=t[o];Zt(r)||(n[o]=r)}return n}function Xb(e){return e===""||Zt(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function _T(e){return e===""||Zt(e)||(e=Xb(e),Number.isNaN(e)&&(e=80)),e}function QG(e){return ft(e)?e:rt(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function JG(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function Bh(e,t,n,o,r,a,l){let i=a??0,u=!1;const d=(()=>{if(!l)return e.indexOf(t);const g=jo(t,l);return e.findIndex(m=>jo(m,l)===g)})(),f=d!==-1,p=r?.call(null,t,i),h=g=>{g==="add"?e.push(t):e.splice(d,1),u=!0},v=g=>{let m=0;const y=o?.children&&g[o.children];return y&&Be(y)&&(m+=y.length,y.forEach(k=>{m+=v(k)})),m};return(!r||p)&&(fn(n)?n&&!f?h("add"):!n&&f&&h("remove"):h(f?"remove":"add")),!o?.checkStrictly&&o?.children&&Be(t[o.children])&&t[o.children].forEach(g=>{const m=Bh(e,g,n??!f,o,r,i+1,l);i+=v(g)+1,m&&(u=m)}),u}function eX(e,t,n="children",o="hasChildren",r=!1){const a=i=>!(Be(i)&&i.length);function l(i,u,c){t(i,u,c),u.forEach(d=>{if(d[o]&&r){t(d,null,c+1);return}const f=d[n];a(f)||l(d,f,c+1)})}e.forEach(i=>{if(i[o]&&r){t(i,null,0);return}const u=i[n];a(u)||l(i,u,0)})}const tX=(e,t,n,o)=>{const r={strategy:"fixed",...e.popperOptions},a=it(o?.tooltipFormatter)?o.tooltipFormatter({row:n,column:o,cellValue:fc(n,o.property).value}):void 0;return zn(a)?{slotContent:a,content:null,...e,popperOptions:r}:{slotContent:null,content:a??t,...e,popperOptions:r}};let Fo=null;function nX(e,t,n,o,r,a){var l;const i=tX(e,t,n,o),u={...i,slotContent:void 0};if(Fo?.trigger===r){const v=(l=Fo.vm)==null?void 0:l.component;v2(v?.props,u),v&&i.slotContent&&(v.slots.content=()=>[i.slotContent]);return}Fo?.();const c=a?.refs.tableWrapper,d=c?.dataset.prefix,f=Q(Oo,{virtualTriggering:!0,virtualRef:r,appendTo:c,placement:"top",transition:"none",offset:0,hideAfter:0,...u},i.slotContent?{content:()=>i.slotContent}:void 0);f.appContext={...a.appContext,...a};const p=document.createElement("div");as(f,p),f.component.exposed.onOpen();const h=c?.querySelector(`.${d}-scrollbar__wrap`);Fo=()=>{var v,g;(g=(v=f.component)==null?void 0:v.exposed)!=null&&g.onClose&&f.component.exposed.onClose(),as(null,p);const m=Fo;h?.removeEventListener("scroll",m),m.trigger=void 0,m.vm=void 0,Fo=null},Fo.trigger=r??void 0,Fo.vm=f,h?.addEventListener("scroll",Fo)}function xT(e){return e.children?g2(e.children,xT):[e]}function ik(e,t){return e+t.colSpan}const ET=(e,t,n,o)=>{let r=0,a=e;const l=n.states.columns.value;if(o){const u=xT(o[e]);r=l.slice(0,l.indexOf(u[0])).reduce(ik,0),a=r+u.reduce(ik,0)-1}else r=e;let i;switch(t){case"left":a<n.states.fixedLeafColumnsLength.value&&(i="left");break;case"right":r>=l.length-n.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:a<n.states.fixedLeafColumnsLength.value?i="left":r>=l.length-n.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:r,after:a}:{}},Zb=(e,t,n,o,r,a=0)=>{const l=[],{direction:i,start:u,after:c}=ET(t,n,o,r);if(i){const d=i==="left";l.push(`${e}-fixed-column--${i}`),d&&c+a===o.states.fixedLeafColumnsLength.value-1?l.push("is-last-column"):!d&&u-a===o.states.columns.value.length-o.states.rightFixedLeafColumnsLength.value&&l.push("is-first-column")}return l};function uk(e,t){return e+(cd(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Qb=(e,t,n,o)=>{const{direction:r,start:a=0,after:l=0}=ET(e,t,n,o);if(!r)return;const i={},u=r==="left",c=n.states.columns.value;return u?i.left=c.slice(0,a).reduce(uk,0):i.right=c.slice(l+1).reverse().reduce(uk,0),i},lu=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function oX(e){const t=Lt(),n=L(!1),o=L([]);return{updateExpandRows:()=>{const u=e.data.value||[],c=e.rowKey.value;if(n.value)o.value=u.slice();else if(c){const d=Li(o.value,c);o.value=u.reduce((f,p)=>{const h=jo(p,c);return d[h]&&f.push(p),f},[])}else o.value=[]},toggleRowExpansion:(u,c)=>{Bh(o.value,u,c,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",u,o.value.slice())},setExpandRowKeys:u=>{t.store.assertRowKey();const c=e.data.value||[],d=e.rowKey.value,f=Li(c,d);o.value=u.reduce((p,h)=>{const v=f[h];return v&&p.push(v.row),p},[])},isRowExpanded:u=>{const c=e.rowKey.value;return c?!!Li(o.value,c)[jo(u,c)]:o.value.includes(u)},states:{expandRows:o,defaultExpandAll:n}}}function rX(e){const t=Lt(),n=L(null),o=L(null),r=c=>{t.store.assertRowKey(),n.value=c,l(c)},a=()=>{n.value=null},l=c=>{var d;const{data:f,rowKey:p}=e;let h=null;p.value&&(h=(d=(s(f)||[]).find(v=>jo(v,p.value)===c))!=null?d:null),o.value=h??null,t.emit("current-change",o.value,null)};return{setCurrentRowKey:r,restoreCurrentRowKey:a,setCurrentRowByKey:l,updateCurrentRow:c=>{const d=o.value;if(c&&c!==d){o.value=c,t.emit("current-change",o.value,d);return}!c&&d&&(o.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const c=e.rowKey.value,d=e.data.value||[],f=o.value;if(f&&!d.includes(f)){if(c){const p=jo(f,c);l(p)}else o.value=null;cd(o.value)&&t.emit("current-change",null,f)}else n.value&&(l(n.value),a())},states:{_currentRowKey:n,currentRow:o}}}function aX(e){const t=L([]),n=L({}),o=L(16),r=L(!1),a=L({}),l=L("hasChildren"),i=L("children"),u=L(!1),c=Lt(),d=S(()=>{if(!e.rowKey.value)return{};const b=e.data.value||[];return p(b)}),f=S(()=>{const b=e.rowKey.value,x=Object.keys(a.value),_={};return x.length&&x.forEach(z=>{if(a.value[z].length){const I={children:[]};a.value[z].forEach(P=>{const j=jo(P,b);I.children.push(j),P[l.value]&&!_[j]&&(_[j]={children:[]})}),_[z]=I}}),_}),p=b=>{const x=e.rowKey.value,_={};return eX(b,(z,I,P)=>{const j=jo(z,x);Be(I)?_[j]={children:I.map(O=>jo(O,x)),level:P}:r.value&&(_[j]={children:[],lazy:!0,level:P})},i.value,l.value,r.value),_},h=(b=!1,x)=>{var _,z;x||(x=(_=c.store)==null?void 0:_.states.defaultExpandAll.value);const I=d.value,P=f.value,j=Object.keys(I),O={};if(j.length){const A=s(n),K=[],Y=($,R)=>{if(b)return t.value?x||t.value.includes(R):!!(x||$?.expanded);{const D=x||t.value&&t.value.includes(R);return!!($?.expanded||D)}};j.forEach($=>{const R=A[$],D={...I[$]};if(D.expanded=Y(R,$),D.lazy){const{loaded:B=!1,loading:q=!1}=R||{};D.loaded=!!B,D.loading=!!q,K.push($)}O[$]=D});const Z=Object.keys(P);r.value&&Z.length&&K.length&&Z.forEach($=>{var R;const D=A[$],B=P[$].children;if(K.includes($)){if(((R=O[$].children)==null?void 0:R.length)!==0)throw new Error("[ElTable]children must be an empty array.");O[$].children=B}else{const{loaded:q=!1,loading:G=!1}=D||{};O[$]={lazy:!0,loaded:!!q,loading:!!G,expanded:Y(D,$),children:B,level:void 0}}})}n.value=O,(z=c.store)==null||z.updateTableScrollY()};ke(()=>t.value,()=>{h(!0)}),ke(()=>d.value,()=>{h()}),ke(()=>f.value,()=>{h()});const v=b=>{t.value=b,h()},g=b=>r.value&&b&&"loaded"in b&&!b.loaded,m=(b,x)=>{c.store.assertRowKey();const _=e.rowKey.value,z=jo(b,_),I=z&&n.value[z];if(z&&I&&"expanded"in I){const P=I.expanded;x=Zt(x)?!I.expanded:x,n.value[z].expanded=x,P!==x&&c.emit("expand-change",b,x),g(I)&&k(b,z,I),c.store.updateTableScrollY()}},y=b=>{c.store.assertRowKey();const x=e.rowKey.value,_=jo(b,x),z=n.value[_];g(z)?k(b,_,z):m(b,void 0)},k=(b,x,_)=>{const{load:z}=c.props;z&&!n.value[x].loaded&&(n.value[x].loading=!0,z(b,_,I=>{if(!Be(I))throw new TypeError("[ElTable] data must be an array");n.value[x].loading=!1,n.value[x].loaded=!0,n.value[x].expanded=!0,I.length&&(a.value[x]=I),c.emit("expand-change",b,!0)}))};return{loadData:k,loadOrToggle:y,toggleTreeExpansion:m,updateTreeExpandKeys:v,updateTreeData:h,updateKeyChildren:(b,x)=>{const{lazy:_,rowKey:z}=c.props;if(_){if(!z)throw new Error("[Table] rowKey is required in updateKeyChild");a.value[b]&&(a.value[b]=x)}},normalize:p,states:{expandRowKeys:t,treeData:n,indent:o,lazy:r,lazyTreeNodeMap:a,lazyColumnIdentifier:l,childrenColumnName:i,checkStrictly:u}}}const lX=(e,t)=>{const n=t.sortingColumn;return!n||rt(n.sortable)?e:GG(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},Uf=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,Uf(n.children)):t.push(n)}),t};function sX(){var e;const t=Lt(),{size:n}=fo((e=t.proxy)==null?void 0:e.$props),o=L(null),r=L([]),a=L([]),l=L(!1),i=L([]),u=L([]),c=L([]),d=L([]),f=L([]),p=L([]),h=L([]),v=L([]),g=[],m=L(0),y=L(0),k=L(0),C=L(!1),b=L([]),x=L(!1),_=L(!1),z=L(null),I=L({}),P=L(null),j=L(null),O=L(null),A=L(null),K=L(null),Y=S(()=>o.value?Li(b.value,o.value):void 0);ke(r,()=>{var yt;t.state&&(D(!1),t.props.tableLayout==="auto"&&((yt=t.refs.tableHeaderRef)==null||yt.updateFixedColumnStyle()))},{deep:!0});const Z=()=>{if(!o.value)throw new Error("[ElTable] prop row-key is required")},$=yt=>{var Ot;(Ot=yt.children)==null||Ot.forEach(Oe=>{Oe.fixed=yt.fixed,$(Oe)})},R=()=>{i.value.forEach(ct=>{$(ct)}),d.value=i.value.filter(ct=>[!0,"left"].includes(ct.fixed));const yt=i.value.find(ct=>ct.type==="selection");let Ot;yt&&yt.fixed!=="right"&&!d.value.includes(yt)&&i.value.indexOf(yt)===0&&d.value.length&&(d.value.unshift(yt),Ot=!0),f.value=i.value.filter(ct=>ct.fixed==="right");const Oe=i.value.filter(ct=>(Ot?ct.type!=="selection":!0)&&!ct.fixed);u.value=Array.from(d.value).concat(Oe).concat(f.value);const ut=Uf(Oe),pt=Uf(d.value),ye=Uf(f.value);m.value=ut.length,y.value=pt.length,k.value=ye.length,c.value=Array.from(pt).concat(ut).concat(ye),l.value=d.value.length>0||f.value.length>0},D=(yt,Ot=!1)=>{yt&&R(),Ot?t.state.doLayout():t.state.debouncedUpdateLayout()},B=yt=>Y.value?!!Y.value[jo(yt,o.value)]:b.value.includes(yt),q=()=>{C.value=!1;const yt=b.value;b.value=[],yt.length&&t.emit("selection-change",[])},G=()=>{var yt,Ot;let Oe;if(o.value){Oe=[];const ut=(Ot=(yt=t?.store)==null?void 0:yt.states)==null?void 0:Ot.childrenColumnName.value,pt=Li(r.value,o.value,!0,ut);for(const ye in Y.value)rn(Y.value,ye)&&!pt[ye]&&Oe.push(Y.value[ye].row)}else Oe=b.value.filter(ut=>!r.value.includes(ut));if(Oe.length){const ut=b.value.filter(pt=>!Oe.includes(pt));b.value=ut,t.emit("selection-change",ut.slice())}},X=()=>(b.value||[]).slice(),J=(yt,Ot,Oe=!0,ut=!1)=>{var pt,ye,ct,xe;const dt={children:(ye=(pt=t?.store)==null?void 0:pt.states)==null?void 0:ye.childrenColumnName.value,checkStrictly:(xe=(ct=t?.store)==null?void 0:ct.states)==null?void 0:xe.checkStrictly.value};if(Bh(b.value,yt,Ot,dt,ut?void 0:z.value,r.value.indexOf(yt),o.value)){const en=(b.value||[]).slice();Oe&&t.emit("select",en,yt),t.emit("selection-change",en)}},ue=()=>{var yt,Ot;const Oe=_.value?!C.value:!(C.value||b.value.length);C.value=Oe;let ut=!1,pt=0;const ye=(Ot=(yt=t?.store)==null?void 0:yt.states)==null?void 0:Ot.rowKey.value,{childrenColumnName:ct}=t.store.states,xe={children:ct.value,checkStrictly:!1};r.value.forEach((dt,Fe)=>{const en=Fe+pt;Bh(b.value,dt,Oe,xe,z.value,en,ye)&&(ut=!0),pt+=ve(jo(dt,ye))}),ut&&t.emit("selection-change",b.value?b.value.slice():[]),t.emit("select-all",(b.value||[]).slice())},ae=()=>{var yt;if(((yt=r.value)==null?void 0:yt.length)===0){C.value=!1;return}const{childrenColumnName:Ot}=t.store.states;let Oe=0,ut=0;const pt=ct=>{var xe;for(const dt of ct){const Fe=z.value&&z.value.call(null,dt,Oe);if(B(dt))ut++;else if(!z.value||Fe)return!1;if(Oe++,(xe=dt[Ot.value])!=null&&xe.length&&!pt(dt[Ot.value]))return!1}return!0},ye=pt(r.value||[]);C.value=ut===0?!1:ye},ve=yt=>{var Ot;if(!t||!t.store)return 0;const{treeData:Oe}=t.store.states;let ut=0;const pt=(Ot=Oe.value[yt])==null?void 0:Ot.children;return pt&&(ut+=pt.length,pt.forEach(ye=>{ut+=ve(ye)})),ut},re=(yt,Ot)=>{const Oe={};return bo(yt).forEach(ut=>{I.value[ut.id]=Ot,Oe[ut.columnKey||ut.id]=Ot}),Oe},ce=(yt,Ot,Oe)=>{j.value&&j.value!==yt&&(j.value.order=null),j.value=yt,O.value=Ot,A.value=Oe},oe=()=>{let yt=s(a);Object.keys(I.value).forEach(Ot=>{const Oe=I.value[Ot];if(!Oe||Oe.length===0)return;const ut=ST({columns:c.value},Ot);ut&&ut.filterMethod&&(yt=yt.filter(pt=>Oe.some(ye=>ut.filterMethod.call(null,ye,pt,ut))))}),P.value=yt},ie=()=>{var yt;r.value=lX((yt=P.value)!=null?yt:[],{sortingColumn:j.value,sortProp:O.value,sortOrder:A.value})},de=(yt=void 0)=>{yt?.filter||oe(),ie()},U=yt=>{const{tableHeaderRef:Ot}=t.refs;if(!Ot)return;const Oe=Object.assign({},Ot.filterPanels),ut=Object.keys(Oe);if(ut.length)if(rt(yt)&&(yt=[yt]),Be(yt)){const pt=yt.map(ye=>XG({columns:c.value},ye));ut.forEach(ye=>{const ct=pt.find(xe=>xe.id===ye);ct&&(ct.filteredValue=[])}),t.store.commit("filterChange",{column:pt,values:[],silent:!0,multi:!0})}else ut.forEach(pt=>{const ye=c.value.find(ct=>ct.id===pt);ye&&(ye.filteredValue=[])}),I.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},le=()=>{j.value&&(ce(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:me,toggleRowExpansion:_e,updateExpandRows:Ce,states:we,isRowExpanded:$e}=oX({data:r,rowKey:o}),{updateTreeExpandKeys:Re,toggleTreeExpansion:Ke,updateTreeData:De,updateKeyChildren:at,loadOrToggle:Ze,states:ot}=aX({data:r,rowKey:o}),{updateCurrentRowData:gt,updateCurrentRow:Ne,setCurrentRowKey:vt,states:_t}=rX({data:r,rowKey:o});return{assertRowKey:Z,updateColumns:R,scheduleLayout:D,isSelected:B,clearSelection:q,cleanSelection:G,getSelectionRows:X,toggleRowSelection:J,_toggleAllSelection:ue,toggleAllSelection:null,updateAllSelected:ae,updateFilters:re,updateCurrentRow:Ne,updateSort:ce,execFilter:oe,execSort:ie,execQuery:de,clearFilter:U,clearSort:le,toggleRowExpansion:_e,setExpandRowKeysAdapter:yt=>{me(yt),Re(yt)},setCurrentRowKey:vt,toggleRowExpansionAdapter:(yt,Ot)=>{c.value.some(({type:ut})=>ut==="expand")?_e(yt,Ot):Ke(yt,Ot)},isRowExpanded:$e,updateExpandRows:Ce,updateCurrentRowData:gt,loadOrToggle:Ze,updateTreeData:De,updateKeyChildren:at,states:{tableSize:n,rowKey:o,data:r,_data:a,isComplex:l,_columns:i,originColumns:u,columns:c,fixedColumns:d,rightFixedColumns:f,leafColumns:p,fixedLeafColumns:h,rightFixedLeafColumns:v,updateOrderFns:g,leafColumnsLength:m,fixedLeafColumnsLength:y,rightFixedLeafColumnsLength:k,isAllSelected:C,selection:b,reserveSelection:x,selectOnIndeterminate:_,selectable:z,filters:I,filteredData:P,sortingColumn:j,sortProp:O,sortOrder:A,hoverRow:K,...we,...ot,..._t}}}function km(e,t){return e.map(n=>{var o;return n.id===t.id?t:((o=n.children)!=null&&o.length&&(n.children=km(n.children,t)),n)})}function Sm(e){e.forEach(t=>{var n,o;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(o=t.children)!=null&&o.length&&Sm(t.children)}),e.sort((t,n)=>t.no-n.no)}function iX(){const e=Lt(),t=sX();return{ns:Ie("table"),...t,mutations:{setData(l,i){const u=s(l._data)!==i;l.data.value=i,l._data.value=i,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),s(l.reserveSelection)?e.store.assertRowKey():u?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(l,i,u,c){var d;const f=s(l._columns);let p=[];u?(u&&!u.children&&(u.children=[]),(d=u.children)==null||d.push(i),p=km(f,u)):(f.push(i),p=f),Sm(p),l._columns.value=p,l.updateOrderFns.push(c),i.type==="selection"&&(l.selectable.value=i.selectable,l.reserveSelection.value=i.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(l,i){var u;((u=i.getColumnIndex)==null?void 0:u.call(i))!==i.no&&(Sm(l._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(l,i,u,c){var d;const f=s(l._columns)||[];if(u)(d=u.children)==null||d.splice(u.children.findIndex(h=>h.id===i.id),1),Qe(()=>{var h;((h=u.children)==null?void 0:h.length)===0&&delete u.children}),l._columns.value=km(f,u);else{const h=f.indexOf(i);h>-1&&(f.splice(h,1),l._columns.value=f)}const p=l.updateOrderFns.indexOf(c);p>-1&&l.updateOrderFns.splice(p,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(l,i){const{prop:u,order:c,init:d}=i;if(u){const f=s(l.columns).find(p=>p.property===u);f&&(f.order=c,e.store.updateSort(f,u,c),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(l,i){const{sortingColumn:u,sortProp:c,sortOrder:d}=l,f=s(u),p=s(c),h=s(d);cd(h)&&(l.sortingColumn.value=null,l.sortProp.value=null);const v={filter:!0};e.store.execQuery(v),(!i||!(i.silent||i.init))&&e.emit("sort-change",{column:f,prop:p,order:h}),e.store.updateTableScrollY()},filterChange(l,i){const{column:u,values:c,silent:d}=i,f=e.store.updateFilters(u,c);e.store.execQuery(),d||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){var l,i;(i=(l=e.store).toggleAllSelection)==null||i.call(l)},rowSelectedChanged(l,i){e.store.toggleRowSelection(i),e.store.updateAllSelected()},setHoverRow(l,i){l.hoverRow.value=i},setCurrentRow(l,i){e.store.updateCurrentRow(i)}},commit:function(l,...i){const u=e.store.mutations;if(u[l])u[l].apply(e,[e.store.states,...i]);else throw new Error(`Action not found: ${l}`)},updateTableScrollY:function(){Qe(()=>e.layout.updateScrollY.apply(e.layout))}}}const Jb={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function uX(e,t){if(!e)throw new Error("Table is required.");const n=iX();return n.toggleAllSelection=Ra(n._toggleAllSelection,10),Object.keys(Jb).forEach(o=>{zT(TT(t,o),o,n)}),cX(n,t),n}function cX(e,t){Object.keys(Jb).forEach(n=>{ke(()=>TT(t,n),o=>{zT(o,n,e)})})}function zT(e,t,n){let o=e,r=Jb[t];At(r)&&(o=o||r.default,r=r.key),n.states[r].value=o}function TT(e,t){if(t.includes(".")){const n=t.split(".");let o=e;return n.forEach(r=>{o=o[r]}),o}else return e[t]}class dX{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=L(null),this.scrollX=L(!1),this.scrollY=L(!1),this.bodyWidth=L(null),this.fixedWidth=L(null),this.rightFixedWidth=L(null),this.gutterWidth=0;for(const n in t)rn(t,n)&&(Cn(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const t=this.height.value;if(cd(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&n?.wrapRef){let o=!0;const r=this.scrollY.value;return o=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=o,r!==o}return!1}setHeight(t,n="height"){if(!nn)return;const o=this.table.vnode.el;if(t=QG(t),this.height.value=Number(t),!o&&(t||t===0)){Qe(()=>this.setHeight(t,n));return}o&&ft(t)?(o.style[n]=`${t}px`,this.updateElsHeight()):o&&rt(t)&&(o.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(o=>{o.isColumnGroup?t.push.apply(t,o.columns):t.push(o)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){var t;if(!nn)return;const n=this.fit,o=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let r=0;const a=this.getFlattenColumns(),l=a.filter(c=>!ft(c.width));if(a.forEach(c=>{ft(c.width)&&c.realWidth&&(c.realWidth=null)}),l.length>0&&n){if(a.forEach(c=>{r+=Number(c.width||c.minWidth||80)}),r<=o){this.scrollX.value=!1;const c=o-r;if(l.length===1)l[0].realWidth=Number(l[0].minWidth||80)+c;else{const d=l.reduce((h,v)=>h+Number(v.minWidth||80),0),f=c/d;let p=0;l.forEach((h,v)=>{if(v===0)return;const g=Math.floor(Number(h.minWidth||80)*f);p+=g,h.realWidth=Number(h.minWidth||80)+g}),l[0].realWidth=Number(l[0].minWidth||80)+c-p}}else this.scrollX.value=!0,l.forEach(c=>{c.realWidth=Number(c.minWidth)});this.bodyWidth.value=Math.max(r,o),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(c=>{!c.width&&!c.minWidth?c.realWidth=80:c.realWidth=Number(c.width||c.minWidth),r+=c.realWidth}),this.scrollX.value=r>o,this.bodyWidth.value=r;const i=this.store.states.fixedColumns.value;if(i.length>0){let c=0;i.forEach(d=>{c+=Number(d.realWidth||d.width)}),this.fixedWidth.value=c}const u=this.store.states.rightFixedColumns.value;if(u.length>0){let c=0;u.forEach(d=>{c+=Number(d.realWidth||d.width)}),this.rightFixedWidth.value=c}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(o=>{var r,a;switch(t){case"columns":(r=o.state)==null||r.onColumnsChange(this);break;case"scrollable":(a=o.state)==null||a.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:fX}=Ur,hX=te({name:"ElTableFilterPanel",components:{ElCheckbox:Ur,ElCheckboxGroup:fX,ElScrollbar:sa,ElTooltip:Oo,ElIcon:lt,ArrowDown:qa,ArrowUp:Tp},directives:{ClickOutside:Cl},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:mn.appendTo},setup(e){const t=Lt(),{t:n}=Qt(),o=Ie("table-filter"),r=t?.parent;e.column&&!r.filterPanels.value[e.column.id]&&(r.filterPanels.value[e.column.id]=t);const a=L(!1),l=L(null),i=S(()=>e.column&&e.column.filters),u=S(()=>e.column&&e.column.filterClassName?`${o.b()} ${e.column.filterClassName}`:o.b()),c=S({get:()=>{var x;return(((x=e.column)==null?void 0:x.filteredValue)||[])[0]},set:x=>{d.value&&(Tr(x)?d.value.splice(0,1):d.value.splice(0,1,x))}}),d=S({get(){return e.column?e.column.filteredValue||[]:[]},set(x){var _;e.column&&((_=e.upDataColumn)==null||_.call(e,"filteredValue",x))}}),f=S(()=>e.column?e.column.filterMultiple:!0),p=x=>x.value===c.value,h=()=>{a.value=!1},v=x=>{x.stopPropagation(),a.value=!a.value},g=()=>{a.value=!1},m=()=>{C(d.value),h()},y=()=>{d.value=[],C(d.value),h()},k=x=>{c.value=x,Tr(x)?C([]):C(d.value),h()},C=x=>{var _,z;(_=e.store)==null||_.commit("filterChange",{column:e.column,values:x}),(z=e.store)==null||z.updateAllSelected()};ke(a,x=>{var _;e.column&&((_=e.upDataColumn)==null||_.call(e,"filterOpened",x))},{immediate:!0});const b=S(()=>{var x,_;return(_=(x=l.value)==null?void 0:x.popperRef)==null?void 0:_.contentRef});return{tooltipVisible:a,multiple:f,filterClassName:u,filteredValue:d,filterValue:c,filters:i,handleConfirm:m,handleReset:y,handleSelect:k,isPropAbsent:Tr,isActive:p,t:n,ns:o,showFilterPanel:v,hideFilterPanel:g,popperPaneRef:b,tooltip:l}}});function pX(e,t,n,o,r,a){const l=kt("el-checkbox"),i=kt("el-checkbox-group"),u=kt("el-scrollbar"),c=kt("arrow-up"),d=kt("arrow-down"),f=kt("el-icon"),p=kt("el-tooltip"),h=hp("click-outside");return T(),ge(p,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:ne(()=>[e.multiple?(T(),F("div",{key:0},[H("div",{class:M(e.ns.e("content"))},[Q(u,{"wrap-class":e.ns.e("wrap")},{default:ne(()=>[Q(i,{modelValue:e.filteredValue,"onUpdate:modelValue":v=>e.filteredValue=v,class:M(e.ns.e("checkbox-group"))},{default:ne(()=>[(T(!0),F(tt,null,Dt(e.filters,v=>(T(),ge(l,{key:v.value,value:v.value},{default:ne(()=>[Tt(Pe(v.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"])]),_:1},8,["wrap-class"])],2),H("div",{class:M(e.ns.e("bottom"))},[H("button",{class:M(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:e.handleConfirm},Pe(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),H("button",{type:"button",onClick:e.handleReset},Pe(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(T(),F("ul",{key:1,class:M(e.ns.e("list"))},[H("li",{class:M([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),onClick:v=>e.handleSelect(null)},Pe(e.t("el.table.clearFilter")),11,["onClick"]),(T(!0),F(tt,null,Dt(e.filters,v=>(T(),F("li",{key:v.value,class:M([e.ns.e("list-item"),e.ns.is("active",e.isActive(v))]),label:v.value,onClick:g=>e.handleSelect(v.value)},Pe(v.text),11,["label","onClick"]))),128))],2))]),default:ne(()=>[Nt((T(),F("span",{class:M([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[Q(f,null,{default:ne(()=>[he(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(T(),ge(c,{key:0})):(T(),ge(d,{key:1}))]})]),_:3})],10,["onClick"])),[[h,e.hideFilterPanel,e.popperPaneRef]])]),_:3},8,["visible","placement","popper-class","append-to"])}var gX=Ue(hX,[["render",pX],["__file","filter-panel.vue"]]);function e0(e){const t=Lt();fp(()=>{n.value.addObserver(t)}),Bt(()=>{o(n.value),r(n.value)}),fa(()=>{o(n.value),r(n.value)}),oi(()=>{n.value.removeObserver(t)});const n=S(()=>{const a=e.layout;if(!a)throw new Error("Can not find table layout.");return a}),o=a=>{var l;const i=((l=e.vnode.el)==null?void 0:l.querySelectorAll("colgroup > col"))||[];if(!i.length)return;const u=a.getFlattenColumns(),c={};u.forEach(d=>{c[d.id]=d});for(let d=0,f=i.length;d<f;d++){const p=i[d],h=p.getAttribute("name"),v=c[h];v&&p.setAttribute("width",v.realWidth||v.width)}},r=a=>{var l,i;const u=((l=e.vnode.el)==null?void 0:l.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,f=u.length;d<f;d++)u[d].setAttribute("width",a.scrollY.value?a.gutterWidth:"0");const c=((i=e.vnode.el)==null?void 0:i.querySelectorAll("th.gutter"))||[];for(let d=0,f=c.length;d<f;d++){const p=c[d];p.style.width=a.scrollY.value?`${a.gutterWidth}px`:"0",p.style.display=a.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:o,onScrollableChange:r}}const va=Symbol("ElTable");function vX(e,t){const n=Lt(),o=et(va),r=g=>{g.stopPropagation()},a=(g,m)=>{!m.filters&&m.sortable?v(g,m,!1):m.filterable&&!m.sortable&&r(g),o?.emit("header-click",m,g)},l=(g,m)=>{o?.emit("header-contextmenu",m,g)},i=L(null),u=L(!1),c=L(),d=(g,m)=>{var y,k;if(nn&&!(m.children&&m.children.length>0)&&i.value&&e.border){u.value=!0;const C=o;t("set-drag-visible",!0);const b=C?.vnode.el,x=b?.getBoundingClientRect().left,_=(k=(y=n?.vnode)==null?void 0:y.el)==null?void 0:k.querySelector(`th.${m.id}`),z=_.getBoundingClientRect(),I=z.left-x+30;Lr(_,"noclick"),c.value={startMouseLeft:g.clientX,startLeft:z.right-x,startColumnLeft:z.left-x,tableLeft:x};const P=C?.refs.resizeProxy;P.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const j=A=>{const K=A.clientX-c.value.startMouseLeft,Y=c.value.startLeft+K;P.style.left=`${Math.max(I,Y)}px`},O=()=>{if(u.value){const{startColumnLeft:A,startLeft:K}=c.value,Z=Number.parseInt(P.style.left,10)-A;m.width=m.realWidth=Z,C?.emit("header-dragend",m.width,K-A,m,g),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",u.value=!1,i.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",j),document.removeEventListener("mouseup",O),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Go(_,"noclick")},0)};document.addEventListener("mousemove",j),document.addEventListener("mouseup",O)}},f=(g,m)=>{var y;if(m.children&&m.children.length>0)return;const k=g.target;if(!zr(k))return;const C=k?.closest("th");if(!(!m||!m.resizable||!C)&&!u.value&&e.border){const b=C.getBoundingClientRect(),x=document.body.style,_=((y=C.parentNode)==null?void 0:y.lastElementChild)===C,z=e.allowDragLastColumn||!_;b.width>12&&b.right-g.clientX<8&&z?(x.cursor="col-resize",Zr(C,"is-sortable")&&(C.style.cursor="col-resize"),i.value=m):u.value||(x.cursor="",Zr(C,"is-sortable")&&(C.style.cursor="pointer"),i.value=null)}},p=()=>{nn&&(document.body.style.cursor="")},h=({order:g,sortOrders:m})=>{if(g==="")return m[0];const y=m.indexOf(g||null);return m[y>m.length-2?0:y+1]},v=(g,m,y)=>{var k;g.stopPropagation();const C=m.order===y?null:y||h(m),b=(k=g.target)==null?void 0:k.closest("th");if(b&&Zr(b,"noclick")){Go(b,"noclick");return}if(!m.sortable)return;const x=g.currentTarget;if(["ascending","descending"].some(j=>Zr(x,j)&&!m.sortOrders.includes(j)))return;const _=e.store.states;let z=_.sortProp.value,I;const P=_.sortingColumn.value;(P!==m||P===m&&cd(P.order))&&(P&&(P.order=null),_.sortingColumn.value=m,z=m.property),C?I=m.order=C:I=m.order=null,_.sortProp.value=z,_.sortOrder.value=I,o?.store.commit("changeSortCondition")};return{handleHeaderClick:a,handleHeaderContextMenu:l,handleMouseDown:d,handleMouseMove:f,handleMouseOut:p,handleSortClick:v,handleFilterClick:r}}function mX(e){const t=et(va),n=Ie("table");return{getHeaderRowStyle:i=>{const u=t?.props.headerRowStyle;return it(u)?u.call(null,{rowIndex:i}):u},getHeaderRowClass:i=>{const u=[],c=t?.props.headerRowClassName;return rt(c)?u.push(c):it(c)&&u.push(c.call(null,{rowIndex:i})),u.join(" ")},getHeaderCellStyle:(i,u,c,d)=>{var f;let p=(f=t?.props.headerCellStyle)!=null?f:{};it(p)&&(p=p.call(null,{rowIndex:i,columnIndex:u,row:c,column:d}));const h=Qb(u,d.fixed,e.store,c);return lu(h,"left"),lu(h,"right"),Object.assign({},p,h)},getHeaderCellClass:(i,u,c,d)=>{const f=Zb(n.b(),u,d.fixed,e.store,c),p=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...f];d.children||p.push("is-leaf"),d.sortable&&p.push("is-sortable");const h=t?.props.headerCellClassName;return rt(h)?p.push(h):it(h)&&p.push(h.call(null,{rowIndex:i,columnIndex:u,row:c,column:d})),p.push(n.e("cell")),p.filter(v=>!!v).join(" ")}}}const OT=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,OT(n.children))):t.push(n)}),t},$T=e=>{let t=1;const n=(a,l)=>{if(l&&(a.level=l.level+1,t<a.level&&(t=a.level)),a.children){let i=0;a.children.forEach(u=>{n(u,a),i+=u.colSpan}),a.colSpan=i}else a.colSpan=1};e.forEach(a=>{a.level=1,n(a,void 0)});const o=[];for(let a=0;a<t;a++)o.push([]);return OT(e).forEach(a=>{a.children?(a.rowSpan=1,a.children.forEach(l=>l.isSubColumn=!0)):a.rowSpan=t-a.level+1,o[a.level-1].push(a)}),o};function yX(e){const t=et(va),n=S(()=>$T(e.store.states.originColumns.value));return{isGroup:S(()=>{const a=n.value.length>1;return a&&t&&(t.state.isGroup.value=!0),a}),toggleAllSelection:a=>{a.stopPropagation(),t?.store.commit("toggleAllSelection")},columnRows:n}}var bX=te({name:"ElTableHeader",components:{ElCheckbox:Ur},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=Lt(),o=et(va),r=Ie("table"),a=L({}),{onColumnsChange:l,onScrollableChange:i}=e0(o),u=o?.props.tableLayout==="auto",c=an(new Map),d=L();let f;const p=()=>{f=setTimeout(()=>{c.size>0&&(c.forEach((O,A)=>{const K=d.value.querySelector(`.${A.replace(/\s/g,".")}`);if(K){const Y=K.getBoundingClientRect().width;O.width=Y||O.width}}),c.clear())})};ke(c,p),cn(()=>{f&&(clearTimeout(f),f=void 0)}),Bt(async()=>{await Qe(),await Qe();const{prop:O,order:A}=e.defaultSort;o?.store.commit("sort",{prop:O,order:A,init:!0}),p()});const{handleHeaderClick:h,handleHeaderContextMenu:v,handleMouseDown:g,handleMouseMove:m,handleMouseOut:y,handleSortClick:k,handleFilterClick:C}=vX(e,t),{getHeaderRowStyle:b,getHeaderRowClass:x,getHeaderCellStyle:_,getHeaderCellClass:z}=mX(e),{isGroup:I,toggleAllSelection:P,columnRows:j}=yX(e);return n.state={onColumnsChange:l,onScrollableChange:i},n.filterPanels=a,{ns:r,filterPanels:a,onColumnsChange:l,onScrollableChange:i,columnRows:j,getHeaderRowClass:x,getHeaderRowStyle:b,getHeaderCellClass:z,getHeaderCellStyle:_,handleHeaderClick:h,handleHeaderContextMenu:v,handleMouseDown:g,handleMouseMove:m,handleMouseOut:y,handleSortClick:k,handleFilterClick:C,isGroup:I,toggleAllSelection:P,saveIndexSelection:c,isTableLayoutAuto:u,theadRef:d,updateFixedColumnStyle:p}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:o,getHeaderCellClass:r,getHeaderRowClass:a,getHeaderRowStyle:l,handleHeaderClick:i,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleSortClick:f,handleMouseOut:p,store:h,$parent:v,saveIndexSelection:g,isTableLayoutAuto:m}=this;let y=1;return mt("thead",{ref:"theadRef",class:e.is("group",t)},n.map((k,C)=>mt("tr",{class:a(C),key:C,style:l(C)},k.map((b,x)=>{b.rowSpan>y&&(y=b.rowSpan);const _=r(C,x,k,b);return m&&b.fixed&&g.set(_,b),mt("th",{class:_,colspan:b.colSpan,key:`${b.id}-thead`,rowspan:b.rowSpan,style:o(C,x,k,b),onClick:z=>{var I;(I=z.currentTarget)!=null&&I.classList.contains("noclick")||i(z,b)},onContextmenu:z=>u(z,b),onMousedown:z=>c(z,b),onMousemove:z=>d(z,b),onMouseout:p},[mt("div",{class:["cell",b.filteredValue&&b.filteredValue.length>0?"highlight":""]},[b.renderHeader?b.renderHeader({column:b,$index:x,store:h,_self:v}):b.label,b.sortable&&mt("span",{onClick:z=>f(z,b),class:"caret-wrapper"},[mt("i",{onClick:z=>f(z,b,"ascending"),class:"sort-caret ascending"}),mt("i",{onClick:z=>f(z,b,"descending"),class:"sort-caret descending"})]),b.filterable&&mt(gX,{store:h,placement:b.filterPlacement||"bottom-start",appendTo:v?.appendFilterPanelTo,column:b,upDataColumn:(z,I)=>{b[z]=I}},{"filter-icon":()=>b.renderFilterIcon?b.renderFilterIcon({filterOpened:b.filterOpened}):null})])])}))))}});function iv(e,t,n=.03){return e-t>n}function wX(e){const t=et(va),n=L(""),o=L(mt("div")),r=(v,g,m)=>{var y,k,C;const b=t,x=sv(v);let _=null;const z=(y=b?.vnode.el)==null?void 0:y.dataset.prefix;x&&(_=sk({columns:(C=(k=e.store)==null?void 0:k.states.columns.value)!=null?C:[]},x,z),_&&b?.emit(`cell-${m}`,g,_,x,v)),b?.emit(`row-${m}`,g,_,v)},a=(v,g)=>{r(v,g,"dblclick")},l=(v,g)=>{var m;(m=e.store)==null||m.commit("setCurrentRow",g),r(v,g,"click")},i=(v,g)=>{r(v,g,"contextmenu")},u=Ra(v=>{var g;(g=e.store)==null||g.commit("setHoverRow",v)},30),c=Ra(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),d=v=>{const g=window.getComputedStyle(v,null),m=Number.parseInt(g.paddingLeft,10)||0,y=Number.parseInt(g.paddingRight,10)||0,k=Number.parseInt(g.paddingTop,10)||0,C=Number.parseInt(g.paddingBottom,10)||0;return{left:m,right:y,top:k,bottom:C}},f=(v,g,m)=>{var y;let k=(y=g?.target)==null?void 0:y.parentNode;for(;v>1&&(k=k?.nextSibling,!(!k||k.nodeName!=="TR"));)m(k,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:a,handleClick:l,handleContextMenu:i,handleMouseEnter:u,handleMouseLeave:c,handleCellMouseEnter:(v,g,m)=>{var y,k,C,b,x,_,z,I;if(!t)return;const P=t,j=sv(v),O=(y=P?.vnode.el)==null?void 0:y.dataset.prefix;let A=null;if(j){if(A=sk({columns:(C=(k=e.store)==null?void 0:k.states.columns.value)!=null?C:[]},j,O),!A)return;j.rowSpan>1&&f(j.rowSpan,v,Lr);const ae=P.hoverState={cell:j,column:A,row:g};P?.emit("cell-mouse-enter",ae.row,ae.column,ae.cell,v)}if(!m){((b=Fo)==null?void 0:b.trigger)===j&&((x=Fo)==null||x());return}const K=v.target.querySelector(".cell");if(!(Zr(K,`${O}-tooltip`)&&K.childNodes.length))return;const Y=document.createRange();Y.setStart(K,0),Y.setEnd(K,K.childNodes.length);const{width:Z,height:$}=Y.getBoundingClientRect(),{width:R,height:D}=K.getBoundingClientRect(),{top:B,left:q,right:G,bottom:X}=d(K),J=q+G,ue=B+X;iv(Z+J,R)||iv($+ue,D)||iv(K.scrollWidth,R)?nX(m,(_=j?.innerText||j?.textContent)!=null?_:"",g,A,j,P):((z=Fo)==null?void 0:z.trigger)===j&&((I=Fo)==null||I())},handleCellMouseLeave:v=>{const g=sv(v);if(!g)return;g.rowSpan>1&&f(g.rowSpan,v,Go);const m=t?.hoverState;t?.emit("cell-mouse-leave",m?.row,m?.column,m?.cell,v)},tooltipContent:n,tooltipTrigger:o}}function CX(e){const t=et(va),n=Ie("table");return{getRowStyle:(c,d)=>{const f=t?.props.rowStyle;return it(f)?f.call(null,{row:c,rowIndex:d}):f||null},getRowClass:(c,d,f)=>{var p;const h=[n.e("row")];t?.props.highlightCurrentRow&&c===((p=e.store)==null?void 0:p.states.currentRow.value)&&h.push("current-row"),e.stripe&&f%2===1&&h.push(n.em("row","striped"));const v=t?.props.rowClassName;return rt(v)?h.push(v):it(v)&&h.push(v.call(null,{row:c,rowIndex:d})),h},getCellStyle:(c,d,f,p)=>{const h=t?.props.cellStyle;let v=h??{};it(h)&&(v=h.call(null,{rowIndex:c,columnIndex:d,row:f,column:p}));const g=Qb(d,e?.fixed,e.store);return lu(g,"left"),lu(g,"right"),Object.assign({},v,g)},getCellClass:(c,d,f,p,h)=>{const v=Zb(n.b(),d,e?.fixed,e.store,void 0,h),g=[p.id,p.align,p.className,...v],m=t?.props.cellClassName;return rt(m)?g.push(m):it(m)&&g.push(m.call(null,{rowIndex:c,columnIndex:d,row:f,column:p})),g.push(n.e("cell")),g.filter(y=>!!y).join(" ")},getSpan:(c,d,f,p)=>{let h=1,v=1;const g=t?.props.spanMethod;if(it(g)){const m=g({row:c,column:d,rowIndex:f,columnIndex:p});Be(m)?(h=m[0],v=m[1]):At(m)&&(h=m.rowspan,v=m.colspan)}return{rowspan:h,colspan:v}},getColspanRealWidth:(c,d,f)=>{if(d<1)return c[f].realWidth;const p=c.map(({realWidth:h,width:v})=>h||v).slice(f,f+d);return Number(p.reduce((h,v)=>Number(h)+Number(v),-1))}}}const kX=te({name:"TableTdWrapper"}),SX=te({...kX,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(T(),F("td",{colspan:e.colspan,rowspan:e.rowspan},[he(t.$slots,"default")],8,["colspan","rowspan"]))}});var _X=Ue(SX,[["__file","td-wrapper.vue"]]);function xX(e){const t=et(va),n=Ie("table"),{handleDoubleClick:o,handleClick:r,handleContextMenu:a,handleMouseEnter:l,handleMouseLeave:i,handleCellMouseEnter:u,handleCellMouseLeave:c,tooltipContent:d,tooltipTrigger:f}=wX(e),{getRowStyle:p,getRowClass:h,getCellStyle:v,getCellClass:g,getSpan:m,getColspanRealWidth:y}=CX(e);let k=-1;const C=S(()=>{var I;return(I=e.store)==null?void 0:I.states.columns.value.findIndex(({type:P})=>P==="default")}),b=(I,P)=>{var j;const O=(j=t?.props)==null?void 0:j.rowKey;return O?jo(I,O):P},x=(I,P,j,O=!1)=>{const{tooltipEffect:A,tooltipOptions:K,store:Y}=e,{indent:Z,columns:$}=Y.states,R=[];let D=!0;return j&&(R.push(n.em("row",`level-${j.level}`)),D=!!j.display),P===0&&(k=-1),e.stripe&&D&&k++,R.push(...h(I,P,k)),mt("tr",{style:[D?null:{display:"none"},p(I,P)],class:R,key:b(I,P),onDblclick:q=>o(q,I),onClick:q=>r(q,I),onContextmenu:q=>a(q,I),onMouseenter:()=>l(P),onMouseleave:i},$.value.map((q,G)=>{const{rowspan:X,colspan:J}=m(I,q,P,G);if(!X||!J)return null;const ue=Object.assign({},q);ue.realWidth=y($.value,J,G);const ae={store:Y,_self:e.context||t,column:ue,row:I,$index:P,cellIndex:G,expanded:O};G===C.value&&j&&(ae.treeNode={indent:j.level&&j.level*Z.value,level:j.level},fn(j.expanded)&&(ae.treeNode.expanded=j.expanded,"loading"in j&&(ae.treeNode.loading=j.loading),"noLazyChildren"in j&&(ae.treeNode.noLazyChildren=j.noLazyChildren)));const ve=`${b(I,P)},${G}`,re=ue.columnKey||ue.rawColumnKey||"",ce=q.showOverflowTooltip&&v2({effect:A},K,q.showOverflowTooltip);return mt(_X,{style:v(P,G,I,q),class:g(P,G,I,q,J-1),key:`${re}${ve}`,rowspan:X,colspan:J,onMouseenter:oe=>u(oe,I,ce),onMouseleave:c},{default:()=>_(G,q,ae)})}))},_=(I,P,j)=>P.renderCell(j);return{wrappedRowRender:(I,P)=>{const j=e.store,{isRowExpanded:O,assertRowKey:A}=j,{treeData:K,lazyTreeNodeMap:Y,childrenColumnName:Z,rowKey:$}=j.states,R=j.states.columns.value;if(R.some(({type:B})=>B==="expand")){const B=O(I),q=x(I,P,void 0,B),G=t?.renderExpanded;if(!G)return console.error("[Element Error]renderExpanded is required."),q;const X=[[q]];return(t.props.preserveExpandedContent||B)&&X[0].push(mt("tr",{key:`expanded-row__${q.key}`,style:{display:B?"":"none"}},[mt("td",{colspan:R.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[G({row:I,$index:P,store:j,expanded:B})])])),X}else if(Object.keys(K.value).length){A();const B=jo(I,$.value);let q=K.value[B],G=null;q&&(G={expanded:q.expanded,level:q.level,display:!0,noLazyChildren:void 0,loading:void 0},fn(q.lazy)&&(G&&fn(q.loaded)&&q.loaded&&(G.noLazyChildren=!(q.children&&q.children.length)),G.loading=q.loading));const X=[x(I,P,G??void 0)];if(q){let J=0;const ue=(ve,re)=>{ve&&ve.length&&re&&ve.forEach(ce=>{const oe={display:re.display&&re.expanded,level:re.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ie=jo(ce,$.value);if(Tr(ie))throw new Error("For nested data item, row-key is required.");if(q={...K.value[ie]},q&&(oe.expanded=q.expanded,q.level=q.level||oe.level,q.display=!!(q.expanded&&oe.display),fn(q.lazy)&&(fn(q.loaded)&&q.loaded&&(oe.noLazyChildren=!(q.children&&q.children.length)),oe.loading=q.loading)),J++,X.push(x(ce,P+J,oe)),q){const de=Y.value[ie]||ce[Z.value];ue(de,q)}})};q.display=!0;const ae=Y.value[B]||I[Z.value];ue(ae,q)}return X}else return x(I,P,void 0)},tooltipContent:d,tooltipTrigger:f}}const EX={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var zX=te({name:"ElTableBody",props:EX,setup(e){var t;const n=Lt(),o=et(va),r=Ie("table"),{wrappedRowRender:a,tooltipContent:l,tooltipTrigger:i}=xX(e),{onColumnsChange:u,onScrollableChange:c}=e0(o),d=[];return ke((t=e.store)==null?void 0:t.states.hoverRow,(f,p)=>{var h,v;const g=n?.vnode.el,m=Array.from(g?.children||[]).filter(C=>C?.classList.contains(`${r.e("row")}`));let y=f;const k=(h=m[y])==null?void 0:h.childNodes;if(k?.length){let C=0;Array.from(k).reduce((x,_,z)=>{var I,P;return((I=k[z])==null?void 0:I.colSpan)>1&&(C=(P=k[z])==null?void 0:P.colSpan),_.nodeName!=="TD"&&C===0&&x.push(z),C>0&&C--,x},[]).forEach(x=>{var _;for(y=f;y>0;){const z=(_=m[y-1])==null?void 0:_.childNodes;if(z[x]&&z[x].nodeName==="TD"&&z[x].rowSpan>1){Lr(z[x],"hover-cell"),d.push(z[x]);break}y--}})}else d.forEach(C=>Go(C,"hover-cell")),d.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!nn||ss(()=>{const C=m[p],b=m[f];C&&!C.classList.contains("hover-fixed-row")&&Go(C,"hover-row"),b&&Lr(b,"hover-row")})}),oi(()=>{var f;(f=Fo)==null||f()}),{ns:r,onColumnsChange:u,onScrollableChange:c,wrappedRowRender:a,tooltipContent:l,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t?.states.data.value||[];return mt("tbody",{tabIndex:-1},[n.reduce((o,r)=>o.concat(e(r,o.length)),[])])}});function TX(){const e=et(va),t=e?.store,n=S(()=>{var i;return(i=t?.states.fixedLeafColumnsLength.value)!=null?i:0}),o=S(()=>{var i;return(i=t?.states.rightFixedColumns.value.length)!=null?i:0}),r=S(()=>{var i;return(i=t?.states.columns.value.length)!=null?i:0}),a=S(()=>{var i;return(i=t?.states.fixedColumns.value.length)!=null?i:0}),l=S(()=>{var i;return(i=t?.states.rightFixedColumns.value.length)!=null?i:0});return{leftFixedLeafCount:n,rightFixedLeafCount:o,columnsCount:r,leftFixedCount:a,rightFixedCount:l,columns:S(()=>{var i;return(i=t?.states.columns.value)!=null?i:[]})}}function OX(e){const{columns:t}=TX(),n=Ie("table");return{getCellClasses:(a,l)=>{const i=a[l],u=[n.e("cell"),i.id,i.align,i.labelClassName,...Zb(n.b(),l,i.fixed,e.store)];return i.className&&u.push(i.className),i.children||u.push(n.is("leaf")),u},getCellStyles:(a,l)=>{const i=Qb(l,a.fixed,e.store);return lu(i,"left"),lu(i,"right"),i},columns:t}}var $X=te({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=et(va),n=Ie("table"),{getCellClasses:o,getCellStyles:r,columns:a}=OX(e),{onScrollableChange:l,onColumnsChange:i}=e0(t);return{ns:n,onScrollableChange:l,onColumnsChange:i,getCellClasses:o,getCellStyles:r,columns:a}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:o,sumText:r}=this,a=this.store.states.data.value;let l=[];return o?l=o({columns:e,data:a}):e.forEach((i,u)=>{if(u===0){l[u]=r;return}const c=a.map(h=>Number(h[i.property])),d=[];let f=!0;c.forEach(h=>{if(!Number.isNaN(+h)){f=!1;const v=`${h}`.split(".")[1];d.push(v?v.length:0)}});const p=Math.max.apply(null,d);f?l[u]="":l[u]=c.reduce((h,v)=>{const g=Number(v);return Number.isNaN(+g)?h:Number.parseFloat((h+v).toFixed(Math.min(p,20)))},0)}),mt(mt("tfoot",[mt("tr",{},[...e.map((i,u)=>mt("td",{key:u,colspan:i.colSpan,rowspan:i.rowSpan,class:n(e,u),style:t(i,u)},[mt("div",{class:["cell",i.labelClassName]},[l[u]])]))])]))}});function PX(e){return{setCurrentRow:f=>{e.commit("setCurrentRow",f)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(f,p,h=!0)=>{e.toggleRowSelection(f,p,!1,h),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:f=>{e.clearFilter(f)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(f,p)=>{e.toggleRowExpansionAdapter(f,p)},clearSort:()=>{e.clearSort()},sort:(f,p)=>{e.commit("sort",{prop:f,order:p})},updateKeyChildren:(f,p)=>{e.updateKeyChildren(f,p)}}}function IX(e,t,n,o){const r=L(!1),a=L(null),l=L(!1),i=R=>{l.value=R},u=L({width:null,height:null,headerHeight:null}),c=L(!1),d={display:"inline-block",verticalAlign:"middle"},f=L(),p=L(0),h=L(0),v=L(0),g=L(0),m=L(0);sr(()=>{var R;t.setHeight((R=e.height)!=null?R:null)}),sr(()=>{var R;t.setMaxHeight((R=e.maxHeight)!=null?R:null)}),ke(()=>[e.currentRowKey,n.states.rowKey],([R,D])=>{!s(D)||!s(R)||n.setCurrentRowKey(`${R}`)},{immediate:!0}),ke(()=>e.data,R=>{o.store.commit("setData",R)},{immediate:!0,deep:!0}),sr(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{o.store.commit("setHoverRow",null),o.hoverState&&(o.hoverState=null)},k=(R,D)=>{const{pixelX:B,pixelY:q}=D;Math.abs(B)>=Math.abs(q)&&(o.refs.bodyWrapper.scrollLeft+=D.pixelX/5)},C=S(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),b=S(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),x=()=>{C.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(P)};Bt(async()=>{await Qe(),n.updateColumns(),j(),requestAnimationFrame(x);const R=o.vnode.el,D=o.refs.headerWrapper;e.flexible&&R&&R.parentElement&&(R.parentElement.style.minWidth="0"),u.value={width:f.value=R.offsetWidth,height:R.offsetHeight,headerHeight:e.showHeader&&D?D.offsetHeight:null},n.states.columns.value.forEach(B=>{B.filteredValue&&B.filteredValue.length&&o.store.commit("filterChange",{column:B,values:B.filteredValue,silent:!0})}),o.$ready=!0});const _=(R,D)=>{if(!R)return;const B=Array.from(R.classList).filter(q=>!q.startsWith("is-scrolling-"));B.push(t.scrollX.value?D:"is-scrolling-none"),R.className=B.join(" ")},z=R=>{const{tableWrapper:D}=o.refs;_(D,R)},I=R=>{const{tableWrapper:D}=o.refs;return!!(D&&D.classList.contains(R))},P=function(){if(!o.refs.scrollBarRef)return;if(!t.scrollX.value){const ue="is-scrolling-none";I(ue)||z(ue);return}const R=o.refs.scrollBarRef.wrapRef;if(!R)return;const{scrollLeft:D,offsetWidth:B,scrollWidth:q}=R,{headerWrapper:G,footerWrapper:X}=o.refs;G&&(G.scrollLeft=D),X&&(X.scrollLeft=D);const J=q-B-1;D>=J?z("is-scrolling-right"):z(D===0?"is-scrolling-left":"is-scrolling-middle")},j=()=>{o.refs.scrollBarRef&&(o.refs.scrollBarRef.wrapRef&&gn(o.refs.scrollBarRef.wrapRef,"scroll",P,{passive:!0}),e.fit?In(o.vnode.el,O):gn(window,"resize",O),In(o.refs.bodyWrapper,()=>{var R,D;O(),(D=(R=o.refs)==null?void 0:R.scrollBarRef)==null||D.update()}))},O=()=>{var R,D,B,q;const G=o.vnode.el;if(!o.$ready||!G)return;let X=!1;const{width:J,height:ue,headerHeight:ae}=u.value,ve=f.value=G.offsetWidth;J!==ve&&(X=!0);const re=G.offsetHeight;(e.height||C.value)&&ue!==re&&(X=!0);const ce=e.tableLayout==="fixed"?o.refs.headerWrapper:(R=o.refs.tableHeaderRef)==null?void 0:R.$el;e.showHeader&&ce?.offsetHeight!==ae&&(X=!0),p.value=((D=o.refs.tableWrapper)==null?void 0:D.scrollHeight)||0,v.value=ce?.scrollHeight||0,g.value=((B=o.refs.footerWrapper)==null?void 0:B.offsetHeight)||0,m.value=((q=o.refs.appendWrapper)==null?void 0:q.offsetHeight)||0,h.value=p.value-v.value-g.value-m.value,X&&(u.value={width:ve,height:re,headerHeight:e.showHeader&&ce?.offsetHeight||0},x())},A=ro(),K=S(()=>{const{bodyWidth:R,scrollY:D,gutterWidth:B}=t;return R.value?`${R.value-(D.value?B:0)}px`:""}),Y=S(()=>e.maxHeight?"fixed":e.tableLayout),Z=S(()=>{if(e.data&&e.data.length)return;let R="100%";e.height&&h.value&&(R=`${h.value}px`);const D=f.value;return{width:D?`${D}px`:"",height:R}}),$=S(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+g.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-g.value}px`}:{});return{isHidden:r,renderExpanded:a,setDragVisible:i,isGroup:c,handleMouseLeave:y,handleHeaderFooterMousewheel:k,tableSize:A,emptyBlockStyle:Z,resizeProxyVisible:l,bodyWidth:K,resizeState:u,doLayout:x,tableBodyStyles:b,tableLayout:Y,scrollbarViewStyle:d,scrollbarStyle:$}}function MX(e){const t=L(),n=()=>{const r=e.vnode.el.querySelector(".hidden-columns"),a={childList:!0,subtree:!0},l=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{l.forEach(i=>i())}),t.value.observe(r,a)};Bt(()=>{n()}),oi(()=>{var o;(o=t.value)==null||o.disconnect()})}var AX={data:{type:Array,default:()=>[]},size:io,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function PT(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:r})=>Zt(r))&&(n=[]);const o=r=>{const a={key:`${e.tableLayout}_${r.id}`,style:{},name:void 0};return t?a.style={width:`${r.width}px`}:a.name=r.id,a};return mt("colgroup",{},n.map(r=>mt("col",o(r))))}PT.props=["columns","tableLayout"];const jX=()=>{const e=L(),t=(a,l)=>{const i=e.value;i&&i.scrollTo(a,l)},n=(a,l)=>{const i=e.value;i&&ft(l)&&["Top","Left"].includes(a)&&i[`setScroll${a}`](l)};return{scrollBarRef:e,scrollTo:t,setScrollTop:a=>n("Top",a),setScrollLeft:a=>n("Left",a)}};var ck=!1,Os,_m,xm,Yf,Gf,IT,Xf,Em,zm,Tm,MT,Om,$m,AT,jT;function hr(){if(!ck){ck=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Om=/\b(iPhone|iP[ao]d)/.exec(e),$m=/\b(iP[ao]d)/.exec(e),Tm=/Android/i.exec(e),AT=/FBAN\/\w+;/i.exec(e),jT=/Mobile/i.exec(e),MT=!!/Win64/.exec(e),t){Os=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Os&&document&&document.documentMode&&(Os=document.documentMode);var o=/(?:Trident\/(\d+.\d+))/.exec(e);IT=o?parseFloat(o[1])+4:Os,_m=t[2]?parseFloat(t[2]):NaN,xm=t[3]?parseFloat(t[3]):NaN,Yf=t[4]?parseFloat(t[4]):NaN,Yf?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Gf=t&&t[1]?parseFloat(t[1]):NaN):Gf=NaN}else Os=_m=xm=Gf=Yf=NaN;if(n){if(n[1]){var r=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Xf=r?parseFloat(r[1].replace("_",".")):!0}else Xf=!1;Em=!!n[2],zm=!!n[3]}else Xf=Em=zm=!1}}var Pm={ie:function(){return hr()||Os},ieCompatibilityMode:function(){return hr()||IT>Os},ie64:function(){return Pm.ie()&&MT},firefox:function(){return hr()||_m},opera:function(){return hr()||xm},webkit:function(){return hr()||Yf},safari:function(){return Pm.webkit()},chrome:function(){return hr()||Gf},windows:function(){return hr()||Em},osx:function(){return hr()||Xf},linux:function(){return hr()||zm},iphone:function(){return hr()||Om},mobile:function(){return hr()||Om||$m||Tm||jT},nativeApp:function(){return hr()||AT},android:function(){return hr()||Tm},ipad:function(){return hr()||$m}},NX=Pm,RX=!!(typeof window<"u"&&window.document&&window.document.createElement),DX={canUseDOM:RX},NT=DX,RT;NT.canUseDOM&&(RT=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function LX(e,t){if(!NT.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o=typeof r[n]=="function"}return!o&&RT&&e==="wheel"&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var BX=LX,dk=10,fk=40,hk=800;function DT(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=t*dk,r=n*dk,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(e.deltaMode==1?(o*=fk,r*=fk):(o*=hk,r*=hk)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}DT.getEventType=function(){return NX.firefox()?"DOMMouseScroll":BX("wheel")?"wheel":"mousewheel"};var VX=DT;const Zf="_Mousewheel",pk=function(e,t){if(e&&e.addEventListener){LT(e);const n=function(o){const r=VX(o);t&&Reflect.apply(t,this,[o,r])};e[Zf]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},LT=e=>{var t;(t=e[Zf])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[Zf].wheelHandler),e[Zf]=null)},FX={beforeMount(e,t){pk(e,t.value)},unmounted(e){LT(e)},updated(e,t){t.value!==t.oldValue&&pk(e,t.value)}};let qX=1;const KX=te({name:"ElTable",directives:{Mousewheel:FX},components:{TableHeader:bX,TableBody:zX,TableFooter:$X,ElScrollbar:sa,hColgroup:PT},props:AX,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=Qt(),n=Ie("table"),o=Lt();Ut(va,o);const r=uX(o,e);o.store=r;const a=new dX({store:o.store,table:o,fit:e.fit,showHeader:e.showHeader});o.layout=a;const l=S(()=>(r.states.data.value||[]).length===0),{setCurrentRow:i,getSelectionRows:u,toggleRowSelection:c,clearSelection:d,clearFilter:f,toggleAllSelection:p,toggleRowExpansion:h,clearSort:v,sort:g,updateKeyChildren:m}=PX(r),{isHidden:y,renderExpanded:k,setDragVisible:C,isGroup:b,handleMouseLeave:x,handleHeaderFooterMousewheel:_,tableSize:z,emptyBlockStyle:I,resizeProxyVisible:P,bodyWidth:j,resizeState:O,doLayout:A,tableBodyStyles:K,tableLayout:Y,scrollbarViewStyle:Z,scrollbarStyle:$}=IX(e,a,r,o),{scrollBarRef:R,scrollTo:D,setScrollLeft:B,setScrollTop:q}=jX(),G=Ra(A,50),X=`${n.namespace.value}-table_${qX++}`;o.tableId=X,o.state={isGroup:b,resizeState:O,doLayout:A,debouncedUpdateLayout:G};const J=S(()=>{var ve;return(ve=e.sumText)!=null?ve:t("el.table.sumText")}),ue=S(()=>{var ve;return(ve=e.emptyText)!=null?ve:t("el.table.emptyText")}),ae=S(()=>$T(r.states.originColumns.value)[0]);return MX(o),cn(()=>{G.cancel()}),{ns:n,layout:a,store:r,columns:ae,handleHeaderFooterMousewheel:_,handleMouseLeave:x,tableId:X,tableSize:z,isHidden:y,isEmpty:l,renderExpanded:k,resizeProxyVisible:P,resizeState:O,isGroup:b,bodyWidth:j,tableBodyStyles:K,emptyBlockStyle:I,debouncedUpdateLayout:G,setCurrentRow:i,getSelectionRows:u,toggleRowSelection:c,clearSelection:d,clearFilter:f,toggleAllSelection:p,toggleRowExpansion:h,clearSort:v,doLayout:A,sort:g,updateKeyChildren:m,t,setDragVisible:C,context:o,computedSumText:J,computedEmptyText:ue,tableLayout:Y,scrollbarViewStyle:Z,scrollbarStyle:$,scrollBarRef:R,scrollTo:D,setScrollLeft:B,setScrollTop:q,allowDragLastColumn:e.allowDragLastColumn}}});function HX(e,t,n,o,r,a){const l=kt("hColgroup"),i=kt("table-header"),u=kt("table-body"),c=kt("table-footer"),d=kt("el-scrollbar"),f=hp("mousewheel");return T(),F("div",{ref:"tableWrapper",class:M([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:ht(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[H("div",{class:M(e.ns.e("inner-wrapper"))},[H("div",{ref:"hiddenColumns",class:"hidden-columns"},[he(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?Nt((T(),F("div",{key:0,ref:"headerWrapper",class:M(e.ns.e("header-wrapper"))},[H("table",{ref:"tableHeader",class:M(e.ns.e("header")),style:ht(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[Q(l,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Q(i,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):fe("v-if",!0),H("div",{ref:"bodyWrapper",class:M(e.ns.e("body-wrapper"))},[Q(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:p=>e.$emit("scroll",p)},{default:ne(()=>[H("table",{ref:"tableBody",class:M(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:ht({width:e.bodyWidth,tableLayout:e.tableLayout})},[Q(l,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(T(),ge(i,{key:0,ref:"tableHeaderRef",class:M(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):fe("v-if",!0),Q(u,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(T(),ge(c,{key:1,class:M(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):fe("v-if",!0)],6),e.isEmpty?(T(),F("div",{key:0,ref:"emptyBlock",style:ht(e.emptyBlockStyle),class:M(e.ns.e("empty-block"))},[H("span",{class:M(e.ns.e("empty-text"))},[he(e.$slots,"empty",{},()=>[Tt(Pe(e.computedEmptyText),1)])],2)],6)):fe("v-if",!0),e.$slots.append?(T(),F("div",{key:1,ref:"appendWrapper",class:M(e.ns.e("append-wrapper"))},[he(e.$slots,"append")],2)):fe("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native","onScroll"])],2),e.showSummary&&e.tableLayout==="fixed"?Nt((T(),F("div",{key:1,ref:"footerWrapper",class:M(e.ns.e("footer-wrapper"))},[H("table",{class:M(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:ht(e.tableBodyStyles)},[Q(l,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Q(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[tn,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):fe("v-if",!0),e.border||e.isGroup?(T(),F("div",{key:2,class:M(e.ns.e("border-left-patch"))},null,2)):fe("v-if",!0)],2),Nt(H("div",{ref:"resizeProxy",class:M(e.ns.e("column-resize-proxy"))},null,2),[[tn,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}var WX=Ue(KX,[["render",HX],["__file","table.vue"]]);const UX={selection:"table-column--selection",expand:"table__expand-column"},YX={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},GX=e=>UX[e]||"",XX={selection:{renderHeader({store:e,column:t}){var n;function o(){return e.states.data.value&&e.states.data.value.length===0}return mt(Ur,{disabled:o(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(n=e.toggleAllSelection)!=null?n:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:o}){return mt(Ur,{disabled:t.selectable?!t.selectable.call(null,e,o):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:r=>r.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const o=e.index;return ft(o)?n=t+o:it(o)&&(n=o(t)),mt("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:o}){const{ns:r}=n,a=[r.e("expand-icon")];return!e.renderExpand&&o&&a.push(r.em("expand-icon","expanded")),mt("div",{class:a,onClick:function(i){i.stopPropagation(),n.toggleRowExpansion(t)}},{default:()=>e.renderExpand?[e.renderExpand({expanded:o})]:[mt(lt,null,{default:()=>[mt(Xo)]})]})},sortable:!1,resizable:!1}};function ZX({row:e,column:t,$index:n}){var o;const r=t.property,a=r&&fc(e,r).value;return t&&t.formatter?t.formatter(e,t,a,n):((o=a?.toString)==null?void 0:o.call(a))||""}function QX({row:e,treeNode:t,store:n},o=!1){const{ns:r}=n;if(!t)return o?[mt("span",{class:r.e("placeholder")})]:null;const a=[],l=function(i){i.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&a.push(mt("span",{class:r.e("indent"),style:{"padding-left":`${t.indent}px`}})),fn(t.expanded)&&!t.noLazyChildren){const i=[r.e("expand-icon"),t.expanded?r.em("expand-icon","expanded"):""];let u=Xo;t.loading&&(u=la),a.push(mt("div",{class:i,onClick:l},{default:()=>[mt(lt,{class:r.is("loading",t.loading)},{default:()=>[mt(u)]})]}))}else a.push(mt("span",{class:r.e("placeholder")}));return a}function gk(e,t){return e.reduce((n,o)=>(n[o]=o,n),t)}function JX(e,t){const n=Lt();return{registerComplexWatchers:()=>{const a=["fixed"],l={realWidth:"width",realMinWidth:"minWidth"},i=gk(a,l);Object.keys(i).forEach(u=>{const c=l[u];rn(t,c)&&ke(()=>t[c],d=>{let f=d;c==="width"&&u==="realWidth"&&(f=Xb(d)),c==="minWidth"&&u==="realMinWidth"&&(f=_T(d)),n.columnConfig.value[c]=f,n.columnConfig.value[u]=f;const p=c==="fixed";e.value.store.scheduleLayout(p)})})},registerNormalWatchers:()=>{const a=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],l=["showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},u=gk(a,i);Object.keys(u).forEach(c=>{const d=i[c];rn(t,d)&&ke(()=>t[d],f=>{n.columnConfig.value[c]=f})}),l.forEach(c=>{rn(e.value.props,c)&&ke(()=>e.value.props[c],d=>{n.columnConfig.value[c]=d})})}}}function eZ(e,t,n){const o=Lt(),r=L(""),a=L(!1),l=L(),i=L(),u=Ie("table");sr(()=>{l.value=e.align?`is-${e.align}`:null,l.value}),sr(()=>{i.value=e.headerAlign?`is-${e.headerAlign}`:l.value,i.value});const c=S(()=>{let b=o.vnode.vParent||o.parent;for(;b&&!b.tableId&&!b.columnId;)b=b.vnode.vParent||b.parent;return b}),d=S(()=>{const{store:b}=o.parent;if(!b)return!1;const{treeData:x}=b.states,_=x.value;return _&&Object.keys(_).length>0}),f=L(Xb(e.width)),p=L(_T(e.minWidth)),h=b=>(f.value&&(b.width=f.value),p.value&&(b.minWidth=p.value),!f.value&&p.value&&(b.width=void 0),b.minWidth||(b.minWidth=80),b.realWidth=Number(Zt(b.width)?b.minWidth:b.width),b),v=b=>{const x=b.type,_=XX[x]||{};Object.keys(_).forEach(I=>{const P=_[I];I!=="className"&&!Zt(P)&&(b[I]=P)});const z=GX(x);if(z){const I=`${s(u.namespace)}-${z}`;b.className=b.className?`${b.className} ${I}`:I}return b},g=b=>{Be(b)?b.forEach(_=>x(_)):x(b);function x(_){var z;((z=_?.type)==null?void 0:z.name)==="ElTableColumn"&&(_.vParent=o)}};return{columnId:r,realAlign:l,isSubColumn:a,realHeaderAlign:i,columnOrTableParent:c,setColumnWidth:h,setColumnForcedProps:v,setColumnRenders:b=>{e.renderHeader?Kt("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):b.type!=="selection"&&(b.renderHeader=_=>(o.columnConfig.value.label,he(t,"header",_,()=>[b.label]))),t["filter-icon"]&&(b.renderFilterIcon=_=>he(t,"filter-icon",_)),t.expand&&(b.renderExpand=_=>he(t,"expand",_));let x=b.renderCell;return b.type==="expand"?(b.renderCell=_=>mt("div",{class:"cell"},[x(_)]),n.value.renderExpanded=_=>t.default?t.default(_):t.default):(x=x||ZX,b.renderCell=_=>{let z=null;if(t.default){const K=t.default(_);z=K.some(Y=>Y.type!==Xn)?K:x(_)}else z=x(_);const{columns:I}=n.value.store.states,P=I.value.findIndex(K=>K.type==="default"),j=d.value&&_.cellIndex===P,O=QX(_,j),A={class:"cell",style:{}};return b.showOverflowTooltip&&(A.class=`${A.class} ${s(u.namespace)}-tooltip`,A.style={width:`${(_.column.realWidth||Number(_.column.width))-1}px`}),g(z),mt("div",A,[O,z])}),b},getPropsData:(...b)=>b.reduce((x,_)=>(Be(_)&&_.forEach(z=>{x[z]=e[z]}),x),{}),getColumnElIndex:(b,x)=>Array.prototype.indexOf.call(b,x),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",o.columnConfig.value)}}}var tZ={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let nZ=1;var BT=te({name:"ElTableColumn",components:{ElCheckbox:Ur},props:tZ,setup(e,{slots:t}){const n=Lt(),o=L({}),r=S(()=>{let C=n.parent;for(;C&&!C.tableId;)C=C.parent;return C}),{registerNormalWatchers:a,registerComplexWatchers:l}=JX(r,e),{columnId:i,isSubColumn:u,realHeaderAlign:c,columnOrTableParent:d,setColumnWidth:f,setColumnForcedProps:p,setColumnRenders:h,getPropsData:v,getColumnElIndex:g,realAlign:m,updateColumnOrder:y}=eZ(e,t,r),k=d.value;i.value=`${"tableId"in k&&k.tableId||"columnId"in k&&k.columnId}_column_${nZ++}`,fp(()=>{u.value=r.value!==k;const C=e.type||"default",b=e.sortable===""?!0:e.sortable,x=C==="selection"?!1:Zt(e.showOverflowTooltip)?k.props.showOverflowTooltip:e.showOverflowTooltip,_=Zt(e.tooltipFormatter)?k.props.tooltipFormatter:e.tooltipFormatter,z={...YX[C],id:i.value,type:C,property:e.prop||e.property,align:m,headerAlign:c,showOverflowTooltip:x,tooltipFormatter:_,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:b,index:e.index,rawColumnKey:n.vnode.key};let A=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);A=ZG(z,A),A=JG(h,f,p)(A),o.value=A,a(),l()}),Bt(()=>{var C,b;const x=d.value,_=u.value?(C=x.vnode.el)==null?void 0:C.children:(b=x.refs.hiddenColumns)==null?void 0:b.children,z=()=>g(_||[],n.vnode.el);o.value.getColumnIndex=z,z()>-1&&r.value.store.commit("insertColumn",o.value,u.value?"columnConfig"in x&&x.columnConfig.value:null,y)}),cn(()=>{const C=o.value.getColumnIndex;(C?C():-1)>-1&&r.value.store.commit("removeColumn",o.value,u.value?"columnConfig"in k&&k.columnConfig.value:null,y)}),n.columnId=i.value,n.columnConfig=o},render(){var e,t,n;try{const o=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),r=[];if(Be(o))for(const l of o)((n=l.type)==null?void 0:n.name)==="ElTableColumn"||l.shapeFlag&2?r.push(l):l.type===tt&&Be(l.children)&&l.children.forEach(i=>{i?.patchFlag!==1024&&!rt(i?.children)&&r.push(i)});return mt("div",r)}catch{return mt("div",[])}}});const oZ=Pt(WX,{TableColumn:BT}),rZ=Rn(BT);var Yc=(e=>(e.ASC="asc",e.DESC="desc",e))(Yc||{}),Gc=(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))(Gc||{}),VT=(e=>(e.LEFT="left",e.RIGHT="right",e))(VT||{});const Im={asc:"desc",desc:"asc"},Xc=Symbol("placeholder"),aZ=(e,t,n)=>{var o;const r={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(r.flexShrink=1);const a={...(o=e.style)!=null?o:{},...r,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(a.maxWidth=e.maxWidth),e.minWidth&&(a.minWidth=e.minWidth)),a};function lZ(e,t,n){const o=S(()=>s(t).map((m,y)=>{var k,C;return{...m,key:(C=(k=m.key)!=null?k:m.dataKey)!=null?C:y}})),r=S(()=>s(o).filter(m=>!m.hidden)),a=S(()=>s(r).filter(m=>m.fixed==="left"||m.fixed===!0)),l=S(()=>s(r).filter(m=>m.fixed==="right")),i=S(()=>s(r).filter(m=>!m.fixed)),u=S(()=>{const m=[];return s(a).forEach(y=>{m.push({...y,placeholderSign:Xc})}),s(i).forEach(y=>{m.push(y)}),s(l).forEach(y=>{m.push({...y,placeholderSign:Xc})}),m}),c=S(()=>s(a).length||s(l).length),d=S(()=>s(o).reduce((m,y)=>(m[y.key]=aZ(y,s(n),e.fixed),m),{})),f=S(()=>s(r).reduce((m,y)=>m+y.width,0)),p=m=>s(o).find(y=>y.key===m),h=m=>s(d)[m],v=(m,y)=>{m.width=y};function g(m){var y;const{key:k}=m.currentTarget.dataset;if(!k)return;const{sortState:C,sortBy:b}=e;let x=Yc.ASC;At(C)?x=Im[C[k]]:x=Im[b.order],(y=e.onColumnSort)==null||y.call(e,{column:p(k),key:k,order:x})}return{columns:o,columnsStyles:d,columnsTotalWidth:f,fixedColumnsOnLeft:a,fixedColumnsOnRight:l,hasFixedColumns:c,mainColumns:u,normalColumns:i,visibleColumns:r,getColumn:p,getColumnStyle:h,updateColumnWidth:v,onColumnSorted:g}}const sZ=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,onMaybeEndReached:r})=>{const a=L({scrollLeft:0,scrollTop:0});function l(h){var v,g,m;const{scrollTop:y}=h;(v=t.value)==null||v.scrollTo(h),(g=n.value)==null||g.scrollToTop(y),(m=o.value)==null||m.scrollToTop(y)}function i(h){a.value=h,l(h)}function u(h){a.value.scrollTop=h,l(s(a))}function c(h){var v,g;a.value.scrollLeft=h,(g=(v=t.value)==null?void 0:v.scrollTo)==null||g.call(v,s(a))}function d(h){var v;i(h),(v=e.onScroll)==null||v.call(e,h)}function f({scrollTop:h}){const{scrollTop:v}=s(a);h!==v&&u(h)}function p(h,v="auto"){var g;(g=t.value)==null||g.scrollToRow(h,v)}return ke(()=>s(a).scrollTop,(h,v)=>{h>v&&r()}),{scrollPos:a,scrollTo:i,scrollToLeft:c,scrollToTop:u,scrollToRow:p,onScroll:d,onVerticalScroll:f}},iZ=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,tableInstance:r,ns:a,isScrolling:l})=>{const i=Lt(),{emit:u}=i,c=xn(!1),d=L(e.defaultExpandedRowKeys||[]),f=L(-1),p=xn(null),h=L({}),v=L({}),g=xn({}),m=xn({}),y=xn({}),k=S(()=>ft(e.estimatedRowHeight));function C(j){var O;(O=e.onRowsRendered)==null||O.call(e,j),j.rowCacheEnd>s(f)&&(f.value=j.rowCacheEnd)}function b({hovered:j,rowKey:O}){if(l.value)return;r.vnode.el.querySelectorAll(`[rowkey="${String(O)}"]`).forEach(Y=>{j?Y.classList.add(a.is("hovered")):Y.classList.remove(a.is("hovered"))})}function x({expanded:j,rowData:O,rowIndex:A,rowKey:K}){var Y,Z;const $=[...s(d)],R=$.indexOf(K);j?R===-1&&$.push(K):R>-1&&$.splice(R,1),d.value=$,u("update:expandedRowKeys",$),(Y=e.onRowExpand)==null||Y.call(e,{expanded:j,rowData:O,rowIndex:A,rowKey:K}),(Z=e.onExpandedRowsChange)==null||Z.call(e,$),r.vnode.el.querySelector(`.${a.is("hovered")}[rowkey="${String(K)}"]`)&&Qe(()=>b({hovered:!0,rowKey:K}))}const _=Ra(()=>{var j,O,A,K;c.value=!0,h.value={...s(h),...s(v)},z(s(p),!1),v.value={},p.value=null,(j=t.value)==null||j.forceUpdate(),(O=n.value)==null||O.forceUpdate(),(A=o.value)==null||A.forceUpdate(),(K=i.proxy)==null||K.$forceUpdate(),c.value=!1},0);function z(j,O=!1){s(k)&&[t,n,o].forEach(A=>{const K=s(A);K&&K.resetAfterRowIndex(j,O)})}function I(j,O,A){const K=s(p);(K===null||K>A)&&(p.value=A),v.value[j]=O}function P({rowKey:j,height:O,rowIndex:A},K){K?K===VT.RIGHT?y.value[j]=O:g.value[j]=O:m.value[j]=O;const Y=Math.max(...[g,y,m].map(Z=>Z.value[j]||0));s(h)[j]!==Y&&(I(j,Y,A),_())}return{expandedRowKeys:d,lastRenderedRowIndex:f,isDynamic:k,isResetting:c,rowHeights:h,resetAfterIndex:z,onRowExpanded:x,onRowHovered:b,onRowsRendered:C,onRowHeightChange:P}},uZ=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:o})=>{const r=L({}),a=S(()=>{const i={},{data:u,rowKey:c}=e,d=s(t);if(!d||!d.length)return u;const f=[],p=new Set;d.forEach(v=>p.add(v));let h=u.slice();for(h.forEach(v=>i[v[c]]=0);h.length>0;){const v=h.shift();f.push(v),p.has(v[c])&&Be(v.children)&&v.children.length>0&&(h=[...v.children,...h],v.children.forEach(g=>i[g[c]]=i[v[c]]+1))}return r.value=i,f}),l=S(()=>{const{data:i,expandColumnKey:u}=e;return u?s(a):i});return ke(l,(i,u)=>{i!==u&&(n.value=-1,o(0,!0))}),{data:l,depthMap:r}},cZ=(e,t)=>e+t,Qf=e=>Be(e)?e.reduce(cZ,0):e,Zs=(e,t,n={})=>it(e)?e(t):e??n,Jl=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Nn(e[t])}),e),FT=e=>zn(e)?t=>mt(e,t):e,dZ=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:o,fixedColumnsOnRight:r})=>{const a=S(()=>{const{fixed:y,width:k,vScrollbarSize:C}=e,b=k-C;return y?Math.max(Math.round(s(t)),b):b}),l=S(()=>{const{height:y=0,maxHeight:k=0,footerHeight:C,hScrollbarSize:b}=e;if(k>0){const x=s(p),_=s(n),I=s(f)+x+_+b;return Math.min(I,k-C)}return y-C}),i=S(()=>{const{maxHeight:y}=e,k=s(l);if(ft(y)&&y>0)return k;const C=s(n)+s(f)+s(p);return Math.min(k,C)}),u=y=>y.width,c=S(()=>Qf(s(o).map(u))),d=S(()=>Qf(s(r).map(u))),f=S(()=>Qf(e.headerHeight)),p=S(()=>{var y;return(((y=e.fixedData)==null?void 0:y.length)||0)*e.rowHeight}),h=S(()=>s(l)-s(f)-s(p)),v=S(()=>{const{style:y={},height:k,width:C}=e;return Jl({...y,height:k,width:C})}),g=S(()=>Jl({height:e.footerHeight})),m=S(()=>({top:Nn(s(f)),bottom:Nn(e.footerHeight),width:Nn(e.width)}));return{bodyWidth:a,fixedTableHeight:i,mainTableHeight:l,leftTableWidth:c,rightTableWidth:d,windowHeight:h,footerHeight:g,emptyStyle:m,rootStyle:v,headerHeight:f}};function fZ(e){const t=L(),n=L(),o=L(),{columns:r,columnsStyles:a,columnsTotalWidth:l,fixedColumnsOnLeft:i,fixedColumnsOnRight:u,hasFixedColumns:c,mainColumns:d,onColumnSorted:f}=lZ(e,sn(e,"columns"),sn(e,"fixed")),{scrollTo:p,scrollToLeft:h,scrollToTop:v,scrollToRow:g,onScroll:m,onVerticalScroll:y,scrollPos:k}=sZ(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,onMaybeEndReached:le}),C=Ie("table-v2"),b=Lt(),x=xn(!1),{expandedRowKeys:_,lastRenderedRowIndex:z,isDynamic:I,isResetting:P,rowHeights:j,resetAfterIndex:O,onRowExpanded:A,onRowHeightChange:K,onRowHovered:Y,onRowsRendered:Z}=iZ(e,{mainTableRef:t,leftTableRef:n,rightTableRef:o,tableInstance:b,ns:C,isScrolling:x}),{data:$,depthMap:R}=uZ(e,{expandedRowKeys:_,lastRenderedRowIndex:z,resetAfterIndex:O}),D=S(()=>{const{estimatedRowHeight:me,rowHeight:_e}=e,Ce=s($);return ft(me)?Object.values(s(j)).reduce((we,$e)=>we+$e,0):Ce.length*_e}),{bodyWidth:B,fixedTableHeight:q,mainTableHeight:G,leftTableWidth:X,rightTableWidth:J,windowHeight:ue,footerHeight:ae,emptyStyle:ve,rootStyle:re,headerHeight:ce}=dZ(e,{columnsTotalWidth:l,fixedColumnsOnLeft:i,fixedColumnsOnRight:u,rowsHeight:D}),oe=L(),ie=S(()=>{const me=s($).length===0;return Be(e.fixedData)?e.fixedData.length===0&&me:me});function de(me){const{estimatedRowHeight:_e,rowHeight:Ce,rowKey:we}=e;return _e?s(j)[s($)[me][we]]||_e:Ce}const U=L(!1);function le(){const{onEndReached:me}=e;if(!me)return;const{scrollTop:_e}=s(k),Ce=s(D),we=s(ue),$e=Ce-(_e+we)+e.hScrollbarSize;!U.value&&s(z)>=0&&Ce<=_e+s(G)-s(ce)?(U.value=!0,me($e)):U.value=!1}return ke(()=>s(D),()=>U.value=!1),ke(()=>e.expandedRowKeys,me=>_.value=me,{deep:!0}),{columns:r,containerRef:oe,mainTableRef:t,leftTableRef:n,rightTableRef:o,isDynamic:I,isResetting:P,isScrolling:x,hasFixedColumns:c,columnsStyles:a,columnsTotalWidth:l,data:$,expandedRowKeys:_,depthMap:R,fixedColumnsOnLeft:i,fixedColumnsOnRight:u,mainColumns:d,bodyWidth:B,emptyStyle:ve,rootStyle:re,footerHeight:ae,mainTableHeight:G,fixedTableHeight:q,leftTableWidth:X,rightTableWidth:J,showEmpty:ie,getRowHeight:de,onColumnSorted:f,onRowHovered:Y,onRowExpanded:A,onRowsRendered:Z,onRowHeightChange:K,scrollTo:p,scrollToLeft:h,scrollToTop:v,scrollToRow:g,onScroll:m,onVerticalScroll:y}}const t0=Symbol("tableV2"),qT="tableV2GridScrollLeft",KT=String,Ed={type:se(Array),required:!0},n0={type:se(Array)},HT={...n0,required:!0},hZ=String,vk={type:se(Array),default:()=>jn([])},$s={type:Number,required:!0},WT={type:se([String,Number,Symbol]),default:"id"},mk={type:se(Object)},js=qe({class:String,columns:Ed,columnsStyles:{type:se(Object),required:!0},depth:Number,expandColumnKey:hZ,estimatedRowHeight:{...Fs.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:se(Function)},onRowHover:{type:se(Function)},onRowHeightChange:{type:se(Function)},rowData:{type:se(Object),required:!0},rowEventHandlers:{type:se(Object)},rowIndex:{type:Number,required:!0},rowKey:WT,style:{type:se(Object)}}),uv={type:Number,required:!0},o0=qe({class:String,columns:Ed,fixedHeaderData:{type:se(Array)},headerData:{type:se(Array),required:!0},headerHeight:{type:se([Number,Array]),default:50},rowWidth:uv,rowHeight:{type:Number,default:50},height:uv,width:uv}),Jf=qe({columns:Ed,data:HT,fixedData:n0,estimatedRowHeight:js.estimatedRowHeight,width:$s,height:$s,headerWidth:$s,headerHeight:o0.headerHeight,bodyWidth:$s,rowHeight:$s,cache:dT.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Fs.scrollbarAlwaysOn,scrollbarStartGap:Fs.scrollbarStartGap,scrollbarEndGap:Fs.scrollbarEndGap,class:KT,style:mk,containerStyle:mk,getRowHeight:{type:se(Function),required:!0},rowKey:js.rowKey,onRowsRendered:{type:se(Function)},onScroll:{type:se(Function)}}),pZ=qe({cache:Jf.cache,estimatedRowHeight:js.estimatedRowHeight,rowKey:WT,headerClass:{type:se([String,Function])},headerProps:{type:se([Object,Function])},headerCellProps:{type:se([Object,Function])},headerHeight:o0.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:se([String,Function])},rowProps:{type:se([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:se([Object,Function])},columns:Ed,data:HT,dataGetter:{type:se(Function)},fixedData:n0,expandColumnKey:js.expandColumnKey,expandedRowKeys:vk,defaultExpandedRowKeys:vk,class:KT,fixed:Boolean,style:{type:se(Object)},width:$s,height:$s,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Fs.hScrollbarSize,vScrollbarSize:Fs.vScrollbarSize,scrollbarAlwaysOn:pT.alwaysOn,sortBy:{type:se(Object),default:()=>({})},sortState:{type:se(Object),default:void 0},onColumnSort:{type:se(Function)},onExpandedRowsChange:{type:se(Function)},onEndReached:{type:se(Function)},onRowExpand:js.onRowExpand,onScroll:Jf.onScroll,onRowsRendered:Jf.onRowsRendered,rowEventHandlers:js.rowEventHandlers}),gZ="ElTableV2Header",vZ=te({name:gZ,props:o0,setup(e,{slots:t,expose:n}){const o=Ie("table-v2"),r=et(qT),a=L(),l=S(()=>Jl({width:e.width,height:e.height})),i=S(()=>Jl({width:e.rowWidth,height:e.height})),u=S(()=>bo(s(e.headerHeight))),c=p=>{const h=s(a);Qe(()=>{h?.scroll&&h.scroll({left:p})})},d=()=>{const p=o.e("fixed-header-row"),{columns:h,fixedHeaderData:v,rowHeight:g}=e;return v?.map((m,y)=>{var k;const C=Jl({height:g,width:"100%"});return(k=t.fixed)==null?void 0:k.call(t,{class:p,columns:h,rowData:m,rowIndex:-(y+1),style:C})})},f=()=>{const p=o.e("dynamic-header-row"),{columns:h}=e;return s(u).map((v,g)=>{var m;const y=Jl({width:"100%",height:v});return(m=t.dynamic)==null?void 0:m.call(t,{class:p,columns:h,headerIndex:g,style:y})})};return fa(()=>{r?.value&&c(r.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return Q("div",{ref:a,class:e.class,style:s(l),role:"rowgroup"},[Q("div",{style:s(i),class:o.e("header")},[f(),d()])])}}});var mZ=vZ;const yZ=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:o},r)=>{let a=null,l=0,i=0;const u=(d,f)=>{const p=d<=0&&t.value||d>=0&&e.value,h=f<=0&&o.value||f>=0&&n.value;return p&&h};return{hasReachedEdge:u,onWheel:d=>{Gs(a);let f=d.deltaX,p=d.deltaY;Math.abs(f)>Math.abs(p)?p=0:f=0,d.shiftKey&&p!==0&&(f=p,p=0),!(u(l,i)&&u(l+f,i+p))&&(l+=f,i+=p,d.preventDefault(),a=ss(()=>{r(l,i),l=0,i=0}))}}},UT=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:o,getColumnStopIndexForStartIndex:r,getEstimatedTotalHeight:a,getEstimatedTotalWidth:l,getColumnOffset:i,getRowOffset:u,getRowPosition:c,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:f,initCache:p,injectToInstance:h,validateProps:v})=>te({name:e??"ElVirtualList",props:Fs,emits:[Ah,jh],setup(g,{emit:m,expose:y,slots:k}){const C=Ie("vl");v(g);const b=Lt(),x=L(p(g,b));h?.(b,x);const _=L(),z=L(),I=L(),P=L(null),j=L({isScrolling:!1,scrollLeft:ft(g.initScrollLeft)?g.initScrollLeft:0,scrollTop:ft(g.initScrollTop)?g.initScrollTop:0,updateRequested:!1,xAxisScrollDir:$i,yAxisScrollDir:$i}),O=sT(),A=S(()=>Number.parseInt(`${g.height}`,10)),K=S(()=>Number.parseInt(`${g.width}`,10)),Y=S(()=>{const{totalColumn:we,totalRow:$e,columnCache:Re}=g,{isScrolling:Ke,xAxisScrollDir:De,scrollLeft:at}=s(j);if(we===0||$e===0)return[0,0,0,0];const Ze=o(g,at,s(x)),ot=r(g,Ze,at,s(x)),gt=!Ke||De===Nh?Math.max(1,Re):1,Ne=!Ke||De===$i?Math.max(1,Re):1;return[Math.max(0,Ze-gt),Math.max(0,Math.min(we-1,ot+Ne)),Ze,ot]}),Z=S(()=>{const{totalColumn:we,totalRow:$e,rowCache:Re}=g,{isScrolling:Ke,yAxisScrollDir:De,scrollTop:at}=s(j);if(we===0||$e===0)return[0,0,0,0];const Ze=d(g,at,s(x)),ot=f(g,Ze,at,s(x)),gt=!Ke||De===Nh?Math.max(1,Re):1,Ne=!Ke||De===$i?Math.max(1,Re):1;return[Math.max(0,Ze-gt),Math.max(0,Math.min($e-1,ot+Ne)),Ze,ot]}),$=S(()=>a(g,s(x))),R=S(()=>l(g,s(x))),D=S(()=>{var we;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:g.direction,height:ft(g.height)?`${g.height}px`:g.height,width:ft(g.width)?`${g.width}px`:g.width},(we=g.style)!=null?we:{}]}),B=S(()=>{const we=`${s(R)}px`;return{height:`${s($)}px`,pointerEvents:s(j).isScrolling?"none":void 0,width:we}}),q=()=>{const{totalColumn:we,totalRow:$e}=g;if(we>0&&$e>0){const[ot,gt,Ne,vt]=s(Y),[_t,Gt,on,yt]=s(Z);m(Ah,{columnCacheStart:ot,columnCacheEnd:gt,rowCacheStart:_t,rowCacheEnd:Gt,columnVisibleStart:Ne,columnVisibleEnd:vt,rowVisibleStart:on,rowVisibleEnd:yt})}const{scrollLeft:Re,scrollTop:Ke,updateRequested:De,xAxisScrollDir:at,yAxisScrollDir:Ze}=s(j);m(jh,{xAxisScrollDir:at,scrollLeft:Re,yAxisScrollDir:Ze,scrollTop:Ke,updateRequested:De})},G=we=>{const{clientHeight:$e,clientWidth:Re,scrollHeight:Ke,scrollLeft:De,scrollTop:at,scrollWidth:Ze}=we.currentTarget,ot=s(j);if(ot.scrollTop===at&&ot.scrollLeft===De)return;let gt=De;if(ek(g.direction))switch(Dh()){case Wc:gt=-De;break;case Gb:gt=Ze-Re-De;break}j.value={...ot,isScrolling:!0,scrollLeft:gt,scrollTop:Math.max(0,Math.min(at,Ke-$e)),updateRequested:!0,xAxisScrollDir:As(ot.scrollLeft,gt),yAxisScrollDir:As(ot.scrollTop,at)},Qe(()=>ce()),oe(),q()},X=(we,$e)=>{const Re=s(A),Ke=($.value-Re)/$e*we;ae({scrollTop:Math.min($.value-Re,Ke)})},J=(we,$e)=>{const Re=s(K),Ke=(R.value-Re)/$e*we;ae({scrollLeft:Math.min(R.value-Re,Ke)})},{onWheel:ue}=yZ({atXStartEdge:S(()=>j.value.scrollLeft<=0),atXEndEdge:S(()=>j.value.scrollLeft>=R.value-s(K)),atYStartEdge:S(()=>j.value.scrollTop<=0),atYEndEdge:S(()=>j.value.scrollTop>=$.value-s(A))},(we,$e)=>{var Re,Ke,De,at;(Ke=(Re=z.value)==null?void 0:Re.onMouseUp)==null||Ke.call(Re),(at=(De=I.value)==null?void 0:De.onMouseUp)==null||at.call(De);const Ze=s(K),ot=s(A);ae({scrollLeft:Math.min(j.value.scrollLeft+we,R.value-Ze),scrollTop:Math.min(j.value.scrollTop+$e,$.value-ot)})});gn(_,"wheel",ue,{passive:!1});const ae=({scrollLeft:we=j.value.scrollLeft,scrollTop:$e=j.value.scrollTop})=>{we=Math.max(we,0),$e=Math.max($e,0);const Re=s(j);$e===Re.scrollTop&&we===Re.scrollLeft||(j.value={...Re,xAxisScrollDir:As(Re.scrollLeft,we),yAxisScrollDir:As(Re.scrollTop,$e),scrollLeft:we,scrollTop:$e,updateRequested:!0},Qe(()=>ce()),oe(),q())},ve=(we=0,$e=0,Re=Br)=>{const Ke=s(j);$e=Math.max(0,Math.min($e,g.totalColumn-1)),we=Math.max(0,Math.min(we,g.totalRow-1));const De=A2(C.namespace.value),at=s(x),Ze=a(g,at),ot=l(g,at);ae({scrollLeft:i(g,$e,Re,Ke.scrollLeft,at,ot>g.width?De:0),scrollTop:u(g,we,Re,Ke.scrollTop,at,Ze>g.height?De:0)})},re=(we,$e)=>{const{columnWidth:Re,direction:Ke,rowHeight:De}=g,at=O.value(t&&Re,t&&De,t&&Ke),Ze=`${we},${$e}`;if(rn(at,Ze))return at[Ze];{const[,ot]=n(g,$e,s(x)),gt=s(x),Ne=ek(Ke),[vt,_t]=c(g,we,gt),[Gt]=n(g,$e,gt);return at[Ze]={position:"absolute",left:Ne?void 0:`${ot}px`,right:Ne?`${ot}px`:void 0,top:`${_t}px`,height:`${vt}px`,width:`${Gt}px`},at[Ze]}},ce=()=>{j.value.isScrolling=!1,Qe(()=>{O.value(-1,null,null)})};Bt(()=>{if(!nn)return;const{initScrollLeft:we,initScrollTop:$e}=g,Re=s(_);Re&&(ft(we)&&(Re.scrollLeft=we),ft($e)&&(Re.scrollTop=$e)),q()});const oe=()=>{const{direction:we}=g,{scrollLeft:$e,scrollTop:Re,updateRequested:Ke}=s(j),De=s(_);if(Ke&&De){if(we===Di)switch(Dh()){case Wc:{De.scrollLeft=-$e;break}case Yb:{De.scrollLeft=$e;break}default:{const{clientWidth:at,scrollWidth:Ze}=De;De.scrollLeft=Ze-at-$e;break}}else De.scrollLeft=Math.max(0,$e);De.scrollTop=Math.max(0,Re)}},{resetAfterColumnIndex:ie,resetAfterRowIndex:de,resetAfter:U}=b.proxy;y({windowRef:_,innerRef:P,getItemStyleCache:O,scrollTo:ae,scrollToItem:ve,states:j,resetAfterColumnIndex:ie,resetAfterRowIndex:de,resetAfter:U});const le=()=>{const{scrollbarAlwaysOn:we,scrollbarStartGap:$e,scrollbarEndGap:Re,totalColumn:Ke,totalRow:De}=g,at=s(K),Ze=s(A),ot=s(R),gt=s($),{scrollLeft:Ne,scrollTop:vt}=s(j),_t=mt(wm,{ref:z,alwaysOn:we,startGap:$e,endGap:Re,class:C.e("horizontal"),clientSize:at,layout:"horizontal",onScroll:J,ratio:at*100/ot,scrollFrom:Ne/(ot-at),total:De,visible:!0}),Gt=mt(wm,{ref:I,alwaysOn:we,startGap:$e,endGap:Re,class:C.e("vertical"),clientSize:Ze,layout:"vertical",onScroll:X,ratio:Ze*100/gt,scrollFrom:vt/(gt-Ze),total:Ke,visible:!0});return{horizontalScrollbar:_t,verticalScrollbar:Gt}},me=()=>{var we;const[$e,Re]=s(Y),[Ke,De]=s(Z),{data:at,totalColumn:Ze,totalRow:ot,useIsScrolling:gt,itemKey:Ne}=g,vt=[];if(ot>0&&Ze>0)for(let _t=Ke;_t<=De;_t++)for(let Gt=$e;Gt<=Re;Gt++){const on=Ne({columnIndex:Gt,data:at,rowIndex:_t});vt.push(mt(tt,{key:on},(we=k.default)==null?void 0:we.call(k,{columnIndex:Gt,data:at,isScrolling:gt?s(j).isScrolling:void 0,style:re(_t,Gt),rowIndex:_t})))}return vt},_e=()=>{const we=Rt(g.innerElement),$e=me();return[mt(we,Vt(g.innerProps,{style:s(B),ref:P}),rt(we)?$e:{default:()=>$e})]};return()=>{const we=Rt(g.containerElement),{horizontalScrollbar:$e,verticalScrollbar:Re}=le(),Ke=_e();return mt("div",{key:0,class:C.e("wrapper"),role:g.role},[mt(we,{class:g.className,style:s(D),onScroll:G,ref:_},rt(we)?Ke:{default:()=>Ke}),$e,Re])}}}),{max:Vh,min:YT,floor:GT}=Math,bZ={column:"columnWidth",row:"rowHeight"},Mm={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ol=(e,t,n,o)=>{const[r,a,l]=[n[o],e[bZ[o]],n[Mm[o]]];if(t>l){let i=0;if(l>=0){const u=r[l];i=u.offset+u.size}for(let u=l+1;u<=t;u++){const c=a(u);r[u]={offset:i,size:c},i+=c}n[Mm[o]]=t}return r[t]},XT=(e,t,n,o,r,a)=>{for(;n<=o;){const l=n+GT((o-n)/2),i=ol(e,l,t,a).offset;if(i===r)return l;i<r?n=l+1:o=l-1}return Vh(0,n-1)},wZ=(e,t,n,o,r)=>{const a=r==="column"?e.totalColumn:e.totalRow;let l=1;for(;n<a&&ol(e,n,t,r).offset<o;)n+=l,l*=2;return XT(e,t,GT(n/2),YT(n,a-1),o,r)},yk=(e,t,n,o)=>{const[r,a]=[t[o],t[Mm[o]]];return(a>0?r[a].offset:0)>=n?XT(e,t,0,a,n,o):wZ(e,t,Vh(0,a),n,o)},ZT=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:o})=>{let r=0;if(n>=e&&(n=e-1),n>=0){const i=o[n];r=i.offset+i.size}const l=(e-n-1)*t;return r+l},QT=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:o})=>{let r=0;if(o>e&&(o=e-1),o>=0){const i=t[o];r=i.offset+i.size}const l=(e-o-1)*n;return r+l},CZ={column:QT,row:ZT},bk=(e,t,n,o,r,a,l)=>{const[i,u]=[a==="row"?e.height:e.width,CZ[a]],c=ol(e,t,r,a),d=u(e,r),f=Vh(0,YT(d-i,c.offset)),p=Vh(0,c.offset-i+l+c.size);switch(n===Bp&&(o>=p-i&&o<=f+i?n=Br:n=Oa),n){case Kc:return f;case Hc:return p;case Oa:return Math.round(p+(f-p)/2);case Br:default:return o>=p&&o<=f?o:p>f||o<p?p:f}},kZ=UT({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const o=ol(e,t,n,"column");return[o.size,o.offset]},getRowPosition:(e,t,n)=>{const o=ol(e,t,n,"row");return[o.size,o.offset]},getColumnOffset:(e,t,n,o,r,a)=>bk(e,t,n,o,r,"column",a),getRowOffset:(e,t,n,o,r,a)=>bk(e,t,n,o,r,"row",a),getColumnStartIndexForOffset:(e,t,n)=>yk(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,o)=>{const r=ol(e,t,o,"column"),a=n+e.width;let l=r.offset+r.size,i=t;for(;i<e.totalColumn-1&&l<a;)i++,l+=ol(e,t,o,"column").size;return i},getEstimatedTotalHeight:ZT,getEstimatedTotalWidth:QT,getRowStartIndexForOffset:(e,t,n)=>yk(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,o)=>{const{totalRow:r,height:a}=e,l=ol(e,t,o,"row"),i=n+a;let u=l.size+l.offset,c=t;for(;c<r-1&&u<i;)c++,u+=ol(e,c,o,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:a,rowIndex:l},i)=>{var u,c;i=Zt(i)?!0:i,ft(a)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,a-1)),ft(l)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,l-1)),(u=e.exposed)==null||u.getItemStyleCache.value(-1,null,null),i&&((c=e.proxy)==null||c.$forceUpdate())},o=(a,l)=>{n({columnIndex:a},l)},r=(a,l)=>{n({rowIndex:a},l)};Object.assign(e.proxy,{resetAfterColumnIndex:o,resetAfterRowIndex:r,resetAfter:n})},initCache:({estimatedColumnWidth:e=pm,estimatedRowHeight:t=pm})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),SZ=UT({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},o,r,a,l,i)=>{n=Number(n);const u=Math.max(0,e*t-n),c=Math.min(u,o*t),d=Math.max(0,o*t-n+i+t);switch(r==="smart"&&(a>=d-n&&a<=c+n?r=Br:r=Oa),r){case Kc:return c;case Hc:return d;case Oa:{const f=Math.round(d+(c-d)/2);return f<Math.ceil(n/2)?0:f>u+Math.floor(n/2)?u:f}case Br:default:return a>=d&&a<=c?a:d>c||a<d?d:c}},getRowOffset:({rowHeight:e,height:t,totalRow:n},o,r,a,l,i)=>{t=Number(t);const u=Math.max(0,n*e-t),c=Math.min(u,o*e),d=Math.max(0,o*e-t+i+e);switch(r===Bp&&(a>=d-t&&a<=c+t?r=Br:r=Oa),r){case Kc:return c;case Hc:return d;case Oa:{const f=Math.round(d+(c-d)/2);return f<Math.ceil(t/2)?0:f>u+Math.floor(t/2)?u:f}case Br:default:return a>=d&&a<=c?a:d>c||a<d?d:c}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},o,r)=>{const a=o*e,l=Math.ceil((n+r-a)/e);return Math.max(0,Math.min(t-1,o+l-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},o,r)=>{const a=o*e,l=Math.ceil((n+r-a)/e);return Math.max(0,Math.min(t-1,o+l-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),_Z="ElTableV2Grid",xZ=e=>{const t=L(),n=L(),o=L(0),r=S(()=>{const{data:m,rowHeight:y,estimatedRowHeight:k}=e;if(!k)return m.length*y}),a=S(()=>{const{fixedData:m,rowHeight:y}=e;return(m?.length||0)*y}),l=S(()=>Qf(e.headerHeight)),i=S(()=>{const{height:m}=e;return Math.max(0,m-s(l)-s(a))}),u=S(()=>s(l)+s(a)>0),c=({data:m,rowIndex:y})=>m[y][e.rowKey];function d({rowCacheStart:m,rowCacheEnd:y,rowVisibleStart:k,rowVisibleEnd:C}){var b;(b=e.onRowsRendered)==null||b.call(e,{rowCacheStart:m,rowCacheEnd:y,rowVisibleStart:k,rowVisibleEnd:C})}function f(m,y){var k;(k=n.value)==null||k.resetAfterRowIndex(m,y)}function p(m,y){const k=s(t),C=s(n);At(m)?(k?.scrollToLeft(m.scrollLeft),o.value=m.scrollLeft,C?.scrollTo(m)):(k?.scrollToLeft(m),o.value=m,C?.scrollTo({scrollLeft:m,scrollTop:y}))}function h(m){var y;(y=s(n))==null||y.scrollTo({scrollTop:m})}function v(m,y){var k;(k=s(n))==null||k.scrollToItem(m,1,y)}function g(){var m,y;(m=s(n))==null||m.$forceUpdate(),(y=s(t))==null||y.$forceUpdate()}return ke(()=>e.bodyWidth,()=>{var m;ft(e.estimatedRowHeight)&&((m=n.value)==null||m.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:g,fixedRowHeight:a,gridHeight:i,hasHeader:u,headerHeight:l,headerRef:t,totalHeight:r,itemKey:c,onItemRendered:d,resetAfterRowIndex:f,scrollTo:p,scrollToTop:h,scrollToRow:v,scrollLeft:o}},EZ=te({name:_Z,props:Jf,setup(e,{slots:t,expose:n}){const{ns:o}=et(t0),{bodyRef:r,fixedRowHeight:a,gridHeight:l,hasHeader:i,headerRef:u,headerHeight:c,totalHeight:d,forceUpdate:f,itemKey:p,onItemRendered:h,resetAfterRowIndex:v,scrollTo:g,scrollToTop:m,scrollToRow:y,scrollLeft:k}=xZ(e);Ut(qT,k),cp(async()=>{var b;await Qe();const x=(b=r.value)==null?void 0:b.states.scrollTop;x&&m(Math.round(x)+1)}),n({forceUpdate:f,totalHeight:d,scrollTo:g,scrollToTop:m,scrollToRow:y,resetAfterRowIndex:v});const C=()=>e.bodyWidth;return()=>{const{cache:b,columns:x,data:_,fixedData:z,useIsScrolling:I,scrollbarAlwaysOn:P,scrollbarEndGap:j,scrollbarStartGap:O,style:A,rowHeight:K,bodyWidth:Y,estimatedRowHeight:Z,headerWidth:$,height:R,width:D,getRowHeight:B,onScroll:q}=e,G=ft(Z),X=G?kZ:SZ,J=s(c);return Q("div",{role:"table",class:[o.e("table"),e.class],style:A},[Q(X,{ref:r,data:_,useIsScrolling:I,itemKey:p,columnCache:0,columnWidth:G?C:Y,totalColumn:1,totalRow:_.length,rowCache:b,rowHeight:G?B:K,width:D,height:s(l),class:o.e("body"),role:"rowgroup",scrollbarStartGap:O,scrollbarEndGap:j,scrollbarAlwaysOn:P,onScroll:q,onItemRendered:h,perfMode:!1},{default:ue=>{var ae;const ve=_[ue.rowIndex];return(ae=t.row)==null?void 0:ae.call(t,{...ue,columns:x,rowData:ve})}}),s(i)&&Q(mZ,{ref:u,class:o.e("header-wrapper"),columns:x,headerData:_,headerHeight:e.headerHeight,fixedHeaderData:z,rowWidth:$,rowHeight:K,width:D,height:Math.min(J+s(a),R)},{dynamic:t.header,fixed:t.row})])}}});var r0=EZ;function zZ(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const TZ=(e,{slots:t})=>{const{mainTableRef:n,...o}=e;return Q(r0,Vt({ref:n},o),zZ(t)?t:{default:()=>[t]})};var OZ=TZ;function $Z(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const PZ=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...o}=e;return Q(r0,Vt({ref:n},o),$Z(t)?t:{default:()=>[t]})};var IZ=PZ;function MZ(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const AZ=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...o}=e;return Q(r0,Vt({ref:n},o),MZ(t)?t:{default:()=>[t]})};var jZ=AZ;const NZ=e=>{const{isScrolling:t}=et(t0),n=L(!1),o=L(),r=S(()=>ft(e.estimatedRowHeight)&&e.rowIndex>=0),a=(u=!1)=>{const c=s(o);if(!c)return;const{columns:d,onRowHeightChange:f,rowKey:p,rowIndex:h,style:v}=e,{height:g}=c.getBoundingClientRect();n.value=!0,Qe(()=>{if(u||g!==Number.parseInt(v.height)){const m=d[0],y=m?.placeholderSign===Xc;f?.({rowKey:p,height:g,rowIndex:h},m&&!y&&m.fixed)}})},l=S(()=>{const{rowData:u,rowIndex:c,rowKey:d,onRowHover:f}=e,p=e.rowEventHandlers||{},h={};return Object.entries(p).forEach(([v,g])=>{it(g)&&(h[v]=m=>{g({event:m,rowData:u,rowIndex:c,rowKey:d})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:g})=>{const m=h[v];h[v]=y=>{f({event:y,hovered:g,rowData:u,rowIndex:c,rowKey:d}),m?.(y)}}),h}),i=u=>{const{onRowExpand:c,rowData:d,rowIndex:f,rowKey:p}=e;c?.({expanded:u,rowData:d,rowIndex:f,rowKey:p})};return Bt(()=>{s(r)&&a(!0)}),{isScrolling:t,measurable:r,measured:n,rowRef:o,eventHandlers:l,onExpand:i}},RZ="ElTableV2TableRow",DZ=te({name:RZ,props:js,setup(e,{expose:t,slots:n,attrs:o}){const{eventHandlers:r,isScrolling:a,measurable:l,measured:i,rowRef:u,onExpand:c}=NZ(e);return t({onExpand:c}),()=>{const{columns:d,columnsStyles:f,expandColumnKey:p,depth:h,rowData:v,rowIndex:g,style:m}=e;let y=d.map((k,C)=>{const b=Be(v.children)&&v.children.length>0&&k.key===p;return n.cell({column:k,columns:d,columnIndex:C,depth:h,style:f[k.key],rowData:v,rowIndex:g,isScrolling:s(a),expandIconProps:b?{rowData:v,rowIndex:g,onExpand:c}:void 0})});if(n.row&&(y=n.row({cells:y.map(k=>Be(k)&&k.length===1?k[0]:k),style:m,columns:d,depth:h,rowData:v,rowIndex:g,isScrolling:s(a)})),s(l)){const{height:k,...C}=m||{},b=s(i);return Q("div",Vt({ref:u,class:e.class,style:b?m:C,role:"row"},o,s(r)),[y])}return Q("div",Vt(o,{ref:u,class:e.class,style:m,role:"row"},s(r)),[y])}}});var LZ=DZ;function BZ(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const VZ=(e,{slots:t})=>{const{columns:n,columnsStyles:o,depthMap:r,expandColumnKey:a,expandedRowKeys:l,estimatedRowHeight:i,hasFixedColumns:u,rowData:c,rowIndex:d,style:f,isScrolling:p,rowProps:h,rowClass:v,rowKey:g,rowEventHandlers:m,ns:y,onRowHovered:k,onRowExpanded:C}=e,b=Zs(v,{columns:n,rowData:c,rowIndex:d},""),x=Zs(h,{columns:n,rowData:c,rowIndex:d}),_=c[g],z=r[_]||0,I=!!a,P=d<0,j=[y.e("row"),b,y.is("expanded",I&&l.includes(_)),y.is("fixed",!z&&P),y.is("customized",!!t.row),{[y.e(`row-depth-${z}`)]:I&&d>=0}],O=u?k:void 0,A={...x,columns:n,columnsStyles:o,class:j,depth:z,expandColumnKey:a,estimatedRowHeight:P?void 0:i,isScrolling:p,rowIndex:d,rowData:c,rowKey:_,rowEventHandlers:m,style:f};return Q(LZ,Vt(A,{onRowExpand:C,onMouseenter:Z=>{O?.({hovered:!0,rowKey:_,event:Z,rowData:c,rowIndex:d})},onMouseleave:Z=>{O?.({hovered:!1,rowKey:_,event:Z,rowData:c,rowIndex:d})},rowkey:_}),BZ(t)?t:{default:()=>[t]})};var FZ=VZ;const a0=(e,{slots:t})=>{var n;const{cellData:o,style:r}=e,a=((n=o?.toString)==null?void 0:n.call(o))||"",l=he(t,"default",e,()=>[a]);return Q("div",{class:e.class,title:a,style:r},[l])};a0.displayName="ElTableV2Cell";a0.inheritAttrs=!1;var qZ=a0;const KZ=e=>{const{expanded:t,expandable:n,onExpand:o,style:r,size:a}=e,l={onClick:n?()=>o(!t):void 0,class:e.class};return Q(lt,Vt(l,{size:a,style:r}),{default:()=>[Q(Xo,null,null)]})};var HZ=KZ;const JT=({columns:e,column:t,columnIndex:n,depth:o,expandIconProps:r,isScrolling:a,rowData:l,rowIndex:i,style:u,expandedRowKeys:c,ns:d,cellProps:f,expandColumnKey:p,indentSize:h,iconSize:v,rowKey:g},{slots:m})=>{const y=Jl(u);if(t.placeholderSign===Xc)return Q("div",{class:d.em("row-cell","placeholder"),style:y},null);const{cellRenderer:k,dataKey:C,dataGetter:b}=t,x=it(b)?b({columns:e,column:t,columnIndex:n,rowData:l,rowIndex:i}):Zn(l,C??""),_=Zs(f,{cellData:x,columns:e,column:t,columnIndex:n,rowIndex:i,rowData:l}),z={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:x,isScrolling:a,rowData:l,rowIndex:i},I=FT(k),P=I?I(z):he(m,"default",z,()=>[Q(qZ,z,null)]),j=[d.e("row-cell"),t.class,t.align===Gc.CENTER&&d.is("align-center"),t.align===Gc.RIGHT&&d.is("align-right")],O=i>=0&&p&&t.key===p,A=i>=0&&c.includes(l[g]);let K;const Y=`margin-inline-start: ${o*h}px;`;return O&&(At(r)?K=Q(HZ,Vt(r,{class:[d.e("expand-icon"),d.is("expanded",A)],size:v,expanded:A,style:Y,expandable:!0}),null):K=Q("div",{style:[Y,`width: ${v}px; height: ${v}px;`].join(" ")},null)),Q("div",Vt({class:j,style:y},_,{role:"cell"}),[K,P])};JT.inheritAttrs=!1;var wk=JT;const WZ=qe({class:String,columns:Ed,columnsStyles:{type:se(Object),required:!0},headerIndex:Number,style:{type:se(Object)}}),UZ=te({name:"ElTableV2HeaderRow",props:WZ,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:o,headerIndex:r,style:a}=e;let l=n.map((i,u)=>t.cell({columns:n,column:i,columnIndex:u,headerIndex:r,style:o[i.key]}));return t.header&&(l=t.header({cells:l.map(i=>Be(i)&&i.length===1?i[0]:i),columns:n,headerIndex:r})),Q("div",{class:e.class,style:a,role:"row"},[l])}}});var YZ=UZ;function GZ(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const XZ=({columns:e,columnsStyles:t,headerIndex:n,style:o,headerClass:r,headerProps:a,ns:l},{slots:i})=>{const u={columns:e,headerIndex:n},c=[l.e("header-row"),Zs(r,u,""),l.is("customized",!!i.header)],d={...Zs(a,u),columnsStyles:t,class:c,columns:e,headerIndex:n,style:o};return Q(YZ,d,GZ(i)?i:{default:()=>[i]})};var ZZ=XZ;const l0=(e,{slots:t})=>he(t,"default",e,()=>{var n,o;return[Q("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(o=e.column)==null?void 0:o.title])]});l0.displayName="ElTableV2HeaderCell";l0.inheritAttrs=!1;var QZ=l0;const JZ=e=>{const{sortOrder:t}=e;return Q(lt,{size:14,class:e.class},{default:()=>[t===Yc.ASC?Q(vL,null,null):Q(pL,null,null)]})};var eQ=JZ;const tQ=(e,{slots:t})=>{const{column:n,ns:o,style:r,onColumnSorted:a}=e,l=Jl(r);if(n.placeholderSign===Xc)return Q("div",{class:o.em("header-row-cell","placeholder"),style:l},null);const{headerCellRenderer:i,headerClass:u,sortable:c}=n,d={...e,class:o.e("header-cell-text")},f=FT(i),p=f?f(d):he(t,"default",d,()=>[Q(QZ,d,null)]),{sortBy:h,sortState:v,headerCellProps:g}=e;let m,y;if(v){const b=v[n.key];m=!!Im[b],y=m?b:Yc.ASC}else m=n.key===h.key,y=m?h.order:Yc.ASC;const k=[o.e("header-cell"),Zs(u,e,""),n.align===Gc.CENTER&&o.is("align-center"),n.align===Gc.RIGHT&&o.is("align-right"),c&&o.is("sortable")],C={...Zs(g,e),onClick:n.sortable?a:void 0,class:k,style:l,"data-key":n.key};return Q("div",Vt(C,{role:"columnheader"}),[p,c&&Q(eQ,{class:[o.e("sort-icon"),m&&o.is("sorting")],sortOrder:y},null)])};var Ck=tQ;const eO=(e,{slots:t})=>{var n;return Q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};eO.displayName="ElTableV2Footer";var nQ=eO;const tO=(e,{slots:t})=>{const n=he(t,"default",{},()=>[Q(Uz,null,null)]);return Q("div",{class:e.class,style:e.style},[n])};tO.displayName="ElTableV2Empty";var oQ=tO;const nO=(e,{slots:t})=>{var n;return Q("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};nO.displayName="ElTableV2Overlay";var rQ=nO;function Ku(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!zn(e)}const aQ="ElTableV2",lQ=te({name:aQ,props:pZ,setup(e,{slots:t,expose:n}){const o=Ie("table-v2"),{columnsStyles:r,fixedColumnsOnLeft:a,fixedColumnsOnRight:l,mainColumns:i,mainTableHeight:u,fixedTableHeight:c,leftTableWidth:d,rightTableWidth:f,data:p,depthMap:h,expandedRowKeys:v,hasFixedColumns:g,mainTableRef:m,leftTableRef:y,rightTableRef:k,isDynamic:C,isResetting:b,isScrolling:x,bodyWidth:_,emptyStyle:z,rootStyle:I,footerHeight:P,showEmpty:j,scrollTo:O,scrollToLeft:A,scrollToTop:K,scrollToRow:Y,getRowHeight:Z,onColumnSorted:$,onRowHeightChange:R,onRowHovered:D,onRowExpanded:B,onRowsRendered:q,onScroll:G,onVerticalScroll:X}=fZ(e);return n({scrollTo:O,scrollToLeft:A,scrollToTop:K,scrollToRow:Y}),Ut(t0,{ns:o,isResetting:b,isScrolling:x}),()=>{const{cache:J,cellProps:ue,estimatedRowHeight:ae,expandColumnKey:ve,fixedData:re,headerHeight:ce,headerClass:oe,headerProps:ie,headerCellProps:de,sortBy:U,sortState:le,rowHeight:me,rowClass:_e,rowEventHandlers:Ce,rowKey:we,rowProps:$e,scrollbarAlwaysOn:Re,indentSize:Ke,iconSize:De,useIsScrolling:at,vScrollbarSize:Ze,width:ot}=e,gt=s(p),Ne={cache:J,class:o.e("main"),columns:s(i),data:gt,fixedData:re,estimatedRowHeight:ae,bodyWidth:s(_),headerHeight:ce,headerWidth:s(_),height:s(u),mainTableRef:m,rowKey:we,rowHeight:me,scrollbarAlwaysOn:Re,scrollbarStartGap:2,scrollbarEndGap:Ze,useIsScrolling:at,width:ot,getRowHeight:Z,onRowsRendered:q,onScroll:G},vt=s(d),_t=s(c),Gt={cache:J,class:o.e("left"),columns:s(a),data:gt,fixedData:re,estimatedRowHeight:ae,leftTableRef:y,rowHeight:me,bodyWidth:vt,headerWidth:vt,headerHeight:ce,height:_t,rowKey:we,scrollbarAlwaysOn:Re,scrollbarStartGap:2,scrollbarEndGap:Ze,useIsScrolling:at,width:vt,getRowHeight:Z,onScroll:X},on=s(f),yt={cache:J,class:o.e("right"),columns:s(l),data:gt,fixedData:re,estimatedRowHeight:ae,rightTableRef:k,rowHeight:me,bodyWidth:on,headerWidth:on,headerHeight:ce,height:_t,rowKey:we,scrollbarAlwaysOn:Re,scrollbarStartGap:2,scrollbarEndGap:Ze,width:on,style:`${o.cssVarName("table-scrollbar-size")}: ${Ze}px`,useIsScrolling:at,getRowHeight:Z,onScroll:X},Ot=s(r),Oe={ns:o,depthMap:s(h),columnsStyles:Ot,expandColumnKey:ve,expandedRowKeys:s(v),estimatedRowHeight:ae,hasFixedColumns:s(g),rowProps:$e,rowClass:_e,rowKey:we,rowEventHandlers:Ce,onRowHovered:D,onRowExpanded:B,onRowHeightChange:R},ut={cellProps:ue,expandColumnKey:ve,indentSize:Ke,iconSize:De,rowKey:we,expandedRowKeys:s(v),ns:o},pt={ns:o,headerClass:oe,headerProps:ie,columnsStyles:Ot},ye={ns:o,sortBy:U,sortState:le,headerCellProps:de,onColumnSorted:$},ct={row:Fe=>Q(FZ,Vt(Fe,Oe),{row:t.row,cell:en=>{let Fn;return t.cell?Q(wk,Vt(en,ut,{style:Ot[en.column.key]}),Ku(Fn=t.cell(en))?Fn:{default:()=>[Fn]}):Q(wk,Vt(en,ut,{style:Ot[en.column.key]}),null)}}),header:Fe=>Q(ZZ,Vt(Fe,pt),{header:t.header,cell:en=>{let Fn;return t["header-cell"]?Q(Ck,Vt(en,ye,{style:Ot[en.column.key]}),Ku(Fn=t["header-cell"](en))?Fn:{default:()=>[Fn]}):Q(Ck,Vt(en,ye,{style:Ot[en.column.key]}),null)}})},xe=[e.class,o.b(),o.e("root"),o.is("dynamic",s(C))],dt={class:o.e("footer"),style:s(P)};return Q("div",{class:xe,style:s(I)},[Q(OZ,Ne,Ku(ct)?ct:{default:()=>[ct]}),Q(IZ,Gt,Ku(ct)?ct:{default:()=>[ct]}),Q(jZ,yt,Ku(ct)?ct:{default:()=>[ct]}),t.footer&&Q(nQ,dt,{default:t.footer}),s(j)&&Q(oQ,{class:o.e("empty"),style:s(z)},{default:t.empty}),t.overlay&&Q(rQ,{class:o.e("overlay")},{default:t.overlay})])}}});var sQ=lQ;const iQ=qe({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:se(Function)}}),uQ=e=>{const t=L(),n=L(0),o=L(0);let r;return Bt(()=>{r=In(t,([a])=>{const{width:l,height:i}=a.contentRect,{paddingLeft:u,paddingRight:c,paddingTop:d,paddingBottom:f}=getComputedStyle(a.target),p=Number.parseInt(u)||0,h=Number.parseInt(c)||0,v=Number.parseInt(d)||0,g=Number.parseInt(f)||0;n.value=l-p-h,o.value=i-v-g}).stop}),cn(()=>{r?.()}),ke([n,o],([a,l])=>{var i;(i=e.onResize)==null||i.call(e,{width:a,height:l})}),{sizer:t,width:n,height:o}},cQ=te({name:"ElAutoResizer",props:iQ,setup(e,{slots:t}){const n=Ie("auto-resizer"),{height:o,width:r,sizer:a}=uQ(e),l={width:"100%",height:"100%"};return()=>{var i;return Q("div",{ref:a,class:n.b(),style:l},[(i=t.default)==null?void 0:i.call(t,{height:o.value,width:r.value})])}}});var dQ=cQ;const fQ=Pt(sQ),hQ=Pt(dQ),Vp=Symbol("tabsRootContextKey"),pQ=qe({tabs:{type:se(Array),default:()=>jn([])},tabRefs:{type:se(Object),default:()=>jn({})}}),oO="ElTabBar",gQ=te({name:oO}),vQ=te({...gQ,props:pQ,setup(e,{expose:t}){const n=e,o=et(Vp);o||Qn(oO,"<el-tabs><el-tab-bar /></el-tabs>");const r=Ie("tabs"),a=L(),l=L(),i=()=>{let p=0,h=0;const v=["top","bottom"].includes(o.props.tabPosition)?"width":"height",g=v==="width"?"x":"y",m=g==="x"?"left":"top";return n.tabs.every(y=>{if(Zt(y.paneName))return!1;const k=n.tabRefs[y.paneName];if(!k)return!1;if(!y.active)return!0;p=k[`offset${Zl(m)}`],h=k[`client${Zl(v)}`];const C=window.getComputedStyle(k);return v==="width"&&(h-=Number.parseFloat(C.paddingLeft)+Number.parseFloat(C.paddingRight),p+=Number.parseFloat(C.paddingLeft)),!1}),{[v]:`${h}px`,transform:`translate${Zl(g)}(${p}px)`}},u=()=>l.value=i(),c=[],d=()=>{c.forEach(p=>p.stop()),c.length=0,Object.values(n.tabRefs).forEach(p=>{c.push(In(p,u))})};ke(()=>n.tabs,async()=>{await Qe(),u(),d()},{immediate:!0});const f=In(a,()=>u());return cn(()=>{c.forEach(p=>p.stop()),c.length=0,f.stop()}),t({ref:a,update:u}),(p,h)=>(T(),F("div",{ref_key:"barRef",ref:a,class:M([s(r).e("active-bar"),s(r).is(s(o).props.tabPosition)]),style:ht(l.value)},null,6))}});var mQ=Ue(vQ,[["__file","tab-bar.vue"]]);const yQ=qe({panes:{type:se(Array),default:()=>jn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),bQ={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},kk="ElTabNav",wQ=te({name:kk,props:yQ,emits:bQ,setup(e,{expose:t,emit:n}){const o=et(Vp);o||Qn(kk,"<el-tabs><tab-nav /></el-tabs>");const r=Ie("tabs"),a=zD(),l=BD(),i=L(),u=L(),c=L(),d=L({}),f=L(),p=L(!1),h=L(0),v=L(!1),g=L(!0),m=xn(),y=S(()=>["top","bottom"].includes(o.props.tabPosition)),k=S(()=>y.value?"width":"height"),C=S(()=>({transform:`translate${k.value==="width"?"X":"Y"}(-${h.value}px)`})),{width:b,height:x}=Hv(i),{width:_,height:z}=Hv(u,{width:0,height:0},{box:"border-box"}),I=S(()=>y.value?b.value:x.value),P=S(()=>y.value?_.value:z.value),{onWheel:j}=iT({atStartEdge:S(()=>h.value<=0),atEndEdge:S(()=>P.value-h.value<=I.value),layout:S(()=>y.value?"horizontal":"vertical")},q=>{h.value=_p(h.value+q,0,P.value-I.value)}),O=()=>{if(!i.value)return;const q=i.value[`offset${Zl(k.value)}`],G=h.value;if(!G)return;const X=G>q?G-q:0;h.value=X},A=()=>{if(!i.value||!u.value)return;const q=u.value[`offset${Zl(k.value)}`],G=i.value[`offset${Zl(k.value)}`],X=h.value;if(q-X<=G)return;const J=q-X>G*2?X+G:q-G;h.value=J},K=async()=>{const q=u.value;if(!p.value||!c.value||!i.value||!q)return;await Qe();const G=d.value[e.currentName];if(!G)return;const X=i.value,J=G.getBoundingClientRect(),ue=X.getBoundingClientRect(),ae=y.value?q.offsetWidth-ue.width:q.offsetHeight-ue.height,ve=h.value;let re=ve;y.value?(J.left<ue.left&&(re=ve-(ue.left-J.left)),J.right>ue.right&&(re=ve+J.right-ue.right)):(J.top<ue.top&&(re=ve-(ue.top-J.top)),J.bottom>ue.bottom&&(re=ve+(J.bottom-ue.bottom))),re=Math.max(re,0),h.value=Math.min(re,ae)},Y=()=>{var q;if(!u.value||!i.value)return;e.stretch&&((q=f.value)==null||q.update());const G=u.value[`offset${Zl(k.value)}`],X=i.value[`offset${Zl(k.value)}`],J=h.value;X<G?(p.value=p.value||{},p.value.prev=J,p.value.next=J+X<G,G-J<X&&(h.value=G-X)):(p.value=!1,J>0&&(h.value=0))},Z=q=>{const G=kn(q);let X=0;switch(G){case We.left:case We.up:X=-1;break;case We.right:case We.down:X=1;break;default:return}const J=Array.from(q.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let ae=J.indexOf(q.target)+X;ae<0?ae=J.length-1:ae>=J.length&&(ae=0),J[ae].focus({preventScroll:!0}),J[ae].click(),$()},$=()=>{g.value&&(v.value=!0)},R=()=>v.value=!1,D=(q,G)=>{d.value[G]=q},B=async()=>{await Qe();const q=d.value[e.currentName];q?.focus({preventScroll:!0})};return ke(a,q=>{q==="hidden"?g.value=!1:q==="visible"&&setTimeout(()=>g.value=!0,50)}),ke(l,q=>{q?setTimeout(()=>g.value=!0,50):g.value=!1}),In(c,Y),Bt(()=>setTimeout(()=>K(),0)),fa(()=>Y()),t({scrollToActiveTab:K,removeFocus:R,focusActiveTab:B,tabListRef:u,tabBarRef:f,scheduleRender:()=>Ef(m)}),()=>{const q=p.value?[Q("span",{class:[r.e("nav-prev"),r.is("disabled",!p.value.prev)],onClick:O},[Q(lt,null,{default:()=>[Q(yl,null,null)]})]),Q("span",{class:[r.e("nav-next"),r.is("disabled",!p.value.next)],onClick:A},[Q(lt,null,{default:()=>[Q(Xo,null,null)]})])]:null,G=e.panes.map((X,J)=>{var ue,ae,ve,re,ce;const oe=X.uid,ie=X.props.disabled,de=(ae=(ue=X.props.name)!=null?ue:X.index)!=null?ae:`${J}`,U=!ie&&(X.isClosable||X.props.closable!==!1&&e.editable);X.index=`${J}`;const le=U?Q(lt,{class:"is-icon-close",onClick:Ce=>n("tabRemove",X,Ce)},{default:()=>[Q(Kr,null,null)]}):null,me=((re=(ve=X.slots).label)==null?void 0:re.call(ve))||X.props.label,_e=!ie&&X.active?(ce=e.tabindex)!=null?ce:o.props.tabindex:-1;return Q("div",{ref:Ce=>D(Ce,de),class:[r.e("item"),r.is(o.props.tabPosition),r.is("active",X.active),r.is("disabled",ie),r.is("closable",U),r.is("focus",v.value)],id:`tab-${de}`,key:`tab-${oe}`,"aria-controls":`pane-${de}`,role:"tab","aria-selected":X.active,tabindex:_e,onFocus:()=>$(),onBlur:()=>R(),onClick:Ce=>{R(),n("tabClick",X,de,Ce)},onKeydown:Ce=>{const we=kn(Ce);U&&(we===We.delete||we===We.backspace)&&n("tabRemove",X,Ce)}},[me,le])});return m.value,Q("div",{ref:c,class:[r.e("nav-wrap"),r.is("scrollable",!!p.value),r.is(o.props.tabPosition)]},[q,Q("div",{class:r.e("nav-scroll"),ref:i},[e.panes.length>0?Q("div",{class:[r.e("nav"),r.is(o.props.tabPosition),r.is("stretch",e.stretch&&["top","bottom"].includes(o.props.tabPosition))],ref:u,style:C.value,role:"tablist",onKeydown:Z,onWheel:j},[e.type?null:Q(mQ,{ref:f,tabs:[...e.panes],tabRefs:d.value},null),G]):null])])}}}),CQ=qe({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:se(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),cv=e=>rt(e)||ft(e),kQ={[St]:e=>cv(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>cv(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>cv(e),tabAdd:()=>!0},SQ=te({name:"ElTabs",props:CQ,emits:kQ,setup(e,{emit:t,slots:n,expose:o}){var r;const a=Ie("tabs"),l=S(()=>["left","right"].includes(e.tabPosition)),{children:i,addChild:u,removeChild:c,ChildrenSorter:d}=jp(Lt(),"ElTabPane"),f=L(),p=L((r=e.modelValue)!=null?r:"0"),h=async(C,b=!1)=>{var x,_,z,I;if(!(p.value===C||Zt(C)))try{let P;if(e.beforeLeave){const j=e.beforeLeave(C,p.value);P=j instanceof Promise?await j:j}else P=!0;if(P!==!1){const j=(x=i.value.find(O=>O.paneName===p.value))==null?void 0:x.isFocusInsidePane();p.value=C,b&&(t(St,C),t("tabChange",C)),(z=(_=f.value)==null?void 0:_.removeFocus)==null||z.call(_),j&&((I=f.value)==null||I.focusActiveTab())}}catch{}},v=(C,b,x)=>{C.props.disabled||(t("tabClick",C,x),h(b,!0))},g=(C,b)=>{C.props.disabled||Zt(C.props.name)||(b.stopPropagation(),t("edit",C.props.name,"remove"),t("tabRemove",C.props.name))},m=()=>{t("edit",void 0,"add"),t("tabAdd")},y=C=>{const b=kn(C);[We.enter,We.numpadEnter].includes(b)&&m()},k=C=>{const b=C.el.firstChild,x=["bottom","right"].includes(e.tabPosition)?C.children[0].el:C.children[1].el;b!==x&&b.before(x)};return ke(()=>e.modelValue,C=>h(C)),ke(p,async()=>{var C;await Qe(),(C=f.value)==null||C.scrollToActiveTab()}),Ut(Vp,{props:e,currentName:p,registerPane:u,unregisterPane:c,nav$:f}),o({currentName:p,get tabNavRef(){return Ep(f.value,["scheduleRender"])}}),()=>{const C=n["add-icon"],b=e.editable||e.addable?Q("div",{class:[a.e("new-tab"),l.value&&a.e("new-tab-vertical")],tabindex:e.tabindex,onClick:m,onKeydown:y},[C?he(n,"add-icon"):Q(lt,{class:a.is("icon-plus")},{default:()=>[Q(V2,null,null)]})]):null,x=()=>Q(wQ,{ref:f,currentName:p.value,editable:e.editable,type:e.type,panes:i.value,stretch:e.stretch,onTabClick:v,onTabRemove:g},null),_=Q("div",{class:[a.e("header"),l.value&&a.e("header-vertical"),a.is(e.tabPosition)]},[Q(d,null,{default:x,$stable:!0}),b]),z=Q("div",{class:a.e("content")},[he(n,"default")]);return Q("div",{class:[a.b(),a.m(e.tabPosition),{[a.m("card")]:e.type==="card",[a.m("border-card")]:e.type==="border-card"}],onVnodeMounted:k,onVnodeUpdated:k},[z,_])}}});var _Q=SQ;const xQ=qe({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),rO="ElTabPane",EQ=te({name:rO}),zQ=te({...EQ,props:xQ,setup(e){const t=e,n=Lt(),o=ao(),r=et(Vp);r||Qn(rO,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const a=Ie("tab-pane"),l=L(),i=L(),u=S(()=>{var g;return(g=t.closable)!=null?g:r.props.closable}),c=Sh(()=>{var g;return r.currentName.value===((g=t.name)!=null?g:i.value)}),d=L(c.value),f=S(()=>{var g;return(g=t.name)!=null?g:i.value}),p=Sh(()=>!t.lazy||d.value||c.value),h=()=>{var g;return(g=l.value)==null?void 0:g.contains(document.activeElement)};ke(c,g=>{g&&(d.value=!0)});const v=an({uid:n.uid,getVnode:()=>n.vnode,slots:o,props:t,paneName:f,active:c,index:i,isClosable:u,isFocusInsidePane:h});return r.registerPane(v),cn(()=>{r.unregisterPane(v)}),Sy(()=>{var g;o.label&&((g=r.nav$.value)==null||g.scheduleRender())}),(g,m)=>s(p)?Nt((T(),F("div",{key:0,id:`pane-${s(f)}`,ref_key:"paneRef",ref:l,class:M(s(a).b()),role:"tabpanel","aria-hidden":!s(c),"aria-labelledby":`tab-${s(f)}`},[he(g.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[tn,s(c)]]):fe("v-if",!0)}});var aO=Ue(zQ,[["__file","tab-pane.vue"]]);const TQ=Pt(_Q,{TabPane:aO}),OQ=Rn(aO),$Q=qe({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Fa,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),PQ=te({name:"ElText"}),IQ=te({...PQ,props:$Q,setup(e){const t=e,n=L(),o=ro(),r=Ie("text"),a=S(()=>[r.b(),r.m(t.type),r.m(o.value),r.is("truncated",t.truncated),r.is("line-clamp",!Zt(t.lineClamp))]),l=()=>{var i,u,c,d,f,p,h;if(El().title)return;let g=!1;const m=((i=n.value)==null?void 0:i.textContent)||"";if(t.truncated){const y=(u=n.value)==null?void 0:u.offsetWidth,k=(c=n.value)==null?void 0:c.scrollWidth;y&&k&&k>y&&(g=!0)}else if(!Zt(t.lineClamp)){const y=(d=n.value)==null?void 0:d.offsetHeight,k=(f=n.value)==null?void 0:f.scrollHeight;y&&k&&k>y&&(g=!0)}g?(p=n.value)==null||p.setAttribute("title",m):(h=n.value)==null||h.removeAttribute("title")};return Bt(l),fa(l),(i,u)=>(T(),ge(Rt(i.tag),{ref_key:"textRef",ref:n,class:M(s(a)),style:ht({"-webkit-line-clamp":i.lineClamp})},{default:ne(()=>[he(i.$slots,"default")]),_:3},8,["class","style"]))}});var MQ=Ue(IQ,[["__file","text.vue"]]);const s0=Pt(MQ),AQ=qe({format:{type:String,default:"HH:mm"},modelValue:{type:se(String)},disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:se(String),default:"light"},clearable:{type:Boolean,default:!0},size:io,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:se(String)},maxTime:{type:se(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:se([String,Object]),default:()=>B2},clearIcon:{type:se([String,Object]),default:()=>Ol},popperClass:{type:String,default:""},popperStyle:{type:se([String,Object])},...si}),sl=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const o=Number.parseInt(t[1],10),r=e.toUpperCase();return r.includes("AM")&&n===12?n=0:r.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:o}}return null},dv=(e,t)=>{const n=sl(e);if(!n)return-1;const o=sl(t);if(!o)return-1;const r=n.minutes+n.hours*60,a=o.minutes+o.hours*60;return r===a?0:r>a?1:-1},Sk=e=>`${e}`.padStart(2,"0"),Ei=e=>`${Sk(e.hours)}:${Sk(e.minutes)}`,jQ=(e,t)=>{const n=sl(e);if(!n)return"";const o=sl(t);if(!o)return"";const r={hours:n.hours,minutes:n.minutes};return r.minutes+=o.minutes,r.hours+=o.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,Ei(r)},NQ=te({name:"ElTimeSelect"}),RQ=te({...NQ,props:AQ,emits:[Wt,"blur","focus","clear",St],setup(e,{expose:t}){const n=e;Mt.extend(Cb);const{Option:o}=Xs,r=Ie("input"),a=L(),l=go(),{lang:i}=Qt(),u=S(()=>n.modelValue),c=S(()=>{const y=sl(n.start);return y?Ei(y):null}),d=S(()=>{const y=sl(n.end);return y?Ei(y):null}),f=S(()=>{const y=sl(n.step);return y?Ei(y):null}),p=S(()=>{const y=sl(n.minTime||"");return y?Ei(y):null}),h=S(()=>{const y=sl(n.maxTime||"");return y?Ei(y):null}),v=S(()=>{var y;const k=[],C=(b,x)=>{k.push({value:b,disabled:dv(x,p.value||"-1:-1")<=0||dv(x,h.value||"100:100")>=0})};if(n.start&&n.end&&n.step){let b=c.value,x;for(;b&&d.value&&dv(b,d.value)<=0;)x=Mt(b,"HH:mm").locale(i.value).format(n.format),C(x,b),b=jQ(b,f.value);if(n.includeEndTime&&d.value&&((y=k[k.length-1])==null?void 0:y.value)!==d.value){const _=Mt(d.value,"HH:mm").locale(i.value).format(n.format);C(_,d.value)}}return k});return t({blur:()=>{var y,k;(k=(y=a.value)==null?void 0:y.blur)==null||k.call(y)},focus:()=>{var y,k;(k=(y=a.value)==null?void 0:y.focus)==null||k.call(y)}}),(y,k)=>(T(),ge(s(Xs),{ref_key:"select",ref:a,"model-value":s(u),disabled:s(l),clearable:y.clearable,"clear-icon":y.clearIcon,size:y.size,effect:y.effect,placeholder:y.placeholder,"default-first-option":"",filterable:y.editable,"empty-values":y.emptyValues,"value-on-clear":y.valueOnClear,"popper-class":y.popperClass,"popper-style":y.popperStyle,"onUpdate:modelValue":C=>y.$emit(s(St),C),onChange:C=>y.$emit(s(Wt),C),onBlur:C=>y.$emit("blur",C),onFocus:C=>y.$emit("focus",C),onClear:()=>y.$emit("clear")},{prefix:ne(()=>[y.prefixIcon?(T(),ge(s(lt),{key:0,class:M(s(r).e("prefix-icon"))},{default:ne(()=>[(T(),ge(Rt(y.prefixIcon)))]),_:1},8,["class"])):fe("v-if",!0)]),default:ne(()=>[(T(!0),F(tt,null,Dt(s(v),C=>(T(),ge(s(o),{key:C.value,label:C.value,value:C.value,disabled:C.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}});var DQ=Ue(RQ,[["__file","time-select.vue"]]);const LQ=Pt(DQ),BQ="timeline",VQ=te({name:"ElTimeline",setup(e,{slots:t}){const n=Ie("timeline");return Ut(BQ,t),()=>mt("ul",{class:[n.b()]},[he(t,"default")])}}),FQ=qe({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:hn},hollow:Boolean}),qQ=te({name:"ElTimelineItem"}),KQ=te({...qQ,props:FQ,setup(e){const t=e,n=Ie("timeline-item"),o=S(()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]);return(r,a)=>(T(),F("li",{class:M([s(n).b(),{[s(n).e("center")]:r.center}])},[H("div",{class:M(s(n).e("tail"))},null,2),r.$slots.dot?fe("v-if",!0):(T(),F("div",{key:0,class:M(s(o)),style:ht({backgroundColor:r.color})},[r.icon?(T(),ge(s(lt),{key:0,class:M(s(n).e("icon"))},{default:ne(()=>[(T(),ge(Rt(r.icon)))]),_:1},8,["class"])):fe("v-if",!0)],6)),r.$slots.dot?(T(),F("div",{key:1,class:M(s(n).e("dot"))},[he(r.$slots,"dot")],2)):fe("v-if",!0),H("div",{class:M(s(n).e("wrapper"))},[!r.hideTimestamp&&r.placement==="top"?(T(),F("div",{key:0,class:M([s(n).e("timestamp"),s(n).is("top")])},Pe(r.timestamp),3)):fe("v-if",!0),H("div",{class:M(s(n).e("content"))},[he(r.$slots,"default")],2),!r.hideTimestamp&&r.placement==="bottom"?(T(),F("div",{key:1,class:M([s(n).e("timestamp"),s(n).is("bottom")])},Pe(r.timestamp),3)):fe("v-if",!0)],2)],2))}});var lO=Ue(KQ,[["__file","timeline-item.vue"]]);const HQ=Pt(VQ,{TimelineItem:lO}),WQ=Rn(lO),sO="left-check-change",iO="right-check-change",zi=qe({data:{type:se(Array),default:()=>[]},titles:{type:se(Array),default:()=>[]},buttonTexts:{type:se(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:se(Function)},leftDefaultChecked:{type:se(Array),default:()=>[]},rightDefaultChecked:{type:se(Array),default:()=>[]},renderContent:{type:se(Function)},modelValue:{type:se(Array),default:()=>[]},format:{type:se(Object),default:()=>({})},filterable:Boolean,props:{type:se(Object),default:()=>jn({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),Am=(e,t)=>[e,t].every(Be)||Be(e)&&Yn(t),UQ={[Wt]:(e,t,n)=>[e,n].every(Be)&&["left","right"].includes(t),[St]:e=>Be(e),[sO]:Am,[iO]:Am},jm="checked-change",YQ=qe({data:zi.data,optionRender:{type:se(Function)},placeholder:String,title:String,filterable:Boolean,format:zi.format,filterMethod:zi.filterMethod,defaultChecked:zi.leftDefaultChecked,props:zi.props}),GQ={[jm]:Am},zd=e=>{const t={label:"label",key:"key",disabled:"disabled"};return S(()=>({...t,...e.props}))},XQ=(e,t,n)=>{const o=zd(e),r=S(()=>e.data.filter(d=>it(e.filterMethod)?e.filterMethod(t.query,d):String(d[o.value.label]||d[o.value.key]).toLowerCase().includes(t.query.toLowerCase()))),a=S(()=>r.value.filter(d=>!d[o.value.disabled])),l=S(()=>{const d=t.checked.length,f=e.data.length,{noChecked:p,hasChecked:h}=e.format;return p&&h?d>0?h.replace(/\${checked}/g,d.toString()).replace(/\${total}/g,f.toString()):p.replace(/\${total}/g,f.toString()):`${d}/${f}`}),i=S(()=>{const d=t.checked.length;return d>0&&d<a.value.length}),u=()=>{const d=a.value.map(f=>f[o.value.key]);t.allChecked=d.length>0&&d.every(f=>t.checked.includes(f))},c=d=>{t.checked=d?a.value.map(f=>f[o.value.key]):[]};return ke(()=>t.checked,(d,f)=>{if(u(),t.checkChangeByUser){const p=d.concat(f).filter(h=>!d.includes(h)||!f.includes(h));n(jm,d,p)}else n(jm,d),t.checkChangeByUser=!0}),ke(a,()=>{u()}),ke(()=>e.data,()=>{const d=[],f=r.value.map(p=>p[o.value.key]);t.checked.forEach(p=>{f.includes(p)&&d.push(p)}),t.checkChangeByUser=!1,t.checked=d}),ke(()=>e.defaultChecked,(d,f)=>{if(f&&d.length===f.length&&d.every(v=>f.includes(v)))return;const p=[],h=a.value.map(v=>v[o.value.key]);d.forEach(v=>{h.includes(v)&&p.push(v)}),t.checkChangeByUser=!1,t.checked=p},{immediate:!0}),{filteredData:r,checkableData:a,checkedSummary:l,isIndeterminate:i,updateAllChecked:u,handleAllCheckedChange:c}},ZQ=te({name:"ElTransferPanel"}),QQ=te({...ZQ,props:YQ,emits:GQ,setup(e,{expose:t,emit:n}){const o=e,r=ao(),a=({option:C})=>C,{t:l}=Qt(),i=Ie("transfer"),u=an({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),c=zd(o),{filteredData:d,checkedSummary:f,isIndeterminate:p,handleAllCheckedChange:h}=XQ(o,u,n),v=S(()=>!lr(u.query)&&lr(d.value)),g=S(()=>!lr(r.default()[0].children)),{checked:m,allChecked:y,query:k}=fo(u);return t({query:k}),(C,b)=>(T(),F("div",{class:M(s(i).b("panel"))},[H("p",{class:M(s(i).be("panel","header"))},[Q(s(Ur),{modelValue:s(y),"onUpdate:modelValue":x=>Cn(y)?y.value=x:null,indeterminate:s(p),"validate-event":!1,onChange:s(h)},{default:ne(()=>[Tt(Pe(C.title)+" ",1),H("span",null,Pe(s(f)),1)]),_:1},8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])],2),H("div",{class:M([s(i).be("panel","body"),s(i).is("with-footer",s(g))])},[C.filterable?(T(),ge(s(Yo),{key:0,modelValue:s(k),"onUpdate:modelValue":x=>Cn(k)?k.value=x:null,class:M(s(i).be("panel","filter")),size:"default",placeholder:C.placeholder,"prefix-icon":s(F2),clearable:"","validate-event":!1},null,8,["modelValue","onUpdate:modelValue","class","placeholder","prefix-icon"])):fe("v-if",!0),Nt(Q(s(UE),{modelValue:s(m),"onUpdate:modelValue":x=>Cn(m)?m.value=x:null,"validate-event":!1,class:M([s(i).is("filterable",C.filterable),s(i).be("panel","list")])},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(d),x=>(T(),ge(s(Ur),{key:x[s(c).key],class:M(s(i).be("panel","item")),value:x[s(c).key],disabled:x[s(c).disabled],"validate-event":!1},{default:ne(()=>{var _;return[Q(a,{option:(_=C.optionRender)==null?void 0:_.call(C,x)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"]),[[tn,!s(v)&&!s(lr)(C.data)]]),Nt(H("div",{class:M(s(i).be("panel","empty"))},[he(C.$slots,"empty",{},()=>[Tt(Pe(s(v)?s(l)("el.transfer.noMatch"):s(l)("el.transfer.noData")),1)])],2),[[tn,s(v)||s(lr)(C.data)]])],2),s(g)?(T(),F("p",{key:0,class:M(s(i).be("panel","footer"))},[he(C.$slots,"default")],2)):fe("v-if",!0)],2))}});var _k=Ue(QQ,[["__file","transfer-panel.vue"]]);const JQ=e=>{const t=zd(e),n=S(()=>e.data.reduce((a,l)=>(a[l[t.value.key]]=l)&&a,{})),o=S(()=>e.data.filter(a=>!e.modelValue.includes(a[t.value.key]))),r=S(()=>e.targetOrder==="original"?e.data.filter(a=>e.modelValue.includes(a[t.value.key])):e.modelValue.reduce((a,l)=>{const i=n.value[l];return i&&a.push(i),a},[]));return{sourceData:o,targetData:r}},eJ=(e,t,n)=>{const o=zd(e),r=(i,u,c)=>{n(St,i),n(Wt,i,u,c)};return{addToLeft:()=>{const i=e.modelValue.slice();t.rightChecked.forEach(u=>{const c=i.indexOf(u);c>-1&&i.splice(c,1)}),r(i,"left",t.rightChecked)},addToRight:()=>{let i=e.modelValue.slice();const u=e.data.filter(c=>{const d=c[o.value.key];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(c=>c[o.value.key]);i=e.targetOrder==="unshift"?u.concat(i):i.concat(u),e.targetOrder==="original"&&(i=e.data.filter(c=>i.includes(c[o.value.key])).map(c=>c[o.value.key])),r(i,"right",t.leftChecked)}}},tJ=(e,t)=>({onSourceCheckedChange:(r,a)=>{e.leftChecked=r,a&&t(sO,r,a)},onTargetCheckedChange:(r,a)=>{e.rightChecked=r,a&&t(iO,r,a)}}),nJ=te({name:"ElTransfer"}),oJ=te({...nJ,props:zi,emits:UQ,setup(e,{expose:t,emit:n}){const o=e,r=ao(),{t:a}=Qt(),l=Ie("transfer"),{formItem:i}=xo(),u=an({leftChecked:[],rightChecked:[]}),c=zd(o),{sourceData:d,targetData:f}=JQ(o),{onSourceCheckedChange:p,onTargetCheckedChange:h}=tJ(u,n),{addToLeft:v,addToRight:g}=eJ(o,u,n),m=L(),y=L(),k=I=>{switch(I){case"left":m.value.query="";break;case"right":y.value.query="";break}},C=S(()=>o.buttonTexts.length===2),b=S(()=>o.titles[0]||a("el.transfer.titles.0")),x=S(()=>o.titles[1]||a("el.transfer.titles.1")),_=S(()=>o.filterPlaceholder||a("el.transfer.filterPlaceholder"));ke(()=>o.modelValue,()=>{var I;o.validateEvent&&((I=i?.validate)==null||I.call(i,"change").catch(P=>Kt(P)))});const z=S(()=>I=>{var P;if(o.renderContent)return o.renderContent(mt,I);const j=(((P=r.default)==null?void 0:P.call(r,{option:I}))||[]).filter(O=>O.type!==Xn);return j.length?j:mt("span",I[c.value.label]||I[c.value.key])});return t({clearQuery:k,leftPanel:m,rightPanel:y}),(I,P)=>(T(),F("div",{class:M(s(l).b())},[Q(_k,{ref_key:"leftPanel",ref:m,data:s(d),"option-render":s(z),placeholder:s(_),title:s(b),filterable:I.filterable,format:I.format,"filter-method":I.filterMethod,"default-checked":I.leftDefaultChecked,props:o.props,onCheckedChange:s(p)},{empty:ne(()=>[he(I.$slots,"left-empty")]),default:ne(()=>[he(I.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),H("div",{class:M(s(l).e("buttons"))},[Q(s(Co),{type:"primary",class:M([s(l).e("button"),s(l).is("with-texts",s(C))]),disabled:s(lr)(u.rightChecked),onClick:s(v)},{default:ne(()=>[Q(s(lt),null,{default:ne(()=>[Q(s(yl))]),_:1}),s(Zt)(I.buttonTexts[0])?fe("v-if",!0):(T(),F("span",{key:0},Pe(I.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),Q(s(Co),{type:"primary",class:M([s(l).e("button"),s(l).is("with-texts",s(C))]),disabled:s(lr)(u.leftChecked),onClick:s(g)},{default:ne(()=>[s(Zt)(I.buttonTexts[1])?fe("v-if",!0):(T(),F("span",{key:0},Pe(I.buttonTexts[1]),1)),Q(s(lt),null,{default:ne(()=>[Q(s(Xo))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),Q(_k,{ref_key:"rightPanel",ref:y,data:s(f),"option-render":s(z),placeholder:s(_),filterable:I.filterable,format:I.format,"filter-method":I.filterMethod,title:s(x),"default-checked":I.rightDefaultChecked,props:o.props,onCheckedChange:s(h)},{empty:ne(()=>[he(I.$slots,"right-empty")]),default:ne(()=>[he(I.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var rJ=Ue(oJ,[["__file","transfer.vue"]]);const aJ=Pt(rJ),Bi="$treeNodeId",xk=function(e,t){!t||t[Bi]||Object.defineProperty(t,Bi,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},i0=(e,t)=>t?.[e||Bi],Nm=(e,t,n)=>{const o=e.value.currentNode;n();const r=e.value.currentNode;o!==r&&t("current-change",r?r.data:null,r)},Rm=e=>{let t=!0,n=!0,o=!0;for(let r=0,a=e.length;r<a;r++){const l=e[r];(l.checked!==!0||l.indeterminate)&&(t=!1,l.disabled||(o=!1)),(l.checked!==!1||l.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:o,half:!t&&!n}},Gu=function(e){if(e.childNodes.length===0||e.loading)return;const{all:t,none:n,half:o}=Rm(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):o?(e.checked=!1,e.indeterminate=!0):n&&(e.checked=!1,e.indeterminate=!1);const r=e.parent;!r||r.level===0||e.store.checkStrictly||Gu(r)},yf=function(e,t){const n=e.store.props,o=e.data||{},r=n[t];if(it(r))return r(o,e);if(rt(r))return o[r];if(Zt(r)){const a=o[t];return Zt(a)?"":a}},Dm=function(e,t){e.forEach(n=>{n.canFocus=t,Dm(n.childNodes,t)})};let lJ=0,Lm=class eh{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.id=lJ++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)rn(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const o=n.props;if(o&&typeof o.isLeaf<"u"){const l=yf(this,"isLeaf");fn(l)&&(this.isLeafByUser=l)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),Be(this.data)||xk(this,this.data),!this.data)return;const r=n.defaultExpandedKeys,a=n.key;a&&!Yn(this.key)&&r&&r.includes(this.key)&&this.expand(null,n.autoExpandParent),a&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){Be(t)||xk(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Be(this.data)?n=this.data:n=yf(this,"children")||[];for(let o=0,r=n.length;o<r;o++)this.insertChild({data:n[o]})}get label(){return yf(this,"label")}get key(){const t=this.store.key;return this.data?this.data[t]:null}get disabled(){return yf(this,"disabled")}get nextSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(o=>o===t||n&&o.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,o){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof eh)){if(!o){const r=this.getChildren(!0);r?.includes(t.data)||(Zt(n)||n<0?r?.push(t.data):r?.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=an(new eh(t)),t instanceof eh&&t.initialize()}t.level=this.level+1,Zt(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let o;n&&(o=this.childNodes.indexOf(n)),this.insertChild(t,o)}insertAfter(t,n){let o;n&&(o=this.childNodes.indexOf(n),o!==-1&&(o+=1)),this.insertChild(t,o)}removeChild(t){const n=this.getChildren()||[],o=n.indexOf(t.data);o>-1&&n.splice(o,1);const r=this.childNodes.indexOf(t);r>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let o=0;o<this.childNodes.length;o++)if(this.childNodes[o].data===t){n=this.childNodes[o];break}n&&this.removeChild(n)}expand(t,n){const o=()=>{if(n){let r=this.parent;for(;r&&r.level>0;)r.expanded=!0,r=r.parent}this.expanded=!0,t&&t(),Dm(this.childNodes,!0)};this.shouldLoadData()?this.loadData(r=>{Be(r)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Gu(this),o())}):o()}doCreateChildren(t,n={}){t.forEach(o=>{this.insertChild(Object.assign({data:o},n),void 0,!0)})}collapse(){this.expanded=!1,Dm(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,o,r){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:l,allWithoutDisable:i}=Rm(this.childNodes);!this.isLeaf&&!l&&i&&(this.checked=!1,t=!1);const u=()=>{if(n){const c=this.childNodes;for(let p=0,h=c.length;p<h;p++){const v=c[p];r=r||t!==!1;const g=v.disabled?v.checked:r;v.setChecked(g,n,!0,r)}const{half:d,all:f}=Rm(c);f||(this.checked=f,this.indeterminate=d)}};if(this.shouldLoadData()){this.loadData(()=>{u(),Gu(this)},{checked:t!==!1});return}else u()}const a=this.parent;!a||a.level===0||o||Gu(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const o=this.store.props;let r="children";return o&&(r=o.children||"children"),Zt(n[r])&&(n[r]=null),t&&!n[r]&&(n[r]=[]),n[r]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),o={},r=[];t.forEach((a,l)=>{const i=a[Bi];!!i&&n.some(c=>c?.[Bi]===i)?o[i]={index:l,data:a}:r.push({index:l,data:a})}),this.store.lazy||n.forEach(a=>{o[a?.[Bi]]||this.removeChildByData(a)}),r.forEach(({index:a,data:l})=>{this.insertChild({data:l},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const o=a=>{this.childNodes=[],this.doCreateChildren(a,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,a)},r=()=>{this.loading=!1};this.store.load(this,o,r)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const o=n.shift();n.unshift(...o.childNodes),t(o)}}reInitChecked(){this.store.checkStrictly||Gu(this)}};class sJ{constructor(t){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const n in t)rn(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new Lm({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},un)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,o=this.lazy,r=async function(a){const l=a.root?a.root.childNodes:a.childNodes;for(const[i,u]of l.entries())u.visible=!!n?.call(u,t,u.data,u),i%80===0&&i>0&&await Qe(),await r(u);if(!a.visible&&l.length){let i=!0;i=!l.some(u=>u.visible),a.root?a.root.visible=i===!1:a.visible=i===!1}t&&a.visible&&!a.isLeaf&&(!o||a.loaded)&&a.expand()};r(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof Lm)return t;const n=At(t)?i0(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var o;const r=this.getNode(n);(o=r.parent)==null||o.insertBefore({data:t},r)}insertAfter(t,n){var o;const r=this.getNode(n);(o=r.parent)==null||o.insertAfter({data:t},r)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const o=Tr(n)?this.root:this.getNode(n);o&&o.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(o=>{const r=n[o];r&&r.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!Yn(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const o=t.key;Yn(o)||(this.nodesMap[o]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(o=>{this.deregisterNode(o)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const o=[],r=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(i=>{(i.checked||n&&i.indeterminate)&&(!t||t&&i.isLeaf)&&o.push(i.data),r(i)})};return r(this),o}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const o in n)rn(n,o)&&t.push(n[o]);return t}updateChildren(t,n){const o=this.nodesMap[t];if(!o)return;const r=o.childNodes;for(let a=r.length-1;a>=0;a--){const l=r[a];this.remove(l.data)}for(let a=0,l=n.length;a<l;a++){const i=n[a];this.append(i,o.data)}}_setCheckedKeys(t,n=!1,o){const r=this._getAllNodes().sort((u,c)=>u.level-c.level),a=Object.create(null),l=Object.keys(o);r.forEach(u=>u.setChecked(!1,!1));const i=u=>{u.childNodes.forEach(c=>{var d;a[c.data[t]]=!0,(d=c.childNodes)!=null&&d.length&&i(c)})};for(let u=0,c=r.length;u<c;u++){const d=r[u],f=d.data[t].toString();if(!l.includes(f)){d.checked&&!a[f]&&d.setChecked(!1,!1);continue}if(d.childNodes.length&&i(d),d.isLeaf||this.checkStrictly){d.setChecked(!0,!1);continue}if(d.setChecked(!0,!0),n){d.setChecked(!1,!1);const h=function(v){v.childNodes.forEach(m=>{m.isLeaf||m.setChecked(!1,!1),h(m)})};h(d)}}}setCheckedNodes(t,n=!1){const o=this.key,r={};t.forEach(a=>{r[(a||{})[o]]=!0}),this._setCheckedKeys(o,n,r)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const o=this.key,r={};t.forEach(a=>{r[a]=!0}),this._setCheckedKeys(o,n,r)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const o=this.getNode(n);o&&o.expand(null,this.autoExpandParent)})}setChecked(t,n,o){const r=this.getNode(t);r&&r.setChecked(!!n,o)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){var o;const r=t[this.key],a=this.nodesMap[r];this.setCurrentNode(a),n&&this.currentNode&&this.currentNode.level>1&&((o=this.currentNode.parent)==null||o.expand(null,!0))}setCurrentNodeKey(t,n=!0){var o;if(this.currentNodeKey=t,Tr(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const r=this.getNode(t);r&&(this.setCurrentNode(r),n&&this.currentNode&&this.currentNode.level>1&&((o=this.currentNode.parent)==null||o.expand(null,!0)))}}const u0="RootTree",uO="NodeInstance",Ek="TreeNodeMap",iJ=te({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ie("tree"),n=et(uO),o=et(u0);return()=>{const r=e.node,{data:a,store:l}=r;return e.renderContent?e.renderContent(mt,{_self:n,node:r,data:a,store:l}):he(o.ctx.slots,"default",{node:r,data:a},()=>[mt(s0,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[r.label])])}}});var uJ=Ue(iJ,[["__file","tree-node-content.vue"]]);function cO(e){const t=et(Ek,null),n={treeNodeExpand:o=>{var r;e.node!==o&&((r=e.node)==null||r.collapse())},children:[]};return t&&t.children.push(n),Ut(Ek,n),{broadcastExpanded:o=>{if(e.accordion)for(const r of n.children)r.treeNodeExpand(o)}}}const dO=Symbol("dragEvents");function cJ({props:e,ctx:t,el$:n,dropIndicator$:o,store:r}){const a=Ie("tree"),l=L({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Ut(dO,{treeNodeDragStart:({event:d,treeNode:f})=>{if(d.dataTransfer){if(it(e.allowDrag)&&!e.allowDrag(f.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}l.value.draggingNode=f,t.emit("node-drag-start",f.node,d)}},treeNodeDragOver:({event:d,treeNode:f})=>{if(!d.dataTransfer)return;const p=f,h=l.value.dropNode;h&&h.node.id!==p.node.id&&Go(h.$el,a.is("drop-inner"));const v=l.value.draggingNode;if(!v||!p)return;let g=!0,m=!0,y=!0,k=!0;it(e.allowDrop)&&(g=e.allowDrop(v.node,p.node,"prev"),k=m=e.allowDrop(v.node,p.node,"inner"),y=e.allowDrop(v.node,p.node,"next")),d.dataTransfer.dropEffect=m||g||y?"move":"none",(g||m||y)&&h?.node.id!==p.node.id&&(h&&t.emit("node-drag-leave",v.node,h.node,d),t.emit("node-drag-enter",v.node,p.node,d)),g||m||y?l.value.dropNode=p:l.value.dropNode=null,p.node.nextSibling===v.node&&(y=!1),p.node.previousSibling===v.node&&(g=!1),p.node.contains(v.node,!1)&&(m=!1),(v.node===p.node||v.node.contains(p.node))&&(g=!1,m=!1,y=!1);const C=p.$el,b=C.querySelector(`.${a.be("node","content")}`).getBoundingClientRect(),x=n.value.getBoundingClientRect(),_=n.value.scrollTop;let z;const I=g?m?.25:y?.45:1:Number.NEGATIVE_INFINITY,P=y?m?.75:g?.55:0:Number.POSITIVE_INFINITY;let j=-9999;const O=d.clientY-b.top;O<b.height*I?z="before":O>b.height*P?z="after":m?z="inner":z="none";const A=C.querySelector(`.${a.be("node","expand-icon")}`).getBoundingClientRect(),K=o.value;z==="before"?j=A.top-x.top+_:z==="after"&&(j=A.bottom-x.top+_),K.style.top=`${j}px`,K.style.left=`${A.right-x.left}px`,z==="inner"?Lr(C,a.is("drop-inner")):Go(C,a.is("drop-inner")),l.value.showDropIndicator=z==="before"||z==="after",l.value.allowDrop=l.value.showDropIndicator||k,l.value.dropType=z,t.emit("node-drag-over",v.node,p.node,d)},treeNodeDragEnd:d=>{var f,p;const{draggingNode:h,dropType:v,dropNode:g}=l.value;if(d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="move"),h?.node.data&&g){const m={data:h.node.data};v!=="none"&&h.node.remove(),v==="before"?(f=g.node.parent)==null||f.insertBefore(m,g.node):v==="after"?(p=g.node.parent)==null||p.insertAfter(m,g.node):v==="inner"&&g.node.insertChild(m),v!=="none"&&(r.value.registerNode(m),r.value.key&&h.node.eachNode(y=>{var k;(k=r.value.nodesMap[y.data[r.value.key]])==null||k.setChecked(y.checked,!r.value.checkStrictly)})),Go(g.$el,a.is("drop-inner")),t.emit("node-drag-end",h.node,g.node,v,d),v!=="none"&&t.emit("node-drop",h.node,g.node,v,d)}h&&!g&&t.emit("node-drag-end",h.node,null,v,d),l.value.showDropIndicator=!1,l.value.draggingNode=null,l.value.dropNode=null,l.value.allowDrop=!0}}),{dragState:l}}const dJ=te({name:"ElTreeNode",components:{ElCollapseTransition:Rp,ElCheckbox:Ur,NodeContent:uJ,ElIcon:lt,Loading:la},props:{node:{type:Lm,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=Ie("tree"),{broadcastExpanded:o}=cO(e),r=et(u0),a=L(!1),l=L(!1),i=L(),u=L(),c=L(),d=et(dO),f=Lt();Ut(uO,f),r||Kt("Tree","Can not find node's tree."),e.node.expanded&&(a.value=!0,l.value=!0);const p=r.props.props.children||"children";ke(()=>{var P;const j=(P=e.node.data)==null?void 0:P[p];return j&&[...j]},()=>{e.node.updateChildren()}),ke(()=>e.node.indeterminate,P=>{g(e.node.checked,P)}),ke(()=>e.node.checked,P=>{g(P,e.node.indeterminate)}),ke(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ke(()=>e.node.expanded,P=>{Qe(()=>a.value=P),P&&(l.value=!0)});const h=P=>i0(r.props.nodeKey,P.data),v=P=>{const j=e.props.class;if(!j)return{};let O;if(it(j)){const{data:A}=P;O=j(A,P)}else O=j;return rt(O)?{[O]:!0}:O},g=(P,j)=>{(i.value!==P||u.value!==j)&&r.ctx.emit("check-change",e.node.data,P,j),i.value=P,u.value=j},m=P=>{Nm(r.store,r.ctx.emit,()=>{var j;if((j=r?.props)==null?void 0:j.nodeKey){const A=h(e.node);r.store.value.setCurrentNodeKey(A)}else r.store.value.setCurrentNode(e.node)}),r.currentNode.value=e.node,r.props.expandOnClickNode&&k(),(r.props.checkOnClickNode||e.node.isLeaf&&r.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&C(!e.node.checked),r.ctx.emit("node-click",e.node.data,e.node,f,P)},y=P=>{var j;(j=r.instance.vnode.props)!=null&&j.onNodeContextmenu&&(P.stopPropagation(),P.preventDefault()),r.ctx.emit("node-contextmenu",P,e.node.data,e.node,f)},k=()=>{e.node.isLeaf||(a.value?(r.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,f)}))},C=P=>{e.node.setChecked(P,!r?.props.checkStrictly),Qe(()=>{const j=r.store.value;r.ctx.emit("check",e.node.data,{checkedNodes:j.getCheckedNodes(),checkedKeys:j.getCheckedKeys(),halfCheckedNodes:j.getHalfCheckedNodes(),halfCheckedKeys:j.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:r,expanded:a,childNodeRendered:l,oldChecked:i,oldIndeterminate:u,getNodeKey:h,getNodeClass:v,handleSelectChange:g,handleClick:m,handleContextMenu:y,handleExpandIconClick:k,handleCheckChange:C,handleChildNodeExpand:(P,j,O)=>{o(j),r.ctx.emit("node-expand",P,j,O)},handleDragStart:P=>{r.props.draggable&&d.treeNodeDragStart({event:P,treeNode:e})},handleDragOver:P=>{P.preventDefault(),r.props.draggable&&d.treeNodeDragOver({event:P,treeNode:{$el:c.value,node:e.node}})},handleDrop:P=>{P.preventDefault()},handleDragEnd:P=>{r.props.draggable&&d.treeNodeDragEnd(P)},CaretRight:L2}}});function fJ(e,t,n,o,r,a){const l=kt("el-icon"),i=kt("el-checkbox"),u=kt("loading"),c=kt("node-content"),d=kt("el-tree-node"),f=kt("el-collapse-transition");return Nt((T(),F("div",{ref:"node$",class:M([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:wt(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:wt(e.handleDragStart,["stop"]),onDragover:wt(e.handleDragOver,["stop"]),onDragend:wt(e.handleDragEnd,["stop"]),onDrop:wt(e.handleDrop,["stop"])},[H("div",{class:M(e.ns.be("node","content")),style:ht({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(T(),ge(l,{key:0,class:M([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:wt(e.handleExpandIconClick,["stop"])},{default:ne(()=>[(T(),ge(Rt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):fe("v-if",!0),e.showCheckbox?(T(),ge(i,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:wt(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):fe("v-if",!0),e.node.loading?(T(),ge(l,{key:2,class:M([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:ne(()=>[Q(u)]),_:1},8,["class"])):fe("v-if",!0),Q(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),Q(f,null,{default:ne(()=>[!e.renderAfterExpand||e.childNodeRendered?Nt((T(),F("div",{key:0,class:M(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:wt(()=>{},["stop"])},[(T(!0),F(tt,null,Dt(e.node.childNodes,p=>(T(),ge(d,{key:e.getNodeKey(p),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:p,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,["aria-expanded","onClick"])),[[tn,e.expanded]]):fe("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[tn,e.node.visible]])}var hJ=Ue(dJ,[["render",fJ],["__file","tree-node.vue"]]);function pJ({el$:e},t){const n=Ie("tree");Bt(()=>{a()}),fa(()=>{Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(i=>{i.setAttribute("tabindex","-1")})});function o(l,i){var u,c;const d=t.value.getNode(l[i].dataset.key);return d.canFocus&&d.visible&&(((u=d.parent)==null?void 0:u.expanded)||((c=d.parent)==null?void 0:c.level)===0)}gn(e,"keydown",l=>{const i=l.target;if(!i.className.includes(n.b("node")))return;const u=kn(l),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),d=c.indexOf(i);let f;if([We.up,We.down].includes(u)){if(l.preventDefault(),u===We.up){f=d===-1?0:d!==0?d-1:c.length-1;const h=f;for(;!o(c,f);){if(f--,f===h){f=-1;break}f<0&&(f=c.length-1)}}else{f=d===-1?0:d<c.length-1?d+1:0;const h=f;for(;!o(c,f);){if(f++,f===h){f=-1;break}f>=c.length&&(f=0)}}f!==-1&&c[f].focus()}[We.left,We.right].includes(u)&&(l.preventDefault(),i.click());const p=i.querySelector('[type="checkbox"]');[We.enter,We.numpadEnter,We.space].includes(u)&&p&&(l.preventDefault(),p.click())});const a=()=>{var l;if(!e.value)return;const i=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(d=>{d.setAttribute("tabindex","-1")});const c=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(c.length){c[0].setAttribute("tabindex","0");return}(l=i[0])==null||l.setAttribute("tabindex","0")}}const gJ={"check-change":(e,t,n)=>e&&fn(t)&&fn(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,o)=>e&&t&&o instanceof Event,"node-contextmenu":(e,t,n,o)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,o)=>e&&o,"node-drop":(e,t,n,o)=>e&&t&&o,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},vJ=te({name:"ElTree",components:{ElTreeNode:hJ},props:{data:{type:se(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:{type:se(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:se(Function)},allowDrop:{type:se(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:hn}},emits:gJ,setup(e,t){const{t:n}=Qt(),o=Ie("tree"),r=L(new sJ({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));r.value.initialize();const a=L(r.value.root),l=L(null),i=L(null),u=L(null),{broadcastExpanded:c}=cO(e),{dragState:d}=cJ({props:e,ctx:t,el$:i,dropIndicator$:u,store:r});pJ({el$:i},r);const f=Lt(),p=S(()=>{let B=f?.parent;for(;B;){if(B.type.name==="ElTreeSelect")return!0;B=B.parent}return!1}),h=S(()=>{const{childNodes:B}=a.value;return(!B||B.length===0||B.every(({visible:q})=>!q))&&!p.value});ke(()=>e.currentNodeKey,B=>{r.value.setCurrentNodeKey(B??null)}),ke(()=>e.defaultCheckedKeys,(B,q)=>{Vn(B,q)||r.value.setDefaultCheckedKey(B??[])}),ke(()=>e.defaultExpandedKeys,B=>{r.value.setDefaultExpandedKeys(B??[])}),ke(()=>e.data,B=>{r.value.setData(B)},{deep:!0}),ke(()=>e.checkStrictly,B=>{r.value.checkStrictly=B});const v=B=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");r.value.filter(B)},g=B=>i0(e.nodeKey,B.data),m=B=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const q=r.value.getNode(B);if(!q)return[];const G=[q.data];let X=q.parent;for(;X&&X!==a.value;)G.push(X.data),X=X.parent;return G.reverse()},y=(B,q)=>r.value.getCheckedNodes(B,q),k=B=>r.value.getCheckedKeys(B),C=()=>{const B=r.value.getCurrentNode();return B?B.data:null},b=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const B=C();return B?B[e.nodeKey]:null},x=(B,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");r.value.setCheckedNodes(B,q)},_=(B,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");r.value.setCheckedKeys(B,q)},z=(B,q,G)=>{r.value.setChecked(B,q,G)},I=()=>r.value.getHalfCheckedNodes(),P=()=>r.value.getHalfCheckedKeys(),j=(B,q=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");Nm(r,t.emit,()=>{c(B),r.value.setUserCurrentNode(B,q)})},O=(B=null,q=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");Nm(r,t.emit,()=>{c(),r.value.setCurrentNodeKey(B,q)})},A=B=>r.value.getNode(B),K=B=>{r.value.remove(B)},Y=(B,q)=>{r.value.append(B,q)},Z=(B,q)=>{r.value.insertBefore(B,q)},$=(B,q)=>{r.value.insertAfter(B,q)},R=(B,q,G)=>{c(q),t.emit("node-expand",B,q,G)},D=(B,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");r.value.updateChildren(B,q)};return Ut(u0,{ctx:t,props:e,store:r,root:a,currentNode:l,instance:f}),Ut(Da,void 0),{ns:o,store:r,root:a,currentNode:l,dragState:d,el$:i,dropIndicator$:u,isEmpty:h,filter:v,getNodeKey:g,getNodePath:m,getCheckedNodes:y,getCheckedKeys:k,getCurrentNode:C,getCurrentKey:b,setCheckedNodes:x,setCheckedKeys:_,setChecked:z,getHalfCheckedNodes:I,getHalfCheckedKeys:P,setCurrentNode:j,setCurrentKey:O,t:n,getNode:A,remove:K,append:Y,insertBefore:Z,insertAfter:$,handleNodeExpand:R,updateKeyChildren:D}}});function mJ(e,t,n,o,r,a){const l=kt("el-tree-node");return T(),F("div",{ref:"el$",class:M([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(T(!0),F(tt,null,Dt(e.root.childNodes,i=>(T(),ge(l,{key:e.getNodeKey(i),node:i,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(T(),F("div",{key:0,class:M(e.ns.e("empty-block"))},[he(e.$slots,"empty",{},()=>{var i;return[H("span",{class:M(e.ns.e("empty-text"))},Pe((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)]})],2)):fe("v-if",!0),Nt(H("div",{ref:"dropIndicator$",class:M(e.ns.e("drop-indicator"))},null,2),[[tn,e.dragState.showDropIndicator]])],2)}var yJ=Ue(vJ,[["render",mJ],["__file","tree.vue"]]);const Fh=Pt(yJ),bJ=(e,{attrs:t,emit:n},{select:o,tree:r,key:a})=>{const l=Ie("tree-select");return ke(()=>e.data,()=>{e.filterable&&Qe(()=>{var u,c;(c=r.value)==null||c.filter((u=o.value)==null?void 0:u.states.inputValue)})},{flush:"post"}),{...ml(fo(e),Object.keys(Xs.props)),...t,class:S(()=>t.class),style:S(()=>t.style),"onUpdate:modelValue":u=>n(St,u),valueKey:a,popperClass:S(()=>{const u=[l.e("popper")];return e.popperClass&&u.push(e.popperClass),u.join(" ")}),filterMethod:(u="")=>{var c;e.filterMethod?e.filterMethod(u):e.remoteMethod?e.remoteMethod(u):(c=r.value)==null||c.filter(u)}}},wJ=te({extends:Mh,setup(e,t){const n=Mh.setup(e,t);delete n.selectOptionClick;const o=Lt().proxy;return Qe(()=>{n.select.states.cachedOptions.get(o.value)||n.select.onOptionCreate(o)}),ke(()=>t.attrs.visible,r=>{Qe(()=>{n.states.visible=r})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function Bm(e){return e||e===0}function c0(e){return Be(e)&&e.length}function ki(e){return Be(e)?e:Bm(e)?[e]:[]}function th(e,t,n,o,r){for(let a=0;a<e.length;a++){const l=e[a];if(t(l,a,e,r))return o?o(l,a,e,r):l;{const i=n(l);if(c0(i)){const u=th(i,t,n,o,l);if(u)return u}}}}function nh(e,t,n,o){for(let r=0;r<e.length;r++){const a=e[r];t(a,r,e,o);const l=n(a);c0(l)&&nh(l,t,n,a)}}const CJ=(e,{attrs:t,slots:n,emit:o},{select:r,tree:a,key:l})=>{ke([()=>e.modelValue,a],()=>{e.showCheckbox&&Qe(()=>{const p=a.value;p&&!Vn(p.getCheckedKeys(),ki(e.modelValue))&&p.setCheckedKeys(ki(e.modelValue))})},{immediate:!0,deep:!0});const i=S(()=>({value:l.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),u=(p,h)=>{var v;const g=i.value[p];return it(g)?g(h,(v=a.value)==null?void 0:v.getNode(u("value",h))):h[g]},c=ki(e.modelValue).map(p=>th(e.data||[],h=>u("value",h)===p,h=>u("children",h),(h,v,g,m)=>m&&u("value",m))).filter(p=>Bm(p)),d=S(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const p=[];return nh(e.data.concat(e.cacheData),h=>{const v=u("value",h);p.push({value:v,currentLabel:u("label",h),isDisabled:u("disabled",h)})},h=>u("children",h)),p}),f=()=>{var p;return(p=a.value)==null?void 0:p.getCheckedKeys().filter(h=>{var v;const g=(v=a.value)==null?void 0:v.getNode(h);return!Yn(g)&&lr(g.childNodes)})};return{...ml(fo(e),Object.keys(Fh.props)),...t,nodeKey:l,expandOnClickNode:S(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:S(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(p,{node:h,data:v,store:g})=>p(wJ,{value:u("value",v),label:u("label",v),disabled:u("disabled",v),visible:h.visible},e.renderContent?()=>e.renderContent(p,{node:h,data:v,store:g}):n.default?()=>n.default({node:h,data:v,store:g}):void 0),filterNodeMethod:(p,h,v)=>e.filterNodeMethod?e.filterNodeMethod(p,h,v):p?new RegExp(Fb(p),"i").test(u("label",h)||""):!0,onNodeClick:(p,h,v)=>{var g,m,y,k;if((g=t.onNodeClick)==null||g.call(t,p,h,v),!(e.showCheckbox&&e.checkOnClickNode)){if(!e.showCheckbox&&(e.checkStrictly||h.isLeaf)){if(!u("disabled",p)){const C=(m=r.value)==null?void 0:m.states.options.get(u("value",p));(y=r.value)==null||y.handleOptionSelect(C)}}else e.expandOnClickNode&&v.proxy.handleExpandIconClick();(k=r.value)==null||k.focus()}},onCheck:(p,h)=>{var v;if(!e.showCheckbox)return;const g=u("value",p),m={};nh([a.value.store.root],b=>m[b.key]=b,b=>b.childNodes);const y=h.checkedKeys,k=e.multiple?ki(e.modelValue).filter(b=>!(b in m)&&!y.includes(b)):[],C=k.concat(y);if(e.checkStrictly)o(St,e.multiple?C:C.includes(g)?g:void 0);else if(e.multiple){const b=f();o(St,k.concat(b))}else{const b=th([p],z=>!c0(u("children",z))&&!u("disabled",z),z=>u("children",z)),x=b?u("value",b):void 0,_=Bm(e.modelValue)&&!!th([p],z=>u("value",z)===e.modelValue,z=>u("children",z));o(St,x===e.modelValue||_?void 0:x)}Qe(()=>{var b;const x=ki(e.modelValue);a.value.setCheckedKeys(x),(b=t.onCheck)==null||b.call(t,p,{checkedKeys:a.value.getCheckedKeys(),checkedNodes:a.value.getCheckedNodes(),halfCheckedKeys:a.value.getHalfCheckedKeys(),halfCheckedNodes:a.value.getHalfCheckedNodes()})}),(v=r.value)==null||v.focus()},onNodeExpand:(p,h,v)=>{var g;(g=t.onNodeExpand)==null||g.call(t,p,h,v),Qe(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&h.checked){const m={},y=a.value.getCheckedKeys();nh([a.value.store.root],b=>m[b.key]=b,b=>b.childNodes);const k=ki(e.modelValue).filter(b=>!(b in m)&&!y.includes(b)),C=f();o(St,k.concat(C))}})},cacheOptions:d}};var kJ=te({props:{data:{type:Array,default:()=>[]}},setup(e){const t=et(xd);return ke(()=>e.data,()=>{var n;e.data.forEach(r=>{t.states.cachedOptions.has(r.value)||t.states.cachedOptions.set(r.value,r)});const o=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];nn&&!Array.from(o).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const SJ=te({name:"ElTreeSelect",inheritAttrs:!1,props:{...Xs.props,...Fh.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:o}=t,r=L(),a=L(),l=S(()=>e.nodeKey||e.valueKey||"value"),i=bJ(e,t,{select:r,tree:a,key:l}),{cacheOptions:u,...c}=CJ(e,t,{select:r,tree:a,key:l}),d=an({});return o(d),Bt(()=>{Object.assign(d,{...ml(a.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...ml(r.value,["focus","blur","selectedLabel"]),treeRef:a.value,selectRef:r.value})}),()=>mt(Xs,an({...i,ref:f=>r.value=f}),{...n,default:()=>[mt(kJ,{data:u.value}),mt(Fh,an({...c,ref:f=>a.value=f}))]})}});var _J=Ue(SJ,[["__file","tree-select.vue"]]);const xJ=Pt(_J),d0=Symbol(),EJ={key:-1,level:-1,data:{}};var Xu=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(Xu||{}),Vm=(e=>(e.ADD="add",e.DELETE="delete",e))(Vm||{});const fO={type:Number,default:26},zJ=qe({data:{type:se(Array),default:()=>jn([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:se(Object),default:()=>jn({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:se(Array),default:()=>jn([])},checkStrictly:Boolean,defaultExpandedKeys:{type:se(Array),default:()=>jn([])},indent:{type:Number,default:16},itemSize:fO,icon:{type:hn},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:se([String,Number])},accordion:Boolean,filterMethod:{type:se(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),TJ=qe({node:{type:se(Object),default:()=>jn(EJ)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:fO}),OJ=qe({node:{type:se(Object),required:!0}}),hO="node-click",pO="node-drop",gO="node-expand",vO="node-collapse",mO="current-change",yO="check",bO="check-change",wO="node-contextmenu",$J={[hO]:(e,t,n)=>e&&t&&n,[pO]:(e,t,n)=>e&&t&&n,[gO]:(e,t)=>e&&t,[vO]:(e,t)=>e&&t,[mO]:(e,t)=>e&&t,[yO]:(e,t)=>e&&t,[bO]:(e,t)=>e&&fn(t),[wO]:(e,t,n)=>e&&t&&n},PJ={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&fn(t)};function IJ(e,t){const n=L(new Set),o=L(new Set),{emit:r}=Lt();ke([()=>t.value,()=>e.defaultCheckedKeys],()=>Qe(()=>{k(e.defaultCheckedKeys)}),{immediate:!0});const a=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:C,maxLevel:b}=t.value,x=n.value,_=new Set;for(let z=b-1;z>=1;--z){const I=C.get(z);I&&I.forEach(P=>{const j=P.children;if(j){let O=!0,A=!1;for(const K of j){const Y=K.key;if(x.has(Y))A=!0;else if(_.has(Y)){O=!1,A=!0;break}else O=!1}O?x.add(P.key):A?(_.add(P.key),x.delete(P.key)):(x.delete(P.key),_.delete(P.key))}})}o.value=_},l=C=>n.value.has(C.key),i=C=>o.value.has(C.key),u=(C,b,x=!0,_=!0)=>{const z=n.value,I=(P,j)=>{z[j?Vm.ADD:Vm.DELETE](P.key);const O=P.children;!e.checkStrictly&&O&&O.forEach(A=>{A.disabled||I(A,j)})};I(C,b),_&&a(),x&&c(C,b)},c=(C,b)=>{const{checkedNodes:x,checkedKeys:_}=v(),{halfCheckedNodes:z,halfCheckedKeys:I}=g();r(yO,C.data,{checkedKeys:_,checkedNodes:x,halfCheckedKeys:I,halfCheckedNodes:z}),r(bO,C.data,b)};function d(C=!1){return v(C).checkedKeys}function f(C=!1){return v(C).checkedNodes}function p(){return g().halfCheckedKeys}function h(){return g().halfCheckedNodes}function v(C=!1){const b=[],x=[];if(t?.value&&e.showCheckbox){const{treeNodeMap:_}=t.value;n.value.forEach(z=>{const I=_.get(z);I&&(!C||C&&I.isLeaf)&&(x.push(z),b.push(I.data))})}return{checkedKeys:x,checkedNodes:b}}function g(){const C=[],b=[];if(t?.value&&e.showCheckbox){const{treeNodeMap:x}=t.value;o.value.forEach(_=>{const z=x.get(_);z&&(b.push(_),C.push(z.data))})}return{halfCheckedNodes:C,halfCheckedKeys:b}}function m(C){n.value.clear(),o.value.clear(),Qe(()=>{k(C)})}function y(C,b){if(t?.value&&e.showCheckbox){const x=t.value.treeNodeMap.get(C);x&&u(x,b,!1)}}function k(C){if(t?.value){const{treeNodeMap:b}=t.value;if(e.showCheckbox&&b&&C?.length>0){for(const x of C){const _=b.get(x);_&&!l(_)&&u(_,!0,!1,!1)}a()}}}return{updateCheckedKeys:a,toggleCheckbox:u,isChecked:l,isIndeterminate:i,getCheckedKeys:d,getCheckedNodes:f,getHalfCheckedKeys:p,getHalfCheckedNodes:h,setChecked:y,setCheckedKeys:m}}function MJ(e,t){const n=L(new Set([])),o=L(new Set([])),r=S(()=>it(e.filterMethod));function a(i){var u;if(!r.value)return;const c=new Set,d=o.value,f=n.value,p=[],h=((u=t.value)==null?void 0:u.treeNodes)||[],v=e.filterMethod;f.clear();function g(m){m.forEach(y=>{p.push(y),v?.(i,y.data,y)?p.forEach(C=>{c.add(C.key),C.expanded=!0}):(y.expanded=!1,y.isLeaf&&f.add(y.key));const k=y.children;if(k&&g(k),!y.isLeaf){if(!c.has(y.key))f.add(y.key);else if(k){let C=!0;for(const b of k)if(!f.has(b.key)){C=!1;break}C?d.add(y.key):d.delete(y.key)}}p.pop()})}return g(h),c}function l(i){return o.value.has(i.key)}return{hiddenExpandIconKeySet:o,hiddenNodeKeySet:n,doFilter:a,isForceHiddenExpandIcon:l}}function AJ(e,t){const n=L(new Set),o=L(),r=xn(),a=L(),{isIndeterminate:l,isChecked:i,toggleCheckbox:u,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:h,setCheckedKeys:v}=IJ(e,r),{doFilter:g,hiddenNodeKeySet:m,isForceHiddenExpandIcon:y}=MJ(e,r),k=S(()=>{var de;return((de=e.props)==null?void 0:de.value)||Xu.KEY}),C=S(()=>{var de;return((de=e.props)==null?void 0:de.children)||Xu.CHILDREN}),b=S(()=>{var de;return((de=e.props)==null?void 0:de.disabled)||Xu.DISABLED}),x=S(()=>{var de;return((de=e.props)==null?void 0:de.label)||Xu.LABEL}),_=S(()=>{var de;const U=n.value,le=m.value,me=[],_e=((de=r.value)==null?void 0:de.treeNodes)||[],Ce=[];for(let we=_e.length-1;we>=0;--we)Ce.push(_e[we]);for(;Ce.length;){const we=Ce.pop();if(!le.has(we.key)&&(me.push(we),we.children&&U.has(we.key)))for(let $e=we.children.length-1;$e>=0;--$e)Ce.push(we.children[$e])}return me}),z=S(()=>_.value.length>0);function I(de){const U=new Map,le=new Map;let me=1;function _e(we,$e=1,Re=void 0){var Ke;const De=[];for(const at of we){const Ze=O(at),ot={level:$e,key:Ze,data:at};ot.label=K(at),ot.parent=Re;const gt=j(at);ot.disabled=A(at),ot.isLeaf=!gt||gt.length===0,ot.expanded=n.value.has(Ze),gt&&gt.length&&(ot.children=_e(gt,$e+1,ot)),De.push(ot),U.set(Ze,ot),le.has($e)||le.set($e,[]),(Ke=le.get($e))==null||Ke.push(ot)}return $e>me&&(me=$e),De}const Ce=_e(de);return{treeNodeMap:U,levelTreeNodeMap:le,maxLevel:me,treeNodes:Ce}}function P(de){const U=g(de);U&&(n.value=U)}function j(de){return de[C.value]}function O(de){return de?de[k.value]:""}function A(de){return de[b.value]}function K(de){return de[x.value]}function Y(de){n.value.has(de.key)?G(de):q(de)}function Z(de){const U=new Set,le=r.value.treeNodeMap;n.value.forEach(me=>{const _e=le.get(me);n.value.delete(_e.key),_e.expanded=!1}),de.forEach(me=>{let _e=le.get(me);for(;_e&&!U.has(_e.key);)U.add(_e.key),_e.expanded=!0,_e=_e.parent}),n.value=U}function $(de,U){t(hO,de.data,de,U),D(de),e.expandOnClickNode&&Y(de),e.showCheckbox&&(e.checkOnClickNode||de.isLeaf&&e.checkOnClickLeaf)&&!de.disabled&&u(de,!i(de),!0)}function R(de,U){t(pO,de.data,de,U)}function D(de){J(de)||(o.value=de.key,t(mO,de.data,de))}function B(de,U){u(de,U)}function q(de){const U=n.value;if(r.value&&e.accordion){const{treeNodeMap:me}=r.value;U.forEach(_e=>{const Ce=me.get(_e);de&&de.level===Ce?.level&&(U.delete(_e),Ce.expanded=!1)})}U.add(de.key);const le=ce(de.key);le&&(le.expanded=!0,t(gO,le.data,le))}function G(de){n.value.delete(de.key);const U=ce(de.key);U&&(U.expanded=!1,t(vO,U.data,U))}function X(de){return!!de.disabled}function J(de){const U=o.value;return U!==void 0&&U===de.key}function ue(){var de,U;if(o.value)return(U=(de=r.value)==null?void 0:de.treeNodeMap.get(o.value))==null?void 0:U.data}function ae(){return o.value}function ve(de){o.value=de}function re(de){r.value=I(de)}function ce(de){var U;const le=At(de)?O(de):de;return(U=r.value)==null?void 0:U.treeNodeMap.get(le)}function oe(de,U="auto"){const le=ce(de);le&&a.value&&a.value.scrollToItem(_.value.indexOf(le),U)}function ie(de){var U;(U=a.value)==null||U.scrollTo(de)}return ke(()=>e.currentNodeKey,de=>{o.value=de},{immediate:!0}),ke(()=>e.defaultExpandedKeys,de=>{n.value=new Set(de)},{immediate:!0}),ke(()=>e.data,de=>{re(de)},{immediate:!0}),{tree:r,flattenTree:_,isNotEmpty:z,listRef:a,getKey:O,getChildren:j,toggleExpand:Y,toggleCheckbox:u,isChecked:i,isIndeterminate:l,isDisabled:X,isCurrent:J,isForceHiddenExpandIcon:y,handleNodeClick:$,handleNodeDrop:R,handleNodeCheck:B,getCurrentNode:ue,getCurrentKey:ae,setCurrentKey:ve,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:h,setCheckedKeys:v,filter:P,setData:re,getNode:ce,expandNode:q,collapseNode:G,setExpandedKeys:Z,scrollToNode:oe,scrollTo:ie}}var jJ=te({name:"ElTreeNodeContent",props:OJ,setup(e){const t=et(d0),n=Ie("tree");return()=>{const o=e.node,{data:r}=o;return t?.ctx.slots.default?t.ctx.slots.default({node:o,data:r}):mt(s0,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[o?.label])}}});const NJ=te({name:"ElTreeNode"}),RJ=te({...NJ,props:TJ,emits:PJ,setup(e,{emit:t}){const n=e,o=et(d0),r=Ie("tree"),a=S(()=>{var h;return(h=o?.props.indent)!=null?h:16}),l=S(()=>{var h;return(h=o?.props.icon)!=null?h:L2}),i=h=>{const v=o?.props.props.class;if(!v)return{};let g;if(it(v)){const{data:m}=h;g=v(m,h)}else g=v;return rt(g)?{[g]:!0}:g},u=h=>{t("click",n.node,h)},c=h=>{t("drop",n.node,h)},d=()=>{t("toggle",n.node)},f=h=>{t("check",n.node,h)},p=h=>{var v,g,m,y;(m=(g=(v=o?.instance)==null?void 0:v.vnode)==null?void 0:g.props)!=null&&m.onNodeContextmenu&&(h.stopPropagation(),h.preventDefault()),o?.ctx.emit(wO,h,(y=n.node)==null?void 0:y.data,n.node)};return(h,v)=>{var g,m,y;return T(),F("div",{ref:"node$",class:M([s(r).b("node"),s(r).is("expanded",h.expanded),s(r).is("current",h.current),s(r).is("focusable",!h.disabled),s(r).is("checked",!h.disabled&&h.checked),i(h.node)]),role:"treeitem",tabindex:"-1","aria-expanded":h.expanded,"aria-disabled":h.disabled,"aria-checked":h.checked,"data-key":(g=h.node)==null?void 0:g.key,onClick:wt(u,["stop"]),onContextmenu:p,onDragover:wt(()=>{},["prevent"]),onDragenter:wt(()=>{},["prevent"]),onDrop:wt(c,["stop"])},[H("div",{class:M(s(r).be("node","content")),style:ht({paddingLeft:`${(h.node.level-1)*s(a)}px`,height:h.itemSize+"px"})},[s(l)?(T(),ge(s(lt),{key:0,class:M([s(r).is("leaf",!!((m=h.node)!=null&&m.isLeaf)),s(r).is("hidden",h.hiddenExpandIcon),{expanded:!((y=h.node)!=null&&y.isLeaf)&&h.expanded},s(r).be("node","expand-icon")]),onClick:wt(d,["stop"])},{default:ne(()=>[(T(),ge(Rt(s(l))))]),_:1},8,["class","onClick"])):fe("v-if",!0),h.showCheckbox?(T(),ge(s(Ur),{key:1,"model-value":h.checked,indeterminate:h.indeterminate,disabled:h.disabled,onChange:f,onClick:wt(()=>{},["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):fe("v-if",!0),Q(s(jJ),{node:{...h.node,expanded:h.expanded}},null,8,["node"])],6)],42,["aria-expanded","aria-disabled","aria-checked","data-key","onClick","onDragover","onDragenter","onDrop"])}}});var DJ=Ue(RJ,[["__file","tree-node.vue"]]);const LJ=te({name:"ElTreeV2"}),BJ=te({...LJ,props:zJ,emits:$J,setup(e,{expose:t,emit:n}){const o=e,r=ao(),a=S(()=>o.itemSize);Ut(d0,{ctx:{emit:n,slots:r},props:o,instance:Lt()}),Ut(Da,void 0);const{t:l}=Qt(),i=Ie("tree"),{flattenTree:u,isNotEmpty:c,listRef:d,toggleExpand:f,isIndeterminate:p,isChecked:h,isDisabled:v,isCurrent:g,isForceHiddenExpandIcon:m,handleNodeClick:y,handleNodeDrop:k,handleNodeCheck:C,toggleCheckbox:b,getCurrentNode:x,getCurrentKey:_,setCurrentKey:z,getCheckedKeys:I,getCheckedNodes:P,getHalfCheckedKeys:j,getHalfCheckedNodes:O,setChecked:A,setCheckedKeys:K,filter:Y,setData:Z,getNode:$,expandNode:R,collapseNode:D,setExpandedKeys:B,scrollToNode:q,scrollTo:G}=AJ(o,n);return t({toggleCheckbox:b,getCurrentNode:x,getCurrentKey:_,setCurrentKey:z,getCheckedKeys:I,getCheckedNodes:P,getHalfCheckedKeys:j,getHalfCheckedNodes:O,setChecked:A,setCheckedKeys:K,filter:Y,setData:Z,getNode:$,expandNode:R,collapseNode:D,setExpandedKeys:B,scrollToNode:q,scrollTo:G}),(X,J)=>(T(),F("div",{class:M([s(i).b(),{[s(i).m("highlight-current")]:X.highlightCurrent}]),role:"tree"},[s(c)?(T(),ge(s(vT),{key:0,ref_key:"listRef",ref:d,"class-name":s(i).b("virtual-list"),data:s(u),total:s(u).length,height:X.height,"item-size":s(a),"perf-mode":X.perfMode,"scrollbar-always-on":X.scrollbarAlwaysOn},{default:ne(({data:ue,index:ae,style:ve})=>[(T(),ge(DJ,{key:ue[ae].key,style:ht(ve),node:ue[ae],expanded:ue[ae].expanded,"show-checkbox":X.showCheckbox,checked:s(h)(ue[ae]),indeterminate:s(p)(ue[ae]),"item-size":s(a),disabled:s(v)(ue[ae]),current:s(g)(ue[ae]),"hidden-expand-icon":s(m)(ue[ae]),onClick:s(y),onToggle:s(f),onCheck:s(C),onDrop:s(k)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(T(),F("div",{key:1,class:M(s(i).e("empty-block"))},[he(X.$slots,"empty",{},()=>{var ue;return[H("span",{class:M(s(i).e("empty-text"))},Pe((ue=X.emptyText)!=null?ue:s(l)("el.tree.emptyText")),3)]})],2))],2))}});var VJ=Ue(BJ,[["__file","tree.vue"]]);const FJ=Pt(VJ),CO=Symbol("uploadContextKey"),qJ="ElUpload";class KJ extends Error{constructor(t,n,o,r){super(t),this.name="UploadAjaxError",this.status=n,this.method=o,this.url=r}}function zk(e,t,n){let o;return n.response?o=`${n.response.error||n.response}`:n.responseText?o=`${n.responseText}`:o=`fail to ${t.method} ${e} ${n.status}`,new KJ(o,n.status,t.method,e)}function HJ(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const WJ=e=>{typeof XMLHttpRequest>"u"&&Qn(qJ,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",a=>{const l=a;l.percent=a.total>0?a.loaded/a.total*100:0,e.onProgress(l)});const o=new FormData;if(e.data)for(const[a,l]of Object.entries(e.data))Be(l)&&l.length?o.append(a,...l):o.append(a,l);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(zk(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(zk(n,e,t));e.onSuccess(HJ(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const r=e.headers||{};if(r instanceof Headers)r.forEach((a,l)=>t.setRequestHeader(l,a));else for(const[a,l]of Object.entries(r))Yn(l)||t.setRequestHeader(a,String(l));return t.send(o),t},kO=["text","picture","picture-card"];let UJ=1;const Fm=()=>Date.now()+UJ++,SO=qe({action:{type:String,default:"#"},headers:{type:se(Object)},method:{type:String,default:"post"},data:{type:se([Object,Function,Promise]),default:()=>jn({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:se(Array),default:()=>jn([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:kO,default:"text"},httpRequest:{type:se(Function),default:WJ},disabled:Boolean,limit:Number}),YJ=qe({...SO,beforeUpload:{type:se(Function),default:un},beforeRemove:{type:se(Function)},onRemove:{type:se(Function),default:un},onChange:{type:se(Function),default:un},onPreview:{type:se(Function),default:un},onSuccess:{type:se(Function),default:un},onProgress:{type:se(Function),default:un},onError:{type:se(Function),default:un},onExceed:{type:se(Function),default:un},crossorigin:{type:se(String)}}),GJ=qe({files:{type:se(Array),default:()=>jn([])},disabled:Boolean,handlePreview:{type:se(Function),default:un},listType:{type:String,values:kO,default:"text"},crossorigin:{type:se(String)}}),XJ={remove:e=>!!e},ZJ=te({name:"ElUploadList"}),QJ=te({...ZJ,props:GJ,emits:XJ,setup(e,{emit:t}){const n=e,{t:o}=Qt(),r=Ie("upload"),a=Ie("icon"),l=Ie("list"),i=go(),u=L(!1),c=S(()=>[r.b("list"),r.bm("list",n.listType),r.is("disabled",n.disabled)]),d=f=>{t("remove",f)};return(f,p)=>(T(),ge(fx,{tag:"ul",class:M(s(c)),name:s(l).b()},{default:ne(()=>[(T(!0),F(tt,null,Dt(f.files,(h,v)=>(T(),F("li",{key:h.uid||h.name,class:M([s(r).be("list","item"),s(r).is(h.status),{focusing:u.value}]),tabindex:s(i)?void 0:0,"aria-disabled":s(i),role:"button",onKeydown:Ln(g=>!s(i)&&d(h),["delete"]),onFocus:g=>u.value=!0,onBlur:g=>u.value=!1,onClick:g=>u.value=!1},[he(f.$slots,"default",{file:h,index:v},()=>[f.listType==="picture"||h.status!=="uploading"&&f.listType==="picture-card"?(T(),F("img",{key:0,class:M(s(r).be("list","item-thumbnail")),src:h.url,crossorigin:f.crossorigin,alt:""},null,10,["src","crossorigin"])):fe("v-if",!0),h.status==="uploading"||f.listType!=="picture-card"?(T(),F("div",{key:1,class:M(s(r).be("list","item-info"))},[H("a",{class:M(s(r).be("list","item-name")),onClick:wt(g=>f.handlePreview(h),["prevent"])},[Q(s(lt),{class:M(s(a).m("document"))},{default:ne(()=>[Q(s(R3))]),_:1},8,["class"]),H("span",{class:M(s(r).be("list","item-file-name")),title:h.name},Pe(h.name),11,["title"])],10,["onClick"]),h.status==="uploading"?(T(),ge(s(lT),{key:0,type:f.listType==="picture-card"?"circle":"line","stroke-width":f.listType==="picture-card"?6:2,percentage:Number(h.percentage),style:ht(f.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):fe("v-if",!0)],2)):fe("v-if",!0),H("label",{class:M(s(r).be("list","item-status-label"))},[f.listType==="text"?(T(),ge(s(lt),{key:0,class:M([s(a).m("upload-success"),s(a).m("circle-check")])},{default:ne(()=>[Q(s(tb))]),_:1},8,["class"])):["picture-card","picture"].includes(f.listType)?(T(),ge(s(lt),{key:1,class:M([s(a).m("upload-success"),s(a).m("check")])},{default:ne(()=>[Q(s(gd))]),_:1},8,["class"])):fe("v-if",!0)],2),s(i)?fe("v-if",!0):(T(),ge(s(lt),{key:2,class:M(s(a).m("close")),onClick:g=>d(h)},{default:ne(()=>[Q(s(Kr))]),_:2},1032,["class","onClick"])),fe(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),fe(" This is a bug which needs to be fixed "),fe(" TODO: Fix the incorrect navigation interaction "),s(i)?fe("v-if",!0):(T(),F("i",{key:3,class:M(s(a).m("close-tip"))},Pe(s(o)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(T(),F("span",{key:4,class:M(s(r).be("list","item-actions"))},[H("span",{class:M(s(r).be("list","item-preview")),onClick:g=>f.handlePreview(h)},[Q(s(lt),{class:M(s(a).m("zoom-in"))},{default:ne(()=>[Q(s(K2))]),_:1},8,["class"])],10,["onClick"]),s(i)?fe("v-if",!0):(T(),F("span",{key:0,class:M(s(r).be("list","item-delete")),onClick:g=>d(h)},[Q(s(lt),{class:M(s(a).m("delete"))},{default:ne(()=>[Q(s(A3))]),_:1},8,["class"])],10,["onClick"]))],2)):fe("v-if",!0)])],42,["tabindex","aria-disabled","onKeydown","onFocus","onBlur","onClick"]))),128)),he(f.$slots,"append")]),_:3},8,["class","name"]))}});var Tk=Ue(QJ,[["__file","upload-list.vue"]]);const JJ=qe({disabled:Boolean}),eee={file:e=>Be(e)},_O="ElUploadDrag",tee=te({name:_O}),nee=te({...tee,props:JJ,emits:eee,setup(e,{emit:t}){et(CO)||Qn(_O,"usage: <el-upload><el-upload-dragger /></el-upload>");const o=Ie("upload"),r=L(!1),a=go(),l=c=>{if(a.value)return;r.value=!1,c.stopPropagation();const d=Array.from(c.dataTransfer.files),f=c.dataTransfer.items||[];d.forEach((p,h)=>{var v;const g=f[h],m=(v=g?.webkitGetAsEntry)==null?void 0:v.call(g);m&&(p.isDirectory=m.isDirectory)}),t("file",d)},i=()=>{a.value||(r.value=!0)},u=c=>{c.currentTarget.contains(c.relatedTarget)||(r.value=!1)};return(c,d)=>(T(),F("div",{class:M([s(o).b("dragger"),s(o).is("dragover",r.value)]),onDrop:wt(l,["prevent"]),onDragover:wt(i,["prevent"]),onDragleave:wt(u,["prevent"])},[he(c.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var oee=Ue(nee,[["__file","upload-dragger.vue"]]);const ree=qe({...SO,beforeUpload:{type:se(Function),default:un},onRemove:{type:se(Function),default:un},onStart:{type:se(Function),default:un},onSuccess:{type:se(Function),default:un},onProgress:{type:se(Function),default:un},onError:{type:se(Function),default:un},onExceed:{type:se(Function),default:un}}),aee=te({name:"ElUploadContent",inheritAttrs:!1}),lee=te({...aee,props:ree,setup(e,{expose:t}){const n=e,o=Ie("upload"),r=go(),a=xn({}),l=xn(),i=g=>{if(g.length===0)return;const{autoUpload:m,limit:y,fileList:k,multiple:C,onStart:b,onExceed:x}=n;if(y&&k.length+g.length>y){x(g,k);return}C||(g=g.slice(0,1));for(const _ of g){const z=_;z.uid=Fm(),b(z),m&&u(z)}},u=async g=>{if(l.value.value="",!n.beforeUpload)return d(g);let m,y={};try{const C=n.data,b=n.beforeUpload(g);y=bc(n.data)?kh(n.data):n.data,m=await b,bc(n.data)&&Vn(C,y)&&(y=kh(n.data))}catch{m=!1}if(m===!1){n.onRemove(g);return}let k=g;m instanceof Blob&&(m instanceof File?k=m:k=new File([m],g.name,{type:g.type})),d(Object.assign(k,{uid:g.uid}),y)},c=async(g,m)=>it(g)?g(m):g,d=async(g,m)=>{const{headers:y,data:k,method:C,withCredentials:b,name:x,action:_,onProgress:z,onSuccess:I,onError:P,httpRequest:j}=n;try{m=await c(m??k,g)}catch{n.onRemove(g);return}const{uid:O}=g,A={headers:y||{},withCredentials:b,file:g,data:m,method:C,filename:x,action:_,onProgress:Y=>{z(Y,g)},onSuccess:Y=>{I(Y,g),delete a.value[O]},onError:Y=>{P(Y,g),delete a.value[O]}},K=j(A);a.value[O]=K,K instanceof Promise&&K.then(A.onSuccess,A.onError)},f=g=>{const m=g.target.files;m&&i(Array.from(m))},p=()=>{r.value||(l.value.value="",l.value.click())},h=()=>{p()};return t({abort:g=>{P2(a.value).filter(g?([y])=>String(g.uid)===y:()=>!0).forEach(([y,k])=>{k instanceof XMLHttpRequest&&k.abort(),delete a.value[y]})},upload:u}),(g,m)=>(T(),F("div",{class:M([s(o).b(),s(o).m(g.listType),s(o).is("drag",g.drag),s(o).is("disabled",s(r))]),tabindex:s(r)?void 0:0,"aria-disabled":s(r),role:"button",onClick:p,onKeydown:Ln(wt(h,["self"]),["enter","space"])},[g.drag?(T(),ge(oee,{key:0,disabled:s(r),onFile:i},{default:ne(()=>[he(g.$slots,"default")]),_:3},8,["disabled"])):he(g.$slots,"default",{key:1}),H("input",{ref_key:"inputRef",ref:l,class:M(s(o).e("input")),name:g.name,disabled:s(r),multiple:g.multiple,accept:g.accept,type:"file",onChange:f,onClick:wt(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","aria-disabled","onKeydown"]))}});var Ok=Ue(lee,[["__file","upload-content.vue"]]);const $k="ElUpload",Pk=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},see=(e,t)=>{const n=k2(e,"fileList",void 0,{passive:!0}),o=h=>n.value.find(v=>v.uid===h.uid);function r(h){var v;(v=t.value)==null||v.abort(h)}function a(h=["ready","uploading","success","fail"]){n.value=n.value.filter(v=>!h.includes(v.status))}function l(h){n.value=n.value.filter(v=>v.uid!==h.uid)}const i=(h,v)=>{const g=o(v);g&&(console.error(h),g.status="fail",l(g),e.onError(h,g,n.value),e.onChange(g,n.value))},u=(h,v)=>{const g=o(v);g&&(e.onProgress(h,g,n.value),g.status="uploading",g.percentage=Math.round(h.percent))},c=(h,v)=>{const g=o(v);g&&(g.status="success",g.response=h,e.onSuccess(h,g,n.value),e.onChange(g,n.value))},d=h=>{Yn(h.uid)&&(h.uid=Fm());const v={name:h.name,percentage:0,status:"ready",size:h.size,raw:h,uid:h.uid};if(e.listType==="picture-card"||e.listType==="picture")try{v.url=URL.createObjectURL(h)}catch(g){Kt($k,g.message),e.onError(g,v,n.value)}n.value=[...n.value,v],e.onChange(v,n.value)},f=async h=>{const v=h instanceof File?o(h):h;v||Qn($k,"file to be removed not found");const g=m=>{r(m),l(m),e.onRemove(m,n.value),Pk(m)};e.beforeRemove?await e.beforeRemove(v,n.value)!==!1&&g(v):g(v)};function p(){n.value.filter(({status:h})=>h==="ready").forEach(({raw:h})=>{var v;return h&&((v=t.value)==null?void 0:v.upload(h))})}return ke(()=>e.listType,h=>{h!=="picture-card"&&h!=="picture"||(n.value=n.value.map(v=>{const{raw:g,url:m}=v;if(!m&&g)try{v.url=URL.createObjectURL(g)}catch(y){e.onError(y,v,n.value)}return v}))}),ke(n,h=>{for(const v of h)v.uid||(v.uid=Fm()),v.status||(v.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:r,clearFiles:a,handleError:i,handleProgress:u,handleStart:d,handleSuccess:c,handleRemove:f,submit:p,revokeFileObjectURL:Pk}},iee=te({name:"ElUpload"}),uee=te({...iee,props:YJ,setup(e,{expose:t}){const n=e,o=go(),r=xn(),{abort:a,submit:l,clearFiles:i,uploadFiles:u,handleStart:c,handleError:d,handleRemove:f,handleSuccess:p,handleProgress:h,revokeFileObjectURL:v}=see(n,r),g=S(()=>n.listType==="picture-card"),m=S(()=>({...n,fileList:u.value,onStart:c,onProgress:h,onSuccess:p,onError:d,onRemove:f}));return cn(()=>{u.value.forEach(v)}),Ut(CO,{accept:sn(n,"accept")}),t({abort:a,submit:l,clearFiles:i,handleStart:c,handleRemove:f}),(y,k)=>(T(),F("div",null,[s(g)&&y.showFileList?(T(),ge(Tk,{key:0,disabled:s(o),"list-type":y.listType,files:s(u),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:s(f)},yr({append:ne(()=>[Q(Ok,Vt({ref_key:"uploadRef",ref:r},s(m)),{default:ne(()=>[y.$slots.trigger?he(y.$slots,"trigger",{key:0}):fe("v-if",!0),!y.$slots.trigger&&y.$slots.default?he(y.$slots,"default",{key:1}):fe("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:ne(({file:C,index:b})=>[he(y.$slots,"file",{file:C,index:b})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):fe("v-if",!0),!s(g)||s(g)&&!y.showFileList?(T(),ge(Ok,Vt({key:1,ref_key:"uploadRef",ref:r},s(m)),{default:ne(()=>[y.$slots.trigger?he(y.$slots,"trigger",{key:0}):fe("v-if",!0),!y.$slots.trigger&&y.$slots.default?he(y.$slots,"default",{key:1}):fe("v-if",!0)]),_:3},16)):fe("v-if",!0),y.$slots.trigger?he(y.$slots,"default",{key:2}):fe("v-if",!0),he(y.$slots,"tip"),!s(g)&&y.showFileList?(T(),ge(Tk,{key:3,disabled:s(o),"list-type":y.listType,files:s(u),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:s(f)},yr({_:2},[y.$slots.file?{name:"default",fn:ne(({file:C,index:b})=>[he(y.$slots,"file",{file:C,index:b})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):fe("v-if",!0)]))}});var cee=Ue(uee,[["__file","upload.vue"]]);const dee=Pt(cee),fee=qe({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:se([String,Array]),default:"Element Plus"},font:{type:se(Object)},gap:{type:se(Array),default:()=>[100,100]},offset:{type:se(Array)}});function hee(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function pee(e){return Object.keys(e).map(t=>`${hee(t)}: ${e[t]};`).join(" ")}function gee(){return window.devicePixelRatio||1}const vee=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},mee={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function fv(e,t,n=1){const o=document.createElement("canvas"),r=o.getContext("2d"),a=e*n,l=t*n;return o.setAttribute("width",`${a}px`),o.setAttribute("height",`${l}px`),r.save(),[r,o,a,l]}function yee(){function e(t,n,o,r,a,l,i,u,c){const[d,f,p,h]=fv(r,a,o);if(t instanceof HTMLImageElement)d.drawImage(t,0,0,p,h);else{const{color:X,fontSize:J,fontStyle:ue,fontWeight:ae,fontFamily:ve,textAlign:re,textBaseline:ce}=l,oe=Number(J)*o;d.font=`${ue} normal ${ae} ${oe}px/${a}px ${ve}`,d.fillStyle=X,d.textAlign=re,d.textBaseline=ce;const ie=Be(t)?t:[t];ie?.forEach((de,U)=>{const[le,me]=mee[re];d.fillText(de??"",p*le+c*me,U*(oe+l.fontGap*o))})}const v=Math.PI/180*Number(n),g=Math.max(r,a),[m,y,k]=fv(g,g,o);m.translate(k/2,k/2),m.rotate(v),p>0&&h>0&&m.drawImage(f,-p/2,-h/2);function C(X,J){const ue=X*Math.cos(v)-J*Math.sin(v),ae=X*Math.sin(v)+J*Math.cos(v);return[ue,ae]}let b=0,x=0,_=0,z=0;const I=p/2,P=h/2;[[0-I,0-P],[0+I,0-P],[0+I,0+P],[0-I,0+P]].forEach(([X,J])=>{const[ue,ae]=C(X,J);b=Math.min(b,ue),x=Math.max(x,ue),_=Math.min(_,ae),z=Math.max(z,ae)});const O=b+k/2,A=_+k/2,K=x-b,Y=z-_,Z=i*o,$=u*o,R=(K+Z)*2,D=Y+$,[B,q]=fv(R,D);function G(X=0,J=0){B.drawImage(y,O,A,K,Y,X,J,K,Y)}return G(),G(K+Z,-Y/2-$/2),G(K+Z,+Y/2+$/2),[q.toDataURL(),R/o,D/o]}return e}const bee=te({name:"ElWatermark"}),wee=te({...bee,props:fee,setup(e){const t=e,n={position:"relative"},o=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.fontGap)!=null?A:3}),r=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.color)!=null?A:"rgba(0,0,0,.15)"}),a=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.fontSize)!=null?A:16}),l=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.fontWeight)!=null?A:"normal"}),i=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.fontStyle)!=null?A:"normal"}),u=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.fontFamily)!=null?A:"sans-serif"}),c=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.textAlign)!=null?A:"center"}),d=S(()=>{var O,A;return(A=(O=t.font)==null?void 0:O.textBaseline)!=null?A:"hanging"}),f=S(()=>t.gap[0]),p=S(()=>t.gap[1]),h=S(()=>f.value/2),v=S(()=>p.value/2),g=S(()=>{var O,A;return(A=(O=t.offset)==null?void 0:O[0])!=null?A:h.value}),m=S(()=>{var O,A;return(A=(O=t.offset)==null?void 0:O[1])!=null?A:v.value}),y=()=>{const O={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let A=g.value-h.value,K=m.value-v.value;return A>0&&(O.left=`${A}px`,O.width=`calc(100% - ${A}px)`,A=0),K>0&&(O.top=`${K}px`,O.height=`calc(100% - ${K}px)`,K=0),O.backgroundPosition=`${A}px ${K}px`,O},k=xn(null),C=xn(),b=L(!1),x=()=>{C.value&&(C.value.remove(),C.value=void 0)},_=(O,A)=>{var K;k.value&&C.value&&(b.value=!0,C.value.setAttribute("style",pee({...y(),backgroundImage:`url('${O}')`,backgroundSize:`${Math.floor(A)}px`})),(K=k.value)==null||K.append(C.value),setTimeout(()=>{b.value=!1}))},z=O=>{let A=120,K=64,Y=0;const{image:Z,content:$,width:R,height:D,rotate:B}=t;if(!Z&&O.measureText){O.font=`${Number(a.value)}px ${u.value}`;const q=Be($)?$:[$];let G=0,X=0;q.forEach(ue=>{const{width:ae,fontBoundingBoxAscent:ve,fontBoundingBoxDescent:re,actualBoundingBoxAscent:ce,actualBoundingBoxDescent:oe}=O.measureText(ue),ie=Zt(ve)?ce+oe:ve+re;ae>G&&(G=Math.ceil(ae)),ie>X&&(X=Math.ceil(ie))}),A=G,K=X*q.length+(q.length-1)*o.value;const J=Math.PI/180*Number(B);Y=Math.ceil(Math.abs(Math.sin(J)*K)/2),A+=Y}return[R??A,D??K,Y]},I=yee(),P=()=>{const A=document.createElement("canvas").getContext("2d"),K=t.image,Y=t.content,Z=t.rotate;if(A){C.value||(C.value=document.createElement("div"));const $=gee(),[R,D,B]=z(A),q=G=>{const[X,J]=I(G||"",Z,$,R,D,{color:r.value,fontSize:a.value,fontStyle:i.value,fontWeight:l.value,fontFamily:u.value,fontGap:o.value,textAlign:c.value,textBaseline:d.value},f.value,p.value,B);_(X,J)};if(K){const G=new Image;G.onload=()=>{q(G)},G.onerror=()=>{q(Y)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=K}else q(Y)}};return Bt(()=>{P()}),ke(()=>t,()=>{P()},{deep:!0,flush:"post"}),cn(()=>{x()}),C2(k,O=>{b.value||O.forEach(A=>{vee(A,C.value)&&(x(),P())})},{attributes:!0,subtree:!0,childList:!0}),(O,A)=>(T(),F("div",{ref_key:"containerRef",ref:k,style:ht([n])},[he(O.$slots,"default")],4))}});var Cee=Ue(wee,[["__file","watermark.vue"]]);const kee=Pt(Cee),See=qe({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:se(Object)},targetAreaClickable:{type:Boolean,default:!0}}),su=Math.min,qs=Math.max,qh=Math.round,bf=Math.floor,ja=e=>({x:e,y:e}),_ee={left:"right",right:"left",bottom:"top",top:"bottom"},xee={start:"end",end:"start"};function qm(e,t,n){return qs(e,su(t,n))}function Td(e,t){return typeof e=="function"?e(t):e}function Qs(e){return e.split("-")[0]}function Od(e){return e.split("-")[1]}function xO(e){return e==="x"?"y":"x"}function f0(e){return e==="y"?"height":"width"}const Eee=new Set(["top","bottom"]);function es(e){return Eee.has(Qs(e))?"y":"x"}function h0(e){return xO(es(e))}function zee(e,t,n){n===void 0&&(n=!1);const o=Od(e),r=h0(e),a=f0(r);let l=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=Kh(l)),[l,Kh(l)]}function Tee(e){const t=Kh(e);return[Km(e),t,Km(t)]}function Km(e){return e.replace(/start|end/g,t=>xee[t])}const Ik=["left","right"],Mk=["right","left"],Oee=["top","bottom"],$ee=["bottom","top"];function Pee(e,t,n){switch(e){case"top":case"bottom":return n?t?Mk:Ik:t?Ik:Mk;case"left":case"right":return t?Oee:$ee;default:return[]}}function Iee(e,t,n,o){const r=Od(e);let a=Pee(Qs(e),n==="start",o);return r&&(a=a.map(l=>l+"-"+r),t&&(a=a.concat(a.map(Km)))),a}function Kh(e){return e.replace(/left|right|bottom|top/g,t=>_ee[t])}function Mee(e){return{top:0,right:0,bottom:0,left:0,...e}}function EO(e){return typeof e!="number"?Mee(e):{top:e,right:e,bottom:e,left:e}}function Hh(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Ak(e,t,n){let{reference:o,floating:r}=e;const a=es(t),l=h0(t),i=f0(l),u=Qs(t),c=a==="y",d=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[i]/2-r[i]/2;let h;switch(u){case"top":h={x:d,y:o.y-r.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(Od(t)){case"start":h[l]-=p*(n&&c?-1:1);break;case"end":h[l]+=p*(n&&c?-1:1);break}return h}const Aee=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:l}=n,i=a.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:f}=Ak(c,o,u),p=o,h={},v=0;for(let g=0;g<i.length;g++){const{name:m,fn:y}=i[g],{x:k,y:C,data:b,reset:x}=await y({x:d,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});d=k??d,f=C??f,h={...h,[m]:{...h[m],...b}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(c=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:d,y:f}=Ak(c,p,u)),g=-1)}return{x:d,y:f,placement:p,strategy:r,middlewareData:h}};async function p0(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:a,rects:l,elements:i,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=Td(t,e),v=EO(h),m=i[p?f==="floating"?"reference":"floating":f],y=Hh(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(m)))==null||n?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(i.floating)),boundary:c,rootBoundary:d,strategy:u})),k=f==="floating"?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(i.floating)),b=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},x=Hh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:k,offsetParent:C,strategy:u}):k);return{top:(y.top-x.top+v.top)/b.y,bottom:(x.bottom-y.bottom+v.bottom)/b.y,left:(y.left-x.left+v.left)/b.x,right:(x.right-y.right+v.right)/b.x}}const jee=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:a,platform:l,elements:i,middlewareData:u}=t,{element:c,padding:d=0}=Td(e,t)||{};if(c==null)return{};const f=EO(d),p={x:n,y:o},h=h0(r),v=f0(h),g=await l.getDimensions(c),m=h==="y",y=m?"top":"left",k=m?"bottom":"right",C=m?"clientHeight":"clientWidth",b=a.reference[v]+a.reference[h]-p[h]-a.floating[v],x=p[h]-a.reference[h],_=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let z=_?_[C]:0;(!z||!await(l.isElement==null?void 0:l.isElement(_)))&&(z=i.floating[C]||a.floating[v]);const I=b/2-x/2,P=z/2-g[v]/2-1,j=su(f[y],P),O=su(f[k],P),A=j,K=z-g[v]-O,Y=z/2-g[v]/2+I,Z=qm(A,Y,K),$=!u.arrow&&Od(r)!=null&&Y!==Z&&a.reference[v]/2-(Y<A?j:O)-g[v]/2<0,R=$?Y<A?Y-A:Y-K:0;return{[h]:p[h]+R,data:{[h]:Z,centerOffset:Y-Z-R,...$&&{alignmentOffset:R}},reset:$}}}),Nee=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:a,rects:l,initialPlacement:i,platform:u,elements:c}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...m}=Td(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const y=Qs(r),k=es(i),C=Qs(i)===i,b=await(u.isRTL==null?void 0:u.isRTL(c.floating)),x=p||(C||!g?[Kh(i)]:Tee(i)),_=v!=="none";!p&&_&&x.push(...Iee(i,g,v,b));const z=[i,...x],I=await p0(t,m),P=[];let j=((o=a.flip)==null?void 0:o.overflows)||[];if(d&&P.push(I[y]),f){const Y=zee(r,l,b);P.push(I[Y[0]],I[Y[1]])}if(j=[...j,{placement:r,overflows:P}],!P.every(Y=>Y<=0)){var O,A;const Y=(((O=a.flip)==null?void 0:O.index)||0)+1,Z=z[Y];if(Z&&(!(f==="alignment"?k!==es(Z):!1)||j.every(D=>es(D.placement)===k?D.overflows[0]>0:!0)))return{data:{index:Y,overflows:j},reset:{placement:Z}};let $=(A=j.filter(R=>R.overflows[0]<=0).sort((R,D)=>R.overflows[1]-D.overflows[1])[0])==null?void 0:A.placement;if(!$)switch(h){case"bestFit":{var K;const R=(K=j.filter(D=>{if(_){const B=es(D.placement);return B===k||B==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(B=>B>0).reduce((B,q)=>B+q,0)]).sort((D,B)=>D[1]-B[1])[0])==null?void 0:K[0];R&&($=R);break}case"initialPlacement":$=i;break}if(r!==$)return{reset:{placement:$}}}return{}}}},Ree=new Set(["left","top"]);async function Dee(e,t){const{placement:n,platform:o,elements:r}=e,a=await(o.isRTL==null?void 0:o.isRTL(r.floating)),l=Qs(n),i=Od(n),u=es(n)==="y",c=Ree.has(l)?-1:1,d=a&&u?-1:1,f=Td(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof v=="number"&&(h=i==="end"?v*-1:v),u?{x:h*d,y:p*c}:{x:p*c,y:h*d}}const Lee=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:a,placement:l,middlewareData:i}=t,u=await Dee(t,e);return l===((n=i.offset)==null?void 0:n.placement)&&(o=i.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:a+u.y,data:{...u,placement:l}}}}},Bee=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:i={fn:m=>{let{x:y,y:k}=m;return{x:y,y:k}}},...u}=Td(e,t),c={x:n,y:o},d=await p0(t,u),f=es(Qs(r)),p=xO(f);let h=c[p],v=c[f];if(a){const m=p==="y"?"top":"left",y=p==="y"?"bottom":"right",k=h+d[m],C=h-d[y];h=qm(k,h,C)}if(l){const m=f==="y"?"top":"left",y=f==="y"?"bottom":"right",k=v+d[m],C=v-d[y];v=qm(k,v,C)}const g=i.fn({...t,[p]:h,[f]:v});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[p]:a,[f]:l}}}}}};function Fp(){return typeof window<"u"}function ku(e){return zO(e)?(e.nodeName||"").toLowerCase():"#document"}function Or(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ha(e){var t;return(t=(zO(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zO(e){return Fp()?e instanceof Node||e instanceof Or(e).Node:!1}function ua(e){return Fp()?e instanceof Element||e instanceof Or(e).Element:!1}function Ba(e){return Fp()?e instanceof HTMLElement||e instanceof Or(e).HTMLElement:!1}function jk(e){return!Fp()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Or(e).ShadowRoot}const Vee=new Set(["inline","contents"]);function $d(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ca(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Vee.has(r)}const Fee=new Set(["table","td","th"]);function qee(e){return Fee.has(ku(e))}const Kee=[":popover-open",":modal"];function qp(e){return Kee.some(t=>{try{return e.matches(t)}catch{return!1}})}const Hee=["transform","translate","scale","rotate","perspective"],Wee=["transform","translate","scale","rotate","perspective","filter"],Uee=["paint","layout","strict","content"];function g0(e){const t=v0(),n=ua(e)?ca(e):e;return Hee.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Wee.some(o=>(n.willChange||"").includes(o))||Uee.some(o=>(n.contain||"").includes(o))}function Yee(e){let t=ds(e);for(;Ba(t)&&!iu(t);){if(g0(t))return t;if(qp(t))return null;t=ds(t)}return null}function v0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Gee=new Set(["html","body","#document"]);function iu(e){return Gee.has(ku(e))}function ca(e){return Or(e).getComputedStyle(e)}function Kp(e){return ua(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ds(e){if(ku(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jk(e)&&e.host||Ha(e);return jk(t)?t.host:t}function TO(e){const t=ds(e);return iu(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ba(t)&&$d(t)?t:TO(t)}function Zc(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=TO(e),a=r===((o=e.ownerDocument)==null?void 0:o.body),l=Or(r);if(a){const i=Hm(l);return t.concat(l,l.visualViewport||[],$d(r)?r:[],i&&n?Zc(i):[])}return t.concat(r,Zc(r,[],n))}function Hm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function OO(e){const t=ca(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ba(e),a=r?e.offsetWidth:n,l=r?e.offsetHeight:o,i=qh(n)!==a||qh(o)!==l;return i&&(n=a,o=l),{width:n,height:o,$:i}}function m0(e){return ua(e)?e:e.contextElement}function Vi(e){const t=m0(e);if(!Ba(t))return ja(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:a}=OO(t);let l=(a?qh(n.width):n.width)/o,i=(a?qh(n.height):n.height)/r;return(!l||!Number.isFinite(l))&&(l=1),(!i||!Number.isFinite(i))&&(i=1),{x:l,y:i}}const Xee=ja(0);function $O(e){const t=Or(e);return!v0()||!t.visualViewport?Xee:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zee(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Or(e)?!1:t}function Js(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=m0(e);let l=ja(1);t&&(o?ua(o)&&(l=Vi(o)):l=Vi(e));const i=Zee(a,n,o)?$O(a):ja(0);let u=(r.left+i.x)/l.x,c=(r.top+i.y)/l.y,d=r.width/l.x,f=r.height/l.y;if(a){const p=Or(a),h=o&&ua(o)?Or(o):o;let v=p,g=Hm(v);for(;g&&o&&h!==v;){const m=Vi(g),y=g.getBoundingClientRect(),k=ca(g),C=y.left+(g.clientLeft+parseFloat(k.paddingLeft))*m.x,b=y.top+(g.clientTop+parseFloat(k.paddingTop))*m.y;u*=m.x,c*=m.y,d*=m.x,f*=m.y,u+=C,c+=b,v=Or(g),g=Hm(v)}}return Hh({width:d,height:f,x:u,y:c})}function Hp(e,t){const n=Kp(e).scrollLeft;return t?t.left+n:Js(Ha(e)).left+n}function PO(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Hp(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Qee(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const a=r==="fixed",l=Ha(o),i=t?qp(t.floating):!1;if(o===l||i&&a)return n;let u={scrollLeft:0,scrollTop:0},c=ja(1);const d=ja(0),f=Ba(o);if((f||!f&&!a)&&((ku(o)!=="body"||$d(l))&&(u=Kp(o)),Ba(o))){const h=Js(o);c=Vi(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const p=l&&!f&&!a?PO(l,u):ja(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-u.scrollTop*c.y+d.y+p.y}}function Jee(e){return Array.from(e.getClientRects())}function ete(e){const t=Ha(e),n=Kp(e),o=e.ownerDocument.body,r=qs(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=qs(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Hp(e);const i=-n.scrollTop;return ca(o).direction==="rtl"&&(l+=qs(t.clientWidth,o.clientWidth)-r),{width:r,height:a,x:l,y:i}}const Nk=25;function tte(e,t){const n=Or(e),o=Ha(e),r=n.visualViewport;let a=o.clientWidth,l=o.clientHeight,i=0,u=0;if(r){a=r.width,l=r.height;const d=v0();(!d||d&&t==="fixed")&&(i=r.offsetLeft,u=r.offsetTop)}const c=Hp(o);if(c<=0){const d=o.ownerDocument,f=d.body,p=getComputedStyle(f),h=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,v=Math.abs(o.clientWidth-f.clientWidth-h);v<=Nk&&(a-=v)}else c<=Nk&&(a+=c);return{width:a,height:l,x:i,y:u}}const nte=new Set(["absolute","fixed"]);function ote(e,t){const n=Js(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,a=Ba(e)?Vi(e):ja(1),l=e.clientWidth*a.x,i=e.clientHeight*a.y,u=r*a.x,c=o*a.y;return{width:l,height:i,x:u,y:c}}function Rk(e,t,n){let o;if(t==="viewport")o=tte(e,n);else if(t==="document")o=ete(Ha(e));else if(ua(t))o=ote(t,n);else{const r=$O(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Hh(o)}function IO(e,t){const n=ds(e);return n===t||!ua(n)||iu(n)?!1:ca(n).position==="fixed"||IO(n,t)}function rte(e,t){const n=t.get(e);if(n)return n;let o=Zc(e,[],!1).filter(i=>ua(i)&&ku(i)!=="body"),r=null;const a=ca(e).position==="fixed";let l=a?ds(e):e;for(;ua(l)&&!iu(l);){const i=ca(l),u=g0(l);!u&&i.position==="fixed"&&(r=null),(a?!u&&!r:!u&&i.position==="static"&&!!r&&nte.has(r.position)||$d(l)&&!u&&IO(e,l))?o=o.filter(d=>d!==l):r=i,l=ds(l)}return t.set(e,o),o}function ate(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const l=[...n==="clippingAncestors"?qp(t)?[]:rte(t,this._c):[].concat(n),o],i=l[0],u=l.reduce((c,d)=>{const f=Rk(t,d,r);return c.top=qs(f.top,c.top),c.right=su(f.right,c.right),c.bottom=su(f.bottom,c.bottom),c.left=qs(f.left,c.left),c},Rk(t,i,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function lte(e){const{width:t,height:n}=OO(e);return{width:t,height:n}}function ste(e,t,n){const o=Ba(t),r=Ha(t),a=n==="fixed",l=Js(e,!0,a,t);let i={scrollLeft:0,scrollTop:0};const u=ja(0);function c(){u.x=Hp(r)}if(o||!o&&!a)if((ku(t)!=="body"||$d(r))&&(i=Kp(t)),o){const h=Js(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else r&&c();a&&!o&&r&&c();const d=r&&!o&&!a?PO(r,i):ja(0),f=l.left+i.scrollLeft-u.x-d.x,p=l.top+i.scrollTop-u.y-d.y;return{x:f,y:p,width:l.width,height:l.height}}function hv(e){return ca(e).position==="static"}function Dk(e,t){if(!Ba(e)||ca(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ha(e)===n&&(n=n.ownerDocument.body),n}function MO(e,t){const n=Or(e);if(qp(e))return n;if(!Ba(e)){let r=ds(e);for(;r&&!iu(r);){if(ua(r)&&!hv(r))return r;r=ds(r)}return n}let o=Dk(e,t);for(;o&&qee(o)&&hv(o);)o=Dk(o,t);return o&&iu(o)&&hv(o)&&!g0(o)?n:o||Yee(e)||n}const ite=async function(e){const t=this.getOffsetParent||MO,n=this.getDimensions,o=await n(e.floating);return{reference:ste(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ute(e){return ca(e).direction==="rtl"}const cte={convertOffsetParentRelativeRectToViewportRelativeRect:Qee,getDocumentElement:Ha,getClippingRect:ate,getOffsetParent:MO,getElementRects:ite,getClientRects:Jee,getDimensions:lte,getScale:Vi,isElement:ua,isRTL:ute};function AO(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dte(e,t){let n=null,o;const r=Ha(e);function a(){var i;clearTimeout(o),(i=n)==null||i.disconnect(),n=null}function l(i,u){i===void 0&&(i=!1),u===void 0&&(u=1),a();const c=e.getBoundingClientRect(),{left:d,top:f,width:p,height:h}=c;if(i||t(),!p||!h)return;const v=bf(f),g=bf(r.clientWidth-(d+p)),m=bf(r.clientHeight-(f+h)),y=bf(d),C={rootMargin:-v+"px "+-g+"px "+-m+"px "+-y+"px",threshold:qs(0,su(1,u))||1};let b=!0;function x(_){const z=_[0].intersectionRatio;if(z!==u){if(!b)return l();z?l(!1,z):o=setTimeout(()=>{l(!1,1e-7)},1e3)}z===1&&!AO(c,e.getBoundingClientRect())&&l(),b=!1}try{n=new IntersectionObserver(x,{...C,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,C)}n.observe(e)}return l(!0),a}function fte(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=m0(e),d=r||a?[...c?Zc(c):[],...Zc(t)]:[];d.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const f=c&&i?dte(c,n):null;let p=-1,h=null;l&&(h=new ResizeObserver(y=>{let[k]=y;k&&k.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let v,g=u?Js(e):null;u&&m();function m(){const y=Js(e);g&&!AO(g,y)&&n(),g=y,v=requestAnimationFrame(m)}return n(),()=>{var y;d.forEach(k=>{r&&k.removeEventListener("scroll",n),a&&k.removeEventListener("resize",n)}),f?.(),(y=h)==null||y.disconnect(),h=null,u&&cancelAnimationFrame(v)}}const hte=p0,pte=Lee,gte=Bee,vte=Nee,mte=jee,yte=(e,t,n)=>{const o=new Map,r={platform:cte,...n},a={...r.platform,_c:o};return Aee(e,t,{...r,platform:a})},bte=(e,t,n,o,r)=>{const a=L(null),l=()=>{let f;return rt(e.value)?f=document.querySelector(e.value):it(e.value)?f=e.value():f=e.value,f},i=()=>{const f=l();if(!f||!t.value){a.value=null;return}wte(f)||f.scrollIntoView(r.value);const{left:p,top:h,width:v,height:g}=f.getBoundingClientRect();a.value={left:p,top:h,width:v,height:g,radius:0}};Bt(()=>{ke([t,e],()=>{i()},{immediate:!0}),window.addEventListener("resize",i)}),cn(()=>{window.removeEventListener("resize",i)});const u=f=>{var p;return(p=Be(n.value.offset)?n.value.offset[f]:n.value.offset)!=null?p:6},c=S(()=>{var f;if(!a.value)return a.value;const p=u(0),h=u(1),v=((f=n.value)==null?void 0:f.radius)||2;return{left:a.value.left-p,top:a.value.top-h,width:a.value.width+p*2,height:a.value.height+h*2,radius:v}}),d=S(()=>{const f=l();return!o.value||!f||!window.DOMRect?f||void 0:{getBoundingClientRect(){var p,h,v,g;return window.DOMRect.fromRect({width:((p=c.value)==null?void 0:p.width)||0,height:((h=c.value)==null?void 0:h.height)||0,x:((v=c.value)==null?void 0:v.left)||0,y:((g=c.value)==null?void 0:g.top)||0})}}});return{mergedPosInfo:c,triggerTarget:d}},Wp=Symbol("ElTour");function wte(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:o,right:r,bottom:a,left:l}=e.getBoundingClientRect();return o>=0&&l>=0&&r<=t&&a<=n}const Cte=(e,t,n,o,r,a,l,i)=>{const u=L(),c=L(),d=L({}),f={x:u,y:c,placement:o,strategy:r,middlewareData:d},p=S(()=>{const y=[pte(s(a)),vte(),gte(),kte()];return s(i)&&s(n)&&y.push(mte({element:s(n)})),y}),h=async()=>{if(!nn)return;const y=s(e),k=s(t);if(!y||!k)return;const C=await yte(y,k,{placement:s(o),strategy:s(r),middleware:s(p)});Ac(f).forEach(b=>{f[b].value=C[b]})},v=S(()=>{if(!s(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:s(l)};const{overflow:y}=s(d);return{position:s(r),zIndex:s(l),top:s(c)!=null?`${s(c)}px`:"",left:s(u)!=null?`${s(u)}px`:"",maxWidth:y?.maxWidth?`${y?.maxWidth}px`:""}}),g=S(()=>{if(!s(i))return{};const{arrow:y}=s(d);return{left:y?.x!=null?`${y?.x}px`:"",top:y?.y!=null?`${y?.y}px`:""}});let m;return Bt(()=>{const y=s(e),k=s(t);y&&k&&(m=fte(y,k,h)),sr(()=>{h()})}),cn(()=>{m&&m()}),{update:h,contentStyle:v,arrowStyle:g}},kte=()=>({name:"overflow",async fn(e){const t=await hte(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Ste=te({name:"ElTourMask",inheritAttrs:!1}),_te=te({...Ste,props:See,setup(e){const t=e,{ns:n}=et(Wp),o=S(()=>{var d,f;return(f=(d=t.pos)==null?void 0:d.radius)!=null?f:2}),r=S(()=>{const d=o.value,f=`a${d},${d} 0 0 1`;return{topRight:`${f} ${d},${d}`,bottomRight:`${f} ${-d},${d}`,bottomLeft:`${f} ${-d},${-d}`,topLeft:`${f} ${d},${-d}`}}),{width:a,height:l}=Zy(),i=S(()=>{const d=a.value,f=l.value,p=r.value,h=`M${d},0 L0,0 L0,${f} L${d},${f} L${d},0 Z`,v=o.value;return t.pos?`${h} M${t.pos.left+v},${t.pos.top} h${t.pos.width-v*2} ${p.topRight} v${t.pos.height-v*2} ${p.bottomRight} h${-t.pos.width+v*2} ${p.bottomLeft} v${-t.pos.height+v*2} ${p.topLeft} z`:h}),u=S(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=S(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return jb(sn(t,"visible"),{ns:n}),(d,f)=>d.visible?(T(),F("div",Vt({key:0,class:s(n).e("mask"),style:s(u)},d.$attrs),[(T(),F("svg",{style:{width:"100%",height:"100%"}},[H("path",{class:M(s(n).e("hollow")),style:ht(s(c)),d:s(i)},null,14,["d"])]))],16)):fe("v-if",!0)}});var xte=Ue(_te,[["__file","mask.vue"]]);const Ete=["absolute","fixed"],zte=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],y0=qe({placement:{type:se(String),values:zte,default:"bottom"},reference:{type:se(Object),default:null},strategy:{type:se(String),values:Ete,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),Tte={close:()=>!0},Ote=te({name:"ElTourContent"}),$te=te({...Ote,props:y0,emits:Tte,setup(e,{emit:t}){const n=e,o=L(n.placement),r=L(n.strategy),a=L(null),l=L(null);ke(()=>n.placement,()=>{o.value=n.placement});const{contentStyle:i,arrowStyle:u}=Cte(sn(n,"reference"),a,l,o,r,sn(n,"offset"),sn(n,"zIndex"),sn(n,"showArrow")),c=S(()=>o.value.split("-")[0]),{ns:d}=et(Wp),f=()=>{t("close")},p=h=>{h.detail.focusReason==="pointer"&&h.preventDefault()};return(h,v)=>(T(),F("div",{ref_key:"contentRef",ref:a,style:ht(s(i)),class:M(s(d).e("content")),"data-side":s(c),tabindex:"-1"},[Q(s(wu),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":a.value||void 0,onReleaseRequested:f,onFocusoutPrevented:p},{default:ne(()=>[he(h.$slots,"default")]),_:3},8,["focus-trap-el"]),h.showArrow?(T(),F("span",{key:0,ref_key:"arrowRef",ref:l,style:ht(s(u)),class:M(s(d).e("arrow"))},null,6)):fe("v-if",!0)],14,["data-side"]))}});var Pte=Ue($te,[["__file","content.vue"]]),Ite=te({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let o=0;return()=>{var r,a;const l=(r=t.default)==null?void 0:r.call(t),i=[];let u=0;function c(d){Be(d)&&d.forEach(f=>{var p;((p=f?.type||{})==null?void 0:p.name)==="ElTourStep"&&(i.push(f),u+=1)})}return l.length&&c(Ta((a=l[0])==null?void 0:a.children)),o!==u&&(o=u,n("update-total",u)),i.length?i[e.current]:null}}});const Mte=qe({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:hn},placement:y0.placement,contentStyle:{type:se([Object])},mask:{type:se([Boolean,Object]),default:!0},gap:{type:se(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:se([Boolean,Object]),default:()=>({block:"center"})},type:{type:se(String)},appendTo:{type:Ap.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),Ate={[St]:e=>fn(e),"update:current":e=>ft(e),close:e=>ft(e),finish:()=>!0,change:e=>ft(e)},jte=te({name:"ElTour"}),Nte=te({...jte,props:Mte,emits:Ate,setup(e,{emit:t}){const n=e,o=Ie("tour"),r=L(0),a=L(),l=k2(n,"current",t,{passive:!0}),i=S(()=>{var P;return(P=a.value)==null?void 0:P.target}),u=S(()=>[o.b(),m.value==="primary"?o.m("primary"):""]),c=S(()=>{var P;return((P=a.value)==null?void 0:P.placement)||n.placement}),d=S(()=>{var P,j;return(j=(P=a.value)==null?void 0:P.contentStyle)!=null?j:n.contentStyle}),f=S(()=>{var P,j;return(j=(P=a.value)==null?void 0:P.mask)!=null?j:n.mask}),p=S(()=>!!f.value&&n.modelValue),h=S(()=>fn(f.value)?void 0:f.value),v=S(()=>{var P,j;return!!i.value&&((j=(P=a.value)==null?void 0:P.showArrow)!=null?j:n.showArrow)}),g=S(()=>{var P,j;return(j=(P=a.value)==null?void 0:P.scrollIntoViewOptions)!=null?j:n.scrollIntoViewOptions}),m=S(()=>{var P,j;return(j=(P=a.value)==null?void 0:P.type)!=null?j:n.type}),{nextZIndex:y}=hd(),k=y(),C=S(()=>{var P;return(P=n.zIndex)!=null?P:k}),{mergedPosInfo:b,triggerTarget:x}=bte(i,sn(n,"modelValue"),sn(n,"gap"),f,g);ke(()=>n.modelValue,P=>{P||(l.value=0)});const _=()=>{n.closeOnPressEscape&&(t(St,!1),t("close",l.value))},z=P=>{r.value=P},I=ao();return Ut(Wp,{currentStep:a,current:l,total:r,showClose:sn(n,"showClose"),closeIcon:sn(n,"closeIcon"),mergedType:m,ns:o,slots:I,updateModelValue(P){t(St,P)},onClose(){t("close",l.value)},onFinish(){t("finish")},onChange(){t(Wt,l.value)}}),(P,j)=>(T(),F(tt,null,[Q(s(Cd),{to:P.appendTo},{default:ne(()=>{var O,A;return[H("div",Vt({class:s(u)},P.$attrs),[Q(xte,{visible:s(p),fill:(O=s(h))==null?void 0:O.color,style:ht((A=s(h))==null?void 0:A.style),pos:s(b),"z-index":s(C),"target-area-clickable":P.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),P.modelValue?(T(),ge(Pte,{key:s(l),reference:s(x),placement:s(c),"show-arrow":s(v),"z-index":s(C),style:ht(s(d)),onClose:_},{default:ne(()=>[Q(s(Ite),{current:s(l),onUpdateTotal:z},{default:ne(()=>[he(P.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):fe("v-if",!0)],16)]}),_:3},8,["to"]),fe(" just for IDE "),fe("v-if",!0)],64))}});var Rte=Ue(Nte,[["__file","tour.vue"]]);const Dte=qe({target:{type:se([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:hn},showArrow:{type:Boolean,default:void 0},placement:y0.placement,mask:{type:se([Boolean,Object]),default:void 0},contentStyle:{type:se([Object])},prevButtonProps:{type:se(Object)},nextButtonProps:{type:se(Object)},scrollIntoViewOptions:{type:se([Boolean,Object]),default:void 0},type:{type:se(String)}}),Lte={close:()=>!0},Bte=te({name:"ElTourStep"}),Vte=te({...Bte,props:Dte,emits:Lte,setup(e,{emit:t}){const n=e,{Close:o}=H2,{t:r}=Qt(),{currentStep:a,current:l,total:i,showClose:u,closeIcon:c,mergedType:d,ns:f,slots:p,updateModelValue:h,onClose:v,onFinish:g,onChange:m}=et(Wp);ke(n,P=>{a.value=P},{immediate:!0});const y=S(()=>{var P;return(P=n.showClose)!=null?P:u.value}),k=S(()=>{var P,j;return(j=(P=n.closeIcon)!=null?P:c.value)!=null?j:o}),C=P=>{if(P)return Ep(P,["children","onClick"])},b=()=>{var P,j;l.value-=1,(P=n.prevButtonProps)!=null&&P.onClick&&((j=n.prevButtonProps)==null||j.onClick()),m()},x=()=>{var P;l.value>=i.value-1?_():l.value+=1,(P=n.nextButtonProps)!=null&&P.onClick&&n.nextButtonProps.onClick(),m()},_=()=>{z(),g()},z=()=>{h(!1),v(),t("close")},I=P=>{const j=P.target;if(j?.isContentEditable)return;switch(kn(P)){case We.left:P.preventDefault(),l.value>0&&b();break;case We.right:P.preventDefault(),x();break}};return Bt(()=>{window.addEventListener("keydown",I)}),cn(()=>{window.removeEventListener("keydown",I)}),(P,j)=>(T(),F(tt,null,[s(y)?(T(),F("button",{key:0,"aria-label":s(r)("el.tour.close"),class:M(s(f).e("closebtn")),type:"button",onClick:z},[Q(s(lt),{class:M(s(f).e("close"))},{default:ne(()=>[(T(),ge(Rt(s(k))))]),_:1},8,["class"])],10,["aria-label"])):fe("v-if",!0),H("header",{class:M([s(f).e("header"),{"show-close":s(u)}])},[he(P.$slots,"header",{},()=>[H("span",{role:"heading",class:M(s(f).e("title"))},Pe(P.title),3)])],2),H("div",{class:M(s(f).e("body"))},[he(P.$slots,"default",{},()=>[H("span",null,Pe(P.description),1)])],2),H("footer",{class:M(s(f).e("footer"))},[H("div",{class:M(s(f).b("indicators"))},[s(p).indicators?(T(),ge(Rt(s(p).indicators),{key:0,current:s(l),total:s(i)},null,8,["current","total"])):(T(!0),F(tt,{key:1},Dt(s(i),(O,A)=>(T(),F("span",{key:O,class:M([s(f).b("indicator"),s(f).is("active",A===s(l))])},null,2))),128))],2),H("div",{class:M(s(f).b("buttons"))},[s(l)>0?(T(),ge(s(Co),Vt({key:0,size:"small",type:s(d)},C(P.prevButtonProps),{onClick:b}),{default:ne(()=>{var O,A;return[Tt(Pe((A=(O=P.prevButtonProps)==null?void 0:O.children)!=null?A:s(r)("el.tour.previous")),1)]}),_:1},16,["type"])):fe("v-if",!0),s(l)<=s(i)-1?(T(),ge(s(Co),Vt({key:1,size:"small",type:s(d)==="primary"?"default":"primary"},C(P.nextButtonProps),{onClick:x}),{default:ne(()=>{var O,A;return[Tt(Pe((A=(O=P.nextButtonProps)==null?void 0:O.children)!=null?A:s(l)===s(i)-1?s(r)("el.tour.finish"):s(r)("el.tour.next")),1)]}),_:1},16,["type"])):fe("v-if",!0)],2)],2)],64))}});var jO=Ue(Vte,[["__file","step.vue"]]);const Fte=Pt(Rte,{TourStep:jO}),qte=Rn(jO),Kte=qe({container:{type:se([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:se(String),default:"default"},direction:{type:se(String),default:"vertical"},selectScrollTop:Boolean}),Hte={change:e=>rt(e),click:(e,t)=>e instanceof MouseEvent&&(rt(t)||Zt(t))},NO=Symbol("anchor"),wf=e=>{if(!nn||e==="")return null;if(rt(e))try{return document.querySelector(e)}catch{return null}return e};function Wte(e){let t=0;const n=(...o)=>{t&&Gs(t),t=ss(()=>{e(...o),t=0})};return n.cancel=()=>{Gs(t),t=0},n}const Ute=te({name:"ElAnchor"}),Yte=te({...Ute,props:Kte,emits:Hte,setup(e,{expose:t,emit:n}){const o=e,r=ao(),a=L(""),l=L({}),i=L(null),u=L(null),c=L(),d={};let f=!1,p=0;const h=Ie("anchor"),v=S(()=>[h.b(),o.type==="underline"?h.m("underline"):"",h.m(o.direction)]),g=j=>{d[j.href]=j.el},m=j=>{delete d[j]},y=j=>{a.value!==j&&(a.value=j,n(Wt,j))};let k=null;const C=j=>{if(!c.value)return;const O=wf(j);if(!O)return;k&&k(),f=!0;const A=A1(O,c.value),K=rm(O,A),Y=A.scrollHeight-A.clientHeight,Z=Math.min(K-o.offset,Y);k=n3(c.value,p,Z,o.duration,()=>{setTimeout(()=>{f=!1},20)})},b=j=>{j&&(y(j),C(j))},x=(j,O)=>{n("click",j,O),b(O)},_=Wte(()=>{c.value&&(p=j1(c.value));const j=z();f||Zt(j)||y(j)}),z=()=>{if(!c.value)return;const j=j1(c.value),O=[];for(const A of Object.keys(d)){const K=wf(A);if(!K)continue;const Y=A1(K,c.value),Z=rm(K,Y);O.push({top:Z-o.offset-o.bound,href:A})}O.sort((A,K)=>A.top-K.top);for(let A=0;A<O.length;A++){const K=O[A],Y=O[A+1];if(A===0&&j===0)return o.selectScrollTop?K.href:"";if(K.top<=j&&(!Y||Y.top>j))return K.href}},I=()=>{const j=wf(o.container);!j||dd(j)?c.value=window:c.value=j};gn(c,"scroll",_);const P=()=>{Qe(()=>{if(!i.value||!u.value||!a.value){l.value={};return}const j=d[a.value];if(!j){l.value={};return}const O=i.value.getBoundingClientRect(),A=u.value.getBoundingClientRect(),K=j.getBoundingClientRect();if(o.direction==="horizontal"){const Y=K.left-O.left;l.value={left:`${Y}px`,width:`${K.width}px`,opacity:1}}else{const Y=K.top-O.top+(K.height-A.height)/2;l.value={top:`${Y}px`,opacity:1}}})};return ke(a,P),ke(()=>{var j;return(j=r.default)==null?void 0:j.call(r)},P),Bt(()=>{I();const j=decodeURIComponent(window.location.hash);wf(j)?b(j):_()}),ke(()=>o.container,()=>{I()}),Ut(NO,{ns:h,direction:o.direction,currentAnchor:a,addLink:g,removeLink:m,handleClick:x}),t({scrollTo:b}),(j,O)=>(T(),F("div",{ref_key:"anchorRef",ref:i,class:M(s(v))},[j.marker?(T(),F("div",{key:0,ref_key:"markerRef",ref:u,class:M(s(h).e("marker")),style:ht(l.value)},null,6)):fe("v-if",!0),H("div",{class:M(s(h).e("list"))},[he(j.$slots,"default")],2)],2))}});var Gte=Ue(Yte,[["__file","anchor.vue"]]);const Xte=qe({title:String,href:String}),Zte=te({name:"ElAnchorLink"}),Qte=te({...Zte,props:Xte,setup(e){const t=e,n=L(null),{ns:o,direction:r,currentAnchor:a,addLink:l,removeLink:i,handleClick:u}=et(NO),c=S(()=>[o.e("link"),o.is("active",a.value===t.href)]),d=f=>{u(f,t.href)};return ke(()=>t.href,(f,p)=>{Qe(()=>{p&&i(p),f&&l({href:f,el:n.value})})}),Bt(()=>{const{href:f}=t;f&&l({href:f,el:n.value})}),cn(()=>{const{href:f}=t;f&&i(f)}),(f,p)=>(T(),F("div",{class:M(s(o).e("item"))},[H("a",{ref_key:"linkRef",ref:n,class:M(s(c)),href:f.href,onClick:d},[he(f.$slots,"default",{},()=>[Tt(Pe(f.title),1)])],10,["href"]),f.$slots["sub-link"]&&s(r)==="vertical"?(T(),F("div",{key:0,class:M(s(o).e("list"))},[he(f.$slots,"sub-link")],2)):fe("v-if",!0)],2))}});var RO=Ue(Qte,[["__file","anchor-link.vue"]]);const Jte=Pt(Gte,{AnchorLink:RO}),ene=Rn(RO),DO={label:"label",value:"value",disabled:"disabled"},tne=qe({direction:{type:se(String),default:"horizontal"},options:{type:se(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:se(Object),default:()=>DO},block:Boolean,size:io,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...Zo(["ariaLabel"])}),nne={[St]:e=>rt(e)||ft(e)||fn(e),[Wt]:e=>rt(e)||ft(e)||fn(e)},one=te({name:"ElSegmented"}),rne=te({...one,props:tne,emits:nne,setup(e,{emit:t}){const n=e,o=Ie("segmented"),r=To(),a=ro(),l=go(),{formItem:i}=xo(),{inputId:u,isLabeledByFormItem:c}=Pr(n,{formItemContext:i}),d=L(null),f=_D(),p=an({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),h=O=>{const A=m(O);t(St,A),t(Wt,A)},v=S(()=>({...DO,...n.props})),g=O=>O,m=O=>At(O)?O[v.value.value]:O,y=O=>At(O)?O[v.value.label]:O,k=O=>!!(l.value||At(O)&&O[v.value.disabled]),C=O=>n.modelValue===m(O),b=O=>n.options.find(A=>m(A)===O),x=O=>[o.e("item"),o.is("selected",C(O)),o.is("disabled",k(O))],_=()=>{if(!d.value)return;const O=d.value.querySelector(".is-selected"),A=d.value.querySelector(".is-selected input");if(!O||!A){p.width=0,p.height=0,p.translateX=0,p.translateY=0,p.focusVisible=!1;return}p.isInit=!0,n.direction==="vertical"?(p.height=O.offsetHeight,p.translateY=O.offsetTop):(p.width=O.offsetWidth,p.translateX=O.offsetLeft);try{p.focusVisible=A.matches(":focus-visible")}catch{}},z=S(()=>[o.b(),o.m(a.value),o.is("block",n.block)]),I=S(()=>({width:n.direction==="vertical"?"100%":`${p.width}px`,height:n.direction==="vertical"?`${p.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${p.translateY}px)`:`translateX(${p.translateX}px)`,display:p.isInit?"block":"none"})),P=S(()=>[o.e("item-selected"),o.is("disabled",k(b(n.modelValue))),o.is("focus-visible",p.focusVisible)]),j=S(()=>n.name||r.value);return In(d,_),ke(f,_),ke(()=>n.modelValue,()=>{var O;_(),n.validateEvent&&((O=i?.validate)==null||O.call(i,"change").catch(A=>Kt(A)))},{flush:"post"}),(O,A)=>O.options.length?(T(),F("div",{key:0,id:s(u),ref_key:"segmentedRef",ref:d,class:M(s(z)),role:"radiogroup","aria-label":s(c)?void 0:O.ariaLabel||"segmented","aria-labelledby":s(c)?s(i).labelId:void 0},[H("div",{class:M([s(o).e("group"),s(o).m(O.direction)])},[H("div",{style:ht(s(I)),class:M(s(P))},null,6),(T(!0),F(tt,null,Dt(O.options,(K,Y)=>(T(),F("label",{key:Y,class:M(x(K))},[H("input",{class:M(s(o).e("item-input")),type:"radio",name:s(j),disabled:k(K),checked:C(K),onChange:Z=>h(K)},null,42,["name","disabled","checked","onChange"]),H("div",{class:M(s(o).e("item-label"))},[he(O.$slots,"default",{item:g(K)},()=>[Tt(Pe(y(K)),1)])],2)],2))),128))],2)],10,["id","aria-label","aria-labelledby"])):fe("v-if",!0)}});var ane=Ue(rne,[["__file","segmented.vue"]]);const lne=Pt(ane),sne=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},ine=(e,t,n)=>{const{selectionEnd:o}=e;if(o===null)return;const r=e.value,a=bo(t);let l=-1,i;for(let u=o-1;u>=0;--u){const c=r[u];if(c===n||c===`
`||c==="\r"){l=u;continue}if(a.includes(c)){const d=l===-1?o:l;i={pattern:r.slice(u+1,d),start:u+1,end:d,prefix:c,prefixIndex:u,splitIndex:l,selectionEnd:o};break}}return i},une=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,o=e.selectionEnd!==null?e.selectionEnd:0,r=t.useSelectionEnd?o:n,a=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const p=document.querySelector("#input-textarea-caret-position-mirror-div");p?.parentNode&&p.parentNode.removeChild(p)}const l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);const i=l.style,u=window.getComputedStyle(e),c=e.nodeName==="INPUT";i.whiteSpace=c?"nowrap":"pre-wrap",c||(i.wordWrap="break-word"),i.position="absolute",t.debug||(i.visibility="hidden"),a.forEach(p=>{if(c&&p==="lineHeight")if(u.boxSizing==="border-box"){const h=Number.parseInt(u.height),v=Number.parseInt(u.paddingTop)+Number.parseInt(u.paddingBottom)+Number.parseInt(u.borderTopWidth)+Number.parseInt(u.borderBottomWidth),g=v+Number.parseInt(u.lineHeight);h>g?i.lineHeight=`${h-v}px`:h===g?i.lineHeight=u.lineHeight:i.lineHeight="0"}else i.lineHeight=u.height;else i[p]=u[p]}),rb()?e.scrollHeight>Number.parseInt(u.height)&&(i.overflowY="scroll"):i.overflow="hidden",l.textContent=e.value.slice(0,Math.max(0,r)),c&&l.textContent&&(l.textContent=l.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,r))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,l.appendChild(d);const f={top:d.offsetTop+Number.parseInt(u.borderTopWidth),left:d.offsetLeft+Number.parseInt(u.borderLeftWidth),height:Number.parseInt(u.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(l),f.left>=e.clientWidth&&(f.left=e.clientWidth),f},cne=qe({...vd,options:{type:se(Array),default:()=>[]},prefix:{type:se([String,Array]),default:"@",validator:e=>rt(e)?e.length===1:e.every(t=>rt(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:se([Boolean,Function]),default:()=>sne,validator:e=>e===!1?!0:it(e)},placement:{type:se(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:se(Function)},modelValue:String,loading:Boolean,popperClass:mn.popperClass,popperStyle:mn.popperStyle,popperOptions:{type:se(Object),default:()=>({})},props:{type:se(Object),default:()=>LO}}),dne={[St]:e=>rt(e),"whole-remove":(e,t)=>rt(e)&&rt(t),input:e=>rt(e),search:(e,t)=>rt(e)&&rt(t),select:(e,t)=>At(e)&&rt(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},LO={value:"value",label:"label",disabled:"disabled"},fne=qe({options:{type:se(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),hne={select:e=>rt(e.value)},pne=te({name:"ElMentionDropdown"}),gne=te({...pne,props:fne,emits:hne,setup(e,{expose:t,emit:n}){const o=e,r=Ie("mention"),{t:a}=Qt(),l=L(-1),i=L(),u=L(),c=L(),d=(C,b)=>[r.be("dropdown","item"),r.is("hovering",l.value===b),r.is("disabled",C.disabled||o.disabled)],f=C=>{C.disabled||o.disabled||n("select",C)},p=C=>{l.value=C},h=S(()=>o.disabled||o.options.every(C=>C.disabled)),v=S(()=>o.options[l.value]),g=()=>{v.value&&n("select",v.value)},m=C=>{const{options:b}=o;if(b.length===0||h.value)return;C==="next"?(l.value++,l.value===b.length&&(l.value=0)):C==="prev"&&(l.value--,l.value<0&&(l.value=b.length-1));const x=b[l.value];if(x.disabled){m(C);return}Qe(()=>y(x))},y=C=>{var b,x,_,z;const{options:I}=o,P=I.findIndex(O=>O.value===C.value),j=(b=u.value)==null?void 0:b[P];if(j){const O=(_=(x=c.value)==null?void 0:x.querySelector)==null?void 0:_.call(x,`.${r.be("dropdown","wrap")}`);O&&eb(O,j)}(z=i.value)==null||z.handleScroll()};return ke(()=>o.options,()=>{h.value||o.options.length===0?l.value=-1:l.value=0},{immediate:!0}),t({hoveringIndex:l,navigateOptions:m,selectHoverOption:g,hoverOption:v}),(C,b)=>(T(),F("div",{ref_key:"dropdownRef",ref:c,class:M(s(r).b("dropdown"))},[C.$slots.header?(T(),F("div",{key:0,class:M(s(r).be("dropdown","header"))},[he(C.$slots,"header")],2)):fe("v-if",!0),Nt(Q(s(sa),{id:C.contentId,ref_key:"scrollbarRef",ref:i,tag:"ul","wrap-class":s(r).be("dropdown","wrap"),"view-class":s(r).be("dropdown","list"),role:"listbox","aria-label":C.ariaLabel,"aria-orientation":"vertical"},{default:ne(()=>[(T(!0),F(tt,null,Dt(C.options,(x,_)=>(T(),F("li",{id:`${C.contentId}-${_}`,ref_for:!0,ref_key:"optionRefs",ref:u,key:_,class:M(d(x,_)),role:"option","aria-disabled":x.disabled||C.disabled||void 0,"aria-selected":l.value===_,onMousemove:z=>p(_),onClick:wt(z=>f(x),["stop"])},[he(C.$slots,"label",{item:x,index:_},()=>{var z;return[H("span",null,Pe((z=x.label)!=null?z:x.value),1)]})],42,["id","aria-disabled","aria-selected","onMousemove","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[tn,C.options.length>0&&!C.loading]]),C.loading?(T(),F("div",{key:1,class:M(s(r).be("dropdown","loading"))},[he(C.$slots,"loading",{},()=>[Tt(Pe(s(a)("el.mention.loading")),1)])],2)):fe("v-if",!0),C.$slots.footer?(T(),F("div",{key:2,class:M(s(r).be("dropdown","footer"))},[he(C.$slots,"footer")],2)):fe("v-if",!0)],2))}});var vne=Ue(gne,[["__file","mention-dropdown.vue"]]);const mne=te({name:"ElMention",inheritAttrs:!1}),yne=te({...mne,props:cne,emits:dne,setup(e,{expose:t,emit:n}){const o=e,r=S(()=>ml(o,Object.keys(vd))),a=Ie("mention"),l=go(),i=To(),u=L(),c=L(),d=L(),f=L(!1),p=L(),h=L(),v=S(()=>o.showArrow?o.placement:`${o.placement}-start`),g=S(()=>o.showArrow?["bottom","top"]:["bottom-start","top-start"]),m=S(()=>({...LO,...o.props})),y=$=>{const R={label:$[m.value.label],value:$[m.value.value],disabled:$[m.value.disabled]};return{...$,...R}},k=S(()=>o.options.map(y)),C=S(()=>{const{filterOption:$}=o;return!h.value||!$?k.value:k.value.filter(R=>$(h.value.pattern,R))}),b=S(()=>f.value&&(!!C.value.length||o.loading)),x=S(()=>{var $;return`${i.value}-${($=d.value)==null?void 0:$.hoveringIndex}`}),_=$=>{n(St,$),n(oo,$),K()},z=$=>{var R,D,B,q;if((R=u.value)!=null&&R.isComposing)return;const G=kn($);switch(G){case We.left:case We.right:K();break;case We.up:case We.down:if(!f.value)return;$.preventDefault(),(D=d.value)==null||D.navigateOptions(G===We.up?"prev":"next");break;case We.enter:case We.numpadEnter:if(!f.value){o.type!=="textarea"&&K();return}$.preventDefault(),(B=d.value)!=null&&B.hoverOption?(q=d.value)==null||q.selectHoverOption():f.value=!1;break;case We.esc:if(!f.value)return;$.preventDefault(),f.value=!1;break;case We.backspace:if(o.whole&&h.value){const{splitIndex:X,selectionEnd:J,pattern:ue,prefixIndex:ae,prefix:ve}=h.value,re=A();if(!re)return;const ce=re.value,oe=k.value.find(de=>de.value===ue);if((it(o.checkIsWhole)?o.checkIsWhole(ue,ve):oe)&&X!==-1&&X+1===J){$.preventDefault();const de=ce.slice(0,ae)+ce.slice(X+1);n(St,de),n(oo,de),n("whole-remove",ue,ve);const U=ae;Qe(()=>{re.selectionStart=U,re.selectionEnd=U,Z()})}}}},{wrapperRef:I}=$l(u,{disabled:l,afterFocus(){K()},beforeBlur($){var R;return(R=c.value)==null?void 0:R.isFocusInsideContent($)},afterBlur(){f.value=!1}}),P=()=>{K()},j=$=>o.options.find(R=>$.value===R[m.value.value]),O=$=>{if(!h.value)return;const R=A();if(!R)return;const D=R.value,{split:B}=o,q=D.slice(h.value.end),G=q.startsWith(B),X=`${$.value}${G?"":B}`,J=D.slice(0,h.value.start)+X+q;n(St,J),n(oo,J),n("select",j($),h.value.prefix);const ue=h.value.start+X.length+(G?1:0);Qe(()=>{R.selectionStart=ue,R.selectionEnd=ue,R.focus(),Z()})},A=()=>{var $,R;return o.type==="textarea"?($=u.value)==null?void 0:$.textarea:(R=u.value)==null?void 0:R.input},K=()=>{setTimeout(()=>{Y(),Z(),Qe(()=>{var $;return($=c.value)==null?void 0:$.updatePopper()})},0)},Y=()=>{const $=A();if(!$)return;const R=une($),D=$.getBoundingClientRect(),B=I.value.getBoundingClientRect();p.value={position:"absolute",width:0,height:`${R.height}px`,left:`${R.left+D.left-B.left}px`,top:`${R.top+D.top-B.top}px`}},Z=()=>{const $=A();if(document.activeElement!==$){f.value=!1;return}const{prefix:R,split:D}=o;if(h.value=ine($,R,D),h.value&&h.value.splitIndex===-1){f.value=!0,n("search",h.value.pattern,h.value.prefix);return}f.value=!1};return t({input:u,tooltip:c,dropdownVisible:b}),($,R)=>(T(),F("div",{ref_key:"wrapperRef",ref:I,class:M(s(a).b())},[Q(s(Yo),Vt(Vt(s(r),$.$attrs),{ref_key:"elInputRef",ref:u,"model-value":$.modelValue,disabled:s(l),role:s(b)?"combobox":void 0,"aria-activedescendant":s(b)?s(x)||"":void 0,"aria-controls":s(b)?s(i):void 0,"aria-expanded":s(b)||void 0,"aria-label":$.ariaLabel,"aria-autocomplete":s(b)?"none":void 0,"aria-haspopup":s(b)?"listbox":void 0,onInput:_,onKeydown:z,onMousedown:P}),yr({_:2},[Dt($.$slots,(D,B)=>({name:B,fn:ne(q=>[he($.$slots,B,Qr(Pa(q)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),Q(s(Oo),{ref_key:"tooltipRef",ref:c,visible:s(b),"popper-class":[s(a).e("popper"),$.popperClass],"popper-style":$.popperStyle,"popper-options":$.popperOptions,placement:s(v),"fallback-placements":s(g),effect:"light",pure:"",offset:$.offset,"show-arrow":$.showArrow},{default:ne(()=>[H("div",{style:ht(p.value)},null,4)]),content:ne(()=>{var D;return[Q(vne,{ref_key:"dropdownRef",ref:d,options:s(C),disabled:s(l),loading:$.loading,"content-id":s(i),"aria-label":$.ariaLabel,onSelect:O,onClick:wt((D=u.value)==null?void 0:D.focus,["stop"])},yr({_:2},[Dt($.$slots,(B,q)=>({name:q,fn:ne(G=>[he($.$slots,q,Qr(Pa(G)))])}))]),1032,["options","disabled","loading","content-id","aria-label","onClick"])]}),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var bne=Ue(yne,[["__file","mention.vue"]]);const wne=Pt(bne),Cne=qe({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),BO=Symbol("splitterRootContextKey");function kne(e){const t=L(),{width:n,height:o}=Hv(t),r=S(()=>e.value==="horizontal"?n.value:o.value);return{containerEl:t,containerSize:r}}function b0(e){return Number(e.slice(0,-1))/100}function w0(e){return Number(e.slice(0,-2))}function C0(e){return rt(e)&&e.endsWith("%")}function k0(e){return rt(e)&&e.endsWith("px")}function Sne(e,t){const n=S(()=>e.value.map(i=>i.size)),o=S(()=>e.value.length),r=L([]);ke([n,o,t],()=>{var i;let u=[],c=0;for(let f=0;f<o.value;f+=1){const p=(i=e.value[f])==null?void 0:i.size;if(C0(p))u[f]=b0(p);else if(k0(p))u[f]=w0(p)/t.value;else if(p||p===0){const h=Number(p);Number.isNaN(h)||(u[f]=h/t.value)}else c+=1,u[f]=void 0}const d=u.reduce((f,p)=>f+(p||0),0);if(d>1||!c){const f=1/d;u=u.map(p=>p===void 0?0:p*f)}else{const f=(1-d)/c;u=u.map(p=>p===void 0?f:p)}r.value=u});const a=i=>i*t.value,l=S(()=>r.value.map(a));return{percentSizes:r,pxSizes:l}}function _ne(e,t,n,o){const r=m=>m*t.value||0;function a(m,y){return C0(m)?r(b0(m)):k0(m)?w0(m):m??y}const l=L(0),i=L(null);let u=[],c=un;const d=S(()=>e.value.map(m=>[m.min,m.max]));ke(o,()=>{if(l.value){const m=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(m)}});const f=m=>{l.value=0,i.value={index:m,confirmed:!1},u=n.value},p=(m,y)=>{var k,C;let b=null;if((!i.value||!i.value.confirmed)&&y!==0){if(y>0)b=m,i.value={index:m,confirmed:!0};else for(let K=m;K>=0;K-=1)if(u[K]>0){b=K,i.value={index:K,confirmed:!0};break}}const x=(C=b??((k=i.value)==null?void 0:k.index))!=null?C:m,_=[...u],z=x+1,I=a(d.value[x][0],0),P=a(d.value[z][0],0),j=a(d.value[x][1],t.value||0),O=a(d.value[z][1],t.value||0);let A=y;_[x]+A<I&&(A=I-_[x]),_[z]-A<P&&(A=_[z]-P),_[x]+A>j&&(A=j-_[x]),_[z]-A>O&&(A=_[z]-O),_[x]+=A,_[z]-=A,l.value=A,c=()=>{e.value.forEach((K,Y)=>{K.size=_[Y]}),c=un},o.value||c()},h=()=>{o.value&&c(),l.value=0,i.value=null,u=[]},v=[];return{lazyOffset:l,onMoveStart:f,onMoving:p,onMoveEnd:h,movingIndex:i,onCollapse:(m,y)=>{v.length||v.push(...n.value);const k=n.value,C=y==="start"?m:m+1,b=y==="start"?m+1:m,x=k[C],_=k[b];if(x!==0&&_!==0)k[C]=0,k[b]+=x,v[m]=x;else{const z=x+_,I=v[m],P=z-I;k[b]=I,k[C]=P}e.value.forEach((z,I)=>{z.size=k[I]})}}}const xne=te({name:"ElSplitter"}),Ene=te({...xne,props:Cne,emits:["resizeStart","resize","resizeEnd","collapse"],setup(e,{emit:t}){const n=e,o=Ie("splitter"),r=sn(n,"layout"),a=sn(n,"lazy"),{containerEl:l,containerSize:i}=kne(r),{removeChild:u,children:c,addChild:d,ChildrenSorter:f}=jp(Lt(),"ElSplitterPanel");ke(c,()=>{c.value.forEach((P,j)=>{P.setIndex(j)})});const{percentSizes:p,pxSizes:h}=Sne(c,i),{lazyOffset:v,movingIndex:g,onMoveStart:m,onMoving:y,onMoveEnd:k,onCollapse:C}=_ne(c,i,h,a),b=S(()=>({[o.cssVarBlockName("bar-offset")]:a.value?`${v.value}px`:void 0}));return Ut(BO,an({panels:c,percentSizes:p,pxSizes:h,layout:r,lazy:a,movingIndex:g,containerSize:i,onMoveStart:P=>{m(P),t("resizeStart",P,h.value)},onMoving:(P,j)=>{y(P,j),a.value||t("resize",P,h.value)},onMoveEnd:async P=>{k(),await Qe(),t("resizeEnd",P,h.value)},onCollapse:(P,j)=>{C(P,j),t("collapse",P,j,h.value)},registerPanel:d,unregisterPanel:u})),(P,j)=>(T(),F("div",{ref_key:"containerEl",ref:l,class:M([s(o).b(),s(o).e(s(r))]),style:ht(s(b))},[he(P.$slots,"default"),Q(s(f)),fe(" Prevent iframe touch events from breaking "),s(g)?(T(),F("div",{key:0,class:M([s(o).e("mask"),s(o).e(`mask-${s(r)}`)])},null,2)):fe("v-if",!0)],6))}});var zne=Ue(Ene,[["__file","splitter.vue"]]);function Tne(e){return e&&At(e)?e:{start:!!e,end:!!e}}function Lk(e,t,n,o){return!!(e?.collapsible.end&&t>0||n?.collapsible.start&&o===0&&t>0)}const One=te({name:"ElSplitterBar"}),$ne=te({...One,props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=e,o=Ie("splitter-bar"),r=S(()=>n.layout==="horizontal"),a=S(()=>r.value?{width:0}:{height:0}),l=S(()=>({width:r.value?"16px":"100%",height:r.value?"100%":"16px",cursor:n.resizable?r.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),i=S(()=>{const y=o.e("dragger");return{[`${y}-horizontal`]:r.value,[`${y}-vertical`]:!r.value,[`${y}-active`]:!!u.value}}),u=L(null),c=y=>{n.resizable&&(u.value=[y.pageX,y.pageY],t("moveStart",n.index),window.addEventListener("mouseup",h),window.addEventListener("mousemove",f))},d=y=>{if(n.resizable&&y.touches.length===1){y.preventDefault();const k=y.touches[0];u.value=[k.pageX,k.pageY],t("moveStart",n.index),window.addEventListener("touchend",v),window.addEventListener("touchmove",p)}},f=y=>{const{pageX:k,pageY:C}=y,b=k-u.value[0],x=C-u.value[1],_=r.value?b:x;t("moving",n.index,_)},p=y=>{if(y.touches.length===1){y.preventDefault();const k=y.touches[0],C=k.pageX-u.value[0],b=k.pageY-u.value[1],x=r.value?C:b;t("moving",n.index,x)}},h=()=>{u.value=null,window.removeEventListener("mouseup",h),window.removeEventListener("mousemove",f),t("moveEnd",n.index)},v=()=>{u.value=null,window.removeEventListener("touchend",v),window.removeEventListener("touchmove",p),t("moveEnd",n.index)},g=S(()=>r.value?yl:Tp),m=S(()=>r.value?Xo:qa);return(y,k)=>(T(),F("div",{class:M([s(o).b()]),style:ht(s(a))},[e.startCollapsible?(T(),F("div",{key:0,class:M([s(o).e("collapse-icon"),s(o).e(`${e.layout}-collapse-icon-start`)]),onClick:C=>t("collapse",e.index,"start")},[he(y.$slots,"start-collapsible",{},()=>[(T(),ge(Rt(s(g)),{style:{width:"12px",height:"12px"}}))])],10,["onClick"])):fe("v-if",!0),H("div",{class:M([s(o).e("dragger"),s(i),s(o).is("disabled",!e.resizable),s(o).is("lazy",e.resizable&&e.lazy)]),style:ht(s(l)),onMousedown:c,onTouchstart:d},null,38),e.endCollapsible?(T(),F("div",{key:1,class:M([s(o).e("collapse-icon"),s(o).e(`${e.layout}-collapse-icon-end`)]),onClick:C=>t("collapse",e.index,"end")},[he(y.$slots,"end-collapsible",{},()=>[(T(),ge(Rt(s(m)),{style:{width:"12px",height:"12px"}}))])],10,["onClick"])):fe("v-if",!0)],6))}});var Pne=Ue($ne,[["__file","split-bar.vue"]]);const Ine=qe({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),VO="ElSplitterPanel",Mne=te({name:VO}),Ane=te({...Mne,props:Ine,emits:["update:size"],setup(e,{emit:t}){const n=e,o=Ie("splitter-panel"),r=et(BO);r||Qn(VO,"usage: <el-splitter><el-splitter-panel /></el-splitter/>");const{panels:a,layout:l,lazy:i,containerSize:u,pxSizes:c}=fo(r),{registerPanel:d,unregisterPanel:f,onCollapse:p,onMoveEnd:h,onMoveStart:v,onMoving:g}=r,m=L(),y=Lt(),k=y.uid,C=L(0),b=S(()=>a.value[C.value]),x=$=>{C.value=$},_=S(()=>{var $;return b.value&&($=c.value[C.value])!=null?$:0}),z=S(()=>{var $;return b.value&&($=c.value[C.value+1])!=null?$:0}),I=S(()=>b.value?a.value[C.value+1]:null),P=S(()=>{var $;return I.value?n.resizable&&(($=I.value)==null?void 0:$.resizable)&&(_.value!==0||!n.min)&&(z.value!==0||!I.value.min):!1}),j=S(()=>b.value?C.value!==a.value.length-1:!1),O=S(()=>Lk(b.value,_.value,I.value,z.value)),A=S(()=>Lk(I.value,z.value,b.value,_.value));function K($){return C0($)?b0($)*u.value||0:k0($)?w0($):$??0}let Y=!1;ke(()=>n.size,()=>{if(!Y&&b.value){if(!u.value){b.value.size=n.size;return}const $=K(n.size),R=K(n.max),D=K(n.min),B=Math.min(Math.max($,D||0),R||$);B!==$&&t("update:size",B),b.value.size=B}}),ke(()=>{var $;return($=b.value)==null?void 0:$.size},$=>{$!==n.size&&(Y=!0,t("update:size",$),Qe(()=>Y=!1))}),ke(()=>n.resizable,$=>{b.value&&(b.value.resizable=$)});const Z=an({el:m.value,uid:k,getVnode:()=>y.vnode,setIndex:x,...n,collapsible:S(()=>Tne(n.collapsible))});return d(Z),cn(()=>f(Z)),($,R)=>(T(),F(tt,null,[H("div",Vt({ref_key:"panelEl",ref:m,class:[s(o).b()],style:{flexBasis:`${s(_)}px`}},$.$attrs),[he($.$slots,"default")],16),s(j)?(T(),ge(Pne,{key:0,index:C.value,layout:s(l),lazy:s(i),resizable:s(P),"start-collapsible":s(O),"end-collapsible":s(A),onMoveStart:s(v),onMoving:s(g),onMoveEnd:s(h),onCollapse:s(p)},{"start-collapsible":ne(()=>[he($.$slots,"start-collapsible")]),"end-collapsible":ne(()=>[he($.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):fe("v-if",!0)],64))}});var FO=Ue(Ane,[["__file","split-panel.vue"]]);const jne=Pt(zne,{SplitPanel:FO}),Nne=Rn(FO);var Rne=[s3,NL,kV,hQ,TV,jV,EE,UV,YV,Co,IE,F6,U6,uF,cF,cq,oz,vq,Ur,SF,UE,Cq,Rq,Dq,Rp,gz,h5,v5,T5,O5,$5,P5,I5,uH,Oz,bH,wH,MH,Dz,KH,T9,O9,$9,Uz,OW,$W,lt,VW,Xz,Yo,Zz,n7,i7,z7,T7,O7,$7,N7,zU,MU,FU,kE,lT,tz,jF,AF,QU,oY,cY,sa,Xs,Mh,sU,VY,XY,ZY,vG,CG,bT,IG,VG,FG,YG,oZ,rZ,fQ,TQ,OQ,fl,s0,J5,LQ,HQ,WQ,Oo,aJ,Fh,xJ,FJ,dee,kee,Fte,qte,Jte,ene,lne,wne,jne,Nne];const Sr="ElInfiniteScroll",Dne=50,Lne=200,Bne=0,Vne={delay:{type:Number,default:Lne},distance:{type:Number,default:Bne},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},S0=(e,t)=>Object.entries(Vne).reduce((n,[o,r])=>{var a,l;const{type:i,default:u}=r,c=e.getAttribute(`infinite-scroll-${o}`);let d=(l=(a=t[c])!=null?a:c)!=null?l:u;return d=d==="false"?!1:d,d=i(d),n[o]=Number.isNaN(d)?u:d,n},{}),qO=e=>{const{observer:t}=e[Sr];t&&(t.disconnect(),delete e[Sr].observer)},Fne=(e,t)=>{const{container:n,containerEl:o,instance:r,observer:a,lastScrollTop:l}=e[Sr],{disabled:i,distance:u}=S0(e,r),{clientHeight:c,scrollHeight:d,scrollTop:f}=o,p=f-l;if(e[Sr].lastScrollTop=f,a||i||p<0)return;let h=!1;if(n===e)h=d-(c+f)<=u;else{const{clientTop:v,scrollHeight:g}=e,m=rm(e,o);h=f+c>=m+v+g-u}h&&t.call(r)};function pv(e,t){const{containerEl:n,instance:o}=e[Sr],{disabled:r}=S0(e,o);r||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(o):qO(e))}const qne={async mounted(e,t){const{instance:n,value:o}=t;Aa({scope:Sr,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),it(o)||Qn(Sr,"'v-infinite-scroll' binding value must be a function"),await Qe();const{delay:r,immediate:a}=S0(e,n),l=Jy(e,!0),i=l===window?document.documentElement:l,u=Bs(Fne.bind(null,e,o),r);if(l){if(e[Sr]={instance:n,container:l,containerEl:i,delay:r,cb:o,onScroll:u,lastScrollTop:i.scrollTop},a){const c=new MutationObserver(Bs(pv.bind(null,e,o),Dne));e[Sr].observer=c,c.observe(e,{childList:!0,subtree:!0}),pv(e,o)}l.addEventListener("scroll",u)}},unmounted(e){if(!e[Sr])return;const{container:t,onScroll:n}=e[Sr];t?.removeEventListener("scroll",n),qO(e)},async updated(e){if(!e[Sr])await Qe();else{const{containerEl:t,cb:n,observer:o}=e[Sr];t.clientHeight&&o&&pv(e,n)}}},Wm=qne;Wm.install=e=>{e.directive("InfiniteScroll",Wm)};const Kne=Wm;function Hne(e,t){let n;const o=L(!1),r=an({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(h){r.text=h}function l(){const h=r.parent,v=p.ns;if(!h.vLoadingAddClassList){let g=h.getAttribute("loading-number");g=Number.parseInt(g)-1,g?h.setAttribute("loading-number",g.toString()):(Go(h,v.bm("parent","relative")),h.removeAttribute("loading-number")),Go(h,v.bm("parent","hidden"))}i(),f.unmount()}function i(){var h,v;(v=(h=p.$el)==null?void 0:h.parentNode)==null||v.removeChild(p.$el)}function u(){var h;e.beforeClose&&!e.beforeClose()||(o.value=!0,clearTimeout(n),n=setTimeout(c,400),r.visible=!1,(h=e.closed)==null||h.call(e))}function c(){if(!o.value)return;const h=r.parent;o.value=!1,h.vLoadingAddClassList=void 0,l()}const f=yx(te({name:"ElLoading",setup(h,{expose:v}){const{ns:g,zIndex:m}=zp("loading");return v({ns:g,zIndex:m}),()=>{const y=r.spinner||r.svg,k=mt("svg",{class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50",...y?{innerHTML:y}:{}},[mt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),C=r.text?mt("p",{class:g.b("text")},[r.text]):void 0;return mt(So,{name:g.b("fade"),onAfterLeave:c},{default:ne(()=>[Nt(Q("div",{style:{backgroundColor:r.background||""},class:[g.b("mask"),r.customClass,g.is("fullscreen",r.fullscreen)]},[mt("div",{class:g.b("spinner")},[k,C])]),[[tn,r.visible]])])})}}}));Object.assign(f._context,t??{});const p=f.mount(document.createElement("div"));return{...fo(r),setText:a,removeElLoadingChild:i,close:u,handleAfterLeave:c,vm:p,get $el(){return p.$el}}}let Cf;const Fi=function(e={},t){if(!nn)return;const n=Wne(e);if(n.fullscreen&&Cf)return Cf;const o=Hne({...n,closed:()=>{var a;(a=n.closed)==null||a.call(n),n.fullscreen&&(Cf=void 0)}},t??Fi._context);Une(n,n.parent,o),Bk(n,n.parent,o),n.parent.vLoadingAddClassList=()=>Bk(n,n.parent,o);let r=n.parent.getAttribute("loading-number");return r?r=`${Number.parseInt(r)+1}`:r="1",n.parent.setAttribute("loading-number",r),n.parent.appendChild(o.$el),Qe(()=>o.visible.value=n.visible),n.fullscreen&&(Cf=o),o},Wne=e=>{var t,n,o,r;let a;return rt(e.target)?a=(t=document.querySelector(e.target))!=null?t:document.body:a=e.target||document.body,{parent:a===document.body||e.body?document.body:a,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:a===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(o=e.lock)!=null?o:!1,customClass:e.customClass||"",visible:(r=e.visible)!=null?r:!0,beforeClose:e.beforeClose,closed:e.closed,target:a}},Une=async(e,t,n)=>{const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,r={};if(e.fullscreen)n.originalPosition.value=ll(document.body,"position"),n.originalOverflow.value=ll(document.body,"overflow"),r.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=ll(document.body,"position"),await Qe();for(const a of["top","left"]){const l=a==="top"?"scrollTop":"scrollLeft";r[a]=`${e.target.getBoundingClientRect()[a]+document.body[l]+document.documentElement[l]-Number.parseInt(ll(document.body,`margin-${a}`),10)}px`}for(const a of["height","width"])r[a]=`${e.target.getBoundingClientRect()[a]}px`}else n.originalPosition.value=ll(t,"position");for(const[a,l]of Object.entries(r))n.$el.style[a]=l},Bk=(e,t,n)=>{const o=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Go(t,o.bm("parent","relative")):Lr(t,o.bm("parent","relative")),e.fullscreen&&e.lock?Lr(t,o.bm("parent","hidden")):Go(t,o.bm("parent","hidden"))};Fi._context=null;const Zu=Symbol("ElLoading"),xs=e=>`element-loading-${_l(e)}`,Vk=(e,t)=>{var n,o,r,a;const l=t.instance,i=h=>At(t.value)?t.value[h]:void 0,u=h=>{const v=rt(h)&&l?.[h]||h;return L(v)},c=h=>u(i(h)||e.getAttribute(xs(h))),d=(n=i("fullscreen"))!=null?n:t.modifiers.fullscreen,f={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(o=i("target"))!=null?o:d?void 0:e,body:(r=i("body"))!=null?r:t.modifiers.body,lock:(a=i("lock"))!=null?a:t.modifiers.lock},p=Fi(f);p._context=vc._context,e[Zu]={options:f,instance:p}},Yne=(e,t)=>{for(const n of Object.keys(e))Cn(e[n])&&(e[n].value=t[n])},vc={mounted(e,t){t.value&&Vk(e,t)},updated(e,t){const n=e[Zu];if(!t.value){n?.instance.close(),e[Zu]=null;return}n?Yne(n.options,At(t.value)?t.value:{text:e.getAttribute(xs("text")),svg:e.getAttribute(xs("svg")),svgViewBox:e.getAttribute(xs("svgViewBox")),spinner:e.getAttribute(xs("spinner")),background:e.getAttribute(xs("background")),customClass:e.getAttribute(xs("customClass"))}):Vk(e,t)},unmounted(e){var t;(t=e[Zu])==null||t.instance.close(),e[Zu]=null}};vc._context=null;const Gne={install(e){Fi._context=e._context,vc._context=e._context,e.directive("loading",vc),e.config.globalProperties.$loading=Fi},directive:vc,service:Fi},KO=["primary","success","info","warning","error"],HO=["top","top-left","top-right","bottom","bottom-left","bottom-right"],qi="top",Vo=jn({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:nn?document.body:void 0}),Xne=qe({customClass:{type:String,default:Vo.customClass},dangerouslyUseHTMLString:{type:Boolean,default:Vo.dangerouslyUseHTMLString},duration:{type:Number,default:Vo.duration},icon:{type:hn,default:Vo.icon},id:{type:String,default:Vo.id},message:{type:se([String,Object,Function]),default:Vo.message},onClose:{type:se(Function),default:Vo.onClose},showClose:{type:Boolean,default:Vo.showClose},type:{type:String,values:KO,default:Vo.type},plain:{type:Boolean,default:Vo.plain},offset:{type:Number,default:Vo.offset},placement:{type:String,values:HO,default:Vo.placement},zIndex:{type:Number,default:Vo.zIndex},grouping:{type:Boolean,default:Vo.grouping},repeatNum:{type:Number,default:Vo.repeatNum}}),Zne={destroy:()=>!0},oa=sp({}),Qne=e=>(oa[e]||(oa[e]=sp([])),oa[e]),Jne=(e,t)=>{const n=oa[t]||[],o=n.findIndex(l=>l.id===e),r=n[o];let a;return o>0&&(a=n[o-1]),{current:r,prev:a}},eoe=(e,t)=>{const{prev:n}=Jne(e,t);return n?n.vm.exposed.bottom.value:0},toe=(e,t,n)=>(oa[n]||[]).findIndex(a=>a.id===e)>0?16:t,noe=te({name:"ElMessage"}),ooe=te({...noe,props:Xne,emits:Zne,setup(e,{expose:t,emit:n}){const o=e,{Close:r}=ob,a=L(!1),{ns:l,zIndex:i}=zp("message"),{currentZIndex:u,nextZIndex:c}=i,d=L(),f=L(!1),p=L(0);let h;const v=S(()=>o.type?o.type==="error"?"danger":o.type:"info"),g=S(()=>{const A=o.type;return{[l.bm("icon",A)]:A&&cs[A]}}),m=S(()=>o.icon||cs[o.type]||""),y=S(()=>o.placement||qi),k=S(()=>eoe(o.id,y.value)),C=S(()=>toe(o.id,o.offset,y.value)+k.value),b=S(()=>p.value+C.value),x=S(()=>y.value.includes("left")?l.is("left"):y.value.includes("right")?l.is("right"):l.is("center")),_=S(()=>y.value.startsWith("top")?"top":"bottom"),z=S(()=>({[_.value]:`${C.value}px`,zIndex:u.value}));function I(){o.duration!==0&&({stop:h}=Xi(()=>{j()},o.duration))}function P(){h?.()}function j(){f.value=!1,Qe(()=>{var A;a.value||((A=o.onClose)==null||A.call(o),n("destroy"))})}function O(A){kn(A)===We.esc&&j()}return Bt(()=>{I(),c(),f.value=!0}),ke(()=>o.repeatNum,()=>{P(),I()}),gn(document,"keydown",O),In(d,()=>{p.value=d.value.getBoundingClientRect().height}),t({visible:f,bottom:b,close:j}),(A,K)=>(T(),ge(So,{name:s(l).b("fade"),onBeforeEnter:Y=>a.value=!0,onBeforeLeave:A.onClose,onAfterLeave:Y=>A.$emit("destroy"),persisted:""},{default:ne(()=>[Nt(H("div",{id:A.id,ref_key:"messageRef",ref:d,class:M([s(l).b(),{[s(l).m(A.type)]:A.type},s(l).is("closable",A.showClose),s(l).is("plain",A.plain),s(l).is("bottom",s(_)==="bottom"),s(x),A.customClass]),style:ht(s(z)),role:"alert",onMouseenter:P,onMouseleave:I},[A.repeatNum>1?(T(),ge(s(EE),{key:0,value:A.repeatNum,type:s(v),class:M(s(l).e("badge"))},null,8,["value","type","class"])):fe("v-if",!0),s(m)?(T(),ge(s(lt),{key:1,class:M([s(l).e("icon"),s(g)])},{default:ne(()=>[(T(),ge(Rt(s(m))))]),_:1},8,["class"])):fe("v-if",!0),he(A.$slots,"default",{},()=>[A.dangerouslyUseHTMLString?(T(),F(tt,{key:1},[fe(" Caution here, message could've been compromised, never use user's input as message "),H("p",{class:M(s(l).e("content")),innerHTML:A.message},null,10,["innerHTML"])],2112)):(T(),F("p",{key:0,class:M(s(l).e("content"))},Pe(A.message),3))]),A.showClose?(T(),ge(s(lt),{key:2,class:M(s(l).e("closeBtn")),onClick:wt(j,["stop"])},{default:ne(()=>[Q(s(r))]),_:1},8,["class","onClick"])):fe("v-if",!0)],46,["id"]),[[tn,f.value]])]),_:3},8,["name","onBeforeEnter","onBeforeLeave","onAfterLeave"]))}});var roe=Ue(ooe,[["__file","message.vue"]]);let aoe=1;const loe=e=>{if(!e.appendTo)e.appendTo=document.body;else if(rt(e.appendTo)){let n=document.querySelector(e.appendTo);zr(n)||(Kt("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body),e.appendTo=n}},soe=e=>{!e.placement&&rt(Ko.placement)&&Ko.placement&&(e.placement=Ko.placement),e.placement||(e.placement=qi),HO.includes(e.placement)||(Kt("ElMessage",`Invalid placement: ${e.placement}. Falling back to '${qi}'.`),e.placement=qi)},WO=e=>{const t=!e||rt(e)||zn(e)||it(e)?{message:e}:e,n={...Vo,...t};return loe(n),soe(n),fn(Ko.grouping)&&!n.grouping&&(n.grouping=Ko.grouping),ft(Ko.duration)&&n.duration===3e3&&(n.duration=Ko.duration),ft(Ko.offset)&&n.offset===16&&(n.offset=Ko.offset),fn(Ko.showClose)&&!n.showClose&&(n.showClose=Ko.showClose),fn(Ko.plain)&&!n.plain&&(n.plain=Ko.plain),n},ioe=e=>{const t=e.props.placement||qi,n=oa[t],o=n.indexOf(e);if(o===-1)return;n.splice(o,1);const{handler:r}=e;r.close()},uoe=({appendTo:e,...t},n)=>{const o=`message_${aoe++}`,r=t.onClose,a=document.createElement("div"),l={...t,id:o,onClose:()=>{r?.(),ioe(d)},onDestroy:()=>{as(null,a)}},i=Q(roe,l,it(l.message)||zn(l.message)?{default:it(l.message)?l.message:()=>l.message}:null);i.appContext=n||ei._context,as(i,a),e.appendChild(a.firstElementChild);const u=i.component,d={id:o,vnode:i,vm:u,handler:{close:()=>{u.exposed.close()}},props:i.component.props};return d},ei=(e={},t)=>{if(!nn)return{close:()=>{}};const n=WO(e),o=Qne(n.placement||qi);if(n.grouping&&o.length){const a=o.find(({vnode:l})=>{var i;return((i=l.props)==null?void 0:i.message)===n.message});if(a)return a.props.repeatNum+=1,a.props.type=n.type,a.handler}if(ft(Ko.max)&&o.length>=Ko.max)return{close:()=>{}};const r=uoe(n,t);return o.push(r),r.handler};KO.forEach(e=>{ei[e]=(t={},n)=>{const o=WO(t);return ei({...o,type:e},n)}});function coe(e){for(const t in oa)if(rn(oa,t)){const n=[...oa[t]];for(const o of n)(!e||e===o.props.type)&&o.handler.close()}}function doe(e){if(!oa[e])return;[...oa[e]].forEach(n=>n.handler.close())}ei.closeAll=coe;ei.closeAllByPlacement=doe;ei._context=null;const co=N2(ei,"$message"),Um="_trap-focus-children",Ns=[],Fk=e=>{if(Ns.length===0)return;const t=kn(e),n=Ns[Ns.length-1][Um];if(n.length>0&&t===We.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const o=e.shiftKey,r=e.target===n[0],a=e.target===n[n.length-1];r&&o&&(e.preventDefault(),n[n.length-1].focus()),a&&!o&&(e.preventDefault(),n[0].focus())}},foe={beforeMount(e){e[Um]=F1(e),Ns.push(e),Ns.length<=1&&document.addEventListener("keydown",Fk)},updated(e){Qe(()=>{e[Um]=F1(e)})},unmounted(){Ns.shift(),Ns.length===0&&document.removeEventListener("keydown",Fk)}},hoe=te({name:"ElMessageBox",directives:{TrapFocus:foe},components:{ElButton:Co,ElFocusTrap:wu,ElInput:Yo,ElOverlay:Mb,ElIcon:lt,...ob},inheritAttrs:!1,props:{buttonSize:{type:String,validator:kT},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:o,ns:r,size:a}=zp("message-box",S(()=>e.buttonSize)),{t:l}=n,{nextZIndex:i}=o,u=L(!1),c=an({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:ea(la),cancelButtonLoadingIcon:ea(la),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:i()}),d=S(()=>{const R=c.type;return{[r.bm("icon",R)]:R&&cs[R]}}),f=To(),p=To(),h=S(()=>{const R=c.type;return c.icon||R&&cs[R]||""}),v=S(()=>!!c.message),g=L(),m=L(),y=L(),k=L(),C=L(),b=S(()=>c.confirmButtonClass);ke(()=>c.inputValue,async R=>{await Qe(),e.boxType==="prompt"&&R&&K()},{immediate:!0}),ke(()=>u.value,R=>{var D,B;R&&(e.boxType!=="prompt"&&(c.autofocus?y.value=(B=(D=C.value)==null?void 0:D.$el)!=null?B:g.value:y.value=g.value),c.zIndex=i()),e.boxType==="prompt"&&(R?Qe().then(()=>{var q;k.value&&k.value.$el&&(c.autofocus?y.value=(q=Y())!=null?q:g.value:y.value=g.value)}):(c.editorErrorMessage="",c.validateError=!1))});const x=S(()=>e.draggable),_=S(()=>e.overflow),{isDragging:z}=Az(g,m,x,_);Bt(async()=>{await Qe(),e.closeOnHashChange&&window.addEventListener("hashchange",I)}),cn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",I)});function I(){u.value&&(u.value=!1,Qe(()=>{c.action&&t("action",c.action)}))}const P=()=>{e.closeOnClickModal&&A(c.distinguishCancelAndClose?"close":"cancel")},j=Ib(P),O=R=>{if(c.inputType!=="textarea")return R.preventDefault(),A("confirm")},A=R=>{var D;e.boxType==="prompt"&&R==="confirm"&&!K()||(c.action=R,c.beforeClose?(D=c.beforeClose)==null||D.call(c,R,c,I):I())},K=()=>{if(e.boxType==="prompt"){const R=c.inputPattern;if(R&&!R.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||l("el.messagebox.error"),c.validateError=!0,!1;const D=c.inputValidator;if(it(D)){const B=D(c.inputValue);if(B===!1)return c.editorErrorMessage=c.inputErrorMessage||l("el.messagebox.error"),c.validateError=!0,!1;if(rt(B))return c.editorErrorMessage=B,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},Y=()=>{var R,D;const B=(R=k.value)==null?void 0:R.$refs;return(D=B?.input)!=null?D:B?.textarea},Z=()=>{A("close")},$=()=>{e.closeOnPressEscape&&Z()};return e.lockScroll&&jb(u,{ns:r}),{...fo(c),ns:r,overlayEvent:j,visible:u,hasMessage:v,typeClass:d,contentId:f,inputId:p,btnSize:a,iconComponent:h,confirmButtonClasses:b,rootRef:g,focusStartRef:y,headerRef:m,inputRef:k,isDragging:z,confirmRef:C,doClose:I,handleClose:Z,onCloseRequested:$,handleWrapperClick:P,handleInputEnter:O,handleAction:A,t:l}}});function poe(e,t,n,o,r,a){const l=kt("el-icon"),i=kt("el-input"),u=kt("el-button"),c=kt("el-focus-trap"),d=kt("el-overlay");return T(),ge(So,{name:"fade-in-linear",onAfterLeave:f=>e.$emit("vanish"),persisted:""},{default:ne(()=>[Nt(Q(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:ne(()=>[H("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:M(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[Q(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:ne(()=>[H("div",{ref:"rootRef",class:M([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:ht(e.customStyle),tabindex:"-1",onClick:wt(()=>{},["stop"])},[e.title!==null&&e.title!==void 0?(T(),F("div",{key:0,ref:"headerRef",class:M([e.ns.e("header"),{"show-close":e.showClose}])},[H("div",{class:M(e.ns.e("title"))},[e.iconComponent&&e.center?(T(),ge(l,{key:0,class:M([e.ns.e("status"),e.typeClass])},{default:ne(()=>[(T(),ge(Rt(e.iconComponent)))]),_:1},8,["class"])):fe("v-if",!0),H("span",null,Pe(e.title),1)],2),e.showClose?(T(),F("button",{key:0,type:"button",class:M(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:Ln(wt(f=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[Q(l,{class:M(e.ns.e("close"))},{default:ne(()=>[(T(),ge(Rt(e.closeIcon||"close")))]),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):fe("v-if",!0)],2)):fe("v-if",!0),H("div",{id:e.contentId,class:M(e.ns.e("content"))},[H("div",{class:M(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(T(),ge(l,{key:0,class:M([e.ns.e("status"),e.typeClass])},{default:ne(()=>[(T(),ge(Rt(e.iconComponent)))]),_:1},8,["class"])):fe("v-if",!0),e.hasMessage?(T(),F("div",{key:1,class:M(e.ns.e("message"))},[he(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(T(),ge(Rt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(T(),ge(Rt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:Pe(e.message)},null,8,["for","textContent"]))])],2)):fe("v-if",!0)],2),Nt(H("div",{class:M(e.ns.e("input"))},[Q(i,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":f=>e.inputValue=f,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:M({invalid:e.validateError}),onKeydown:Ln(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),H("div",{class:M(e.ns.e("errormsg")),style:ht({visibility:e.editorErrorMessage?"visible":"hidden"})},Pe(e.editorErrorMessage),7)],2),[[tn,e.showInput]])],10,["id"]),H("div",{class:M(e.ns.e("btns"))},[e.showCancelButton?(T(),ge(u,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:M([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:f=>e.handleAction("cancel"),onKeydown:Ln(wt(f=>e.handleAction("cancel"),["prevent"]),["enter"])},{default:ne(()=>[Tt(Pe(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):fe("v-if",!0),Nt(Q(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:M([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:f=>e.handleAction("confirm"),onKeydown:Ln(wt(f=>e.handleAction("confirm"),["prevent"]),["enter"])},{default:ne(()=>[Tt(Pe(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[tn,e.showConfirmButton]])],2)],14,["onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["z-index","overlay-class","mask"]),[[tn,e.visible]])]),_:3},8,["onAfterLeave"])}var goe=Ue(hoe,[["render",poe],["__file","index.vue"]]);const Qc=new Map,voe=e=>{let t=document.body;return e.appendTo&&(rt(e.appendTo)&&(t=document.querySelector(e.appendTo)),zr(e.appendTo)&&(t=e.appendTo),zr(t)||(Kt("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t},moe=(e,t,n=null)=>{const o=Q(goe,e,it(e.message)||zn(e.message)?{default:it(e.message)?e.message:()=>e.message}:null);return o.appContext=n,as(o,t),voe(e).appendChild(t.firstElementChild),o.component},yoe=()=>document.createElement("div"),boe=(e,t)=>{const n=yoe();e.onVanish=()=>{as(null,n),Qc.delete(r)},e.onAction=a=>{const l=Qc.get(r);let i;e.showInput?i={value:r.inputValue,action:a}:i=a,e.callback?e.callback(i,o.proxy):a==="cancel"||a==="close"?e.distinguishCancelAndClose&&a!=="cancel"?l.reject("close"):l.reject("cancel"):l.resolve(i)};const o=moe(e,n,t),r=o.proxy;for(const a in e)rn(e,a)&&!rn(r.$props,a)&&(a==="closeIcon"&&At(e[a])?r[a]=ea(e[a]):r[a]=e[a]);return r.visible=!0,r};function Su(e,t=null){if(!nn)return Promise.reject();let n;return rt(e)||zn(e)?e={message:e}:n=e.callback,new Promise((o,r)=>{const a=boe(e,t??Su._context);Qc.set(a,{options:e,callback:n,resolve:o,reject:r})})}const woe=["alert","confirm","prompt"],Coe={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};woe.forEach(e=>{Su[e]=koe(e)});function koe(e){return(t,n,o,r)=>{let a="";return At(n)?(o=n,a=""):Zt(n)?a="":a=n,Su(Object.assign({title:a,message:t,type:"",...Coe[e]},o,{boxType:e}),r)}}Su.close=()=>{Qc.forEach((e,t)=>{t.doClose()}),Qc.clear()};Su._context=null;const Hl=Su;Hl.install=e=>{Hl._context=e._context,e.config.globalProperties.$msgbox=Hl,e.config.globalProperties.$messageBox=Hl,e.config.globalProperties.$alert=Hl.alert,e.config.globalProperties.$confirm=Hl.confirm,e.config.globalProperties.$prompt=Hl.prompt};const _0=Hl,UO=["primary","success","info","warning","error"],Soe=qe({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:hn},id:{type:String,default:""},message:{type:se([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:se(Function),default:()=>{}},onClose:{type:se(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...UO,""],default:""},zIndex:Number,closeIcon:{type:hn,default:Kr}}),_oe={destroy:()=>!0},xoe=te({name:"ElNotification"}),Eoe=te({...xoe,props:Soe,emits:_oe,setup(e,{expose:t}){const n=e,{ns:o,zIndex:r}=zp("notification"),{nextZIndex:a,currentZIndex:l}=r,i=L(!1);let u;const c=S(()=>{const k=n.type;return k&&cs[n.type]?o.m(k):""}),d=S(()=>n.type&&cs[n.type]||n.icon),f=S(()=>n.position.endsWith("right")?"right":"left"),p=S(()=>n.position.startsWith("top")?"top":"bottom"),h=S(()=>{var k;return{[p.value]:`${n.offset}px`,zIndex:(k=n.zIndex)!=null?k:l.value}});function v(){n.duration>0&&({stop:u}=Xi(()=>{i.value&&m()},n.duration))}function g(){u?.()}function m(){i.value=!1}function y(k){switch(kn(k)){case We.delete:case We.backspace:g();break;case We.esc:i.value&&m();break;default:v();break}}return Bt(()=>{v(),a(),i.value=!0}),gn(document,"keydown",y),t({visible:i,close:m}),(k,C)=>(T(),ge(So,{name:s(o).b("fade"),onBeforeLeave:k.onClose,onAfterLeave:b=>k.$emit("destroy"),persisted:""},{default:ne(()=>[Nt(H("div",{id:k.id,class:M([s(o).b(),k.customClass,s(f)]),style:ht(s(h)),role:"alert",onMouseenter:g,onMouseleave:v,onClick:k.onClick},[s(d)?(T(),ge(s(lt),{key:0,class:M([s(o).e("icon"),s(c)])},{default:ne(()=>[(T(),ge(Rt(s(d))))]),_:1},8,["class"])):fe("v-if",!0),H("div",{class:M(s(o).e("group"))},[H("h2",{class:M(s(o).e("title")),textContent:Pe(k.title)},null,10,["textContent"]),Nt(H("div",{class:M(s(o).e("content")),style:ht(k.title?void 0:{margin:0})},[he(k.$slots,"default",{},()=>[k.dangerouslyUseHTMLString?(T(),F(tt,{key:1},[fe(" Caution here, message could've been compromised, never use user's input as message "),H("p",{innerHTML:k.message},null,8,["innerHTML"])],2112)):(T(),F("p",{key:0},Pe(k.message),1))])],6),[[tn,k.message]]),k.showClose?(T(),ge(s(lt),{key:0,class:M(s(o).e("closeBtn")),onClick:wt(m,["stop"])},{default:ne(()=>[(T(),ge(Rt(k.closeIcon)))]),_:1},8,["class","onClick"])):fe("v-if",!0)],2)],46,["id","onClick"]),[[tn,i.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var zoe=Ue(Eoe,[["__file","notification.vue"]]);const uu={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},Wh=16;let Toe=1;const ti=function(e={},t){if(!nn)return{close:()=>{}};(rt(e)||zn(e))&&(e={message:e});const n=e.position||"top-right";let o=e.offset||0;uu[n].forEach(({vm:d})=>{var f;o+=(((f=d.el)==null?void 0:f.offsetHeight)||0)+Wh}),o+=Wh;const r=`notification_${Toe++}`,a=e.onClose,l={...e,offset:o,id:r,onClose:()=>{Ooe(r,n,a)}};let i=document.body;zr(e.appendTo)?i=e.appendTo:rt(e.appendTo)&&(i=document.querySelector(e.appendTo)),zr(i)||(Kt("ElNotification","the appendTo option is not an HTMLElement. Falling back to document.body."),i=document.body);const u=document.createElement("div"),c=Q(zoe,l,it(l.message)?l.message:zn(l.message)?()=>l.message:null);return c.appContext=Zt(t)?ti._context:t,c.props.onDestroy=()=>{as(null,u)},as(c,u),uu[n].push({vm:c}),i.appendChild(u.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};UO.forEach(e=>{ti[e]=(t={},n)=>((rt(t)||zn(t))&&(t={message:t}),ti({...t,type:e},n))});function Ooe(e,t,n){const o=uu[t],r=o.findIndex(({vm:c})=>{var d;return((d=c.component)==null?void 0:d.props.id)===e});if(r===-1)return;const{vm:a}=o[r];if(!a)return;n?.(a);const l=a.el.offsetHeight,i=t.split("-")[0];o.splice(r,1);const u=o.length;if(!(u<1))for(let c=r;c<u;c++){const{el:d,component:f}=o[c].vm,p=Number.parseInt(d.style[i],10)-l-Wh;f.props.offset=p}}function $oe(){for(const e of Object.values(uu))e.forEach(({vm:t})=>{t.component.exposed.visible.value=!1})}function Poe(e="top-right"){var t,n,o,r;let a=((o=(n=(t=uu[e][0])==null?void 0:t.vm.component)==null?void 0:n.props)==null?void 0:o.offset)||0;for(const{vm:l}of uu[e])l.component.props.offset=a,a+=(((r=l.el)==null?void 0:r.offsetHeight)||0)+Wh}ti.closeAll=$oe;ti.updateOffsets=Poe;ti._context=null;const Ioe=N2(ti,"$notify");var Moe=[Kne,Gne,co,_0,Ioe,aT],Aoe=XD([...Rne,...Moe]);function kl(e){return Array.isArray?Array.isArray(e):XO(e)==="[object Array]"}function joe(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Noe(e){return e==null?"":joe(e)}function $a(e){return typeof e=="string"}function YO(e){return typeof e=="number"}function Roe(e){return e===!0||e===!1||Doe(e)&&XO(e)=="[object Boolean]"}function GO(e){return typeof e=="object"}function Doe(e){return GO(e)&&e!==null}function _r(e){return e!=null}function gv(e){return!e.trim().length}function XO(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Loe="Incorrect 'index' type",Boe=e=>`Invalid value for key ${e}`,Voe=e=>`Pattern length exceeds max of ${e}.`,Foe=e=>`Missing ${e} property in key`,qoe=e=>`Property 'weight' in key '${e}' must be a positive integer`,qk=Object.prototype.hasOwnProperty;class Koe{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(o=>{let r=ZO(o);this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(o=>{o.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ZO(e){let t=null,n=null,o=null,r=1,a=null;if($a(e)||kl(e))o=e,t=Kk(e),n=Ym(e);else{if(!qk.call(e,"name"))throw new Error(Foe("name"));const l=e.name;if(o=l,qk.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(qoe(l));t=Kk(l),n=Ym(l),a=e.getFn}return{path:t,id:n,weight:r,src:o,getFn:a}}function Kk(e){return kl(e)?e:e.split(".")}function Ym(e){return kl(e)?e.join("."):e}function Hoe(e,t){let n=[],o=!1;const r=(a,l,i)=>{if(_r(a))if(!l[i])n.push(a);else{let u=l[i];const c=a[u];if(!_r(c))return;if(i===l.length-1&&($a(c)||YO(c)||Roe(c)))n.push(Noe(c));else if(kl(c)){o=!0;for(let d=0,f=c.length;d<f;d+=1)r(c[d],l,i+1)}else l.length&&r(c,l,i+1)}};return r(e,$a(t)?t.split("."):t,0),o?n:n[0]}const Woe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Uoe={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},Yoe={location:0,threshold:.6,distance:100},Goe={useExtendedSearch:!1,getFn:Hoe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ln={...Uoe,...Woe,...Yoe,...Goe};const Xoe=/[^ ]+/g;function Zoe(e=1,t=3){const n=new Map,o=Math.pow(10,t);return{get(r){const a=r.match(Xoe).length;if(n.has(a))return n.get(a);const l=1/Math.pow(a,.5*e),i=parseFloat(Math.round(l*o)/o);return n.set(a,i),i},clear(){n.clear()}}}class x0{constructor({getFn:t=ln.getFn,fieldNormWeight:n=ln.fieldNormWeight}={}){this.norm=Zoe(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,o)=>{this._keysMap[n.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,$a(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();$a(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,o=this.size();n<o;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!_r(t)||gv(t))return;let o={v:t,i:n,n:this.norm.get(t)};this.records.push(o)}_addObject(t,n){let o={i:n,$:{}};this.keys.forEach((r,a)=>{let l=r.getFn?r.getFn(t):this.getFn(t,r.path);if(_r(l)){if(kl(l)){let i=[];const u=[{nestedArrIndex:-1,value:l}];for(;u.length;){const{nestedArrIndex:c,value:d}=u.pop();if(_r(d))if($a(d)&&!gv(d)){let f={v:d,i:c,n:this.norm.get(d)};i.push(f)}else kl(d)&&d.forEach((f,p)=>{u.push({nestedArrIndex:p,value:f})})}o.$[a]=i}else if($a(l)&&!gv(l)){let i={v:l,n:this.norm.get(l)};o.$[a]=i}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function QO(e,t,{getFn:n=ln.getFn,fieldNormWeight:o=ln.fieldNormWeight}={}){const r=new x0({getFn:n,fieldNormWeight:o});return r.setKeys(e.map(ZO)),r.setSources(t),r.create(),r}function Qoe(e,{getFn:t=ln.getFn,fieldNormWeight:n=ln.fieldNormWeight}={}){const{keys:o,records:r}=e,a=new x0({getFn:t,fieldNormWeight:n});return a.setKeys(o),a.setIndexRecords(r),a}function kf(e,{errors:t=0,currentLocation:n=0,expectedLocation:o=0,distance:r=ln.distance,ignoreLocation:a=ln.ignoreLocation}={}){const l=t/e.length;if(a)return l;const i=Math.abs(o-n);return r?l+i/r:i?1:l}function Joe(e=[],t=ln.minMatchCharLength){let n=[],o=-1,r=-1,a=0;for(let l=e.length;a<l;a+=1){let i=e[a];i&&o===-1?o=a:!i&&o!==-1&&(r=a-1,r-o+1>=t&&n.push([o,r]),o=-1)}return e[a-1]&&a-o>=t&&n.push([o,a-1]),n}const Ps=32;function ere(e,t,n,{location:o=ln.location,distance:r=ln.distance,threshold:a=ln.threshold,findAllMatches:l=ln.findAllMatches,minMatchCharLength:i=ln.minMatchCharLength,includeMatches:u=ln.includeMatches,ignoreLocation:c=ln.ignoreLocation}={}){if(t.length>Ps)throw new Error(Voe(Ps));const d=t.length,f=e.length,p=Math.max(0,Math.min(o,f));let h=a,v=p;const g=i>1||u,m=g?Array(f):[];let y;for(;(y=e.indexOf(t,v))>-1;){let z=kf(t,{currentLocation:y,expectedLocation:p,distance:r,ignoreLocation:c});if(h=Math.min(z,h),v=y+d,g){let I=0;for(;I<d;)m[y+I]=1,I+=1}}v=-1;let k=[],C=1,b=d+f;const x=1<<d-1;for(let z=0;z<d;z+=1){let I=0,P=b;for(;I<P;)kf(t,{errors:z,currentLocation:p+P,expectedLocation:p,distance:r,ignoreLocation:c})<=h?I=P:b=P,P=Math.floor((b-I)/2+I);b=P;let j=Math.max(1,p-P+1),O=l?f:Math.min(p+P,f)+d,A=Array(O+2);A[O+1]=(1<<z)-1;for(let Y=O;Y>=j;Y-=1){let Z=Y-1,$=n[e.charAt(Z)];if(g&&(m[Z]=+!!$),A[Y]=(A[Y+1]<<1|1)&$,z&&(A[Y]|=(k[Y+1]|k[Y])<<1|1|k[Y+1]),A[Y]&x&&(C=kf(t,{errors:z,currentLocation:Z,expectedLocation:p,distance:r,ignoreLocation:c}),C<=h)){if(h=C,v=Z,v<=p)break;j=Math.max(1,2*p-v)}}if(kf(t,{errors:z+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:c})>h)break;k=A}const _={isMatch:v>=0,score:Math.max(.001,C)};if(g){const z=Joe(m,i);z.length?u&&(_.indices=z):_.isMatch=!1}return _}function tre(e){let t={};for(let n=0,o=e.length;n<o;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<o-n-1}return t}const Uh=String.prototype.normalize?(e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(e=>e);class JO{constructor(t,{location:n=ln.location,threshold:o=ln.threshold,distance:r=ln.distance,includeMatches:a=ln.includeMatches,findAllMatches:l=ln.findAllMatches,minMatchCharLength:i=ln.minMatchCharLength,isCaseSensitive:u=ln.isCaseSensitive,ignoreDiacritics:c=ln.ignoreDiacritics,ignoreLocation:d=ln.ignoreLocation}={}){if(this.options={location:n,threshold:o,distance:r,includeMatches:a,findAllMatches:l,minMatchCharLength:i,isCaseSensitive:u,ignoreDiacritics:c,ignoreLocation:d},t=u?t:t.toLowerCase(),t=c?Uh(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(h,v)=>{this.chunks.push({pattern:h,alphabet:tre(h),startIndex:v})},p=this.pattern.length;if(p>Ps){let h=0;const v=p%Ps,g=p-v;for(;h<g;)f(this.pattern.substr(h,Ps),h),h+=Ps;if(v){const m=p-Ps;f(this.pattern.substr(m),m)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:o,includeMatches:r}=this.options;if(t=n?t:t.toLowerCase(),t=o?Uh(t):t,this.pattern===t){let g={isMatch:!0,score:0};return r&&(g.indices=[[0,t.length-1]]),g}const{location:a,distance:l,threshold:i,findAllMatches:u,minMatchCharLength:c,ignoreLocation:d}=this.options;let f=[],p=0,h=!1;this.chunks.forEach(({pattern:g,alphabet:m,startIndex:y})=>{const{isMatch:k,score:C,indices:b}=ere(t,g,m,{location:a+y,distance:l,threshold:i,findAllMatches:u,minMatchCharLength:c,includeMatches:r,ignoreLocation:d});k&&(h=!0),p+=C,k&&b&&(f=[...f,...b])});let v={isMatch:h,score:h?p/this.chunks.length:1};return h&&r&&(v.indices=f),v}}class ps{constructor(t){this.pattern=t}static isMultiMatch(t){return Hk(t,this.multiRegex)}static isSingleMatch(t){return Hk(t,this.singleRegex)}search(){}}function Hk(e,t){const n=e.match(t);return n?n[1]:null}class nre extends ps{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ore extends ps{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const o=t.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}}class rre extends ps{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class are extends ps{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class lre extends ps{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class sre extends ps{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class e$ extends ps{constructor(t,{location:n=ln.location,threshold:o=ln.threshold,distance:r=ln.distance,includeMatches:a=ln.includeMatches,findAllMatches:l=ln.findAllMatches,minMatchCharLength:i=ln.minMatchCharLength,isCaseSensitive:u=ln.isCaseSensitive,ignoreDiacritics:c=ln.ignoreDiacritics,ignoreLocation:d=ln.ignoreLocation}={}){super(t),this._bitapSearch=new JO(t,{location:n,threshold:o,distance:r,includeMatches:a,findAllMatches:l,minMatchCharLength:i,isCaseSensitive:u,ignoreDiacritics:c,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class t$ extends ps{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,o;const r=[],a=this.pattern.length;for(;(o=t.indexOf(this.pattern,n))>-1;)n=o+a,r.push([o,n-1]);const l=!!r.length;return{isMatch:l,score:l?0:1,indices:r}}}const Gm=[nre,t$,rre,are,sre,lre,ore,e$],Wk=Gm.length,ire=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ure="|";function cre(e,t={}){return e.split(ure).map(n=>{let o=n.trim().split(ire).filter(a=>a&&!!a.trim()),r=[];for(let a=0,l=o.length;a<l;a+=1){const i=o[a];let u=!1,c=-1;for(;!u&&++c<Wk;){const d=Gm[c];let f=d.isMultiMatch(i);f&&(r.push(new d(f,t)),u=!0)}if(!u)for(c=-1;++c<Wk;){const d=Gm[c];let f=d.isSingleMatch(i);if(f){r.push(new d(f,t));break}}}return r})}const dre=new Set([e$.type,t$.type]);class fre{constructor(t,{isCaseSensitive:n=ln.isCaseSensitive,ignoreDiacritics:o=ln.ignoreDiacritics,includeMatches:r=ln.includeMatches,minMatchCharLength:a=ln.minMatchCharLength,ignoreLocation:l=ln.ignoreLocation,findAllMatches:i=ln.findAllMatches,location:u=ln.location,threshold:c=ln.threshold,distance:d=ln.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:o,includeMatches:r,minMatchCharLength:a,findAllMatches:i,ignoreLocation:l,location:u,threshold:c,distance:d},t=n?t:t.toLowerCase(),t=o?Uh(t):t,this.pattern=t,this.query=cre(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:o,isCaseSensitive:r,ignoreDiacritics:a}=this.options;t=r?t:t.toLowerCase(),t=a?Uh(t):t;let l=0,i=[],u=0;for(let c=0,d=n.length;c<d;c+=1){const f=n[c];i.length=0,l=0;for(let p=0,h=f.length;p<h;p+=1){const v=f[p],{isMatch:g,indices:m,score:y}=v.search(t);if(g){if(l+=1,u+=y,o){const k=v.constructor.type;dre.has(k)?i=[...i,...m]:i.push(m)}}else{u=0,l=0,i.length=0;break}}if(l){let p={isMatch:!0,score:u/l};return o&&(p.indices=i),p}}return{isMatch:!1,score:1}}}const Xm=[];function hre(...e){Xm.push(...e)}function Zm(e,t){for(let n=0,o=Xm.length;n<o;n+=1){let r=Xm[n];if(r.condition(e,t))return new r(e,t)}return new JO(e,t)}const Yh={AND:"$and",OR:"$or"},Qm={PATH:"$path",PATTERN:"$val"},Jm=e=>!!(e[Yh.AND]||e[Yh.OR]),pre=e=>!!e[Qm.PATH],gre=e=>!kl(e)&&GO(e)&&!Jm(e),Uk=e=>({[Yh.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function n$(e,t,{auto:n=!0}={}){const o=r=>{let a=Object.keys(r);const l=pre(r);if(!l&&a.length>1&&!Jm(r))return o(Uk(r));if(gre(r)){const u=l?r[Qm.PATH]:a[0],c=l?r[Qm.PATTERN]:r[u];if(!$a(c))throw new Error(Boe(u));const d={keyId:Ym(u),pattern:c};return n&&(d.searcher=Zm(c,t)),d}let i={children:[],operator:a[0]};return a.forEach(u=>{const c=r[u];kl(c)&&c.forEach(d=>{i.children.push(o(d))})}),i};return Jm(e)||(e=Uk(e)),o(e)}function vre(e,{ignoreFieldNorm:t=ln.ignoreFieldNorm}){e.forEach(n=>{let o=1;n.matches.forEach(({key:r,norm:a,score:l})=>{const i=r?r.weight:null;o*=Math.pow(l===0&&i?Number.EPSILON:l,(i||1)*(t?1:a))}),n.score=o})}function mre(e,t){const n=e.matches;t.matches=[],_r(n)&&n.forEach(o=>{if(!_r(o.indices)||!o.indices.length)return;const{indices:r,value:a}=o;let l={indices:r,value:a};o.key&&(l.key=o.key.src),o.idx>-1&&(l.refIndex=o.idx),t.matches.push(l)})}function yre(e,t){t.score=e.score}function bre(e,t,{includeMatches:n=ln.includeMatches,includeScore:o=ln.includeScore}={}){const r=[];return n&&r.push(mre),o&&r.push(yre),e.map(a=>{const{idx:l}=a,i={item:t[l],refIndex:l};return r.length&&r.forEach(u=>{u(a,i)}),i})}class _u{constructor(t,n={},o){this.options={...ln,...n},this.options.useExtendedSearch,this._keyStore=new Koe(this.options.keys),this.setCollection(t,o)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof x0))throw new Error(Loe);this._myIndex=n||QO(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){_r(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let o=0,r=this._docs.length;o<r;o+=1){const a=this._docs[o];t(a,o)&&(this.removeAt(o),o-=1,r-=1,n.push(a))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:o,includeScore:r,shouldSort:a,sortFn:l,ignoreFieldNorm:i}=this.options;let u=$a(t)?$a(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return vre(u,{ignoreFieldNorm:i}),a&&u.sort(l),YO(n)&&n>-1&&(u=u.slice(0,n)),bre(u,this._docs,{includeMatches:o,includeScore:r})}_searchStringList(t){const n=Zm(t,this.options),{records:o}=this._myIndex,r=[];return o.forEach(({v:a,i:l,n:i})=>{if(!_r(a))return;const{isMatch:u,score:c,indices:d}=n.searchIn(a);u&&r.push({item:a,idx:l,matches:[{score:c,value:a,norm:i,indices:d}]})}),r}_searchLogical(t){const n=n$(t,this.options),o=(i,u,c)=>{if(!i.children){const{keyId:f,searcher:p}=i,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(u,f),searcher:p});return h&&h.length?[{idx:c,item:u,matches:h}]:[]}const d=[];for(let f=0,p=i.children.length;f<p;f+=1){const h=i.children[f],v=o(h,u,c);if(v.length)d.push(...v);else if(i.operator===Yh.AND)return[]}return d},r=this._myIndex.records,a={},l=[];return r.forEach(({$:i,i:u})=>{if(_r(i)){let c=o(n,i,u);c.length&&(a[u]||(a[u]={idx:u,item:i,matches:[]},l.push(a[u])),c.forEach(({matches:d})=>{a[u].matches.push(...d)}))}}),l}_searchObjectList(t){const n=Zm(t,this.options),{keys:o,records:r}=this._myIndex,a=[];return r.forEach(({$:l,i})=>{if(!_r(l))return;let u=[];o.forEach((c,d)=>{u.push(...this._findMatches({key:c,value:l[d],searcher:n}))}),u.length&&a.push({idx:i,item:l,matches:u})}),a}_findMatches({key:t,value:n,searcher:o}){if(!_r(n))return[];let r=[];if(kl(n))n.forEach(({v:a,i:l,n:i})=>{if(!_r(a))return;const{isMatch:u,score:c,indices:d}=o.searchIn(a);u&&r.push({score:c,key:t,value:a,idx:l,norm:i,indices:d})});else{const{v:a,n:l}=n,{isMatch:i,score:u,indices:c}=o.searchIn(a);i&&r.push({score:u,key:t,value:a,norm:l,indices:c})}return r}}_u.version="7.1.0";_u.createIndex=QO;_u.parseIndex=Qoe;_u.config=ln;_u.parseQuery=n$;hre(fre);const wre=/^[\uD800-\uDBFF]$/,Cre=/^[\uDC00-\uDFFF]$/,kre=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var Yk;(function(e){e[e.Unknown=1e-13]="Unknown",e[e.Rule=1e-12]="Rule",e[e.DICT=2e-8]="DICT",e[e.Surname=1]="Surname",e[e.Custom=1]="Custom"})(Yk||(Yk={}));const $r={Normal:1,Surname:10,Custom:100};function Xr(e){var t;return e.length-(((t=e.match(kre))===null||t===void 0?void 0:t.length)||0)}function Gh(e){const t=[];let n=0;for(;n<e.length;){const o=e[n];wre.test(o)&&Cre.test(e[n+1])?(t.push(e.substring(n,n+2)),n+=2):(t.push(o),n+=1)}return t}class o${constructor(){this.NumberDICT=[],this.StringDICT=new Map}get(t){if(t.length>1)return this.StringDICT.get(t);{const n=t.charCodeAt(0);return this.NumberDICT[n]}}set(t,n){if(t.length>1)this.StringDICT.set(t,n);else{const o=t.charCodeAt(0);this.NumberDICT[o]=n}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}const Gk={"bǎng páng pāng":["膀"],líng:["","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","𩾃"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","𬮿"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","𬳵"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","𬤊"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","𬟽"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","𬜯"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","𫄧"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","𬊤"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","𬴊","𬭸"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","𬸦"],zhǔ:["","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","𬣞"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","𬭯"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","𬬩","㑊","𫄷","𬟁"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","𣲘"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","𦭜"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","𫖮","𬺈"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","𠅤","𫘬"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","𬙋"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","𬯀","𫓯","𫓹","𫌀"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","𬂩"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","𬸘","𬙂","𪩘"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","𫖯"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","𫘝","㵐","𫔎"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","𨙸","𬨂","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","𫟦","𬭼"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","𬭁","𧿹"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","𬹼","𤫉"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","𬬱"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","𬬭"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","𬸣"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","𫟹","𬭎"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","𫍣","𦒍"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","𬣡"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","𬘘"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","𫓧"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","𫇭","𬀩","𬱟"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","𬘬"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","𬳽"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","𪨰","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","𫢸"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","𫚖"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","𬶍"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","𬣳"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","𫰛"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","𫵷","𬍛"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","𬘡","𬤇","𬮱"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","𩽾"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","𫘧"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","𬪩"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","𨱇"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","𫟅"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","𤧛","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","𬃊"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","𬇙"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","𫷷"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","𫞩"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","𫐐","𫠜"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","𫘨"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","𫫇","𥔲"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","𨱑"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","𬨎"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","𬣙","𦈡"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","𬘓","𬩽","𬍤","𬊈"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","𬉼","𠙶"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","𫗧"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","𦙶"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","𬺓"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","𬶠"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","𬜬"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","𫮃"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","𫭼"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","𬬮"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","𨐈"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","𬭛"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","𬤝","𬭬"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","𬀪","𪾢"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","𫓶","𫍽"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","𬒗"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","𫑡","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","𫚭"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","𫘪"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","𬶐"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","𣗋"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","𪟝","𬶨","𬶭"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","𬳶"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","𬳿"],zhǔn:["准","凖","埻","準","𬘯"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","𫔍","𬸪"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","𬶋"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","𬍡"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","𫐄","𬸚"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","𪣻"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","𬴃"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","𫸩"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","𬌗"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","𫄸"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","𫟼"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","𨺙"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","𬇕"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","𨚕"],bǔ:["卟","哺","捕","补","補","鸔","𬷕"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","𬬻"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","𬒈"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","𬘩"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","𫶇"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","𫄨"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","𫚕"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","𨱏"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","𫘦"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","𫍯"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","𬒔"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","𬭚"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","𥖨"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","𬱖"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","𣲗","𬶏"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","𬴂"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","𫔶"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","𬭤"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","𬭳","𬶮"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","𬘭"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","𬭩"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","𬙊"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","𥕢"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","𫗴"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","𬞟"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","𬇹"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","𣸣"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","𬕂"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","𥻗"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","𠳐"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","𫭢"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","𬘫","𤩽"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","𬬸"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","𪨶"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","𫖳"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","𬭊"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","𬬿"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","𦰡"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","𫐓"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","𫠊"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","𡐓","𩾌"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","𨱔"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","𫍲"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","𪤗"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","𬯎"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","𫘜"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","𨟠"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","𬶟"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","𨭉"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","𬬹"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","𬭶"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","𫠆"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","𫛭"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","𡎚"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["𫭟"],"lóu lǘ":["𦝼"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},fs=new o$;Object.keys(Gk).forEach(e=>{const t=Gk[e];for(let n of t)fs.set(n,e)});const Sre=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],_re=["j","q","x"],xre=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],Ere={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},zre=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],Xk={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},Zk={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};function Tre(){const e={零一:"líng yī","〇一":"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let t in Xk)for(let n in Zk){const o=`${t}${n}`,r=`${Xk[t]} ${Zk[n]}`;e[o]=r}return e}const Qk=Tre(),Ore=Object.keys(Qk).map(e=>({zh:e,pinyin:Qk[e],probability:1e-12,length:Xr(e),priority:$r.Normal,dict:Symbol("rule")})),r$={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},$re={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},Pre=Object.keys(r$);function Ire(e,t,n){if(Pre.indexOf(e)===-1)return Qu(e);if(t===n&&t&&Qu(t)!==t)return Up(Qu(e));if(n&&!$re[e].includes(n)){const o=Qu(n);if(o!==n){const r=Yp(o),a=r$[e];for(let l in a)if(a[l].indexOf(Number(r))!==-1)return l}}}function Mre(e,t){if(e==="了"&&(!t||!fs.get(t)))return"liǎo"}function Are(e,t){if(e==="々")return!t||!fs.get(t)?"tóng":fs.get(t).split(" ")[0]}function Jk(e,t,n){return Are(e,t)||Mre(e,t)||Ire(e,t,n)||Qu(e)}const ey={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},jre=Object.keys(ey).map(e=>({zh:e,pinyin:ey[e],probability:1+Xr(e),length:Xr(e),priority:$r.Surname,dict:Symbol("surname")})),eS={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng cháng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī","一〇":"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},Nre=Object.keys(eS).map(e=>({zh:e,pinyin:eS[e],probability:2e-8,length:2,priority:$r.Normal,dict:Symbol("dict2")})),tS={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},Rre=Object.keys(tS).map(e=>({zh:e,pinyin:tS[e],probability:2e-8,length:3,priority:$r.Normal,dict:Symbol("dict3")})),nS={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},Dre=Object.keys(nS).map(e=>({zh:e,pinyin:nS[e],probability:2e-8,length:4,priority:$r.Normal,dict:Symbol("dict4")})),oS={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},Lre=Object.keys(oS).map(e=>({zh:e,pinyin:oS[e],probability:2e-8,length:5,priority:$r.Normal,dict:Symbol("dict5")}));function rS(e,t){return e&&(e.decimal<t.decimal||e.decimal===t.decimal&&e.probability>t.probability)?e:t}function aS(e){e.probability<1e-300&&(e.probability*=1e300,e.decimal+=1)}function Bre(e){return e.priority===$r.Custom?-(e.length*e.length*100):e.priority===$r.Surname?-(e.length*e.length*10):0}function Vre(e,t){const n=[];let o=e.length-1,r=e[o];for(let a=t-1;a>=0;a--){const l=a+1>=t?{probability:1,decimal:0,patterns:[]}:n[a+1];for(;r&&r.index+r.length-1===a;){const u=r.index,c={probability:r.probability*l.probability,decimal:l.decimal+Bre(r),patterns:l.patterns,concatPattern:r};aS(c),n[u]=rS(n[u],c),r=e[--o]}const i={probability:1e-13*l.probability,decimal:0,patterns:l.patterns};aS(i),n[a]=rS(n[a],i),n[a].concatPattern&&(n[a].patterns=n[a].patterns.concat(n[a].concatPattern),n[a].concatPattern=void 0,delete n[a+1])}return n[0].patterns.reverse()}function lS(e,t){return e&&e.count<=t.count?e:t}function Fre(e){return e.priority===$r.Custom?-(e.length*e.length*1e5):e.priority===$r.Surname?-(e.length*e.length*100):1}function qre(e,t){const n=[];let o=e.length-1,r=e[o];for(let a=t-1;a>=0;a--){const l=a+1>=t?{count:0,patterns:[]}:n[a+1];for(;r&&r.index+r.length-1===a;){const u=r.index,c={count:Fre(r)+l.count,patterns:l.patterns,concatPattern:r};n[u]=lS(n[u],c),r=e[--o]}const i={count:1+l.count,patterns:l.patterns};n[a]=lS(n[a],i),n[a].concatPattern&&(n[a].patterns=n[a].patterns.concat(n[a].concatPattern),n[a].concatPattern=void 0,delete n[a+1])}return n[0].patterns.reverse()}function Kre(e,t){return!(t.index+t.length<=e.index||t.priority>e.priority||t.priority===e.priority&&t.length>e.length)}function Hre(e){const t=[];for(let n=e.length-1;n>=0;){const{index:o}=e[n];let r=n-1;for(;r>=0&&Kre(e[n],e[r]);)r--;(r<0||e[r].index+e[r].length<=o)&&t.push(e[n]),n=r}return t.reverse()}var sS;(function(e){e[e.ReverseMaxMatch=1]="ReverseMaxMatch",e[e.MaxProbability=2]="MaxProbability",e[e.MinTokenization=3]="MinTokenization"})(sS||(sS={}));class iS{constructor(t,n="",o=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=t,this.prefix=n,this.key=o}}class Wre{constructor(){this.dictMap=new Map,this.queues=[],this.root=new iS(null)}build(t){this.buildTrie(t),this.buildFailPointer()}buildTrie(t){for(let n of t){const o=Gh(n.zh);let r=this.root;for(let a=0;a<o.length;a++){let l=o[a];if(!r.children.has(l)){const i=new iS(r,o.slice(0,a).join(""),l);r.children.set(l,i),this.addNodeToQueues(i)}r=r.children.get(l)}this.insertPattern(r.patterns,n),n.node=r,this.addPatternToDictMap(n)}}buildFailPointer(){let t=[],n=0;for(this.queues.forEach(o=>{t=t.concat(o)}),this.queues=[];t.length>n;){let o=t[n++],r=o.parent&&o.parent.fail,a=o.key;for(;r&&!r.children.has(a);)r=r.fail;r?o.fail=r.children.get(a):o.fail=this.root}}addPatternToDictMap(t){this.dictMap.has(t.dict)||this.dictMap.set(t.dict,new Set),this.dictMap.get(t.dict).add(t)}addNodeToQueues(t){this.queues[Xr(t.prefix)]||(this.queues[Xr(t.prefix)]=[]),this.queues[Xr(t.prefix)].push(t)}insertPattern(t,n){for(let o=t.length-1;o>=0;o--){const r=t[o];if(n.priority===r.priority&&n.probability>=r.probability)t[o+1]=r;else if(n.priority>r.priority)t[o+1]=r;else{t[o+1]=n;return}}t[0]=n}removeDict(t){this.dictMap.has(t)&&(this.dictMap.get(t).forEach(o=>{o.node.patterns=o.node.patterns.filter(r=>r!==o)}),this.dictMap.delete(t))}match(t,n){let o=this.root,r=[];const a=Gh(t);for(let l=0;l<a.length;l++){let i=a[l];for(;o!==null&&!o.children.has(i);)o=o.fail;if(o===null)o=this.root;else{o=o.children.get(i);const u=o.patterns.find(d=>n==="off"?d.priority!==$r.Surname:n==="head"?d.length-1-l===0:!0);u&&r.push(Object.assign(Object.assign({},u),{index:l-u.length+1}));let c=o.fail;for(;c!==null;){const d=c.patterns.find(f=>n==="off"?f.priority!==$r.Surname:n==="head"?f.length-1-l===0:!0);d&&r.push(Object.assign(Object.assign({},d),{index:l-d.length+1})),c=c.fail}}}return r}search(t,n,o=2){const r=this.match(t,n);return o===1?Hre(r):o===3?qre(r,Xr(t)):Vre(r,Xr(t))}}const Ure=[...Lre,...Dre,...Rre,...Nre,...Ore,...jre],a$=new Wre;a$.build(Ure);const Yre=new o$,Gre=()=>Yre,Qu=e=>{const t=fs.get(e);return t?t.split(" ")[0]:e},Xre=(e,t,n,o)=>{const r=a$.search(e,n,o);let a=0;const l=Gh(e);for(let i=0;i<l.length;){const u=r[a];if(u&&i===u.index){if(u.length===1&&u.priority<=$r.Normal){const f=l[i];let p="";p=Jk(f,l[i-1],l[i+1]),t[i]={origin:f,result:p,isZh:p!==f,originPinyin:p},i++,a++;continue}const c=u.pinyin.split(" ");let d=0;for(let f=0;f<u.length;f++){const p=Gh(u.zh);t[i+f]={origin:p[f],result:c[d]||"",isZh:!0,originPinyin:c[d]||""},d++}i+=u.length,a++}else{const c=l[i];let d="";d=Jk(c,l[i-1],l[i+1]),t[i]={origin:c,result:d,isZh:d!==c,originPinyin:d},i++}}return{list:t,matches:r}},Up=e=>e.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê"),l$=(e,t="off")=>{const n=Gre();let o=fs.get(e)?fs.get(e).split(" "):[];if(n.get(e))o=n.get(e).split(" ");else if(t!=="off"){const r=ey[e];r&&(o=[r].concat(o.filter(a=>a!==r)))}return o},Zre=(e,t="off")=>{let n=l$(e,t);return n.length>0?n.map(o=>({origin:e,result:o,isZh:!0,originPinyin:o})):[{origin:e,result:e,isZh:!1,originPinyin:e}]},Xh=(e,t)=>{const n=e.split(" "),o=[],r=[];for(let a of n)for(let l of Sre)if(a.startsWith(l)){let i=a.slice(l.length);_re.indexOf(l)!==-1&&xre.indexOf(i)!==-1&&(i=Ere[i]),o.push(l),r.push(i);break}return t==="standard"&&o.forEach((a,l)=>{(a==="y"||a==="w")&&(o[l]="")}),{final:r.join(" "),initial:o.join(" ")}},oh=e=>{const{final:t}=Xh(e);let n="",o="",r="";return zre.indexOf(Up(t))!==-1?(n=t[0],o=t[1],r=t.slice(2)):(o=t[0]||"",r=t.slice(1)||""),{head:n,body:o,tail:r}},Yp=e=>{const t=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,n=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,o=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,r=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,a=/(a|o|e|i|u|ü|ê)/,l=/(n|m)$/,i=[];return e.split(" ").forEach(c=>{t.test(c)?i.push("1"):n.test(c)?i.push("2"):o.test(c)?i.push("3"):r.test(c)?i.push("4"):a.test(c)||l.test(c)?i.push("0"):i.push("")}),i.join(" ")},Qre=(e,t)=>{const n=Up(e).split(" "),o=Yp(t).split(" "),r=[];return n.forEach((a,l)=>{r.push(`${a}${o[l]}`)}),r.join(" ")},s$=(e,t)=>{const n=[];return e.split(" ").forEach(r=>{n.push(t?r[0]:r)}),n.join(" ")},Jre=e=>typeof e!="string"?(console.error("The first param of pinyin is error: "+e+' is not assignable to type "string".'),!1):!0;function vv(e,t){return t instanceof RegExp?t.test(e):!0}const eae=(e,t)=>{let n=t.nonZh;if(n==="removed")return e.filter(o=>o.isZh||!vv(o.origin,t.nonZhScope));if(n==="consecutive"){for(let o=e.length-2;o>=0;o--){const r=e[o],a=e[o+1];!r.isZh&&!a.isZh&&vv(r.origin,t.nonZhScope)&&vv(a.origin,t.nonZhScope)&&(r.origin+=a.origin,r.result+=a.result,a.delete=!0)}return e.filter(o=>!o.delete)}else return e},uS=(e,t)=>Xr(e)===1&&t.multiple?Zre(e,t.surname):!1,tae=(e,t)=>{switch(t.pattern){case"pinyin":break;case"num":e.forEach(n=>{n.result=n.isZh?Yp(n.result):""});break;case"initial":e.forEach(n=>{n.result=n.isZh?Xh(n.result,t.initialPattern).initial:""});break;case"final":e.forEach(n=>{n.result=n.isZh?Xh(n.result,t.initialPattern).final:""});break;case"first":e.forEach(n=>{n.result=s$(n.result,n.isZh)});break;case"finalHead":e.forEach(n=>{n.result=n.isZh?oh(n.result).head:""});break;case"finalBody":e.forEach(n=>{n.result=n.isZh?oh(n.result).body:""});break;case"finalTail":e.forEach(n=>{n.result=n.isZh?oh(n.result).tail:""});break}},nae=(e,t)=>{switch(t.toneType){case"symbol":break;case"none":e.forEach(n=>{n.isZh&&(n.result=Up(n.result))});break;case"num":{e.forEach(n=>{n.isZh&&(n.result=Qre(n.result,n.originPinyin))});break}}},oae=(e,t)=>{t.v&&e.forEach(n=>{n.isZh&&(n.result=n.result.replace(/ü/g,typeof t.v=="string"?t.v:"v"))})},rae=(e,t,n)=>{if(t.multiple&&Xr(n)===1){let o="";e=e.filter(r=>{const a=r.result!==o;return o=r.result,a})}return t.type==="array"?e.map(o=>o.result):t.type==="all"?e.map(o=>{const r=o.isZh?o.result:"",{initial:a,final:l}=Xh(r,t.initialPattern),{head:i,body:u,tail:c}=oh(r);let d=[];return r!==""&&(d=[r].concat(l$(o.origin,t.surname).filter(f=>f!==r))),{origin:o.origin,pinyin:r,initial:a,final:l,first:s$(o.result,o.isZh),finalHead:i,finalBody:u,finalTail:c,num:Number(Yp(o.originPinyin)),isZh:o.isZh,polyphonic:d,inZhRange:!!fs.get(o.origin),result:o.result}}):e.map(o=>o.result).join(t.separator)},aae=(e,t)=>(t===!1&&e.forEach(n=>{n.origin==="一"?n.result=n.originPinyin="yī":n.origin==="不"&&(n.result=n.originPinyin="bù")}),e),lae={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2};function cS(e,t){if(t=Object.assign(Object.assign({},lae),t||{}),!Jre(e))return e;if(e==="")return t.type==="array"||t.type==="all"?[]:"";t.surname===void 0&&(t.mode==="surname"?t.surname="all":t.surname="off"),t.type==="all"&&(t.pattern="pinyin"),t.pattern==="num"&&(t.toneType="none"),t.removeNonZh&&(t.nonZh="removed");let o=Array(Xr(e)),{list:r}=Xre(e,o,t.surname,t.segmentit);return r=aae(r,t.toneSandhi),r=eae(r,t),uS(e,t)&&(r=uS(e,t)),tae(r,t),nae(r,t),oae(r,t),rae(r,t,e)}var ty;(function(e){e[e.AllSegment=1]="AllSegment",e[e.AllArray=2]="AllArray",e[e.AllString=3]="AllString",e[e.PinyinSegment=4]="PinyinSegment",e[e.PinyinArray=5]="PinyinArray",e[e.PinyinString=6]="PinyinString",e[e.ZhSegment=7]="ZhSegment",e[e.ZhArray=8]="ZhArray",e[e.ZhString=9]="ZhString"})(ty||(ty={}));ty.AllSegment;const Io=[];for(let e=0;e<256;++e)Io.push((e+256).toString(16).slice(1));function sae(e,t=0){return(Io[e[t+0]]+Io[e[t+1]]+Io[e[t+2]]+Io[e[t+3]]+"-"+Io[e[t+4]]+Io[e[t+5]]+"-"+Io[e[t+6]]+Io[e[t+7]]+"-"+Io[e[t+8]]+Io[e[t+9]]+"-"+Io[e[t+10]]+Io[e[t+11]]+Io[e[t+12]]+Io[e[t+13]]+Io[e[t+14]]+Io[e[t+15]]).toLowerCase()}let mv;const iae=new Uint8Array(16);function uae(){if(!mv){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");mv=crypto.getRandomValues.bind(crypto)}return mv(iae)}const cae=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),dS={randomUUID:cae};function dae(e,t,n){e=e||{};const o=e.random??e.rng?.()??uae();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,sae(o)}function rh(e,t,n){return dS.randomUUID&&!e?dS.randomUUID():dae(e)}var ah={exports:{}},fae=ah.exports,fS;function hae(){return fS||(fS=1,(function(e,t){(function(n,o){e.exports=o()})(fae,function(){var n=function(w,E){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,V){N.__proto__=V}||function(N,V){for(var W in V)Object.prototype.hasOwnProperty.call(V,W)&&(N[W]=V[W])})(w,E)},o=function(){return(o=Object.assign||function(w){for(var E,N=1,V=arguments.length;N<V;N++)for(var W in E=arguments[N])Object.prototype.hasOwnProperty.call(E,W)&&(w[W]=E[W]);return w}).apply(this,arguments)};function r(w,E,N){for(var V,W=0,ee=E.length;W<ee;W++)!V&&W in E||((V=V||Array.prototype.slice.call(E,0,W))[W]=E[W]);return w.concat(V||Array.prototype.slice.call(E))}var a=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:m6,l=Object.keys,i=Array.isArray;function u(w,E){return typeof E!="object"||l(E).forEach(function(N){w[N]=E[N]}),w}typeof Promise>"u"||a.Promise||(a.Promise=Promise);var c=Object.getPrototypeOf,d={}.hasOwnProperty;function f(w,E){return d.call(w,E)}function p(w,E){typeof E=="function"&&(E=E(c(w))),(typeof Reflect>"u"?l:Reflect.ownKeys)(E).forEach(function(N){v(w,N,E[N])})}var h=Object.defineProperty;function v(w,E,N,V){h(w,E,u(N&&f(N,"get")&&typeof N.get=="function"?{get:N.get,set:N.set,configurable:!0}:{value:N,configurable:!0,writable:!0},V))}function g(w){return{from:function(E){return w.prototype=Object.create(E.prototype),v(w.prototype,"constructor",w),{extend:p.bind(null,w.prototype)}}}}var m=Object.getOwnPropertyDescriptor,y=[].slice;function k(w,E,N){return y.call(w,E,N)}function C(w,E){return E(w)}function b(w){if(!w)throw new Error("Assertion Failed")}function x(w){a.setImmediate?setImmediate(w):setTimeout(w,0)}function _(w,E){if(typeof E=="string"&&f(w,E))return w[E];if(!E)return w;if(typeof E!="string"){for(var N=[],V=0,W=E.length;V<W;++V){var ee=_(w,E[V]);N.push(ee)}return N}var pe=E.indexOf(".");if(pe!==-1){var be=w[E.substr(0,pe)];return be==null?void 0:_(be,E.substr(pe+1))}}function z(w,E,N){if(w&&E!==void 0&&!("isFrozen"in Object&&Object.isFrozen(w)))if(typeof E!="string"&&"length"in E){b(typeof N!="string"&&"length"in N);for(var V=0,W=E.length;V<W;++V)z(w,E[V],N[V])}else{var ee,pe,be=E.indexOf(".");be!==-1?(ee=E.substr(0,be),(pe=E.substr(be+1))===""?N===void 0?i(w)&&!isNaN(parseInt(ee))?w.splice(ee,1):delete w[ee]:w[ee]=N:z(be=!(be=w[ee])||!f(w,ee)?w[ee]={}:be,pe,N)):N===void 0?i(w)&&!isNaN(parseInt(E))?w.splice(E,1):delete w[E]:w[E]=N}}function I(w){var E,N={};for(E in w)f(w,E)&&(N[E]=w[E]);return N}var P=[].concat;function j(w){return P.apply([],w)}var Ne="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(j([8,16,32,64].map(function(w){return["Int","Uint","Float"].map(function(E){return E+w+"Array"})}))).filter(function(w){return a[w]}),O=new Set(Ne.map(function(w){return a[w]})),A=null;function K(w){return A=new WeakMap,w=(function E(N){if(!N||typeof N!="object")return N;var V=A.get(N);if(V)return V;if(i(N)){V=[],A.set(N,V);for(var W=0,ee=N.length;W<ee;++W)V.push(E(N[W]))}else if(O.has(N.constructor))V=N;else{var pe,be=c(N);for(pe in V=be===Object.prototype?{}:Object.create(be),A.set(N,V),N)f(N,pe)&&(V[pe]=E(N[pe]))}return V})(w),A=null,w}var Y={}.toString;function Z(w){return Y.call(w).slice(8,-1)}var $=typeof Symbol<"u"?Symbol.iterator:"@@iterator",R=typeof $=="symbol"?function(w){var E;return w!=null&&(E=w[$])&&E.apply(w)}:function(){return null};function D(w,E){return E=w.indexOf(E),0<=E&&w.splice(E,1),0<=E}var B={};function q(w){var E,N,V,W;if(arguments.length===1){if(i(w))return w.slice();if(this===B&&typeof w=="string")return[w];if(W=R(w)){for(N=[];!(V=W.next()).done;)N.push(V.value);return N}if(w==null)return[w];if(typeof(E=w.length)!="number")return[w];for(N=new Array(E);E--;)N[E]=w[E];return N}for(E=arguments.length,N=new Array(E);E--;)N[E]=arguments[E];return N}var G=typeof Symbol<"u"?function(w){return w[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},gt=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],jr=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(gt),X={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function J(w,E){this.name=w,this.message=E}function ue(w,E){return w+". Errors: "+Object.keys(E).map(function(N){return E[N].toString()}).filter(function(N,V,W){return W.indexOf(N)===V}).join(`
`)}function ae(w,E,N,V){this.failures=E,this.failedKeys=V,this.successCount=N,this.message=ue(w,E)}function ve(w,E){this.name="BulkError",this.failures=Object.keys(E).map(function(N){return E[N]}),this.failuresByPos=E,this.message=ue(w,this.failures)}g(J).from(Error).extend({toString:function(){return this.name+": "+this.message}}),g(ae).from(J),g(ve).from(J);var re=jr.reduce(function(w,E){return w[E]=E+"Error",w},{}),ce=J,oe=jr.reduce(function(w,E){var N=E+"Error";function V(W,ee){this.name=N,W?typeof W=="string"?(this.message="".concat(W).concat(ee?`
`+ee:""),this.inner=ee||null):typeof W=="object"&&(this.message="".concat(W.name," ").concat(W.message),this.inner=W):(this.message=X[E]||N,this.inner=null)}return g(V).from(ce),w[E]=V,w},{});oe.Syntax=SyntaxError,oe.Type=TypeError,oe.Range=RangeError;var ie=gt.reduce(function(w,E){return w[E+"Error"]=oe[E],w},{}),de=jr.reduce(function(w,E){return["Syntax","Type","Range"].indexOf(E)===-1&&(w[E+"Error"]=oe[E]),w},{});function U(){}function le(w){return w}function me(w,E){return w==null||w===le?E:function(N){return E(w(N))}}function _e(w,E){return function(){w.apply(this,arguments),E.apply(this,arguments)}}function Ce(w,E){return w===U?E:function(){var N=w.apply(this,arguments);N!==void 0&&(arguments[0]=N);var V=this.onsuccess,W=this.onerror;this.onsuccess=null,this.onerror=null;var ee=E.apply(this,arguments);return V&&(this.onsuccess=this.onsuccess?_e(V,this.onsuccess):V),W&&(this.onerror=this.onerror?_e(W,this.onerror):W),ee!==void 0?ee:N}}function we(w,E){return w===U?E:function(){w.apply(this,arguments);var N=this.onsuccess,V=this.onerror;this.onsuccess=this.onerror=null,E.apply(this,arguments),N&&(this.onsuccess=this.onsuccess?_e(N,this.onsuccess):N),V&&(this.onerror=this.onerror?_e(V,this.onerror):V)}}function $e(w,E){return w===U?E:function(N){var V=w.apply(this,arguments);u(N,V);var W=this.onsuccess,ee=this.onerror;return this.onsuccess=null,this.onerror=null,N=E.apply(this,arguments),W&&(this.onsuccess=this.onsuccess?_e(W,this.onsuccess):W),ee&&(this.onerror=this.onerror?_e(ee,this.onerror):ee),V===void 0?N===void 0?void 0:N:u(V,N)}}function Re(w,E){return w===U?E:function(){return E.apply(this,arguments)!==!1&&w.apply(this,arguments)}}function Ke(w,E){return w===U?E:function(){var N=w.apply(this,arguments);if(N&&typeof N.then=="function"){for(var V=this,W=arguments.length,ee=new Array(W);W--;)ee[W]=arguments[W];return N.then(function(){return E.apply(V,ee)})}return E.apply(this,arguments)}}de.ModifyError=ae,de.DexieError=J,de.BulkError=ve;var De=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function at(w){De=w}var Ze={},ot=100,Ne=typeof Promise>"u"?[]:(function(){var w=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[w,c(w),w];var E=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[E,c(E),w]})(),gt=Ne[0],jr=Ne[1],Ne=Ne[2],jr=jr&&jr.then,vt=gt&&gt.constructor,_t=!!Ne,Gt=function(w,E){ct.push([w,E]),yt&&(queueMicrotask(Ft),yt=!1)},on=!0,yt=!0,Ot=[],Oe=[],ut=le,pt={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:U,pgp:!1,env:{},finalize:U},ye=pt,ct=[],xe=0,dt=[];function Fe(w){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var E=this._PSD=ye;if(typeof w!="function"){if(w!==Ze)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&lo(this,this._value))}this._state=null,this._value=null,++E.ref,(function N(V,W){try{W(function(ee){if(V._state===null){if(ee===V)throw new TypeError("A promise cannot be resolved with itself.");var pe=V._lib&&Tn();ee&&typeof ee.then=="function"?N(V,function(be,Ee){ee instanceof Fe?ee._then(be,Ee):ee.then(be,Ee)}):(V._state=!0,V._value=ee,Jn(V)),pe&&vo()}},lo.bind(null,V))}catch(ee){lo(V,ee)}})(this,w)}var en={get:function(){var w=ye,E=Ml;function N(V,W){var ee=this,pe=!w.global&&(w!==ye||E!==Ml),be=pe&&!Mr(),Ee=new Fe(function(ze,je){Je(ee,new Fn(Mn(V,w,pe,be),Mn(W,w,pe,be),ze,je,w))});return this._consoleTask&&(Ee._consoleTask=this._consoleTask),Ee}return N.prototype=Ze,N},set:function(w){v(this,"then",w&&w.prototype===Ze?en:{get:function(){return w},set:en.set})}};function Fn(w,E,N,V,W){this.onFulfilled=typeof w=="function"?w:null,this.onRejected=typeof E=="function"?E:null,this.resolve=N,this.reject=V,this.psd=W}function lo(w,E){var N,V;Oe.push(E),w._state===null&&(N=w._lib&&Tn(),E=ut(E),w._state=!1,w._value=E,V=w,Ot.some(function(W){return W._value===V._value})||Ot.push(V),Jn(w),N&&vo())}function Jn(w){var E=w._listeners;w._listeners=[];for(var N=0,V=E.length;N<V;++N)Je(w,E[N]);var W=w._PSD;--W.ref||W.finalize(),xe===0&&(++xe,Gt(function(){--xe==0&&Po()},[]))}function Je(w,E){if(w._state!==null){var N=w._state?E.onFulfilled:E.onRejected;if(N===null)return(w._state?E.resolve:E.reject)(w._value);++E.psd.ref,++xe,Gt(Jt,[N,w,E])}else w._listeners.push(E)}function Jt(w,E,N){try{var V,W=E._value;!E._state&&Oe.length&&(Oe=[]),V=De&&E._consoleTask?E._consoleTask.run(function(){return w(W)}):w(W),E._state||Oe.indexOf(W)!==-1||(function(ee){for(var pe=Ot.length;pe;)if(Ot[--pe]._value===ee._value)return Ot.splice(pe,1)})(E),N.resolve(V)}catch(ee){N.reject(ee)}finally{--xe==0&&Po(),--N.psd.ref||N.psd.finalize()}}function Ft(){yn(pt,function(){Tn()&&vo()})}function Tn(){var w=on;return yt=on=!1,w}function vo(){var w,E,N;do for(;0<ct.length;)for(w=ct,ct=[],N=w.length,E=0;E<N;++E){var V=w[E];V[0].apply(null,V[1])}while(0<ct.length);yt=on=!0}function Po(){var w=Ot;Ot=[],w.forEach(function(V){V._PSD.onunhandled.call(null,V._value,V)});for(var E=dt.slice(0),N=E.length;N;)E[--N]()}function Il(w){return new Fe(Ze,!1,w)}function $n(w,E){var N=ye;return function(){var V=Tn(),W=ye;try{return bt(N,!0),w.apply(this,arguments)}catch(ee){E&&E(ee)}finally{bt(W,!1),V&&vo()}}}p(Fe.prototype,{then:en,_then:function(w,E){Je(this,new Fn(null,null,w,E,ye))},catch:function(w){if(arguments.length===1)return this.then(null,w);var E=w,N=arguments[1];return typeof E=="function"?this.then(null,function(V){return(V instanceof E?N:Il)(V)}):this.then(null,function(V){return(V&&V.name===E?N:Il)(V)})},finally:function(w){return this.then(function(E){return Fe.resolve(w()).then(function(){return E})},function(E){return Fe.resolve(w()).then(function(){return Il(E)})})},timeout:function(w,E){var N=this;return w<1/0?new Fe(function(V,W){var ee=setTimeout(function(){return W(new oe.Timeout(E))},w);N.then(V,W).finally(clearTimeout.bind(null,ee))}):this}}),typeof Symbol<"u"&&Symbol.toStringTag&&v(Fe.prototype,Symbol.toStringTag,"Dexie.Promise"),pt.env=Xt(),p(Fe,{all:function(){var w=q.apply(null,arguments).map(Ar);return new Fe(function(E,N){w.length===0&&E([]);var V=w.length;w.forEach(function(W,ee){return Fe.resolve(W).then(function(pe){w[ee]=pe,--V||E(w)},N)})})},resolve:function(w){return w instanceof Fe?w:w&&typeof w.then=="function"?new Fe(function(E,N){w.then(E,N)}):new Fe(Ze,!0,w)},reject:Il,race:function(){var w=q.apply(null,arguments).map(Ar);return new Fe(function(E,N){w.map(function(V){return Fe.resolve(V).then(E,N)})})},PSD:{get:function(){return ye},set:function(w){return ye=w}},totalEchoes:{get:function(){return Ml}},newPSD:Ir,usePSD:yn,scheduler:{get:function(){return Gt},set:function(w){Gt=w}},rejectionMapper:{get:function(){return ut},set:function(w){ut=w}},follow:function(w,E){return new Fe(function(N,V){return Ir(function(W,ee){var pe=ye;pe.unhandleds=[],pe.onunhandled=ee,pe.finalize=_e(function(){var be,Ee=this;be=function(){Ee.unhandleds.length===0?W():ee(Ee.unhandleds[0])},dt.push(function ze(){be(),dt.splice(dt.indexOf(ze),1)}),++xe,Gt(function(){--xe==0&&Po()},[])},pe.finalize),w()},E,N,V)})}}),vt&&(vt.allSettled&&v(Fe,"allSettled",function(){var w=q.apply(null,arguments).map(Ar);return new Fe(function(E){w.length===0&&E([]);var N=w.length,V=new Array(N);w.forEach(function(W,ee){return Fe.resolve(W).then(function(pe){return V[ee]={status:"fulfilled",value:pe}},function(pe){return V[ee]={status:"rejected",reason:pe}}).then(function(){return--N||E(V)})})})}),vt.any&&typeof AggregateError<"u"&&v(Fe,"any",function(){var w=q.apply(null,arguments).map(Ar);return new Fe(function(E,N){w.length===0&&N(new AggregateError([]));var V=w.length,W=new Array(V);w.forEach(function(ee,pe){return Fe.resolve(ee).then(function(be){return E(be)},function(be){W[pe]=be,--V||N(new AggregateError(W))})})})}),vt.withResolvers&&(Fe.withResolvers=vt.withResolvers));var eo={awaits:0,echoes:0,id:0},Wa=0,Ua=[],dr=0,Ml=0,Eu=0;function Ir(w,E,N,V){var W=ye,ee=Object.create(W);return ee.parent=W,ee.ref=0,ee.global=!1,ee.id=++Eu,pt.env,ee.env=_t?{Promise:Fe,PromiseProp:{value:Fe,configurable:!0,writable:!0},all:Fe.all,race:Fe.race,allSettled:Fe.allSettled,any:Fe.any,resolve:Fe.resolve,reject:Fe.reject}:{},E&&u(ee,E),++W.ref,ee.finalize=function(){--this.parent.ref||this.parent.finalize()},V=yn(ee,w,N,V),ee.ref===0&&ee.finalize(),V}function ma(){return eo.id||(eo.id=++Wa),++eo.awaits,eo.echoes+=ot,eo.id}function Mr(){return!!eo.awaits&&(--eo.awaits==0&&(eo.id=0),eo.echoes=eo.awaits*ot,!0)}function Ar(w){return eo.echoes&&w&&w.constructor===vt?(ma(),w.then(function(E){return Mr(),E},function(E){return Mr(),bn(E)})):w}function Ye(){var w=Ua[Ua.length-1];Ua.pop(),bt(w,!1)}function bt(w,E){var N,V=ye;(E?!eo.echoes||dr++&&w===ye:!dr||--dr&&w===ye)||queueMicrotask(E?(function(W){++Ml,eo.echoes&&--eo.echoes!=0||(eo.echoes=eo.awaits=eo.id=0),Ua.push(ye),bt(W,!0)}).bind(null,w):Ye),w!==ye&&(ye=w,V===pt&&(pt.env=Xt()),_t&&(N=pt.env.Promise,E=w.env,(V.global||w.global)&&(Object.defineProperty(a,"Promise",E.PromiseProp),N.all=E.all,N.race=E.race,N.resolve=E.resolve,N.reject=E.reject,E.allSettled&&(N.allSettled=E.allSettled),E.any&&(N.any=E.any))))}function Xt(){var w=a.Promise;return _t?{Promise:w,PromiseProp:Object.getOwnPropertyDescriptor(a,"Promise"),all:w.all,race:w.race,allSettled:w.allSettled,any:w.any,resolve:w.resolve,reject:w.reject}:{}}function yn(w,E,N,V,W){var ee=ye;try{return bt(w,!0),E(N,V,W)}finally{bt(ee,!1)}}function Mn(w,E,N,V){return typeof w!="function"?w:function(){var W=ye;N&&ma(),bt(E,!0);try{return w.apply(this,arguments)}finally{bt(W,!1),V&&queueMicrotask(Mr)}}}function ho(w){Promise===vt&&eo.echoes===0?dr===0?w():enqueueNativeMicroTask(w):setTimeout(w,0)}(""+jr).indexOf("[native code]")===-1&&(ma=Mr=U);var bn=Fe.reject,Eo="￿",mo="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",Ya="String expected.",Ge=[],xt="__dbnames",qt="readonly",Yt="readwrite";function Dn(w,E){return w?E?function(){return w.apply(this,arguments)&&E.apply(this,arguments)}:w:E}var Qo={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function ya(w){return typeof w!="string"||/\./.test(w)?function(E){return E}:function(E){return E[w]===void 0&&w in E&&delete(E=K(E))[w],E}}function gs(){throw oe.Type("Entity instances must never be new:ed. Instances are generated by the framework bypassing the constructor.")}function _n(w,E){try{var N=Qp(w),V=Qp(E);if(N!==V)return N==="Array"?1:V==="Array"?-1:N==="binary"?1:V==="binary"?-1:N==="string"?1:V==="string"?-1:N==="Date"?1:V!=="Date"?NaN:-1;switch(N){case"number":case"Date":case"string":return E<w?1:w<E?-1:0;case"binary":return(function(W,ee){for(var pe=W.length,be=ee.length,Ee=pe<be?pe:be,ze=0;ze<Ee;++ze)if(W[ze]!==ee[ze])return W[ze]<ee[ze]?-1:1;return pe===be?0:pe<be?-1:1})(jd(w),jd(E));case"Array":return(function(W,ee){for(var pe=W.length,be=ee.length,Ee=pe<be?pe:be,ze=0;ze<Ee;++ze){var je=_n(W[ze],ee[ze]);if(je!==0)return je}return pe===be?0:pe<be?-1:1})(w,E)}}catch{}return NaN}function Qp(w){var E=typeof w;return E!="object"?E:ArrayBuffer.isView(w)?"binary":(w=Z(w),w==="ArrayBuffer"?"binary":w)}function jd(w){return w instanceof Uint8Array?w:ArrayBuffer.isView(w)?new Uint8Array(w.buffer,w.byteOffset,w.byteLength):new Uint8Array(w)}function ci(w,E,N){var V=w.schema.yProps;return V?(E&&0<N.numFailures&&(E=E.filter(function(W,ee){return!N.failures[ee]})),Promise.all(V.map(function(W){return W=W.updatesTable,E?w.db.table(W).where("k").anyOf(E).delete():w.db.table(W).clear()})).then(function(){return N})):N}var vs=(T0.prototype.execute=function(w){var E=this["@@propmod"];if(E.add!==void 0){var N=E.add;if(i(N))return r(r([],i(w)?w:[],!0),N).sort();if(typeof N=="number")return(Number(w)||0)+N;if(typeof N=="bigint")try{return BigInt(w)+N}catch{return BigInt(0)+N}throw new TypeError("Invalid term ".concat(N))}if(E.remove!==void 0){var V=E.remove;if(i(V))return i(w)?w.filter(function(W){return!V.includes(W)}).sort():[];if(typeof V=="number")return Number(w)-V;if(typeof V=="bigint")try{return BigInt(w)-V}catch{return BigInt(0)-V}throw new TypeError("Invalid subtrahend ".concat(V))}return N=(N=E.replacePrefix)===null||N===void 0?void 0:N[0],N&&typeof w=="string"&&w.startsWith(N)?E.replacePrefix[1]+w.substring(N.length):w},T0);function T0(w){this["@@propmod"]=w}function O0(w,E){for(var N=l(E),V=N.length,W=!1,ee=0;ee<V;++ee){var pe=N[ee],be=E[pe],Ee=_(w,pe);be instanceof vs?(z(w,pe,be.execute(Ee)),W=!0):Ee!==be&&(z(w,pe,be),W=!0)}return W}var $0=(qn.prototype._trans=function(w,E,N){var V=this._tx||ye.trans,W=this.name,ee=De&&typeof console<"u"&&console.createTask&&console.createTask("Dexie: ".concat(w==="readonly"?"read":"write"," ").concat(this.name));function pe(ze,je,Se){if(!Se.schema[W])throw new oe.NotFound("Table "+W+" not part of transaction");return E(Se.idbtrans,Se)}var be=Tn();try{var Ee=V&&V.db._novip===this.db._novip?V===ye.trans?V._promise(w,pe,N):Ir(function(){return V._promise(w,pe,N)},{trans:V,transless:ye.transless||ye}):(function ze(je,Se,Ve,Te){if(je.idbdb&&(je._state.openComplete||ye.letThrough||je._vip)){var Me=je._createTransaction(Se,Ve,je._dbSchema);try{Me.create(),je._state.PR1398_maxLoop=3}catch(Ae){return Ae.name===re.InvalidState&&je.isOpen()&&0<--je._state.PR1398_maxLoop?(console.warn("Dexie: Need to reopen db"),je.close({disableAutoOpen:!1}),je.open().then(function(){return ze(je,Se,Ve,Te)})):bn(Ae)}return Me._promise(Se,function(Ae,Le){return Ir(function(){return ye.trans=Me,Te(Ae,Le,Me)})}).then(function(Ae){if(Se==="readwrite")try{Me.idbtrans.commit()}catch{}return Se==="readonly"?Ae:Me._completion.then(function(){return Ae})})}if(je._state.openComplete)return bn(new oe.DatabaseClosed(je._state.dbOpenError));if(!je._state.isBeingOpened){if(!je._state.autoOpen)return bn(new oe.DatabaseClosed);je.open().catch(U)}return je._state.dbReadyPromise.then(function(){return ze(je,Se,Ve,Te)})})(this.db,w,[this.name],pe);return ee&&(Ee._consoleTask=ee,Ee=Ee.catch(function(ze){return console.trace(ze),bn(ze)})),Ee}finally{be&&vo()}},qn.prototype.get=function(w,E){var N=this;return w&&w.constructor===Object?this.where(w).first(E):w==null?bn(new oe.Type("Invalid argument to Table.get()")):this._trans("readonly",function(V){return N.core.get({trans:V,key:w}).then(function(W){return N.hook.reading.fire(W)})}).then(E)},qn.prototype.where=function(w){if(typeof w=="string")return new this.db.WhereClause(this,w);if(i(w))return new this.db.WhereClause(this,"[".concat(w.join("+"),"]"));var E=l(w);if(E.length===1)return this.where(E[0]).equals(w[E[0]]);var N=this.schema.indexes.concat(this.schema.primKey).filter(function(be){if(be.compound&&E.every(function(ze){return 0<=be.keyPath.indexOf(ze)})){for(var Ee=0;Ee<E.length;++Ee)if(E.indexOf(be.keyPath[Ee])===-1)return!1;return!0}return!1}).sort(function(be,Ee){return be.keyPath.length-Ee.keyPath.length})[0];if(N&&this.db._maxKey!==Eo){var ee=N.keyPath.slice(0,E.length);return this.where(ee).equals(ee.map(function(Ee){return w[Ee]}))}!N&&De&&console.warn("The query ".concat(JSON.stringify(w)," on ").concat(this.name," would benefit from a ")+"compound index [".concat(E.join("+"),"]"));var V=this.schema.idxByName;function W(be,Ee){return _n(be,Ee)===0}var pe=E.reduce(function(Se,Ee){var ze=Se[0],je=Se[1],Se=V[Ee],Ve=w[Ee];return[ze||Se,ze||!Se?Dn(je,Se&&Se.multi?function(Te){return Te=_(Te,Ee),i(Te)&&Te.some(function(Me){return W(Ve,Me)})}:function(Te){return W(Ve,_(Te,Ee))}):je]},[null,null]),ee=pe[0],pe=pe[1];return ee?this.where(ee.name).equals(w[ee.keyPath]).filter(pe):N?this.filter(pe):this.where(E).equals("")},qn.prototype.filter=function(w){return this.toCollection().and(w)},qn.prototype.count=function(w){return this.toCollection().count(w)},qn.prototype.offset=function(w){return this.toCollection().offset(w)},qn.prototype.limit=function(w){return this.toCollection().limit(w)},qn.prototype.each=function(w){return this.toCollection().each(w)},qn.prototype.toArray=function(w){return this.toCollection().toArray(w)},qn.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},qn.prototype.orderBy=function(w){return new this.db.Collection(new this.db.WhereClause(this,i(w)?"[".concat(w.join("+"),"]"):w))},qn.prototype.reverse=function(){return this.toCollection().reverse()},qn.prototype.mapToClass=function(w){var E,N=this.db,V=this.name;function W(){return E!==null&&E.apply(this,arguments)||this}(this.schema.mappedClass=w).prototype instanceof gs&&((function(Ee,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Class extends value "+String(ze)+" is not a constructor or null");function je(){this.constructor=Ee}n(Ee,ze),Ee.prototype=ze===null?Object.create(ze):(je.prototype=ze.prototype,new je)})(W,E=w),Object.defineProperty(W.prototype,"db",{get:function(){return N},enumerable:!1,configurable:!0}),W.prototype.table=function(){return V},w=W);for(var ee=new Set,pe=w.prototype;pe;pe=c(pe))Object.getOwnPropertyNames(pe).forEach(function(Ee){return ee.add(Ee)});function be(Ee){if(!Ee)return Ee;var ze,je=Object.create(w.prototype);for(ze in Ee)if(!ee.has(ze))try{je[ze]=Ee[ze]}catch{}return je}return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=be,this.hook("reading",be),w},qn.prototype.defineClass=function(){return this.mapToClass(function(w){u(this,w)})},qn.prototype.add=function(w,E){var N=this,V=this.schema.primKey,W=V.auto,ee=V.keyPath,pe=w;return ee&&W&&(pe=ya(ee)(w)),this._trans("readwrite",function(be){return N.core.mutate({trans:be,type:"add",keys:E!=null?[E]:null,values:[pe]})}).then(function(be){return be.numFailures?Fe.reject(be.failures[0]):be.lastResult}).then(function(be){if(ee)try{z(w,ee,be)}catch{}return be})},qn.prototype.upsert=function(w,E){var N=this,V=this.schema.primKey.keyPath;return this._trans("readwrite",function(W){return N.core.get({trans:W,key:w}).then(function(ee){var pe=ee??{};return O0(pe,E),V&&z(pe,V,w),N.core.mutate({trans:W,type:"put",values:[pe],keys:[w],upsert:!0,updates:{keys:[w],changeSpecs:[E]}}).then(function(be){return be.numFailures?Fe.reject(be.failures[0]):!!ee})})})},qn.prototype.update=function(w,E){return typeof w!="object"||i(w)?this.where(":id").equals(w).modify(E):(w=_(w,this.schema.primKey.keyPath),w===void 0?bn(new oe.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(w).modify(E))},qn.prototype.put=function(w,E){var N=this,V=this.schema.primKey,W=V.auto,ee=V.keyPath,pe=w;return ee&&W&&(pe=ya(ee)(w)),this._trans("readwrite",function(be){return N.core.mutate({trans:be,type:"put",values:[pe],keys:E!=null?[E]:null})}).then(function(be){return be.numFailures?Fe.reject(be.failures[0]):be.lastResult}).then(function(be){if(ee)try{z(w,ee,be)}catch{}return be})},qn.prototype.delete=function(w){var E=this;return this._trans("readwrite",function(N){return E.core.mutate({trans:N,type:"delete",keys:[w]}).then(function(V){return ci(E,[w],V)}).then(function(V){return V.numFailures?Fe.reject(V.failures[0]):void 0})})},qn.prototype.clear=function(){var w=this;return this._trans("readwrite",function(E){return w.core.mutate({trans:E,type:"deleteRange",range:Qo}).then(function(N){return ci(w,null,N)})}).then(function(E){return E.numFailures?Fe.reject(E.failures[0]):void 0})},qn.prototype.bulkGet=function(w){var E=this;return this._trans("readonly",function(N){return E.core.getMany({keys:w,trans:N}).then(function(V){return V.map(function(W){return E.hook.reading.fire(W)})})})},qn.prototype.bulkAdd=function(w,E,N){var V=this,W=Array.isArray(E)?E:void 0,ee=(N=N||(W?void 0:E))?N.allKeys:void 0;return this._trans("readwrite",function(pe){var ze=V.schema.primKey,be=ze.auto,ze=ze.keyPath;if(ze&&W)throw new oe.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(W&&W.length!==w.length)throw new oe.InvalidArgument("Arguments objects and keys must have the same length");var Ee=w.length,ze=ze&&be?w.map(ya(ze)):w;return V.core.mutate({trans:pe,type:"add",keys:W,values:ze,wantResults:ee}).then(function(Me){var Se=Me.numFailures,Ve=Me.results,Te=Me.lastResult,Me=Me.failures;if(Se===0)return ee?Ve:Te;throw new ve("".concat(V.name,".bulkAdd(): ").concat(Se," of ").concat(Ee," operations failed"),Me)})})},qn.prototype.bulkPut=function(w,E,N){var V=this,W=Array.isArray(E)?E:void 0,ee=(N=N||(W?void 0:E))?N.allKeys:void 0;return this._trans("readwrite",function(pe){var ze=V.schema.primKey,be=ze.auto,ze=ze.keyPath;if(ze&&W)throw new oe.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(W&&W.length!==w.length)throw new oe.InvalidArgument("Arguments objects and keys must have the same length");var Ee=w.length,ze=ze&&be?w.map(ya(ze)):w;return V.core.mutate({trans:pe,type:"put",keys:W,values:ze,wantResults:ee}).then(function(Me){var Se=Me.numFailures,Ve=Me.results,Te=Me.lastResult,Me=Me.failures;if(Se===0)return ee?Ve:Te;throw new ve("".concat(V.name,".bulkPut(): ").concat(Se," of ").concat(Ee," operations failed"),Me)})})},qn.prototype.bulkUpdate=function(w){var E=this,N=this.core,V=w.map(function(pe){return pe.key}),W=w.map(function(pe){return pe.changes}),ee=[];return this._trans("readwrite",function(pe){return N.getMany({trans:pe,keys:V,cache:"clone"}).then(function(be){var Ee=[],ze=[];w.forEach(function(Se,Ve){var Te=Se.key,Me=Se.changes,Ae=be[Ve];if(Ae){for(var Le=0,He=Object.keys(Me);Le<He.length;Le++){var Xe=He[Le],nt=Me[Xe];if(Xe===E.schema.primKey.keyPath){if(_n(nt,Te)!==0)throw new oe.Constraint("Cannot update primary key in bulkUpdate()")}else z(Ae,Xe,nt)}ee.push(Ve),Ee.push(Te),ze.push(Ae)}});var je=Ee.length;return N.mutate({trans:pe,type:"put",keys:Ee,values:ze,updates:{keys:V,changeSpecs:W}}).then(function(Se){var Ve=Se.numFailures,Te=Se.failures;if(Ve===0)return je;for(var Me=0,Ae=Object.keys(Te);Me<Ae.length;Me++){var Le,He=Ae[Me],Xe=ee[Number(He)];Xe!=null&&(Le=Te[He],delete Te[He],Te[Xe]=Le)}throw new ve("".concat(E.name,".bulkUpdate(): ").concat(Ve," of ").concat(je," operations failed"),Te)})})})},qn.prototype.bulkDelete=function(w){var E=this,N=w.length;return this._trans("readwrite",function(V){return E.core.mutate({trans:V,type:"delete",keys:w}).then(function(W){return ci(E,w,W)})}).then(function(pe){var W=pe.numFailures,ee=pe.lastResult,pe=pe.failures;if(W===0)return ee;throw new ve("".concat(E.name,".bulkDelete(): ").concat(W," of ").concat(N," operations failed"),pe)})},qn);function qn(){}function zu(w){function E(pe,be){if(be){for(var Ee=arguments.length,ze=new Array(Ee-1);--Ee;)ze[Ee-1]=arguments[Ee];return N[pe].subscribe.apply(null,ze),w}if(typeof pe=="string")return N[pe]}var N={};E.addEventType=ee;for(var V=1,W=arguments.length;V<W;++V)ee(arguments[V]);return E;function ee(pe,be,Ee){if(typeof pe!="object"){var ze;be=be||Re;var je={subscribers:[],fire:Ee=Ee||U,subscribe:function(Se){je.subscribers.indexOf(Se)===-1&&(je.subscribers.push(Se),je.fire=be(je.fire,Se))},unsubscribe:function(Se){je.subscribers=je.subscribers.filter(function(Ve){return Ve!==Se}),je.fire=je.subscribers.reduce(be,Ee)}};return N[pe]=E[pe]=je}l(ze=pe).forEach(function(Se){var Ve=ze[Se];if(i(Ve))ee(Se,ze[Se][0],ze[Se][1]);else{if(Ve!=="asap")throw new oe.InvalidArgument("Invalid event config");var Te=ee(Se,le,function(){for(var Me=arguments.length,Ae=new Array(Me);Me--;)Ae[Me]=arguments[Me];Te.subscribers.forEach(function(Le){x(function(){Le.apply(null,Ae)})})})}})}}function Tu(w,E){return g(E).from({prototype:w}),E}function di(w,E){return!(w.filter||w.algorithm||w.or)&&(E?w.justLimit:!w.replayFilter)}function Jp(w,E){w.filter=Dn(w.filter,E)}function eg(w,E,N){var V=w.replayFilter;w.replayFilter=V?function(){return Dn(V(),E())}:E,w.justLimit=N&&!V}function Nd(w,E){if(w.isPrimKey)return E.primaryKey;var N=E.getIndexByKeyPath(w.index);if(!N)throw new oe.Schema("KeyPath "+w.index+" on object store "+E.name+" is not indexed");return N}function P0(w,E,N){var V=Nd(w,E.schema);return E.openCursor({trans:N,values:!w.keysOnly,reverse:w.dir==="prev",unique:!!w.unique,query:{index:V,range:w.range}})}function Rd(w,E,N,V){var W=w.replayFilter?Dn(w.filter,w.replayFilter()):w.filter;if(w.or){var ee={},pe=function(be,Ee,ze){var je,Se;W&&!W(Ee,ze,function(Ve){return Ee.stop(Ve)},function(Ve){return Ee.fail(Ve)})||((Se=""+(je=Ee.primaryKey))=="[object ArrayBuffer]"&&(Se=""+new Uint8Array(je)),f(ee,Se)||(ee[Se]=!0,E(be,Ee,ze)))};return Promise.all([w.or._iterate(pe,N),I0(P0(w,V,N),w.algorithm,pe,!w.keysOnly&&w.valueMapper)])}return I0(P0(w,V,N),Dn(w.algorithm,W),E,!w.keysOnly&&w.valueMapper)}function I0(w,E,N,V){var W=$n(V?function(ee,pe,be){return N(V(ee),pe,be)}:N);return w.then(function(ee){if(ee)return ee.start(function(){var pe=function(){return ee.continue()};E&&!E(ee,function(be){return pe=be},function(be){ee.stop(be),pe=U},function(be){ee.fail(be),pe=U})||W(ee.value,ee,function(be){return pe=be}),pe()})})}var P$=(On.prototype._read=function(w,E){var N=this._ctx;return N.error?N.table._trans(null,bn.bind(null,N.error)):N.table._trans("readonly",w).then(E)},On.prototype._write=function(w){var E=this._ctx;return E.error?E.table._trans(null,bn.bind(null,E.error)):E.table._trans("readwrite",w,"locked")},On.prototype._addAlgorithm=function(w){var E=this._ctx;E.algorithm=Dn(E.algorithm,w)},On.prototype._iterate=function(w,E){return Rd(this._ctx,w,E,this._ctx.table.core)},On.prototype.clone=function(w){var E=Object.create(this.constructor.prototype),N=Object.create(this._ctx);return w&&u(N,w),E._ctx=N,E},On.prototype.raw=function(){return this._ctx.valueMapper=null,this},On.prototype.each=function(w){var E=this._ctx;return this._read(function(N){return Rd(E,w,N,E.table.core)})},On.prototype.count=function(w){var E=this;return this._read(function(N){var V=E._ctx,W=V.table.core;if(di(V,!0))return W.count({trans:N,query:{index:Nd(V,W.schema),range:V.range}}).then(function(pe){return Math.min(pe,V.limit)});var ee=0;return Rd(V,function(){return++ee,!1},N,W).then(function(){return ee})}).then(w)},On.prototype.sortBy=function(w,E){var N=w.split(".").reverse(),V=N[0],W=N.length-1;function ee(Ee,ze){return ze?ee(Ee[N[ze]],ze-1):Ee[V]}var pe=this._ctx.dir==="next"?1:-1;function be(Ee,ze){return _n(ee(Ee,W),ee(ze,W))*pe}return this.toArray(function(Ee){return Ee.sort(be)}).then(E)},On.prototype.toArray=function(w){var E=this;return this._read(function(N){var V=E._ctx;if(V.dir==="next"&&di(V,!0)&&0<V.limit){var W=V.valueMapper,ee=Nd(V,V.table.core.schema);return V.table.core.query({trans:N,limit:V.limit,values:!0,query:{index:ee,range:V.range}}).then(function(be){return be=be.result,W?be.map(W):be})}var pe=[];return Rd(V,function(be){return pe.push(be)},N,V.table.core).then(function(){return pe})},w)},On.prototype.offset=function(w){var E=this._ctx;return w<=0||(E.offset+=w,di(E)?eg(E,function(){var N=w;return function(V,W){return N===0||(N===1?--N:W(function(){V.advance(N),N=0}),!1)}}):eg(E,function(){var N=w;return function(){return--N<0}})),this},On.prototype.limit=function(w){return this._ctx.limit=Math.min(this._ctx.limit,w),eg(this._ctx,function(){var E=w;return function(N,V,W){return--E<=0&&V(W),0<=E}},!0),this},On.prototype.until=function(w,E){return Jp(this._ctx,function(N,V,W){return!w(N.value)||(V(W),E)}),this},On.prototype.first=function(w){return this.limit(1).toArray(function(E){return E[0]}).then(w)},On.prototype.last=function(w){return this.reverse().first(w)},On.prototype.filter=function(w){var E;return Jp(this._ctx,function(N){return w(N.value)}),(E=this._ctx).isMatch=Dn(E.isMatch,w),this},On.prototype.and=function(w){return this.filter(w)},On.prototype.or=function(w){return new this.db.WhereClause(this._ctx.table,w,this)},On.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},On.prototype.desc=function(){return this.reverse()},On.prototype.eachKey=function(w){var E=this._ctx;return E.keysOnly=!E.isMatch,this.each(function(N,V){w(V.key,V)})},On.prototype.eachUniqueKey=function(w){return this._ctx.unique="unique",this.eachKey(w)},On.prototype.eachPrimaryKey=function(w){var E=this._ctx;return E.keysOnly=!E.isMatch,this.each(function(N,V){w(V.primaryKey,V)})},On.prototype.keys=function(w){var E=this._ctx;E.keysOnly=!E.isMatch;var N=[];return this.each(function(V,W){N.push(W.key)}).then(function(){return N}).then(w)},On.prototype.primaryKeys=function(w){var E=this._ctx;if(E.dir==="next"&&di(E,!0)&&0<E.limit)return this._read(function(V){var W=Nd(E,E.table.core.schema);return E.table.core.query({trans:V,values:!1,limit:E.limit,query:{index:W,range:E.range}})}).then(function(V){return V.result}).then(w);E.keysOnly=!E.isMatch;var N=[];return this.each(function(V,W){N.push(W.primaryKey)}).then(function(){return N}).then(w)},On.prototype.uniqueKeys=function(w){return this._ctx.unique="unique",this.keys(w)},On.prototype.firstKey=function(w){return this.limit(1).keys(function(E){return E[0]}).then(w)},On.prototype.lastKey=function(w){return this.reverse().firstKey(w)},On.prototype.distinct=function(){var w=this._ctx,w=w.index&&w.table.schema.idxByName[w.index];if(!w||!w.multi)return this;var E={};return Jp(this._ctx,function(W){var V=W.primaryKey.toString(),W=f(E,V);return E[V]=!0,!W}),this},On.prototype.modify=function(w){var E=this,N=this._ctx;return this._write(function(V){var W=typeof w=="function"?w:function(Ae){return O0(Ae,w)},ee=N.table.core,ze=ee.schema.primaryKey,pe=ze.outbound,be=ze.extractKey,Ee=200,ze=E.db._options.modifyChunkSize;ze&&(Ee=typeof ze=="object"?ze[ee.name]||ze["*"]||200:ze);function je(Ae,Xe){var He=Xe.failures,Xe=Xe.numFailures;Ve+=Ae-Xe;for(var nt=0,st=l(He);nt<st.length;nt++){var Et=st[nt];Se.push(He[Et])}}var Se=[],Ve=0,Te=[],Me=w===M0;return E.clone().primaryKeys().then(function(Ae){function Le(Xe){var nt=Math.min(Ee,Ae.length-Xe),st=Ae.slice(Xe,Xe+nt);return(Me?Promise.resolve([]):ee.getMany({trans:V,keys:st,cache:"immutable"})).then(function(Et){var It=[],Ct=[],zt=pe?[]:null,jt=Me?st:[];if(!Me)for(var $t=0;$t<nt;++$t){var Ht=Et[$t],pn={value:K(Ht),primKey:Ae[Xe+$t]};W.call(pn,pn.value,pn)!==!1&&(pn.value==null?jt.push(Ae[Xe+$t]):pe||_n(be(Ht),be(pn.value))===0?(Ct.push(pn.value),pe&&zt.push(Ae[Xe+$t])):(jt.push(Ae[Xe+$t]),It.push(pn.value)))}return Promise.resolve(0<It.length&&ee.mutate({trans:V,type:"add",values:It}).then(function(vn){for(var Sn in vn.failures)jt.splice(parseInt(Sn),1);je(It.length,vn)})).then(function(){return(0<Ct.length||He&&typeof w=="object")&&ee.mutate({trans:V,type:"put",keys:zt,values:Ct,criteria:He,changeSpec:typeof w!="function"&&w,isAdditionalChunk:0<Xe}).then(function(vn){return je(Ct.length,vn)})}).then(function(){return(0<jt.length||He&&Me)&&ee.mutate({trans:V,type:"delete",keys:jt,criteria:He,isAdditionalChunk:0<Xe}).then(function(vn){return ci(N.table,jt,vn)}).then(function(vn){return je(jt.length,vn)})}).then(function(){return Ae.length>Xe+nt&&Le(Xe+Ee)})})}var He=di(N)&&N.limit===1/0&&(typeof w!="function"||Me)&&{index:N.index,range:N.range};return Le(0).then(function(){if(0<Se.length)throw new ae("Error modifying one or more objects",Se,Ve,Te);return Ae.length})})})},On.prototype.delete=function(){var w=this._ctx,E=w.range;return!di(w)||w.table.schema.yProps||!w.isPrimKey&&E.type!==3?this.modify(M0):this._write(function(N){var V=w.table.core.schema.primaryKey,W=E;return w.table.core.count({trans:N,query:{index:V,range:W}}).then(function(ee){return w.table.core.mutate({trans:N,type:"deleteRange",range:W}).then(function(Ee){var be=Ee.failures,Ee=Ee.numFailures;if(Ee)throw new ae("Could not delete some values",Object.keys(be).map(function(ze){return be[ze]}),ee-Ee);return ee-Ee})})})},On);function On(){}var M0=function(w,E){return E.value=null};function I$(w,E){return w<E?-1:w===E?0:1}function M$(w,E){return E<w?-1:w===E?0:1}function br(w,E,N){return w=w instanceof j0?new w.Collection(w):w,w._ctx.error=new(N||TypeError)(E),w}function fi(w){return new w.Collection(w,function(){return A0("")}).limit(0)}function Dd(w,E,N,V){var W,ee,pe,be,Ee,ze,je,Se=N.length;if(!N.every(function(Me){return typeof Me=="string"}))return br(w,Ya);function Ve(Me){W=Me==="next"?function(Le){return Le.toUpperCase()}:function(Le){return Le.toLowerCase()},ee=Me==="next"?function(Le){return Le.toLowerCase()}:function(Le){return Le.toUpperCase()},pe=Me==="next"?I$:M$;var Ae=N.map(function(Le){return{lower:ee(Le),upper:W(Le)}}).sort(function(Le,He){return pe(Le.lower,He.lower)});be=Ae.map(function(Le){return Le.upper}),Ee=Ae.map(function(Le){return Le.lower}),je=(ze=Me)==="next"?"":V}Ve("next"),w=new w.Collection(w,function(){return Al(be[0],Ee[Se-1]+V)}),w._ondirectionchange=function(Me){Ve(Me)};var Te=0;return w._addAlgorithm(function(Me,Ae,Le){var He=Me.key;if(typeof He!="string")return!1;var Xe=ee(He);if(E(Xe,Ee,Te))return!0;for(var nt=null,st=Te;st<Se;++st){var Et=(function(It,Ct,zt,jt,$t,Ht){for(var pn=Math.min(It.length,jt.length),vn=-1,Sn=0;Sn<pn;++Sn){var wr=Ct[Sn];if(wr!==jt[Sn])return $t(It[Sn],zt[Sn])<0?It.substr(0,Sn)+zt[Sn]+zt.substr(Sn+1):$t(It[Sn],jt[Sn])<0?It.substr(0,Sn)+jt[Sn]+zt.substr(Sn+1):0<=vn?It.substr(0,vn)+Ct[vn]+zt.substr(vn+1):null;$t(It[Sn],wr)<0&&(vn=Sn)}return pn<jt.length&&Ht==="next"?It+zt.substr(It.length):pn<It.length&&Ht==="prev"?It.substr(0,zt.length):vn<0?null:It.substr(0,vn)+jt[vn]+zt.substr(vn+1)})(He,Xe,be[st],Ee[st],pe,ze);Et===null&&nt===null?Te=st+1:(nt===null||0<pe(nt,Et))&&(nt=Et)}return Ae(nt!==null?function(){Me.continue(nt+je)}:Le),!1}),w}function Al(w,E,N,V){return{type:2,lower:w,upper:E,lowerOpen:N,upperOpen:V}}function A0(w){return{type:1,lower:w,upper:w}}var j0=(Object.defineProperty(zo.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),zo.prototype.between=function(w,E,N,V){N=N!==!1,V=V===!0;try{return 0<this._cmp(w,E)||this._cmp(w,E)===0&&(N||V)&&(!N||!V)?fi(this):new this.Collection(this,function(){return Al(w,E,!N,!V)})}catch{return br(this,mo)}},zo.prototype.equals=function(w){return w==null?br(this,mo):new this.Collection(this,function(){return A0(w)})},zo.prototype.above=function(w){return w==null?br(this,mo):new this.Collection(this,function(){return Al(w,void 0,!0)})},zo.prototype.aboveOrEqual=function(w){return w==null?br(this,mo):new this.Collection(this,function(){return Al(w,void 0,!1)})},zo.prototype.below=function(w){return w==null?br(this,mo):new this.Collection(this,function(){return Al(void 0,w,!1,!0)})},zo.prototype.belowOrEqual=function(w){return w==null?br(this,mo):new this.Collection(this,function(){return Al(void 0,w)})},zo.prototype.startsWith=function(w){return typeof w!="string"?br(this,Ya):this.between(w,w+Eo,!0,!0)},zo.prototype.startsWithIgnoreCase=function(w){return w===""?this.startsWith(w):Dd(this,function(E,N){return E.indexOf(N[0])===0},[w],Eo)},zo.prototype.equalsIgnoreCase=function(w){return Dd(this,function(E,N){return E===N[0]},[w],"")},zo.prototype.anyOfIgnoreCase=function(){var w=q.apply(B,arguments);return w.length===0?fi(this):Dd(this,function(E,N){return N.indexOf(E)!==-1},w,"")},zo.prototype.startsWithAnyOfIgnoreCase=function(){var w=q.apply(B,arguments);return w.length===0?fi(this):Dd(this,function(E,N){return N.some(function(V){return E.indexOf(V)===0})},w,Eo)},zo.prototype.anyOf=function(){var w=this,E=q.apply(B,arguments),N=this._cmp;try{E.sort(N)}catch{return br(this,mo)}if(E.length===0)return fi(this);var V=new this.Collection(this,function(){return Al(E[0],E[E.length-1])});V._ondirectionchange=function(ee){N=ee==="next"?w._ascending:w._descending,E.sort(N)};var W=0;return V._addAlgorithm(function(ee,pe,be){for(var Ee=ee.key;0<N(Ee,E[W]);)if(++W===E.length)return pe(be),!1;return N(Ee,E[W])===0||(pe(function(){ee.continue(E[W])}),!1)}),V},zo.prototype.notEqual=function(w){return this.inAnyRange([[-1/0,w],[w,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},zo.prototype.noneOf=function(){var w=q.apply(B,arguments);if(w.length===0)return new this.Collection(this);try{w.sort(this._ascending)}catch{return br(this,mo)}var E=w.reduce(function(N,V){return N?N.concat([[N[N.length-1][1],V]]):[[-1/0,V]]},null);return E.push([w[w.length-1],this.db._maxKey]),this.inAnyRange(E,{includeLowers:!1,includeUppers:!1})},zo.prototype.inAnyRange=function(He,E){var N=this,V=this._cmp,W=this._ascending,ee=this._descending,pe=this._min,be=this._max;if(He.length===0)return fi(this);if(!He.every(function(Xe){return Xe[0]!==void 0&&Xe[1]!==void 0&&W(Xe[0],Xe[1])<=0}))return br(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",oe.InvalidArgument);var Ee=!E||E.includeLowers!==!1,ze=E&&E.includeUppers===!0,je,Se=W;function Ve(Xe,nt){return Se(Xe[0],nt[0])}try{(je=He.reduce(function(Xe,nt){for(var st=0,Et=Xe.length;st<Et;++st){var It=Xe[st];if(V(nt[0],It[1])<0&&0<V(nt[1],It[0])){It[0]=pe(It[0],nt[0]),It[1]=be(It[1],nt[1]);break}}return st===Et&&Xe.push(nt),Xe},[])).sort(Ve)}catch{return br(this,mo)}var Te=0,Me=ze?function(Xe){return 0<W(Xe,je[Te][1])}:function(Xe){return 0<=W(Xe,je[Te][1])},Ae=Ee?function(Xe){return 0<ee(Xe,je[Te][0])}:function(Xe){return 0<=ee(Xe,je[Te][0])},Le=Me,He=new this.Collection(this,function(){return Al(je[0][0],je[je.length-1][1],!Ee,!ze)});return He._ondirectionchange=function(Xe){Se=Xe==="next"?(Le=Me,W):(Le=Ae,ee),je.sort(Ve)},He._addAlgorithm(function(Xe,nt,st){for(var Et,It=Xe.key;Le(It);)if(++Te===je.length)return nt(st),!1;return!Me(Et=It)&&!Ae(Et)||(N._cmp(It,je[Te][1])===0||N._cmp(It,je[Te][0])===0||nt(function(){Se===W?Xe.continue(je[Te][0]):Xe.continue(je[Te][1])}),!1)}),He},zo.prototype.startsWithAnyOf=function(){var w=q.apply(B,arguments);return w.every(function(E){return typeof E=="string"})?w.length===0?fi(this):this.inAnyRange(w.map(function(E){return[E,E+Eo]})):br(this,"startsWithAnyOf() only works with strings")},zo);function zo(){}function ba(w){return $n(function(E){return Ou(E),w(E.target.error),!1})}function Ou(w){w.stopPropagation&&w.stopPropagation(),w.preventDefault&&w.preventDefault()}var $u="storagemutated",tg="x-storagemutated-1",jl=zu(null,$u),A$=(wa.prototype._lock=function(){return b(!ye.global),++this._reculock,this._reculock!==1||ye.global||(ye.lockOwnerFor=this),this},wa.prototype._unlock=function(){if(b(!ye.global),--this._reculock==0)for(ye.global||(ye.lockOwnerFor=null);0<this._blockedFuncs.length&&!this._locked();){var w=this._blockedFuncs.shift();try{yn(w[1],w[0])}catch{}}return this},wa.prototype._locked=function(){return this._reculock&&ye.lockOwnerFor!==this},wa.prototype.create=function(w){var E=this;if(!this.mode)return this;var N=this.db.idbdb,V=this.db._state.dbOpenError;if(b(!this.idbtrans),!w&&!N)switch(V&&V.name){case"DatabaseClosedError":throw new oe.DatabaseClosed(V);case"MissingAPIError":throw new oe.MissingAPI(V.message,V);default:throw new oe.OpenFailed(V)}if(!this.active)throw new oe.TransactionInactive;return b(this._completion._state===null),(w=this.idbtrans=w||(this.db.core||N).transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})).onerror=$n(function(W){Ou(W),E._reject(w.error)}),w.onabort=$n(function(W){Ou(W),E.active&&E._reject(new oe.Abort(w.error)),E.active=!1,E.on("abort").fire(W)}),w.oncomplete=$n(function(){E.active=!1,E._resolve(),"mutatedParts"in w&&jl.storagemutated.fire(w.mutatedParts)}),this},wa.prototype._promise=function(w,E,N){var V=this;if(w==="readwrite"&&this.mode!=="readwrite")return bn(new oe.ReadOnly("Transaction is readonly"));if(!this.active)return bn(new oe.TransactionInactive);if(this._locked())return new Fe(function(ee,pe){V._blockedFuncs.push([function(){V._promise(w,E,N).then(ee,pe)},ye])});if(N)return Ir(function(){var ee=new Fe(function(pe,be){V._lock();var Ee=E(pe,be,V);Ee&&Ee.then&&Ee.then(pe,be)});return ee.finally(function(){return V._unlock()}),ee._lib=!0,ee});var W=new Fe(function(ee,pe){var be=E(ee,pe,V);be&&be.then&&be.then(ee,pe)});return W._lib=!0,W},wa.prototype._root=function(){return this.parent?this.parent._root():this},wa.prototype.waitFor=function(w){var E,N=this._root(),V=Fe.resolve(w);N._waitingFor?N._waitingFor=N._waitingFor.then(function(){return V}):(N._waitingFor=V,N._waitingQueue=[],E=N.idbtrans.objectStore(N.storeNames[0]),(function ee(){for(++N._spinCount;N._waitingQueue.length;)N._waitingQueue.shift()();N._waitingFor&&(E.get(-1/0).onsuccess=ee)})());var W=N._waitingFor;return new Fe(function(ee,pe){V.then(function(be){return N._waitingQueue.push($n(ee.bind(null,be)))},function(be){return N._waitingQueue.push($n(pe.bind(null,be)))}).finally(function(){N._waitingFor===W&&(N._waitingFor=null)})})},wa.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new oe.Abort))},wa.prototype.table=function(w){var E=this._memoizedTables||(this._memoizedTables={});if(f(E,w))return E[w];var N=this.schema[w];if(!N)throw new oe.NotFound("Table "+w+" not part of transaction");return N=new this.db.Table(w,N,this),N.core=this.db.core.table(w),E[w]=N},wa);function wa(){}function ng(w,E,N,V,W,ee,pe,be){return{name:w,keyPath:E,unique:N,multi:V,auto:W,compound:ee,src:(N&&!pe?"&":"")+(V?"*":"")+(W?"++":"")+N0(E),type:be}}function N0(w){return typeof w=="string"?w:w?"["+[].join.call(w,"+")+"]":""}function og(w,E,N){return{name:w,primKey:E,indexes:N,mappedClass:null,idxByName:(V=function(W){return[W.name,W]},N.reduce(function(W,ee,pe){return pe=V(ee,pe),pe&&(W[pe[0]]=pe[1]),W},{}))};var V}var Pu=function(w){try{return w.only([[]]),Pu=function(){return[[]]},[[]]}catch{return Pu=function(){return Eo},Eo}};function rg(w){return w==null?function(){}:typeof w=="string"?(E=w).split(".").length===1?function(N){return N[E]}:function(N){return _(N,E)}:function(N){return _(N,w)};var E}function R0(w){return[].slice.call(w)}var j$=0;function Iu(w){return w==null?":id":typeof w=="string"?w:"[".concat(w.join("+"),"]")}function N$(w,E,Ee){function V(Le){if(Le.type===3)return null;if(Le.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var Te=Le.lower,Me=Le.upper,Ae=Le.lowerOpen,Le=Le.upperOpen;return Te===void 0?Me===void 0?null:E.upperBound(Me,!!Le):Me===void 0?E.lowerBound(Te,!!Ae):E.bound(Te,Me,!!Ae,!!Le)}function W(Ve){var Te,Me=Ve.name;return{name:Me,schema:Ve,mutate:function(Ae){var Le=Ae.trans,He=Ae.type,Xe=Ae.keys,nt=Ae.values,st=Ae.range;return new Promise(function(Et,It){Et=$n(Et);var Ct=Le.objectStore(Me),zt=Ct.keyPath==null,jt=He==="put"||He==="add";if(!jt&&He!=="delete"&&He!=="deleteRange")throw new Error("Invalid operation type: "+He);var $t,Ht=(Xe||nt||{length:1}).length;if(Xe&&nt&&Xe.length!==nt.length)throw new Error("Given keys array must have same length as given values array.");if(Ht===0)return Et({numFailures:0,failures:{},results:[],lastResult:void 0});function pn(Jo){++wr,Ou(Jo)}var vn=[],Sn=[],wr=0;if(He==="deleteRange"){if(st.type===4)return Et({numFailures:wr,failures:Sn,results:[],lastResult:void 0});st.type===3?vn.push($t=Ct.clear()):vn.push($t=Ct.delete(V(st)))}else{var zt=jt?zt?[nt,Xe]:[nt,null]:[Xe,null],dn=zt[0],Lo=zt[1];if(jt)for(var Bo=0;Bo<Ht;++Bo)vn.push($t=Lo&&Lo[Bo]!==void 0?Ct[He](dn[Bo],Lo[Bo]):Ct[He](dn[Bo])),$t.onerror=pn;else for(Bo=0;Bo<Ht;++Bo)vn.push($t=Ct[He](dn[Bo])),$t.onerror=pn}function Xd(Jo){Jo=Jo.target.result,vn.forEach(function(bs,kg){return bs.error!=null&&(Sn[kg]=bs.error)}),Et({numFailures:wr,failures:Sn,results:He==="delete"?Xe:vn.map(function(bs){return bs.result}),lastResult:Jo})}$t.onerror=function(Jo){pn(Jo),Xd(Jo)},$t.onsuccess=Xd})},getMany:function(Ae){var Le=Ae.trans,He=Ae.keys;return new Promise(function(Xe,nt){Xe=$n(Xe);for(var st,Et=Le.objectStore(Me),It=He.length,Ct=new Array(It),zt=0,jt=0,$t=function(vn){vn=vn.target,Ct[vn._pos]=vn.result,++jt===zt&&Xe(Ct)},Ht=ba(nt),pn=0;pn<It;++pn)He[pn]!=null&&((st=Et.get(He[pn]))._pos=pn,st.onsuccess=$t,st.onerror=Ht,++zt);zt===0&&Xe(Ct)})},get:function(Ae){var Le=Ae.trans,He=Ae.key;return new Promise(function(Xe,nt){Xe=$n(Xe);var st=Le.objectStore(Me).get(He);st.onsuccess=function(Et){return Xe(Et.target.result)},st.onerror=ba(nt)})},query:(Te=ze,function(Ae){return new Promise(function(Le,He){Le=$n(Le);var Xe,nt,st,zt=Ae.trans,Et=Ae.values,It=Ae.limit,$t=Ae.query,Ct=It===1/0?void 0:It,jt=$t.index,$t=$t.range,zt=zt.objectStore(Me),jt=jt.isPrimaryKey?zt:zt.index(jt.name),$t=V($t);if(It===0)return Le({result:[]});Te?((Ct=Et?jt.getAll($t,Ct):jt.getAllKeys($t,Ct)).onsuccess=function(Ht){return Le({result:Ht.target.result})},Ct.onerror=ba(He)):(Xe=0,nt=!Et&&"openKeyCursor"in jt?jt.openKeyCursor($t):jt.openCursor($t),st=[],nt.onsuccess=function(Ht){var pn=nt.result;return pn?(st.push(Et?pn.value:pn.primaryKey),++Xe===It?Le({result:st}):void pn.continue()):Le({result:st})},nt.onerror=ba(He))})}),openCursor:function(Ae){var Le=Ae.trans,He=Ae.values,Xe=Ae.query,nt=Ae.reverse,st=Ae.unique;return new Promise(function(Et,It){Et=$n(Et);var jt=Xe.index,Ct=Xe.range,zt=Le.objectStore(Me),zt=jt.isPrimaryKey?zt:zt.index(jt.name),jt=nt?st?"prevunique":"prev":st?"nextunique":"next",$t=!He&&"openKeyCursor"in zt?zt.openKeyCursor(V(Ct),jt):zt.openCursor(V(Ct),jt);$t.onerror=ba(It),$t.onsuccess=$n(function(Ht){var pn,vn,Sn,wr,dn=$t.result;dn?(dn.___id=++j$,dn.done=!1,pn=dn.continue.bind(dn),vn=(vn=dn.continuePrimaryKey)&&vn.bind(dn),Sn=dn.advance.bind(dn),wr=function(){throw new Error("Cursor not stopped")},dn.trans=Le,dn.stop=dn.continue=dn.continuePrimaryKey=dn.advance=function(){throw new Error("Cursor not started")},dn.fail=$n(It),dn.next=function(){var Lo=this,Bo=1;return this.start(function(){return Bo--?Lo.continue():Lo.stop()}).then(function(){return Lo})},dn.start=function(Lo){function Bo(){if($t.result)try{Lo()}catch(Jo){dn.fail(Jo)}else dn.done=!0,dn.start=function(){throw new Error("Cursor behind last entry")},dn.stop()}var Xd=new Promise(function(Jo,bs){Jo=$n(Jo),$t.onerror=ba(bs),dn.fail=bs,dn.stop=function(kg){dn.stop=dn.continue=dn.continuePrimaryKey=dn.advance=wr,Jo(kg)}});return $t.onsuccess=$n(function(Jo){$t.onsuccess=Bo,Bo()}),dn.continue=pn,dn.continuePrimaryKey=vn,dn.advance=Sn,Bo(),Xd},Et(dn)):Et(null)},It)})},count:function(Ae){var Le=Ae.query,He=Ae.trans,Xe=Le.index,nt=Le.range;return new Promise(function(st,Et){var It=He.objectStore(Me),Ct=Xe.isPrimaryKey?It:It.index(Xe.name),It=V(nt),Ct=It?Ct.count(It):Ct.count();Ct.onsuccess=$n(function(zt){return st(zt.target.result)}),Ct.onerror=ba(Et)})}}}var ee,pe,be,je=(pe=Ee,be=R0((ee=w).objectStoreNames),{schema:{name:ee.name,tables:be.map(function(Ve){return pe.objectStore(Ve)}).map(function(Ve){var Te=Ve.keyPath,Le=Ve.autoIncrement,Me=i(Te),Ae={},Le={name:Ve.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:Te==null,compound:Me,keyPath:Te,autoIncrement:Le,unique:!0,extractKey:rg(Te)},indexes:R0(Ve.indexNames).map(function(He){return Ve.index(He)}).map(function(st){var Xe=st.name,nt=st.unique,Et=st.multiEntry,st=st.keyPath,Et={name:Xe,compound:i(st),keyPath:st,unique:nt,multiEntry:Et,extractKey:rg(st)};return Ae[Iu(st)]=Et}),getIndexByKeyPath:function(He){return Ae[Iu(He)]}};return Ae[":id"]=Le.primaryKey,Te!=null&&(Ae[Iu(Te)]=Le.primaryKey),Le})},hasGetAll:0<be.length&&"getAll"in pe.objectStore(be[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}),Ee=je.schema,ze=je.hasGetAll,je=Ee.tables.map(W),Se={};return je.forEach(function(Ve){return Se[Ve.name]=Ve}),{stack:"dbcore",transaction:w.transaction.bind(w),table:function(Ve){if(!Se[Ve])throw new Error("Table '".concat(Ve,"' not found"));return Se[Ve]},MIN_KEY:-1/0,MAX_KEY:Pu(E),schema:Ee}}function R$(w,E,N,V){var W=N.IDBKeyRange;return N.indexedDB,{dbcore:(V=N$(E,W,V),w.dbcore.reduce(function(ee,pe){return pe=pe.create,o(o({},ee),pe(ee))},V))}}function Ld(w,V){var N=V.db,V=R$(w._middlewares,N,w._deps,V);w.core=V.dbcore,w.tables.forEach(function(W){var ee=W.name;w.core.schema.tables.some(function(pe){return pe.name===ee})&&(W.core=w.core.table(ee),w[ee]instanceof w.Table&&(w[ee].core=W.core))})}function Bd(w,E,N,V){N.forEach(function(W){var ee=V[W];E.forEach(function(pe){var be=(function Ee(ze,je){return m(ze,je)||(ze=c(ze))&&Ee(ze,je)})(pe,W);(!be||"value"in be&&be.value===void 0)&&(pe===w.Transaction.prototype||pe instanceof w.Transaction?v(pe,W,{get:function(){return this.table(W)},set:function(Ee){h(this,W,{value:Ee,writable:!0,configurable:!0,enumerable:!0})}}):pe[W]=new w.Table(W,ee))})})}function ag(w,E){E.forEach(function(N){for(var V in N)N[V]instanceof w.Table&&delete N[V]})}function D$(w,E){return w._cfg.version-E._cfg.version}function L$(w,E,N,V){var W=w._dbSchema;N.objectStoreNames.contains("$meta")&&!W.$meta&&(W.$meta=og("$meta",L0("")[0],[]),w._storeNames.push("$meta"));var ee=w._createTransaction("readwrite",w._storeNames,W);ee.create(N),ee._completion.catch(V);var pe=ee._reject.bind(ee),be=ye.transless||ye;Ir(function(){return ye.trans=ee,ye.transless=be,E!==0?(Ld(w,N),ze=E,((Ee=ee).storeNames.includes("$meta")?Ee.table("$meta").get("version").then(function(je){return je??ze}):Fe.resolve(ze)).then(function(je){return Ve=je,Te=ee,Me=N,Ae=[],je=(Se=w)._versions,Le=Se._dbSchema=Fd(0,Se.idbdb,Me),(je=je.filter(function(He){return He._cfg.version>=Ve})).length!==0?(je.forEach(function(He){Ae.push(function(){var Xe=Le,nt=He._cfg.dbschema;qd(Se,Xe,Me),qd(Se,nt,Me),Le=Se._dbSchema=nt;var st=lg(Xe,nt);st.add.forEach(function(jt){sg(Me,jt[0],jt[1].primKey,jt[1].indexes)}),st.change.forEach(function(jt){if(jt.recreate)throw new oe.Upgrade("Not yet support for changing primary key");var $t=Me.objectStore(jt.name);jt.add.forEach(function(Ht){return Vd($t,Ht)}),jt.change.forEach(function(Ht){$t.deleteIndex(Ht.name),Vd($t,Ht)}),jt.del.forEach(function(Ht){return $t.deleteIndex(Ht)})});var Et=He._cfg.contentUpgrade;if(Et&&He._cfg.version>Ve){Ld(Se,Me),Te._memoizedTables={};var It=I(nt);st.del.forEach(function(jt){It[jt]=Xe[jt]}),ag(Se,[Se.Transaction.prototype]),Bd(Se,[Se.Transaction.prototype],l(It),It),Te.schema=It;var Ct,zt=G(Et);return zt&&ma(),st=Fe.follow(function(){var jt;(Ct=Et(Te))&&zt&&(jt=Mr.bind(null,null),Ct.then(jt,jt))}),Ct&&typeof Ct.then=="function"?Fe.resolve(Ct):st.then(function(){return Ct})}}),Ae.push(function(Xe){var nt,st,Et=He._cfg.dbschema;nt=Et,st=Xe,[].slice.call(st.db.objectStoreNames).forEach(function(It){return nt[It]==null&&st.db.deleteObjectStore(It)}),ag(Se,[Se.Transaction.prototype]),Bd(Se,[Se.Transaction.prototype],Se._storeNames,Se._dbSchema),Te.schema=Se._dbSchema}),Ae.push(function(Xe){Se.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(Se.idbdb.version/10)===He._cfg.version?(Se.idbdb.deleteObjectStore("$meta"),delete Se._dbSchema.$meta,Se._storeNames=Se._storeNames.filter(function(nt){return nt!=="$meta"})):Xe.objectStore("$meta").put(He._cfg.version,"version"))})}),(function He(){return Ae.length?Fe.resolve(Ae.shift()(Te.idbtrans)).then(He):Fe.resolve()})().then(function(){D0(Le,Me)})):Fe.resolve();var Se,Ve,Te,Me,Ae,Le}).catch(pe)):(l(W).forEach(function(je){sg(N,je,W[je].primKey,W[je].indexes)}),Ld(w,N),void Fe.follow(function(){return w.on.populate.fire(ee)}).catch(pe));var Ee,ze})}function B$(w,E){D0(w._dbSchema,E),E.db.version%10!=0||E.objectStoreNames.contains("$meta")||E.db.createObjectStore("$meta").add(Math.ceil(E.db.version/10-1),"version");var N=Fd(0,w.idbdb,E);qd(w,w._dbSchema,E);for(var V=0,W=lg(N,w._dbSchema).change;V<W.length;V++){var ee=(function(pe){if(pe.change.length||pe.recreate)return console.warn("Unable to patch indexes of table ".concat(pe.name," because it has changes on the type of index or primary key.")),{value:void 0};var be=E.objectStore(pe.name);pe.add.forEach(function(Ee){De&&console.debug("Dexie upgrade patch: Creating missing index ".concat(pe.name,".").concat(Ee.src)),Vd(be,Ee)})})(W[V]);if(typeof ee=="object")return ee.value}}function lg(w,E){var N,V={del:[],add:[],change:[]};for(N in w)E[N]||V.del.push(N);for(N in E){var W=w[N],ee=E[N];if(W){var pe={name:N,def:ee,recreate:!1,del:[],add:[],change:[]};if(""+(W.primKey.keyPath||"")!=""+(ee.primKey.keyPath||"")||W.primKey.auto!==ee.primKey.auto)pe.recreate=!0,V.change.push(pe);else{var be=W.idxByName,Ee=ee.idxByName,ze=void 0;for(ze in be)Ee[ze]||pe.del.push(ze);for(ze in Ee){var je=be[ze],Se=Ee[ze];je?je.src!==Se.src&&pe.change.push(Se):pe.add.push(Se)}(0<pe.del.length||0<pe.add.length||0<pe.change.length)&&V.change.push(pe)}}else V.add.push([N,ee])}return V}function sg(w,E,N,V){var W=w.db.createObjectStore(E,N.keyPath?{keyPath:N.keyPath,autoIncrement:N.auto}:{autoIncrement:N.auto});return V.forEach(function(ee){return Vd(W,ee)}),W}function D0(w,E){l(w).forEach(function(N){E.db.objectStoreNames.contains(N)||(De&&console.debug("Dexie: Creating missing table",N),sg(E,N,w[N].primKey,w[N].indexes))})}function Vd(w,E){w.createIndex(E.name,E.keyPath,{unique:E.unique,multiEntry:E.multi})}function Fd(w,E,N){var V={};return k(E.objectStoreNames,0).forEach(function(W){for(var ee=N.objectStore(W),pe=ng(N0(ze=ee.keyPath),ze||"",!0,!1,!!ee.autoIncrement,ze&&typeof ze!="string",!0),be=[],Ee=0;Ee<ee.indexNames.length;++Ee){var je=ee.index(ee.indexNames[Ee]),ze=je.keyPath,je=ng(je.name,ze,!!je.unique,!!je.multiEntry,!1,ze&&typeof ze!="string",!1);be.push(je)}V[W]=og(W,pe,be)}),V}function qd(w,E,N){for(var V=N.db.objectStoreNames,W=0;W<V.length;++W){var ee=V[W],pe=N.objectStore(ee);w._hasGetAll="getAll"in pe;for(var be=0;be<pe.indexNames.length;++be){var Ee=pe.indexNames[be],ze=pe.index(Ee).keyPath,je=typeof ze=="string"?ze:"["+k(ze).join("+")+"]";!E[ee]||(ze=E[ee].idxByName[je])&&(ze.name=Ee,delete E[ee].idxByName[je],E[ee].idxByName[Ee]=ze)}}typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&a.WorkerGlobalScope&&a instanceof a.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(w._hasGetAll=!1)}function L0(w){return w.split(",").map(function(E,N){var ee=E.split(":"),V=(W=ee[1])===null||W===void 0?void 0:W.trim(),W=(E=ee[0].trim()).replace(/([&*]|\+\+)/g,""),ee=/^\[/.test(W)?W.match(/^\[(.*)\]$/)[1].split("+"):W;return ng(W,ee||null,/\&/.test(E),/\*/.test(E),/\+\+/.test(E),i(ee),N===0,V)})}var V$=(hi.prototype._createTableSchema=og,hi.prototype._parseIndexSyntax=L0,hi.prototype._parseStoresSpec=function(w,E){var N=this;l(w).forEach(function(V){if(w[V]!==null){var W=N._parseIndexSyntax(w[V]),ee=W.shift();if(!ee)throw new oe.Schema("Invalid schema for table "+V+": "+w[V]);if(ee.unique=!0,ee.multi)throw new oe.Schema("Primary key cannot be multiEntry*");W.forEach(function(pe){if(pe.auto)throw new oe.Schema("Only primary key can be marked as autoIncrement (++)");if(!pe.keyPath)throw new oe.Schema("Index must have a name and cannot be an empty string")}),W=N._createTableSchema(V,ee,W),E[V]=W}})},hi.prototype.stores=function(N){var E=this.db;this._cfg.storesSource=this._cfg.storesSource?u(this._cfg.storesSource,N):N;var N=E._versions,V={},W={};return N.forEach(function(ee){u(V,ee._cfg.storesSource),W=ee._cfg.dbschema={},ee._parseStoresSpec(V,W)}),E._dbSchema=W,ag(E,[E._allTables,E,E.Transaction.prototype]),Bd(E,[E._allTables,E,E.Transaction.prototype,this._cfg.tables],l(W),W),E._storeNames=l(W),this},hi.prototype.upgrade=function(w){return this._cfg.contentUpgrade=Ke(this._cfg.contentUpgrade||U,w),this},hi);function hi(){}function ig(w,E){var N=w._dbNamesDB;return N||(N=w._dbNamesDB=new Ga(xt,{addons:[],indexedDB:w,IDBKeyRange:E})).version(1).stores({dbnames:"name"}),N.table("dbnames")}function ug(w){return w&&typeof w.databases=="function"}function cg(w){return Ir(function(){return ye.letThrough=!0,w()})}function dg(w){return!("from"in w)}var Do=function(w,E){if(!this){var N=new Do;return w&&"d"in w&&u(N,w),N}u(this,arguments.length?{d:1,from:w,to:1<arguments.length?E:w}:{d:0})};function Mu(w,E,N){var V=_n(E,N);if(!isNaN(V)){if(0<V)throw RangeError();if(dg(w))return u(w,{from:E,to:N,d:1});var W=w.l,V=w.r;if(_n(N,w.from)<0)return W?Mu(W,E,N):w.l={from:E,to:N,d:1,l:null,r:null},V0(w);if(0<_n(E,w.to))return V?Mu(V,E,N):w.r={from:E,to:N,d:1,l:null,r:null},V0(w);_n(E,w.from)<0&&(w.from=E,w.l=null,w.d=V?V.d+1:1),0<_n(N,w.to)&&(w.to=N,w.r=null,w.d=w.l?w.l.d+1:1),N=!w.r,W&&!w.l&&Au(w,W),V&&N&&Au(w,V)}}function Au(w,E){dg(E)||(function N(V,Ee){var ee=Ee.from,pe=Ee.to,be=Ee.l,Ee=Ee.r;Mu(V,ee,pe),be&&N(V,be),Ee&&N(V,Ee)})(w,E)}function B0(w,E){var N=Kd(E),V=N.next();if(V.done)return!1;for(var W=V.value,ee=Kd(w),pe=ee.next(W.from),be=pe.value;!V.done&&!pe.done;){if(_n(be.from,W.to)<=0&&0<=_n(be.to,W.from))return!0;_n(W.from,be.from)<0?W=(V=N.next(be.from)).value:be=(pe=ee.next(W.from)).value}return!1}function Kd(w){var E=dg(w)?null:{s:0,n:w};return{next:function(N){for(var V=0<arguments.length;E;)switch(E.s){case 0:if(E.s=1,V)for(;E.n.l&&_n(N,E.n.from)<0;)E={up:E,n:E.n.l,s:1};else for(;E.n.l;)E={up:E,n:E.n.l,s:1};case 1:if(E.s=2,!V||_n(N,E.n.to)<=0)return{value:E.n,done:!1};case 2:if(E.n.r){E.s=3,E={up:E,n:E.n.r,s:0};continue}case 3:E=E.up}return{done:!0}}}}function V0(w){var E,N,V=(((E=w.r)===null||E===void 0?void 0:E.d)||0)-(((N=w.l)===null||N===void 0?void 0:N.d)||0),W=1<V?"r":V<-1?"l":"";W&&(E=W=="r"?"l":"r",N=o({},w),V=w[W],w.from=V.from,w.to=V.to,w[W]=V[W],N[W]=V[E],(w[E]=N).d=F0(N)),w.d=F0(w)}function F0(N){var E=N.r,N=N.l;return(E?N?Math.max(E.d,N.d):E.d:N?N.d:0)+1}function Hd(w,E){return l(E).forEach(function(N){w[N]?Au(w[N],E[N]):w[N]=(function V(W){var ee,pe,be={};for(ee in W)f(W,ee)&&(pe=W[ee],be[ee]=!pe||typeof pe!="object"||O.has(pe.constructor)?pe:V(pe));return be})(E[N])}),w}function fg(w,E){return w.all||E.all||Object.keys(w).some(function(N){return E[N]&&B0(E[N],w[N])})}p(Do.prototype,((jr={add:function(w){return Au(this,w),this},addKey:function(w){return Mu(this,w,w),this},addKeys:function(w){var E=this;return w.forEach(function(N){return Mu(E,N,N)}),this},hasKey:function(w){var E=Kd(this).next(w).value;return E&&_n(E.from,w)<=0&&0<=_n(E.to,w)}})[$]=function(){return Kd(this)},jr));var ms={},hg={},pg=!1;function Wd(w){Hd(hg,w),pg||(pg=!0,setTimeout(function(){pg=!1,gg(hg,!(hg={}))},0))}function gg(w,E){E===void 0&&(E=!1);var N=new Set;if(w.all)for(var V=0,W=Object.values(ms);V<W.length;V++)q0(pe=W[V],w,N,E);else for(var ee in w){var pe,be=/^idb\:\/\/(.*)\/(.*)\//.exec(ee);be&&(ee=be[1],be=be[2],(pe=ms["idb://".concat(ee,"/").concat(be)])&&q0(pe,w,N,E))}N.forEach(function(Ee){return Ee()})}function q0(w,E,N,V){for(var W=[],ee=0,pe=Object.entries(w.queries.query);ee<pe.length;ee++){for(var be=pe[ee],Ee=be[0],ze=[],je=0,Se=be[1];je<Se.length;je++){var Ve=Se[je];fg(E,Ve.obsSet)?Ve.subscribers.forEach(function(Le){return N.add(Le)}):V&&ze.push(Ve)}V&&W.push([Ee,ze])}if(V)for(var Te=0,Me=W;Te<Me.length;Te++){var Ae=Me[Te],Ee=Ae[0],ze=Ae[1];w.queries.query[Ee]=ze}}function F$(w){var E=w._state,N=w._deps.indexedDB;if(E.isBeingOpened||w.idbdb)return E.dbReadyPromise.then(function(){return E.dbOpenError?bn(E.dbOpenError):w});E.isBeingOpened=!0,E.dbOpenError=null,E.openComplete=!1;var V=E.openCanceller,W=Math.round(10*w.verno),ee=!1;function pe(){if(E.openCanceller!==V)throw new oe.DatabaseClosed("db.open() was cancelled")}function be(){return new Fe(function(Ve,Te){if(pe(),!N)throw new oe.MissingAPI;var Me=w.name,Ae=E.autoSchema||!W?N.open(Me):N.open(Me,W);if(!Ae)throw new oe.MissingAPI;Ae.onerror=ba(Te),Ae.onblocked=$n(w._fireOnBlocked),Ae.onupgradeneeded=$n(function(Le){var He;je=Ae.transaction,E.autoSchema&&!w._options.allowEmptyDB?(Ae.onerror=Ou,je.abort(),Ae.result.close(),(He=N.deleteDatabase(Me)).onsuccess=He.onerror=$n(function(){Te(new oe.NoSuchDatabase("Database ".concat(Me," doesnt exist")))})):(je.onerror=ba(Te),Le=Le.oldVersion>Math.pow(2,62)?0:Le.oldVersion,Se=Le<1,w.idbdb=Ae.result,ee&&B$(w,je),L$(w,Le/10,je,Te))},Te),Ae.onsuccess=$n(function(){je=null;var Le,He,Xe,nt,st,Et=w.idbdb=Ae.result,It=k(Et.objectStoreNames);if(0<It.length)try{var Ct=Et.transaction((nt=It).length===1?nt[0]:nt,"readonly");if(E.autoSchema)He=Et,Xe=Ct,(Le=w).verno=He.version/10,Xe=Le._dbSchema=Fd(0,He,Xe),Le._storeNames=k(He.objectStoreNames,0),Bd(Le,[Le._allTables],l(Xe),Xe);else if(qd(w,w._dbSchema,Ct),((st=lg(Fd(0,(st=w).idbdb,Ct),st._dbSchema)).add.length||st.change.some(function(zt){return zt.add.length||zt.change.length}))&&!ee)return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."),Et.close(),W=Et.version+1,ee=!0,Ve(be());Ld(w,Ct)}catch{}Ge.push(w),Et.onversionchange=$n(function(zt){E.vcFired=!0,w.on("versionchange").fire(zt)}),Et.onclose=$n(function(){w.close({disableAutoOpen:!1})}),Se&&(st=w._deps,Ct=Me,Et=st.indexedDB,st=st.IDBKeyRange,ug(Et)||Ct===xt||ig(Et,st).put({name:Ct}).catch(U)),Ve()},Te)}).catch(function(Ve){switch(Ve?.name){case"UnknownError":if(0<E.PR1398_maxLoop)return E.PR1398_maxLoop--,console.warn("Dexie: Workaround for Chrome UnknownError on open()"),be();break;case"VersionError":if(0<W)return W=0,be()}return Fe.reject(Ve)})}var Ee,ze=E.dbReadyResolve,je=null,Se=!1;return Fe.race([V,(typeof navigator>"u"?Fe.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(Ve){function Te(){return indexedDB.databases().finally(Ve)}Ee=setInterval(Te,100),Te()}).finally(function(){return clearInterval(Ee)}):Promise.resolve()).then(be)]).then(function(){return pe(),E.onReadyBeingFired=[],Fe.resolve(cg(function(){return w.on.ready.fire(w.vip)})).then(function Ve(){if(0<E.onReadyBeingFired.length){var Te=E.onReadyBeingFired.reduce(Ke,U);return E.onReadyBeingFired=[],Fe.resolve(cg(function(){return Te(w.vip)})).then(Ve)}})}).finally(function(){E.openCanceller===V&&(E.onReadyBeingFired=null,E.isBeingOpened=!1)}).catch(function(Ve){E.dbOpenError=Ve;try{je&&je.abort()}catch{}return V===E.openCanceller&&w._close(),bn(Ve)}).finally(function(){E.openComplete=!0,ze()}).then(function(){var Ve;return Se&&(Ve={},w.tables.forEach(function(Te){Te.schema.indexes.forEach(function(Me){Me.name&&(Ve["idb://".concat(w.name,"/").concat(Te.name,"/").concat(Me.name)]=new Do(-1/0,[[[]]]))}),Ve["idb://".concat(w.name,"/").concat(Te.name,"/")]=Ve["idb://".concat(w.name,"/").concat(Te.name,"/:dels")]=new Do(-1/0,[[[]]])}),jl($u).fire(Ve),gg(Ve,!0)),w})}function vg(w){function E(ee){return w.next(ee)}var N=W(E),V=W(function(ee){return w.throw(ee)});function W(ee){return function(Ee){var be=ee(Ee),Ee=be.value;return be.done?Ee:Ee&&typeof Ee.then=="function"?Ee.then(N,V):i(Ee)?Promise.all(Ee).then(N,V):N(Ee)}}return W(E)()}function Ud(w,E,N){for(var V=i(w)?w.slice():[w],W=0;W<N;++W)V.push(E);return V}var q$={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:function(w){return o(o({},w),{table:function(E){var N=w.table(E),V=N.schema,W={},ee=[];function pe(Se,Ve,Te){var Me=Iu(Se),Ae=W[Me]=W[Me]||[],Le=Se==null?0:typeof Se=="string"?1:Se.length,He=0<Ve,He=o(o({},Te),{name:He?"".concat(Me,"(virtual-from:").concat(Te.name,")"):Te.name,lowLevelIndex:Te,isVirtual:He,keyTail:Ve,keyLength:Le,extractKey:rg(Se),unique:!He&&Te.unique});return Ae.push(He),He.isPrimaryKey||ee.push(He),1<Le&&pe(Le===2?Se[0]:Se.slice(0,Le-1),Ve+1,Te),Ae.sort(function(Xe,nt){return Xe.keyTail-nt.keyTail}),He}E=pe(V.primaryKey.keyPath,0,V.primaryKey),W[":id"]=[E];for(var be=0,Ee=V.indexes;be<Ee.length;be++){var ze=Ee[be];pe(ze.keyPath,0,ze)}function je(Se){var Ve,Te=Se.query.index;return Te.isVirtual?o(o({},Se),{query:{index:Te.lowLevelIndex,range:(Ve=Se.query.range,Te=Te.keyTail,{type:Ve.type===1?2:Ve.type,lower:Ud(Ve.lower,Ve.lowerOpen?w.MAX_KEY:w.MIN_KEY,Te),lowerOpen:!0,upper:Ud(Ve.upper,Ve.upperOpen?w.MIN_KEY:w.MAX_KEY,Te),upperOpen:!0})}}):Se}return o(o({},N),{schema:o(o({},V),{primaryKey:E,indexes:ee,getIndexByKeyPath:function(Se){return(Se=W[Iu(Se)])&&Se[0]}}),count:function(Se){return N.count(je(Se))},query:function(Se){return N.query(je(Se))},openCursor:function(Se){var Ve=Se.query.index,Te=Ve.keyTail,Me=Ve.isVirtual,Ae=Ve.keyLength;return Me?N.openCursor(je(Se)).then(function(He){return He&&Le(He)}):N.openCursor(Se);function Le(He){return Object.create(He,{continue:{value:function(Xe){Xe!=null?He.continue(Ud(Xe,Se.reverse?w.MAX_KEY:w.MIN_KEY,Te)):Se.unique?He.continue(He.key.slice(0,Ae).concat(Se.reverse?w.MIN_KEY:w.MAX_KEY,Te)):He.continue()}},continuePrimaryKey:{value:function(Xe,nt){He.continuePrimaryKey(Ud(Xe,w.MAX_KEY,Te),nt)}},primaryKey:{get:function(){return He.primaryKey}},key:{get:function(){var Xe=He.key;return Ae===1?Xe[0]:Xe.slice(0,Ae)}},value:{get:function(){return He.value}}})}}})}})}};function mg(w,E,N,V){return N=N||{},V=V||"",l(w).forEach(function(W){var ee,pe,be;f(E,W)?(ee=w[W],pe=E[W],typeof ee=="object"&&typeof pe=="object"&&ee&&pe?(be=Z(ee))!==Z(pe)?N[V+W]=E[W]:be==="Object"?mg(ee,pe,N,V+W+"."):ee!==pe&&(N[V+W]=E[W]):ee!==pe&&(N[V+W]=E[W])):N[V+W]=void 0}),l(E).forEach(function(W){f(w,W)||(N[V+W]=E[W])}),N}function yg(w,E){return E.type==="delete"?E.keys:E.keys||E.values.map(w.extractKey)}var K$={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(w){return o(o({},w),{table:function(E){var N=w.table(E),V=N.schema.primaryKey;return o(o({},N),{mutate:function(W){var ee=ye.trans,pe=ee.table(E).hook,be=pe.deleting,Ee=pe.creating,ze=pe.updating;switch(W.type){case"add":if(Ee.fire===U)break;return ee._promise("readwrite",function(){return je(W)},!0);case"put":if(Ee.fire===U&&ze.fire===U)break;return ee._promise("readwrite",function(){return je(W)},!0);case"delete":if(be.fire===U)break;return ee._promise("readwrite",function(){return je(W)},!0);case"deleteRange":if(be.fire===U)break;return ee._promise("readwrite",function(){return(function Se(Ve,Te,Me){return N.query({trans:Ve,values:!1,query:{index:V,range:Te},limit:Me}).then(function(Ae){var Le=Ae.result;return je({type:"delete",keys:Le,trans:Ve}).then(function(He){return 0<He.numFailures?Promise.reject(He.failures[0]):Le.length<Me?{failures:[],numFailures:0,lastResult:void 0}:Se(Ve,o(o({},Te),{lower:Le[Le.length-1],lowerOpen:!0}),Me)})})})(W.trans,W.range,1e4)},!0)}return N.mutate(W);function je(Se){var Ve,Te,Me,Ae=ye.trans,Le=Se.keys||yg(V,Se);if(!Le)throw new Error("Keys missing");return(Se=Se.type==="add"||Se.type==="put"?o(o({},Se),{keys:Le}):o({},Se)).type!=="delete"&&(Se.values=r([],Se.values)),Se.keys&&(Se.keys=r([],Se.keys)),Ve=N,Me=Le,((Te=Se).type==="add"?Promise.resolve([]):Ve.getMany({trans:Te.trans,keys:Me,cache:"immutable"})).then(function(He){var Xe=Le.map(function(nt,st){var Et,It,Ct,zt=He[st],jt={onerror:null,onsuccess:null};return Se.type==="delete"?be.fire.call(jt,nt,zt,Ae):Se.type==="add"||zt===void 0?(Et=Ee.fire.call(jt,nt,Se.values[st],Ae),nt==null&&Et!=null&&(Se.keys[st]=nt=Et,V.outbound||z(Se.values[st],V.keyPath,nt))):(Et=mg(zt,Se.values[st]),(It=ze.fire.call(jt,Et,nt,zt,Ae))&&(Ct=Se.values[st],Object.keys(It).forEach(function($t){f(Ct,$t)?Ct[$t]=It[$t]:z(Ct,$t,It[$t])}))),jt});return N.mutate(Se).then(function(nt){for(var st=nt.failures,Et=nt.results,It=nt.numFailures,nt=nt.lastResult,Ct=0;Ct<Le.length;++Ct){var zt=(Et||Le)[Ct],jt=Xe[Ct];zt==null?jt.onerror&&jt.onerror(st[Ct]):jt.onsuccess&&jt.onsuccess(Se.type==="put"&&He[Ct]?Se.values[Ct]:zt)}return{failures:st,results:Et,numFailures:It,lastResult:nt}}).catch(function(nt){return Xe.forEach(function(st){return st.onerror&&st.onerror(nt)}),Promise.reject(nt)})})}}})}})}};function K0(w,E,N){try{if(!E||E.keys.length<w.length)return null;for(var V=[],W=0,ee=0;W<E.keys.length&&ee<w.length;++W)_n(E.keys[W],w[ee])===0&&(V.push(N?K(E.values[W]):E.values[W]),++ee);return V.length===w.length?V:null}catch{return null}}var H$={stack:"dbcore",level:-1,create:function(w){return{table:function(E){var N=w.table(E);return o(o({},N),{getMany:function(V){if(!V.cache)return N.getMany(V);var W=K0(V.keys,V.trans._cache,V.cache==="clone");return W?Fe.resolve(W):N.getMany(V).then(function(ee){return V.trans._cache={keys:V.keys,values:V.cache==="clone"?K(ee):ee},ee})},mutate:function(V){return V.type!=="add"&&(V.trans._cache=null),N.mutate(V)}})}}}};function H0(w,E){return w.trans.mode==="readonly"&&!!w.subscr&&!w.trans.explicit&&w.trans.db._options.cache!=="disabled"&&!E.schema.primaryKey.outbound}function W0(w,E){switch(w){case"query":return E.values&&!E.unique;case"get":case"getMany":case"count":case"openCursor":return!1}}var W$={stack:"dbcore",level:0,name:"Observability",create:function(w){var E=w.schema.name,N=new Do(w.MIN_KEY,w.MAX_KEY);return o(o({},w),{transaction:function(V,W,ee){if(ye.subscr&&W!=="readonly")throw new oe.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(ye.querier));return w.transaction(V,W,ee)},table:function(V){var W=w.table(V),ee=W.schema,pe=ee.primaryKey,Se=ee.indexes,be=pe.extractKey,Ee=pe.outbound,ze=pe.autoIncrement&&Se.filter(function(Te){return Te.compound&&Te.keyPath.includes(pe.keyPath)}),je=o(o({},W),{mutate:function(Te){function Me($t){return $t="idb://".concat(E,"/").concat(V,"/").concat($t),nt[$t]||(nt[$t]=new Do)}var Ae,Le,He,Xe=Te.trans,nt=Te.mutatedParts||(Te.mutatedParts={}),st=Me(""),Et=Me(":dels"),It=Te.type,jt=Te.type==="deleteRange"?[Te.range]:Te.type==="delete"?[Te.keys]:Te.values.length<50?[yg(pe,Te).filter(function($t){return $t}),Te.values]:[],Ct=jt[0],zt=jt[1],jt=Te.trans._cache;return i(Ct)?(st.addKeys(Ct),(jt=It==="delete"||Ct.length===zt.length?K0(Ct,jt):null)||Et.addKeys(Ct),(jt||zt)&&(Ae=Me,Le=jt,He=zt,ee.indexes.forEach(function($t){var Ht=Ae($t.name||"");function pn(Sn){return Sn!=null?$t.extractKey(Sn):null}function vn(Sn){return $t.multiEntry&&i(Sn)?Sn.forEach(function(wr){return Ht.addKey(wr)}):Ht.addKey(Sn)}(Le||He).forEach(function(Sn,Lo){var dn=Le&&pn(Le[Lo]),Lo=He&&pn(He[Lo]);_n(dn,Lo)!==0&&(dn!=null&&vn(dn),Lo!=null&&vn(Lo))})}))):Ct?(zt={from:(zt=Ct.lower)!==null&&zt!==void 0?zt:w.MIN_KEY,to:(zt=Ct.upper)!==null&&zt!==void 0?zt:w.MAX_KEY},Et.add(zt),st.add(zt)):(st.add(N),Et.add(N),ee.indexes.forEach(function($t){return Me($t.name).add(N)})),W.mutate(Te).then(function($t){return!Ct||Te.type!=="add"&&Te.type!=="put"||(st.addKeys($t.results),ze&&ze.forEach(function(Ht){for(var pn=Te.values.map(function(dn){return Ht.extractKey(dn)}),vn=Ht.keyPath.findIndex(function(dn){return dn===pe.keyPath}),Sn=0,wr=$t.results.length;Sn<wr;++Sn)pn[Sn][vn]=$t.results[Sn];Me(Ht.name).addKeys(pn)})),Xe.mutatedParts=Hd(Xe.mutatedParts||{},nt),$t})}}),Se=function(Me){var Ae=Me.query,Me=Ae.index,Ae=Ae.range;return[Me,new Do((Me=Ae.lower)!==null&&Me!==void 0?Me:w.MIN_KEY,(Ae=Ae.upper)!==null&&Ae!==void 0?Ae:w.MAX_KEY)]},Ve={get:function(Te){return[pe,new Do(Te.key)]},getMany:function(Te){return[pe,new Do().addKeys(Te.keys)]},count:Se,query:Se,openCursor:Se};return l(Ve).forEach(function(Te){je[Te]=function(Me){var Ae=ye.subscr,Le=!!Ae,He=H0(ye,W)&&W0(Te,Me)?Me.obsSet={}:Ae;if(Le){var Xe=function(zt){return zt="idb://".concat(E,"/").concat(V,"/").concat(zt),He[zt]||(He[zt]=new Do)},nt=Xe(""),st=Xe(":dels"),Ae=Ve[Te](Me),Le=Ae[0],Ae=Ae[1];if((Te==="query"&&Le.isPrimaryKey&&!Me.values?st:Xe(Le.name||"")).add(Ae),!Le.isPrimaryKey){if(Te!=="count"){var Et=Te==="query"&&Ee&&Me.values&&W.query(o(o({},Me),{values:!1}));return W[Te].apply(this,arguments).then(function(zt){if(Te==="query"){if(Ee&&Me.values)return Et.then(function(pn){return pn=pn.result,nt.addKeys(pn),zt});var jt=Me.values?zt.result.map(be):zt.result;(Me.values?nt:st).addKeys(jt)}else if(Te==="openCursor"){var $t=zt,Ht=Me.values;return $t&&Object.create($t,{key:{get:function(){return st.addKey($t.primaryKey),$t.key}},primaryKey:{get:function(){var pn=$t.primaryKey;return st.addKey(pn),pn}},value:{get:function(){return Ht&&nt.addKey($t.primaryKey),$t.value}}})}return zt})}st.add(N)}}return W[Te].apply(this,arguments)}}),je}})}};function U0(w,E,N){if(N.numFailures===0)return E;if(E.type==="deleteRange")return null;var V=E.keys?E.keys.length:"values"in E&&E.values?E.values.length:1;return N.numFailures===V?null:(E=o({},E),i(E.keys)&&(E.keys=E.keys.filter(function(W,ee){return!(ee in N.failures)})),"values"in E&&i(E.values)&&(E.values=E.values.filter(function(W,ee){return!(ee in N.failures)})),E)}function bg(w,E){return N=w,((V=E).lower===void 0||(V.lowerOpen?0<_n(N,V.lower):0<=_n(N,V.lower)))&&(w=w,(E=E).upper===void 0||(E.upperOpen?_n(w,E.upper)<0:_n(w,E.upper)<=0));var N,V}function Y0(w,E,Ve,V,W,ee){if(!Ve||Ve.length===0)return w;var pe=E.query.index,be=pe.multiEntry,Ee=E.query.range,ze=V.schema.primaryKey.extractKey,je=pe.extractKey,Se=(pe.lowLevelIndex||pe).extractKey,Ve=Ve.reduce(function(Te,Me){var Ae=Te,Le=[];if(Me.type==="add"||Me.type==="put")for(var He=new Do,Xe=Me.values.length-1;0<=Xe;--Xe){var nt,st=Me.values[Xe],Et=ze(st);He.hasKey(Et)||(nt=je(st),(be&&i(nt)?nt.some(function($t){return bg($t,Ee)}):bg(nt,Ee))&&(He.addKey(Et),Le.push(st)))}switch(Me.type){case"add":var It=new Do().addKeys(E.values?Te.map(function(Ht){return ze(Ht)}):Te),Ae=Te.concat(E.values?Le.filter(function(Ht){return Ht=ze(Ht),!It.hasKey(Ht)&&(It.addKey(Ht),!0)}):Le.map(function(Ht){return ze(Ht)}).filter(function(Ht){return!It.hasKey(Ht)&&(It.addKey(Ht),!0)}));break;case"put":var Ct=new Do().addKeys(Me.values.map(function(Ht){return ze(Ht)}));Ae=Te.filter(function(Ht){return!Ct.hasKey(E.values?ze(Ht):Ht)}).concat(E.values?Le:Le.map(function(Ht){return ze(Ht)}));break;case"delete":var zt=new Do().addKeys(Me.keys);Ae=Te.filter(function(Ht){return!zt.hasKey(E.values?ze(Ht):Ht)});break;case"deleteRange":var jt=Me.range;Ae=Te.filter(function(Ht){return!bg(ze(Ht),jt)})}return Ae},w);return Ve===w?w:(Ve.sort(function(Te,Me){return _n(Se(Te),Se(Me))||_n(ze(Te),ze(Me))}),E.limit&&E.limit<1/0&&(Ve.length>E.limit?Ve.length=E.limit:w.length===E.limit&&Ve.length<E.limit&&(W.dirty=!0)),ee?Object.freeze(Ve):Ve)}function G0(w,E){return _n(w.lower,E.lower)===0&&_n(w.upper,E.upper)===0&&!!w.lowerOpen==!!E.lowerOpen&&!!w.upperOpen==!!E.upperOpen}function U$(w,E){return(function(N,V,W,ee){if(N===void 0)return V!==void 0?-1:0;if(V===void 0)return 1;if((V=_n(N,V))===0){if(W&&ee)return 0;if(W)return 1;if(ee)return-1}return V})(w.lower,E.lower,w.lowerOpen,E.lowerOpen)<=0&&0<=(function(N,V,W,ee){if(N===void 0)return V!==void 0?1:0;if(V===void 0)return-1;if((V=_n(N,V))===0){if(W&&ee)return 0;if(W)return-1;if(ee)return 1}return V})(w.upper,E.upper,w.upperOpen,E.upperOpen)}function Y$(w,E,N,V){w.subscribers.add(N),V.addEventListener("abort",function(){var W,ee;w.subscribers.delete(N),w.subscribers.size===0&&(W=w,ee=E,setTimeout(function(){W.subscribers.size===0&&D(ee,W)},3e3))})}var G$={stack:"dbcore",level:0,name:"Cache",create:function(w){var E=w.schema.name;return o(o({},w),{transaction:function(N,V,W){var ee,pe,be=w.transaction(N,V,W);return V==="readwrite"&&(pe=(ee=new AbortController).signal,W=function(Ee){return function(){if(ee.abort(),V==="readwrite"){for(var ze=new Set,je=0,Se=N;je<Se.length;je++){var Ve=Se[je],Te=ms["idb://".concat(E,"/").concat(Ve)];if(Te){var Me=w.table(Ve),Ae=Te.optimisticOps.filter(function(Ht){return Ht.trans===be});if(be._explicit&&Ee&&be.mutatedParts)for(var Le=0,He=Object.values(Te.queries.query);Le<He.length;Le++)for(var Xe=0,nt=(It=He[Le]).slice();Xe<nt.length;Xe++)fg((Ct=nt[Xe]).obsSet,be.mutatedParts)&&(D(It,Ct),Ct.subscribers.forEach(function(Ht){return ze.add(Ht)}));else if(0<Ae.length){Te.optimisticOps=Te.optimisticOps.filter(function(Ht){return Ht.trans!==be});for(var st=0,Et=Object.values(Te.queries.query);st<Et.length;st++)for(var It,Ct,zt,jt=0,$t=(It=Et[st]).slice();jt<$t.length;jt++)(Ct=$t[jt]).res!=null&&be.mutatedParts&&(Ee&&!Ct.dirty?(zt=Object.isFrozen(Ct.res),zt=Y0(Ct.res,Ct.req,Ae,Me,Ct,zt),Ct.dirty?(D(It,Ct),Ct.subscribers.forEach(function(Ht){return ze.add(Ht)})):zt!==Ct.res&&(Ct.res=zt,Ct.promise=Fe.resolve({result:zt}))):(Ct.dirty&&D(It,Ct),Ct.subscribers.forEach(function(Ht){return ze.add(Ht)})))}}}ze.forEach(function(Ht){return Ht()})}}},be.addEventListener("abort",W(!1),{signal:pe}),be.addEventListener("error",W(!1),{signal:pe}),be.addEventListener("complete",W(!0),{signal:pe})),be},table:function(N){var V=w.table(N),W=V.schema.primaryKey;return o(o({},V),{mutate:function(ee){var pe=ye.trans;if(W.outbound||pe.db._options.cache==="disabled"||pe.explicit||pe.idbtrans.mode!=="readwrite")return V.mutate(ee);var be=ms["idb://".concat(E,"/").concat(N)];return be?(pe=V.mutate(ee),ee.type!=="add"&&ee.type!=="put"||!(50<=ee.values.length||yg(W,ee).some(function(Ee){return Ee==null}))?(be.optimisticOps.push(ee),ee.mutatedParts&&Wd(ee.mutatedParts),pe.then(function(Ee){0<Ee.numFailures&&(D(be.optimisticOps,ee),(Ee=U0(0,ee,Ee))&&be.optimisticOps.push(Ee),ee.mutatedParts&&Wd(ee.mutatedParts))}),pe.catch(function(){D(be.optimisticOps,ee),ee.mutatedParts&&Wd(ee.mutatedParts)})):pe.then(function(Ee){var ze=U0(0,o(o({},ee),{values:ee.values.map(function(je,Se){var Ve;return Ee.failures[Se]?je:(je=(Ve=W.keyPath)!==null&&Ve!==void 0&&Ve.includes(".")?K(je):o({},je),z(je,W.keyPath,Ee.results[Se]),je)})}),Ee);be.optimisticOps.push(ze),queueMicrotask(function(){return ee.mutatedParts&&Wd(ee.mutatedParts)})}),pe):V.mutate(ee)},query:function(ee){if(!H0(ye,V)||!W0("query",ee))return V.query(ee);var pe=((ze=ye.trans)===null||ze===void 0?void 0:ze.db._options.cache)==="immutable",Se=ye,be=Se.requery,Ee=Se.signal,ze=(function(Me,Ae,Le,He){var Xe=ms["idb://".concat(Me,"/").concat(Ae)];if(!Xe)return[];if(!(Ae=Xe.queries[Le]))return[null,!1,Xe,null];var nt=Ae[(He.query?He.query.index.name:null)||""];if(!nt)return[null,!1,Xe,null];switch(Le){case"query":var st=nt.find(function(Et){return Et.req.limit===He.limit&&Et.req.values===He.values&&G0(Et.req.query.range,He.query.range)});return st?[st,!0,Xe,nt]:[nt.find(function(Et){return("limit"in Et.req?Et.req.limit:1/0)>=He.limit&&(!He.values||Et.req.values)&&U$(Et.req.query.range,He.query.range)}),!1,Xe,nt];case"count":return st=nt.find(function(Et){return G0(Et.req.query.range,He.query.range)}),[st,!!st,Xe,nt]}})(E,N,"query",ee),je=ze[0],Se=ze[1],Ve=ze[2],Te=ze[3];return je&&Se?je.obsSet=ee.obsSet:(Se=V.query(ee).then(function(Me){var Ae=Me.result;if(je&&(je.res=Ae),pe){for(var Le=0,He=Ae.length;Le<He;++Le)Object.freeze(Ae[Le]);Object.freeze(Ae)}else Me.result=K(Ae);return Me}).catch(function(Me){return Te&&je&&D(Te,je),Promise.reject(Me)}),je={obsSet:ee.obsSet,promise:Se,subscribers:new Set,type:"query",req:ee,dirty:!1},Te?Te.push(je):(Te=[je],(Ve=Ve||(ms["idb://".concat(E,"/").concat(N)]={queries:{query:{},count:{}},objs:new Map,optimisticOps:[],unsignaledParts:{}})).queries.query[ee.query.index.name||""]=Te)),Y$(je,Te,be,Ee),je.promise.then(function(Me){return{result:Y0(Me.result,ee,Ve?.optimisticOps,V,je,pe)}})}})}})}};function Yd(w,E){return new Proxy(w,{get:function(N,V,W){return V==="db"?E:Reflect.get(N,V,W)}})}var Ga=(uo.prototype.version=function(w){if(isNaN(w)||w<.1)throw new oe.Type("Given version is not a positive number");if(w=Math.round(10*w)/10,this.idbdb||this._state.isBeingOpened)throw new oe.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,w);var E=this._versions,N=E.filter(function(V){return V._cfg.version===w})[0];return N||(N=new this.Version(w),E.push(N),E.sort(D$),N.stores({}),this._state.autoSchema=!1,N)},uo.prototype._whenReady=function(w){var E=this;return this.idbdb&&(this._state.openComplete||ye.letThrough||this._vip)?w():new Fe(function(N,V){if(E._state.openComplete)return V(new oe.DatabaseClosed(E._state.dbOpenError));if(!E._state.isBeingOpened){if(!E._state.autoOpen)return void V(new oe.DatabaseClosed);E.open().catch(U)}E._state.dbReadyPromise.then(N,V)}).then(w)},uo.prototype.use=function(w){var E=w.stack,N=w.create,V=w.level,W=w.name;return W&&this.unuse({stack:E,name:W}),w=this._middlewares[E]||(this._middlewares[E]=[]),w.push({stack:E,create:N,level:V??10,name:W}),w.sort(function(ee,pe){return ee.level-pe.level}),this},uo.prototype.unuse=function(w){var E=w.stack,N=w.name,V=w.create;return E&&this._middlewares[E]&&(this._middlewares[E]=this._middlewares[E].filter(function(W){return V?W.create!==V:!!N&&W.name!==N})),this},uo.prototype.open=function(){var w=this;return yn(pt,function(){return F$(w)})},uo.prototype._close=function(){this.on.close.fire(new CustomEvent("close"));var w=this._state,E=Ge.indexOf(this);if(0<=E&&Ge.splice(E,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}w.isBeingOpened||(w.dbReadyPromise=new Fe(function(N){w.dbReadyResolve=N}),w.openCanceller=new Fe(function(N,V){w.cancelOpen=V}))},uo.prototype.close=function(N){var E=(N===void 0?{disableAutoOpen:!0}:N).disableAutoOpen,N=this._state;E?(N.isBeingOpened&&N.cancelOpen(new oe.DatabaseClosed),this._close(),N.autoOpen=!1,N.dbOpenError=new oe.DatabaseClosed):(this._close(),N.autoOpen=this._options.autoOpen||N.isBeingOpened,N.openComplete=!1,N.dbOpenError=null)},uo.prototype.delete=function(w){var E=this;w===void 0&&(w={disableAutoOpen:!0});var N=0<arguments.length&&typeof arguments[0]!="object",V=this._state;return new Fe(function(W,ee){function pe(){E.close(w);var be=E._deps.indexedDB.deleteDatabase(E.name);be.onsuccess=$n(function(){var Ee,ze,je;Ee=E._deps,ze=E.name,je=Ee.indexedDB,Ee=Ee.IDBKeyRange,ug(je)||ze===xt||ig(je,Ee).delete(ze).catch(U),W()}),be.onerror=ba(ee),be.onblocked=E._fireOnBlocked}if(N)throw new oe.InvalidArgument("Invalid closeOptions argument to db.delete()");V.isBeingOpened?V.dbReadyPromise.then(pe):pe()})},uo.prototype.backendDB=function(){return this.idbdb},uo.prototype.isOpen=function(){return this.idbdb!==null},uo.prototype.hasBeenClosed=function(){var w=this._state.dbOpenError;return w&&w.name==="DatabaseClosed"},uo.prototype.hasFailed=function(){return this._state.dbOpenError!==null},uo.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(uo.prototype,"tables",{get:function(){var w=this;return l(this._allTables).map(function(E){return w._allTables[E]})},enumerable:!1,configurable:!0}),uo.prototype.transaction=function(){var w=(function(E,N,V){var W=arguments.length;if(W<2)throw new oe.InvalidArgument("Too few arguments");for(var ee=new Array(W-1);--W;)ee[W-1]=arguments[W];return V=ee.pop(),[E,j(ee),V]}).apply(this,arguments);return this._transaction.apply(this,w)},uo.prototype._transaction=function(w,E,N){var V=this,W=ye.trans;W&&W.db===this&&w.indexOf("!")===-1||(W=null);var ee,pe,be=w.indexOf("?")!==-1;w=w.replace("!","").replace("?","");try{if(pe=E.map(function(ze){if(ze=ze instanceof V.Table?ze.name:ze,typeof ze!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return ze}),w=="r"||w===qt)ee=qt;else{if(w!="rw"&&w!=Yt)throw new oe.InvalidArgument("Invalid transaction mode: "+w);ee=Yt}if(W){if(W.mode===qt&&ee===Yt){if(!be)throw new oe.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");W=null}W&&pe.forEach(function(ze){if(W&&W.storeNames.indexOf(ze)===-1){if(!be)throw new oe.SubTransaction("Table "+ze+" not included in parent transaction.");W=null}}),be&&W&&!W.active&&(W=null)}}catch(ze){return W?W._promise(null,function(je,Se){Se(ze)}):bn(ze)}var Ee=(function ze(je,Se,Ve,Te,Me){return Fe.resolve().then(function(){var Ae=ye.transless||ye,Le=je._createTransaction(Se,Ve,je._dbSchema,Te);if(Le.explicit=!0,Ae={trans:Le,transless:Ae},Te)Le.idbtrans=Te.idbtrans;else try{Le.create(),Le.idbtrans._explicit=!0,je._state.PR1398_maxLoop=3}catch(nt){return nt.name===re.InvalidState&&je.isOpen()&&0<--je._state.PR1398_maxLoop?(console.warn("Dexie: Need to reopen db"),je.close({disableAutoOpen:!1}),je.open().then(function(){return ze(je,Se,Ve,null,Me)})):bn(nt)}var He,Xe=G(Me);return Xe&&ma(),Ae=Fe.follow(function(){var nt;(He=Me.call(Le,Le))&&(Xe?(nt=Mr.bind(null,null),He.then(nt,nt)):typeof He.next=="function"&&typeof He.throw=="function"&&(He=vg(He)))},Ae),(He&&typeof He.then=="function"?Fe.resolve(He).then(function(nt){return Le.active?nt:bn(new oe.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):Ae.then(function(){return He})).then(function(nt){return Te&&Le._resolve(),Le._completion.then(function(){return nt})}).catch(function(nt){return Le._reject(nt),bn(nt)})})}).bind(null,this,ee,pe,W,N);return W?W._promise(ee,Ee,"lock"):ye.trans?yn(ye.transless,function(){return V._whenReady(Ee)}):this._whenReady(Ee)},uo.prototype.table=function(w){if(!f(this._allTables,w))throw new oe.InvalidTable("Table ".concat(w," does not exist"));return this._allTables[w]},uo);function uo(w,E){var N=this;this._middlewares={},this.verno=0;var V=uo.dependencies;this._options=E=o({addons:uo.addons,autoOpen:!0,indexedDB:V.indexedDB,IDBKeyRange:V.IDBKeyRange,cache:"cloned"},E),this._deps={indexedDB:E.indexedDB,IDBKeyRange:E.IDBKeyRange},V=E.addons,this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var W,ee,pe,be,Ee,ze={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:U,dbReadyPromise:null,cancelOpen:U,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3,autoOpen:E.autoOpen};ze.dbReadyPromise=new Fe(function(Se){ze.dbReadyResolve=Se}),ze.openCanceller=new Fe(function(Se,Ve){ze.cancelOpen=Ve}),this._state=ze,this.name=w,this.on=zu(this,"populate","blocked","versionchange","close",{ready:[Ke,U]}),this.once=function(Se,Ve){var Te=function(){for(var Me=[],Ae=0;Ae<arguments.length;Ae++)Me[Ae]=arguments[Ae];N.on(Se).unsubscribe(Te),Ve.apply(N,Me)};return N.on(Se,Te)},this.on.ready.subscribe=C(this.on.ready.subscribe,function(Se){return function(Ve,Te){uo.vip(function(){var Me,Ae=N._state;Ae.openComplete?(Ae.dbOpenError||Fe.resolve().then(Ve),Te&&Se(Ve)):Ae.onReadyBeingFired?(Ae.onReadyBeingFired.push(Ve),Te&&Se(Ve)):(Se(Ve),Me=N,Te||Se(function Le(){Me.on.ready.unsubscribe(Ve),Me.on.ready.unsubscribe(Le)}))})}}),this.Collection=(W=this,Tu(P$.prototype,function(He,Le){this.db=W;var Te=Qo,Me=null;if(Le)try{Te=Le()}catch(Xe){Me=Xe}var Ae=He._ctx,Le=Ae.table,He=Le.hook.reading.fire;this._ctx={table:Le,index:Ae.index,isPrimKey:!Ae.index||Le.schema.primKey.keyPath&&Ae.index===Le.schema.primKey.name,range:Te,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:Me,or:Ae.or,valueMapper:He!==le?He:null}})),this.Table=(ee=this,Tu($0.prototype,function(Se,Ve,Te){this.db=ee,this._tx=Te,this.name=Se,this.schema=Ve,this.hook=ee._allTables[Se]?ee._allTables[Se].hook:zu(null,{creating:[Ce,U],reading:[me,le],updating:[$e,U],deleting:[we,U]})})),this.Transaction=(pe=this,Tu(A$.prototype,function(Se,Ve,Te,Me,Ae){var Le=this;Se!=="readonly"&&Ve.forEach(function(He){He=(He=Te[He])===null||He===void 0?void 0:He.yProps,He&&(Ve=Ve.concat(He.map(function(Xe){return Xe.updatesTable})))}),this.db=pe,this.mode=Se,this.storeNames=Ve,this.schema=Te,this.chromeTransactionDurability=Me,this.idbtrans=null,this.on=zu(this,"complete","error","abort"),this.parent=Ae||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Fe(function(He,Xe){Le._resolve=He,Le._reject=Xe}),this._completion.then(function(){Le.active=!1,Le.on.complete.fire()},function(He){var Xe=Le.active;return Le.active=!1,Le.on.error.fire(He),Le.parent?Le.parent._reject(He):Xe&&Le.idbtrans&&Le.idbtrans.abort(),bn(He)})})),this.Version=(be=this,Tu(V$.prototype,function(Se){this.db=be,this._cfg={version:Se,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}})),this.WhereClause=(Ee=this,Tu(j0.prototype,function(Se,Ve,Te){if(this.db=Ee,this._ctx={table:Se,index:Ve===":id"?null:Ve,or:Te},this._cmp=this._ascending=_n,this._descending=function(Me,Ae){return _n(Ae,Me)},this._max=function(Me,Ae){return 0<_n(Me,Ae)?Me:Ae},this._min=function(Me,Ae){return _n(Me,Ae)<0?Me:Ae},this._IDBKeyRange=Ee._deps.IDBKeyRange,!this._IDBKeyRange)throw new oe.MissingAPI})),this.on("versionchange",function(Se){0<Se.newVersion?console.warn("Another connection wants to upgrade database '".concat(N.name,"'. Closing db now to resume the upgrade.")):console.warn("Another connection wants to delete database '".concat(N.name,"'. Closing db now to resume the delete request.")),N.close({disableAutoOpen:!1})}),this.on("blocked",function(Se){!Se.newVersion||Se.newVersion<Se.oldVersion?console.warn("Dexie.delete('".concat(N.name,"') was blocked")):console.warn("Upgrade '".concat(N.name,"' blocked by other connection holding version ").concat(Se.oldVersion/10))}),this._maxKey=Pu(E.IDBKeyRange),this._createTransaction=function(Se,Ve,Te,Me){return new N.Transaction(Se,Ve,Te,N._options.chromeTransactionDurability,Me)},this._fireOnBlocked=function(Se){N.on("blocked").fire(Se),Ge.filter(function(Ve){return Ve.name===N.name&&Ve!==N&&!Ve._state.vcFired}).map(function(Ve){return Ve.on("versionchange").fire(Se)})},this.use(H$),this.use(G$),this.use(W$),this.use(q$),this.use(K$);var je=new Proxy(this,{get:function(Se,Ve,Te){if(Ve==="_vip")return!0;if(Ve==="table")return function(Ae){return Yd(N.table(Ae),je)};var Me=Reflect.get(Se,Ve,Te);return Me instanceof $0?Yd(Me,je):Ve==="tables"?Me.map(function(Ae){return Yd(Ae,je)}):Ve==="_createTransaction"?function(){return Yd(Me.apply(this,arguments),je)}:Me}});this.vip=je,V.forEach(function(Se){return Se(N)})}var Gd,jr=typeof Symbol<"u"&&"observable"in Symbol?Symbol.observable:"@@observable",X$=(wg.prototype.subscribe=function(w,E,N){return this._subscribe(w&&typeof w!="function"?w:{next:w,error:E,complete:N})},wg.prototype[jr]=function(){return this},wg);function wg(w){this._subscribe=w}try{Gd={indexedDB:a.indexedDB||a.mozIndexedDB||a.webkitIndexedDB||a.msIndexedDB,IDBKeyRange:a.IDBKeyRange||a.webkitIDBKeyRange}}catch{Gd={indexedDB:null,IDBKeyRange:null}}function X0(w){var E,N=!1,V=new X$(function(W){var ee=G(w),pe,be=!1,Ee={},ze={},je={get closed(){return be},unsubscribe:function(){be||(be=!0,pe&&pe.abort(),Se&&jl.storagemutated.unsubscribe(Te))}};W.start&&W.start(je);var Se=!1,Ve=function(){return ho(Me)},Te=function(Ae){Hd(Ee,Ae),fg(ze,Ee)&&Ve()},Me=function(){var Ae,Le,He;!be&&Gd.indexedDB&&(Ee={},Ae={},pe&&pe.abort(),pe=new AbortController,He=(function(Xe){var nt=Tn();try{ee&&ma();var st=Ir(w,Xe);return st=ee?st.finally(Mr):st}finally{nt&&vo()}})(Le={subscr:Ae,signal:pe.signal,requery:Ve,querier:w,trans:null}),Promise.resolve(He).then(function(Xe){N=!0,E=Xe,be||Le.signal.aborted||(Ee={},(function(nt){for(var st in nt)if(f(nt,st))return;return 1})(ze=Ae)||Se||(jl($u,Te),Se=!0),ho(function(){return!be&&W.next&&W.next(Xe)}))},function(Xe){N=!1,["DatabaseClosedError","AbortError"].includes(Xe?.name)||be||ho(function(){be||W.error&&W.error(Xe)})}))};return setTimeout(Ve,0),je});return V.hasValue=function(){return N},V.getValue=function(){return E},V}var ys=Ga;function Cg(w){var E=Nl;try{Nl=!0,jl.storagemutated.fire(w),gg(w,!0)}finally{Nl=E}}p(ys,o(o({},de),{delete:function(w){return new ys(w,{addons:[]}).delete()},exists:function(w){return new ys(w,{addons:[]}).open().then(function(E){return E.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(w){try{return E=ys.dependencies,N=E.indexedDB,E=E.IDBKeyRange,(ug(N)?Promise.resolve(N.databases()).then(function(V){return V.map(function(W){return W.name}).filter(function(W){return W!==xt})}):ig(N,E).toCollection().primaryKeys()).then(w)}catch{return bn(new oe.MissingAPI)}var E,N},defineClass:function(){return function(w){u(this,w)}},ignoreTransaction:function(w){return ye.trans?yn(ye.transless,w):w()},vip:cg,async:function(w){return function(){try{var E=vg(w.apply(this,arguments));return E&&typeof E.then=="function"?E:Fe.resolve(E)}catch(N){return bn(N)}}},spawn:function(w,E,N){try{var V=vg(w.apply(N,E||[]));return V&&typeof V.then=="function"?V:Fe.resolve(V)}catch(W){return bn(W)}},currentTransaction:{get:function(){return ye.trans||null}},waitFor:function(w,E){return E=Fe.resolve(typeof w=="function"?ys.ignoreTransaction(w):w).timeout(E||6e4),ye.trans?ye.trans.waitFor(E):E},Promise:Fe,debug:{get:function(){return De},set:function(w){at(w)}},derive:g,extend:u,props:p,override:C,Events:zu,on:jl,liveQuery:X0,extendObservabilitySet:Hd,getByKeyPath:_,setByKeyPath:z,delByKeyPath:function(w,E){typeof E=="string"?z(w,E,void 0):"length"in E&&[].map.call(E,function(N){z(w,N,void 0)})},shallowClone:I,deepClone:K,getObjectDiff:mg,cmp:_n,asap:x,minKey:-1/0,addons:[],connections:Ge,errnames:re,dependencies:Gd,cache:ms,semVer:"4.2.1",version:"4.2.1".split(".").map(function(w){return parseInt(w)}).reduce(function(w,E,N){return w+E/Math.pow(10,2*N)})})),ys.maxKey=Pu(ys.dependencies.IDBKeyRange),typeof dispatchEvent<"u"&&typeof addEventListener<"u"&&(jl($u,function(w){Nl||(w=new CustomEvent(tg,{detail:w}),Nl=!0,dispatchEvent(w),Nl=!1)}),addEventListener(tg,function(w){w=w.detail,Nl||Cg(w)}));var pi,Nl=!1,Z0=function(){};return typeof BroadcastChannel<"u"&&((Z0=function(){(pi=new BroadcastChannel(tg)).onmessage=function(w){return w.data&&Cg(w.data)}})(),typeof pi.unref=="function"&&pi.unref(),jl($u,function(w){Nl||pi.postMessage(w)})),typeof addEventListener<"u"&&(addEventListener("pagehide",function(w){if(!Ga.disableBfCache&&w.persisted){De&&console.debug("Dexie: handling persisted pagehide"),pi?.close();for(var E=0,N=Ge;E<N.length;E++)N[E].close({disableAutoOpen:!1})}}),addEventListener("pageshow",function(w){!Ga.disableBfCache&&w.persisted&&(De&&console.debug("Dexie: handling persisted pageshow"),Z0(),Cg({all:new Do(-1/0,[[]])}))})),Fe.rejectionMapper=function(w,E){return!w||w instanceof J||w instanceof TypeError||w instanceof SyntaxError||!w.name||!ie[w.name]?w:(E=new ie[w.name](E||w.message,w),"stack"in w&&v(E,"stack",{get:function(){return this.inner.stack}}),E)},at(De),o(Ga,Object.freeze({__proto__:null,Dexie:Ga,liveQuery:X0,Entity:gs,cmp:_n,PropModification:vs,replacePrefix:function(w,E){return new vs({replacePrefix:[w,E]})},add:function(w){return new vs({add:w})},remove:function(w){return new vs({remove:w})},default:Ga,RangeSet:Do,mergeRanges:Au,rangesOverlap:B0}),{default:Ga}),Ga})})(ah)),ah.exports}var pae=hae();const ny=Ka(pae),hS=Symbol.for("Dexie"),Zh=globalThis[hS]||(globalThis[hS]=ny);if(ny.semVer!==Zh.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${ny.semVer} and ${Zh.semVer}`);const{liveQuery:Mce,mergeRanges:Ace,rangesOverlap:jce,RangeSet:Nce,cmp:Rce,Entity:Dce,PropModification:Lce,replacePrefix:Bce,add:Vce,remove:Fce,DexieYProvider:qce}=Zh;class gae extends Zh{links;settings;constructor(){super("bookmark_index"),this.version(1).stores({links:"id, createdAt, updatedAt, title, *tags, *projectIds, visitCount, lastVisitTime",settings:"id"}),this.version(2).stores({links:"id, order, createdAt, updatedAt, title, *tags, *projectIds, visitCount, lastVisitTime",settings:"id"}).upgrade(t=>t.table("links").toCollection().modify(n=>{if(n.order===void 0){const o=n.createdAt?new Date(n.createdAt).getTime():Date.now();n.order=o}})),this.links=this.table("links"),this.settings=this.table("settings")}}const Un=new gae;function Ki(e){return e?e instanceof Date?e.toISOString():e:null}function yv(e){if(!e)return null;if(e instanceof Date)return e;const t=new Date(e);return Number.isNaN(t.getTime())?null:t}function Pd(e){return{...e,lastVisitTime:Ki(e.lastVisitTime),createdAt:Ki(e.createdAt),updatedAt:Ki(e.updatedAt)}}function xu(e){return{...e,lastVisitTime:yv(e.lastVisitTime),createdAt:yv(e.createdAt)??new Date,updatedAt:yv(e.updatedAt)??new Date}}async function vae(){return(await Un.links.orderBy("order").reverse().toArray()).map(xu)}async function mae(e){const t=await Un.links.get(e);return t?xu(t):null}async function yae(e){const t=Pd(e);return await Un.links.put(t),xu(t)}async function bae(e,t){const n=await Un.links.get(e);if(!n)throw new Error(`未找到 ID 为 "${e}" 的书签`);const o={...n,...t,id:e,updatedAt:new Date},r=Pd(o);return await Un.links.put(r),xu(r)}async function wae(e){await Un.links.delete(e)}async function Cae(e){const t=await Un.links.get(e);if(!t)return null;const n=new Date,o={...t,visitCount:(t.visitCount??0)+1,lastVisitTime:n,updatedAt:n},r=Pd(o);return await Un.links.put(r),xu(r)}async function kae(e,{replace:t=!1}={}){const n=e.map(Pd);return await Un.transaction("rw",Un.links,async()=>{t&&await Un.links.clear(),n.length>0&&await Un.links.bulkPut(n)}),(await Un.links.orderBy("createdAt").reverse().toArray()).length}async function Sae(){const t=(await Un.links.orderBy("createdAt").reverse().toArray()).map(n=>({...n,lastVisitTime:Ki(n.lastVisitTime),createdAt:Ki(n.createdAt),updatedAt:Ki(n.updatedAt)}));return{version:"1.0",exportedAt:new Date().toISOString(),links:t}}async function _ae(){await Un.links.clear()}async function xae(e){await Un.transaction("rw",Un.links,async()=>{for(const t of e)await Un.links.update(t.id,{order:t.order,updatedAt:t.updatedAt})})}async function Eae(e){const t=e.map(Pd);await Un.transaction("rw",Un.links,async()=>{await Un.links.bulkPut(t)})}async function zae(){return(await Un.links.orderBy("createdAt").reverse().toArray()).map(xu)}const Cr={getAllLinks:vae,getLinkById:mae,addLink:yae,updateLink:bae,deleteLink:wae,recordVisit:Cae,importLinks:kae,exportLinks:Sae,clearAll:_ae,reorderLinks:xae,bulkAddLinks:Eae,getAllLinksByCreated:zae},to=new Map,Ks=new Set,il="未分类";function Jc(e){return!e||typeof e!="string"?null:e.trim()||null}function i$(e,t,n=null){if(!e||!e.id)return;const o=e.id,r=Array.isArray(e.tags)?e.tags:[];if(t==="remove"){to.forEach((a,l)=>{a.delete(o),a.size===0&&l!==il&&(to.delete(l),Ks.delete(l))});return}t==="update"&&n&&(Array.isArray(n.tags)?n.tags:[]).forEach(l=>{const i=Jc(l);if(i){const u=to.get(i);u&&(u.delete(o),u.size===0&&i!==il&&(to.delete(i),Ks.delete(i)))}}),r.length===0?(to.has(il)||to.set(il,new Set),to.get(il).add(o)):r.forEach(a=>{const l=Jc(a);l&&(to.has(l)||(to.set(l,new Set),Ks.add(l)),to.get(l).add(o))})}function Tae(e){to.clear(),Ks.clear(),!(!Array.isArray(e)||e.length===0)&&(to.set(il,new Set),e.forEach(t=>{if(!t||!t.id)return;const n=Array.isArray(t.tags)?t.tags:[],o=t.id;n.length===0?to.get(il).add(o):n.forEach(r=>{const a=Jc(r);a&&(to.has(a)||(to.set(a,new Set),Ks.add(a)),to.get(a).add(o))})}))}function Oae(e,t){Array.isArray(e)&&e.forEach(n=>{i$(n,t)})}function u$(e=null){const t=Array.from(Ks);if(e&&Array.isArray(e)&&e.length>0){const n=[],o=[];return e.forEach(r=>{t.includes(r)&&n.push(r)}),t.forEach(r=>{e.includes(r)||o.push(r)}),o.sort(),[...n,...o]}return t.sort()}function $ae(){const e=new Map;return to.forEach((t,n)=>{e.set(n,t.size)}),e}function Pae(e){const t=Jc(e);if(!t)return!1;const n=to.get(t);return n?n.size>0:!1}function Iae(e){const t=Jc(e);return t?to.get(t)||new Set:new Set}function Mae(e,t=null){const n=new Map,o=new Map;return Array.isArray(e)&&e.forEach(a=>{a&&a.id&&o.set(a.id,a)}),(t&&Array.isArray(t)&&t.length>0?t:u$()).forEach(a=>{const l=to.get(a);if(l&&l.size>0){const i=[];l.forEach(u=>{const c=o.get(u);c&&i.push(c)}),i.length>0&&n.set(a,i)}}),to.forEach((a,l)=>{if(!n.has(l)&&a.size>0){const i=[];a.forEach(u=>{const c=o.get(u);c&&i.push(c)}),i.length>0&&n.set(l,i)}}),n}function Aae(){to.clear(),Ks.clear(),to.set(il,new Set)}const ka={getAllTags:u$,getTagStats:$ae,updateFromLink:i$,isTagInUse:Pae,getLinkIdsByTag:Iae,batchUpdate:Oae,initializeFromLinks:Tae,getLinksByTag:Mae,clear:Aae,UNCATEGORIZED_TAG:il},jae=15,Nae={description:"",icon:"",tags:[],projectIds:[],visitCount:0,lastVisitTime:null,order:0};function bv(e){if(!e)return null;if(e instanceof Date)return e;const t=new Date(e);return Number.isNaN(t.getTime())?null:t}function Qa(e){return{...Nae,...e,tags:Array.isArray(e?.tags)?[...e.tags]:[],projectIds:Array.isArray(e?.projectIds)?[...e.projectIds]:[],order:e.order??(e.createdAt?new Date(e.createdAt).getTime():Date.now()),lastVisitTime:bv(e?.lastVisitTime),createdAt:bv(e?.createdAt)??new Date,updatedAt:bv(e?.updatedAt)??new Date}}function pS(e){return[...e].sort((t,n)=>n.createdAt.getTime()-t.createdAt.getTime())}const ui=Sx("links",()=>{const e=L([]),t=L(!1),n=L(!1);async function o(){if(!(n.value||t.value)){t.value=!0;try{const _=await Cr.getAllLinks();e.value=_.map(Qa),ka.initializeFromLinks(e.value),n.value=!0}finally{t.value=!1}}}function r(_){const z=Qa(_),I=e.value.findIndex(j=>j.id===z.id);if(I===-1){e.value=pS([z,...e.value]);return}const P=[...e.value];P.splice(I,1,z),e.value=pS(P)}async function a(_){await o();const z=new Date,I=Qa({..._,id:_.id??rh(),order:_.order!==void 0?_.order:z.getTime(),createdAt:_.createdAt??z,updatedAt:_.updatedAt??z});return await Cr.addLink(I),r(I),ka.updateFromLink(I,"add"),I}async function l(_,z){await o();const I=e.value.find(j=>j.id===_);if(!I)throw new Error(`未找到 ID 为 "${_}" 的书签`);const P=Qa({...I,...z,id:_,updatedAt:new Date});return await Cr.updateLink(_,P),r(P),ka.updateFromLink(P,"update",I),P}async function i(_){await o();const z=e.value.find(I=>I.id===_);await Cr.deleteLink(_),e.value=e.value.filter(I=>I.id!==_),z&&ka.updateFromLink(z,"remove")}async function u(_){if(await o(),!e.value.find(P=>P.id===_))return null;const I=await Cr.recordVisit(_);if(I){const P=Qa(I);return r(P),P}return null}async function c(_,{replace:z=!1}={}){await o();const I=_.map(j=>{const O=Qa({...j,id:j.id??rh()});return{...O,lastVisitTime:O.lastVisitTime??null}}).filter(j=>!!j.title&&!!j.url);await Cr.importLinks(I,{replace:z});const P=await Cr.getAllLinksByCreated();return e.value=P.map(Qa),ka.initializeFromLinks(e.value),n.value=!0,e.value.length}async function d(){return await o(),await Cr.exportLinks()}async function f(){await Cr.clearAll(),e.value=[],ka.clear(),n.value=!0}const p=S(()=>e.value.length),h=S(()=>[...e.value].map(_=>{const z=_.lastVisitTime??_.updatedAt??_.createdAt??null;return{item:_,referenceTime:z}}).filter(({referenceTime:_})=>_ instanceof Date&&!Number.isNaN(_.getTime())).sort((_,z)=>z.referenceTime.getTime()-_.referenceTime.getTime()).slice(0,jae).map(({item:_})=>_)),v=S(()=>[...e.value].filter(_=>(_.visitCount??0)>0).sort((_,z)=>z.visitCount===_.visitCount?z.updatedAt.getTime()-_.updatedAt.getTime():z.visitCount-_.visitCount).slice(0,20)),g=S(()=>ka.getAllTags());function m(_=null){return ka.getLinksByTag(e.value,_)}const y=S(()=>ka.getLinksByTag(e.value,null));async function k(_,z={}){await o();const I={success:0,skipped:0,failed:0},P=new Set(e.value.map(O=>O.url.toLowerCase())),j=[];for(const O of _){if(!O.title||!O.url){I.failed++;continue}if(P.has(O.url.toLowerCase())){I.skipped++;continue}const A=Qa({...O,id:O.id??rh(),createdAt:O.createdAt??new Date,updatedAt:O.updatedAt??new Date});j.push(A),P.add(O.url.toLowerCase())}if(j.length>0)try{await Cr.bulkAddLinks(j);const O=await Cr.getAllLinksByCreated();e.value=O.map(Qa),ka.initializeFromLinks(e.value),n.value=!0,I.success=j.length}catch(O){console.error("导入书签失败:",O),I.failed+=j.length}return I}const C=S(()=>[...e.value].sort((_,z)=>{const I=_.order??0,P=z.order??0;return I-P}));async function b(_,z,I){if(console.log("🔄 Store reorderLinks 开始:",{draggedItem:_?{id:_.id,title:_.title,order:_.order}:null,targetItem:z?{id:z.id,title:z.title,order:z.order}:null,direction:I}),await o(),!_||!z)throw console.error("❌ Store reorderLinks: 缺少必要参数",{hasDraggedItem:!!_,hasTargetItem:!!z}),new Error("缺少必要的排序参数");console.log("📋 当前书签总数:",e.value.length),console.log("📝 当前书签列表:",e.value.map($=>({id:$.id,title:$.title,order:$.order})));const P=[...e.value],j=P.findIndex($=>$.id===_.id),O=P.findIndex($=>$.id===z.id);if(console.log("🔍 索引查找结果:",{draggedIndex:j,targetIndex:O,draggedItemId:_.id,targetItemId:z.id}),j===-1)throw console.error("❌ 未找到被拖拽项目:",_.id),new Error(`未找到被拖拽的项目: ${_.id}`);if(O===-1)throw console.error("❌ 未找到目标项目:",z.id),new Error(`未找到目标项目: ${z.id}`);const A=P.splice(j,1)[0];console.log("🗑️ 移除项目:",{removed:A?{id:A.id,title:A.title}:null,移除后数组长度:P.length});let K=O;I==="after"&&j<O?K=O-1:(I==="before"&&j>O||I==="after"&&j>O)&&(K=O+1),console.log("📍 计算新位置:",{direction:I,originalDraggedIndex:j,originalTargetIndex:O,newIndex:K}),K=Math.max(0,Math.min(K,P.length)),P.splice(K,0,A),console.log(" 插入新位置后数组长度:",P.length),console.log("📋 新的顺序:",P.map(($,R)=>`${R+1}. ${$.title} (order: ${$.order})`));const Y=Date.now();console.log("⏰ 当前时间戳:",Y);const Z=P.map(($,R)=>({id:$.id,order:Y+R*1e3,updatedAt:new Date}));console.log("🆕 新的排序值:",Z.map($=>({id:$.id,newOrder:$.order})));try{console.log("💾 开始数据库事务..."),await Cr.reorderLinks(Z),console.log("🔄 更新内存状态...");const $=P.map(R=>{const D=Z.find(B=>B.id===R.id);return{...R,order:D.order,updatedAt:D.updatedAt}});e.value=$,n.value=!0,console.log("🎉 排序更新完成!"),console.log("📊 最终排序结果:",$.map((R,D)=>({position:D+1,id:R.id,title:R.title,order:R.order})))}catch($){throw console.error("❌ 排序更新失败:",$),console.error("❌ 错误堆栈:",$.stack),new Error(`排序更新失败: ${$.message}`)}}async function x(_){if(console.log("🔄 Store reorderLinksFromArray 开始:",{arrayLength:_.length,array:_.map((z,I)=>({index:I,id:z.id,title:z.title}))}),await o(),!_||_.length===0){console.warn("⚠️ 排序数组为空");return}try{const z=Date.now(),I=_.map((j,O)=>({id:j.id,order:z+O*1e3,updatedAt:new Date}));console.log("🆕 新的排序值:",I.map(j=>({id:j.id,newOrder:j.order}))),console.log("💾 开始数据库事务..."),await Cr.reorderLinks(I),console.log("🔄 更新内存状态...");const P=_.map((j,O)=>{const A=I.find(K=>K.id===j.id);return{...j,order:A.order,updatedAt:A.updatedAt}});e.value=P,n.value=!0,console.log("🎉 排序更新完成!"),console.log("📊 最终排序结果:",P.map((j,O)=>({position:O+1,id:j.id,title:j.title,order:j.order})))}catch(z){throw console.error("❌ 排序更新失败:",z),console.error("❌ 错误堆栈:",z.stack),new Error(`排序更新失败: ${z.message}`)}}return{links:C,totalCount:p,recentLinks:h,favorites:v,allTags:g,linksByTag:y,getLinksByTagWithOrder:m,isLoading:t,isReady:n,ensureLoaded:o,addLink:a,updateLink:l,removeLink:i,recordVisit:u,importLinks:c,exportLinks:d,clearAll:f,importBrowserBookmarks:k,reorderLinks:b,reorderLinksFromArray:x}}),Rae=12,gS={toneType:"none",type:"array"},Dae={shouldSort:!0,includeScore:!0,includeMatches:!0,threshold:.35,ignoreLocation:!0,distance:80,minMatchCharLength:2,useExtendedSearch:!1,keys:[{name:"title",weight:.6},{name:"description",weight:.3},{name:"tags",weight:.5},{name:"url",weight:.2},{name:"pinyinTitleFull",weight:.4},{name:"pinyinTitleInitialsCompact",weight:.45},{name:"pinyinTagsFull",weight:.2},{name:"pinyinTagsInitials",weight:.25}]};function Lae(e){if(!e)return"";let t="";for(const n of e)t.endsWith(n)||(t+=n);return t}function Bae(e=[]){return Array.isArray(e)?e.join(" "):""}function vS(e){if(!e)return{full:"",initials:"",initialsCompact:""};const t=cS(e,{...gS,pattern:"pinyin"}),n=cS(e,{...gS,pattern:"first"}),o=Array.isArray(t)?t.join(" "):"",r=Array.isArray(n)?n.join(""):"",a=Lae(r);return{full:o,initials:r,initialsCompact:a}}function Vae(e){const t=vS(e.title),n=Bae(e.tags),o=vS(n);return{id:e.id,title:e.title,description:e.description??"",tags:n,url:e.url,visitCount:e.visitCount??0,lastVisitTime:e.lastVisitTime??null,createdAt:e.createdAt,updatedAt:e.updatedAt,pinyinTitleFull:t.full,pinyinTitleInitials:t.initials,pinyinTitleInitialsCompact:t.initialsCompact,pinyinTagsFull:o.full,pinyinTagsInitials:o.initialsCompact,original:e}}function Fae(e){if(!e||e.length===0)return[];const t=[...e].map(([o,r])=>[Math.max(0,o),Math.max(o,r)]).sort((o,r)=>o[0]-r[0]),n=[];for(const o of t){if(!n.length){n.push(o);continue}const r=n[n.length-1];o[0]<=r[1]+1?r[1]=Math.max(r[1],o[1]):n.push(o)}return n}function mS(e,t){if(!e||t.length===0)return[];const n=new Map;t.forEach(a=>{const l=a.toLowerCase(),i=e.search(l),u=new Map;i.forEach(c=>{const{item:d}=c,f=u.get(d.id);(!f||(c.score??0)<(f.score??0))&&u.set(d.id,{...c,token:l})}),u.forEach((c,d)=>{const f=n.get(d)??{link:c.item.original,scoreSum:0,bestScore:Number.POSITIVE_INFINITY,hitCount:0,exactTitleMatch:!1,partialTitleMatch:!1,tagMatch:!1,highlights:new Map},p=c.score??0;f.scoreSum+=p,f.bestScore=Math.min(f.bestScore,p),f.hitCount+=1,Array.isArray(c.matches)&&c.matches.forEach(h=>{const{key:v,indices:g,value:m}=h;if(!v||!g)return;const y=f.highlights.get(v)??[];if(y.push(...g),f.highlights.set(v,y),v==="title"){const[k,C]=g[0];m.slice(k,C+1).toLowerCase()===l?f.exactTitleMatch=!0:f.partialTitleMatch=!0}v==="tags"&&(f.tagMatch=!0)}),n.set(d,f)})});const o=Array.from(n.values()).filter(a=>a.hitCount===t.length);return o.forEach(a=>{const l=a.link.visitCount??0,i=a.link.lastVisitTime?a.link.lastVisitTime.getTime():0;let u=5;a.exactTitleMatch?u=1:a.partialTitleMatch?u=2:a.tagMatch?u=3:l>0&&(u=4),a.ranking={priority:u,score:a.scoreSum/a.hitCount,visitBoost:l,lastVisitBoost:i}}),o.sort((a,l)=>a.ranking.priority!==l.ranking.priority?a.ranking.priority-l.ranking.priority:a.ranking.score!==l.ranking.score?a.ranking.score-l.ranking.score:a.ranking.visitBoost!==l.ranking.visitBoost?l.ranking.visitBoost-a.ranking.visitBoost:l.ranking.lastVisitBoost-a.ranking.lastVisitBoost).slice(0,Rae).map(a=>{const l={};return a.highlights.forEach((i,u)=>{l[u]=Fae(i)}),{link:a.link,ranking:a.ranking,highlights:l}})}function qae(){const e=ui(),{links:t,isReady:n}=vl(e),o=L(null),r=L(""),a=L([]),l=L(!1);ke(t,p=>{const h=p.map(Vae);o.value=new _u(h,Dae),r.value.trim()&&(a.value=mS(o.value,r.value.trim().split(/\s+/)))},{immediate:!0,deep:!0});function i(p){const h=p.trim();if(!h){a.value=[];return}const v=h.split(/\s+/);a.value=mS(o.value,v)}let u=null;function c(p){r.value=p,window.clearTimeout(u),l.value=!0,u=window.setTimeout(()=>{i(p),l.value=!1},320)}function d(){r.value="",a.value=[]}const f=S(()=>a.value.length>0);return{query:r,results:a,hasResults:f,isSearching:S(()=>l.value),search:c,clear:d,isIndexReady:S(()=>n.value&&!!o.value)}}const c$=6048e5,Kae=864e5,Sf=43200,yS=1440,bS=Symbol.for("constructDateFrom");function Sl(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&bS in e?e[bS](t):e instanceof Date?new e.constructor(t):new Date(t)}function $o(e,t){return Sl(t||e,e)}let Hae={};function Id(){return Hae}function ni(e,t){const n=Id(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=$o(e,t?.in),a=r.getDay(),l=(a<o?7:0)+a-o;return r.setDate(r.getDate()-l),r.setHours(0,0,0,0),r}function Qh(e,t){return ni(e,{...t,weekStartsOn:1})}function d$(e,t){const n=$o(e,t?.in),o=n.getFullYear(),r=Sl(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const a=Qh(r),l=Sl(n,0);l.setFullYear(o,0,4),l.setHours(0,0,0,0);const i=Qh(l);return n.getTime()>=a.getTime()?o+1:n.getTime()>=i.getTime()?o:o-1}function Jh(e){const t=$o(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Md(e,...t){const n=Sl.bind(null,e||t.find(o=>typeof o=="object"));return t.map(n)}function wS(e,t){const n=$o(e,t?.in);return n.setHours(0,0,0,0),n}function Wae(e,t,n){const[o,r]=Md(n?.in,e,t),a=wS(o),l=wS(r),i=+a-Jh(a),u=+l-Jh(l);return Math.round((i-u)/Kae)}function Uae(e,t){const n=d$(e,t),o=Sl(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),Qh(o)}function lh(e,t){const n=+$o(e)-+$o(t);return n<0?-1:n>0?1:n}function Yae(e){return Sl(e,Date.now())}function Gae(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Xae(e){return!(!Gae(e)&&typeof e!="number"||isNaN(+$o(e)))}function Zae(e,t,n){const[o,r]=Md(n?.in,e,t),a=o.getFullYear()-r.getFullYear(),l=o.getMonth()-r.getMonth();return a*12+l}function Qae(e){return t=>{const o=(e?Math[e]:Math.trunc)(t);return o===0?0:o}}function Jae(e,t){return+$o(e)-+$o(t)}function ele(e,t){const n=$o(e,t?.in);return n.setHours(23,59,59,999),n}function tle(e,t){const n=$o(e,t?.in),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}function nle(e,t){const n=$o(e,t?.in);return+ele(n,t)==+tle(n,t)}function ole(e,t,n){const[o,r,a]=Md(n?.in,e,e,t),l=lh(r,a),i=Math.abs(Zae(r,a));if(i<1)return 0;r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-l*i);let u=lh(r,a)===-l;nle(o)&&i===1&&lh(o,a)===1&&(u=!1);const c=l*(i-+u);return c===0?0:c}function rle(e,t,n){const o=Jae(e,t)/1e3;return Qae(n?.roundingMethod)(o)}function ale(e,t){const n=$o(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const lle={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},sle=(e,t,n)=>{let o;const r=lle[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Hi(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const ile={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ule={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},cle={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dle={date:Hi({formats:ile,defaultWidth:"full"}),time:Hi({formats:ule,defaultWidth:"full"}),dateTime:Hi({formats:cle,defaultWidth:"full"})},fle={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hle=(e,t,n,o)=>fle[e];function Ea(e){return(t,n)=>{const o=n?.context?String(n.context):"standalone";let r;if(o==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):l;r=e.formattingValues[i]||e.formattingValues[l]}else{const l=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[l]}const a=e.argumentCallback?e.argumentCallback(t):t;return r[a]}}const ple={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},gle={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},vle={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},mle={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},yle={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ble={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},wle=(e,t)=>{const n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Cle={ordinalNumber:wle,era:Ea({values:ple,defaultWidth:"wide"}),quarter:Ea({values:gle,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ea({values:vle,defaultWidth:"wide"}),day:Ea({values:mle,defaultWidth:"wide"}),dayPeriod:Ea({values:yle,defaultWidth:"wide",formattingValues:ble,defaultFormattingWidth:"wide"})};function za(e){return(t,n={})=>{const o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(r);if(!a)return null;const l=a[0],i=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(i)?Sle(i,f=>f.test(l)):kle(i,f=>f.test(l));let c;c=e.valueCallback?e.valueCallback(u):u,c=n.valueCallback?n.valueCallback(c):c;const d=t.slice(l.length);return{value:c,rest:d}}}function kle(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Sle(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function f$(e){return(t,n={})=>{const o=t.match(e.matchPattern);if(!o)return null;const r=o[0],a=t.match(e.parsePattern);if(!a)return null;let l=e.valueCallback?e.valueCallback(a[0]):a[0];l=n.valueCallback?n.valueCallback(l):l;const i=t.slice(r.length);return{value:l,rest:i}}}const _le=/^(\d+)(th|st|nd|rd)?/i,xle=/\d+/i,Ele={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},zle={any:[/^b/i,/^(a|c)/i]},Tle={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ole={any:[/1/i,/2/i,/3/i,/4/i]},$le={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ple={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ile={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Mle={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ale={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},jle={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Nle={ordinalNumber:f$({matchPattern:_le,parsePattern:xle,valueCallback:e=>parseInt(e,10)}),era:za({matchPatterns:Ele,defaultMatchWidth:"wide",parsePatterns:zle,defaultParseWidth:"any"}),quarter:za({matchPatterns:Tle,defaultMatchWidth:"wide",parsePatterns:Ole,defaultParseWidth:"any",valueCallback:e=>e+1}),month:za({matchPatterns:$le,defaultMatchWidth:"wide",parsePatterns:Ple,defaultParseWidth:"any"}),day:za({matchPatterns:Ile,defaultMatchWidth:"wide",parsePatterns:Mle,defaultParseWidth:"any"}),dayPeriod:za({matchPatterns:Ale,defaultMatchWidth:"any",parsePatterns:jle,defaultParseWidth:"any"})},h$={code:"en-US",formatDistance:sle,formatLong:dle,formatRelative:hle,localize:Cle,match:Nle,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Rle(e,t){const n=$o(e,t?.in);return Wae(n,ale(n))+1}function Dle(e,t){const n=$o(e,t?.in),o=+Qh(n)-+Uae(n);return Math.round(o/c$)+1}function p$(e,t){const n=$o(e,t?.in),o=n.getFullYear(),r=Id(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,l=Sl(t?.in||e,0);l.setFullYear(o+1,0,a),l.setHours(0,0,0,0);const i=ni(l,t),u=Sl(t?.in||e,0);u.setFullYear(o,0,a),u.setHours(0,0,0,0);const c=ni(u,t);return+n>=+i?o+1:+n>=+c?o:o-1}function Lle(e,t){const n=Id(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=p$(e,t),a=Sl(t?.in||e,0);return a.setFullYear(r,0,o),a.setHours(0,0,0,0),ni(a,t)}function Ble(e,t){const n=$o(e,t?.in),o=+ni(n,t)-+Lle(n,t);return Math.round(o/c$)+1}function An(e,t){const n=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return n+o}const Ll={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return An(t==="yy"?o%100:o,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):An(n+1,2)},d(e,t){return An(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return An(e.getHours()%12||12,t.length)},H(e,t){return An(e.getHours(),t.length)},m(e,t){return An(e.getMinutes(),t.length)},s(e,t){return An(e.getSeconds(),t.length)},S(e,t){const n=t.length,o=e.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return An(r,t.length)}},Si={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},CS={G:function(e,t,n){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const o=e.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Ll.y(e,t)},Y:function(e,t,n,o){const r=p$(e,o),a=r>0?r:1-r;if(t==="YY"){const l=a%100;return An(l,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):An(a,t.length)},R:function(e,t){const n=d$(e);return An(n,t.length)},u:function(e,t){const n=e.getFullYear();return An(n,t.length)},Q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return An(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return An(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){const o=e.getMonth();switch(t){case"M":case"MM":return Ll.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return An(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){const r=Ble(e,o);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):An(r,t.length)},I:function(e,t,n){const o=Dle(e);return t==="Io"?n.ordinalNumber(o,{unit:"week"}):An(o,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Ll.d(e,t)},D:function(e,t,n){const o=Rle(e);return t==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):An(o,t.length)},E:function(e,t,n){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return An(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){const r=e.getDay(),a=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return An(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const o=e.getDay(),r=o===0?7:o;switch(t){case"i":return String(r);case"ii":return An(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const o=e.getHours();let r;switch(o===12?r=Si.noon:o===0?r=Si.midnight:r=o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const o=e.getHours();let r;switch(o>=17?r=Si.evening:o>=12?r=Si.afternoon:o>=4?r=Si.morning:r=Si.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Ll.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Ll.H(e,t)},K:function(e,t,n){const o=e.getHours()%12;return t==="Ko"?n.ordinalNumber(o,{unit:"hour"}):An(o,t.length)},k:function(e,t,n){let o=e.getHours();return o===0&&(o=24),t==="ko"?n.ordinalNumber(o,{unit:"hour"}):An(o,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Ll.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Ll.s(e,t)},S:function(e,t){return Ll.S(e,t)},X:function(e,t,n){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return SS(o);case"XXXX":case"XX":return Es(o);case"XXXXX":case"XXX":default:return Es(o,":")}},x:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"x":return SS(o);case"xxxx":case"xx":return Es(o);case"xxxxx":case"xxx":default:return Es(o,":")}},O:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+kS(o,":");case"OOOO":default:return"GMT"+Es(o,":")}},z:function(e,t,n){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+kS(o,":");case"zzzz":default:return"GMT"+Es(o,":")}},t:function(e,t,n){const o=Math.trunc(+e/1e3);return An(o,t.length)},T:function(e,t,n){return An(+e,t.length)}};function kS(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.trunc(o/60),a=o%60;return a===0?n+String(r):n+String(r)+t+An(a,2)}function SS(e,t){return e%60===0?(e>0?"-":"+")+An(Math.abs(e)/60,2):Es(e,t)}function Es(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=An(Math.trunc(o/60),2),a=An(o%60,2);return n+r+t+a}const _S=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},g$=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Vle=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return _S(e,t);let a;switch(o){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",_S(o,t)).replace("{{time}}",g$(r,t))},Fle={p:g$,P:Vle},qle=/^D+$/,Kle=/^Y+$/,Hle=["D","DD","YY","YYYY"];function Wle(e){return qle.test(e)}function Ule(e){return Kle.test(e)}function Yle(e,t,n){const o=Gle(e,t,n);if(console.warn(o),Hle.includes(e))throw new RangeError(o)}function Gle(e,t,n){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Xle=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zle=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qle=/^'([^]*?)'?$/,Jle=/''/g,ese=/[a-zA-Z]/;function tse(e,t,n){const o=Id(),r=n?.locale??o.locale??h$,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,i=$o(e,n?.in);if(!Xae(i))throw new RangeError("Invalid time value");let u=t.match(Zle).map(d=>{const f=d[0];if(f==="p"||f==="P"){const p=Fle[f];return p(d,r.formatLong)}return d}).join("").match(Xle).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:nse(d)};if(CS[f])return{isToken:!0,value:d};if(f.match(ese))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:d}});r.localize.preprocessor&&(u=r.localize.preprocessor(i,u));const c={firstWeekContainsDate:a,weekStartsOn:l,locale:r};return u.map(d=>{if(!d.isToken)return d.value;const f=d.value;(!n?.useAdditionalWeekYearTokens&&Ule(f)||!n?.useAdditionalDayOfYearTokens&&Wle(f))&&Yle(f,t,String(e));const p=CS[f[0]];return p(i,f,r.localize,c)}).join("")}function nse(e){const t=e.match(Qle);return t?t[1].replace(Jle,"'"):e}function ose(e,t,n){const o=Id(),r=n?.locale??o.locale??h$,a=2520,l=lh(e,t);if(isNaN(l))throw new RangeError("Invalid time value");const i=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:l}),[u,c]=Md(n?.in,...l>0?[t,e]:[e,t]),d=rle(c,u),f=(Jh(c)-Jh(u))/1e3,p=Math.round((d-f)/60);let h;if(p<2)return n?.includeSeconds?d<5?r.formatDistance("lessThanXSeconds",5,i):d<10?r.formatDistance("lessThanXSeconds",10,i):d<20?r.formatDistance("lessThanXSeconds",20,i):d<40?r.formatDistance("halfAMinute",0,i):d<60?r.formatDistance("lessThanXMinutes",1,i):r.formatDistance("xMinutes",1,i):p===0?r.formatDistance("lessThanXMinutes",1,i):r.formatDistance("xMinutes",p,i);if(p<45)return r.formatDistance("xMinutes",p,i);if(p<90)return r.formatDistance("aboutXHours",1,i);if(p<yS){const v=Math.round(p/60);return r.formatDistance("aboutXHours",v,i)}else{if(p<a)return r.formatDistance("xDays",1,i);if(p<Sf){const v=Math.round(p/yS);return r.formatDistance("xDays",v,i)}else if(p<Sf*2)return h=Math.round(p/Sf),r.formatDistance("aboutXMonths",h,i)}if(h=ole(c,u),h<12){const v=Math.round(p/Sf);return r.formatDistance("xMonths",v,i)}else{const v=h%12,g=Math.trunc(h/12);return v<3?r.formatDistance("aboutXYears",g,i):v<9?r.formatDistance("overXYears",g,i):r.formatDistance("almostXYears",g+1,i)}}function sh(e,t){return ose(e,Yae(e),t)}function rse(e,t,n){const[o,r]=Md(n?.in,e,t);return+ni(o,n)==+ni(r,n)}const ase={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},lse=(e,t,n)=>{let o;const r=ase[e];return typeof r=="string"?o=r:t===1?o=r.one:o=r.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?o+"内":o+"前":o},sse={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ise={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},use={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},cse={date:Hi({formats:sse,defaultWidth:"full"}),time:Hi({formats:ise,defaultWidth:"full"}),dateTime:Hi({formats:use,defaultWidth:"full"})};function xS(e,t,n){const o="eeee p";return rse(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}const dse={lastWeek:xS,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:xS,other:"PP p"},fse=(e,t,n,o)=>{const r=dse[e];return typeof r=="function"?r(t,n,o):r},hse={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},pse={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},gse={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},vse={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},mse={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},yse={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},bse=(e,t)=>{const n=Number(e);switch(t?.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},wse={ordinalNumber:bse,era:Ea({values:hse,defaultWidth:"wide"}),quarter:Ea({values:pse,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ea({values:gse,defaultWidth:"wide"}),day:Ea({values:vse,defaultWidth:"wide"}),dayPeriod:Ea({values:mse,defaultWidth:"wide",formattingValues:yse,defaultFormattingWidth:"wide"})},Cse=/^(第\s*)?\d+(日|时|分|秒)?/i,kse=/\d+/i,Sse={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_se={any:[/^(前)/i,/^(公元)/i]},xse={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Ese={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},zse={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Tse={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Ose={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},$se={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Pse={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Ise={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Mse={ordinalNumber:f$({matchPattern:Cse,parsePattern:kse,valueCallback:e=>parseInt(e,10)}),era:za({matchPatterns:Sse,defaultMatchWidth:"wide",parsePatterns:_se,defaultParseWidth:"any"}),quarter:za({matchPatterns:xse,defaultMatchWidth:"wide",parsePatterns:Ese,defaultParseWidth:"any",valueCallback:e=>e+1}),month:za({matchPatterns:zse,defaultMatchWidth:"wide",parsePatterns:Tse,defaultParseWidth:"any"}),day:za({matchPatterns:Ose,defaultMatchWidth:"wide",parsePatterns:$se,defaultParseWidth:"any"}),dayPeriod:za({matchPatterns:Pse,defaultMatchWidth:"any",parsePatterns:Ise,defaultParseWidth:"any"})},mc={code:"zh-CN",formatDistance:lse,formatLong:cse,formatRelative:fse,localize:wse,match:Mse,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ase="_item_k73pw_1",jse="_itemActive_k73pw_14",Nse="_icon_k73pw_19",Rse="_content_k73pw_39",Dse="_titleRow_k73pw_46",Lse="_title_k73pw_46",Bse="_url_k73pw_59",Vse="_description_k73pw_65",Fse="_tags_k73pw_70",qse="_tag_k73pw_70",Kse="_meta_k73pw_84",Hse="_highlight_k73pw_91",tr={item:Ase,itemActive:jse,icon:Nse,content:Rse,titleRow:Dse,title:Lse,url:Bse,description:Vse,tags:Fse,tag:qse,meta:Kse,highlight:Hse},ES="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABWCAYAAABVVmH3AAAE2klEQVR4AezdsW4bRxAA0JmjihRpZKVIF+ovUkQCiTT5gBQWEyAS8gdBUpuu8w2BVARMiuQb6NApDPgXDIguDZhS48KAYY5njnsGSS15x71ZeY83i1uuuLu3d/c0OC0pcJlB5PTj09veYHJ7Png6ezSYzC6blh+Ob7shRFFg5WQWgDfXc6IxAF0C4RAAz5uWDw4gDViJzKxD15AjQtBJwR4ktYiVKD2b3IwXkblNhrY17k2bCqygcpSOEaAHpYl7lfZpfgcVWOzQJVN0OVfZ/gfAizQzTEEp1YaVeyrH4KZIZcT1M6UXo9PDqxQz36TSgJVbwIZ76jRD7APgH9DSVCtis4P5Tz43Rr348+Twia+tLXW1YDlaeV66RoU0bDuqiATD5rcBgDt/sEYnR4/BEgTDbnhFonbzT/F3s8s5BcPOCe5EKyBdgaVcIBgWcP5VPoI9eAXCYb3DWWUhYLCFhHJpsMqgxXAGW0golwarDFoMZ7CFhHJpsMqgxXAGW0golwarDFoM13rYAkK7NFhtUTeewToI7cJgtUXdeAbrILQLg9UWdeMZrIPQLgxWW9SNZ7AOQrswWG1RN57BOgjtwmC1Rd14ewnrru2TFgYbid9gDTaSQKRhLWINNpJApGEtYg02kkCkYS1iDTaSQKRhLWINNpJApGEbE7GRrj/asAYbidZgDTaSQKRho0WsLFcCQD+vnzcBfCfrGqSYt3zYev0ySp+rwhJhT8AGkxv2I/mo/TfrZ4CAXyJAL8UMikkVtsBaPT82huW82rqvz1Rh/UjMDcvZ32vfau8Bdt/Iql1PTNgp//G6AsCLDLHf1By6REAcWKTh6PTB8ej06EKWKJGTa2qGwBQBlq5szQIIX69g0y9SorRoO3sy+4WnXtNNuQn1P0xm3xfXs0upGrE8qfKtAyMfv29y3sXzY19VWETywX48WJt+UIVtE1zZtRpsmVBgezgsZS/vHHNtnRh8n/0L77BbJSPhryuvfIlnwXP6x7cvUvYQuH0lz+mZr2/dOnqXPb9znRUqgmEzBH4BACuJgBGXakbfHr6smglhBsg7L2XM4I1vf8zo1XpfyvCtr69GHZ/VzlswrEz4+WgruGySr27M9a3fgmEXcuSZBdAjt9jZoktLH2vCZv953LpZh64Hk9vzNgPXgpX3AYDfF/DgchVdLoBvGLk88w6/c17ZCODzlYotTxDo68Gk/Di79pHF27ccdmNTLVgZ1b0vsHKvlfql3OWfK2T6gvvV2PAz3rnCcWDXPhCSasPKQefvZa1YyHHBUi6gAvt3/3A64rcJ3W3BgJlWBZbHyTe5LeTRy/ddvj/KjKG1yKqwoptH78nR479OH/QlijkjYx+XZaDsN9l/OfO8+E3xXNYC3zrLIHhWdoyQdjdfL06jcqkO6zuyYJdlvo289u0rmGfu+xWyDo0F2NePX7m9LTtGSLvvWFXq7gW2yon4+2CPMa85cotV67tAOFx8zQoknRKHBZkaQRNT6rBNNM3P2WBzBv2H5sDyFI4vvzHTtybA5t8CsjxHZuDkt7RhOUp5HnxczCVluuSAj1k26eitBMsXcd/bVCbzgug7sABze5/nvkNfewp16cG6KBW8bUDSLvAMnGT0JgOb8f/QBEmwtoGutwkw79fvICb1VSwfAAAA///xm6X1AAAABklEQVQDAIasmdH/ZfWcAAAAAElFTkSuQmCC",Wse=["aria-selected"],Use=["src"],Yse={key:1},Gse={__name:"SearchResultItem",props:{result:{type:Object,required:!0},active:{type:Boolean,default:!1}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,r=S(()=>n.result.link);function a(v,g=[]){if(!v)return[];if(!g||g.length===0)return[{value:v,highlight:!1}];const m=[];let y=0;return g.forEach(([k,C])=>{k>y&&m.push({value:v.slice(y,k),highlight:!1}),m.push({value:v.slice(k,C+1),highlight:!0}),y=C+1}),y<v.length&&m.push({value:v.slice(y),highlight:!1}),m}const l=S(()=>a(r.value.title,n.result.highlights.title)),i=S(()=>a(r.value.description??"",n.result.highlights.description)),u=S(()=>a(r.value.url,n.result.highlights.url)),c=S(()=>{const v=n.result.highlights.tags??[],g=Array.isArray(r.value.tags)?r.value.tags:[];if(!v.length)return g.map(k=>({tag:k,highlight:!1}));const m=new Set,y=g.join(" ");return v.forEach(([k,C])=>{const b=y.slice(k,C+1).toLowerCase();g.forEach(x=>{b&&x.toLowerCase().includes(b)&&m.add(x)})}),g.map(k=>({tag:k,highlight:m.has(k)}))}),d=S(()=>{if(r.value.icon)return r.value.icon;if(!r.value.url)return ES;try{const{origin:v}=new URL(r.value.url);return`https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${encodeURIComponent(v)}&size=32`}catch{return ES}}),f=S(()=>{if(r.value.title){const v=r.value.title.trim()[0];return v?v.toUpperCase():"B"}return"B"}),p=S(()=>{const v=r.value.visitCount??0;if(v===0)return"尚未访问";const g=r.value.lastVisitTime;if(!g)return`共 ${v} 次访问`;const m=sh(new Date(g),{addSuffix:!0,locale:mc});return`共 ${v} 次访问 · ${m}`});function h(){o("select",r.value)}return(v,g)=>(T(),F("li",{class:M([s(tr).item,{[s(tr).itemActive]:e.active}]),role:"option","aria-selected":e.active,onClick:h},[H("div",{class:M(s(tr).icon),"aria-hidden":"true"},[d.value?(T(),F("img",{key:0,src:d.value,alt:""},null,8,Use)):(T(),F("span",Yse,Pe(f.value),1))],2),H("div",{class:M(s(tr).content)},[H("div",{class:M(s(tr).titleRow)},[H("h3",{class:M(s(tr).title)},[(T(!0),F(tt,null,Dt(l.value,(m,y)=>(T(),F(tt,{key:y},[m.highlight?(T(),F("span",{key:0,class:M(s(tr).highlight)},Pe(m.value),3)):(T(),F(tt,{key:1},[Tt(Pe(m.value),1)],64))],64))),128))],2)],2),r.value.description?(T(),F("p",{key:0,class:M(s(tr).description)},[(T(!0),F(tt,null,Dt(i.value,(m,y)=>(T(),F(tt,{key:y},[m.highlight?(T(),F("span",{key:0,class:M(s(tr).highlight)},Pe(m.value),3)):(T(),F(tt,{key:1},[Tt(Pe(m.value),1)],64))],64))),128))],2)):fe("",!0),r.value.tags?.length?(T(),F("div",{key:1,class:M(s(tr).tags)},[(T(!0),F(tt,null,Dt(c.value,({tag:m,highlight:y},k)=>(T(),F("span",{key:m+k,class:M([s(tr).tag,{[s(tr).highlight]:y}])},Pe(m),3))),128))],2)):fe("",!0),H("div",{class:M(s(tr).meta)},[H("span",{class:M(s(tr).url)},[(T(!0),F(tt,null,Dt(u.value,(m,y)=>(T(),F(tt,{key:y},[m.highlight?(T(),F("span",{key:0,class:M(s(tr).highlight)},Pe(m.value),3)):(T(),F(tt,{key:1},[Tt(Pe(m.value),1)],64))],64))),128))],2),H("span",null,Pe(p.value),1)],2)],2)],10,Wse))}},Xse="_overlay_1eu71_1",Zse="_panel_1eu71_13",Qse="_header_1eu71_25",Jse="_inputWrapper_1eu71_33",eie="_shortcutBadge_1eu71_37",tie="_meta_1eu71_51",nie="_results_1eu71_59",oie="_emptyState_1eu71_65",rie="_loading_1eu71_72",aie="_resultsList_1eu71_78",lie="_closeHint_1eu71_84",sie="_footer_1eu71_89",Rr={overlay:Xse,panel:Zse,header:Qse,inputWrapper:Jse,shortcutBadge:eie,meta:tie,results:nie,emptyState:oie,loading:rie,resultsList:aie,closeHint:lie,footer:sie},Ad=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},iie={key:1},uie={key:2},cie={__name:"GlobalSearchModal",props:{modelValue:{type:Boolean,default:!1},searchShortcut:{type:String,default:"Ctrl + K"}},emits:["update:modelValue","select","create"],setup(e,{emit:t}){const n=e,o=t,r=ui(),{results:a,hasResults:l,isSearching:i,search:u,clear:c,isIndexReady:d}=qae(),f=L(""),p=L(-1),h=L(null),v=S({get:()=>n.modelValue,set:_=>o("update:modelValue",_)});Bt(()=>{r.ensureLoaded()}),ke(()=>n.modelValue,_=>{_?Qe(()=>{h.value?.focus()}):(f.value="",c(),p.value=-1)}),ke(f,_=>{n.modelValue&&u(_)}),ke(a,_=>{_.length?p.value=0:p.value=-1},{immediate:!0});function g(){v.value=!1}function m(_){const z=a.value[_];z&&(o("select",z.link),g())}function y(_){if(_.key==="ArrowDown"){if(_.preventDefault(),!a.value.length)return;p.value=(p.value+1)%a.value.length;return}if(_.key==="ArrowUp"){if(_.preventDefault(),!a.value.length)return;p.value=(p.value-1+a.value.length)%a.value.length;return}if(_.key==="Enter"){_.preventDefault(),p.value>=0&&m(p.value);return}_.key==="Escape"&&(_.preventDefault(),g())}function k(_){o("select",_),g()}function C(_){_.target===_.currentTarget&&g()}function b(){o("create"),g()}const x=S(()=>f.value.trim()?d.value?"暂无匹配结果,尝试其他关键字或创建一个新链接。":"正在准备搜索索引...":"输入关键词即可根据标题、标签、描述或链接进行搜索。");return cn(()=>{c()}),(_,z)=>{const I=kt("el-input"),P=kt("el-button");return T(),ge(x_,{to:"body"},[Q(So,{name:"fade"},{default:ne(()=>[v.value?(T(),F("div",{key:0,class:M(s(Rr).overlay),onClick:C},[H("div",{class:M(s(Rr).panel),role:"dialog","aria-modal":"true","aria-label":"全局书签搜索"},[H("header",{class:M(s(Rr).header)},[H("div",{class:M(s(Rr).inputWrapper)},[Q(I,{ref_key:"inputRef",ref:h,modelValue:f.value,"onUpdate:modelValue":z[0]||(z[0]=j=>f.value=j),placeholder:"搜索书签或输入 @标签",size:"large",clearable:"",autofocus:"",onKeydown:y},null,8,["modelValue"]),H("span",{class:M(s(Rr).shortcutBadge)},Pe(e.searchShortcut),3)],2),H("div",{class:M(s(Rr).meta)},[s(i)?(T(),F("span",{key:0,class:M(s(Rr).loading)}," 正在搜索... ",2)):f.value?(T(),F("span",iie,"共找到 "+Pe(s(a).length)+" 条结果",1)):(T(),F("span",uie,"搜索范围覆盖标题、描述、标签与链接。")),H("span",{class:M(s(Rr).closeHint)},"按 Esc 关闭",2)],2)],2),H("section",{class:M(s(Rr).results)},[s(l)?(T(),F("ul",{key:0,class:M(s(Rr).resultsList),role:"listbox"},[(T(!0),F(tt,null,Dt(s(a),(j,O)=>(T(),ge(Gse,{key:j.link.id,result:j,active:O===p.value,onSelect:k},null,8,["result","active"]))),128))],2)):(T(),F("div",{key:1,class:M(s(Rr).emptyState)},[H("p",null,Pe(x.value),1),Q(P,{type:"primary",size:"small",onClick:b},{default:ne(()=>[...z[1]||(z[1]=[Tt("新增书签",-1)])]),_:1})],2))],2),H("footer",{class:M(s(Rr).footer)},[...z[2]||(z[2]=[H("span",null,"使用 ↑ ↓ 导航Enter 打开链接",-1),H("span",null,"结果优先展示标题、标签及常访问的书签。",-1)])],2)],2)],2)):fe("",!0)]),_:1})])}}},die=Ad(cie,[["__scopeId","data-v-bffcdc36"]]),fie={class:"form-actions"},hie={__name:"LinkForm",props:{modelValue:{type:Object,default:()=>({})},mode:{type:String,default:"create"}},emits:["submit","cancel"],setup(e,{emit:t}){const n=ui(),{allTags:o}=vl(n);n.ensureLoaded();const r=e,a=t,l=L(),i=an({title:"",url:"",description:"",icon:"",tags:[],projectIds:[],order:0}),u=S(()=>r.mode==="edit");function c(p){i.title=p.title??"",i.url=p.url??"",i.description=p.description??"",i.icon=p.icon??"",i.tags=Array.isArray(p.tags)?[...p.tags]:[],i.projectIds=Array.isArray(p.projectIds)?[...p.projectIds]:[],i.order=p.order??0}ke(()=>r.modelValue,p=>{c(p??{})},{immediate:!0,deep:!0});const d={title:[{required:!0,message:"请输入标题",trigger:"blur"}],url:[{required:!0,message:"请输入合法的链接地址",trigger:"blur"},{validator:(p,h,v)=>{if(!h)return v();try{new URL(h),v()}catch{v(new Error("链接格式不合法"))}},trigger:"blur"}]};async function f(){try{await l.value.validate(),a("submit",{...i,tags:i.tags.filter(Boolean),projectIds:i.projectIds.filter(Boolean)})}catch(p){p&&co.error("保存前请先修复校验错误")}}return(p,h)=>{const v=kt("el-input"),g=kt("el-form-item"),m=kt("el-option"),y=kt("el-select"),k=kt("el-input-number"),C=kt("el-button"),b=kt("el-form");return T(),ge(b,{ref_key:"formRef",ref:l,model:i,rules:d,"label-position":"top"},{default:ne(()=>[Q(g,{label:"标题",prop:"title"},{default:ne(()=>[Q(v,{modelValue:i.title,"onUpdate:modelValue":h[0]||(h[0]=x=>i.title=x),placeholder:"输入标题"},null,8,["modelValue"])]),_:1}),Q(g,{label:"链接地址",prop:"url"},{default:ne(()=>[Q(v,{modelValue:i.url,"onUpdate:modelValue":h[1]||(h[1]=x=>i.url=x),placeholder:"https://example.com"},null,8,["modelValue"])]),_:1}),Q(g,{label:"描述",prop:"description"},{default:ne(()=>[Q(v,{modelValue:i.description,"onUpdate:modelValue":h[2]||(h[2]=x=>i.description=x),type:"textarea",placeholder:"这个链接有什么用?",rows:3},null,8,["modelValue"])]),_:1}),Q(g,{label:"标签"},{default:ne(()=>[Q(y,{modelValue:i.tags,"onUpdate:modelValue":h[3]||(h[3]=x=>i.tags=x),multiple:"","reserve-keyword":!1,filterable:"","allow-create":"","default-first-option":"",placeholder:"添加标签"},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(o),x=>(T(),ge(m,{key:x,label:x,value:x},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),Q(g,{label:"自定义图标地址"},{default:ne(()=>[Q(v,{modelValue:i.icon,"onUpdate:modelValue":h[4]||(h[4]=x=>i.icon=x),placeholder:"可选的 favicon 链接"},null,8,["modelValue"])]),_:1}),Q(g,{label:"排序号"},{default:ne(()=>[Q(k,{modelValue:i.order,"onUpdate:modelValue":h[5]||(h[5]=x=>i.order=x),min:0,step:1,placeholder:"数字越小越靠前",style:{width:"100%"}},null,8,["modelValue"]),h[7]||(h[7]=H("div",{class:"form-hint"}," 数字越小,排序越靠前。默认为 0。 ",-1))]),_:1}),H("div",fie,[Q(C,{onClick:h[6]||(h[6]=x=>a("cancel"))},{default:ne(()=>[...h[8]||(h[8]=[Tt("取消",-1)])]),_:1}),Q(C,{type:"primary",onClick:f},{default:ne(()=>[Tt(Pe(u.value?"保存修改":"新增书签"),1)]),_:1})])]),_:1},8,["model"])}}},pie=Ad(hie,[["__scopeId","data-v-86258c11"]]),gie={__name:"LinkEditorDialog",props:{modelValue:{type:Boolean,default:!1},link:{type:Object,default:()=>({})},mode:{type:String,default:"create"}},emits:["update:modelValue","submit"],setup(e,{emit:t}){const n=e,o=t,r=S({get:()=>n.modelValue,set:u=>o("update:modelValue",u)}),a=S(()=>n.mode==="edit"?"编辑书签":"新增书签");function l(u){o("submit",u),r.value=!1}function i(){r.value=!1}return(u,c)=>{const d=kt("el-dialog");return T(),ge(d,{modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=f=>r.value=f),"close-on-click-modal":!1,title:a.value,width:"560px","destroy-on-close":""},{default:ne(()=>[Q(pie,{"model-value":e.link,mode:e.mode,onSubmit:l,onCancel:i},null,8,["model-value","mode"])]),_:1},8,["modelValue","title"])}}},vie={key:0,class:"link-view-content"},mie={class:"view-section"},yie={class:"view-value"},bie={class:"view-section"},wie={class:"view-value url-value"},Cie=["href"],kie={key:0,class:"view-section"},Sie={class:"view-value"},_ie={key:1,class:"view-section"},xie={class:"view-value"},Eie={class:"view-section"},zie={class:"view-value"},Tie={key:0,class:"sub-info"},Oie={key:1,class:"sub-info"},$ie={class:"view-section"},Pie={class:"view-value"},Iie={key:0,class:"sub-info"},Mie={key:1,class:"empty-state"},Aie={class:"dialog-footer"},jie={__name:"LinkViewDialog",props:{modelValue:{type:Boolean,default:!1},link:{type:Object,default:()=>({})}},emits:["update:modelValue","edit","open","delete"],setup(e,{emit:t}){const n=e,o=t,r=S({get:()=>n.modelValue,set:p=>o("update:modelValue",p)}),a=S(()=>n.link||{}),l=S(()=>{if(!a.value.createdAt)return"";try{return sh(new Date(a.value.createdAt),{addSuffix:!0,locale:mc})}catch{return""}}),i=S(()=>{if(!a.value.updatedAt)return"";try{return sh(new Date(a.value.updatedAt),{addSuffix:!0,locale:mc})}catch{return""}}),u=S(()=>{if(!a.value.lastVisitTime)return"从未访问";try{return sh(new Date(a.value.lastVisitTime),{addSuffix:!0,locale:mc})}catch{return"从未访问"}});function c(){o("edit",a.value),r.value=!1}function d(){o("open",a.value)}function f(){o("delete",a.value),r.value=!1}return(p,h)=>{const v=kt("el-tag"),g=kt("el-empty"),m=kt("el-button"),y=kt("el-dialog");return T(),ge(y,{modelValue:r.value,"onUpdate:modelValue":h[1]||(h[1]=k=>r.value=k),title:"查看书签",width:"600px","destroy-on-close":""},{footer:ne(()=>[H("div",Aie,[Q(m,{onClick:h[0]||(h[0]=k=>r.value=!1)},{default:ne(()=>[...h[8]||(h[8]=[Tt("关闭",-1)])]),_:1}),Q(m,{type:"danger",text:"",onClick:f},{default:ne(()=>[...h[9]||(h[9]=[Tt("删除",-1)])]),_:1}),Q(m,{type:"primary",onClick:d},{default:ne(()=>[...h[10]||(h[10]=[Tt("打开链接",-1)])]),_:1}),Q(m,{type:"primary",onClick:c},{default:ne(()=>[...h[11]||(h[11]=[Tt("编辑",-1)])]),_:1})])]),default:ne(()=>[a.value.id?(T(),F("div",vie,[H("div",mie,[h[2]||(h[2]=H("div",{class:"view-label"},"标题",-1)),H("div",yie,Pe(a.value.title||"-"),1)]),H("div",bie,[h[3]||(h[3]=H("div",{class:"view-label"},"链接地址",-1)),H("div",wie,[H("a",{href:a.value.url,target:"_blank",rel:"noopener noreferrer",class:"url-link"},Pe(a.value.url||"-"),9,Cie)])]),a.value.description?(T(),F("div",kie,[h[4]||(h[4]=H("div",{class:"view-label"},"描述",-1)),H("div",Sie,Pe(a.value.description),1)])):fe("",!0),a.value.tags&&a.value.tags.length>0?(T(),F("div",_ie,[h[5]||(h[5]=H("div",{class:"view-label"},"标签",-1)),H("div",xie,[(T(!0),F(tt,null,Dt(a.value.tags,k=>(T(),ge(v,{key:k,size:"small",style:{"margin-right":"8px","margin-bottom":"4px"}},{default:ne(()=>[Tt(Pe(k),1)]),_:2},1024))),128))])])):fe("",!0),H("div",Eie,[h[6]||(h[6]=H("div",{class:"view-label"},"访问统计",-1)),H("div",zie,[H("div",null,"访问次数:"+Pe(a.value.visitCount||0)+" 次",1),a.value.lastVisitTime?(T(),F("div",Tie," 最后访问:"+Pe(u.value),1)):(T(),F("div",Oie,"最后访问:从未访问"))])]),H("div",$ie,[h[7]||(h[7]=H("div",{class:"view-label"},"时间信息",-1)),H("div",Pie,[H("div",null,"创建时间:"+Pe(l.value),1),i.value?(T(),F("div",Iie," 更新时间:"+Pe(i.value),1)):fe("",!0)])])])):(T(),F("div",Mie,[Q(g,{description:"书签信息不存在"})]))]),_:1},8,["modelValue"])}}},Nie=Ad(jie,[["__scopeId","data-v-33718920"]]),Rie={__name:"ImportExportDialog",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=ui(),a=L(),l=S({get:()=>n.modelValue,set:d=>o("update:modelValue",d)}),i=L(!1);async function u(d){const f=d?.raw;if(f){i.value=!0;try{const p=await f.text(),h=JSON.parse(p),v=Array.isArray(h?.links)?h.links:[];if(!v.length)throw new Error("所选文件中没有可导入的书签数据。");await r.importLinks(v),co.success(`已导入 ${v.length} 条书签`),l.value=!1}catch(p){console.error(p),co.error(p.message??"导入失败")}finally{i.value=!1,a.value?.clearFiles()}}}async function c(){await r.ensureLoaded();const d=await r.exportLinks(),f=new Blob([JSON.stringify(d,null,2)],{type:"application/json"}),p=URL.createObjectURL(f),h=document.createElement("a");h.href=p,h.download=`bookmark-export-${new Date().toISOString().split("T")[0]}.json`,h.click(),URL.revokeObjectURL(p),co.success("已开始导出")}return(d,f)=>{const p=kt("el-upload"),h=kt("el-divider"),v=kt("el-button"),g=kt("el-dialog");return T(),ge(g,{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=m=>l.value=m),title:"导入 / 导出数据",width:"520px"},{default:ne(()=>[H("section",null,[f[2]||(f[2]=H("h3",null,"从 JSON 导入",-1)),f[3]||(f[3]=H("p",null,"上传由本应用导出的 JSON 文件,用于恢复本地书签。",-1)),Q(p,{ref_key:"uploadRef",ref:a,drag:"",accept:"application/json","show-file-list":!1,"auto-upload":!1,disabled:i.value,onChange:u},{default:ne(()=>[...f[1]||(f[1]=[H("i",{class:"el-icon-upload"},null,-1),H("div",{class:"el-upload__text"},[Tt("拖拽文件到此处或"),H("em",null,"点击上传")],-1)])]),_:1},8,["disabled"])]),Q(h),H("section",null,[f[5]||(f[5]=H("h3",null,"导出当前数据",-1)),f[6]||(f[6]=H("p",null,"下载当前浏览器中所有书签的 JSON 备份。",-1)),Q(v,{type:"primary",onClick:c},{default:ne(()=>[...f[4]||(f[4]=[Tt("导出 JSON",-1)])]),_:1})])]),_:1},8,["modelValue"])}}};function Die(e){if(!e||typeof e!="string")throw new Error("无效的 HTML 内容");const o=new DOMParser().parseFromString(e,"text/html").querySelector("DL");if(!o)throw new Error("未找到有效的书签数据,请确认这是浏览器导出的书签文件");const r=[],a=[];function l(i){if(!i)return;const u=Array.from(i.children);for(const c of u)if(c.tagName==="DT"){const d=c.firstElementChild;if(d?.tagName==="A"){const f=d,p=f.getAttribute("HREF"),h=f.textContent?.trim()||"",v=f.getAttribute("ADD_DATE"),g=f.getAttribute("ICON")||"";if(p&&h){const m={id:rh(),title:h,url:p,icon:g||"",addDate:v?parseInt(v,10):null,folderPath:a.length>0?a.join("/"):"",tags:[],description:""};r.push(m)}}else if(d?.tagName==="H3"){const f=d.textContent?.trim()||"";if(f){a.push(f);const p=c.querySelector("DL");p&&l(p),a.pop()}}}else c.tagName==="DL"&&l(c)}if(l(o),r.length===0)throw new Error("文件中没有找到有效的书签数据");return r}const Lie={key:0,style:{"margin-bottom":"24px"}},Bie={key:0,style:{"text-align":"center",padding:"20px"}},Vie={key:1},Fie={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"16px"}},qie={style:{color:"var(--el-text-color-secondary)","font-size":"14px"}},Kie=["href"],Hie={key:0,style:{color:"var(--el-text-color-secondary)","font-size":"12px"}},Wie={key:1,style:{color:"var(--el-text-color-placeholder)"}},Uie={style:{color:"var(--el-text-color-secondary)","font-size":"12px"}},Yie={key:0,style:{"margin-top":"16px",display:"flex","justify-content":"flex-end"}},Gie={style:{display:"flex","justify-content":"flex-end",gap:"12px"}},_f=50,Xie={__name:"BrowserBookmarkImportDialog",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=ui(),{allTags:a}=vl(r),l=L(),i=L();r.ensureLoaded();const u=S({get:()=>n.modelValue,set:Y=>o("update:modelValue",Y)}),c=L(!1),d=L([]),f=L(new Set),p=L(""),h=L(!1),v=L(1),g=L(!1),m=S(()=>{if(!p.value.trim())return d.value;const Y=p.value.toLowerCase();return d.value.filter(Z=>Z.title.toLowerCase().includes(Y)||Z.url.toLowerCase().includes(Y)||Z.folderPath&&Z.folderPath.toLowerCase().includes(Y))}),y=S(()=>{const Y=(v.value-1)*_f,Z=Y+_f;return m.value.slice(Y,Z)}),k=S(()=>m.value.length>100);S(()=>k.value?Math.ceil(m.value.length/_f):1);const C=S(()=>{const Y=m.value.length,Z=f.value.size;return{total:Y,selected:Z}});S(()=>y.value.length===0?!1:y.value.every(Y=>f.value.has(Y.id))),S(()=>{const Y=y.value.filter(Z=>f.value.has(Z.id)).length;return Y>0&&Y<y.value.length});async function b(Y){const Z=Y?.raw;if(Z){if(!Z.name.toLowerCase().endsWith(".html")){co.error("请上传 HTML 格式的书签文件"),l.value?.clearFiles();return}if(Z.size>10*1024*1024){co.error("文件过大,请选择小于 10MB 的文件"),l.value?.clearFiles();return}c.value=!0;try{const $=await Z.text(),R=Die($);d.value=R,f.value=new Set,p.value="",v.value=1,co.success(`成功解析 ${R.length} 条书签`)}catch($){console.error($),co.error($.message||"解析文件失败,请确认这是浏览器导出的书签文件"),d.value=[],f.value=new Set}finally{c.value=!1,l.value?.clearFiles()}}}function x(Y,Z){const $=d.value.find(R=>R.id===Y);$&&($.tags=Array.isArray(Z)?Z.filter(Boolean):[])}function _(Y,Z){const $=d.value.find(R=>R.id===Y);$&&($.description=Z||"")}function z(Y,Z){if(g.value||!Z||!Z.id)return;const $=Z.id;Y.includes(Z)?f.value.add($):f.value.delete($),f.value=new Set(f.value)}function I(Y){g.value||(Y&&Y.length>0?y.value.forEach(Z=>{Z&&Z.id&&f.value.add(Z.id)}):y.value.forEach(Z=>{Z&&Z.id&&f.value.delete(Z.id)}),f.value=new Set(f.value))}function P(Y){if(!Y)return"-";try{return tse(new Date(Y*1e3),"yyyy-MM-dd HH:mm",{locale:mc})}catch{return"-"}}async function j(){const Y=f.value.size;if(Y===0){co.warning("请至少选择一条书签");return}try{await _0.confirm(`确定要导入 ${Y} 条书签吗?`,"确认导入",{confirmButtonText:"导入",cancelButtonText:"取消",type:"info"}),h.value=!0;const Z=d.value.filter(B=>f.value.has(B.id));Z.length!==Y&&console.warn("选择的书签数量不匹配",{selectedCount:Y,foundCount:Z.length,selectedIds:Array.from(f.value),parsedIds:d.value.map(B=>B.id)});const $=Z.map(B=>({title:B.title,url:B.url,icon:B.icon,description:B.description||"",tags:B.tags||[],projectIds:[],createdAt:B.addDate?new Date(B.addDate*1e3):new Date,updatedAt:B.addDate?new Date(B.addDate*1e3):new Date})),R=await r.importBrowserBookmarks($);let D=`已成功导入 ${R.success} 条书签`;R.skipped>0&&(D+=`${R.skipped} 条已存在已跳过`),R.failed>0&&(D+=`${R.failed} 条导入失败`),co.success(D),u.value=!1,d.value=[],f.value=new Set,p.value="",v.value=1}catch(Z){if(Z==="cancel"||Z==="close")return;console.error(Z),co.error(Z.message||"导入失败")}finally{h.value=!1}}function O(){d.value=[],f.value=new Set,p.value="",v.value=1}function A(Y){v.value=Y,Qe(()=>{K()})}function K(){i.value&&(g.value=!0,i.value.clearSelection(),Qe(()=>{if(!i.value){g.value=!1;return}y.value.forEach(Y=>{Y&&Y.id&&f.value.has(Y.id)&&i.value.toggleRowSelection(Y,!0,!1)}),g.value=!1}))}return ke(y,()=>{K()},{immediate:!0}),ke(u,Y=>{Y&&d.value.length>0&&Qe(()=>{K()})}),(Y,Z)=>{const $=kt("el-icon"),R=kt("el-upload"),D=kt("el-input"),B=kt("el-table-column"),q=kt("el-option"),G=kt("el-select"),X=kt("el-table"),J=kt("el-pagination"),ue=kt("el-button"),ae=kt("el-dialog");return T(),ge(ae,{modelValue:u.value,"onUpdate:modelValue":Z[3]||(Z[3]=ve=>u.value=ve),title:"导入浏览器书签",width:"80vw","close-on-click-modal":!1,onClose:O},{footer:ne(()=>[H("div",Gie,[Q(ue,{onClick:Z[2]||(Z[2]=ve=>u.value=!1)},{default:ne(()=>[...Z[7]||(Z[7]=[Tt("取消",-1)])]),_:1}),Q(ue,{type:"primary",disabled:f.value.size===0||h.value,loading:h.value,onClick:j},{default:ne(()=>[Tt(Pe(h.value?"导入中...":`导入选中项 (${f.value.size})`),1)]),_:1},8,["disabled","loading"])])]),default:ne(()=>[d.value.length===0?(T(),F("section",Lie,[Q(R,{ref_key:"uploadRef",ref:l,drag:"",accept:".html","show-file-list":!1,"auto-upload":!1,disabled:c.value,onChange:b},{tip:ne(()=>[...Z[4]||(Z[4]=[H("div",{class:"el-upload__tip"},"支持 Chrome、Firefox、Edge 等浏览器导出的书签文件(.html",-1)])]),default:ne(()=>[Q($,{class:"el-icon--upload"},{default:ne(()=>[Q(s(SL))]),_:1}),Z[5]||(Z[5]=H("div",{class:"el-upload__text"},[Tt("拖拽 HTML 文件到此处或"),H("em",null,"点击上传")],-1))]),_:1},8,["disabled"]),c.value?(T(),F("div",Bie,[Q($,{class:"is-loading"},{default:ne(()=>[Q(s(la))]),_:1}),Z[6]||(Z[6]=H("span",{style:{"margin-left":"8px"}},"正在解析文件...",-1))])):fe("",!0)])):(T(),F("section",Vie,[H("div",Fie,[Q(D,{modelValue:p.value,"onUpdate:modelValue":Z[0]||(Z[0]=ve=>p.value=ve),placeholder:"搜索标题、URL 或文件夹",clearable:"",style:{width:"300px"}},{prefix:ne(()=>[Q($,null,{default:ne(()=>[Q(s(F2))]),_:1})]),_:1},8,["modelValue"]),H("div",qie," 总书签数: "+Pe(C.value.total)+" | 已选择: "+Pe(C.value.selected),1)]),Q(X,{ref_key:"tableRef",ref:i,data:y.value,style:{width:"100%"},"max-height":"500","row-key":"id",onSelect:z,onSelectAll:I},{default:ne(()=>[Q(B,{type:"selection",width:"55","reserve-selection":!0}),Q(B,{prop:"title",label:"标题","min-width":"150","show-overflow-tooltip":""},{default:ne(({row:ve})=>[H("a",{href:ve.url,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--el-color-primary)"}},Pe(ve.title),9,Kie)]),_:1}),Q(B,{prop:"url",label:"URL","min-width":"200","show-overflow-tooltip":""}),Q(B,{label:"标签",width:"200"},{default:ne(({row:ve})=>[Q(G,{modelValue:ve.tags,"onUpdate:modelValue":re=>ve.tags=re,multiple:"",filterable:"","reserve-keyword":!1,"allow-create":"","default-first-option":"",placeholder:"添加标签",size:"small",onChange:re=>x(ve.id,re)},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(a),re=>(T(),ge(q,{key:re,label:re,value:re},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),Q(B,{label:"备注",width:"200"},{default:ne(({row:ve})=>[Q(D,{modelValue:ve.description,"onUpdate:modelValue":re=>ve.description=re,type:"textarea",rows:2,placeholder:"添加备注",size:"small",onBlur:re=>_(ve.id,re.target.value)},null,8,["modelValue","onUpdate:modelValue","onBlur"])]),_:1}),Q(B,{prop:"folderPath",label:"来源文件夹",width:"150","show-overflow-tooltip":""},{default:ne(({row:ve})=>[ve.folderPath?(T(),F("span",Hie,Pe(ve.folderPath),1)):(T(),F("span",Wie,"-"))]),_:1}),Q(B,{label:"添加时间",width:"150"},{default:ne(({row:ve})=>[H("span",Uie,Pe(P(ve.addDate)),1)]),_:1})]),_:1},8,["data"]),k.value?(T(),F("div",Yie,[Q(J,{"current-page":v.value,"onUpdate:currentPage":Z[1]||(Z[1]=ve=>v.value=ve),"page-size":_f,total:m.value.length,layout:"prev, pager, next",onCurrentChange:A},null,8,["current-page","total"])])):fe("",!0)]))]),_:1},8,["modelValue"])}}},ed="default",ih=Object.freeze({id:ed,searchShortcut:"Ctrl+K",theme:"light",defaultView:"card",tagOrder:[],libraryView:"tag"});async function v$(){const e=await Un.settings.get(ed);return e?{...ih,...e,id:ed}:(await Un.settings.put(ih),{...ih})}async function Zie(e){const n={...await v$(),...e,id:ed};return await Un.settings.put(n),n}const ep={getSettings:v$,updateSettings:Zie,SETTINGS_ID:ed,DEFAULT_SETTINGS:ih},zS=ep.SETTINGS_ID,wv=ep.DEFAULT_SETTINGS,Gp=Sx("settings",()=>{const e=L({...wv}),t=L(!1);async function n(){if(t.value)return;const u=await ep.getSettings();e.value={...wv,...u,id:zS},t.value=!0}async function o(u){await n();const c=await ep.updateSettings(u);e.value={...wv,...c,id:zS}}const r=S(()=>e.value.searchShortcut),a=S(()=>e.value.theme),l=S(()=>e.value.defaultView),i=S(()=>e.value.libraryView||"tag");return{state:e,isReady:t,ensureLoaded:n,updateSettings:o,searchShortcut:r,theme:a,defaultView:l,libraryView:i}}),pr={LIGHT:"light",DARK:"dark",SYSTEM:"system"},Qie=[{value:pr.LIGHT,label:"浅色",icon:"Sunny"},{value:pr.DARK,label:"深色",icon:"Moon"},{value:pr.SYSTEM,label:"跟随系统",icon:"Monitor"}];function Jie(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function TS(e){const t=document.documentElement;t.setAttribute("data-theme",e),e==="dark"?t.classList.add("dark"):t.classList.remove("dark");const n=document.querySelector('meta[name="theme-color"]');n&&n.setAttribute("content",e==="dark"?"#0f172a":"#f8fafc")}function m$(){const e=Gp(),{theme:t}=vl(e),n=L(Jie());let o=null;const r=S(()=>{const p=t.value||pr.LIGHT;return p===pr.SYSTEM?n.value:p}),a=S(()=>r.value==="dark");function l(p){n.value=p.matches?"dark":"light"}async function i(p){await e.updateSettings({theme:p})}async function u(){const h=r.value==="dark"?pr.LIGHT:pr.DARK;await i(h)}async function c(){const p=t.value||pr.LIGHT,h=[pr.LIGHT,pr.DARK,pr.SYSTEM],g=(h.indexOf(p)+1)%h.length;await i(h[g])}function d(){TS(r.value),typeof window<"u"&&(o=window.matchMedia("(prefers-color-scheme: dark)"),o.addEventListener("change",l))}function f(){o&&o.removeEventListener("change",l)}return ke(r,p=>{TS(p)}),Bt(()=>{d()}),oi(()=>{f()}),{themeMode:t,resolvedTheme:r,isDark:a,systemTheme:n,setTheme:i,toggleTheme:u,cycleTheme:c,initTheme:d}}const eue={class:"tag-manage-content"},tue={class:"header-actions"},nue={class:"tag-list"},oue={key:1,class:"sortable-tags"},rue={class:"order-input-wrapper"},aue={class:"tag-name"},lue={class:"tag-count"},sue={__name:"TagManageDialog",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=ui(),a=Gp(),{allTags:l}=vl(r),{state:i}=vl(a),u=S({get:()=>n.modelValue,set:g=>o("update:modelValue",g)}),c=L([]);function d(){const g=i.value?.tagOrder||[],m=l.value||[],y=[],k=[];g.forEach(b=>{m.includes(b)&&y.push(b)}),m.forEach(b=>{g.includes(b)||k.push(b)}),k.sort();const C=[...y,...k];c.value=C.map((b,x)=>({tag:b,order:x+1}))}function f(){c.value.sort((g,m)=>g.order-m.order),h()}function p(g,m){const y=parseInt(m),k=c.value.length;let C=y;isNaN(y)||y<1?C=1:y>k&&(C=k);const b=g.order;if(g.order=C,b!==C){const x=c.value.find(_=>_!==g&&_.order===C);x&&(x.order=b)}f()}ke(()=>n.modelValue,g=>{g&&d()},{immediate:!0}),ke(l,()=>{u.value&&d()});async function h(){try{const g=c.value.map(m=>m.tag);await a.updateSettings({tagOrder:g}),co.success("标签顺序已保存")}catch(g){console.error("保存标签顺序失败:",g),co.error("保存失败,请稍后再试")}}function v(){const g=[...l.value||[]];g.sort(),c.value=g.map((m,y)=>({tag:m,order:y+1})),h()}return(g,m)=>{const y=kt("el-button"),k=kt("el-empty"),C=kt("el-input-number"),b=kt("el-dialog");return T(),ge(b,{modelValue:u.value,"onUpdate:modelValue":m[1]||(m[1]=x=>u.value=x),title:"标签管理",width:"500px"},{footer:ne(()=>[Q(y,{onClick:m[0]||(m[0]=x=>u.value=!1)},{default:ne(()=>[...m[3]||(m[3]=[Tt("关闭",-1)])]),_:1})]),default:ne(()=>[H("div",eue,[H("div",tue,[Q(y,{size:"small",text:"",type:"primary",onClick:v},{default:ne(()=>[...m[2]||(m[2]=[Tt(" 重置为字母顺序 ",-1)])]),_:1})]),H("div",nue,[c.value.length===0?(T(),ge(k,{key:0,description:"暂无标签"})):(T(),F("div",oue,[(T(!0),F(tt,null,Dt(c.value,(x,_)=>(T(),F("div",{key:x.tag,class:"tag-item"},[H("div",rue,[Q(C,{modelValue:x.order,"onUpdate:modelValue":z=>x.order=z,min:1,max:c.value.length,controls:!1,size:"small",class:"order-input",onChange:()=>p(x,x.order)},null,8,["modelValue","onUpdate:modelValue","max","onChange"])]),H("span",aue,Pe(x.tag),1),H("span",lue,Pe(s(r).linksByTag?.get?.(x.tag)?.length||0)+" 个书签",1)]))),128))]))])])]),_:1},8,["modelValue"])}}},iue=Ad(sue,[["__scopeId","data-v-c4c81b84"]]),uue={key:0,class:"listening"},cue={class:"drawer-actions"},due={__name:"SettingsDrawer",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=t,r=Gp(),{searchShortcut:a}=vl(r),{themeMode:l,setTheme:i}=m$(),u=L("Ctrl+K"),c=L("light"),d=L(!1),f=L(!1),p=S({get:()=>n.modelValue,set:b=>o("update:modelValue",b)});ke(()=>n.modelValue,b=>{b&&(u.value=a.value??"Ctrl+K",c.value=l.value||"light")});const h=new Set(["Shift","Control","Alt","Meta","Tab"]);function v(b){if(b.length===1)return b.toUpperCase();switch(b){case" ":case"Spacebar":case"Space":return"Space";case"ArrowUp":return"ArrowUp";case"ArrowDown":return"ArrowDown";case"ArrowLeft":return"ArrowLeft";case"ArrowRight":return"ArrowRight";case"Escape":return"Esc";case"Enter":return"Enter";case"Meta":return"Cmd";default:return b.charAt(0).toUpperCase()+b.slice(1)}}function g(b){b.preventDefault();const x=new Set;(b.ctrlKey||b.metaKey)&&x.add(b.metaKey?"Cmd":"Ctrl"),b.shiftKey&&x.add("Shift"),b.altKey&&x.add("Alt");const _=v(b.key);!h.has(_)&&_!=="Cmd"&&_!=="Ctrl"&&_!=="Alt"&&_!=="Shift"&&x.add(_),x.size!==0&&(u.value=Array.from(x).join("+"))}async function m(b){c.value=b,await i(b)}async function y(){if(!u.value){co.error("快捷键不能为空");return}await r.updateSettings({searchShortcut:u.value}),co.success("设置已保存"),p.value=!1}function k(){u.value="Ctrl+K"}function C(b){switch(b){case pr.LIGHT:return D1;case pr.DARK:return Z3;case pr.SYSTEM:return G3;default:return D1}}return(b,x)=>{const _=kt("el-radio-button"),z=kt("el-radio-group"),I=kt("el-form-item"),P=kt("el-divider"),j=kt("el-input"),O=kt("el-button"),A=kt("el-form"),K=kt("el-drawer");return T(),ge(K,{modelValue:p.value,"onUpdate:modelValue":x[6]||(x[6]=Y=>p.value=Y),title:"偏好设置",size:"400px"},{default:ne(()=>[Q(A,{"label-position":"top"},{default:ne(()=>[Q(I,{label:"外观主题"},{default:ne(()=>[Q(z,{"model-value":c.value,"onUpdate:modelValue":m,class:"theme-radio-group"},{default:ne(()=>[(T(!0),F(tt,null,Dt(s(Qie),Y=>(T(),ge(_,{key:Y.value,value:Y.value},{default:ne(()=>[(T(),ge(Rt(C(Y.value)),{class:"theme-icon"})),Tt(" "+Pe(Y.label),1)]),_:2},1032,["value"]))),128))]),_:1},8,["model-value"]),x[7]||(x[7]=H("small",{class:"hint"},"选择「跟随系统」将自动适配您的系统主题设置。",-1))]),_:1}),Q(P),Q(I,{label:"全局搜索快捷键"},{default:ne(()=>[Q(j,{modelValue:u.value,"onUpdate:modelValue":x[0]||(x[0]=Y=>u.value=Y),placeholder:"点击后按下新的组合键...",readonly:"",onFocus:x[1]||(x[1]=Y=>d.value=!0),onBlur:x[2]||(x[2]=Y=>d.value=!1),onKeydown:wt(g,["stop","prevent"])},null,8,["modelValue"]),x[8]||(x[8]=H("small",{class:"hint"},"聚焦输入框后,直接按下想要设置的按键组合即可。",-1)),d.value?(T(),F("small",uue,"正在监听键盘输入...")):fe("",!0)]),_:1}),Q(I,null,{default:ne(()=>[Q(O,{text:"",type:"primary",onClick:k},{default:ne(()=>[...x[9]||(x[9]=[Tt("恢复默认",-1)])]),_:1})]),_:1}),Q(P),Q(I,{label:"标签管理"},{default:ne(()=>[Q(O,{type:"primary",onClick:x[3]||(x[3]=Y=>f.value=!0)},{default:ne(()=>[...x[10]||(x[10]=[Tt("管理标签顺序",-1)])]),_:1}),x[11]||(x[11]=H("small",{class:"hint"},"可以拖拽调整标签在书签列表中的显示顺序",-1))]),_:1})]),_:1}),H("div",cue,[Q(O,{onClick:x[4]||(x[4]=Y=>p.value=!1)},{default:ne(()=>[...x[12]||(x[12]=[Tt("取消",-1)])]),_:1}),Q(O,{type:"primary",onClick:y},{default:ne(()=>[...x[13]||(x[13]=[Tt("保存设置",-1)])]),_:1})]),Q(iue,{modelValue:f.value,"onUpdate:modelValue":x[5]||(x[5]=Y=>f.value=Y)},null,8,["modelValue"])]),_:1},8,["modelValue"])}}},fue=Ad(due,[["__scopeId","data-v-7fde2482"]]),hue={__name:"App",setup(e){const t=ui(),n=Gp();m$();const{links:o,recentLinks:r,isLoading:a,isReady:l}=vl(t),{searchShortcut:i}=vl(n),u=L(!1),c=L(!1),d=L(!1),f=L(!1),p=L(!1),h=L(!1),v=L("create"),g=L({}),m=S(()=>o.value.length),y=S(()=>!l.value&&a.value);async function k(){await Promise.all([t.ensureLoaded(),n.ensureLoaded()])}function C(){u.value=!0}function b(){v.value="create",g.value={},c.value=!0}function x(){f.value=!0}function _(){p.value=!0}function z(Z){v.value="edit",g.value=Z,c.value=!0}function I(Z){g.value=Z,d.value=!0}function P(){h.value=!0}async function j(Z){try{v.value==="edit"&&g.value?.id?(await t.updateLink(g.value.id,Z),co.success("书签已更新")):(await t.addLink(Z),co.success("书签已添加"))}catch($){console.error($),co.error($.message??"保存书签失败")}}async function O(Z){Z?.url&&(window.open(Z.url,"_blank","noopener,noreferrer"),await t.recordVisit(Z.id))}async function A(Z){try{await _0.confirm(`确定要将「${Z.title}」从书签中移除吗?`,"删除书签",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"}),await t.removeLink(Z.id),co.success("书签已删除")}catch($){if($==="cancel"||$==="close")return;console.error($),co.error("删除动作已取消或失败")}}function K(Z){return Z?Z.replace(/\s+/g,"").toLowerCase():""}function Y(Z){const $=K(Z);$&&(gr.unbind($),gr($,R=>{R.preventDefault(),C()}))}return Bt(async()=>{await k(),Y(i.value??"ctrl+k"),gr("esc",()=>{u.value=!1})}),ke(i,(Z,$)=>{const R=K($),D=K(Z);R&&gr.unbind(R),Y(D)}),cn(()=>{gr.unbind(K(i.value??"ctrl+k")),gr.unbind("esc")}),(Z,$)=>{const R=kt("RouterView");return T(),F(tt,null,[Q(R,null,{default:ne(({Component:D})=>[D?(T(),ge(Rt(D),{key:0,links:s(o),"recent-links":s(r),"total-count":m.value,"list-loading":y.value,"shortcut-label":s(i),onOpenSearch:C,onCreateLink:b,onImportData:x,onImportBrowserBookmarks:_,onOpenSettings:P,onOpenLink:O,onEditLink:z,onDeleteLink:A,onViewLink:I},null,40,["links","recent-links","total-count","list-loading","shortcut-label"])):fe("",!0)]),_:1}),Q(die,{modelValue:u.value,"onUpdate:modelValue":$[0]||($[0]=D=>u.value=D),"search-shortcut":s(i),onSelect:O,onCreate:b},null,8,["modelValue","search-shortcut"]),Q(gie,{modelValue:c.value,"onUpdate:modelValue":$[1]||($[1]=D=>c.value=D),mode:v.value,link:g.value,onSubmit:j},null,8,["modelValue","mode","link"]),Q(Nie,{modelValue:d.value,"onUpdate:modelValue":$[2]||($[2]=D=>d.value=D),link:g.value,onEdit:z,onOpen:O,onDelete:A},null,8,["modelValue","link"]),Q(Rie,{modelValue:f.value,"onUpdate:modelValue":$[3]||($[3]=D=>f.value=D)},null,8,["modelValue"]),Q(Xie,{modelValue:p.value,"onUpdate:modelValue":$[4]||($[4]=D=>p.value=D)},null,8,["modelValue"]),Q(fue,{modelValue:h.value,"onUpdate:modelValue":$[5]||($[5]=D=>h.value=D)},null,8,["modelValue"])],64)}}},pue="modulepreload",gue=function(e,t){return new URL(e,t).href},OS={},vue=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const l=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),u=i?.nonce||i?.getAttribute("nonce");r=c(n.map(d=>{if(d=gue(d,o),d in OS)return;OS[d]=!0;const f=d.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(o)for(let v=l.length-1;v>=0;v--){const g=l[v];if(g.href===d&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${p}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":pue,f||(h.as="script"),h.crossOrigin="",h.href=d,u&&h.setAttribute("nonce",u),document.head.appendChild(h),f)return new Promise((v,g)=>{h.addEventListener("load",v),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(l){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=l,window.dispatchEvent(i),!i.defaultPrevented)throw l}return r.then(l=>{for(const i of l||[])i.status==="rejected"&&a(i.reason);return t().catch(a)})};const Ti=typeof document<"u";function y$(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function mue(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&y$(e.default)}const Pn=Object.assign;function Cv(e,t){const n={};for(const o in t){const r=t[o];n[o]=da(r)?r.map(e):e(r)}return n}const yc=()=>{},da=Array.isArray;function $S(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}const b$=/#/g,yue=/&/g,bue=/\//g,wue=/=/g,Cue=/\?/g,w$=/\+/g,kue=/%5B/g,Sue=/%5D/g,C$=/%5E/g,_ue=/%60/g,k$=/%7B/g,xue=/%7C/g,S$=/%7D/g,Eue=/%20/g;function E0(e){return e==null?"":encodeURI(""+e).replace(xue,"|").replace(kue,"[").replace(Sue,"]")}function zue(e){return E0(e).replace(k$,"{").replace(S$,"}").replace(C$,"^")}function oy(e){return E0(e).replace(w$,"%2B").replace(Eue,"+").replace(b$,"%23").replace(yue,"%26").replace(_ue,"`").replace(k$,"{").replace(S$,"}").replace(C$,"^")}function Tue(e){return oy(e).replace(wue,"%3D")}function Oue(e){return E0(e).replace(b$,"%23").replace(Cue,"%3F")}function $ue(e){return Oue(e).replace(bue,"%2F")}function td(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Pue=/\/$/,Iue=e=>e.replace(Pue,"");function kv(e,t,n="/"){let o,r={},a="",l="";const i=t.indexOf("#");let u=t.indexOf("?");return u=i>=0&&u>i?-1:u,u>=0&&(o=t.slice(0,u),a=t.slice(u,i>0?i:t.length),r=e(a.slice(1))),i>=0&&(o=o||t.slice(0,i),l=t.slice(i,t.length)),o=Nue(o??t,n),{fullPath:o+a+l,path:o,query:r,hash:td(l)}}function Mue(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function PS(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Aue(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&cu(t.matched[o],n.matched[r])&&_$(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function cu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _$(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jue(e[n],t[n]))return!1;return!0}function jue(e,t){return da(e)?IS(e,t):da(t)?IS(t,e):e===t}function IS(e,t){return da(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function Nue(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let a=n.length-1,l,i;for(l=0;l<o.length;l++)if(i=o[l],i!==".")if(i==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+o.slice(l).join("/")}const Bl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ry=(function(e){return e.pop="pop",e.push="push",e})({}),Sv=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Rue(e){if(!e)if(Ti){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Iue(e)}const Due=/^[^#]+#/;function Lue(e,t){return e.replace(Due,"#")+t}function Bue(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Xp=()=>({left:window.scrollX,top:window.scrollY});function Vue(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Bue(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function MS(e,t){return(history.state?history.state.position-t:-1)+e}const ay=new Map;function Fue(e,t){ay.set(e,t)}function que(e){const t=ay.get(e);return ay.delete(e),t}function Kue(e){return typeof e=="string"||e&&typeof e=="object"}function x$(e){return typeof e=="string"||typeof e=="symbol"}let so=(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 E$=Symbol("");so.MATCHER_NOT_FOUND+"",so.NAVIGATION_GUARD_REDIRECT+"",so.NAVIGATION_ABORTED+"",so.NAVIGATION_CANCELLED+"",so.NAVIGATION_DUPLICATED+"";function du(e,t){return Pn(new Error,{type:e,[E$]:!0},t)}function Ja(e,t){return e instanceof Error&&E$ in e&&(t==null||!!(e.type&t))}const Hue=["params","query","hash"];function Wue(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Hue)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Uue(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const r=n[o].replace(w$," "),a=r.indexOf("="),l=td(a<0?r:r.slice(0,a)),i=a<0?null:td(r.slice(a+1));if(l in t){let u=t[l];da(u)||(u=t[l]=[u]),u.push(i)}else t[l]=i}return t}function AS(e){let t="";for(let n in e){const o=e[n];if(n=Tue(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(da(o)?o.map(r=>r&&oy(r)):[o&&oy(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Yue(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=da(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const Gue=Symbol(""),jS=Symbol(""),z0=Symbol(""),z$=Symbol(""),ly=Symbol("");function Hu(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yl(e,t,n,o,r,a=l=>l()){const l=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((i,u)=>{const c=p=>{p===!1?u(du(so.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?u(p):Kue(p)?u(du(so.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(l&&o.enterCallbacks[r]===l&&typeof p=="function"&&l.push(p),i())},d=a(()=>e.call(o&&o.instances[r],t,n,c));let f=Promise.resolve(d);e.length<3&&(f=f.then(c)),f.catch(p=>u(p))})}function _v(e,t,n,o,r=a=>a()){const a=[];for(const l of e)for(const i in l.components){let u=l.components[i];if(!(t!=="beforeRouteEnter"&&!l.instances[i]))if(y$(u)){const c=(u.__vccOpts||u)[t];c&&a.push(Yl(c,n,o,l,i,r))}else{let c=u();a.push(()=>c.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${i}" at "${l.path}"`);const f=mue(d)?d.default:d;l.mods[i]=d,l.components[i]=f;const p=(f.__vccOpts||f)[t];return p&&Yl(p,n,o,l,i,r)()}))}}return a}function Xue(e,t){const n=[],o=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;l<a;l++){const i=t.matched[l];i&&(e.matched.find(c=>cu(c,i))?o.push(i):n.push(i));const u=e.matched[l];u&&(t.matched.find(c=>cu(c,u))||r.push(u))}return[n,o,r]}let Zue=()=>location.protocol+"//"+location.host;function T$(e,t){const{pathname:n,search:o,hash:r}=t,a=e.indexOf("#");if(a>-1){let l=r.includes(e.slice(a))?e.slice(a).length:1,i=r.slice(l);return i[0]!=="/"&&(i="/"+i),PS(i,"")}return PS(n,e)+o+r}function Que(e,t,n,o){let r=[],a=[],l=null;const i=({state:p})=>{const h=T$(e,location),v=n.value,g=t.value;let m=0;if(p){if(n.value=h,t.value=p,l&&l===v){l=null;return}m=g?p.position-g.position:0}else o(h);r.forEach(y=>{y(n.value,v,{delta:m,type:ry.pop,direction:m?m>0?Sv.forward:Sv.back:Sv.unknown})})};function u(){l=n.value}function c(p){r.push(p);const h=()=>{const v=r.indexOf(p);v>-1&&r.splice(v,1)};return a.push(h),h}function d(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Pn({},p.state,{scroll:Xp()}),"")}}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:u,listen:c,destroy:f}}function NS(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?Xp():null}}function Jue(e){const{history:t,location:n}=window,o={value:T$(e,n)},r={value:t.state};r.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(u,c,d){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:Zue()+e+u;try{t[d?"replaceState":"pushState"](c,"",p),r.value=c}catch(h){console.error(h),n[d?"replace":"assign"](p)}}function l(u,c){a(u,Pn({},t.state,NS(r.value.back,u,r.value.forward,!0),c,{position:r.value.position}),!0),o.value=u}function i(u,c){const d=Pn({},r.value,t.state,{forward:u,scroll:Xp()});a(d.current,d,!0),a(u,Pn({},NS(o.value,u,null),{position:d.position+1},c),!1),o.value=u}return{location:o,state:r,push:i,replace:l}}function ece(e){e=Rue(e);const t=Jue(e),n=Que(e,t.state,t.location,t.replace);function o(a,l=!0){l||n.pauseListeners(),history.go(a)}const r=Pn({location:"",base:e,go:o,createHref:Lue.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function tce(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ece(e)}let Rs=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var yo=(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})(yo||{});const nce={type:Rs.Static,value:""},oce=/[a-zA-Z0-9_]/;function rce(e){if(!e)return[[]];if(e==="/")return[[nce]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=yo.Static,o=n;const r=[];let a;function l(){a&&r.push(a),a=[]}let i=0,u,c="",d="";function f(){c&&(n===yo.Static?a.push({type:Rs.Static,value:c}):n===yo.Param||n===yo.ParamRegExp||n===yo.ParamRegExpEnd?(a.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Rs.Param,value:c,regexp:d,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=u}for(;i<e.length;){if(u=e[i++],u==="\\"&&n!==yo.ParamRegExp){o=n,n=yo.EscapeNext;continue}switch(n){case yo.Static:u==="/"?(c&&f(),l()):u===":"?(f(),n=yo.Param):p();break;case yo.EscapeNext:p(),n=o;break;case yo.Param:u==="("?n=yo.ParamRegExp:oce.test(u)?p():(f(),n=yo.Static,u!=="*"&&u!=="?"&&u!=="+"&&i--);break;case yo.ParamRegExp:u===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+u:n=yo.ParamRegExpEnd:d+=u;break;case yo.ParamRegExpEnd:f(),n=yo.Static,u!=="*"&&u!=="?"&&u!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===yo.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),r}const RS="[^/]+?",ace={sensitive:!1,strict:!1,start:!0,end:!0};var rr=(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})(rr||{});const lce=/[.+*?^${}()[\]/\\]/g;function sce(e,t){const n=Pn({},ace,t),o=[];let r=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[rr.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const p=c[f];let h=rr.Segment+(n.sensitive?rr.BonusCaseSensitive:0);if(p.type===Rs.Static)f||(r+="/"),r+=p.value.replace(lce,"\\$&"),h+=rr.Static;else if(p.type===Rs.Param){const{value:v,repeatable:g,optional:m,regexp:y}=p;a.push({name:v,repeatable:g,optional:m});const k=y||RS;if(k!==RS){h+=rr.BonusCustomRegExp;try{`${k}`}catch(b){throw new Error(`Invalid custom RegExp for param "${v}" (${k}): `+b.message)}}let C=g?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;f||(C=m&&c.length<2?`(?:/${C})`:"/"+C),m&&(C+="?"),r+=C,h+=rr.Dynamic,m&&(h+=rr.BonusOptional),g&&(h+=rr.BonusRepeatable),k===".*"&&(h+=rr.BonusWildcard)}d.push(h)}o.push(d)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=rr.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const l=new RegExp(r,n.sensitive?"":"i");function i(c){const d=c.match(l),f={};if(!d)return null;for(let p=1;p<d.length;p++){const h=d[p]||"",v=a[p-1];f[v.name]=h&&v.repeatable?h.split("/"):h}return f}function u(c){let d="",f=!1;for(const p of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const h of p)if(h.type===Rs.Static)d+=h.value;else if(h.type===Rs.Param){const{value:v,repeatable:g,optional:m}=h,y=v in c?c[v]:"";if(da(y)&&!g)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const k=da(y)?y.join("/"):y;if(!k)if(m)p.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);d+=k}}return d||"/"}return{re:l,score:o,keys:a,parse:i,stringify:u}}function ice(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===rr.Static+rr.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===rr.Static+rr.Segment?1:-1:0}function O$(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const a=ice(o[n],r[n]);if(a)return a;n++}if(Math.abs(r.length-o.length)===1){if(DS(o))return 1;if(DS(r))return-1}return r.length-o.length}function DS(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const uce={strict:!1,end:!0,sensitive:!1};function cce(e,t,n){const o=sce(rce(e.path),n),r=Pn(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function dce(e,t){const n=[],o=new Map;t=$S(uce,t);function r(f){return o.get(f)}function a(f,p,h){const v=!h,g=BS(f);g.aliasOf=h&&h.record;const m=$S(t,f),y=[g];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const x of b)y.push(BS(Pn({},g,{components:h?h.record.components:g.components,path:x,aliasOf:h?h.record:g})))}let k,C;for(const b of y){const{path:x}=b;if(p&&x[0]!=="/"){const _=p.record.path,z=_[_.length-1]==="/"?"":"/";b.path=p.record.path+(x&&z+x)}if(k=cce(b,p,m),h?h.alias.push(k):(C=C||k,C!==k&&C.alias.push(k),v&&f.name&&!VS(k)&&l(f.name)),$$(k)&&u(k),g.children){const _=g.children;for(let z=0;z<_.length;z++)a(_[z],k,h&&h.children[z])}h=h||k}return C?()=>{l(C)}:yc}function l(f){if(x$(f)){const p=o.get(f);p&&(o.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(l),p.alias.forEach(l))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&o.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function i(){return n}function u(f){const p=pce(f,n);n.splice(p,0,f),f.record.name&&!VS(f)&&o.set(f.record.name,f)}function c(f,p){let h,v={},g,m;if("name"in f&&f.name){if(h=o.get(f.name),!h)throw du(so.MATCHER_NOT_FOUND,{location:f});m=h.record.name,v=Pn(LS(p.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&LS(f.params,h.keys.map(C=>C.name))),g=h.stringify(v)}else if(f.path!=null)g=f.path,h=n.find(C=>C.re.test(g)),h&&(v=h.parse(g),m=h.record.name);else{if(h=p.name?o.get(p.name):n.find(C=>C.re.test(p.path)),!h)throw du(so.MATCHER_NOT_FOUND,{location:f,currentLocation:p});m=h.record.name,v=Pn({},p.params,f.params),g=h.stringify(v)}const y=[];let k=h;for(;k;)y.unshift(k.record),k=k.parent;return{name:m,path:g,params:v,matched:y,meta:hce(y)}}e.forEach(f=>a(f));function d(){n.length=0,o.clear()}return{addRoute:a,resolve:c,removeRoute:l,clearRoutes:d,getRoutes:i,getRecordMatcher:r}}function LS(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function BS(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:fce(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 fce(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function VS(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hce(e){return e.reduce((t,n)=>Pn(t,n.meta),{})}function pce(e,t){let n=0,o=t.length;for(;n!==o;){const a=n+o>>1;O$(e,t[a])<0?o=a:n=a+1}const r=gce(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function gce(e){let t=e;for(;t=t.parent;)if($$(t)&&O$(e,t)===0)return t}function $$({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function FS(e){const t=et(z0),n=et(z$),o=S(()=>{const u=s(e.to);return t.resolve(u)}),r=S(()=>{const{matched:u}=o.value,{length:c}=u,d=u[c-1],f=n.matched;if(!d||!f.length)return-1;const p=f.findIndex(cu.bind(null,d));if(p>-1)return p;const h=qS(u[c-2]);return c>1&&qS(d)===h&&f[f.length-1].path!==h?f.findIndex(cu.bind(null,u[c-2])):p}),a=S(()=>r.value>-1&&wce(n.params,o.value.params)),l=S(()=>r.value>-1&&r.value===n.matched.length-1&&_$(n.params,o.value.params));function i(u={}){if(bce(u)){const c=t[s(e.replace)?"replace":"push"](s(e.to)).catch(yc);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:o,href:S(()=>o.value.href),isActive:a,isExactActive:l,navigate:i}}function vce(e){return e.length===1?e[0]:e}const mce=te({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:FS,setup(e,{slots:t}){const n=an(FS(e)),{options:o}=et(z0),r=S(()=>({[KS(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[KS(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&vce(t.default(n));return e.custom?a:mt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),yce=mce;function bce(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 wce(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!da(r)||r.length!==o.length||o.some((a,l)=>a!==r[l]))return!1}return!0}function qS(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const KS=(e,t,n)=>e??t??n,Cce=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=et(ly),r=S(()=>e.route||o.value),a=et(jS,0),l=S(()=>{let c=s(a);const{matched:d}=r.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=S(()=>r.value.matched[l.value]);Ut(jS,S(()=>l.value+1)),Ut(Gue,i),Ut(ly,r);const u=L();return ke(()=>[u.value,i.value,e.name],([c,d,f],[p,h,v])=>{d&&(d.instances[f]=c,h&&h!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!cu(d,h)||!p)&&(d.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,d=e.name,f=i.value,p=f&&f.components[d];if(!p)return HS(n.default,{Component:p,route:c});const h=f.props[d],v=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=mt(p,Pn({},v,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[d]=null)},ref:u}));return HS(n.default,{Component:m,route:c})||m}}});function HS(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const kce=Cce;function Sce(e){const t=dce(e.routes,e),n=e.parseQuery||Uue,o=e.stringifyQuery||AS,r=e.history,a=Hu(),l=Hu(),i=Hu(),u=xn(Bl);let c=Bl;Ti&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Cv.bind(null,re=>""+re),f=Cv.bind(null,$ue),p=Cv.bind(null,td);function h(re,ce){let oe,ie;return x$(re)?(oe=t.getRecordMatcher(re),ie=ce):ie=re,t.addRoute(ie,oe)}function v(re){const ce=t.getRecordMatcher(re);ce&&t.removeRoute(ce)}function g(){return t.getRoutes().map(re=>re.record)}function m(re){return!!t.getRecordMatcher(re)}function y(re,ce){if(ce=Pn({},ce||u.value),typeof re=="string"){const me=kv(n,re,ce.path),_e=t.resolve({path:me.path},ce),Ce=r.createHref(me.fullPath);return Pn(me,_e,{params:p(_e.params),hash:td(me.hash),redirectedFrom:void 0,href:Ce})}let oe;if(re.path!=null)oe=Pn({},re,{path:kv(n,re.path,ce.path).path});else{const me=Pn({},re.params);for(const _e in me)me[_e]==null&&delete me[_e];oe=Pn({},re,{params:f(me)}),ce.params=f(ce.params)}const ie=t.resolve(oe,ce),de=re.hash||"";ie.params=d(p(ie.params));const U=Mue(o,Pn({},re,{hash:zue(de),path:ie.path})),le=r.createHref(U);return Pn({fullPath:U,hash:de,query:o===AS?Yue(re.query):re.query||{}},ie,{redirectedFrom:void 0,href:le})}function k(re){return typeof re=="string"?kv(n,re,u.value.path):Pn({},re)}function C(re,ce){if(c!==re)return du(so.NAVIGATION_CANCELLED,{from:ce,to:re})}function b(re){return z(re)}function x(re){return b(Pn(k(re),{replace:!0}))}function _(re,ce){const oe=re.matched[re.matched.length-1];if(oe&&oe.redirect){const{redirect:ie}=oe;let de=typeof ie=="function"?ie(re,ce):ie;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=k(de):{path:de},de.params={}),Pn({query:re.query,hash:re.hash,params:de.path!=null?{}:re.params},de)}}function z(re,ce){const oe=c=y(re),ie=u.value,de=re.state,U=re.force,le=re.replace===!0,me=_(oe,ie);if(me)return z(Pn(k(me),{state:typeof me=="object"?Pn({},de,me.state):de,force:U,replace:le}),ce||oe);const _e=oe;_e.redirectedFrom=ce;let Ce;return!U&&Aue(o,ie,oe)&&(Ce=du(so.NAVIGATION_DUPLICATED,{to:_e,from:ie}),G(ie,ie,!0,!1)),(Ce?Promise.resolve(Ce):j(_e,ie)).catch(we=>Ja(we)?Ja(we,so.NAVIGATION_GUARD_REDIRECT)?we:q(we):D(we,_e,ie)).then(we=>{if(we){if(Ja(we,so.NAVIGATION_GUARD_REDIRECT))return z(Pn({replace:le},k(we.to),{state:typeof we.to=="object"?Pn({},de,we.to.state):de,force:U}),ce||_e)}else we=A(_e,ie,!0,le,de);return O(_e,ie,we),we})}function I(re,ce){const oe=C(re,ce);return oe?Promise.reject(oe):Promise.resolve()}function P(re){const ce=ue.values().next().value;return ce&&typeof ce.runWithContext=="function"?ce.runWithContext(re):re()}function j(re,ce){let oe;const[ie,de,U]=Xue(re,ce);oe=_v(ie.reverse(),"beforeRouteLeave",re,ce);for(const me of ie)me.leaveGuards.forEach(_e=>{oe.push(Yl(_e,re,ce))});const le=I.bind(null,re,ce);return oe.push(le),ve(oe).then(()=>{oe=[];for(const me of a.list())oe.push(Yl(me,re,ce));return oe.push(le),ve(oe)}).then(()=>{oe=_v(de,"beforeRouteUpdate",re,ce);for(const me of de)me.updateGuards.forEach(_e=>{oe.push(Yl(_e,re,ce))});return oe.push(le),ve(oe)}).then(()=>{oe=[];for(const me of U)if(me.beforeEnter)if(da(me.beforeEnter))for(const _e of me.beforeEnter)oe.push(Yl(_e,re,ce));else oe.push(Yl(me.beforeEnter,re,ce));return oe.push(le),ve(oe)}).then(()=>(re.matched.forEach(me=>me.enterCallbacks={}),oe=_v(U,"beforeRouteEnter",re,ce,P),oe.push(le),ve(oe))).then(()=>{oe=[];for(const me of l.list())oe.push(Yl(me,re,ce));return oe.push(le),ve(oe)}).catch(me=>Ja(me,so.NAVIGATION_CANCELLED)?me:Promise.reject(me))}function O(re,ce,oe){i.list().forEach(ie=>P(()=>ie(re,ce,oe)))}function A(re,ce,oe,ie,de){const U=C(re,ce);if(U)return U;const le=ce===Bl,me=Ti?history.state:{};oe&&(ie||le?r.replace(re.fullPath,Pn({scroll:le&&me&&me.scroll},de)):r.push(re.fullPath,de)),u.value=re,G(re,ce,oe,le),q()}let K;function Y(){K||(K=r.listen((re,ce,oe)=>{if(!ae.listening)return;const ie=y(re),de=_(ie,ae.currentRoute.value);if(de){z(Pn(de,{replace:!0,force:!0}),ie).catch(yc);return}c=ie;const U=u.value;Ti&&Fue(MS(U.fullPath,oe.delta),Xp()),j(ie,U).catch(le=>Ja(le,so.NAVIGATION_ABORTED|so.NAVIGATION_CANCELLED)?le:Ja(le,so.NAVIGATION_GUARD_REDIRECT)?(z(Pn(k(le.to),{force:!0}),ie).then(me=>{Ja(me,so.NAVIGATION_ABORTED|so.NAVIGATION_DUPLICATED)&&!oe.delta&&oe.type===ry.pop&&r.go(-1,!1)}).catch(yc),Promise.reject()):(oe.delta&&r.go(-oe.delta,!1),D(le,ie,U))).then(le=>{le=le||A(ie,U,!1),le&&(oe.delta&&!Ja(le,so.NAVIGATION_CANCELLED)?r.go(-oe.delta,!1):oe.type===ry.pop&&Ja(le,so.NAVIGATION_ABORTED|so.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),O(ie,U,le)}).catch(yc)}))}let Z=Hu(),$=Hu(),R;function D(re,ce,oe){q(re);const ie=$.list();return ie.length?ie.forEach(de=>de(re,ce,oe)):console.error(re),Promise.reject(re)}function B(){return R&&u.value!==Bl?Promise.resolve():new Promise((re,ce)=>{Z.add([re,ce])})}function q(re){return R||(R=!re,Y(),Z.list().forEach(([ce,oe])=>re?oe(re):ce()),Z.reset()),re}function G(re,ce,oe,ie){const{scrollBehavior:de}=e;if(!Ti||!de)return Promise.resolve();const U=!oe&&que(MS(re.fullPath,0))||(ie||!oe)&&history.state&&history.state.scroll||null;return Qe().then(()=>de(re,ce,U)).then(le=>le&&Vue(le)).catch(le=>D(le,re,ce))}const X=re=>r.go(re);let J;const ue=new Set,ae={currentRoute:u,listening:!0,addRoute:h,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:y,options:e,push:b,replace:x,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:a.add,beforeResolve:l.add,afterEach:i.add,onError:$.add,isReady:B,install(re){re.component("RouterLink",yce),re.component("RouterView",kce),re.config.globalProperties.$router=ae,Object.defineProperty(re.config.globalProperties,"$route",{enumerable:!0,get:()=>s(u)}),Ti&&!J&&u.value===Bl&&(J=!0,b(r.location).catch(ie=>{}));const ce={};for(const ie in Bl)Object.defineProperty(ce,ie,{get:()=>u.value[ie],enumerable:!0});re.provide(z0,ae),re.provide(z$,sp(ce)),re.provide(ly,u);const oe=re.unmount;ue.add(re),re.unmount=function(){ue.delete(re),ue.size<1&&(c=Bl,K&&K(),K=null,u.value=Bl,J=!1,R=!1),oe()}}};function ve(re){return re.reduce((ce,oe)=>ce.then(()=>P(oe)),Promise.resolve())}return ae}const _ce=Sce({history:tce(),routes:[{path:"/",name:"home",component:()=>vue(()=>import("./HomeView-C5S1gwfg.js"),__vite__mapDeps([0,1]),import.meta.url)}]});function xce(e){e.use(Aoe)}const Zp=yx(hue);Zp.use(yM());Zp.use(_ce);xce(Zp);Zp.mount("#app");export{ES as A,L as B,Bt as C,Qe as D,Oce as E,tt as F,xL as G,Tce as H,zce as I,A3 as J,co as K,ui as L,ka as M,ht as N,pr as T,Ad as _,m$ as a,D1 as b,S as c,Z3 as d,F as e,H as f,s as g,Q as h,Tt as i,ge as j,Rt as k,he as l,G3 as m,M as n,T as o,Dt as p,Ln as q,kt as r,vl as s,Pe as t,Gp as u,fe as v,ne as w,wt as x,sh as y,mc as z};